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

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

 Copyright Google LLC All Rights Reserved.

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

 Copyright Google LLC All Rights Reserved.

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

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

 SPDX-License-Identifier: Apache-2.0
*/
/*

 The MIT License

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

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

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

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


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

 Use of this source code is governed by an MIT-style license that can be
 found in the LICENSE file at https://angular.io/license
*/
/*
 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var g,aa=function(a){a.isGuard_doNotManuallySetPrettyPlease=!0;return a},aaa=function(a){return aa(function(b){for(var c in a)if(b===a[c]&&!/^[0-9]+$/.test(c))return!0;return!1})},caa=function(a){return aa(function(b){return baa(b)?b.every(function(c){return a(c)}):!1})},daa=function(a,b){return Object.defineProperty(b,"type",{value:a,writable:!1})},eaa=function(a,b,c,d,e){var f=Zone.__symbol__(d);if(!b[f]){var h=b[f]=b[d];b[d]=function(k,q,t){q&&q.prototype&&e.forEach(function(w){var B=c+"."+d+"::"+
w,E=q.prototype;try{if(E.hasOwnProperty(w)){var I=a.ObjectGetOwnPropertyDescriptor(E,w);I&&I.value?(I.value=a.wrapWithCurrentZone(I.value,B),a._redefineProperty(q.prototype,w,I)):E[w]&&(E[w]=a.wrapWithCurrentZone(E[w],B))}else E[w]&&(E[w]=a.wrapWithCurrentZone(E[w],B))}catch(J){}});return h.call(b,k,q,t)};a.attachOriginToPatched(b[d],h)}},da=function(a){return(ca.__Zone_symbol_prefix||"__zone_symbol__")+a},faa=function(){function a(ia){h&&h.mark&&h.mark(ia)}function b(ia,qa){h&&h.measure&&h.measure(ia,
qa)}function c(ia){P||ca[E]&&(P=ca[E].resolve(0));if(P){var qa=P[I];qa||(qa=P.then);qa.call(P,ia)}else ca[B](ia,0)}function d(ia){Pa===0&&J.length===0&&c(e);ia&&J.push(ia)}function e(){if(!N){for(N=!0;J.length;){var ia=J;J=[];for(var qa=0;qa<ia.length;qa++){var ua=ia[qa];try{ua.zone.runTask(ua,null,null)}catch(Oa){ma.onUnhandledError(Oa)}}}ma.microtaskDrainDone();N=!1}}function f(){}var h=ca.performance;a("Zone");var k=function(ia,qa){this._parent=ia;this._name=qa?qa.name||"unnamed":"<root>";this._properties=
qa&&qa.properties||{};this._zoneDelegate=new t(this,this._parent&&this._parent._zoneDelegate,qa)};k.assertZonePatched=function(){if(ca.Promise!==ba.ZoneAwarePromise)throw Error("v");};k.__load_patch=function(ia,qa,ua){ua=ua===void 0?!1:ua;if(ba.hasOwnProperty(ia)){if(qa=ca[da("forceDuplicateZoneCheck")]===!0,!ua&&qa)throw Error("w`"+ia);}else ca["__Zone_disable_"+ia]||(ua="Zone:"+ia,a(ua),ba[ia]=qa(ca,k,ma),b(ua,ua))};k.prototype.get=function(ia){var qa=this.getZoneWith(ia);if(qa)return qa._properties[ia]};
k.prototype.getZoneWith=function(ia){for(var qa=this;qa;){if(qa._properties.hasOwnProperty(ia))return qa;qa=qa._parent}return null};k.prototype.fork=function(ia){if(!ia)throw Error("x");return this._zoneDelegate.fork(this,ia)};k.prototype.wrap=function(ia,qa){if(typeof ia!=="function")throw Error("y`"+ia);var ua=this._zoneDelegate.intercept(this,ia,qa),Oa=this;return function(){return Oa.runGuarded(ua,this,arguments,qa)}};k.prototype.run=function(ia,qa,ua,Oa){na={parent:na,zone:this};try{return this._zoneDelegate.invoke(this,
ia,qa,ua,Oa)}finally{na=na.parent}};k.prototype.runGuarded=function(ia,qa,ua,Oa){na={parent:na,zone:this};try{try{return this._zoneDelegate.invoke(this,ia,qa===void 0?null:qa,ua,Oa)}catch(Ka){if(this._zoneDelegate.handleError(this,Ka))throw Ka;}}finally{na=na.parent}};k.prototype.runTask=function(ia,qa,ua){if(ia.zone!=this)throw Error("z`"+(ia.zone||U).name+"`"+this.name);if(ia.state!=="notScheduled"||ia.type!=="eventTask"&&ia.type!=="macroTask"){var Oa=ia.state!="running";Oa&&ia._transitionTo("running",
"scheduled");ia.runCount++;var Ka=ya;ya=ia;na={parent:na,zone:this};try{ia.type=="macroTask"&&ia.data&&!ia.data.isPeriodic&&(ia.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,ia,qa,ua)}catch(Cb){if(this._zoneDelegate.handleError(this,Cb))throw Cb;}}finally{ia.state!=="notScheduled"&&ia.state!=="unknown"&&(ia.type=="eventTask"||ia.data&&ia.data.isPeriodic?Oa&&ia._transitionTo("scheduled","running"):(ia.runCount=0,this._updateTaskCount(ia,-1),Oa&&ia._transitionTo("notScheduled","running",
"notScheduled"))),na=na.parent,ya=Ka}}};k.prototype.scheduleTask=function(ia){if(ia.zone&&ia.zone!==this)for(var qa=this;qa;){if(qa===ia.zone)throw Error("A`"+this.name+"`"+ia.zone.name);qa=qa.parent}ia._transitionTo("scheduling","notScheduled");qa=[];ia._zoneDelegates=qa;ia._zone=this;try{ia=this._zoneDelegate.scheduleTask(this,ia)}catch(ua){throw ia._transitionTo("unknown","scheduling","notScheduled"),this._zoneDelegate.handleError(this,ua),ua;}ia._zoneDelegates===qa&&this._updateTaskCount(ia,1);
ia.state=="scheduling"&&ia._transitionTo("scheduled","scheduling");return ia};k.prototype.scheduleMicroTask=function(ia,qa,ua,Oa){return this.scheduleTask(new w("microTask",ia,qa,ua,Oa,void 0))};k.prototype.scheduleMacroTask=function(ia,qa,ua,Oa,Ka){return this.scheduleTask(new w("macroTask",ia,qa,ua,Oa,Ka))};k.prototype.scheduleEventTask=function(ia,qa,ua,Oa,Ka){return this.scheduleTask(new w("eventTask",ia,qa,ua,Oa,Ka))};k.prototype.cancelTask=function(ia){if(ia.zone!=this)throw Error("B`"+(ia.zone||
U).name+"`"+this.name);if(ia.state==="scheduled"||ia.state==="running"){ia._transitionTo("canceling","scheduled","running");try{this._zoneDelegate.cancelTask(this,ia)}catch(qa){throw ia._transitionTo("unknown","canceling"),this._zoneDelegate.handleError(this,qa),qa;}this._updateTaskCount(ia,-1);ia._transitionTo("notScheduled","canceling");ia.runCount=0;return ia}};k.prototype._updateTaskCount=function(ia,qa){var ua=ia._zoneDelegates;qa==-1&&(ia._zoneDelegates=null);for(var Oa=0;Oa<ua.length;Oa++)ua[Oa]._updateTaskCount(ia.type,
qa)};ea.Object.defineProperties(k.prototype,{parent:{configurable:!0,enumerable:!0,get:function(){return this._parent}},name:{configurable:!0,enumerable:!0,get:function(){return this._name}}});ea.Object.defineProperties(k,{root:{configurable:!0,enumerable:!0,get:function(){for(var ia=k.current;ia.parent;)ia=ia.parent;return ia}},current:{configurable:!0,enumerable:!0,get:function(){return na.zone}},currentTask:{configurable:!0,enumerable:!0,get:function(){return ya}}});k.__symbol__=da;var q={name:"",
onHasTask:function(ia,qa,ua,Oa){return ia.hasTask(ua,Oa)},onScheduleTask:function(ia,qa,ua,Oa){return ia.scheduleTask(ua,Oa)},onInvokeTask:function(ia,qa,ua,Oa,Ka,Cb){return ia.invokeTask(ua,Oa,Ka,Cb)},onCancelTask:function(ia,qa,ua,Oa){return ia.cancelTask(ua,Oa)}},t=function(ia,qa,ua){this._taskCounts={microTask:0,macroTask:0,eventTask:0};this._zone=ia;this._parentDelegate=qa;this._forkZS=ua&&(ua&&ua.onFork?ua:qa._forkZS);this._forkDlgt=ua&&(ua.onFork?qa:qa._forkDlgt);this._forkCurrZone=ua&&(ua.onFork?
this._zone:qa._forkCurrZone);this._interceptZS=ua&&(ua.onIntercept?ua:qa._interceptZS);this._interceptDlgt=ua&&(ua.onIntercept?qa:qa._interceptDlgt);this._interceptCurrZone=ua&&(ua.onIntercept?this._zone:qa._interceptCurrZone);this._invokeZS=ua&&(ua.onInvoke?ua:qa._invokeZS);this._invokeDlgt=ua&&(ua.onInvoke?qa:qa._invokeDlgt);this._invokeCurrZone=ua&&(ua.onInvoke?this._zone:qa._invokeCurrZone);this._handleErrorZS=ua&&(ua.onHandleError?ua:qa._handleErrorZS);this._handleErrorDlgt=ua&&(ua.onHandleError?
qa:qa._handleErrorDlgt);this._handleErrorCurrZone=ua&&(ua.onHandleError?this._zone:qa._handleErrorCurrZone);this._scheduleTaskZS=ua&&(ua.onScheduleTask?ua:qa._scheduleTaskZS);this._scheduleTaskDlgt=ua&&(ua.onScheduleTask?qa:qa._scheduleTaskDlgt);this._scheduleTaskCurrZone=ua&&(ua.onScheduleTask?this._zone:qa._scheduleTaskCurrZone);this._invokeTaskZS=ua&&(ua.onInvokeTask?ua:qa._invokeTaskZS);this._invokeTaskDlgt=ua&&(ua.onInvokeTask?qa:qa._invokeTaskDlgt);this._invokeTaskCurrZone=ua&&(ua.onInvokeTask?
this._zone:qa._invokeTaskCurrZone);this._cancelTaskZS=ua&&(ua.onCancelTask?ua:qa._cancelTaskZS);this._cancelTaskDlgt=ua&&(ua.onCancelTask?qa:qa._cancelTaskDlgt);this._cancelTaskCurrZone=ua&&(ua.onCancelTask?this._zone:qa._cancelTaskCurrZone);this._hasTaskCurrZone=this._hasTaskDlgtOwner=this._hasTaskDlgt=this._hasTaskZS=null;ia=ua&&ua.onHasTask;var Oa=qa&&qa._hasTaskZS;if(ia||Oa)this._hasTaskZS=ia?ua:q,this._hasTaskDlgt=qa,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=this._zone,ua.onScheduleTask||
(this._scheduleTaskZS=q,this._scheduleTaskDlgt=qa,this._scheduleTaskCurrZone=this._zone),ua.onInvokeTask||(this._invokeTaskZS=q,this._invokeTaskDlgt=qa,this._invokeTaskCurrZone=this._zone),ua.onCancelTask||(this._cancelTaskZS=q,this._cancelTaskDlgt=qa,this._cancelTaskCurrZone=this._zone)};t.prototype.fork=function(ia,qa){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,ia,qa):new k(ia,qa)};t.prototype.intercept=function(ia,qa,ua){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,
this._interceptCurrZone,ia,qa,ua):qa};t.prototype.invoke=function(ia,qa,ua,Oa,Ka){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,ia,qa,ua,Oa,Ka):qa.apply(ua,Oa)};t.prototype.handleError=function(ia,qa){return this._handleErrorZS?this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,ia,qa):!0};t.prototype.scheduleTask=function(ia,qa){var ua=qa;if(this._scheduleTaskZS)this._hasTaskZS&&ua._zoneDelegates.push(this._hasTaskDlgtOwner),(ua=
this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,ia,qa))||(ua=qa);else if(qa.scheduleFn)qa.scheduleFn(qa);else if(qa.type=="microTask")d(qa);else throw Error("C");return ua};t.prototype.invokeTask=function(ia,qa,ua,Oa){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,ia,qa,ua,Oa):qa.callback.apply(ua,Oa)};t.prototype.cancelTask=function(ia,qa){if(this._cancelTaskZS)ia=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,
this._cancelTaskCurrZone,ia,qa);else{if(!qa.cancelFn)throw Error("D");ia=qa.cancelFn(qa)}return ia};t.prototype.hasTask=function(ia,qa){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,ia,qa)}catch(ua){this.handleError(ia,ua)}};t.prototype._updateTaskCount=function(ia,qa){var ua=this._taskCounts,Oa=ua[ia];qa=ua[ia]=Oa+qa;if(qa<0)throw Error("E");Oa!=0&&qa!=0||this.hasTask(this._zone,{microTask:ua.microTask>0,macroTask:ua.macroTask>0,eventTask:ua.eventTask>0,change:ia})};
ea.Object.defineProperties(t.prototype,{zone:{configurable:!0,enumerable:!0,get:function(){return this._zone}}});var w=function(ia,qa,ua,Oa,Ka,Cb){this._zone=null;this.runCount=0;this._zoneDelegates=null;this._state="notScheduled";this.type=ia;this.source=qa;this.data=Oa;this.scheduleFn=Ka;this.cancelFn=Cb;if(!ua)throw Error("F");this.callback=ua;var Qb=this;this.invoke=ia==="eventTask"&&Oa&&Oa.useG?w.invokeTask:function(){return w.invokeTask.call(ca,Qb,this,arguments)}};w.invokeTask=function(ia,
qa,ua){ia||(ia=this);Pa++;try{return ia.runCount++,ia.zone.runTask(ia,qa,ua)}finally{Pa==1&&e(),Pa--}};w.prototype.cancelScheduleRequest=function(){this._transitionTo("notScheduled","scheduling")};w.prototype._transitionTo=function(ia,qa,ua){if(this._state===qa||this._state===ua)this._state=ia,ia=="notScheduled"&&(this._zoneDelegates=null);else throw Error("G`"+this.type+"`"+this.source+"`"+ia+"`"+qa+"`"+(ua?" or '"+ua+"'":"")+"`"+this._state);};w.prototype.toString=function(){return this.data&&typeof this.data.handleId!==
"undefined"?this.data.handleId.toString():Object.prototype.toString.call(this)};w.prototype.toJSON=function(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}};ea.Object.defineProperties(w.prototype,{zone:{configurable:!0,enumerable:!0,get:function(){return this._zone}},state:{configurable:!0,enumerable:!0,get:function(){return this._state}}});var B=da("setTimeout"),E=da("Promise"),I=da("then"),J=[],N=!1,P,U={name:"NO ZONE"},ba={},ma={symbol:da,
currentZoneFrame:function(){return na},onUnhandledError:f,microtaskDrainDone:f,scheduleMicroTask:d,showUncaughtError:function(){return!k[da("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},na={parent:null,zone:new k(null,null)},ya=null,Pa=0;b("Zone","Zone");return k},gaa=function(a,b){return Zone.current.wrap(a,b)},haa=function(a,
b){for(var c=a.length-1;c>=0;c--)typeof a[c]==="function"&&(a[c]=gaa(a[c],b+"_"+c));return a},jaa=function(a){for(var b=["getCurrentPosition","watchPosition"],c=a.constructor.name,d={},e=0;e<b.length;d={name$jscomp$125:void 0},e++){d.name$jscomp$125=b[e];var f=a[d.name$jscomp$125];if(f){var h=fa(a,d.name$jscomp$125);iaa(h)&&(a[d.name$jscomp$125]=function(k){return function(q){var t=function(){return q.apply(this,haa(arguments,c+"."+k.name$jscomp$125))};ha(t,q);return t}}(d)(f))}}},iaa=function(a){return a?
a.writable===!1?!1:!(typeof a.get==="function"&&typeof a.set==="undefined"):!0},naa=function(a,b,c){var d=fa(a,b);!d&&c&&fa(c,b)&&(d={enumerable:!0,configurable:!0});if(d&&d.configurable&&(c=da("on"+b+"patched"),!a.hasOwnProperty(c)||!a[c])){delete d.writable;delete d.value;var e=d.get,f=d.set,h=b.slice(2),k=kaa[h];k||(k=kaa[h]=da("ON_PROPERTY"+h));d.set=function(q){var t=this;t||a!==ja||(t=ja);t&&(typeof t[k]==="function"&&t.removeEventListener(h,laa),f&&f.call(t,null),t[k]=q,typeof q==="function"&&
t.addEventListener(h,laa,!1))};d.get=function(){var q=this;q||a!==ja||(q=ja);if(!q)return null;var t=q[k];return t?t:e&&(t=e.call(this))?(d.set.call(this,t),typeof q.removeAttribute==="function"&&q.removeAttribute(b),t):null};maa(a,b,d);a[c]=!0}},oaa=function(a,b,c){if(b)for(var d=0;d<b.length;d++)naa(a,"on"+b[d],c);else{b=[];for(d in a)d.slice(0,2)=="on"&&b.push(d);for(d=0;d<b.length;d++)naa(a,b[d],c)}},la=function(a){var b=ja[a];if(b){ja[da(a)]=b;ja[a]=function(){var e=haa(arguments,a);switch(e.length){case 0:this[ka]=
new b;break;case 1:this[ka]=new b(e[0]);break;case 2:this[ka]=new b(e[0],e[1]);break;case 3:this[ka]=new b(e[0],e[1],e[2]);break;case 4:this[ka]=new b(e[0],e[1],e[2],e[3]);break;default:throw Error("H");}};ha(ja[a],b);var c=new b(function(){}),d;for(d in c)a==="XMLHttpRequest"&&d==="responseBlob"||function(e){typeof c[e]==="function"?ja[a].prototype[e]=function(){return this[ka][e].apply(this[ka],arguments)}:maa(ja[a].prototype,e,{set:function(f){typeof f==="function"?(this[ka][e]=gaa(f,a+"."+e),
ha(this[ka][e],f)):this[ka][e]=f},get:function(){return this[ka][e]}})}(d);for(d in b)d!=="prototype"&&b.hasOwnProperty(d)&&(ja[a][d]=b[d])}},oa=function(a,b,c){for(var d=a;d&&!d.hasOwnProperty(b);)d=paa(d);!d&&a[b]&&(d=a);a=da(b);var e=null;if(d&&(!(e=d[a])||!d.hasOwnProperty(a))){e=d[a]=d[b];var f=d&&fa(d,b);if(iaa(f)){var h=c(e,a,b);d[b]=function(){return h(this,arguments)};ha(d[b],e)}}return e},qaa=function(a,b,c){function d(f){var h=f.data;h.args[h.cbIdx]=function(){f.invoke.apply(this,arguments)};
e.apply(h.target,h.args);return f}var e=null;e=oa(a,b,function(f){return function(h,k){var q=c(h,k);return q.cbIdx>=0&&typeof k[q.cbIdx]==="function"?Zone.current.scheduleMacroTask(q.name,k[q.cbIdx],q,d,void 0):f.apply(h,k)}})},ha=function(a,b){a[da("OriginalDelegate")]=b},taa=function(){if(raa)return saa;raa=!0;try{var a=pa.navigator.userAgent;if(a.indexOf("MSIE ")!==-1||a.indexOf("Trident/")!==-1||a.indexOf("Edge/")!==-1)saa=!0}catch(b){}return saa},uaa=function(a,b,c){if(!c||c.length===0)return b;
c=c.filter(function(e){return e.target===a});if(!c||c.length===0)return b;var d=c[0].ignoreProperties;return b.filter(function(e){return d.indexOf(e)===-1})},vaa=function(a){return Object.getOwnPropertyNames(a).filter(function(b){return b.startsWith("on")&&b.length>2}).map(function(b){return b.substring(2)})},waa=function(a,b){var c=(b?b(a):a)+"false";b=(b?b(a):a)+"true";c=ra+c;b=ra+b;sa[a]={};sa[a]["false"]=c;sa[a]["true"]=b},Daa=function(a,b,c,d){function e(U,ba,ma){if(ba=ba||a.event){U=U||ba.target||
a;var na=U[sa[ba.type][ma?"true":"false"]];if(na){ma=[];if(na.length===1)(ba=E(na[0],U,ba))&&ma.push(ba);else{na=na.slice();for(var ya=0;ya<na.length&&(!ba||ba[xaa]!==!0);ya++){var Pa=E(na[ya],U,ba);Pa&&ma.push(Pa)}}if(ma.length===1)throw ma[0];ba={};for(U=0;U<ma.length;ba={err$jscomp$16:void 0},U++)ba.err$jscomp$16=ma[U],b.nativeScheduleMicroTask(function(ia){return function(){throw ia.err$jscomp$16;}}(ba))}}}function f(U,ba){function ma(wb,kc){return!ta&&typeof wb==="object"&&wb?!!wb.capture:ta&&
kc?typeof wb==="boolean"?{capture:wb,passive:!0}:wb?typeof wb==="object"&&wb.passive!==!1?Object.assign({},wb,{passive:!0}):wb:{passive:!0}:wb}function na(wb){if(typeof wb==="object"&&wb!==null){var kc=Object.assign({},wb);wb.signal&&(kc.signal=wb.signal);return kc}return wb}if(!U)return!1;var ya=!0;ba&&ba.useG!==void 0&&(ya=ba.useG);var Pa=ba&&ba.vh,ia=!0;ba&&ba.chkDup!==void 0&&(ia=ba.chkDup);var qa=!1;ba&&ba.rt!==void 0&&(qa=ba.rt);for(var ua=U;ua&&!ua.hasOwnProperty(h);)ua=paa(ua);!ua&&U[h]&&
(ua=U);if(!ua||ua[w])return!1;var Oa=ba&&ba.eventNameToString,Ka={},Cb=ua[w]=ua[h],Qb=ua[da(k)]=ua[k];U=ua[da(q)]=ua[q];var Rb=ua[da(t)]=ua[t],Wa;ba&&ba.prepend&&(Wa=ua[da(ba.prepend)]=ua[ba.prepend]);var xb=function(wb){if(!wb.isRemoved){var kc=sa[wb.eventName],Nb;kc&&(Nb=kc[wb.capture?"true":"false"]);if(kc=Nb&&wb.target[Nb])for(var tc=0;tc<kc.length;tc++)if(kc[tc]===wb){kc.splice(tc,1);wb.isRemoved=!0;wb.removeAbortListener&&(wb.removeAbortListener(),wb.removeAbortListener=null);kc.length===0&&
(wb.allRemoved=!0,wb.target[Nb]=null);break}}if(wb.allRemoved)return Qb.call(wb.target,wb.eventName,wb.capture?J:I,wb.options)},Qa=function(wb){return Cb.call(Ka.target,Ka.eventName,wb.invoke,Ka.options)},hb=function(wb){return Wa.call(Ka.target,Ka.eventName,wb.invoke,Ka.options)},Ra=function(wb){return Qb.call(wb.target,wb.eventName,wb.invoke,wb.options)};xb=ya?xb:Ra;Ra=function(wb,kc){var Nb=typeof kc;return Nb==="function"&&wb.callback===kc||Nb==="object"&&wb.originalDelegate===kc};var Jb=ba&&
ba.diff?ba.diff:Ra,ac=Zone[da("UNPATCHED_EVENTS")],Mc=a[da("PASSIVE_EVENTS")];Ra=function(wb,kc,Nb,tc,od,Ye){od=od===void 0?!1:od;Ye=Ye===void 0?!1:Ye;return function(){var Cg=this||a,Qg=arguments[0];ba&&ba.transferEventName&&(Qg=ba.transferEventName(Qg));var Ho=arguments[1];if(!Ho||yaa&&Qg==="uncaughtException")return wb.apply(this,arguments);var fKa=!1;if(typeof Ho!=="function"){if(!Ho.handleEvent)return wb.apply(this,arguments);fKa=!0}if(!Pa||Pa(wb,Ho,Cg,arguments)){var nR=ta&&!!Mc&&Mc.indexOf(Qg)!==
-1,Wq=na(ma(arguments[2],nR)),mI=Wq==null?void 0:Wq.signal;if(mI==null||!mI.aborted){if(ac)for(var oR=0;oR<ac.length;oR++)if(Qg===ac[oR])return nR?wb.call(Cg,Qg,Ho,Wq):wb.apply(this,arguments);nR=Wq?typeof Wq==="boolean"?!0:Wq.capture:!1;oR=Wq&&typeof Wq==="object"?Wq.once:!1;var qkb=Zone.current,zt=sa[Qg];zt||(waa(Qg,Oa),zt=sa[Qg]);var Xw=zt[nR?"true":"false"];zt=Cg[Xw];var nI=!1;if(zt){if(nI=!0,ia)for(Xw=0;Xw<zt.length;Xw++)if(Jb(zt[Xw],Ho))return}else zt=Cg[Xw]=[];var jda;Xw=Cg.constructor.name;
var hKa=zaa[Xw];hKa&&(jda=hKa[Qg]);jda||(jda=Xw+kc+(Oa?Oa(Qg):Qg));Ka.options=Wq;oR&&(Ka.options.once=!1);Ka.target=Cg;Ka.capture=nR;Ka.eventName=Qg;Ka.isExisting=nI;if(nI=ya?Aaa:void 0)nI.taskData=Ka;mI&&(Ka.options.signal=void 0);var Xq=qkb.scheduleEventTask(jda,Ho,nI,Nb,tc);if(mI){Ka.options.signal=mI;var iKa=function(){return Xq.zone.cancelTask(Xq)};wb.call(mI,"abort",iKa,{once:!0});Xq.removeAbortListener=function(){return mI.removeEventListener("abort",iKa)}}Ka.target=null;nI&&(nI.taskData=null);
oR&&(Ka.options.once=!0);if(ta||typeof Xq.options!=="boolean")Xq.options=Wq;Xq.target=Cg;Xq.capture=nR;Xq.eventName=Qg;fKa&&(Xq.originalDelegate=Ho);Ye?zt.unshift(Xq):zt.push(Xq);if(od)return Cg}}}};ua[h]=Ra(Cb,B,ya?function(){if(!Ka.isExisting)return Cb.call(Ka.target,Ka.eventName,Ka.capture?J:I,Ka.options)}:Qa,xb,qa);Wa&&(ua.prependListener=Ra(Wa,".prependListener:",hb,xb,qa,!0));ua[k]=function(){var wb=this||a,kc=arguments[0];ba&&ba.transferEventName&&(kc=ba.transferEventName(kc));var Nb=arguments[2];
Nb=Nb?typeof Nb==="boolean"?!0:Nb.capture:!1;var tc=arguments[1];if(!tc)return Qb.apply(this,arguments);if(!Pa||Pa(Qb,tc,wb,arguments)){var od=sa[kc],Ye;od&&(Ye=od[Nb?"true":"false"]);if(od=Ye&&wb[Ye])for(var Cg=0;Cg<od.length;Cg++){var Qg=od[Cg];if(Jb(Qg,tc)){od.splice(Cg,1);Qg.isRemoved=!0;od.length===0&&(Qg.allRemoved=!0,wb[Ye]=null,Nb||typeof kc!=="string"||(wb[ra+"ON_PROPERTY"+kc]=null));Qg.zone.cancelTask(Qg);if(qa)return wb;return}}return Qb.apply(this,arguments)}};ua[q]=function(wb){var kc=
this||a,Nb=wb;ba&&ba.transferEventName&&(Nb=ba.transferEventName(Nb));wb=[];kc=Baa(kc,Oa?Oa(Nb):Nb);for(Nb=0;Nb<kc.length;Nb++){var tc=kc[Nb];wb.push(tc.originalDelegate?tc.originalDelegate:tc.callback)}return wb};ua[t]=function(wb){var kc=this||a;if(wb){ba&&ba.transferEventName&&(wb=ba.transferEventName(wb));var Nb=sa[wb];if(Nb){var tc=kc[Nb["false"]];kc=kc[Nb["true"]];if(tc)for(tc=tc.slice(),Nb=0;Nb<tc.length;Nb++){var od=tc[Nb];this[k].call(this,wb,od.originalDelegate?od.originalDelegate:od.callback,
od.options)}if(kc)for(kc=kc.slice(),tc=0;tc<kc.length;tc++)Nb=kc[tc],this[k].call(this,wb,Nb.originalDelegate?Nb.originalDelegate:Nb.callback,Nb.options)}}else{wb=Object.keys(kc);for(kc=0;kc<wb.length;kc++)(tc=(tc=Caa.exec(wb[kc]))&&tc[1])&&tc!=="removeListener"&&this[t].call(this,tc);this[t].call(this,"removeListener")}if(qa)return this};ha(ua[h],Cb);ha(ua[k],Qb);Rb&&ha(ua[t],Rb);U&&ha(ua[q],U);return!0}for(var h=d&&d.add||"addEventListener",k=d&&d.rm||"removeEventListener",q=d&&d.listeners||"eventListeners",
t=d&&d.rmAll||"removeAllListeners",w=da(h),B="."+h+":",E=function(U,ba,ma){if(!U.isRemoved){var na=U.callback;typeof na==="object"&&na.handleEvent&&(U.callback=function(ia){return na.handleEvent(ia)},U.originalDelegate=na);try{U.invoke(U,ba,[ma])}catch(ia){var ya=ia}var Pa=U.options;Pa&&typeof Pa==="object"&&Pa.once&&ba[k].call(ba,ma.type,U.originalDelegate?U.originalDelegate:U.callback,Pa);return ya}},I=function(U){return e(this,U,!1)},J=function(U){return e(this,U,!0)},N=[],P=0;P<c.length;P++)N[P]=
f(c[P],d);return N},Baa=function(a,b){if(!b){var c=[],d;for(d in a){var e=Caa.exec(d);if((e=e&&e[1])&&(!b||e===b)&&(e=a[d]))for(var f=0;f<e.length;f++)c.push(e[f])}return c}c=sa[b];c||(waa(b),c=sa[b]);b=a[c["false"]];a=a[c["true"]];return b?a?b.concat(a):b.slice():a?a.slice():[]},Eaa=function(a,b){(a=a.Event)&&a.prototype&&b.patchMethod(a.prototype,"stopImmediatePropagation",function(c){return function(d,e){d[xaa]=!0;c&&c.apply(d,e)}})},Jaa=function(){va.__load_patch("util",function(a,b,c){var d=
vaa(a);c.patchOnProperties=oaa;c.patchMethod=oa;c.bindArguments=haa;c.patchMacroTask=qaa;var e=b.__symbol__("BLACK_LISTED_EVENTS"),f=b.__symbol__("UNPATCHED_EVENTS");a[f]&&(a[e]=a[f]);a[e]&&(b[e]=b[f]=a[e]);c.patchEventPrototype=Eaa;c.patchEventTarget=Daa;c.isIEOrEdge=taa;c.ObjectDefineProperty=maa;c.ObjectGetOwnPropertyDescriptor=fa;c.ObjectCreate=Faa;c.ArraySlice=Gaa;c.patchClass=la;c.wrapWithCurrentZone=gaa;c.filterProperties=uaa;c.attachOriginToPatched=ha;c._redefineProperty=Object.defineProperty;
c.patchCallbacks=eaa;c.getGlobalObjects=function(){return{globalSources:zaa,zoneSymbolEventNames:sa,eventNames:d,isBrowser:Haa,isMix:Iaa,isNode:yaa,TRUE_STR:"true",FALSE_STR:"false",ZONE_SYMBOL_PREFIX:ra,ADD_EVENT_LISTENER_STR:"addEventListener",REMOVE_EVENT_LISTENER_STR:"removeEventListener"}}})},Qaa=function(){Kaa=Zone.__symbol__;Laa=Object[Kaa("defineProperty")]=Object.defineProperty;Maa=Object[Kaa("getOwnPropertyDescriptor")]=Object.getOwnPropertyDescriptor;Naa=Object.create;wa=Kaa("unconfigurables");
Object.defineProperty=function(a,b,c){if(a&&a[wa]&&a[wa][b])throw new TypeError("I`"+b+"`"+a);var d=c.configurable;b!=="prototype"&&(c=Oaa(a,b,c));return Paa(a,b,c,d)};Object.defineProperties=function(a,b){Object.keys(b).forEach(function(f){Object.defineProperty(a,f,b[f])});for(var c=l(Object.getOwnPropertySymbols(b)),d=c.next();!d.done;d=c.next()){d=d.value;var e=void 0;((e=Object.getOwnPropertyDescriptor(b,d))==null?0:e.enumerable)&&Object.defineProperty(a,d,b[d])}return a};Object.create=function(a,
b){typeof b!=="object"||Object.isFrozen(b)||Object.keys(b).forEach(function(c){b[c]=Oaa(a,c,b[c])});return Naa(a,b)};Object.getOwnPropertyDescriptor=function(a,b){var c=Maa(a,b);c&&a&&a[wa]&&a[wa][b]&&(c.configurable=!1);return c}},Raa=function(a,b,c){var d=c.configurable;c=Oaa(a,b,c);return Paa(a,b,c,d)},Oaa=function(a,b,c){Object.isFrozen(c)||(c.configurable=!0);c.configurable||(a[wa]||Object.isFrozen(a)||Laa(a,wa,{writable:!0,value:{}}),a[wa]&&(a[wa][b]=!0));return c},Paa=function(a,b,c,d){try{return Laa(a,
b,c)}catch(e){if(c.configurable){typeof d=="undefined"?delete c.configurable:c.configurable=d;try{return Laa(a,b,c)}catch(f){d=!1;if(b==="createdCallback"||b==="attachedCallback"||b==="detachedCallback"||b==="attributeChangedCallback")d=!0;if(!d)throw f;d=null;try{d=JSON.stringify(c)}catch(h){d=c.toString()}console.log("Attempting to configure '"+b+"' with descriptor '"+d+"' on object '"+a+"' and got error, giving up: "+f)}}else throw e;}},Saa=function(a,b){var c=b.getGlobalObjects(),d=c.eventNames,
e=c.globalSources,f=c.zoneSymbolEventNames,h=c.TRUE_STR,k=c.FALSE_STR,q=c.ZONE_SYMBOL_PREFIX,t="ApplicationCache EventSource FileReader InputMethodContext MediaController MessagePort Node Performance SVGElementInstance SharedWorker TextTrack TextTrackCue TextTrackList WebKitNamedFlow Window Worker WorkerGlobalScope XMLHttpRequest XMLHttpRequestEventTarget XMLHttpRequestUpload IDBRequest IDBOpenDBRequest IDBDatabase IDBTransaction IDBCursor DBIndex WebSocket".split(" ");c=[];var w="Anchor Area Audio BR Base BaseFont Body Button Canvas Content DList Directory Div Embed FieldSet Font Form Frame FrameSet HR Head Heading Html IFrame Image Input Keygen LI Label Legend Link Map Marquee Media Menu Meta Meter Mod OList Object OptGroup Option Output Paragraph Pre Progress Quote Script Select Source Span Style TableCaption TableCell TableCol Table TableRow TableSection TextArea Title Track UList Unknown Video".split(" ");
a.wtf?c=w.map(function(ba){return"HTML"+ba+"Element"}).concat(t):a.EventTarget?c.push("EventTarget"):c=t;var B=a.__Zone_disable_IE_check||!1,E=a.__Zone_enable_cross_context_check||!1,I=b.isIEOrEdge(),J={MSPointerCancel:"pointercancel",MSPointerDown:"pointerdown",MSPointerEnter:"pointerenter",MSPointerHover:"pointerhover",MSPointerLeave:"pointerleave",MSPointerMove:"pointermove",MSPointerOut:"pointerout",MSPointerOver:"pointerover",MSPointerUp:"pointerup"};for(t=0;t<d.length;t++){var N=d[t],P=q+(N+
k),U=q+(N+h);f[N]={};f[N][k]=P;f[N][h]=U}for(f=0;f<w.length;f++)for(h=w[f],k=e[h]={},q=0;q<d.length;q++)t=d[q],k[t]=h+".addEventListener:"+t;d=[];for(e=0;e<c.length;e++)w=a[c[e]],d.push(w&&w.prototype);b.patchEventTarget(a,b,d,{vh:function(ba,ma,na,ya){if(!B&&I)if(E)try{var Pa=ma.toString();if(Pa==="[object FunctionWrapper]"||Pa=="function __BROWSERTOOLS_CONSOLE_SAFEFUNC() { [native code] }")return ba.apply(na,ya),!1}catch(ia){return ba.apply(na,ya),!1}else{if(ma=ma.toString(),ma==="[object FunctionWrapper]"||
ma=="function __BROWSERTOOLS_CONSOLE_SAFEFUNC() { [native code] }")return ba.apply(na,ya),!1}else if(E)try{ma.toString()}catch(ia){return ba.apply(na,ya),!1}return!0},transferEventName:function(ba){return J[ba]||ba}});Zone[b.symbol("patchEventTarget")]=!!a.EventTarget},Taa=function(a,b){var c=a.getGlobalObjects(),d=c.ADD_EVENT_LISTENER_STR,e=c.REMOVE_EVENT_LISTENER_STR,f=b.WebSocket;b.EventTarget||a.patchEventTarget(b,a,[f.prototype]);b.WebSocket=function(k,q){var t=arguments.length>1?new f(k,q):
new f(k),w=a.ObjectGetOwnPropertyDescriptor(t,"onmessage");if(w&&w.configurable===!1){var B=a.ObjectCreate(t);var E=t;[d,e,"send","close"].forEach(function(I){B[I]=function(){var J=a.ArraySlice.call(arguments);if(I===d||I===e){var N=J.length>0?J[0]:void 0;N&&(N=Zone.__symbol__("ON_PROPERTY"+N),t[N]=B[N])}return t[I].apply(t,J)}})}else B=t;a.patchOnProperties(B,["close","error","message","open"],E);return B};c=b.WebSocket;for(var h in f)c[h]=f[h]},Uaa=function(a,b){var c=a.getGlobalObjects(),d=c.isMix;
if((c.isBrowser||d)&&!a.ObjectGetOwnPropertyDescriptor(HTMLElement.prototype,"onclick")&&typeof Element!=="undefined"){if((c=a.ObjectGetOwnPropertyDescriptor(Element.prototype,"onclick"))&&!c.configurable)return!1;if(c)return a.ObjectDefineProperty(Element.prototype,"onclick",{enumerable:!0,configurable:!0,get:function(){return!0}}),d=!!document.createElement("div").onclick,a.ObjectDefineProperty(Element.prototype,"onclick",c),d}var e=b.XMLHttpRequest;if(!e)return!1;c=e.prototype;if(d=a.ObjectGetOwnPropertyDescriptor(c,
"onreadystatechange"))return a.ObjectDefineProperty(c,"onreadystatechange",{enumerable:!0,configurable:!0,get:function(){return!0}}),e=!!(new e).onreadystatechange,a.ObjectDefineProperty(c,"onreadystatechange",d||{}),e;var f=a.symbol("fake");a.ObjectDefineProperty(c,"onreadystatechange",{enumerable:!0,configurable:!0,get:function(){return this[f]},set:function(h){this[f]=h}});a=new e;c=function(){};a.onreadystatechange=c;c=a[f]===c;a.onreadystatechange=null;return c},Waa=function(a){for(var b=a.symbol("unbound"),
c={},d=0;d<Vaa.length;c={onproperty:void 0},d++){var e=Vaa[d];c.onproperty="on"+e;self.addEventListener(e,function(f){return function(h){h=h.target;var k;for(k=h?h.constructor.name+"."+f.onproperty:"unknown."+f.onproperty;h;){if(h[f.onproperty]&&!h[f.onproperty][b]){var q=a.wrapWithCurrentZone(h[f.onproperty],k);q[b]=h[f.onproperty];h[f.onproperty]=q}h=h.parentElement}}}(c),!0)}},Xaa=function(){var a=typeof window!=="undefined"?window:typeof global!=="undefined"?global:typeof self!=="undefined"?self:
{};a[(a.__Zone_symbol_prefix||"__zone_symbol__")+"legacyPatch"]=function(){var b=a.Zone;b.__load_patch("defineProperty",function(c,d,e){e._redefineProperty=Raa;Qaa()});b.__load_patch("registerElement",function(c,d,e){d=e.getGlobalObjects();var f=d.isMix;(d.isBrowser||f)&&"registerElement"in c.document&&e.patchCallbacks(e,document,"Document","registerElement",["createdCallback","attachedCallback","detachedCallback","attributeChangedCallback"])});b.__load_patch("EventTargetLegacy",function(c,d,e){Saa(c,
e);d=e.getGlobalObjects();var f=d.isMix;d.isNode&&!f||Uaa(e,c)||(d=typeof WebSocket!=="undefined",Waa(e),e.patchClass("XMLHttpRequest"),d&&Taa(e,c),Zone[e.symbol("patchEvents")]=!0)})}},Yaa=function(a,b){b.patchMethod(a,"queueMicrotask",function(){return function(c,d){Zone.current.scheduleMicroTask("queueMicrotask",d[0])}})},xa=function(a,b,c,d){function e(t){var w=t.data;w.args[0]=function(){return t.invoke.apply(this,arguments)};w.handleId=h.apply(a,w.args);return t}function f(t){return k.call(a,
t.data.handleId)}var h=null,k=null;b+=d;c+=d;var q={};h=oa(a,b,function(t){return function(w,B){if(typeof B[0]==="function"){var E={isPeriodic:d==="Interval",delay:d==="Timeout"||d==="Interval"?B[1]||0:void 0,args:B},I=B[0];B[0]=function(){try{return I.apply(this,arguments)}finally{E.isPeriodic||(typeof E.handleId==="number"?delete q[E.handleId]:E.handleId&&(E.handleId[Zaa]=null))}};w=Zone.current.scheduleMacroTask(b,B[0],E,e,f);if(!w)return w;B=w.data.handleId;typeof B==="number"?q[B]=w:B&&(B[Zaa]=
w);B&&B.ref&&B.unref&&typeof B.ref==="function"&&typeof B.unref==="function"&&(w.ref=B.ref.bind(B),w.unref=B.unref.bind(B));return typeof B==="number"||B?B:w}return t.apply(a,B)}});k=oa(a,c,function(t){return function(w,B){w=B[0];if(typeof w==="number")var E=q[w];else(E=w&&w[Zaa])||(E=w);E&&typeof E.type==="string"?E.state!=="notScheduled"&&(E.cancelFn&&E.data.isPeriodic||E.runCount===0)&&(typeof w==="number"?delete q[w]:w&&(w[Zaa]=null),E.zone.cancelTask(E)):t.apply(a,B)}})},bba=function(){var a=
va;a.__load_patch("legacy",function(b){(b=b[a.__symbol__("legacyPatch")])&&b()});a.__load_patch("timers",function(b){xa(b,"set","clear","Timeout");xa(b,"set","clear","Interval");xa(b,"set","clear","Immediate")});a.__load_patch("requestAnimationFrame",function(b){xa(b,"request","cancel","AnimationFrame");xa(b,"mozRequest","mozCancel","AnimationFrame");xa(b,"webkitRequest","webkitCancel","AnimationFrame")});a.__load_patch("blocking",function(b,c){for(var d=["alert","prompt","confirm"],e=0;e<d.length;e++)oa(b,
d[e],function(f,h,k){return function(q,t){return c.current.run(f,b,t,k)}})});a.__load_patch("EventTarget",function(b,c,d){d.patchEventPrototype(b,d);if(!Zone[d.symbol("patchEventTarget")]){var e=d.getGlobalObjects();c=e.eventNames;var f=e.zoneSymbolEventNames,h=e.TRUE_STR,k=e.FALSE_STR;e=e.ZONE_SYMBOL_PREFIX;for(var q=0;q<c.length;q++){var t=c[q],w=e+(t+k),B=e+(t+h);f[t]={};f[t][k]=w;f[t][h]=B}(c=b.EventTarget)&&c.prototype&&d.patchEventTarget(b,d,[c&&c.prototype])}(c=b.XMLHttpRequestEventTarget)&&
c.prototype&&d.patchEventTarget(b,d,[c.prototype])});a.__load_patch("MutationObserver",function(){la("MutationObserver");la("WebKitMutationObserver")});a.__load_patch("IntersectionObserver",function(){la("IntersectionObserver")});a.__load_patch("FileReader",function(){la("FileReader")});a.__load_patch("on_property",function(b,c,d){if((!yaa||Iaa)&&!Zone[d.symbol("patchEvents")]){c=b.__Zone_ignore_on_properties;d=[];if(Haa){var e=window;d=d.concat("Document SVGElement Element HTMLElement HTMLBodyElement HTMLMediaElement HTMLFrameSetElement HTMLFrameElement HTMLIFrameElement HTMLMarqueeElement Worker".split(" "));
a:{try{var f=pa.navigator.userAgent;if(f.indexOf("MSIE ")!==-1||f.indexOf("Trident/")!==-1){var h=!0;break a}}catch(q){}h=!1}f=h?[{target:e,ignoreProperties:["error"]}]:[];h=vaa(e);var k=c?c.concat(f):c;f=paa(e);e&&(h=uaa(e,h,k),oaa(e,h,f))}d=d.concat("XMLHttpRequest XMLHttpRequestEventTarget IDBIndex IDBRequest IDBOpenDBRequest IDBDatabase IDBTransaction IDBCursor WebSocket".split(" "));for(e=0;e<d.length;e++)(f=b[d[e]])&&f.prototype&&(h=f.prototype,f=vaa(f.prototype),h&&(f=uaa(h,f,c),oaa(h,f,void 0)))}});
a.__load_patch("customElements",function(b,c,d){c=d.getGlobalObjects();var e=c.isMix;(c.isBrowser||e)&&b.customElements&&"customElements"in b&&d.patchCallbacks(d,b.customElements,"customElements","define","connectedCallback disconnectedCallback adoptedCallback attributeChangedCallback formAssociatedCallback formDisabledCallback formResetCallback formStateRestoreCallback".split(" "))});a.__load_patch("XHR",function(b,c){(function(t){function w(ya){var Pa=ya.data,ia=Pa.target;ia[h]=!1;ia[q]=!1;var qa=
ia[f];J||(J=ia[$aa],N=ia[aba]);qa&&N.call(ia,"readystatechange",qa);qa=ia[f]=function(){if(ia.readyState===ia.DONE)if(!Pa.aborted&&ia[h]&&ya.state==="scheduled"){var ua=ia[c.__symbol__("loadfalse")];if(ia.status!==0&&ua&&ua.length>0){var Oa=ya.invoke;ya.invoke=function(){for(var Ka=ia[c.__symbol__("loadfalse")],Cb=0;Cb<Ka.length;Cb++)Ka[Cb]===ya&&Ka.splice(Cb,1);Pa.aborted||ya.state!=="scheduled"||Oa.call(ya)};ua.push(ya)}else ya.invoke()}else Pa.aborted||ia[h]!==!1||(ia[q]=!0)};J.call(ia,"readystatechange",
qa);ia[d]||(ia[d]=ya);ma.apply(ia,Pa.args);ia[h]=!0;return ya}function B(){}function E(ya){ya=ya.data;ya.aborted=!0;return na.apply(ya.target,ya.args)}var I=t.XMLHttpRequest;if(I){I=I.prototype;var J=I[$aa],N=I[aba];!J&&(t=t.XMLHttpRequestEventTarget)&&(t=t.prototype,J=t[$aa],N=t[aba]);var P=oa(I,"open",function(){return function(ya,Pa){ya[e]=Pa[2]==0;ya[k]=Pa[1];return P.apply(ya,Pa)}}),U=da("fetchTaskAborting"),ba=da("fetchTaskScheduling"),ma=oa(I,"send",function(){return function(ya,Pa){if(c.current[ba]===
!0||ya[e])return ma.apply(ya,Pa);Pa={target:ya,url:ya[k],isPeriodic:!1,args:Pa,aborted:!1};var ia=Zone.current.scheduleMacroTask("XMLHttpRequest.send",B,Pa,w,E);ya&&ya[q]===!0&&!Pa.aborted&&ia.state==="scheduled"&&ia.invoke()}}),na=oa(I,"abort",function(){return function(ya,Pa){var ia=ya[d];if(ia&&typeof ia.type=="string")ia.cancelFn==null||ia.data&&ia.data.aborted||ia.zone.cancelTask(ia);else if(c.current[U]===!0)return na.apply(ya,Pa)}})}})(b);var d=da("xhrTask"),e=da("xhrSync"),f=da("xhrListener"),
h=da("xhrScheduled"),k=da("xhrURL"),q=da("xhrErrorBeforeScheduled")});a.__load_patch("geolocation",function(b){b.navigator&&b.navigator.geolocation&&jaa(b.navigator.geolocation)});a.__load_patch("PromiseRejectionEvent",function(b,c){function d(e){return function(f){Baa(b,e).forEach(function(h){var k=b.PromiseRejectionEvent;k&&(k=new k(e,{promise:f.promise,reason:f.rejection}),h.invoke(k))})}}b.PromiseRejectionEvent&&(c[da("unhandledPromiseRejectionHandler")]=d("unhandledrejection"),c[da("rejectionHandledHandler")]=
d("rejectionhandled"))});a.__load_patch("queueMicrotask",function(b,c,d){Yaa(b,d)})},cba=function(){va.__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}})})},za=function(a,b){if(Error.captureStackTrace)Error.captureStackTrace(this,za);else{var c=Error().stack;c&&(this.stack=c)}a&&(this.message=String(a));b!==void 0&&
(this.cause=b);this.reportErrorToServer=!0},dba=function(a,b){a=a.split("%s");for(var c="",d=a.length-1,e=0;e<d;e++)c+=a[e]+(e<b.length?b[e]:"%s");za.call(this,c+a[d])},Ba=function(a){Aa.setTimeout(function(){throw a;},0)},fba=function(){var a=Error();eba(a,"incident");Ba(a)},Ca=function(a){a=Error(a);eba(a,"warning");return a},Da=function(a,b){if(a)throw Error("J");b.push(65533)},gba=function(a,b){b=String.fromCharCode.apply(null,b);return a==null?b:a+b},hba=function(a,b,c,d){c=b+c;for(var e=[],
f=null,h,k,q,t;b<c;)h=a[b++],h<128?e.push(h):h<224?b>=c?Da(d,e):(k=a[b++],h<194||(k&192)!==128?(b--,Da(d,e)):e.push((h&31)<<6|k&63)):h<240?b>=c-1?Da(d,e):(k=a[b++],(k&192)!==128||h===224&&k<160||h===237&&k>=160||((q=a[b++])&192)!==128?(b--,Da(d,e)):e.push((h&15)<<12|(k&63)<<6|q&63)):h<=244?b>=c-2?Da(d,e):(k=a[b++],(k&192)!==128||(h<<28)+(k-144)>>30!==0||((q=a[b++])&192)!==128||((t=a[b++])&192)!==128?(b--,Da(d,e)):(h=(h&7)<<18|(k&63)<<12|(q&63)<<6|t&63,h-=65536,e.push((h>>10&1023)+55296,(h&1023)+56320))):
Da(d,e),e.length>=8192&&(f=gba(f,e),e.length=0);return gba(f,e)},lba=function(a,b,c,d){var e;d?(e=iba)||(e=iba=new TextDecoder("utf-8",{fatal:!0})):(e=jba)||(e=jba=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(kba===void 0){try{e.decode(new Uint8Array([128]))}catch(h){}try{e.decode(new Uint8Array([97])),kba=!0}catch(h){kba=!1}}b=!kba}b&&(iba=void 0);throw f;}},pba=function(a,b){b=b===void 0?!1:b;if(mba){if(b&&(nba?!a.isWellFormed():
/(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])/.test(a)))throw Error("K");a=(oba||(oba=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("K");
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},Ea=function(){var a=Aa.navigator;return a&&(a=a.userAgent)?a:""},qba=function(a){return Fa?Ga?Ga.brands.some(function(b){return(b=b.brand)&&Ha(b,a)}):!1:!1},Ia=function(a){return Ha(Ea(),a)},Ja=function(){return Fa?!!Ga&&Ga.brands.length>0:!1},rba=function(){return Ja()?!1:Ia("Opera")},sba=function(){return Ja()?!1:Ia("Trident")||Ia("MSIE")},tba=function(){return Ia("Firefox")||Ia("FxiOS")},vba=
function(){return Ia("Safari")&&!(uba()||(Ja()?0:Ia("Coast"))||rba()||(Ja()?0:Ia("Edge"))||(Ja()?qba("Microsoft Edge"):Ia("Edg/"))||(Ja()?qba("Opera"):Ia("OPR"))||tba()||Ia("Silk")||Ia("Android"))},uba=function(){return Ja()?qba("Chromium"):(Ia("Chrome")||Ia("CriOS"))&&!(Ja()?0:Ia("Edge"))||Ia("Silk")},wba=function(){return Ia("Android")&&!(uba()||tba()||rba()||Ia("Silk"))},xba=function(){var a=Ea();if(sba()){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},yba=function(){if(Ja()){var a=Ga.brands.find(function(b){return b.brand==="Internet Explorer"});if(!a||!a.version)return NaN;a=a.version.split(".")}else{a=xba();if(a==="")return NaN;a=a.split(".")}return a.length===0?NaN:Number(a[0])},La=function(){return Fa?!!Ga&&!!Ga.platform:
!1},zba=function(){return La()?Ga.platform==="Android":Ia("Android")},Aba=function(){return Ia("iPhone")&&!Ia("iPod")&&!Ia("iPad")},Ma=function(){return Aba()||Ia("iPad")||Ia("iPod")},Bba=function(){return La()?Ga.platform==="macOS":Ia("Macintosh")},Na=function(a){return a[a.length-1]},Cba=function(a,b){var c=0;Sa(a,function(d,e,f){b.call(void 0,d,e,f)&&++c});return c},Dba=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},
Ta=function(a,b){return Eba(a,b)>=0},Fba=function(a){if(!Array.isArray(a))for(var b=a.length-1;b>=0;b--)delete a[b];a.length=0},Va=function(a,b){b=Eba(a,b);var c;(c=b>=0)&&Ua(a,b);return c},Ua=function(a,b){Array.prototype.splice.call(a,b,1)},Xa=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&&Ua(a,b)},Ya=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(Za(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 $a(q)?"o"+ab(q):(typeof q).charAt(0)+q};c=c||d;for(var e=d=0,f={};e<a.length;){var h=a[e++],k=
c(h);Object.prototype.hasOwnProperty.call(f,k)||(f[k]=!0,b[d++]=h)}b.length=d},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},bb=function(a){return Xba&&a!=null&&a instanceof Uint8Array},Zba=function(){return Yba||
(Yba=new Uint8Array(0))},$ba=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},aca=function(){return typeof BigInt==="function"},cb=function(a){return Array.prototype.slice.call(a)},bca=function(a){return typeof Symbol==="function"&&typeof Symbol()==="symbol"?Symbol():a},db=function(a,b,c){return c?a|b:a&~b},fb=function(a){return!!(eb(a)&2)},gb=function(a){cca(a,34);return a},dca=function(a){cca(a,32);return a},eca=function(a,b){ib(b,(a|0)&
-14591)},fca=function(a,b){ib(b,(a|34)&-14557)},gca=function(a){a=a>>14&1023;return a===0?536870912:a},jb=function(a){return+!!(a&512)-1},hca=function(a){return a.length==0?kb():new lb(a,mb)},nb=function(a){return a.messagePrototypeMarker===ica},kca=function(a){return!(!a||typeof a!=="object"||a.mapPrototypeMarker!==jca)},ob=function(a){return a!==null&&typeof a==="object"&&!Array.isArray(a)&&a.constructor===Object},pb=function(a,b,c,d){if(a==null){if(!c)throw Error();}else if(typeof a==="string")a=
a?new lb(a,mb):kb();else if(a.constructor!==lb)if(bb(a))a=a.length?new lb(d?a:new Uint8Array(a),mb):kb();else{if(!b)throw Error();a=void 0}return a},lca=function(a,b){return!!a&&(Array.isArray(a)?a.includes(b):a.has(b))},qb=function(a,b,c){if(!Array.isArray(a)||a.length)return!1;var d=eb(a);if(d&1)return!0;if(!lca(b,c))return!1;ib(a,d|1);return!0},rb=function(a){if(a&2)throw Error();},sb=function(a,b){if(typeof b!=="number"||b<0||b>=a.length)throw Error();},mca=function(a,b){if(typeof b!=="number"||
b<0||b>a.length)throw Error();},oca=function(a){if(!nca)return a.constructor.repeatedFields_},pca=function(a,b){(b=tb?b[tb]:void 0)&&(a[tb]=cb(b))},ub=function(){return qca||(qca=Symbol())},zb=function(a){var b=a<0;a=Math.abs(a);var c=a>>>0;a=Math.floor((a-c)/4294967296);b&&(c=l(rca(c,a)),b=c.next().value,a=c.next().value,c=b);vb=c>>>0;yb=a>>>0},sca=function(a,b){var c=b&2147483648;c&&(a=~a+1>>>0,b=~b>>>0,a==0&&(b=b+1>>>0));a=b*4294967296+(a>>>0);return c?-a:a},Ab=function(a,b){b>>>=0;a>>>=0;if(b<=
2097151)var c=""+(4294967296*b+a);else aca()?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+=Math.floor(a/1E7),a%=1E7),c>=1E7&&(b+=Math.floor(c/1E7),c%=1E7),c=b+tca(c)+tca(a));return c},tca=function(a){a=String(a);return"0000000".slice(a.length)+a},uca=function(){var a=vb,b=yb;b&2147483648?aca()?a=""+(BigInt(b|0)<<BigInt(32)|BigInt(a>>>0)):(b=l(rca(a,b)),a=b.next().value,b=b.next().value,a="-"+Ab(a,b)):
a=Ab(a,b);return a},vca=function(a){if(a.length<16)zb(Number(a));else if(aca())a=BigInt(a),vb=Number(a&BigInt(4294967295))>>>0,yb=Number(a>>BigInt(32)&BigInt(4294967295));else{var b=+(a[0]==="-");yb=vb=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)),yb*=1E6,vb=vb*1E6+d,vb>=4294967296&&(yb+=Math.trunc(vb/4294967296),yb>>>=0,vb>>>=0);b&&(b=l(rca(vb,yb)),a=b.next().value,b=b.next().value,vb=a,yb=b)}},rca=function(a,b){b=~b;a?a=~a+1:b+=1;return[a,b]},wca=function(a){if(typeof a!==
"number")throw Error("P`"+typeof a+"`"+a);return a},Bb=function(a){return a==null?a:wca(a)},xca=function(a){if(a==null||typeof a==="number")return a;if(a==="NaN"||a==="Infinity"||a==="-Infinity")return Number(a)},yca=function(a){if(typeof a!=="boolean")throw Error("Q`"+Db(a)+"`"+a);return a},Eb=function(a){return a==null?a:yca(a)},zca=function(a){if(a==null||typeof a==="boolean")return a;if(typeof a==="number")return!!a},Fb=function(a){var b=typeof a;return b==="number"?Number.isFinite(a):b!=="string"?
!1:Aca.test(a)},Gb=function(a){if(!Number.isFinite(a))throw Ca("enum");return a|0},Bca=function(a){return a==null?a:Gb(a)},Cca=function(a){return a==null?a:Number.isFinite(a)?a|0:void 0},Hb=function(a){if(typeof a!=="number")throw Ca("int32");if(!Number.isFinite(a))throw Ca("int32");return a|0},Ib=function(a){if(a==null)return a;if(typeof a==="string"){if(!a)return;a=+a}if(typeof a==="number")return Number.isFinite(a)?a|0:void 0},Dca=function(){if(!Number.isFinite(0))throw Ca("uint32");return 0},
Eca=function(a){if(a==null)return a;if(typeof a==="string"){if(!a)return;a=+a}if(typeof a==="number")return Number.isFinite(a)?a>>>0:void 0},Kb=function(a,b){b=!!b;if(!Fb(a))throw Ca("int64");return typeof a==="string"?Fca(a):b?Gca(a):Hca(a)},Lb=function(a){return a==null?a:Kb(a)},Ica=function(a){return a[0]==="-"?!1:a.length<20?!0:a.length===20&&Number(a.substring(0,6))<184467},Jca=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},Kca=function(a){if(a<0){zb(a);var b=Ab(vb,yb);a=Number(b);return Number.isSafeInteger(a)?a:b}if(Ica(String(a)))return a;zb(a);return yb*4294967296+(vb>>>0)},Hca=function(a){a=Math.trunc(a);Number.isSafeInteger(a)||(zb(a),a=sca(vb,yb));return a},Lca=function(a){a=Math.trunc(a);return a>=0&&Number.isSafeInteger(a)?a:Kca(a)},Gca=function(a){a=Math.trunc(a);if(Number.isSafeInteger(a))a=String(a);else{var b=String(a);Jca(b)?a=b:(zb(a),a=uca())}return a},Mca=function(a){a=
Math.trunc(a);if(a>=0&&Number.isSafeInteger(a))a=String(a);else{var b=String(a);Ica(b)?a=b:(zb(a),a=Ab(vb,yb))}return a},Fca=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));Jca(a)||(vca(a),a=uca());return a},Nca=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));Ica(a)||(vca(a),a=Ab(vb,yb));return a},Oca=function(a){if(a==null)return a;
if(Fb(a)){var b;typeof a==="number"?b=Hca(a):b=Fca(a);return b}},Mb=function(a,b){b=b===void 0?!1:b;if(a==null)return a;if(Fb(a))return typeof a==="string"?Fca(a):b?Gca(a):Hca(a)},Pca=function(a){var b=!!b;if(!Fb(a))throw Ca("uint64");return typeof a==="string"?Nca(a):b?Mca(a):Lca(a)},Ob=function(a){if(typeof a!=="string")throw Error();return a},Qca=function(a){if(a!=null&&typeof a!=="string")throw Error();return a},Rca=function(a){return a==null||typeof a==="string"?a:void 0},Pb=function(a,b,c,d){if(a!=
null&&typeof a==="object"&&nb(a))return a;if(!Array.isArray(a))return c?d&2?Sca(b):new b:void 0;var e=c=eb(a);e===0&&(e|=d&32);e|=d&2;e!==c&&ib(a,e);return new b(a)},Sca=function(a){var b=a[Tca];if(b)return b;b=new a;gb(b.internalArray_);return a[Tca]=b},Uca=function(a,b,c){if(b)return yca(a);var d;return(d=zca(a))!=null?d:c?!1:void 0},Vca=function(a,b,c){a=b?Kb(a):Oca(a);b=a==null?c?0:void 0:a;return typeof b==="string"&&(c=+b,Number.isSafeInteger(c))?c:b},Sb=function(a,b,c){if(b)return Ob(a);var d;
return(d=Rca(a))!=null?d:c?"":void 0},Wca=function(a,b,c){a=b?Gb(a):Cca(a);return a==null?c?0:void 0:a},Xca=function(a){return a},Yca=function(a,b,c,d,e,f){a=Pb(a,d,c,f);e&&(a=Tb(a));return a},Zca=function(a){return a},bda=function(a,b,c){if(a.size!=b.size)return!1;var d=!0;a.forEach(function(e,f){$ca(e,b.get(f),c==null?void 0:ada(c,2))||(d=!1)});return d},cda=function(a,b){if(!Array.isArray(a)||!Array.isArray(b))return 0;a=a[0];b=b[0];return a===b?0:a<b?-1:1},dda=function(a,b,c){if(b==null)return a.size===
0;if(!Array.isArray(b)||a.size>b.length)return!1;b=Array.prototype.slice.call(b);b.sort(cda);for(var d=0,e=void 0,f=b.length-1;f>=0;f--){var h=b[f];if(!h||!Array.isArray(h)||h.length!==2)return!1;var k=h[0];if(k!==e){e=void 0;if(!$ca(a.get(k),h[1],(e=c)==null?void 0:ada(e,2)))return!1;e=k;d++}}return d===a.size},eda=function(a,b){if(!Array.isArray(a)||!Array.isArray(b))return!1;a=Array.prototype.slice.call(a);b=Array.prototype.slice.call(b);a.sort(cda);b.sort(cda);var c=a.length,d=b.length;if(c===
0&&d===0)return!0;for(var e=0,f=0;e<c&&f<d;){var h=void 0,k=a[e];if(!Array.isArray(k))return!1;for(var q=k[0];e<c-1&&(h=a[e+1])[0]===q;)e++,k=h;var t=void 0;h=b[f];if(!Array.isArray(h))return!1;for(var w=h[0];f<d-1&&(t=b[f+1])[0]===w;)f++,h=t;if(q!==w)return!1;q=void 0;if(!$ca(k[1],h[1],(q=void 0)==null?void 0:ada(q,2)))return!1;e++;f++}return e>=c&&f>=d},fda=function(a){return[a,this.get(a)]},ida=function(){return gda||(gda=new Ub(gb([]),void 0,void 0,void 0,hda))},kda=function(a,b){if(typeof b===
"string")try{b=Wba(b)}catch(c){return!1}return bb(b)&&$ba(a,b)},nda=function(a,b){var c=ub(),d;if(nb(a)){var e=a.internalArray_;d!=null||(d=e[c]);var f=oca(a)}else if(Array.isArray(a))e=a;else return!1;if(nb(b))a=b.internalArray_,d!=null||(d=a[c]),f=f||oca(b);else if(Array.isArray(b))a=b;else return!1;var h;return lda(e,a,(h=f)!=null?h:mda,d,2)},$ca=function(a,b,c){return lda(a,b,void 0,c,0)},lda=function(a,b,c,d,e){Vb!=null&&Array.isArray(a)&&Array.isArray(b)&&Vb.push(d?"cc":"cn");if(a===b||a==null&&
b==null)return!0;if(a instanceof Ub)return oda(a,b,d);if(b instanceof Ub)return oda(b,a,d);if(a==null||b==null)return!1;if(a instanceof lb)return pda(a,b);if(b instanceof lb)return pda(b,a);if(bb(a))return kda(a,b);if(bb(b))return kda(b,a);var f=typeof a,h=typeof b;if(f!=="object"||h!=="object")return Number.isNaN(a)||Number.isNaN(b)?String(a)===String(b):f==="string"&&h==="number"||f==="number"&&h==="string"?+a===+b:f==="boolean"&&h==="number"||f==="number"&&h==="boolean"?!a===!b:!1;if(nb(a)||nb(b))return nda(a,
b);if(a.constructor!=b.constructor)return!1;if(a.constructor===Array){h=eb(a);var k=eb(b),q=a.length,t=b.length,w=Math.max(q,t);f=jb(h|k);(h=e===1||!!((h|k)&1))&&(e=1);if(!h){h=ub();var B;d!=null||(d=(B=a[h])!=null?B:b[h]);if(d!=null){c=(c=d.repeatedFields)?c:qda||(qda=new Set);var E=(E=d.mapFields)?E:qda||(qda=new Set)}}B=q&&a[q-1];h=t&&b[t-1];ob(B)||(B=null);ob(h)||(h=null);q=q-f-+!!B;t=t-f-+!!h;for(k=0;k<w;k++)if(!rda(k-f,a,B,q,b,h,t,f,c,E,d,e))return Vb!=null&&Vb.push("f"),!1;if(B)for(var I in B){e=
a;w=B;k=q;var J=b,N=h,P=t,U=f,ba=c,ma=E,na=d,ya=+I;e=!Number.isFinite(ya)||ya<k||ya<P?!0:rda(ya,e,w,k,J,N,P,U,ba,ma,na,2);if(!e)return Vb!=null&&Vb.push("f"),!1}if(h)for(var Pa in h)if((I=B&&Pa in B)||(I=a,e=B,w=q,k=b,J=h,N=t,P=f,U=c,ba=E,ma=d,na=+Pa,I=!Number.isFinite(na)||na<w||na<N?!0:rda(na,I,e,w,k,J,N,P,U,ba,ma,2)),!I)return Vb!=null&&Vb.push("f"),!1;Vb!=null&&Vb.push("t");return!0}if(a.constructor===Object)return $ca([a],[b]);throw Error();},rda=function(a,b,c,d,e,f,h,k,q,t,w,B){b=sda(a,b,c,
d,k);e=sda(a,e,f,h,k);B=B===1;Vb!=null&&Vb.push(a);if(e==null){if(qb(b,q,a))return!0;B||Wb||q||!Array.isArray(b)||b.length||eb(b)&64||b[ub()]||Wb++}if(b==null){if(qb(e,q,a))return!0;B||Wb||q||!Array.isArray(e)||e.length||eb(e)&64||e[ub()]||Wb++}w=B?w:w==null?void 0:ada(w,a);if(t=t==null?void 0:t.has(a)){if(b==null&&Array.isArray(e))return e.length===0;if(e==null&&Array.isArray(b))return b.length===0;if(Array.isArray(b)&&Array.isArray(e))return eda(b,e)}return lda(b,e,void 0,w,t||lca(q,a)?1:0)},sda=
function(a,b,c,d,e){var f;return(f=a<d?b[a+e]:void 0)!=null?f:c==null?void 0:c[a]},Xb=function(a,b){tda=b;a=new a(b);tda=void 0;return a},wda=function(a){switch(typeof a){case "boolean":return uda||(uda=[0,void 0,!0]);case "number":return a>0?void 0:a===0?vda||(vda=[0,void 0]):[-a,void 0];case "string":return[0,a];case "object":return a}},m=function(a,b,c){a==null&&(a=tda);tda=void 0;if(a==null){var d=96;c?(a=[c],d|=512):a=[];b&&(d=d&-16760833|(b&1023)<<14)}else{if(!Array.isArray(a))throw Error("S");
d=eb(a);if(d&2048)throw Error("T");if(d&64)return a;d|=64;if(c&&(d|=512,c!==a[0]))throw Error("U");a:{c=a;var e=c.length;if(e){var f=e-1;if(ob(c[f])){d|=256;b=f-jb(d);if(b>=1024)throw Error("V");d=d&-16760833|(b&1023)<<14;break a}}if(b){b=Math.max(b,e-jb(d));if(b>1024)throw Error("W");d=d&-16760833|(b&1023)<<14}}}ib(a,d);return a},yda=function(a,b){return xda(b)},xda=function(a){switch(typeof a){case "number":return isFinite(a)?a:String(a);case "boolean":return a?1:0;case "object":if(a)if(Array.isArray(a)){if(qb(a,
void 0,0))return}else{if(bb(a))return Rba(a);if(a instanceof lb)return zda(a);if(a instanceof Ub)return Ada(a)}}return a},Bda=function(a,b,c){var d=cb(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])}pca(d,a);return d},Dda=function(a,b,c,d,e){if(a!=null){if(Array.isArray(a))a=qb(a,void 0,0)?void 0:e&&eb(a)&2?a:Cda(a,b,c,d!==void 0,e);else if(ob(a)){var f={},h;for(h in a)f[h]=Dda(a[h],b,c,d,e);a=f}else a=b(a,d);return a}},
Cda=function(a,b,c,d,e){var f=d||c?eb(a):0;d=d?!!(f&32):void 0;for(var h=cb(a),k=0;k<h.length;k++)h[k]=Dda(h[k],b,c,d,e);c&&(pca(h,a),c(f,h));return h},Fda=function(a){return Dda(a,Eda,void 0,void 0,!1)},Eda=function(a){return nb(a)?a.toJSON():a instanceof Ub?Ada(a,Fda):xda(a)},Gda=function(a,b,c){c=c===void 0?fca:c;if(a!=null){if(Xba&&a instanceof Uint8Array)return b?a:new Uint8Array(a);if(Array.isArray(a)){var d=eb(a);d&2||(b&&(b=d===0||!!(d&32)&&!(d&64||!(d&16))),a=b?ib(a,(d|34)&-12293):Cda(a,
Gda,d&4?fca:c,!0,!0));return a}nb(a)?(c=a.internalArray_,d=Yb(c),a=d&2?a:Xb(a.constructor,Zb(c,d,!0))):a instanceof Ub&&!(a.arrayState&2)&&(c=gb(Hda(a,Gda)),a=new Ub(c,a.valueCtor,a.keyToApi,a.valueToApi));return a}},Zb=function(a,b,c){var d=c||b&2?fca:eca,e=!!(b&32);a=Bda(a,b,function(f){return Gda(f,e,d)});cca(a,32|(c?2:0));return a},Tb=function(a){var b=a.internalArray_,c=Yb(b);return c&2?Xb(a.constructor,Zb(b,c,!1)):a},Jda=function(a,b,c,d){if(!(4&b))return!0;if(c==null)return!1;!d&&c===0&&(4096&
b||8192&b)&&(a.constructor[Ida]=(a.constructor[Ida]|0)+1)<5&&fba();return c===0?!1:!(c&b)},Kda=function(a,b,c,d){b=d+jb(b);if(!(b<0||b>=a.length||b>=c))return a[b]},$b=function(a,b,c,d,e){var f=gca(b);if(c>=f||e){var h=b;if(b&256)e=a[a.length-1];else{if(d==null)return h;e=a[f+jb(b)]={};h|=256}e[c]=d;c<f&&(a[c+jb(b)]=void 0);h!==b&&ib(a,h);return h}a[c+jb(b)]=d;b&256&&(a=a[a.length-1],c in a&&delete a[c]);return b},Lda=function(a,b,c,d){var e=b&2,f=bc(a,b,c,d);Array.isArray(f)||(f=mda);var h=!!(b&
32),k=eb(f);k===0&&h&&!e?(k|=33,ib(f,k)):k&1||(k|=1,ib(f,k));if(e)k&2||gb(f),Object.freeze(f);else if(2&k||2048&k)f=cb(f),e=1,h&&(e|=32),ib(f,e),$b(a,b,c,f,d);return f},fc=function(a,b,c,d,e,f,h){var k=a.internalArray_,q=Yb(k);d=2&q?1:d;f=!!f;var t=Mda(k,q,b,e),w=eb(t);if(Jda(a,w,h,f)){if(4&w||Object.isFrozen(t))t=cb(t),w=cc(w,q),q=$b(k,q,b,t,e);for(var B=a=0;a<t.length;a++){var E=c(t[a]);E!=null&&(t[B++]=E)}B<a&&(t.length=B);w=Nda(w,q);w=db(w,20,!0);w=db(w,4096,!1);w=db(w,8192,!1);h&&(w=db(w,h,!0));
ib(t,w);2&w&&Object.freeze(t)}dc(w)||(h=w,w=(c=d===1||d===4&&!!(32&w))?db(w,2,!0):ec(w,q,f),w!==h&&ib(t,w),c&&Object.freeze(t));d===2&&dc(w)&&(t=cb(t),w=cc(w,q),w=ec(w,q,f),ib(t,w),$b(k,q,b,t,e));return t},Mda=function(a,b,c,d){a=bc(a,b,c,d);return Array.isArray(a)?a:mda},Nda=function(a,b){a===0&&(a=cc(a,b));return a=db(a,1,!0)},dc=function(a){return!!(2&a)&&!!(4&a)||!!(2048&a)},Oda=function(a,b,c,d,e,f,h){var k=b&2;a:{var q=c,t=b&2;c=!1;if(q==null){if(t){a=ida();break a}q=[]}else if(q.constructor===
Ub){if((q.arrayState&2)==0||t){a=q;break a}q=Hda(q)}else Array.isArray(q)?c=fb(q):q=[];if(t){if(!q.length){a=ida();break a}c||(c=!0,gb(q))}else if(c){c=!1;t=cb(q);for(q=0;q<t.length;q++){var w=t[q]=cb(t[q]);Array.isArray(w[1])&&(w[1]=gb(w[1]))}q=t}c||(eb(q)&64?gc(q,32):32&b&&dca(q));f=new Ub(q,e,f,h);$b(a,b,d,f,!1);a=f}!k&&e&&(a.callToMutableOnAccess=!0);return a},hc=function(a,b,c){a=a.internalArray_;var d=Yb(a);return Oda(a,d,bc(a,d,b),b,void 0,Sb,c)},ic=function(a,b,c,d){a=a.internalArray_;var e=
Yb(a);return Oda(a,e,bc(a,e,b),b,c,d)},jc=function(a,b,c,d){var e=a.internalArray_,f=Yb(e);rb(f);if(c==null)return $b(e,f,b),a;var h=eb(c),k=h,q=!!(2&h)||Object.isFrozen(c),t=!q&&(void 0===Pda||!1);if(Jda(a,h))for(h=21,q&&(c=cb(c),k=0,h=cc(h,f),h=ec(h,f,!0)),q=0;q<c.length;q++)c[q]=d(c[q]);t&&(c=cb(c),k=0,h=cc(h,f),h=ec(h,f,!0));h!==k&&ib(c,h);$b(e,f,b,c);return a},lc=function(a,b,c,d){var e=a.internalArray_,f=Yb(e);rb(f);$b(e,f,b,(d==="0"?Number(c)===0:c===d)?void 0:c);return a},mc=function(a,b,
c,d){var e=a.internalArray_,f=eb(e);rb(Yb(a.internalArray_));a=Lda(e,f,b,!1);b=eb(a);b=!!(4&b)&&!!(4096&b);if(Array.isArray(d))for(e=0;e<d.length;e++)a.push(c(d[e],b));else for(d=l(d),e=d.next();!e.done;e=d.next())a.push(c(e.value,b))},nc=function(a,b,c,d,e){var f=a.internalArray_,h=Yb(f);rb(h);b=Lda(f,h,b);f=eb(b);d=c(d,!!(4&f)&&!!(4096&f));e!=void 0?b.splice(e,0,d):b.push(d);return a},oc=function(a,b,c,d,e,f){rb(Yb(a.internalArray_));b=f(a,b,2,void 0,!0);mca(b,d);f=eb(b);b[d]=c(e,!!(4&f)&&!!(4096&
f));return a},Qda=function(a,b,c){for(var d=0,e=0;e<c.length;e++){var f=c[e];bc(a,b,f)!=null&&(d!==0&&(b=$b(a,b,d)),d=f)}return d},Rda=function(a,b,c,d){a=a.internalArray_;var e=Yb(a),f=bc(a,e,c,d);b=Pb(f,b,!1,e);b!==f&&b!=null&&$b(a,e,c,b,d);return b},Sda=function(a,b,c,d,e,f,h,k){var q=!!(2&b);e=q?1:e;h=!!h;k&&(k=!q);q=Mda(a,b,d,f);var t=eb(q),w=!!(4&t);if(!w){t=Nda(t,b);var B=q,E=b,I=!!(2&t);I&&(E=db(E,2,!0));for(var J=!I,N=!0,P=0,U=0;P<B.length;P++){var ba=Pb(B[P],c,!1,E);if(ba instanceof c){if(!I){var ma=
fb(ba.internalArray_);J&&(J=!ma);N&&(N=ma)}B[U++]=ba}}U<P&&(B.length=U);t=db(t,4,!0);t=db(t,16,N);t=db(t,8,J);ib(B,t);I&&Object.freeze(B)}if(k&&!(8&t||!q.length&&(e===1||e===4&&32&t))){dc(t)&&(q=cb(q),t=cc(t,b),b=$b(a,b,d,q,f));c=q;k=t;for(B=0;B<c.length;B++)t=c[B],E=Tb(t),t!==E&&(c[B]=E);k=db(k,8,!0);k=db(k,16,!c.length);ib(c,k);t=k}dc(t)||(c=t,t=(k=e===1||e===4&&!!(32&t))?db(t,!q.length||16&t&&(!w||32&t)?2:2048,!0):ec(t,b,h),t!==c&&ib(q,t),k&&Object.freeze(q));e===2&&dc(t)&&(q=cb(q),t=cc(t,b),t=
ec(t,b,h),ib(q,t),$b(a,b,d,q,f));return q},cc=function(a,b){a=db(a,2,!!(2&b));a=db(a,32,!0);return a=db(a,2048,!1)},ec=function(a,b,c){32&b&&c||(a=db(a,32,!1));return a},Tda=function(a,b,c,d,e,f,h){a=a.internalArray_;var k=Yb(a);rb(k);b=Sda(a,k,c,b,2,f,!0);c=d!=null?d:new c;h&&mca(b,e);e!=void 0?b.splice(e,h,c):b.push(c);fb(c.internalArray_)?gc(b,8):gc(b,16);return c},Uda=function(a){return Mb(a,!0)},pc=function(a,b){return a!=null?a:b},Vda=function(a){return pb(a,!1,!1,!1)},Wda=function(a,b,c){var d=
oca(a),e=Yb(c?a.internalArray_:b);a=b.length;if(!a)return b;var f;if(ob(c=b[a-1])){a:{var h=c;var k={},q=!1,t;for(t in h){var w=h[t];if(Array.isArray(w)){var B=w;if(qb(w,d,+t)||kca(w)&&w.size===0)w=null;w!=B&&(q=!0)}w!=null?k[t]=w:q=!0}if(q){for(var E in k){h=k;break a}h=null}}h!=c&&(f=!0);a--}for(t=jb(e);a>0;a--){E=a-1;c=b[E];E-=t;if(!(c==null||qb(c,d,E)||kca(c)&&c.size===0))break;var I=!0}if(!f&&!I)return b;b=Array.prototype.slice.call(b,0,a);h&&b.push(h);return b},qc=function(a,b,c){for(var d in a)b.call(c,
a[d],d,a)},rc=function(a,b){var c={},d;for(d in a)b.call(void 0,a[d],d,a)&&(c[d]=a[d]);return c},Xda=function(a,b,c){var d={},e;for(e in a)d[e]=b.call(c,a[e],e,a);return d},Yda=function(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return!0;return!1},Zda=function(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b},$da=function(a,b){return a!==null&&b in a},aea=function(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return c},bea=function(a,b){return(b=aea(a,b))&&a[b]},sc=function(a){for(var b in a)return!1;
return!0},cea=function(a){for(var b in a)delete a[b]},uc=function(a,b){b in a&&delete a[b]},dea=function(a,b){return a!==null&&b in a?a[b]:void 0},vc=function(a){var b={},c;for(c in a)b[c]=a[c];return b},fea=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<eea.length;f++)c=eea[f],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}},gea=function(a){var b=arguments.length;if(b==1&&Array.isArray(arguments[0]))return gea.apply(null,arguments[0]);
for(var c={},d=0;d<b;d++)c[arguments[d]]=!0;return c},hea=function(a){return a.toString().indexOf("`")===-1},xc=function(a){if(a instanceof wc)return a.privateDoNotAccessOrElseWrappedUrl;throw Error("aa");},yc=function(a){return new iea(function(b){return b.substr(0,a.length+1).toLowerCase()===a+":"})},zc=function(a){var b=b===void 0?jea:b;a:if(b=b===void 0?jea:b,!(a instanceof wc)){for(var c=0;c<b.length;++c){var d=b[c];if(d instanceof iea&&d.isValid(a)){a=new wc(a);break a}}a=void 0}return a||kea},
mea=function(a){if(lea.test(a))return a},Ac=function(a){return a instanceof wc?xc(a):mea(a)},Cc=function(a){return a instanceof Bc},nea=function(a){a=a.tagName;if(a==="SCRIPT"||a==="STYLE")throw Error("aa");},Dc=function(a,b){throw Error(b===void 0?"unexpected value "+a+"!":b);},oea=function(a,b){a.src=Ec(b).toString()},pea=function(a,b,c){b=Ac(b);b!==void 0&&a.open(b,c,void 0)},qea=function(a){var b,c;return(a=(c=(b=a.document).querySelector)==null?void 0:c.call(b,"script[nonce]"))?a.nonce||a.getAttribute("nonce")||
"":""},Fc=function(a,b){a.src=Ec(b);(b=qea(a.ownerDocument&&a.ownerDocument.defaultView||window))&&a.setAttribute("nonce",b)},rea=function(){va.__load_patch("Error",function(a,b,c){function d(ma){for(var na={zoneName:ma.zone.name},ya=na;ma.parent;){ma=ma.parent;var Pa={zoneName:ma.zone.name};na=na.parent=Pa}return ya}function e(ma,na,ya){ya=ya===void 0?!0:ya;ma=ma.split("\n");for(var Pa=0;ma[Pa]!==w&&ma[Pa]!==B&&ma[Pa]!==E&&ma[Pa]!==I&&ma[Pa]!==J&&Pa<ma.length;)Pa++;for(;Pa<ma.length&&na;Pa++){var ia=
ma[Pa];if(ia.trim())switch(t[ia]){case h.zoneJsInternal:ma.splice(Pa,1);Pa--;break;case h.transition:na.parent?na=na.parent:na=null;ma.splice(Pa,1);Pa--;break;default:ma[Pa]+=ya?" ["+na.zone.name+"]":" ["+na.zoneName+"]"}}return ma.join("\n")}function f(){var ma=this,na=q.apply(this,arguments),ya=na.originalStack=na.stack;if(f.stackRewrite&&ya){var Pa=c.currentZoneFrame();if(N==="lazy")na[c.symbol("zoneFrameNames")]=d(Pa);else if(N==="default")try{na.stack=na.zoneAwareStack=e(ya,Pa)}catch(ia){}}return this instanceof
q&&this.constructor!=q?(Object.keys(na).concat("stack","message").forEach(function(ia){var qa=na[ia];if(qa!==void 0)try{ma[ia]=qa}catch(ua){}}),this):na}var h={zoneJsInternal:0,transition:1},k=c.symbol("zoneJsInternalStackFrames"),q=a[c.symbol("Error")]=a.Error,t={},w,B,E,I,J;a.Error=f;var N=a.__Zone_Error_BlacklistedStackFrames_policy||a.__Zone_Error_ZoneJsInternalStackFrames_policy||"default";f.prototype=q.prototype;f[k]=t;f.stackRewrite=!1;var P=c.symbol("zoneAwareStack");N==="lazy"&&Object.defineProperty(f.prototype,
"zoneAwareStack",{configurable:!0,enumerable:!0,get:function(){this[P]||(this[P]=e(this.originalStack,this[c.symbol("zoneFrameNames")],!1));return this[P]},set:function(ma){this.originalStack=ma;this[P]=e(this.originalStack,this[c.symbol("zoneFrameNames")],!1)}});var U=["stackTraceLimit","captureStackTrace","prepareStackTrace"];(a=Object.keys(q))&&a.forEach(function(ma){U.filter(function(na){return na===ma}).length===0&&Object.defineProperty(f,ma,{get:function(){return q[ma]},set:function(na){q[ma]=
na}})});q.hasOwnProperty("stackTraceLimit")&&(q.stackTraceLimit=Math.max(q.stackTraceLimit,15),Object.defineProperty(f,"stackTraceLimit",{get:function(){return q.stackTraceLimit},set:function(ma){return q.stackTraceLimit=ma}}));q.hasOwnProperty("captureStackTrace")&&Object.defineProperty(f,"captureStackTrace",{value:function(ma,na){q.captureStackTrace(ma,na)}});Object.defineProperty(f,"prepareStackTrace",{get:function(){return q.prepareStackTrace},set:function(ma){return ma&&typeof ma==="function"?
q.prepareStackTrace=function(na,ya){if(ya)for(var Pa=0;Pa<ya.length;Pa++)if(ya[Pa].getFunctionName()==="zoneCaptureStackTrace"){ya.splice(Pa,1);break}return ma.call(this,na,ya)}:q.prepareStackTrace=ma}});if(N!=="disable"){var ba=b.current.fork({name:"detect",onHandleError:function(ma,na,ya,Pa){if(Pa.originalStack&&Error===f)for(ma=Pa.originalStack.split(/\n/),Pa=ya=na=!1;ma.length;){var ia=ma.shift();if(/:\d+:\d+/.test(ia)||ia==="ZoneAwareError"){var qa=ia.split("(")[0].split("@")[0],ua=h.transition;
qa.indexOf("ZoneAwareError")!==-1&&(qa.indexOf("new ZoneAwareError")!==-1?(w=ia,B=ia.replace("new ZoneAwareError","new Error.ZoneAwareError")):(E=ia,I=ia.replace("Error.",""),ia.indexOf("Error.ZoneAwareError")===-1&&(J=ia.replace("ZoneAwareError","Error.ZoneAwareError"))),t[B]=h.zoneJsInternal);qa.indexOf("runGuarded")!==-1?ya=!0:qa.indexOf("runTask")!==-1?Pa=!0:qa.indexOf("run")!==-1?na=!0:ua=h.zoneJsInternal;t[ia]=ua;if(na&&ya&&Pa){f.stackRewrite=!0;break}}}return!1}}).fork({name:"child",onScheduleTask:function(ma,
na,ya,Pa){return ma.scheduleTask(ya,Pa)},onInvokeTask:function(ma,na,ya,Pa,ia,qa){return ma.invokeTask(ya,Pa,ia,qa)},onCancelTask:function(ma,na,ya,Pa){return ma.cancelTask(ya,Pa)},onInvoke:function(ma,na,ya,Pa,ia,qa,ua){return ma.invoke(ya,Pa,ia,qa,ua)}});b=Error.stackTraceLimit;Error.stackTraceLimit=100;ba.run(function(){ba.runGuarded(function(){var ma=function(){};ba.scheduleEventTask(k,function(){ba.scheduleMacroTask(k,function(){ba.scheduleMicroTask(k,function(){throw Error();},void 0,function(na){na._transitionTo=
ma;na.invoke()});ba.scheduleMicroTask(k,function(){throw Error();},void 0,function(na){na._transitionTo=ma;na.invoke()})},void 0,function(na){na._transitionTo=ma;na.invoke()},function(){})},void 0,function(na){na._transitionTo=ma;na.invoke()},function(){})})});Error.stackTraceLimit=b}})},sea=function(){va.__load_patch("ZoneAwarePromise",function(a,b,c){function d(Qa){if(Qa&&Qa.toString===Object.prototype.toString){var hb=Qa.constructor&&Qa.constructor.name;return(hb?hb:"")+": "+JSON.stringify(Qa)}return Qa?
Qa.toString():Object.prototype.toString.call(Qa)}function e(Qa){c.onUnhandledError(Qa);try{var hb=b[na];typeof hb==="function"&&hb.call(this,Qa)}catch(Ra){}}function f(Qa){return Qa}function h(Qa){return Wa.reject(Qa)}function k(Qa,hb){return function(Ra){try{q(Qa,hb,Ra)}catch(Jb){q(Qa,!1,Jb)}}}function q(Qa,hb,Ra){var Jb=Oa();if(Qa===Ra)throw new TypeError("ja");if(Qa[ya]===null){var ac=null;try{if(typeof Ra==="object"||typeof Ra==="function")ac=Ra&&Ra.then}catch(Mc){return Jb(function(){q(Qa,!1,
Mc)})(),Qa}if(hb!==!1&&Ra instanceof Wa&&Ra.hasOwnProperty(ya)&&Ra.hasOwnProperty(Pa)&&Ra[ya]!==null)t(Ra),q(Qa,Ra[ya],Ra[Pa]);else if(hb!==!1&&typeof ac==="function")try{ac.call(Ra,Jb(k(Qa,hb)),Jb(k(Qa,!1)))}catch(Mc){Jb(function(){q(Qa,!1,Mc)})()}else{Qa[ya]=hb;Jb=Qa[Pa];Qa[Pa]=Ra;Qa[ia]===ia&&hb===!0&&(Qa[ya]=Qa[ua],Qa[Pa]=Qa[qa]);hb===!1&&Ra instanceof Error&&(ac=b.currentTask&&b.currentTask.data&&b.currentTask.data.__creationTrace__)&&J(Ra,Ka,{configurable:!0,enumerable:!1,writable:!0,value:ac});
for(ac=0;ac<Jb.length;)w(Qa,Jb[ac++],Jb[ac++],Jb[ac++],Jb[ac++]);if(Jb.length==0&&hb==0){Qa[ya]=0;hb=Ra;try{throw Error("ka`"+d(Ra)+"`"+(Ra&&Ra.stack?"\n"+Ra.stack:""));}catch(Mc){hb=Mc}U&&(hb.throwOriginal=!0);hb.rejection=Ra;hb.promise=Qa;hb.zone=b.current;hb.task=b.currentTask;P.push(hb);c.scheduleMicroTask()}}}return Qa}function t(Qa){if(Qa[ya]===0){try{var hb=b[Cb];hb&&typeof hb==="function"&&hb.call(this,{rejection:Qa[Pa],promise:Qa})}catch(Ra){}Qa[ya]=!1;for(hb=0;hb<P.length;hb++)Qa===P[hb].promise&&
P.splice(hb,1)}}function w(Qa,hb,Ra,Jb,ac){t(Qa);var Mc=Qa[ya],wb=Mc?typeof Jb==="function"?Jb:f:typeof ac==="function"?ac:h;hb.scheduleMicroTask("Promise.then",function(){try{var kc=Qa[Pa],Nb=!!Ra&&ia===Ra[ia];Nb&&(Ra[qa]=kc,Ra[ua]=Mc);var tc=hb.run(wb,void 0,Nb&&wb!==h&&wb!==f?[]:[kc]);q(Ra,!0,tc)}catch(od){q(Ra,!1,od)}},Ra)}function B(Qa){var hb=Qa.prototype,Ra=I(hb,"then");if(!Ra||Ra.writable!==!1&&Ra.configurable){var Jb=hb.then;hb[ma]=Jb;Qa.prototype.then=function(ac,Mc){var wb=this;return(new Wa(function(kc,
Nb){Jb.call(wb,kc,Nb)})).then(ac,Mc)};Qa[xb]=!0}}function E(Qa){return function(hb,Ra){hb=Qa.apply(hb,Ra);if(hb instanceof Wa)return hb;Ra=hb.constructor;Ra[xb]||B(Ra);return hb}}var I=Object.getOwnPropertyDescriptor,J=Object.defineProperty,N=c.symbol,P=[],U=a[N("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")]!==!1,ba=N("Promise"),ma=N("then");c.onUnhandledError=function(Qa){if(c.showUncaughtError()){var hb=Qa&&Qa.rejection;hb?console.error("Unhandled Promise rejection:",hb instanceof Error?hb.message:
hb,"; Zone:",Qa.zone.name,"; Task:",Qa.task&&Qa.task.source,"; Value:",hb,hb instanceof Error?hb.stack:void 0):console.error(Qa)}};c.microtaskDrainDone=function(){for(var Qa={};P.length;Qa={uncaughtPromiseError:void 0}){Qa.uncaughtPromiseError=P.shift();try{Qa.uncaughtPromiseError.zone.runGuarded(function(hb){return function(){if(hb.uncaughtPromiseError.throwOriginal)throw hb.uncaughtPromiseError.rejection;throw hb.uncaughtPromiseError;}}(Qa))}catch(hb){e(hb)}}};var na=N("unhandledPromiseRejectionHandler"),
ya=N("state"),Pa=N("value"),ia=N("finally"),qa=N("parentPromiseValue"),ua=N("parentPromiseState"),Oa=function(){var Qa=!1;return function(hb){return function(){Qa||(Qa=!0,hb.apply(null,arguments))}}},Ka=N("currentTaskTrace"),Cb=N("rejectionHandledHandler"),Qb=function(){},Rb=a.AggregateError,Wa=function(Qa){if(!(this instanceof Wa))throw Error("la");this[ya]=null;this[Pa]=[];try{var hb=Oa();Qa&&Qa(hb(k(this,!0)),hb(k(this,!1)))}catch(Ra){q(this,!1,Ra)}};Wa.toString=function(){return"function ZoneAwarePromise() { [native code] }"};
Wa.resolve=function(Qa){return Qa instanceof Wa?Qa:q(new this(null),!0,Qa)};Wa.reject=function(Qa){return q(new this(null),!1,Qa)};Wa.withResolvers=function(){var Qa={};Qa.promise=new Wa(function(hb,Ra){Qa.resolve=hb;Qa.reject=Ra});return Qa};Wa.any=function(Qa){if(!Qa||typeof Qa[Symbol.iterator]!=="function")return Promise.reject(new Rb([],"All promises were rejected"));var hb=[],Ra=0;try{for(var Jb=l(Qa),ac=Jb.next();!ac.done;ac=Jb.next()){var Mc=ac.value;Ra++;hb.push(Wa.resolve(Mc))}}catch(Nb){return Promise.reject(new Rb([],
"All promises were rejected"))}if(Ra===0)return Promise.reject(new Rb([],"All promises were rejected"));var wb=!1,kc=[];return new Wa(function(Nb,tc){for(var od=0;od<hb.length;od++)hb[od].then(function(Ye){wb||(wb=!0,Nb(Ye))},function(Ye){kc.push(Ye);Ra--;Ra===0&&(wb=!0,tc(new Rb(kc,"All promises were rejected")))})})};Wa.race=function(Qa){function hb(kc){Jb(kc)}function Ra(kc){ac(kc)}var Jb,ac,Mc=new this(function(kc,Nb){Jb=kc;ac=Nb});Qa=l(Qa);for(var wb=Qa.next();!wb.done;wb=Qa.next())(wb=wb.value)&&
wb.then||(wb=this.resolve(wb)),wb.then(hb,Ra);return Mc};Wa.all=function(Qa){return Wa.allWithCallback(Qa)};Wa.allSettled=function(Qa){return(this&&this.prototype instanceof Wa?this:Wa).allWithCallback(Qa,{thenCallback:function(hb){return{status:"fulfilled",value:hb}},errorCallback:function(hb){return{status:"rejected",reason:hb}}})};Wa.allWithCallback=function(Qa,hb){var Ra,Jb,ac=new this(function(od,Ye){Ra=od;Jb=Ye}),Mc=2,wb=0,kc=[];Qa=l(Qa);for(var Nb=Qa.next(),tc={};!Nb.done;tc={curValueIndex:void 0},
Nb=Qa.next()){(Nb=Nb.value)&&Nb.then||(Nb=this.resolve(Nb));tc.curValueIndex=wb;try{Nb.then(function(od){return function(Ye){kc[od.curValueIndex]=hb?hb.thenCallback(Ye):Ye;Mc--;Mc===0&&Ra(kc)}}(tc),function(od){return function(Ye){hb?(kc[od.curValueIndex]=hb.errorCallback(Ye),Mc--,Mc===0&&Ra(kc)):Jb(Ye)}}(tc))}catch(od){Jb(od)}Mc++;wb++}Mc-=2;Mc===0&&Ra(kc);return ac};ea.Object.defineProperty(Wa.prototype,Symbol.toStringTag,{configurable:!0,enumerable:!0,get:function(){return"Promise"}});ea.Object.defineProperty(Wa.prototype,
Symbol.species,{configurable:!0,enumerable:!0,get:function(){return Wa}});Wa.prototype.then=function(Qa,hb){var Ra,Jb=(Ra=this.constructor)==null?void 0:Ra[Symbol.species];Jb&&typeof Jb==="function"||(Jb=this.constructor||Wa);Ra=new Jb(Qb);Jb=b.current;this[ya]==null?this[Pa].push(Jb,Ra,Qa,hb):w(this,Jb,Ra,Qa,hb);return Ra};Wa.prototype.catch=function(Qa){return this.then(null,Qa)};Wa.prototype.finally=function(Qa){var hb,Ra=(hb=this.constructor)==null?void 0:hb[Symbol.species];Ra&&typeof Ra==="function"||
(Ra=Wa);hb=new Ra(Qb);hb[ia]=ia;Ra=b.current;this[ya]==null?this[Pa].push(Ra,hb,Qa,Qa):w(this,Ra,hb,Qa,Qa);return hb};Wa.resolve=Wa.resolve;Wa.reject=Wa.reject;Wa.race=Wa.race;Wa.all=Wa.all;ba=a[ba]=a.Promise;a.Promise=Wa;var xb=N("thenPatched");c.patchThen=B;ba&&(B(ba),oa(a,"fetch",function(Qa){return E(Qa)}));Promise[b.__symbol__("uncaughtPromiseErrors")]=P;return Wa})},tea=function(){va.__load_patch("toString",function(a){var b=Function.prototype.toString,c=da("OriginalDelegate"),d=da("Promise"),
e=da("Error"),f=function(){if(typeof this==="function"){var k=this[c];if(k)return typeof k==="function"?b.call(k):Object.prototype.toString.call(k);if(this===Promise&&(k=a[d])||this===Error&&(k=a[e]))return b.call(k)}return b.call(this)};f[c]=b;Function.prototype.toString=f;var h=Object.prototype.toString;Object.prototype.toString=function(){return typeof Promise==="function"&&this instanceof Promise?"[object Promise]":h.call(this)}})},Gc=function(a){for(var b in a)if(a[b]===Gc)return b;throw Error("na");
},Hc=function(a){return{token:a.token,providedIn:a.providedIn||null,factory:a.factory,value:void 0}},Ic=function(a){return{providers:a.providers||[],imports:a.imports||[]}},wea=function(a){var b;(b=a.hasOwnProperty(uea)?a[uea]:null)||(b=a.hasOwnProperty(vea)?a[vea]:null);return b},xea=function(a){return(a=a&&(a[uea]||a[vea]))?a:null},Aea=function(a){return a&&(a.hasOwnProperty(yea)||a.hasOwnProperty(zea))?a[yea]:null},Jc=function(a){return typeof a==="string"?a:a==null?"":String(a)},Kc=function(a){if(typeof a===
"string")return a;if(Array.isArray(a))return"["+a.map(Kc).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)},Bea=function(a,b){return a==null||a===""?b===null?"":b:b==null||b===""?a:a+" "+b},Cea=function(){throw new Lc(-201,!1);},Dea=function(a,b){return Object.is(a,b)},Oc=function(a){var b=Nc;Nc=a;return b},Fea=function(a){if(a.liveConsumerNode!==
void 0){var b=Pc;Pc=!0;try{for(var c=l(a.liveConsumerNode),d=c.next();!d.done;d=c.next()){var e=d.value;e.dirty||Eea(e)}}finally{Pc=b}}},Gea=function(){var a;return((a=Nc)==null?void 0:a.consumerAllowSignalWrites)!==!1},Eea=function(a){a.dirty=!0;Fea(a);var b;(b=a.consumerMarkedDirty)==null||b.call(a,a)},Hea=function(a){a&&(a.nextProducerIndex=0);return Oc(a)},Jea=function(a,b){Oc(b);if(a&&a.producerNode!==void 0&&a.producerIndexOfThis!==void 0&&a.producerLastReadVersion!==void 0){if(Qc(a))for(b=
a.nextProducerIndex;b<a.producerNode.length;b++)Iea(a.producerNode[b],a.producerIndexOfThis[b]);for(;a.producerNode.length>a.nextProducerIndex;)a.producerNode.pop(),a.producerLastReadVersion.pop(),a.producerIndexOfThis.pop()}},Mea=function(a){Kea(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;if(!Qc(c)||c.dirty)if(c.dirty||c.lastCleanEpoch!==Lea)(c.producerMustRecompute(c)||Mea(c))&&c.producerRecomputeValue(c),c.dirty=!1,
c.lastCleanEpoch=Lea;if(d!==c.version)return!0}return!1},Nea=function(a){Kea(a);if(Qc(a))for(var b=0;b<a.producerNode.length;b++)Iea(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)},Pea=function(a,b,c){Oea(a);if(a.liveConsumerNode.length===0&&a.producerNode!==void 0)for(var d=0;d<a.producerNode.length;d++)a.producerIndexOfThis[d]=Pea(a.producerNode[d],
a,d);a.liveConsumerIndexOfThis.push(c);return a.liveConsumerNode.push(b)-1},Iea=function(a,b){Oea(a);if(a.liveConsumerNode.length===1&&a.producerNode!==void 0)for(var c=0;c<a.producerNode.length;c++)Iea(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],Kea(a),a.producerIndexOfThis[c]=b)},Qc=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},Kea=function(a){a.producerNode!=null||(a.producerNode=[]);a.producerIndexOfThis!=null||(a.producerIndexOfThis=[]);a.producerLastReadVersion!=null||(a.producerLastReadVersion=[])},Oea=function(a){a.liveConsumerNode!=null||(a.liveConsumerNode=[]);a.liveConsumerIndexOfThis!=null||(a.liveConsumerIndexOfThis=[])},
Rea=function(a){var b=Object.create(Qea);b.value=a;a=function(){if(Pc)throw Error("aa");if(Nc!==null){Nc.consumerOnSignalRead(b);var c=Nc.nextProducerIndex++;Kea(Nc);c<Nc.producerNode.length&&Nc.producerNode[c]!==b&&Qc(Nc)&&Iea(Nc.producerNode[c],Nc.producerIndexOfThis[c]);Nc.producerNode[c]!==b&&(Nc.producerNode[c]=b,Nc.producerIndexOfThis[c]=Qc(Nc)?Pea(b,Nc,c):0);Nc.producerLastReadVersion[c]=b.version}return b.value};a[Rc]=b;return a},Tea=function(a,b){Gea()||Sea();a.equal(a.value,b)||(a.value=
b,a.version++,Lea++,Fea(a))},Wea=function(a,b,c){var d=Object.create(Uea);c&&(d.consumerAllowSignalWrites=!0);d.fn=a;d.schedule=b;var e=function(f){d.cleanupFn=f};a={};d.ref=(a.notify=function(){return Eea(d)},a.run=function(){if(d.fn!==null){if(Pc)throw Error("ta");d.dirty=!1;if(!d.hasRun||Mea(d)){d.hasRun=!0;var f=Hea(d);try{d.cleanupFn(),d.cleanupFn=Vea,d.fn(e)}finally{Jea(d,f)}}}},a.cleanup=function(){return d.cleanupFn()},a.destroy=function(){if(d.fn!==null||d.schedule!==null)Nea(d),d.cleanupFn(),
d.fn=null,d.schedule=null,d.cleanupFn=Vea},a[Rc]=d,a);return d.ref},Tc=function(a){var b=Sc;Sc=a;return b},Xea=function(a,b,c){if((a=wea(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;Cea()},Uc=function(a){a.__forward_ref__=Uc;a.toString=function(){return Kc(this())};return a},Vc=function(a){return Yea(a)?a():a},Yea=function(a){return typeof a==="function"&&a.hasOwnProperty(Zea)&&a.__forward_ref__===Uc},Xc=function(a){var b=
Wc;Wc=a;return b},$ea=function(a,b){b=b===void 0?0:b;if(Wc===void 0)throw new Lc(-203,!1);return Wc===null?Xea(a,void 0,b):Wc.get(a,b&8?null:void 0,b)},n=function(a,b){b=b===void 0?0:b;return(Sc||$ea)(Vc(a),b)},Yc=function(a,b){return n(a,afa(b===void 0?0:b))},afa=function(a){return typeof a==="undefined"||typeof a==="number"?a:0|(a.optional&&8)|(a.host&&1)|(a.self&&2)|(a.skipSelf&&4)},bfa=function(a){for(var b=[],c=0;c<a.length;c++){var d=Vc(a[c]);if(Array.isArray(d)){if(d.length===0)throw new Lc(900,
!1);for(var e=void 0,f=0,h=0;h<d.length;h++){var k=d[h],q=k.__NG_DI_FLAG__;typeof q==="number"?q===-1?e=k.token:f|=q:e=k}b.push(n(e,f))}else b.push(n(d))}return b},Zc=function(a,b){a.__NG_DI_FLAG__=b;a.prototype.__NG_DI_FLAG__=b;return a},cfa=function(a,b,c){for(var d=0;d<c.length;){var e=c[d];if(typeof e==="number"){if(e!==0)break;d++;e=c[d++];var f=c[d++],h=c[d++];a.setAttribute(b,f,h,e)}else f=c[++d],e.charCodeAt(0)===64?a.setProperty(b,e,f):a.setAttribute(b,e,f),d++}},$c=function(a,b){if(b!==
null&&b.length!==0)if(a===null||a.length===0)a=b.slice();else for(var c=-1,d=0;d<b.length;d++){var e=b[d];typeof e==="number"?c=e:c!==0&&(c===-1||c===2?dfa(a,c,e,b[++d]):dfa(a,c,e,null))}return a},dfa=function(a,b,c,d){var e=0,f=a.length;if(b===-1)f=-1;else for(;e<a.length;){var h=a[e++];if(typeof h==="number")if(h===b){f=-1;break}else if(h>b){f=e-1;break}}for(;e<a.length;){h=a[e];if(typeof h==="number")break;else if(h===c){d!==null&&(a[e+1]=d);return}e++;d!==null&&e++}f!==-1&&(a.splice(f,0,b),e=
f+1);a.splice(e++,0,c);d!==null&&a.splice(e++,0,d)},efa=function(a){return a.type===4&&a.value!=="ng-template"},ffa=function(a,b,c){var d=4,e=a.attrs,f;if(e!==null)a:{for(f=0;f<e.length;f++){var h=e[f];if(h===3||h===4||h===6)break a}f=e.length}else f=0;h=!1;for(var k=0;k<b.length;k++){var q=b[k];if(typeof q==="number"){if(!h&&(d&1)!==0&&(q&1)!==0)return!1;h&&(q&1)===0||(h=!1,d=q|d&1)}else if(!h)if(d&4){if(d=2|d&1,q!==""&&q!==(a.type!==4||c?a.value:"ng-template")||q===""&&b.length===1){if((d&1)===
0)return!1;h=!0}}else if(d&8){var t;if(!(t=e===null)){a:{t=void 0;var w=a,B=0;if(c)for(;B<e.length&&typeof e[B]==="string";B+=2){if(w=e[B]==="class"){b:{w=e[B+1].toLowerCase();for(var E=0,I=w.length;;){E=w.indexOf(q,E);if(E===-1){w=E;break b}if(E===0||w.charCodeAt(E-1)<=32){var J=q.length;if(E+J===I||w.charCodeAt(E+J)<=32){w=E;break b}}E+=1}w=void 0}w=w!==-1}if(w){q=!0;break a}}else if(efa(w)){q=!1;break a}B=e.indexOf(1,B);if(B>-1)for(;++B<e.length&&typeof(t=e[B])==="string";)if(t.toLowerCase()===
q){q=!0;break a}q=!1}t=!q}if(t){if((d&1)===0)return!1;h=!0}}else{t=b[++k];a:if(e===null)q=-1;else if(B=0,c||!efa(a)){for(w=!1;B<e.length;){I=e[B];if(I===q){q=B;break a}if(I===3||I===6)w=!0;else if(I===1||I===2){for(I=e[++B];typeof I==="string";)I=e[++B];continue}else if(I===4)break;else if(I===0){B+=4;continue}B+=w?1:2}q=-1}else b:{B=e.indexOf(4);if(B>-1)for(B++;B<e.length;){w=e[B];if(typeof w==="number")break;if(w===q){q=B;break b}B++}q=-1}if(q===-1){if((d&1)===0)return!1;h=!0}else if(t!==""&&(q=
q>f?"":e[q+1].toLowerCase(),d&2&&t!==q)){if((d&1)===0)return!1;h=!0}}}return(d&1)===0||h},gfa=function(a,b,c){c=c===void 0?!1:c;for(var d=0;d<b.length;d++)if(ffa(a,b[d],c))return!0;return!1},hfa=function(a){for(var b=a[0],c=1,d=2,e="",f=!1;c<a.length;){var h=a[c];if(typeof h==="string")if(d&2){var k=a[++c];e+="["+h+(k.length>0?'="'+k+'"':"")+"]"}else d&8?e+="."+h:d&4&&(e+=" "+h);else e!==""&&(h&1)!==0&&(b+=f?":not("+e.trim()+")":e,e=""),d=h,f=f||(d&1)!==0;c++}e!==""&&(b+=f?":not("+e.trim()+")":e);
return b},ad=function(a){return{toString:a}.toString()},p=function(a){return ad(function(){var b=ifa(a),c;b=Object.assign({},b,{decls:a.decls,vars:a.vars,template:a.template,consts:a.consts||null,ngContentSelectors:a.ngContentSelectors,onPush:a.changeDetection===0,directiveDefs:null,pipeDefs:null,dependencies:b.standalone&&a.dependencies||null,getStandaloneInjector:null,signals:(c=a.signals)!=null?c:!1,data:a.data||{},encapsulation:a.encapsulation||0,styles:a.styles||bd,_:null,schemas:a.schemas||
null,tView:null,id:""});jfa(b);c=a.dependencies;b.directiveDefs=kfa(c,!1);b.pipeDefs=kfa(c,!0);c=0;var d=[b.selectors,b.ngContentSelectors,b.hostVars,b.hostAttrs,b.consts,b.vars,b.decls,b.encapsulation,b.standalone,b.signals,b.exportAs,JSON.stringify(b.inputs),JSON.stringify(b.outputs),Object.getOwnPropertyNames(b.type.prototype),!!b.contentQueries,!!b.viewQuery].join("|");d=l(d);for(var e=d.next();!e.done;e=d.next())c=Math.imul(31,c)+e.value.charCodeAt(0)<<0;b.id="c"+(c+2147483648);return b})},mfa=
function(a){return a[cd]||a[lfa]||null},nfa=function(a){return a!==null},dd=function(a){return ad(function(){return{type:a.type,bootstrap:a.bootstrap||bd,declarations:a.declarations||bd,imports:a.imports||bd,exports:a.exports||bd,transitiveCompileScopes:null,schemas:a.schemas||null,id:a.id||null}})},ofa=function(a,b){if(a==null)return ed;var c={},d;for(d in a)if(a.hasOwnProperty(d)){var e=a[d],f=0;if(Array.isArray(e)){f=e[0];var h=e[1];var k=void 0;e=(k=e[2])!=null?k:h}else h=e;b?(c[h]=f!==0?[d,f]:
d,b[h]=e):c[h]=d}return c},fd=function(a){return ad(function(){var b=ifa(a);jfa(b);return b})},gd=function(a){return{type:a.type,name:a.name,factory:null,pure:a.pure!==!1,standalone:a.standalone===!0,onDestroy:a.type.prototype.ngOnDestroy||null}},qfa=function(a){return a[pfa]||null},ifa=function(a){var b={};return{type:a.type,providersResolver:null,factory:null,hostBindings:a.hostBindings||null,hostVars:a.hostVars||0,hostAttrs:a.hostAttrs||null,contentQueries:a.contentQueries||null,declaredInputs:b,
inputTransforms:null,inputConfig:a.inputs||ed,exportAs:a.exportAs||null,standalone:a.standalone===!0,signals:a.signals===!0,selectors:a.selectors||bd,viewQuery:a.viewQuery||null,features:a.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:ofa(a.inputs,b),outputs:ofa(a.outputs),debugInfo:null}},jfa=function(a){var b;(b=a.features)==null||b.forEach(function(c){return c(a)})},kfa=function(a,b){if(!a)return null;var c=b?qfa:mfa;return function(){return(typeof a==="function"?
a():a).map(function(d){return c(d)}).filter(nfa)}},hd=function(a){return a.hasOwnProperty(rfa)?a[rfa]:null},sfa=function(a,b){a.forEach(function(c){return Array.isArray(c)?sfa(c,b):b(c)})},tfa=function(a,b){return b>=a.length-1?a.pop():a.splice(b,1)[0]},jd=function(a,b,c){var d=id(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},ufa=function(a,b){b=id(a,b);if(b>=
0)return a[b|1]},id=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)},wfa=function(){return{"\u0275providers":vfa(!0,kd.apply(0,arguments)),"\u0275fromNgModule":!0}},vfa=function(a){var b=[],c=new Set,d,e=function(f){b.push(f)};sfa(kd.apply(1,arguments),function(f){xfa(f,e,[],c)&&(d||(d=[]),d.push(f))});d!==void 0&&yfa(d,e);return b},yfa=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;zfa(c.providers$jscomp$2,function(f){return function(h){b(h,f.ngModule)}}(c))}},xfa=function(a,b,c,d){a=Vc(a);if(!a)return!1;var e=null,f=Aea(a),h=!f&&(a[cd]||null);if(f||h){if(h&&!h.standalone)return!1;e=a}else{var k=a.ngModule;if(f=Aea(k))e=k;else return!1}k=d.has(e);if(h){if(k)return!1;d.add(e);if(h.dependencies)for(f=typeof h.dependencies==="function"?h.dependencies():h.dependencies,f=l(f),k=f.next();!k.done;k=f.next())xfa(k.value,
b,c,d)}else if(f){if(f.imports!=null&&!k){d.add(e);var q;sfa(f.imports,function(w){xfa(w,b,c,d)&&(q||(q=[]),q.push(w))});q!==void 0&&yfa(q,b)}k||(h=hd(e)||function(){return new e},b({provide:e,useFactory:h,deps:bd},e),b({provide:Afa,useValue:e,multi:!0},e),b({provide:Bfa,useValue:function(){return n(e)},multi:!0},e));f=f.providers;if(f!=null&&!k){var t=a;zfa(f,function(w){b(w,t)})}}else return!1;return e!==a&&a.providers!==void 0},zfa=function(a,b){a=l(a);for(var c=a.next();!c.done;c=a.next())(c=
c.value)&&c.\u0275providers&&(c=c.\u0275providers),Array.isArray(c)?zfa(c,b):b(c)},Dfa=function(a){return a!==null&&typeof a=="object"&&Cfa in a},ld=function(a){return typeof a==="function"},Gfa=function(){Efa===void 0&&(Efa=new Ffa);return Efa},Ifa=function(a){var b=wea(a);b=b!==null?b.factory:hd(a);if(b!==null)return b;if(a instanceof md)throw new Lc(204,!1);if(a instanceof Function)return Hfa(a);throw new Lc(204,!1);},Hfa=function(a){if(a.length>0)throw new Lc(204,!1);var b=xea(a);return b!==null?
function(){return b.factory(a)}:function(){return new a}},Lfa=function(a){if(Dfa(a))return nd(void 0,a.useValue);a=Jfa(a);return nd(a,Kfa)},Jfa=function(a){var b=void 0;if(ld(a))return b=Vc(a),hd(b)||Ifa(b);if(Dfa(a))b=function(){return Vc(a.useValue)};else if(a&&a.useFactory)b=function(){return a.useFactory.apply(a,r(bfa(a.deps||[])))};else if(a&&a.useExisting)b=function(){return n(Vc(a.useExisting))};else{var c=Vc(a&&(a.useClass||a.provide));if(a.deps)b=function(){return new (Function.prototype.bind.apply(c,
[null].concat(r(bfa(a.deps)))))};else return hd(c)||Ifa(c)}return b},nd=function(a,b,c){return{factory:a,value:b,multi:(c===void 0?0:c)?[]:void 0}},Mfa=function(a,b){a=l(a);for(var c=a.next();!c.done;c=a.next())c=c.value,Array.isArray(c)?Mfa(c,b):c&&c&&c.\u0275providers?Mfa(c.\u0275providers,b):b(c)},qd=function(a,b){a instanceof pd&&Nfa(a);a=Xc(a);var c=Tc();try{return b()}finally{Xc(a),Tc(c)}},Ofa=function(){if(Sc===void 0&&Wc==null)throw new Lc(-203,!1);},rd=function(a){return Array.isArray(a)&&
typeof a[1]==="object"},sd=function(a){return Array.isArray(a)&&a[1]===!0},td=function(){return Pfa},Pfa=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===ed)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:ed,current:null});
var h=f;f=h.current||(h.current={});h=h.previous;var k=h[d];f[d]=new Sfa(k&&k.currentValue,c,h===ed);b!==null?b.applyValueToInputSignal(b,c):a[e]=c},ud=function(a){for(;Array.isArray(a);)a=a[0];return a},vd=function(a,b){return ud(b[a.index])},wd=function(a,b){a=b[a];return rd(a)?a:a[0]},xd=function(a,b){return b===null||b===void 0?null:a[b]},yd=function(a){var b;return!!(a[2]&9216||((b=a[23])==null?0:b.dirty))},Ufa=function(a){var b;(b=a[10].changeDetectionScheduler)==null||b.notify(7);a[2]&64&&
(a[2]|=1024);yd(a)&&Tfa(a)},Tfa=function(a){var b;(b=a[10].changeDetectionScheduler)==null||b.notify(0);for(a=zd(a);a!==null&&!(a[2]&8192);){a[2]|=8192;if((a[2]&128)!==128)break;a=zd(a)}},Vfa=function(a,b){if((a[2]&256)===256)throw new Lc(911,!1);a[21]===null&&(a[21]=[]);a[21].push(b)},zd=function(a){a=a[3];return sd(a)?a[3]:a},u=function(){return Ad.lView},v=function(a){Ad.contextLView=a;return a[8]},x=function(a){Ad.contextLView=null;return a},Bd=function(){for(var a=Ad.currentTNode;a!==null&&a.type===
64;)a=a.parent;return a},Cd=function(a,b){var c=Ad;c.currentTNode=a;c.isParent=b},Dd=function(){var a=Ad,b=a.bindingRootIndex;b===-1&&(b=a.bindingRootIndex=a.tView.bindingStartIndex);return b},Ed=function(a){var b=Ad,c=b.bindingIndex;b.bindingIndex+=a;return c},Wfa=function(a){var b=Ad.currentDirectiveIndex;return b===-1?null:a[b]},Yfa=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=Ad=Xfa();c.currentTNode=b;c.lView=a;return!0},Zfa=function(a){var b=Xfa(),c=a[1];Ad=b;b.currentTNode=c.firstChild;b.lView=a;b.tView=c;b.contextLView=a;b.bindingIndex=c.bindingStartIndex;b.inI18n=!1},Xfa=function(){var a=Ad,b=a===null?null:a.child;return b===null?$fa(a):b},$fa=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},aga=function(){var a=Ad;Ad=a.parent;a.currentTNode=null;a.lView=null;return a},bga=function(){var a=aga();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},Fd=function(){var a=Ad;return a.tView.data[a.selectedIndex]},Gd=function(){Ad.currentNamespace="svg"},cga=function(a,
b){var c=b.directiveStart;for(b=b.directiveEnd;c<b;c++){var d=a.data[c].type.prototype,e=d.ngAfterContentInit,f=d.ngAfterContentChecked,h=d.ngAfterViewInit,k=d.ngAfterViewChecked;d=d.ngOnDestroy;if(e){var q=void 0,t=void 0;((t=(q=a).contentHooks)!=null?t:q.contentHooks=[]).push(-c,e)}f&&(q=e=void 0,((q=(e=a).contentHooks)!=null?q:e.contentHooks=[]).push(c,f),q=e=void 0,((q=(e=a).contentCheckHooks)!=null?q:e.contentCheckHooks=[]).push(c,f));h&&(e=f=void 0,((e=(f=a).viewHooks)!=null?e:f.viewHooks=[]).push(-c,
h));k&&(f=h=void 0,((f=(h=a).viewHooks)!=null?f:h.viewHooks=[]).push(c,k),f=h=void 0,((f=(h=a).viewCheckHooks)!=null?f:h.viewCheckHooks=[]).push(c,k));d!=null&&(h=k=void 0,((h=(k=a).destroyHooks)!=null?h:k.destroyHooks=[]).push(c,d))}},dga=function(a,b,c,d){(a[2]&3)===c&&Hd(a,b,c,d)},ega=function(a,b){var c=a[2];(c&3)===b&&(a[2]=(c&16383)+1)},Hd=function(a,b,c,d){for(var e=d!=null?d:-1,f=b.length-1,h=0,k=d!==void 0?a[17]&65535:0;k<f;k++)if(typeof b[k+1]==="number"){if(h=b[k],d!=null&&h>=d)break}else{b[k]<
0&&(a[17]+=65536);if(h<e||e==-1){var q=b[k]<0,t=b[k+1],w=a[q?-b[k]:b[k]];q?a[2]>>14<a[17]>>16&&(a[2]&3)===c&&(a[2]+=16384,fga(w,t)):fga(w,t);a[17]=(a[17]&4294901760)+k+2}k++}},fga=function(a,b){var c=Oc(null);try{b.call(a)}finally{Oc(c)}},gga=function(a,b){for(a>>=16;a>0;)b=b[14],a--;return b},iga=function(a){var b=hga;hga=a;return b},kga=function(a,b,c){var d;typeof c==="string"?d=c.charCodeAt(0)||0:c.hasOwnProperty(Id)&&(d=c[Id]);d==null&&(d=c[Id]=jga++);c=d&255;b.data[a+(c>>5)]|=1<<c},oga=function(a,
b){var c=lga(a,b);if(c!==-1)return c;c=b[1];c.firstCreatePass&&(a.injectorIndex=b.length,mga(c.data,a),mga(b,null),mga(c.blueprint,null));c=nga(a,b);a=a.injectorIndex;if(c!==-1)for(var d=c&32767,e=gga(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},mga=function(a,b){a.push(0,0,0,0,0,0,0,0,b)},lga=function(a,b){return a.injectorIndex===-1||a.parent&&a.parent.injectorIndex===a.injectorIndex||b[a.injectorIndex+8]===null?-1:a.injectorIndex},nga=function(a,b){if(a.parent&&a.parent.injectorIndex!==
-1)return a.parent.injectorIndex;a=0;for(var c=b;c!==null;){b=pga(c);if(b===null)break;a++;c=c[14];if(b.injectorIndex!==-1)return b.injectorIndex|a<<16}return-1},Jd=function(a){var b=Bd();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},qga=function(a,b,c,d){c&8&&d===void 0&&
(d=null);if((c&3)===0){a=a[9];var e=Tc();try{return a?a.get(b,d,c&8):Xea(b,d,c&8)}finally{Tc(e)}}c&8||d!==void 0?b=d:(Cea(),b=void 0);return b},sga=function(a,b,c,d,e){d=d===void 0?0:d;if(a!==null){if(b[2]&2048&&!(d&2)){a:{var f=d;for(var h=Kd,k=a,q=b;k!==null&&q!==null&&q[2]&2048&&!(q[2]&512);){var t=rga(k,q,c,f|2);if(t!==Kd){f=t;break a}k=k.parent;if(!k){if(k=q[20])if(k=k.get(c,Kd,f),k!==Kd){f=k;break a}k=pga(q);q=q[14]}}f=h}if(f!==Kd)return f}a=rga(a,b,c,d);if(a!==Kd)return a}return qga(b,c,d,
e)},rga=function(a,b,c,d){var e=Kd;if(typeof c==="string")var f=c.charCodeAt(0)||0;else f=c.hasOwnProperty(Id)?c[Id]:void 0,f=typeof f==="number"?f>=0?f&255:tga:f;if(typeof f==="function"){if(!Yfa(b,a,d))return d&1?d&8||e!==void 0?b=e:(Cea(),b=void 0):b=qga(b,c,d,e),b;try{var h=f(d);if(h!=null||d&8)return h;Cea()}finally{aga()}}else if(typeof f==="number"){h=null;var k=lga(a,b),q=d&1?b[15][5]:null;if(k===-1||d&4){var t=k===-1?nga(a,b):b[k+8];t===-1||d&2?k=-1:(h=b[1],k=t&32767,b=gga(t,b))}for(;k!==
-1;){a=b[1];if(a.data[k+(f>>5)]&1<<f){t=b[1];var w=t.data[k+8],B=uga(w,t,c,h==null?w.componentOffset>-1&&hga:h!=t&&(w.type&3)!==0,d&1&&q===w);t=B!==null?Ld(b,t,B,w):Kd;if(t!==Kd)return t}t=b[k+8];t!==-1&&!(d&2||d&1&&b[1].data[k+8]===q)&&b[k+(f>>5)]&1<<f?(h=a,k=t&32767,b=gga(t,b)):k=-1}}return e},uga=function(a,b,c,d,e){var f=a.providerIndexes,h=b.data,k=f&1048575;b=a.directiveStart;a=a.directiveEnd;var q=f>>20;f=e?k+q:a;for(d=d?k:k+q;d<f;d++)if(k=h[d],d<b&&c===k||d>=b&&k.type===c)return d;return e&&
(e=h[b])&&e.template&&e.type===c?b:null},Ld=function(a,b,c,d){var e=a[c],f=b.data;if(e instanceof Md){var h=e;if(h.resolving)throw a=f[c],new Lc(-200,typeof a==="function"?a.name||a.toString():typeof a==="object"&&a!=null&&typeof a.type==="function"?a.type.name||a.type.toString():Jc(a));var k=iga(h.canSeeViewProviders);h.resolving=!0;var q=h.injectImpl?Tc(h.injectImpl):null;Yfa(a,d,0);try{if(e=a[c]=h.factory(void 0,f,a,d),b.firstCreatePass&&c>=d.directiveStart){var t=f[c],w=t.type.prototype,B=w.ngOnInit,
E=w.ngDoCheck;if(w.ngOnChanges){var I=Pfa(t),J;((J=b.preOrderHooks)!=null?J:b.preOrderHooks=[]).push(c,I);var N;((N=b.preOrderCheckHooks)!=null?N:b.preOrderCheckHooks=[]).push(c,I)}if(B){var P;((P=b.preOrderHooks)!=null?P:b.preOrderHooks=[]).push(-c,B)}if(E){var U;((U=b.preOrderHooks)!=null?U:b.preOrderHooks=[]).push(c,E);var ba;((ba=b.preOrderCheckHooks)!=null?ba:b.preOrderCheckHooks=[]).push(c,E)}}}finally{q!==null&&Tc(q),iga(k),h.resolving=!1,aga()}}return e},tga=function(){return new Nd(Bd(),
u())},Od=function(a){return ad(function(){var b=a.prototype.constructor;b=b[rfa]||vga(b);for(var c=Object.prototype,d=Object.getPrototypeOf(a.prototype).constructor;d&&d!==c;){var e=d[rfa]||vga(d);if(e&&e!==b)return e;d=Object.getPrototypeOf(d)}return function(f){return new f}})},vga=function(a){return Yea(a)?function(){var b=vga(Vc(a));return b&&b()}:hd(a)},pga=function(a){var b=a[1],c=b.type;return c===2?b.declTNode:c===1?a[5]:null},wga=function(a){return function(){var b=kd.apply(0,arguments);
if(a){b=a.apply(null,r(b));for(var c in b)this[c]=b[c]}}},Pd=function(a){return ad(function(){function b(){function d(h,k,q){for(k=h.hasOwnProperty("__parameters__")?h.__parameters__:Object.defineProperty(h,"__parameters__",{value:[]}).__parameters__;k.length<=q;)k.push(null);(k[q]=k[q]||[]).push(f);return h}var e=kd.apply(0,arguments);if(this instanceof b)return c.apply(this,e),this;var f=new (Function.prototype.bind.apply(b,[null].concat(r(e))));d.annotation=f;return d}var c=wga(a);return b})},
zga=function(a,b,c,d){a=xga(a,b===void 0?null:b,c===void 0?null:c,d);yga(a);return a},xga=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)||bd,wfa(a)];d=d||(typeof a==="object"?void 0:Kc(a));return new pd(c,b||Gfa(),d||null,e)},Bga=function(){if(Aga!==void 0)return Aga;if(typeof document!=="undefined")return document;throw new Lc(210,!1);},Qd=function(a,b){rd(b)?(a.__ngContext__=b[19],Cga.set(b[19],b)):a.__ngContext__=b},Dga=function(a){for(;a!==null&&!sd(a);)a=
a[4];return a},Sd=function(a,b){return new Rd(vd(a,b))},Ega=function(a){return a instanceof Rd?a.nativeElement:a},Fga=function(){return new Td(u())},Ud=function(a){return a.ownerDocument.defaultView},Gga=function(a){return a.ownerDocument},Vd=function(a){if(!Hga.has(a)){Hga.add(a);var b,c;(b=performance)==null||(c=b.mark)==null||c.call(b,"mark_feature_usage",{detail:{feature:a}})}},Wd=function(){},Iga=function(a){setTimeout(function(){var b=Xd.onUnhandledError;if(b)b(a);else throw a;})},Yd=function(a){a=
a(function(b){b.name=b.constructor.name;b.stack=Error().stack});a.prototype=Object.create(Error.prototype);return a.prototype.constructor=a},Jga=function(a){return typeof a==="function"},Kga=function(a){return a instanceof Zd||a&&"closed"in a&&typeof a.remove==="function"&&typeof a.add==="function"&&typeof a.unsubscribe==="function"},Lga=function(a){typeof a==="function"?a():a.unsubscribe()},$d=function(a){return a},Mga=function(a){return a.length===0?$d:a.length===1?a[0]:function(b){return a.reduce(function(c,
d){return d(c)},b)}},Nga=function(a){return a&&typeof a.next==="function"&&typeof a.error==="function"&&typeof a.complete==="function"},Oga=function(a){var b;return(b=a!=null?a:Xd.Promise)!=null?b:Promise},Pga=function(a){return new ae(function(b){return a.schedule(function(){return b.complete()})})},Qga=function(a,b){return new ae(function(c){var d=new Zd,e=0;d.add(b.schedule(function(){e===a.length?c.complete():(c.next(a[e++]),c.closed||d.add(this.schedule()))}));return d})},Sga=function(a,b){return b?
Qga(a,b):new ae(Rga(a))},be=function(a){return a&&typeof a.schedule==="function"},Tga=function(){var a=kd.apply(0,arguments),b=a[a.length-1];return be(b)?(a.pop(),Qga(a,b)):Sga(a)},ce=function(a,b){if(Uga(a))return a.lift(b);throw new TypeError("wa");},Vga=function(a,b,c){if(Uga(a))return a.lift.call(b,c);throw new TypeError("wa");},Uga=function(a){return a&&typeof a.lift==="function"},Wga=function(a){return function(b){if(Uga(b))return b.lift(function(c){try{return a(c,this)}catch(d){this.error(d)}});
throw new TypeError("wa");}},ee=function(){return function(a){return ce(a,function(b){var c=this,d=null;b._refCount++;var e=new de(c,void 0,void 0,void 0,function(){if(!b||b._refCount<=0||0<--b._refCount)d=null;else{var h=b._connection,k=d;d=null;!h||k&&h!==k||h.unsubscribe();c.unsubscribe()}}),f=b.subscribe(e);e.closed||(d=b.connect());return f})}},y=function(a,b){return function(c){if(typeof a!=="function")throw new TypeError("xa");return ce(c,new Xga(a,b))}},Zga=function(a){return y(function(b){return Yga(b)?
a.apply(null,r(b)):a(b)})},$ga=function(a,b,c){if(b)if(be(b))c=b;else return function(){return $ga(a,c).apply(null,r(kd.apply(0,arguments))).pipe(Zga(b))};return function(){var d=kd.apply(0,arguments),e=this,f,h=!1,k=!1,q;return new ae(function(t){if(c){var w=function(N){h=!0;f=N.length<=1?N[0]:N;t.add(c.schedule(function(){t.next(f);t.add(c.schedule(function(){t.complete()}))}))},B=function(N){k=!0;q=N;t.add(c.schedule(function(){t.error(q)}))};return c.schedule(function(){if(h)w(f);else if(k)B(q);
else try{a.apply(e,[].concat(r(d),[function(){return w(kd.apply(0,arguments))}]))}catch(N){B(N)}})}var E=!1,I=!1;if(h)t.next(f),t.complete();else if(k)t.error(q);else{var J=function(){var N=kd.apply(0,arguments);h=!0;f=N.length<=1?N[0]:N;t.next(f);E?t.complete():I=!0};try{a.apply(e,[].concat(r(d),[J]))}catch(N){k=!0,q=N,t.error(N)}E=!0;I&&!k&&t.complete()}})}},aha=function(a,b,c){if(b)if(be(b))c=b;else return function(){return aha(a,c).apply(null,r(kd.apply(0,arguments))).pipe(Zga(b))};return function(){var d=
kd.apply(0,arguments),e=this,f,h=!1,k=!1,q;return new ae(function(t){if(c){var w=function(N){h=!0;f=N.length<=1?N[0]:N;t.add(c.schedule(function(){t.next(f);t.add(c.schedule(function(){t.complete()}))}))},B=function(N){k=!0;q=N;t.add(c.schedule(function(){t.error(q)}))};return c.schedule(function(){if(h)w(f);else if(k)B(q);else try{a.apply(e,[].concat(r(d),[function(){var N=kd.apply(0,arguments),P=N.shift();P!=null?B(P):w(N)}]))}catch(N){B(N)}})}var E=!1,I=!1;if(h)t.next(f),t.complete();else if(k)t.error(q);
else{var J=function(){var N=kd.apply(0,arguments),P=N.shift();P!=null?(k=!0,q=P,t.error(P)):(h=!0,f=N.length<=1?N[0]:N,t.next(f),E?t.complete():I=!0)};try{a.apply(e,[].concat(r(d),[J]))}catch(N){k=!0,q=N,t.error(N)}E=!0;I&&!k&&t.complete()}})}},bha=function(a){return!!a&&typeof a.subscribe!=="function"&&typeof a.then==="function"},dha=function(a){return function(b){cha(a,b).catch(function(c){return b.error(c)})}},cha=function(a,b){var c,d,e,f,h,k;return fe(function(q){switch(q.nextAddress){case 1:ge(q,
2,3);var t=a[Symbol.asyncIterator];f=t!==void 0?t.call(a):new eha(l(a));case 5:return he(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:ie(q);q.catchAddress_=0;q.finallyAddress_=9;if(!d||d.done||!(e=f.return)){q.jumpTo(9);break}return he(q,e.call(f),9);case 9:ie(q,0,0,1);if(c)throw c.error;je(q,10,1);break;case 10:je(q,4);break;case 2:k=ke(q);c={error:k};q.jumpTo(3);break;case 4:b.complete(),le(q)}})},me=function(a,b){if(!b.closed)return a instanceof
ae?a.subscribe(b):fha(a)(b)},kha=function(a){if(a.length===1){var b=a[0];if(gha(b))return{args:b,keys:null};if(b&&typeof b==="object"&&hha(b)===iha)return a=jha(b),{args:a.map(function(c){return b[c]}),keys:a}}return{args:a,keys:null}},lha=function(a,b){if(!a)throw Error("Aa");return new ae(function(c){var d=new Zd;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})},nha=function(a,b){if(!a)throw Error("Aa");return new ae(function(c){var d=new Zd,e;d.add(function(){e&&typeof e.return==="function"&&e.return()});d.add(b.schedule(function(){e=a[mha]();d.add(b.schedule(function(){if(!c.closed){try{var f=e.next();var h=f.value;var k=f.done}catch(q){c.error(q);return}k?c.complete():(c.next(h),this.schedule())}}))}));return d})},oha=function(a,b){return new ae(function(c){var d=new Zd;d.add(b.schedule(function(){var e=a[ne]();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})},pha=function(a,b){return new ae(function(c){var d=new Zd;d.add(b.schedule(function(){return a.then(function(e){d.add(b.schedule(function(){c.next(e);d.add(b.schedule(function(){return c.complete()}))}))},function(e){d.add(b.schedule(function(){return c.error(e)}))})}));return d})},rha=function(a,b){if(a!=null){if(a&&typeof a[ne]==="function")return oha(a,
b);if(bha(a))return pha(a,b);if(qha(a))return Qga(a,b);if(a&&typeof a[mha]==="function"||typeof a==="string")return nha(a,b);if(Symbol&&Symbol.asyncIterator&&typeof a[Symbol.asyncIterator]==="function")return lha(a,b)}throw new TypeError("Ba`"+(a!==null&&typeof a||a));},oe=function(a,b){return b?rha(a,b):a instanceof ae?a:new ae(fha(a))},pe=function(a,b){var c=c===void 0?Infinity:c;if(typeof b==="function")return function(d){return d.pipe(pe(function(e,f){return oe(a(e,f)).pipe(y(function(h,k){return b(e,
h,f,k)}))},c))};typeof b==="number"&&(c=b);return function(d){return ce(d,new sha(a,c))}},qe=function(a){a=a===void 0?Infinity:a;return pe($d,a)},re=function(){return qe(1)(Tga.apply(null,r(kd.apply(0,arguments))))},tha=function(a){return new ae(function(b){try{var c=a()}catch(d){b.error(d);return}return oe(c).subscribe(b)})},wha=function(a){return new ae(function(b){var c=new Zd,d=a||uha,e=d.now(),f=function(h){var k=d.now();b.next({timestamp:a?k:h,elapsed:k-e});b.closed||c.add(vha(f))};c.add(vha(f));
return c})},xha=function(a,b){return new ae(function(c){var d=a.length;if(d===0)c.complete();else for(var e=Array(d),f=0,h=0,k={i$jscomp$236:0};k.i$jscomp$236<d;k={hasValue:void 0,i$jscomp$236:k.i$jscomp$236},k.i$jscomp$236++){var q=oe(a[k.i$jscomp$236]);k.hasValue=!1;c.add(q.subscribe({next:function(t){return function(w){t.hasValue||(t.hasValue=!0,h++);e[t.i$jscomp$236]=w}}(k),error:function(t){return c.error(t)},complete:function(t){return function(){f++;f!==d&&t.hasValue||(h===d&&c.next(b?b.reduce(function(w,
B,E){return w[B]=e[E],w},{}):e),c.complete())}}(k)}))}})},yha=function(a,b,c,d){Jga(c)&&(d=c,c=void 0);return d?yha(a,b,c).pipe(Zga(d)):new ae(function(e){zha(a,b,function(f){arguments.length>1?e.next(Array.prototype.slice.call(arguments)):e.next(f)},e,c)})},zha=function(a,b,c,d,e){if(a&&typeof a.addEventListener==="function"&&typeof a.removeEventListener==="function"){a.addEventListener(b,c,e);var f=function(){return a.removeEventListener(b,c,e)}}else if(a&&typeof a.on==="function"&&typeof a.off===
"function")a.on(b,c),f=function(){return a.off(b,c)};else if(a&&typeof a.addListener==="function"&&typeof a.removeListener==="function")a.addListener(b,c),f=function(){return a.removeListener(b,c)};else if(a&&a.length)for(var h=0,k=a.length;h<k;h++)zha(a[h],b,c,d,e);else throw new TypeError("Ca");d.add(f)},Aha=function(a,b,c){return c?Aha(a,b).pipe(Zga(c)):new ae(function(d){var e=function(){var h=kd.apply(0,arguments);return d.next(h.length===1?h[0]:h)};try{var f=a(e)}catch(h){d.error(h);return}if(Jga(b))return function(){return b(e,
f)}})},Bha=function(a){var b=a.subscriber,c=a.condition;if(!b.closed){if(a.needIterate)try{a.state=a.iterate(a.state)}catch(f){b.error(f);return}else a.needIterate=!0;if(c){try{var d=c(a.state)}catch(f){b.error(f);return}if(!d){b.complete();return}if(b.closed)return}try{var e=a.resultSelector(a.state)}catch(f){b.error(f);return}if(!b.closed&&(b.next(e),!b.closed))return this.schedule(a)}},Cha=function(a){return!Array.isArray(a)&&a-parseFloat(a)+1>=0},Dha=function(a){var b=a.subscriber,c=a.counter;
a=a.period;b.next(c);this.schedule({subscriber:b,counter:c+1,period:a},a)},Fha=function(a){return a.length===1&&Eha(a[0])?a[0]:a},Gha=function(){var a=kd.apply(0,arguments);a=Fha(a);return function(b){return ce(b,function(c){var d=this,e=[c].concat(r(a)),f=function(){if(!d.closed)if(e.length>0){try{var h=oe(e.shift())}catch(q){f();return}var k=new se(d);d.add(h.subscribe(k));k.add(f)}else d.complete()};f();return d})}},Hha=function(a){var b=a.keys,c=a.index,d=a.subscriber,e=a.subscription;a=a.obj;
if(!d.closed)if(c<b.length){var f=b[c];d.next([f,a[f]]);e.add(this.schedule({keys:b,index:c+1,subscriber:d,subscription:e,obj:a}))}else d.complete()},te=function(a,b){return function(c){return ce(c,new Iha(a,b))}},Jha=function(a,b){function c(){return!c.pred.apply(c.thisArg,arguments)}c.pred=a;c.thisArg=b;return c},Kha=function(){var a=kd.apply(0,arguments);a=Fha(a);return a.length===1?oe(a[0]):ce(oe(a),function(b){return b.subscribe(new ue(this))})},Lha=function(a){var b=a.start,c=a.index,d=a.subscriber;
c>=a.count?d.complete():(d.next(b),d.closed||(a.index=c+1,a.start=b+1,this.schedule(a)))},Mha=function(a){return a instanceof Date&&!isNaN(a)},Oha=function(a,b,c){a=a===void 0?0:a;var d=-1;b!=null&&(be(b)?c=b:d=b);be(c)||(c=ve);return new ae(function(e){var f=Math.max(0,Mha(a)?+a-c.now():a);return c.schedule(Nha,f,{counter:0,period:d,subscriber:e})})},Nha=function(a){var b=a.period,c=a.subscriber,d=a.counter++;c.next(d);if(!c.closed){if(b<0)return c.complete();this.schedule(a,b)}},we=function(a){var b;
return function(c){var d=void 0,e=void 0,f=null,h;b=(h=b)!=null?h:ve;if(Mha(a))var k=a;else if(typeof a==="number")d=a;else{k=a.first;d=a.each;e=a.with;b=a.scheduler||ve;var q;f=(q=a.meta)!=null?q:null}var t;e=(t=e)!=null?t:Pha;if(k==null&&d==null)throw new TypeError("Ea");return ce(c,function(w){var B=this,E=new Zd,I,J=null,N=null,P=0,U=function(ba){E.add(J=b.schedule(function(){var ma={meta:f,lastValue:N,seen:P};try{var na=oe(e(ma))}catch(ya){B.error(ya);return}I.unsubscribe();E.add(na.subscribe(B))},
ba))};E.add(I=w.subscribe({next:function(ba){var ma;(ma=J)==null||ma.unsubscribe();J=null;P++;N=ba;d!=null&&d>0&&U(d);B.next(ba)},error:function(ba){return B.error(ba)},complete:function(){return B.complete()}}));w=k!=null?typeof k==="number"?k:+k-b.now():d;U(w);return E})}},Pha=function(a){throw new Qha(a);},Sha=function(a){return a in Rha?(delete Rha[a],!0):!1},Tha=function(a){return function(b){setTimeout(a,void 0,b)}},Uha=function(a){var b=!0;setTimeout(function(){b&&(b=!1,a())});typeof xe.requestAnimationFrame===
"function"&&xe.requestAnimationFrame(function(){b&&(b=!1,a())});return function(){b=!1}},Vha=function(a){var b=!0;queueMicrotask(function(){b&&a()});return function(){b=!1}},Wha=function(){},Xha=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}}},Zha=function(a){a.isCheckStableRunning||a.callbackScheduled||
(a.callbackScheduled=!0,Zone.root.run(function(){Uha(function(){a.callbackScheduled=!1;Yha(a);a.isCheckStableRunning=!0;Xha(a);a.isCheckStableRunning=!1})}),Yha(a))},bia=function(a){a._inner=a._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:function(b,c,d,e,f,h){if($ha(h,"__ignore_ng_zone__"))return b.invokeTask(d,e,f,h);try{return aia(a),b.invokeTask(d,e,f,h)}finally{(a.shouldCoalesceEventChangeDetection&&e.type==="eventTask"||a.shouldCoalesceRunChangeDetection)&&Zha(a),a._nesting--,
Xha(a)}},onInvoke:function(b,c,d,e,f,h,k){try{return aia(a),b.invoke(d,e,f,h,k)}finally{!a.shouldCoalesceRunChangeDetection||a.callbackScheduled||$ha(h,"__scheduler_tick__")||Zha(a),a._nesting--,Xha(a)}},onHasTask:function(b,c,d,e){b.hasTask(d,e);c===d&&(e.change=="microTask"?(a._hasPendingMicrotasks=e.microTask,Yha(a),Xha(a)):e.change=="macroTask"&&(a.hasPendingMacrotasks=e.macroTask))},onHandleError:function(b,c,d,e){b.handleError(d,e);a.runOutsideAngular(function(){return a.onError.emit(e)});return!1}})},
Yha=function(a){a.hasPendingMicrotasks=a._hasPendingMicrotasks||(a.shouldCoalesceEventChangeDetection||a.shouldCoalesceRunChangeDetection)&&a.callbackScheduled===!0?!0:!1},aia=function(a){a._nesting++;a.isStable&&(a.isStable=!1,a.onUnstable.emit(null))},$ha=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},cia=function(a,b){a=a===void 0?"zone.js":a;return a==="noop"?new ye:a==="zone.js"?new ze(b):a},fia=function(a,b){!b&&
Ofa();var c,d=(c=b==null?void 0:b.injector)!=null?c:Yc(Ae);if((d!=null?d:Yc(Ae)).get(Be)!=="browser")return dia;Vd("NgAfterRender");var e,f,h=(f=(e=d.get(Ce)).handler)!=null?f:e.handler=new De,k,q=(k=b==null?void 0:b.phase)!=null?k:2;b=function(){h.unregister(w);t()};var t=d.get(Ee).onDestroy(b),w=qd(d,function(){return new eia(q,a)});h.register(w);return{destroy:b}},Fe=function(a,b){!b&&Ofa();var c,d=(c=b==null?void 0:b.injector)!=null?c:Yc(Ae);if((d!=null?d:Yc(Ae)).get(Be)!=="browser")return dia;
Vd("NgAfterNextRender");var e,f,h=(f=(e=d.get(Ce)).handler)!=null?f:e.handler=new De,k,q=(k=b==null?void 0:b.phase)!=null?k:2,t=function(){h.unregister(B);w()},w=d.get(Ee).onDestroy(t),B=qd(d,function(){return new eia(q,function(){t();a()})});h.register(B);return{destroy:t}},hia=function(a,b){var c=gia?64:1088,d;for((d=a[10].changeDetectionScheduler)==null||d.notify(b);a;){a[2]|=c;b=zd(a);if((a[2]&512)!==0&&!b)break;a=b}},z=function(a){iia(Ad.tView,u(),Ad.selectedIndex+(a===void 0?1:a))},iia=function(a,
b,c){(b[2]&3)===3?(a=a.preOrderCheckHooks,a!==null&&Hd(b,a,3,c)):(a=a.preOrderHooks,a!==null&&dga(b,a,0,c));Ad.selectedIndex=c},A=function(a,b){b=b===void 0?0:b;var c=u();return c===null?n(a,b):sga(Bd(),c,Vc(a),b)},Ge=function(){throw Error("Fa");},jia=function(a,b,c,d,e,f){var h=Oc(null);try{var k=null;(e&1)!==0&&(k=b[d][Rc]);k!==null&&k.transformFn!==void 0&&(f=k.transformFn(f));(e&2)!==0&&(f=a.inputTransforms[d].call(b,f));a.setInput!==null?a.setInput(b,k,f,c,d):(a=k,a!==null?a.applyValueToInputSignal(a,
f):b[d]=f)}finally{Oc(h)}},mia=function(){return"".replace(kia,function(a){return a.replace(lia,"\u200b$1\u200b")})},He=function(a,b,c,d,e){if(d!=null){var f=!1;if(sd(d))var h=d;else rd(d)&&(f=!0,d=d[0]);d=ud(d);if(a===0&&c!==null)e==null?b.appendChild(c,d):b.insertBefore(c,d,e||null,!0);else if(a===1&&c!==null)b.insertBefore(c,d,e||null,!0);else if(a===2){var k=b.parentNode(d);k&&b.removeChild(k,d,f)}else a===3&&b.destroyNode(d);if(h!=null)for(d=h[7],f=ud(h),d!==f&&He(a,b,c,d,e),e=10;e<h.length;e++)f=
h[e],Ie(b,a,f[1].firstChild,f,c,d,!1)}},nia=function(a,b){var c;(c=b[10].changeDetectionScheduler)==null||c.notify(8);Ie(b[11],2,a.firstChild,b,null,null,!1)},oia=function(a,b){var c=a[9],d=b[3];rd(d)?a[2]|=2:b[15]!==d[3][15]&&(a[2]|=2);c===null?a[9]=[b]:c.push(b)},pia=function(a,b){a=a[9];b=a.indexOf(b);a.splice(b,1)},Je=function(a,b){if(!(a.length<=10)){var c=10+b,d=a[c];if(d){var e=d[16];e!==null&&e!==a&&pia(e,d);b>0&&(a[c-1][4]=d[4]);a=tfa(a,10+b);nia(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}},ria=function(a,b){if(!(b[2]&256)){var c=b[11];c.destroyNode&&Ie(c,3,a.firstChild,b,null,null,!1);if(a=b[12])for(;a;){c=null;if(rd(a))c=a[12];else{var d=a[10];d&&(c=d)}if(!c){for(;a&&!a[4]&&a!==b;)rd(a)&&qia(a[1],a),a=a[3];a===null&&(a=b);rd(a)&&qia(a[1],a);c=a&&a[4]}a=c}else qia(b[1],b)}},qia=function(a,b){if(!(b[2]&256)){var c=Oc(null);try{b[2]&=-129;b[2]|=256;b[23]&&Nea(b[23]);var d;if(a!=null&&(d=a.destroyHooks)!=null)for(var e=0;e<d.length;e+=
2){var f=b[d[e]];if(!(f instanceof Md)){var h=d[e+1];if(Array.isArray(h))for(var k=0;k<h.length;k+=2)h[k+1].call(f[h[k]]);else h.call(f)}}var q=a.cleanup,t=b[7];if(q!==null)for(d=0;d<q.length-1;d+=2)if(typeof q[d]==="string"){var w=q[d+3];if(w>=0)t[w]();else t[-w].unsubscribe();d+=2}else q[d].call(t[q[d+1]]);t!==null&&(b[7]=null);var B=b[21];if(B!==null)for(b[21]=null,q=0;q<B.length;q++)(0,B[q])();b[1].type===1&&b[11].destroy();var E=b[16];if(E!==null&&sd(b[3])){E!==b[3]&&pia(E,b);var I=b[18];I!==
null&&I.detachView(a)}Cga.delete(b[19])}finally{Oc(c)}}},sia=function(a,b,c){for(;b!==null&&b.type&40;)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:vd(b,c)},tia=function(a,b,c,d){a=sia(a,d.parent,b);var e=b[11];d=d.parent||b[5];b=d.type&40?vd(d,b):null;if(a!=null)if(Array.isArray(c))for(d=0;d<c.length;d++){var f=e,h=a,k=c[d];b!==null?f.insertBefore(h,k,b,!1):f.appendChild(h,k)}else b!==null?e.insertBefore(a,
c,b,!1):e.appendChild(a,c)},via=function(a,b){if(b!==null){var c=b.type;if(c&3)return vd(b,a);if(c&4)return uia(-1,a[b.index]);if(c&8){c=b.child;if(c!==null)return via(a,c);a=a[b.index];return sd(a)?uia(-1,a):ud(a)}if(c&32)return(void 0)(b,a)()||ud(a[b.index]);c=b!==null?a[15][5].projection[b.projection]:null;if(c!==null){if(Array.isArray(c))return c[0];a=zd(a[15]);return via(a,c)}return via(a,b.next)}return null},uia=function(a,b){a+=11;if(a<b.length){a=b[a];var c=a[1].firstChild;if(c!==null)return via(a,
c)}return b[7]},Ie=function(a,b,c,d,e,f,h){for(;c!=null;){var k=d[c.index],q=c.type;h&&b===0&&(k&&Qd(ud(k),d),c.flags|=2);if((c.flags&32)!==32)if(q&8)Ie(a,b,c.child,d,e,f,!1),He(b,a,e,k,f);else if(q&32){q=(void 0)(c,d);for(var t;t=q();)He(b,a,e,t,f);He(b,a,e,k,f)}else q&16?wia(a,b,d,c,e,f):He(b,a,e,k,f);c=h?c.projectionNext:c.next}},wia=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++)He(b,a,e,c[d],f);else h=h[3],(d.flags&128)===128&&(c.flags|=
128),Ie(a,b,c,h,e,f,!0)},xia=function(a,b,c){var d=c.mergedAttrs,e=c.classes;c=c.styles;d!==null&&cfa(a,b,d);e!==null&&(e===""?a.removeAttribute(b,"class"):a.setAttribute(b,"class",e));c!==null&&a.setAttribute(b,"style",c)},Le=function(a){return a instanceof Ke?a.changingThisBreaksApplicationSecurity:a},Me=function(a,b){a=a instanceof Ke&&a.getTypeName()||null;if(a!=null&&a!==b){if(a==="ResourceURL"&&b==="URL")return!0;throw Error("Ga`"+b+"`"+a);}return a===b},zia=function(){if(yia===void 0&&(yia=
null,xe.trustedTypes))try{yia=xe.trustedTypes.createPolicy("angular",{createHTML:function(a){return a},createScript:function(a){return a},createScriptURL:function(a){return a}})}catch(a){}return yia},Aia=function(a){var b;return((b=zia())==null?void 0:b.createHTML(a))||a},Cia=function(a){a=String(a);return a.match(Bia)?a:"unsafe:"+a},Ne=function(a){var b={};a=l(a.split(","));for(var c=a.next();!c.done;c=a.next())b[c.value]=!0;return b},Oe=function(){for(var a={},b=l(kd.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},Dia=function(a){a=a.nodeName;return typeof a==="string"?a:"FORM"},Gia=function(a){return a.replace(/&/g,"&amp;").replace(Eia,function(b){return"&#"+((b.charCodeAt(0)-55296)*1024+(b.charCodeAt(1)-56320)+65536)+";"}).replace(Fia,function(b){return"&#"+b.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")},Pia=function(a,b){var c=null;try{var d;if(!(d=Hia)){var e=new Iia(a);try{var f=!!(new window.DOMParser).parseFromString(Aia(""),
"text/html")}catch(ba){f=!1}d=f?new Jia(e):e}Hia=d;var h=b?String(b):"";c=Hia.getInertBodyElement(h);a=5;b=h;do{if(a===0)throw Error("Ia");a--;h=b;b=c.innerHTML;c=Hia.getInertBodyElement(h)}while(h!==b);var k=new Kia,q=(("content"in c&&c.nodeType===Node.ELEMENT_NODE&&c.nodeName==="TEMPLATE"?c.content:null)||c).firstChild;h=!0;for(a=[];q;){if(q.nodeType===Node.ELEMENT_NODE){b=k;d=q;var t=Dia(d).toLowerCase();if(Lia.hasOwnProperty(t)){b.buf.push("<");b.buf.push(t);var w=d.attributes;for(d=0;d<w.length;d++){var B=
w.item(d),E=B.name,I=E.toLowerCase();if(Mia.hasOwnProperty(I)){var J=B.value;Nia[I]&&(J=Cia(J));b.buf.push(" ",E,'="',Gia(J),'"')}}b.buf.push(">");h=!0}else h=!Oia.hasOwnProperty(t)}else q.nodeType===Node.TEXT_NODE&&k.buf.push(Gia(q.nodeValue));if(h&&q.firstChild){a.push(q);var N=q.firstChild;if(N&&(q.compareDocumentPosition(N)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY)throw Error("Ha`"+N.outerHTML);q=N}else for(;q;){q.nodeType===Node.ELEMENT_NODE&&k.endElement(q);
var P,U=q.nextSibling;if(U&&q!==U.previousSibling)throw Error("Ha`"+U.outerHTML);if(P=U){q=P;break}q=a.pop()}}return Aia(k.buf.join(""))}finally{if(c)for(c=("content"in c&&c.nodeType===Node.ELEMENT_NODE&&c.nodeName==="TEMPLATE"?c.content:null)||c;c.firstChild;)c.removeChild(c.firstChild)}},Ria=function(){if(Qia===void 0&&(Qia=null,xe.trustedTypes))try{Qia=xe.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:function(a){return a},createScript:function(a){return a},createScriptURL:function(a){return a}})}catch(a){}return Qia},
Sia=function(a){var b;return((b=Ria())==null?void 0:b.createHTML(a))||a},Tia=function(a){var b;return((b=Ria())==null?void 0:b.createScriptURL(a))||a},Pe=function(a){var b=Uia();return b?Sia(b.sanitize(1,a)||""):Me(a,"HTML")?Sia(Le(a)):Pia(Bga(),Jc(a))},Via=function(a){var b=Uia();return b?b.sanitize(2,a)||"":Me(a,"Style")?Le(a):Jc(a)},Qe=function(a){var b=Uia();return b?b.sanitize(4,a)||"":Me(a,"URL")?Le(a):Cia(Jc(a))},Wia=function(a){var b=Uia();if(b)return Tia(b.sanitize(5,a)||"");if(Me(a,"ResourceURL"))return Tia(Le(a));
throw new Lc(904,!1);},Uia=function(){var a=u();return a&&a[10].sanitizer},Yia=function(a,b,c,d,e,f,h,k,q,t,w){var B=b.blueprint.slice();B[0]=e;B[2]=d|204;if(t!==null||a&&a[2]&2048)B[2]|=2048;B[17]=0;B[3]=B[14]=a;B[8]=c;B[10]=h||a&&a[10];B[11]=k||a&&a[11];B[9]=q||a&&a[9]||null;B[5]=f;B[19]=Xia++;B[6]=w;B[20]=t;B[15]=b.type==2?a[15]:B;return B},Re=function(a,b,c,d,e){var f=a.data[b];if(f===null){f=Ad.currentTNode;var h=Ad.isParent,k=a.data,q=h?f:f&&f.parent,t=q?q.injectorIndex:-1,w=0;Zia!==null&&(w|=
128);b=k[b]={type:c,index:b,insertBeforeIndex:null,injectorIndex:t,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:w,providerIndexes:0,value:d,attrs:e,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:q,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,
styleBindings:0};a.firstChild===null&&(a.firstChild=b);f!==null&&(h?f.child==null&&b.parent!==null&&(f.child=b):f.next===null&&(f.next=b,b.prev=f));f=b;Ad.inI18n&&(f.flags|=32)}else f.type&64&&(f.type=c,f.value=d,f.attrs=e,a=Ad,b=a.currentTNode,a=a.isParent?b:b.parent,f.injectorIndex=a===null?-1:a.injectorIndex);Cd(f,!0);return f},$ia=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},aja=function(a,b,c,d,e){var f=Ad.selectedIndex;
try{Ad.selectedIndex=-1,d&2&&b.length>25&&iia(a,b,25),c(d,e)}finally{Ad.selectedIndex=f}},bja=function(a,b,c){if((b.flags&4)!==0){var d=Oc(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{Oc(d)}}},fja=function(a,b,c){var d=vd(c,b),e=c.directiveStart,f=c.directiveEnd;if(c.componentOffset>-1){var h=a.data[e+c.componentOffset],k=vd(c,b),q=cja(h),t=b[10].rendererFactory,w=16;h.signals?w=4096:h.onPush&&(w=64);h=dja(b,Yia(b,
q,null,w,k,c,null,t.createRenderer(k,h),null,null,null));b[c.index]=h}a.firstCreatePass||oga(c,b);Qd(d,b);d=c.initialInputs;for(h=e;h<f;h++){k=a.data[h];q=Ld(b,a,h,c);Qd(q,b);if(d!==null&&(t=d[h-e],t!==null))for(w=0;w<t.length;){var B=t[w++],E=t[w++],I=t[w++],J=t[w++];jia(k,q,B,E,I,J)}k.template&&(wd(c.index,b)[8]=Ld(b,a,h,c))}(c.flags&64)===64&&eja(a,b,c)},gja=function(a,b,c){c=c===void 0?vd: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}},cja=function(a){var b=a.tView;return b===null||b.incompleteFirstPass?a.tView=hja(1,null,a.template,a.decls,a.vars,a.directiveDefs,a.pipeDefs,a.viewQuery,a.schemas,a.consts,a.id):b},hja=function(a,b,c,d,e,f,h,k,q,t,w){d=25+d;e=d+e;for(var B=[],E=0;E<e;E++)B.push(E<d?null:Se);t=typeof t==="function"?t():t;return B[1]={type:a,blueprint:B,template:c,queries:null,viewQuery:k,declTNode:b,data:B.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:e,hostBindingOpCodes:null,firstCreatePass:!0,
firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof f==="function"?f():f,pipeRegistry:typeof h==="function"?h():h,firstChild:null,schemas:q,consts:t,incompleteFirstPass:!1,ssrId:w}},jja=function(a,b,c,d,e){for(var f in b)if(b.hasOwnProperty(f)){var h=b[f];if(h!==void 0){d!=null||
(d={});var k=0;if(Array.isArray(h)){var q=h[0];k=h[1]}else q=h;h=f;if(e!==null){if(!e.hasOwnProperty(f))continue;h=e[f]}a===0?ija(d,c,h,q,k):ija(d,c,h,q)}}return d},ija=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)},Te=function(a,b,c,d,e,f,h,k){var q=vd(b,c),t=b.inputs,w;!k&&t!=null&&(w=t[d])?(kja(a,c,w,d,e),b.componentOffset>-1&&(a=wd(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))},nja=function(a,b,c,d){var e=d===null?null:{"":-1};var f=a.directiveRegistry;var h=null,k=null;if(f)for(var q=0;q<f.length;q++){var t=f[q];if(gfa(c,t.selectors,!1))if(h||(h=[]),t.template)if(t.findHostDirectiveDefs!==null){var w=[];k=k||new Map;t.findHostDirectiveDefs(t,w,k);h.unshift.apply(h,[].concat(r(w),[t]));lja(a,c,w.length)}else h.unshift(t),lja(a,c,0);else{k=
k||new Map;var B=w=void 0;(B=(w=t).findHostDirectiveDefs)==null||B.call(w,t,h,k);h.push(t)}}f=h===null?null:[h,k];f===null?f=h=null:(h=l(f),f=h.next().value,h=h.next().value);f!==null&&mja(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 Lc(-301,!1);a.push(d[b],f)}c.mergedAttrs=$c(c.mergedAttrs,c.attrs)},mja=function(a,b,c,d,e,f){for(var h=0;h<d.length;h++){var k=oga(c,b);kga(k,a,d[h].type)}h=a.data.length;k=d.length;c.flags|=1;c.directiveStart=h;c.directiveEnd=
h+k;c.providerIndexes=h;for(h=0;h<d.length;h++)k=d[h],k.providersResolver&&k.providersResolver(k);var q=!1,t=!1;h=$ia(a,b,d.length,null);for(k=0;k<d.length;k++){var w=d[k];c.mergedAttrs=$c(c.mergedAttrs,w.hostAttrs);var B=a,E=c,I=b,J=h;B.data[J]=w;var N=w.factory||(w.factory=hd(w.type));N=new Md(N,!!w.template);B.blueprint[J]=N;I[J]=N;N=B;var P=E;B=$ia(B,I,w.hostVars,Se);if(I=w.hostBindings){E=N.hostBindingOpCodes;E===null&&(E=N.hostBindingOpCodes=[]);N=~P.index;a:{for(P=E.length;P>0;){var U=E[--P];
if(typeof U==="number"&&U<0){P=U;break a}}P=0}P!=N&&E.push(N);E.push(J,B,I)}J=h;N=w;if(B=e){if(N.exportAs)for(I=0;I<N.exportAs.length;I++)B[N.exportAs[I]]=J;N.template&&(B[""]=J)}w.contentQueries!==null&&(c.flags|=4);if(w.hostBindings!==null||w.hostAttrs!==null||w.hostVars!==0)c.flags|=64;w=w.type.prototype;!q&&(w.ngOnChanges||w.ngOnInit||w.ngDoCheck)&&(J=q=void 0,((J=(q=a).preOrderHooks)!=null?J:q.preOrderHooks=[]).push(c.index),q=!0);t||!w.ngOnChanges&&!w.ngDoCheck||(w=t=void 0,((w=(t=a).preOrderCheckHooks)!=
null?w:t.preOrderCheckHooks=[]).push(c.index),t=!0);h++}b=c.directiveEnd;a=a.data;d=c.attrs;e=[];k=h=null;for(q=c.directiveStart;q<b;q++){t=a[q];J=(w=f?f.get(t):null)?w.outputs:null;h=jja(0,t.inputs,q,h,w?w.inputs:null);k=jja(1,t.outputs,q,k,J);if(h===null||d===null||efa(c))t=null;else{t=h;w=q;J=null;for(N=0;N<d.length;)if(B=d[N],B===0)N+=4;else{if(B!==5){if(typeof B==="number")break;if(t.hasOwnProperty(B))for(J===null&&(J=[]),I=t[B],E=0;E<I.length;E+=3)if(I[E]===w){J.push(B,I[E+1],I[E+2],d[N+1]);
break}}N+=2}t=J}e.push(t)}h!==null&&(h.hasOwnProperty("class")&&(c.flags|=8),h.hasOwnProperty("style")&&(c.flags|=16));c.initialInputs=e;c.inputs=h;c.outputs=k},eja=function(a,b,c){var d=c.directiveStart,e=c.directiveEnd,f=c.index;c=Ad.currentDirectiveIndex;try{for(Ad.selectedIndex=f;d<e;d++){var h=a.data[d],k=b[d];Ad.currentDirectiveIndex=d;h.hostBindings===null&&h.hostVars===0&&h.hostAttrs===null||h.hostBindings===null||h.hostBindings(1,k)}}finally{Ad.selectedIndex=-1,Ad.currentDirectiveIndex=c}},
lja=function(a,b,c){b.componentOffset=c;var d;((d=a.components)!=null?d:a.components=[]).push(b.index)},oja=function(a,b,c,d,e,f){var h=vd(a,b);b=b[11];a=a.value;d==null?b.removeAttribute(h,c,f):(d=e==null?Jc(d):e(d,a||"",c),b.setAttribute(h,c,d,f))},pja=function(a,b){var c=a.contentQueries;if(c!==null){var d=Oc(null);try{for(var e=0;e<c.length;e+=2){var f=c[e],h=c[e+1];if(h!==-1){var k=a.data[h];Ad.currentQueryIndex=f;k.contentQueries(2,b[h],h)}}}finally{Oc(d)}}},dja=function(a,b){a[12]?a[13][4]=
b:a[12]=b;return a[13]=b},qja=function(a,b,c){Ad.currentQueryIndex=0;var d=Oc(null);try{b(a,c)}finally{Oc(d)}},rja=function(a){var b;return(b=a[7])!=null?b:a[7]=[]},sja=function(a){var b;return(b=a.cleanup)!=null?b:a.cleanup=[]},tja=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]},uja=function(a,b){(a=(a=a[9])?a.get(Ue,null):null)&&a.handleError(b)},kja=function(a,b,c,d,e){for(var f=0;f<c.length;){var h=
c[f++],k=c[f++],q=c[f++];jia(a.data[h],b[h],d,k,q,e)}},vja=function(a,b){var c=ud(a[Ad.selectedIndex]);a[11].setValue(c,b)},xja=function(a,b,c){Zfa(b);try{var d=a.viewQuery;d!==null&&qja(1,d,c);var e=a.template;e!==null&&aja(a,b,e,1,c);a.firstCreatePass&&(a.firstCreatePass=!1);var f;(f=b[18])!=null&&wja(f,a);a.staticContentQueries&&pja(a,b);a.staticViewQueries&&qja(2,a.viewQuery,c);var h=a.components;if(h!==null)for(c=0;c<h.length;c++){var k=wd(h[c],b),q=k[1];d=q;e=k;for(var t=e.length;t<d.blueprint.length;t++)e.push(d.blueprint[t]);
k[0]!==null&&k[6]===null&&(k[6]=null);xja(q,k,k[8])}}catch(w){throw a.firstCreatePass&&(a.incompleteFirstPass=!0,a.firstCreatePass=!1),w;}finally{b[2]&=-5,bga()}},yja=function(a,b,c){var d=c?a.styles:null,e=c?a.classes:null,f=0;if(b!==null)for(var h=0;h<b.length;h++){var k=b[h];if(typeof k==="number")f=k;else if(f==1)e=Bea(e,k);else if(f==2){var q=b[++h];d=Bea(d,k+": "+q+";")}}c?a.styles=d:a.stylesWithoutHost=d;c?a.classes=e:a.classesWithoutHost=e},zja=function(a,b,c,d,e){for(e=e===void 0?!1:e;c!==
null;){var f=b[c.index];f!==null&&d.push(ud(f));if(sd(f)){for(var h=d,k=10;k<f.length;k++){var q=f[k],t=q[1].firstChild;t!==null&&zja(q[1],q,t,h)}f[7]!==f[0]&&h.push(f[7])}f=c.type;if(f&8)zja(a,b,c.child,d);else if(f&32)for(f=(void 0)(c,b);h=f();)d.push(h);else f&16&&(f=c!==null?b[15][5].projection[c.projection]:null,Array.isArray(f)?d.push.apply(d,r(f)):(h=zd(b[15]),zja(h[1],h,f,d,!0)));c=e?c.projectionNext:c.next}return d},Bja=function(a,b,c){b=b===void 0?!0:b;c=c===void 0?0:c;var d=a[10],e=d.rendererFactory,
f;(f=e.begin)==null||f.call(e);try{f=c;c=gia;try{for(gia=!0,Aja(a,f),f=0;yd(a);){if(f===100)throw new Lc(103,!1);f++;Aja(a,1)}}finally{gia=c}}catch(q){throw b&&uja(a,q),q;}finally{var h;(h=e.end)==null||h.call(e);var k;(k=d.inlineEffectRunner)==null||k.flush()}},Cja=function(a,b){for(a=Dga(a[12]);a!==null;a=Dga(a[4]))for(var c=10;c<a.length;c++){var d=a[c];(d[2]&128)===128&&Aja(d,b)}},Aja=function(a,b){var c=a[1],d=a[2],e=a[23],f=!!(b===0&&d&16);f||(f=!!(d&64&&b===0));f||(f=!!(d&1024));f||(f=!!((e==
null?0:e.dirty)&&Mea(e)));f||(f=!1);e&&(e.dirty=!1);a[2]&=-9217;if(f){if(e=c.template,b=a[8],f=a[2],(f&256)!==256){var h;(h=a[10].inlineEffectRunner)!=null&&h.flush();Zfa(a);d=h=null;if(c.type!==2){if((h=a[23])!=null)var k=h;else h=(k=Dja.pop())!=null?k:Object.create(Eja),h.lView=a,k=h;d=k;h=Hea(d)}try{a[17]=0;Ad.bindingIndex=c.bindingStartIndex;e!==null&&aja(c,a,e,2,b);if(k=(f&3)===3){var q=c.preOrderCheckHooks;q!==null&&Hd(a,q,3,null)}else{var t=c.preOrderHooks;t!==null&&dga(a,t,0,null);ega(a,0)}for(var w=
Dga(a[12]);w!==null;w=Dga(w[4]))if(w[2]&2){var B=w[9];for(q=0;q<B.length;q++){var E=B[q];E[2]&1024||(E[2]|=1024,(E[2]&128)===128&&Tfa(E))}}Cja(a,0);c.contentQueries!==null&&pja(c,a);if(k){var I=c.contentCheckHooks;I!==null&&Hd(a,I,3)}else{var J=c.contentHooks;J!==null&&dga(a,J,1);ega(a,1)}var N=c.hostBindingOpCodes;if(N!==null)try{for(w=0;w<N.length;w++){var P=N[w];if(P<0)Ad.selectedIndex=~P;else{B=P;var U=N[++w],ba=N[++w];E=Ad;E.bindingIndex=E.bindingRootIndex=U;Ad.currentDirectiveIndex=B;ba(2,a[B])}}}finally{Ad.selectedIndex=
-1}var ma=c.components;ma!==null&&Fja(a,ma,0);var na=c.viewQuery;na!==null&&qja(2,na,b);if(k){var ya=c.viewCheckHooks;ya!==null&&Hd(a,ya,3)}else{var Pa=c.viewHooks;Pa!==null&&dga(a,Pa,2);ega(a,2)}c.firstUpdatePass===!0&&(c.firstUpdatePass=!1);if(a[22]){for(var ia=l(a[22]),qa=ia.next();!qa.done;qa=ia.next()){var ua=qa.value;ua()}a[22]=null}a[2]&=-73}catch(Oa){throw Tfa(a),Oa;}finally{d!==null&&(Jea(d,h),a=d,a.lView[23]!==a&&(a.lView=null,Dja.push(a))),bga()}}}else d&8192&&(Cja(a,1),c=c.components,
c!==null&&Fja(a,c,1))},Fja=function(a,b,c){for(var d=0;d<b.length;d++){var e=c,f=wd(b[d],a);(f[2]&128)===128&&Aja(f,e)}},Gja=function(a){var b=[],c;for(c in a)if(a.hasOwnProperty(c)){var d=a[c];d!==void 0&&b.push({propName:Array.isArray(d)?d[0]:d,templateName:c})}return b},Hja=function(){cga(u()[1],Bd())},Ija=function(a,b,c){return new Ve(a,b,c)},Kja=function(a,b,c){return(new Jja({providers:a,parent:b,debugName:c===void 0?null:c,runEnvironmentInitializers:!0})).injector},We=function(a){return!!a&&
typeof a.then==="function"},Lja=function(a){return!!a&&typeof a.subscribe==="function"},Mja=function(a){return typeof a==="function"&&a[Rc]!==void 0},Oja=function(a){return function(b){return ce(b,new Nja(a))}},Xe=function(a,b){b=b===void 0?ve:b;return Oja(function(){return Oha(a,b)})},Pja=function(a){return Wga(function(b,c){var d=[];b.subscribe(new de(c,function(e){return d.push(e)},void 0,function(){c.next(d);c.complete()}));a.subscribe(new de(c,function(){var e=d;d=[];c.next(e)},void 0,Wd));return function(){d=
null}})},$e=function(a){return function(b){return ce(b,function(c){var d=this,e=new Zd,f=null,h=!1,k;f=c.subscribe(new Ze(d,function(q){try{k=oe(a(q,$e(a)(c)))}catch(t){d.error(t)}k&&(f?(f.unsubscribe(),f=null,e.add(k.subscribe(d))):h=!0)}));h?(f.unsubscribe(),f=null,e.add(k.subscribe(d))):e.add(f);return e})}},Rja=function(){var a=kd.apply(0,arguments),b=void 0;typeof a[a.length-1]==="function"&&(b=a.pop());return function(c){return Vga(c,oe([c].concat(r(Fha(a)))),new Qja(b,null))}},af=function(){return Rja.apply(null,
r(kd.apply(0,arguments)))},Sja=function(){var a=kd.apply(0,arguments);return function(b){return Vga(b,re.apply(null,[b].concat(r(a))))}},Tja=function(){var a=kd.apply(0,arguments);return function(b){return Vga(b,re.apply(null,[b].concat(r(a))))}},Vja=function(a){return function(b){return ce(b,new Uja(a))}},bf=function(a,b){b=b===void 0?ve:b;return function(c){return ce(c,new Wja(a,b))}},Yja=function(a){Xja(a)},$ja=function(a){a=a===void 0?null:a;return function(b){return ce(b,new Zja(a))}},cf=function(a,
b){b=b===void 0?ve:b;var c=Mha(a)?+a-b.now():Math.abs(a);return function(d){return ce(d,new aka(c,b))}},df=function(a){return function(b){return ce(b,new bka(a))}},ef=function(){if(isNaN(1))throw new TypeError("Ka");return function(a){return ce(a,new cka)}},fka=function(a){a=a===void 0?dka:a;return function(b){return ce(b,new eka(a))}},dka=function(){return new ff},gf=function(a){return function(b){return ce(b,new gka(a))}},hf=function(a,b){var c=arguments.length>=2;return function(d){return d.pipe(a?
te(function(e,f){return a(e,f,d)}):$d,ef(),c?$ja(b):fka(function(){return new ff}))}},ika=function(){return function(a){return ce(a,new hka)}},kka=function(){if(isNaN(1))throw new TypeError("Ka");return function(a){return ce(a,new jka)}},lka=function(a,b){var c=arguments.length>=2;return function(d){return d.pipe(a?te(function(e,f){return a(e,f,d)}):$d,kka(),c?$ja(b):fka(function(){return new ff}))}},jf=function(a){return function(b){return ce(b,new mka(a))}},oka=function(a,b){var c=!1;arguments.length>=
2&&(c=!0);return function(d){return ce(d,new nka(a,b,c))}},qka=function(a){return function(b){var c=typeof a==="function"?a:function(){return a};var d=Object.create(b,pka);d.source=b;d.subjectFactory=c;return d}},rka=function(){var a=new kf(1,void 0,void 0);return function(b){return qka(function(){return a})(b)}},ska=function(){var a=kd.apply(0,arguments);return function(b){return a.length===0?b:Vga(b,Kha.apply(null,[b].concat(r(a))))}},tka=function(){return new lf},uka=function(){return function(a){return ee()(qka(tka)(a))}},
mf=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 ce(c,vka(b))}},vka=function(a){var b=a.bufferSize===void 0?Infinity:a.bufferSize;var c=a.windowTime===void 0?Infinity:a.windowTime;var d=a.refCount;var e=a.scheduler;var f,h=0,k;return function(q){h++;if(f)var t=f.subscribe(this);else f=new kf(b,c,e),t=f.subscribe(this),k=q.subscribe({next:function(w){f.next(w)},error:function(w){var B=f;f=k=void 0;B.error(w)},
complete:function(){k=void 0;f.complete()}}),k.closed&&(k=void 0);this.add(function(){h--;t.unsubscribe();d&&h===0&&k&&(k.unsubscribe(),f=k=void 0)})}},nf=function(a){return function(b){return ce(b,new wka(a))}},of=function(){var a=kd.apply(0,arguments),b=a[a.length-1];return be(b)?(a.pop(),function(c){return re(a,c,b)}):function(c){return re(a,c)}},pf=function(a){return function(b){return ce(b,new xka(a))}},yka=function(a){return pf(function(){return a})},qf=function(a){return function(b){return ce(b,
function(c){var d=this;oe(a).subscribe(new de(d,function(){return d.complete()},void 0,Wd));!d.closed&&c.subscribe(d)})}},Aka=function(a){var b=b===void 0?!1:b;return function(c){return ce(c,new zka(a,b))}},sf=function(a,b){return function(c){return ce(c,function(d){var e=this;var f=function(t){return function(w){try{t(w)}catch(B){e.error(B)}}};if(a&&typeof a!=="function"){var h=a.next;var k=a.error;var q=a.complete;h=h?f(h.bind(a)):Wd;k=k?f(k.bind(a)):Wd;f=q?f(q.bind(a)):Wd}else h=a?f(a.bind(e)):
Wd,k=b?f(b):Wd,f=Wd;return d.subscribe(new rf(this,h,k,f))})}},Dka=function(a){var b=b===void 0?Bka:b;return function(c){return ce(c,new Cka(a,!!b.leading,!!b.trailing))}},tf=function(){var a=kd.apply(0,arguments);return function(b){var c;typeof a[a.length-1]==="function"&&(c=a.pop());return ce(b,new Eka(a,c))}},Fka=function(){Sea=function(){throw new Lc(600,!1);}},Gka=function(a,b,c){try{var d=c();return We(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;}},Hka=function(a,b){return Array.isArray(b)?b.reduce(Hka,a):Object.assign({},a,b)},Ika=function(a,b){b=a.indexOf(b);b>-1&&a.splice(b,1)},Jka=function(a,b,c,d){(c||yd(a))&&Bja(a,b,c&&!d?0:1)},Kka=function(a,b,c,d){var e=Oc(null);try{var f=b.tView,h,k,q,t=Yia(a,f,c,a[2]&4096?4096:16,null,b,null,null,(h=d==null?void 0:d.injector)!=null?h:null,(k=d==null?void 0:d.embeddedViewInjector)!=null?k:null,(q=d==null?void 0:d.dehydratedView)!=
null?q:null);t[16]=a[b.index];var w=a[18];w!==null&&(t[18]=w.createEmbeddedView(f));xja(f,t,c);return t}finally{Oc(e)}},Lka=function(a,b){b=10+b;if(b<a.length)return a[b]},Mka=function(a,b){return!b||b.firstChild===null||(a.flags&128)===128},Nka=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&&oia(f,b);f=b[18];f!==null&&wja(f,e);Ufa(b);b[2]|=128;
d&&(c=uia(c,a),d=b[11],f=d.parentNode(a[7]),f!==null&&(a=a[5],b[0]=f,b[5]=a,Ie(d,1,e.firstChild,b,f,c,!1)));b=b[6];b!==null&&b.firstChild!==null&&(b.firstChild=null)},Pka=function(){return Oka(Bd(),u())},Qka=function(a){return a[8]||(a[8]=[])},Oka=function(a,b){var c=b[a.index];if(sd(c))var d=c;else d=[c,!0,0,b,null,a,null,null,null,null],b[a.index]=d,dja(b,d);Rka(d,b,a,c);return new uf(d,a,b)},Ska=function(a,b,c,d){if(!a[7]){if(c.type&8)d=ud(d);else{d=b[11];var e=d.createComment("");c=vd(c,b);b=
d.parentNode(c);c=d.nextSibling(c);d.insertBefore(b,e,c,!1);d=e}a[7]=d}},Uka=function(a){return Tka(a)?Array.isArray(a)||!(a instanceof Map)&&Symbol.iterator in a:!1},Vka=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)},Tka=function(a){return a!==null&&(typeof a==="function"||typeof a==="object")},vf=function(a,b,c){return a[b]=c},wf=function(a,b,c){if(Object.is(a[b],c))return!1;a[b]=c;return!0},xf=function(a,b,c,
d){c=wf(a,b,c);return wf(a,b+1,d)||c},Xka=function(a,b,c,d,e,f,h,k,q,t){var w=c+25;if(b.firstCreatePass){var B=b.consts;h=Re(b,w,4,h||null,k||null);nja(b,a,h,xd(B,q));cga(b,h);d=h.tView=hja(2,h,d,e,f,b.directiveRegistry,b.pipeRegistry,null,b.schemas,B,null);b.queries!==null&&(b.queries.template(b,h),d.queries=b.queries.embeddedTView(h));d=h}else d=b.data[w];Cd(d,!1);c=Wka(b,a,d,c);yf&&tia(b,a,c,d);Qd(c,a);c=[c,!0,0,a,null,d,null,c,null,null];a[w]=c;dja(a,c);(d.flags&1)===1&&fja(b,a,d);q!=null&&gja(a,
d,t)},C=function(a,b,c,d,e,f,h,k){var q=u(),t=Ad.tView;f=xd(t.consts,f);Xka(q,t,a,b,c,d,e,f,h,k);return C},Yka=function(a,b){yf=!0;return b[11].createComment("")},zf=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 Lc(903,!1);e=b.\u0275dir}if(e){if(c){d.push(e);var f=a;f.inputs=Zka(a.inputs);f.inputTransforms=Zka(a.inputTransforms);f.declaredInputs=Zka(a.declaredInputs);f.outputs=Zka(a.outputs);
(f=e.hostBindings)&&$ka(a,f);f=e.viewQuery;var h=e.contentQueries;f&&ala(a,f);h&&bla(a,h);f=void 0;h=a;var k=e;for(f in k.inputs)if(k.inputs.hasOwnProperty(f)&&!h.inputs.hasOwnProperty(f)){var q=k.inputs[f];if(q!==void 0&&(h.inputs[f]=q,h.declaredInputs[f]=k.declaredInputs[f],k.inputTransforms!==null&&(q=Array.isArray(q)?q[0]:q,k.inputTransforms.hasOwnProperty(q)))){var t=void 0;(t=h).inputTransforms!=null||(t.inputTransforms={});h.inputTransforms[q]=k.inputTransforms[q]}}f=void 0;h=a.outputs;k=e.outputs;
for(f in k)k.hasOwnProperty(f)&&!h.hasOwnProperty(f)&&(h[f]=k[f]);e.template&&e.data.animation&&(f=a.data,f.animation=(f.animation||[]).concat(e.data.animation))}if(e=e.features)for(f=0;f<e.length;f++)(h=e[f])&&h.ngInherit&&h(a),h===zf&&(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=$c(e.hostAttrs,b=$c(b,e.hostAttrs))},Zka=function(a){return a===ed?{}:a===bd?[]:a},ala=function(a,b){var c=a.viewQuery;a.viewQuery=c?function(d,e){b(d,
e);c(d,e)}:b},bla=function(a,b){var c=a.contentQueries;a.contentQueries=c?function(d,e,f){b(d,e,f);c(d,e,f)}:b},$ka=function(a,b){var c=a.hostBindings;a.hostBindings=c?function(d,e){b(d,e);c(d,e)}:b},cla=function(a,b,c){if(a.hostDirectives!==null){a=l(a.hostDirectives);for(var d=a.next();!d.done;d=a.next()){d=d.value;var e=d.directive[lfa]||null,f=void 0,h=e.declaredInputs,k=d.inputs;for(f in k)k.hasOwnProperty(f)&&(h[k[f]]=h[f]);cla(e,b,c);c.set(e,d);b.push(e)}}},dla=function(a){if(a===void 0||a.length===
0)return ed;for(var b={},c=0;c<a.length;c+=2)b[a[c]]=a[c+1];return b},Af=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},Bf=function(a,b,c,d){var e=u(),f=Ad.bindingIndex++;wf(e,f,b)&&(f=Fd(),oja(f,e,a,b,c,d));return Bf},Cf=function(a,b,c,d){return wf(a,Ad.bindingIndex++,c)?b+Jc(c)+d:Se},ela=function(a,b,c,d,e,f){a=xf(a,Ad.bindingIndex,c,e);Ed(2);return a?b+Jc(c)+d+Jc(e)+f:Se},Df=function(a,b,c,d,e,f){var h=
u();b=Cf(h,b,c,d);b!==Se&&(c=Fd(),oja(c,h,a,b,e,f));return Df},Ef=function(a,b,c,d,e,f,h,k){var q=u();b=ela(q,b,c,d,e,f);b!==Se&&(c=Fd(),oja(c,q,a,b,h,k));return Ef},fla=function(a,b,c,d,e,f,h,k,q,t){var w=u();var B=Ad.bindingIndex;var E=xf(w,B,c,e);B=wf(w,B+2,h)||E;Ed(3);b=B?b+Jc(c)+d+Jc(e)+f+Jc(h)+k:Se;b!==Se&&(c=Fd(),oja(c,w,a,b,q,t));return fla},D=function(a,b,c){var d=u(),e=Ad.bindingIndex++;if(wf(d,e,b)){e=Ad.tView;var f=Fd();Te(e,f,d,a,b,d[11],c,!1)}return D},gla=function(a,b,c,d,e){e=e?"class":
"style";kja(a,c,b.inputs[e],e,d)},hla=function(a,b,c,d){for(var e=a[c+1],f=b===null,h=d?e>>17&32767:(e&131068)>>2,k=!1;h!==0&&(k===!1||f);){var q=a[h+1],t=a[h],w=b;if(t===null||w==null||(Array.isArray(t)?t[1]:t)===w||Array.isArray(t)&&typeof w==="string"&&id(t,w)>=0)k=!0,a[h+1]=d?q|1:q|2;h=d?q>>17&32767:(q&131068)>>2}k&&(a[c+1]=d?e|2:e|1)},ila=function(a,b){var c=Ff;if(c===b)return-1;for(b=Gf=b;b<c&&a.charCodeAt(b)>32;)b++;b=Hf=b;return If(a,b,c)},nla=function(a,b){var c=Ff;b=Gf=If(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=Hf=b;b=jla(a,b,c);d=b=kla=If(a,b,c);for(var e=b=-1,f=-1,h=d,k=h;h<c;){var q=a.charCodeAt(h++);if(q===59)break;else q===34||q===39?k=h=lla(a,q,h,c):d===h-4&&f===85&&e===82&&b===76&&q===40?k=h=lla(a,41,h,c):q>32&&(k=h);f=e;e=b;b=q&-33}b=mla=k;return jla(a,b,c)},If=function(a,b,c){for(;b<c&&a.charCodeAt(b)<=32;)b++;return b},jla=function(a,b,c){b=If(a,b,c);b<c&&b++;return b},lla=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();},Jf=function(a,b,c){ola(a,b,c,!1);return Jf},Kf=function(a,b){ola(a,b,null,!0);return Kf},qla=function(a,b){var c;mla=kla=Hf=Gf=0;Ff=b.length;for(c=nla(b,If(b,0,Ff));c>=0;c=nla(b,c))pla(a,b.substring(Gf,Hf),b.substring(kla,mla))},Lf=function(a){rla(sla,tla,a,!0)},tla=function(a,b){var c;mla=kla=Hf=Gf=0;Ff=b.length;for(c=ila(b,If(b,0,Ff));c>=0;c=ila(b,c))jd(a,b.substring(Gf,Hf),!0)},ola=function(a,
b,c,d){var e=u(),f=Ad.tView,h=Ed(2);f.firstUpdatePass&&ula(f,a,h,d);if(b!==Se&&wf(e,h,b)){var k=f.data[Ad.selectedIndex],q=e[11];b!=null&&b!==""&&(typeof c==="string"?b+=c:typeof b==="object"&&(b=Kc(Le(b))));vla(f,k,e,q,a,e[h+1]=b,d,h)}},rla=function(a,b,c,d){var e=Ad.tView,f=Ed(2);e.firstUpdatePass&&ula(e,null,f,d);var h=u();if(c!==Se&&wf(h,f,c)){var k=e.data[Ad.selectedIndex];if((k.flags&(d?8:16))===0||f>=e.expandoStartIndex){var q=h[11],t=h[f+1];if(c==null||c==="")a=bd;else{var w=[];c=Le(c);if(Array.isArray(c))for(b=
0;b<c.length;b++)a(w,c[b],!0);else if(typeof c==="object")for(var B in c)c.hasOwnProperty(B)&&a(w,B,c[B]);else typeof c==="string"&&b(w,c);a=w}a=h[f+1]=a;t===Se&&(t=bd);b=w=0;c=0<t.length?t[0]:null;for(B=0<a.length?a[0]:null;c!==null||B!==null;){var E=w<t.length?t[w+1]:void 0,I=b<a.length?a[b+1]:void 0,J=null,N=void 0;c===B?(w+=2,b+=2,E!==I&&(J=B,N=I)):B===null||c!==null&&c<B?(w+=2,J=c):(b+=2,J=B,N=I);J!==null&&vla(e,k,h,q,J,N,d,f);c=w<t.length?t[w]:null;B=b<a.length?a[b]:null}}else f=d?k.classesWithoutHost:
k.stylesWithoutHost,f!==null&&(c=Bea(f,c?c:"")),gla(e,k,h,c,d)}},ula=function(a,b,c,d){var e=a.data;if(e[c+1]===null){var f=e[Ad.selectedIndex];a=c>=a.expandoStartIndex;(f.flags&(d?8:16))!==0&&b===null&&!a&&(b=!1);var h=Wfa(e),k=d?f.residualClasses:f.residualStyles;if(h===null)(d?f.classBindings:f.styleBindings)===0&&(b=wla(null,e,f,b,d),b=Mf(b,f.attrs,d),k=null);else{var q=f.directiveStylingLast;if(q===-1||e[q]!==h)if(b=wla(h,e,f,b,d),k===null)h=d?f.classBindings:f.styleBindings,h=(h&131068)>>2!==
0?e[h>>17&32767]:void 0,h!==void 0&&Array.isArray(h)&&(h=wla(null,e,f,h[1],d),h=Mf(h,f.attrs,d),e[(d?f.classBindings:f.styleBindings)>>17&32767]=h);else{k=void 0;h=f.directiveEnd;for(q=1+f.directiveStylingLast;q<h;q++)k=Mf(k,e[q].hostAttrs,d);k=Mf(k,f.attrs,d)}}k!==void 0&&(d?f.residualClasses=k:f.residualStyles=k);h=b;k=d?f.classBindings:f.styleBindings;b=k>>17&32767;k=(k&131068)>>2;e[c]=h;q=!1;if(Array.isArray(h)){var t=h[1];if(t===null||id(h,t)>0)q=!0}else t=h;a?k!==0?(a=e[b+1]>>17&32767,e[c+1]=
a<<17|b<<2,a!==0&&(e[a+1]=e[a+1]&-131069|c<<2),e[b+1]=e[b+1]&131071|c<<17):(e[c+1]=b<<17|0,b!==0&&(e[b+1]=e[b+1]&-131069|c<<2),b=c):(e[c+1]=k<<17|0,b===0?b=c:e[k+1]=e[k+1]&-131069|c<<2,k=c);q&&(e[c+1]|=2);hla(e,t,c,!0);hla(e,t,c,!1);a=t;h=d?f.residualClasses:f.residualStyles;h!=null&&typeof a=="string"&&id(h,a)>=0&&(e[c+1]|=1);k=b<<17|k<<2;d?f.classBindings=k:f.styleBindings=k}},wla=function(a,b,c,d,e){var f=c.directiveEnd,h=c.directiveStylingLast;for(h===-1?h=c.directiveStart:h++;h<f;){var k=b[h];
d=Mf(d,k.hostAttrs,e);if(k===a)break;h++}a!==null&&(c.directiveStylingLast=h);return d},Mf=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]),jd(a,h,c?!0:b[++f]))}return a===void 0?null:a},pla=function(a,b,c){jd(a,b,Le(c))},sla=function(a,b,c){b=String(b);b===""||b.includes(" ")||jd(a,b,c)},vla=function(a,b,c,d,e,f,h,k){if(b.type&3){a=a.data;var q=a[k+1];((q&1)===1?xla(a,b,c,e,(q&131068)>>2,
h):void 0)===void 0&&(f!==void 0||(q&2)==2&&(f=xla(a,null,c,e,k,h)),b=ud(c[Ad.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))))}},xla=function(a,b,c,d,e,f){for(var h=b===null,k=void 0;e>0;){var q=a[e],t=Array.isArray(q),w=t?q[1]:q,B=w===null,E=c[e+1];E===Se&&(E=B?bd:void 0);w=B?ufa(E,d):w===d?E:void 0;t&&w===void 0&&(w=ufa(q,d));if(w!==void 0&&
(k=w,h))return k;e=a[e+1];e=h?e>>17&32767:(e&131068)>>2}b!==null&&(a=f?b.residualClasses:b.residualStyles,a!=null&&(k=ufa(a,d)));return k},Nf=function(a,b,c){a=Cf(u(),a,b,c);rla(jd,tla,a,!0)},yla=function(a,b,c,d,e){return a===c&&Object.is(b,d)?1:Object.is(e(a,b),e(c,d))?-1:0},Ela=function(a,b,c){var d=void 0,e=void 0,f=0,h=a.length-1;if(Array.isArray(b)){for(var k=b.length-1;f<=h&&f<=k;){var q=a.at(f),t=b[f],w=yla(f,q,f,t,c);if(w!==0)w<0&&a.updateValue(f,t),f++;else{var B=a.at(h);w=b[k];var E=yla(h,
B,k,w,c);E!==0?(E<0&&a.updateValue(h,w),h--,k--):(q=c(f,q),B=c(h,B),E=c(f,t),Object.is(E,B)?(B=c(k,w),Object.is(B,q)?(zla(a,f,h),a.updateValue(h,w),k--,h--):a.move(h,f),a.updateValue(f,t),f++):(d!=null||(d=new Ala),e!=null||(e=Bla(a,f,h,c)),Cla(a,d,f,E)?(a.updateValue(f,t),f++,h++):e.has(E)?(d.set(q,a.detach(f)),h--):(t=a.create(f,b[f]),a.attach(f,t),f++,h++)))}}for(;f<=k;)Dla(a,d,c,f,b[f]),f++}else if(b!=null){b=b[Symbol.iterator]();for(k=b.next();!k.done&&f<=h;)t=a.at(f),w=k.value,q=yla(f,t,f,w,
c),q!==0?(q<0&&a.updateValue(f,w),f++,k=b.next()):(d!=null||(d=new Ala),e!=null||(e=Bla(a,f,h,c)),q=c(f,w),Cla(a,d,f,q)?(a.updateValue(f,w),f++,h++,k=b.next()):e.has(q)?(t=c(f,t),d.set(t,a.detach(f)),h--):(a.attach(f,a.create(f,w)),f++,h++,k=b.next()));for(;!k.done;)Dla(a,d,c,a.length,k.value),k=b.next()}for(;f<=h;)a.destroy(a.detach(h--));var I;(I=d)==null||I.forEach(function(J){a.destroy(J)})},Cla=function(a,b,c,d){return b!==void 0&&b.has(d)?(a.attach(c,b.get(d)),b.delete(d),!0):!1},Dla=function(a,
b,c,d,e){Cla(a,b,d,c(d,e))?a.updateValue(d,e):(b=a.create(d,e),a.attach(d,b))},Bla=function(a,b,c,d){for(var e=new Set;b<=c;b++)e.add(d(b,a.at(b)));return e},Of=function(a,b){Vd("NgControlFlow");var c=u(),d=Ad.bindingIndex++,e=c[d]!==Se?c[d]:-1;e=e!==-1?c[25+e]:void 0;if(wf(c,d,a)){d=Oc(null);try{if(e!==void 0){var f=Je(e,0);f!==void 0&&ria(f[1],f)}if(a!==-1){a=25+a;var h=c[a],k=c[1].data[a],q=Kka(c,k,b,{dehydratedView:null});Nka(h,q,0,Mka(k,null))}}finally{Oc(d)}}else e!==void 0&&(c=Lka(e,0),c!==
void 0&&(c[8]=b))},Fla=function(a){return a},Pf=function(a,b){return b},Qf=function(a,b,c,d,e,f,h,k){Vd("NgControlFlow");var q=u(),t=Ad.tView,w=u();h=k?h.bind(w[15][8]):h;w[25+a]=new Gla(h);Xka(q,t,a+1,b,c,d,e,xd(t.consts,f))},Rf=function(a){var b=Oc(null),c=Ad.selectedIndex;try{var d=u(),e=d[1],f=d[c];c+=1;var h=d[c];f.liveCollection===void 0?f.liveCollection=new Hla(h,d,e.data[c]):f.liveCollection.reset();var k=f.liveCollection;Ela(k,a,f.trackByFn);if(k.needsIndexUpdate)for(a=0;a<k.length;a++)Lka(k.lContainer,
a)[8].$index=a}finally{Oc(b)}},F=function(a,b,c,d){var e=u(),f=Ad.tView,h=25+a;a=e[11];if(f.firstCreatePass){var k=f.consts;c=xd(k,c);c=Re(f,h,2,b,c);nja(f,e,c,xd(k,d));c.attrs!==null&&yja(c,c.attrs,!1);c.mergedAttrs!==null&&yja(c,c.mergedAttrs,!0);f.queries!==null&&f.queries.elementStart(f,c);k=c}else k=f.data[h];yf=!0;b=a.createElement(b,Ad.currentNamespace);e[h]=b;h=(k.flags&1)===1;Cd(k,!0);xia(a,b,k);(k.flags&32)!==32&&yf&&tia(f,e,b,k);Ad.elementDepthCount===0&&Qd(b,e);Ad.elementDepthCount++;
h&&(fja(f,e,k),bja(f,k,e));d!==null&&gja(e,k);return F},G=function(){var a=Bd();Ad.isParent?Ad.isParent=!1:(a=a.parent,Cd(a,!1));var b=a;Zia===b&&(Zia=null);Ad.elementDepthCount--;var c=Ad.tView;c.firstCreatePass&&(cga(c,a),(a.flags&4)!==0&&c.queries.elementEnd(a));b.classesWithoutHost!=null&&(b.flags&8)!==0&&gla(c,b,u(),b.classesWithoutHost,!0);b.stylesWithoutHost!=null&&(b.flags&16)!==0&&gla(c,b,u(),b.stylesWithoutHost,!1);return G},H=function(a,b,c,d){F(a,b,c,d);G();return H},K=function(a,b,c){var d=
u(),e=Ad.tView;a+=25;if(e.firstCreatePass){var f=e.consts;var h=xd(f,b);b=Re(e,a,8,"ng-container",h);h!==null&&yja(b,h,!0);f=xd(f,c);nja(e,d,b,f);e.queries!==null&&e.queries.elementStart(e,b);f=b}else f=e.data[a];Cd(f,!0);yf=!0;b=d[11].createComment(mia());d[a]=b;yf&&tia(e,d,b,f);Qd(b,d);(f.flags&1)===1&&(fja(e,d,f),bja(e,f,d));c!=null&&gja(d,f);return K},L=function(){var a=Bd(),b=Ad.tView;Ad.isParent?Ad.isParent=!1:(a=a.parent,Cd(a,!1));b.firstCreatePass&&(cga(b,a),(a.flags&4)!==0&&b.queries.elementEnd(a));
return L},Sf=function(a,b,c){K(a,b,c);L();return Sf},Tf=function(a,b,c){var d=u(),e=Ad.bindingIndex++;if(wf(d,e,b)){e=Ad.tView;var f=Fd();Te(e,f,d,a,b,d[11],c,!0)}return Tf},Uf=function(a,b,c){var d=u(),e=Ad.bindingIndex++;if(wf(d,e,b)){e=Ad.tView;var f=Fd(),h=tja(Wfa(e.data),f,d);Te(e,f,d,a,b,h,c,!0)}return Uf},Vf=function(a){var b=a.toLowerCase().replace(/_/g,"-");if(a=Ila(b))return a;b=b.split("-")[0];if(a=Ila(b))return a;if(b==="en")return Jla;throw new Lc(701,!1);},Ila=function(a){a in Kla||
(Kla[a]=xe.ng&&xe.ng.common&&xe.ng.common.locales&&xe.ng.common.locales[a]);return Kla[a]},M=function(a,b,c,d){c=u();Lla(Ad.tView,c,c[11],Bd(),a,b,d);return M},Wf=function(a,b){var c=Bd(),d=u(),e=Ad.tView,f=tja(Wfa(e.data),c,d);Lla(e,d,f,c,a,b);return Wf},Mla=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},Lla=function(a,b,c,d,e,f,h){var k=(d.flags&1)===1,q=
a.firstCreatePass&&sja(a),t=rja(b),w=!0;if(d.type&3||h){var B=vd(d,b),E=h?h(B):B;B=t.length;var I=h?function(P){return h(ud(P[d.index]))}:d.index,J=null;!h&&k&&(J=Mla(a,b,e,d.index));J!==null?((J.__ngLastListenerFn__||J).__ngNextListenerFn__=f,J.__ngLastListenerFn__=f,w=!1):(f=Nla(d,b,f),a=c.listen(E,e,f),t.push(f,a),q&&q.push(e,I,B,B+1))}else f=Nla(d,b,f);a=d.outputs;var N;if(w&&a!==null&&(N=a[e])&&(w=N.length))for(a=0;a<w;a+=2)c=b[N[a]][N[a+1]].subscribe(f),k=t.length,t.push(f,c),q&&q.push(e,d.index,
k,-(k+1))},Ola=function(a,b,c){var d=Oc(null);try{return b(c)!==!1}catch(e){return uja(a,e),!1}finally{Oc(d)}},Nla=function(a,b,c){return function f(e){if(e===Function)return c;var h=a.componentOffset>-1?wd(a.index,b):b;hia(h,5);h=Ola(b,c,e);for(var k=f.__ngNextListenerFn__;k;)h=Ola(b,k,e)&&h,k=k.__ngNextListenerFn__;return h}},O=function(a){a=a===void 0?1:a;for(var b=Ad.contextLView;a>0;)b=b[14],a--;return(Ad.contextLView=b)[8]},Xf=function(a){var b=u()[15][5];if(!b.projection){for(var c=a?a.length:
1,d=[],e=0;e<c;e++)d.push(null);c=b.projection=d;d=c.slice();for(b=b.child;b!==null;){if(a)a:{e=b;var f=a,h=null;b:{var k=e.attrs;if(k!=null){var q=k.indexOf(5);if((q&1)===0){k=k[q+1];break b}}k=null}for(q=0;q<f.length;q++){var t=f[q];if(t==="*")h=q;else{if(k===null)t=gfa(e,t,!0);else b:{var w=0;c:for(;w<t.length;w++){var B=t[w];if(k.length===B.length){for(var E=0;E<k.length;E++)if(k[E]!==B[E])continue c;t=!0;break b}}t=!1}if(t){e=q;break a}}}e=h}else e=0;e!==null&&(d[e]?d[e].projectionNext=b:c[e]=
b,d[e]=b);b=b.next}}},Yf=function(a,b,c){b=b===void 0?0:b;var d=u(),e=Ad.tView;a=Re(e,25+a,16,null,c||null);a.projection===null&&(a.projection=b);Ad.isParent=!1;d[6]&&Zia===null||(a.flags&32)===32||(b=d[11],e=sia(e,a.parent,d),c=a.parent||d[5],c=c.type&40?vd(c,d):null,wia(b,0,d,a,e,c))},$f=function(a,b,c){Zf(a,"",b,"",c);return $f},Zf=function(a,b,c,d,e){var f=u();b=Cf(f,b,c,d);b!==Se&&(c=Ad.tView,d=Fd(),Te(c,d,f,a,b,f[11],e,!1));return Zf},ag=function(a,b,c,d,e,f,h){var k=u();b=ela(k,b,c,d,e,f);
b!==Se&&(c=Ad.tView,d=Fd(),Te(c,d,k,a,b,k[11],h,!1));return ag},Pla=function(){return this._results[Symbol.iterator]()},Rla=function(){return Qla(Bd(),u())},Qla=function(a,b){return a.type&4?new bg(b,a,Sd(a,b)):null},Sla=function(a,b,c,d){d=b[18].queries[d];if(d.matches===null){a=a.data;for(var e=c.matches,f=[],h=0;e!==null&&h<e.length;h+=2){var k=e[h];if(k<0)f.push(null);else{var q=f,t=q.push,w=b,B=a[k],E=e[h+1];k=c.metadata.read;E===-1?(k=B,w=k.type&11?Sd(k,w):k.type&4?Qla(k,w):null):E===-2?w=k===
Rd?Sd(B,w):k===cg?Qla(B,w):k===dg?Oka(B,w):void 0:w=Ld(w,w[1],E,B);t.call(q,w)}}d.matches=f}return d.matches},Tla=function(a,b,c,d){var e=a.queries.queries[c],f=e.matches;if(f!==null)for(a=Sla(a,b,e,c),c=0;c<f.length;c+=2){var h=f[c];if(h>0)d.push(a[c/2]);else{e=f[c+1];h=b[-h];for(var k=10;k<h.length;k++){var q=h[k];q[16]===q[3]&&Tla(q[1],q,e,d)}if(h[9]!==null)for(h=h[9],k=0;k<h.length;k++)q=h[k],Tla(q[1],q,e,d)}}return d},Wla=function(a,b){var c=u();b=new eg((b&4)===4);var d=b.destroy,e=rja(c);e.push(b);
a.firstCreatePass&&sja(a).push(d,e.length-1);var f;((f=c[18])!=null?f:c[18]=new Ula).queries.push(new Vla(b))},fg=function(a,b,c){var d=Ad.tView;d.firstCreatePass&&(Xla(d,new Yla(a,b,c),-1),(b&2)===2&&(d.staticViewQueries=!0));Wla(d,b)},gg=function(a,b,c,d){var e=Ad.tView;if(e.firstCreatePass){var f=Bd();Xla(e,new Yla(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)}Wla(e,c)},Zla=function(a){return a.split(",").map(function(b){return b.trim()})},
Xla=function(a,b,c){a.queries===null&&(a.queries=new $la);a.queries.track(new hg(b,c))},jg=function(a){var b=u(),c=Ad.tView,d=Ad.currentQueryIndex;Ad.currentQueryIndex=d+1;c=c.queries.queries[d];if(a.dirty&&(b[2]&4)===4===((c.metadata.flags&2)===2)){if(c.matches===null)a.reset([]);else{c=b[1];var e=c.queries.queries[d];b=e.crossesNgTemplate?Tla(c,b,d,[]):Sla(c,b,e,d);a.reset(b,Ega);ig(a)}return!0}return!1},kg=function(){return u()[18].queries[Ad.currentQueryIndex].queryList},bma=function(a){Vd("NgSignals");
a=Rea(a);var b=a[Rc];a.set=function(c){return Tea(b,c)};a.update=function(c){Gea()||Sea();Tea(b,c(b.value))};a.asReadonly=ama.bind(a);return a},ama=function(){var a=this,b=this[Rc];if(b.readonlyFn===void 0){var c=function(){return a()};c[Rc]=b;b.readonlyFn=c}return b.readonlyFn},Q=function(a){return Ad.contextLView[25+a]},R=function(a,b){b=b===void 0?"":b;var c=u(),d=Ad.tView;a+=25;var e=d.firstCreatePass?Re(d,a,1,b,null):d.data[a];yf=!0;b=c[11].createText(b);c[a]=b;yf&&tia(d,c,b,e);Cd(e,!1)},lg=
function(a){S("",a,"");return lg},S=function(a,b,c){var d=u();a=Cf(d,a,b,c);a!==Se&&vja(d,a);return S},mg=function(a,b,c,d,e){var f=u();a=ela(f,a,b,c,d,e);a!==Se&&vja(f,a);return mg},cma=function(a,b,c,d,e,f,h,k,q){var t=u();var w=Ad.bindingIndex;var B=xf(t,w,b,d);w=xf(t,w+2,f,k)||B;Ed(4);a=w?a+Jc(b)+c+Jc(d)+e+Jc(f)+h+Jc(k)+q:Se;a!==Se&&vja(t,a);return cma},ng=function(a,b,c){Mja(b)&&typeof b.set==="function"&&(b=b());var d=u(),e=Ad.bindingIndex++;if(wf(d,e,b)){e=Ad.tView;var f=Fd();Te(e,f,d,a,b,
d[11],c,!1)}return ng},og=function(a,b){var c=Mja(a)&&typeof a.set==="function";c&&a.set(b);return c},pg=function(a,b){var c=u();Lla(Ad.tView,c,c[11],Bd(),a,b);return pg},dma=function(a,b,c,d,e){a=Vc(a);if(Array.isArray(a))for(var f=0;f<a.length;f++)dma(a[f],b,c,d,e);else{f=Ad.tView;var h=u(),k=Bd(),q=ld(a)?a:Vc(a.provide),t=Jfa(a),w=k.providerIndexes&1048575,B=k.directiveStart,E=k.providerIndexes>>20;if(ld(a)||!a.multi)d=new Md(t,e),t=ema(q,b,e?w:w+E,B),t===-1?(t=oga(k,h),kga(t,f,q),fma(f,a,b.length),
b.push(q),k.directiveStart++,k.directiveEnd++,e&&(k.providerIndexes+=1048576),c.push(d),h.push(d)):(c[t]=d,h[t]=d);else{B=ema(q,b,w+E,B);w=ema(q,b,w,w+E);var I=B>=0&&c[B];E=w>=0&&c[w];e&&!E||!e&&!I?(B=oga(k,h),kga(B,f,q),B=c.length,I=new Md(e?gma:hma,e),I.multi=[],I.index=B,I.componentProviders=0,d&&!e&&I.componentProviders++,I.multi.push(t),!e&&E&&(c[w].providerFactory=I),fma(f,a,b.length,0),b.push(q),k.directiveStart++,k.directiveEnd++,e&&(k.providerIndexes+=1048576),c.push(I),h.push(I)):(b=c[e?
w:B],!e&&d&&b.componentProviders++,b=b.multi.push(t)-1,fma(f,a,B>-1?B:w,b));!e&&d&&E&&c[w].componentProviders++}}},fma=function(a,b,c,d){var e=ld(b),f=!!b.useClass;if(e||f)if(f=(f?Vc(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)},ema=function(a,b,c,d){for(;c<d;c++)if(b[c]===a)return c;return-1},hma=function(){return ima(this.multi,[])},gma=function(a,b,c,d){b=this.multi;if(this.providerFactory){var e=
this.providerFactory.componentProviders;d=Ld(c,c[1],this.providerFactory.index,d);c=d.slice(0,e);ima(b,c);for(b=e;b<d.length;b++)c.push(d[b])}else c=[],ima(b,c);return c},ima=function(a,b){for(var c=0;c<a.length;c++)b.push((0,a[c])());return b},qg=function(a){var b=b===void 0?[]:b;return function(c){c.providersResolver=function(d,e){e=e?e(a):a;var f=Ad.tView;f.firstCreatePass&&(d=!!d.template,dma(b,f.data,f.blueprint,d,!0),dma(e,f.data,f.blueprint,d,!1))}}},sg=function(a){Vd("NgStandalone");a.getStandaloneInjector=
function(b){b=b.get(rg);if(a.standalone){if(!b.cachedInjectors.has(a)){var c=vfa(!1,a.type);c=c.length>0?Kja([c],b._injector,"Standalone["+a.type.name+"]"):null;b.cachedInjectors.set(a,c)}b=b.cachedInjectors.get(a)}else b=null;return b}},tg=function(a,b){a=Dd()+a;var c=u();return c[a]===Se?vf(c,a,b()):c[a]},ug=function(a,b,c){return jma(u(),Dd(),a,b,c)},vg=function(a,b,c,d){return kma(u(),Dd(),a,b,c,d)},wg=function(a,b,c,d,e){return lma(u(),Dd(),a,b,c,d,e)},nma=function(a,b,c,d,e,f){var h=mma,k=Dd()+
8,q=u();var t=xf(q,k,a,b);t=xf(q,k+2,c,d)||t;return xf(q,k+4,e,f)||t?vf(q,k+6,h(a,b,c,d,e,f)):q[k+6]},oma=function(a,b){a=a[b];return a===Se?void 0:a},jma=function(a,b,c,d,e,f){b+=c;return wf(a,b,e)?vf(a,b+1,f?d.call(f,e):d(e)):oma(a,b+1)},kma=function(a,b,c,d,e,f,h){b+=c;return xf(a,b,e,f)?vf(a,b+2,h?d.call(h,e,f):d(e,f)):oma(a,b+2)},lma=function(a,b,c,d,e,f,h,k){b+=c;c=xf(a,b,e,f);return wf(a,b+2,h)||c?vf(a,b+3,k?d.call(k,e,f,h):d(e,f,h)):oma(a,b+3)},T=function(a,b){var c=Ad.tView;a+=25;if(c.firstCreatePass){a:{var d=
c.pipeRegistry;if(d)for(var e=d.length-1;e>=0;e--){var f=d[e];if(b===f.name){b=f;break a}}b=void 0}c.data[a]=b;if(b.onDestroy){var h;((h=c.destroyHooks)!=null?h:c.destroyHooks=[]).push(a,b.onDestroy)}}else b=c.data[a];h=b.factory||(b.factory=hd(b.type));b=Tc(A);try{var k=iga(!1),q=h();iga(k);var t=u();a>=c.data.length&&(c.data[a]=null,c.blueprint[a]=null);t[a]=q}finally{Tc(b)}},V=function(a,b,c){a+=25;var d=u(),e=d[a];return d[1].data[a].pure?jma(d,Dd(),b,e.transform,c,e):e.transform(c)},xg=function(a,
b,c,d){a+=25;var e=u(),f=e[a];return e[1].data[a].pure?kma(e,Dd(),b,f.transform,c,d,f):f.transform(c,d)},pma=function(a,b,c,d){a+=25;var e=u(),f=e[a];return e[1].data[a].pure?lma(e,Dd(),b,f.transform,c,0,d,f):f.transform(c,0,d)},qma=function(a,b,c){a=a.\u0275cmp;a.directiveDefs=kfa(b,!1);a.pipeDefs=kfa(c,!0)},yg=function(a,b){return Qla(a,b)},rma=function(a){var b=Bd(),c=u();b.componentOffset>-1&&(a&16)!==16?(a=wd(b.index,c),a=new zg(a,a)):a=b.type&47?new zg(c[15],c):null;return a},sma=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},xma=function(a){var b=a.ngZoneFactory;a=a.ignoreChangesOutsideZone;b!=null||(b=function(){return new ze(tma())});return[{provide:ze,useFactory:b},{provide:Bfa,multi:!0,useFactory:function(){var c=Yc(Ag,{optional:!0});return function(){return c.initialize()}}},{provide:Bfa,multi:!0,useFactory:function(){var c=Yc(Bg);return function(){c.initialize()}}},{provide:uma,useFactory:vma},a===!0?{provide:wma,useValue:!0}:
[]]},vma=function(){var a=Yc(ze),b=Yc(Ue);return function(c){return a.runOutsideAngular(function(){return b.handleError(c)})}},tma=function(a){var b,c;return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:(b=a==null?void 0:a.eventCoalescing)!=null?b:!1,shouldCoalesceRunChangeDetection:(c=a==null?void 0:a.runCoalescing)!=null?c:!1}},Cma=function(a,b,c){c=c===void 0?[]:c;var d="Platform: "+b,e=new md(d);return function(f){f=f===void 0?[]:f;var h=yma();if(!h||h.injector.get(zma,!1))if(f=
[].concat(r(c),r(f),[{provide:e,useValue:!0}]),a)a(f);else{f=Ama(f,d);if(Dg&&!Dg.get(zma,!1))throw new Lc(400,!1);Fka();Dg=f;f.get(Eg);Bma(f)}f=yma();if(!f)throw new Lc(401,!1);return f}},Ama=function(a,b){a=a===void 0?[]:a;return Fg({name:b,providers:[{provide:Dma,useValue:"platform"},{provide:Ema,useValue:new Set([function(){return Dg=null}])}].concat(r(a))})},yma=function(){var a,b;return(b=(a=Dg)==null?void 0:a.get(Eg))!=null?b:null},Bma=function(a){var b;(b=a.get(Fma,null))==null||b.forEach(function(c){return c()})},
Gg=function(a){return typeof a==="boolean"?a:a!=null&&a!=="false"},Hg=function(a,b){b=b===void 0?NaN:b;return isNaN(parseFloat(a))||isNaN(Number(a))?b:Number(a)},Ima=function(a,b){Vd("NgSignals");(b==null?0:b.injector)||Ofa();var c,d=(c=b==null?void 0:b.injector)!=null?c:Yc(Ae);c=(b==null?void 0:b.manualCleanup)!==!0?d.get(Ee):null;var e;a=new Gma(d.get(Hma),a,typeof Zone==="undefined"?null:Zone.current,c,d,(e=b==null?void 0:b.allowSignalWrites)!=null?e:!1);if((d=d.get(Ig,null,{optional:!0}))&&d._lView[2]&
8){var f,h;((h=(f=d._lView)[22])!=null?h:f[22]=[]).push(a.watcher.notify)}else a.watcher.notify();return a},Jma=function(a){var b=Oc(null);try{return a()}finally{Oc(b)}},Kma=function(a,b){a=a[cd]||null;var c=b.elementInjector||Gfa();return(new Jg(a)).create(c,b.projectableNodes,b.hostElement,b.environmentInjector)},Lma=function(a){var b=a[cd]||null;if(!b)return null;var c=new Jg(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}}},Nma=function(a){if(aaa(Mma)(a))return a},Sma=function(a){var b=[],c=[];a=Oma([].concat(r(a)).sort(Pma));a=l(a);for(var d=a.next(),e={};!d.done;e={name$jscomp$206:void 0,operator$jscomp$7:void 0},d=a.next())d=d.value,e.name$jscomp$206=d.name,e.operator$jscomp$7=d.operator,d=d.values,d.length!==0&&b.push(d.map(function(f){return function(h){return Qma(h)||Rma(h)?f.name$jscomp$206+
f.operator$jscomp$7+h:f.name$jscomp$206+f.operator$jscomp$7+'"'+h+'"'}}(e)).join(" "));c.length>0&&b.push("filters="+encodeURIComponent(c.join(",")));return b.join(" ")},bna=function(a,b){var c=[];switch(a){case "nexus_data":if(!b)return c;a=Tma(b);c=[];a=l(a.entries());var d=a.next();for(b={};!d.done;b={key$jscomp$357:void 0},d=a.next()){var e=l(d.value);d=e.next().value;e=e.next().value;b.key$jscomp$357=d;d=e;if(Uma.has(b.key$jscomp$357))c.push.apply(c,r(d.map(function(f){return function(h){return{key:f.key$jscomp$357,
operator:h.operator,values:[h.value]}}}(b))));else{e=[].concat(r(new Set(d.map(function(f){return f.operator}))));if(e.length>1)throw Error("Na`"+b.key$jscomp$357+"`"+e.join(", "));e=e[0];d=d.map(function(f){return f.value});c.push({key:b.key$jscomp$357,operator:e,values:d})}}return c.map(function(f){var h=f.key;var k=f.operator;f=f.values;if(Vma.includes(h)||Wma.includes(h)||Xma.includes(h))return{id:h,operator:k,values:f};throw Error("Oa`"+h);}).sort(Pma);case "analog_link":a=new URL(b);if(a.searchParams.has("text_query"))return c=
a.searchParams.get("text_query"),a=Yma(a.searchParams.get("time_range")),[].concat(r(a),r(Zma(c)));if(a.searchParams.get("storage")==="borglocal")throw Error("Pa");return $ma(a);case "dapper_link":a=l(b.split(" "));for(b=a.next();!b.done;b=a.next())b=b.value,d=b.indexOf(":"),d<0||(d=l([b.slice(0,d),b.slice(d+1)]),b=d.next().value,d=d.next().value,c.push.apply(c,r(ana(b,d))));return c;default:throw Error("Qa`"+a);}},Oma=function(a){var b=[];a=l(a);for(var c=a.next();!c.done;c=a.next()){var d=c.value;
c=d.operator;var e=d.values;if(d=d.id)if(caa(Qma)(e))b.push({name:d,operator:c,values:e});else if(caa(cna)(e))b.push({name:d,operator:c,values:e});else if(caa(Rma)(e))b.push({name:d,operator:c,values:e});else throw Error("Sa`"+e);}return b},Kg=function(a,b,c){if(Vma.includes(a)||Wma.includes(a)||Xma.includes(a))return{id:a,operator:b,values:c};throw Error("Ta`"+a);},dna=function(a){if(a.length>2&&a.charAt(0)==='"'&&a.charAt(a.length-1)==='"')return a.substring(1,a.length-1);if(a==="true"||a==="false")return a===
"true";a=Number(a);if(Qma(a))return a},Tma=function(a){var b=new Map;a=l(a.matchAll(/(?<key>[^\s=!~]+)(?<operator>=~?|![=~])(?<value>"[^"\\]*(?:\\.[^"\\]*)*"|[^\s"]+)/gm));for(var c=a.next();!c.done;c=a.next()){c=c.value;a:{var d=c[1];if(!aaa(ena)(d)){switch(d){case "service_name":d="rpc_server_service_name";break a;case "method_name":d="rpc_server_method_name";break a}d=void 0}}var e=Nma(c[2]);c=dna(c[3]);d&&e&&c!==void 0&&(b.has(d)?b.get(d).push({operator:e,value:c}):b.set(d,[{operator:e,value:c}]))}return b},
Pma=function(a,b){return a.id===b.id?JSON.stringify(a)<JSON.stringify(b)?-1:1:fna.indexOf(a.id)-fna.indexOf(b.id)},$ma=function(a){for(var b=[],c=l(a.searchParams),d=c.next();!d.done;d=c.next()){var e=l(d.value);d=e.next().value;e=e.next().value;(d=gna(d,e,a.searchParams))&&b.push.apply(b,r(d))}return b},hna=function(a){switch(a){case "user":return"borg_user";case "job":return"borg_job";case "cell":return"cell";case "index":return"task_index";case "attempt":return"task_attempt_uid";case "min_time":return"start_time";
case "max_time":return"end_time";case "q":return"text_payload";case "q_invert":return"text_payload";case "min_severity":return"severity";case "remote_log_name":return"log_name";case "process_name":return"process_name";case "trace_id":return"trace_id";case "span_id":return"span_id";case "job_uid":return"job_uid";case "process_id":return"local_process_id";case "src_file":case "inverted_call_site_regex":return"site_path";default:return null}},gna=function(a,b,c){var d=hna(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[Kg(d,
"=",[b])];case "index":case "attempt":case "min_time":case "max_time":return[Kg(d,"=",[Number(b)])];case "q":return[Kg(d,"=",[ina(b)])];case "q_invert":return[Kg(d,"!=",[ina(b)])];case "src_file":return a=c.get("src_line"),[Kg(d,"=",[a?b+":"+a:b])];case "inverted_call_site_regex":return[Kg(d,"!=",[].concat(r(b.split(","))))];default:return null}},Zma=function(a){var b=[];var c=[];for(var d=l(a.matchAll(/NOT\s\(source_location.file = "(?<file>[^)]+)" source_location.line = "(?<line>[0-9]+)"\)/gm)),
e=d.next();!e.done;e=d.next())e=e.value,c.push(e[1]+":"+e[2]);(c=c.length>0?Kg("site_path","!=",c):null)&&b.push(c);d=void 0;a=l(a.matchAll(/(?<key>[^\s=!~]+)[\s]*(?<operator>=~?|![=~])[\s]*(?<value>"[^"\\]*(?:\\.[^"\\]*)*"|[^\s"]+)/gm));for(e=a.next();!e.done;e=a.next()){var f=e.value,h=f[1];e=Nma(f[2]);f=dna(f[3]);e&&(h!=="source_location.file"||e!=="="||c?(h==="source_location.line"&&d&&e==="="&&(d=Kg("site_path","=",[d.values[0]+":"+f])),(h=jna(h))&&b.push(Kg(h,e,[Vma.includes(h)?Number(f):f]))):
d=Kg("site_path",e,[f]))}d&&b.push(d);return b},Yma=function(a){if(a==null)return[];var b=a.split("/");if(b.length!==2)return[];a=(new Date(b[0])).getTime()*1E3;b=(new Date(b[1])).getTime()*1E3;return[Kg("start_time","=",[a]),Kg("end_time","=",[b])]},jna=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}},ina=function(a){return a.startsWith("(?i)")?a.substring(4):a},kna=function(a){switch(a){case "user":return"borg_user";
case "job":return"borg_job";case "cell":return"cell";case "task":return"task_index";case "start":return"start_time";case "end":return"end_time";case "status":case "-status":return"status_code";case "method":return"rpc_server_method_name";case "latency":return"min_latency";default:return null}},ana=function(a,b){var c=kna(a);if(!c)return[];switch(a){case "user":case "job":case "cell":return[Kg(c,"=",[ina(b)])];case "task":return[Kg(c,"=",[Number(b)])];case "start":case "end":return[Kg(c,"=",[(new Date(b.replace("_",
"T"))).getTime()*1E3])];case "method":a=b.split("|").map(function(f){return f.split(".")});c="";b=[];a=l(a);for(var d=a.next();!d.done;d=a.next())if(d=d.value,d.length===2){var e=l(d);d=e.next().value;e=e.next().value;c&&c!==d||(c=d,e&&b.push(e))}return c&&b.length!==0?[Kg("rpc_server_service_name","=",[c]),Kg("rpc_server_method_name","=",b)]:[];case "status":case "-status":return a=a.startsWith("-")?"!=":"=",b=lna(b.toUpperCase()),b==null?[]:[Kg(c,a,[b])];case "latency":return b=mna(b),c=b.minLatency,
b=b.maxLatency,a=[],c>0&&a.push(Kg("min_latency","=",[c])),b>0&&a.push(Kg("max_latency","=",[b])),a;default:return[]}},mna=function(a){var b={minLatency:0,maxLatency:0};if(a.includes("-")){a=nna(a);var c=a.multiplyFactor;a=a.valueWithoutUnit.split("-").map(function(d){return Number(d)*c});return a.length!==2?b:{minLatency:a[0],maxLatency:a[1]}}return a.endsWith("+")?(b=nna(a.slice(0,-1)),{minLatency:Number(b.valueWithoutUnit)*b.multiplyFactor,maxLatency:0}):b},nna=function(a){return a.endsWith("ms")?
{multiplyFactor:1E3,valueWithoutUnit:a.slice(0,-2)}:a.endsWith("us")?{multiplyFactor:1,valueWithoutUnit:a.slice(0,-2)}:a.endsWith("s")?{multiplyFactor:1E6,valueWithoutUnit:a.slice(0,-1)}:{multiplyFactor:1E6,valueWithoutUnit:a}},lna=function(a){var b=ona[a];if(Qma(b))return b;throw Error("Ua`"+a);},pna=function(a,b){if(b&&!b.createEmbeddedView)throw Error("Va`"+a+"`"+Kc(b));},qna=function(a,b,c){a=Vf(a);b=Lg([a[1],a[2]],b);return Lg(b,c)},rna=function(a,b,c){a=Vf(a);b=Lg([a[3],a[4]],b);return Lg(b,
c)},sna=function(a,b,c){a=Vf(a);b=Lg([a[5],a[6]],b);return Lg(b,c)},tna=function(a,b){a=Vf(a)[7];return Lg(a,b)},una=function(a,b){a=Vf(a);return Lg(a[10],b)},vna=function(a,b){a=Vf(a);return Lg(a[11],b)},wna=function(a,b){a=Vf(a)[12];return Lg(a,b)},Mg=function(a,b){a=Vf(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},xna=function(a){if(!a[21])throw Error("Wa`"+a[0]);},zna=function(a){a=Vf(a);xna(a);return(a[21][2]||[]).map(function(b){return typeof b===
"string"?yna(b):[yna(b[0]),yna(b[1])]})},Ana=function(a,b,c){a=Vf(a);xna(a);b=Lg([a[21][0],a[21][1]],b)||[];return Lg(b,c)||[]},Lg=function(a,b){for(;b>-1;b--)if(typeof a[b]!=="undefined")return a[b];throw Error("Xa");},yna=function(a){var b=l(a.split(":"));a=b.next().value;b=b.next().value;return{hours:+a,minutes:+b}},Ng=function(){return new Lc(2100,!1)},Jna=function(a,b,c,d){var e=Bna(a);b=Og(c,b)||b;a=[];for(var f;b;)if(f=Cna.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=Dna(d,h),e=Ena(e,d));var k="";a.forEach(function(q){a:if(Fna[q])var t=Fna[q];else{switch(q){case "G":case "GG":case "GGG":t=Pg(3,1);break;case "GGGG":t=Pg(3,2);break;case "GGGGG":t=Pg(3,0);break;case "y":t=Rg(0,1,0,!1,!0);break;case "yy":t=Rg(0,2,0,!0,!0);break;case "yyy":t=Rg(0,3,0,!1,!0);break;case "yyyy":t=Rg(0,4,0,!1,!0);break;case "Y":t=Gna(1);break;case "YY":t=Gna(2,!0);break;case "YYY":t=Gna(3);break;case "YYYY":t=Gna(4);break;case "M":case "L":t=Rg(1,
1,1);break;case "MM":case "LL":t=Rg(1,2,1);break;case "MMM":t=Pg(2,1);break;case "MMMM":t=Pg(2,2);break;case "MMMMM":t=Pg(2,0);break;case "LLL":t=Pg(2,1,1);break;case "LLLL":t=Pg(2,2,1);break;case "LLLLL":t=Pg(2,0,1);break;case "w":t=Hna(1);break;case "ww":t=Hna(2);break;case "W":t=Hna(1,!0);break;case "d":t=Rg(2,1);break;case "dd":t=Rg(2,2);break;case "c":case "cc":t=Rg(7,1);break;case "ccc":t=Pg(1,1,1);break;case "cccc":t=Pg(1,2,1);break;case "ccccc":t=Pg(1,0,1);break;case "cccccc":t=Pg(1,3,1);
break;case "E":case "EE":case "EEE":t=Pg(1,1);break;case "EEEE":t=Pg(1,2);break;case "EEEEE":t=Pg(1,0);break;case "EEEEEE":t=Pg(1,3);break;case "a":case "aa":case "aaa":t=Pg(0,1);break;case "aaaa":t=Pg(0,2);break;case "aaaaa":t=Pg(0,0);break;case "b":case "bb":case "bbb":t=Pg(0,1,1,!0);break;case "bbbb":t=Pg(0,2,1,!0);break;case "bbbbb":t=Pg(0,0,1,!0);break;case "B":case "BB":case "BBB":t=Pg(0,1,0,!0);break;case "BBBB":t=Pg(0,2,0,!0);break;case "BBBBB":t=Pg(0,0,0,!0);break;case "h":t=Rg(3,1,-12);
break;case "hh":t=Rg(3,2,-12);break;case "H":t=Rg(3,1);break;case "HH":t=Rg(3,2);break;case "m":t=Rg(4,1);break;case "mm":t=Rg(4,2);break;case "s":t=Rg(5,1);break;case "ss":t=Rg(5,2);break;case "S":t=Rg(6,1);break;case "SS":t=Rg(6,2);break;case "SSS":t=Rg(6,3);break;case "Z":case "ZZ":case "ZZZ":t=Ina(0);break;case "ZZZZZ":t=Ina(3);break;case "O":case "OO":case "OOO":case "z":case "zz":case "zzz":t=Ina(1);break;case "OOOO":case "ZZZZ":case "zzzz":t=Ina(2);break;default:t=null;break a}Fna[q]=t}k+=
t?t(e,c,h):q==="''"?"'":q.replace(/(^'|'$)/g,"").replace(/''/g,"'")});return k},Kna=function(a,b,c){var d=new Date(0);d.setFullYear(a,b,c);d.setHours(0,0,0);return d},Og=function(a,b){var c=Vf(a)[0];Sg[c]!=null||(Sg[c]={});if(Sg[c][b])return Sg[c][b];var d="";switch(b){case "shortDate":d=una(a,0);break;case "mediumDate":d=una(a,1);break;case "longDate":d=una(a,2);break;case "fullDate":d=una(a,3);break;case "shortTime":d=vna(a,0);break;case "mediumTime":d=vna(a,1);break;case "longTime":d=vna(a,2);
break;case "fullTime":d=vna(a,3);break;case "short":d=Og(a,"shortTime");var e=Og(a,"shortDate");d=Lna(wna(a,0),[d,e]);break;case "medium":d=Og(a,"mediumTime");e=Og(a,"mediumDate");d=Lna(wna(a,1),[d,e]);break;case "long":d=Og(a,"longTime");e=Og(a,"longDate");d=Lna(wna(a,2),[d,e]);break;case "full":d=Og(a,"fullTime"),e=Og(a,"fullDate"),d=Lna(wna(a,3),[d,e])}d&&(Sg[c][b]=d);return d},Lna=function(a,b){b&&(a=a.replace(/\{([^}]+)}/g,function(c,d){return b!=null&&d in b?b[d]:c}));return a},Tg=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},Rg=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=Mna(a,f);if(c>0||f>-c)f+=c;if(a===3)f===0&&c===-12&&(f=12);else if(a===6)return Tg(f,3).substring(0,b);h=Mg(h,5);return Tg(f,b,h,d,e)}},Mna=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("Ya`"+a);}},Pg=function(a,b,c,d){c=c===void 0?0:c;d=d===void 0?!1:d;return function(e,f){return Nna(e,f,a,b,c,d)}},Nna=function(a,b,c,d,e,f){switch(c){case 2:return sna(b,e,d)[a.getMonth()];case 1:return rna(b,e,d)[a.getDay()];case 0:var h=a.getHours(),k=a.getMinutes();return f&&(c=zna(b),a=Ana(b,e,d),c=c.findIndex(function(q){if(Array.isArray(q)){var t=l(q);q=t.next().value;
t=t.next().value;var w=h>=q.hours&&k>=q.minutes,B=h<t.hours||h===t.hours&&k<t.minutes;if(q.hours<t.hours){if(w&&B)return!0}else if(w||B)return!0}else if(q.hours===h&&q.minutes===k)return!0;return!1}),c!==-1)?a[c]:qna(b,e,d)[h<12?0:1];case 3:return tna(b,d)[a.getFullYear()<=0?0:1];default:throw Error("Za`"+c);}},Ina=function(a){return function(b,c,d){b=-1*d;c=Mg(c,5);var e=b>0?Math.floor(b/60):Math.ceil(b/60);switch(a){case 0:return(b>=0?"+":"")+Tg(e,2,c)+Tg(Math.abs(b%60),2,c);case 1:return"GMT"+
(b>=0?"+":"")+Tg(e,1,c);case 2:return"GMT"+(b>=0?"+":"")+Tg(e,2,c)+":"+Tg(Math.abs(b%60),2,c);case 3:return d===0?"Z":(b>=0?"+":"")+Tg(e,2,c)+":"+Tg(Math.abs(b%60),2,c);default:throw Error("$a`"+a);}}},Ona=function(a){var b=a.getDay();b=b===0?-3:4-b;return Kna(a.getFullYear(),a.getMonth(),a.getDate()+b)},Hna=function(a,b){b=b===void 0?!1:b;return function(c,d){if(b){var e=(new Date(c.getFullYear(),c.getMonth(),1)).getDay()-1;c=c.getDate();e=1+Math.floor((c+e)/7)}else{e=Ona(c);c=e.getFullYear();var f=
Kna(c,0,1).getDay();c=Kna(c,0,1+(f<=4?4:11)-f);e=e.getTime()-c.getTime();e=1+Math.round(e/6048E5)}return Tg(e,a,Mg(d,5))}},Gna=function(a,b){b=b===void 0?!1:b;return function(c,d){c=Ona(c).getFullYear();return Tg(c,a,Mg(d,5),b)}},Dna=function(a,b){a=a.replace(/:/g,"");a=Date.parse("Jan 01, 1970 00:00:00 "+a)/6E4;return isNaN(a)?b:a},Ena=function(a,b){var c=a.getTimezoneOffset();b=Dna(b,c);a=new Date(a.getTime());a.setMinutes(a.getMinutes()+-1*(b-c));return a},Bna=function(a){if(a instanceof Date&&
!isNaN(a.valueOf()))return a;if(typeof a==="number"&&!isNaN(a))return new Date(a);if(typeof a==="string"){a=a.trim();if(/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(a)){var b=l(a.split("-").map(function(d){return+d}));a=b.next().value;var c=b.next().value;c=c===void 0?1:c;b=b.next().value;return Kna(a,c-1,b===void 0?1:b)}b=parseFloat(a);if(!isNaN(a-b))return new Date(b);if(b=a.match(Pna))return Qna(b)}b=new Date(a);if(!(b instanceof Date)||isNaN(b.valueOf()))throw Error("ab`"+a);return b},Qna=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},Rna=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},Xna=function(a,b,c,d){var e=e===void 0?!1:e;var f="",h=!1;if(isFinite(a)){h=Sna(a);e&&(h=Tna(h));f=b.minInt;e=b.minFrac;var k=b.maxFrac;if(d){var q=d.match(Una);if(q===null)throw Error("bb`"+d);d=q[1];var t=q[3];q=q[5];d!=null&&(f=Vna(d));t!=null&&(e=Vna(t));q!=null?k=Vna(q):t!=null&&e>k&&(k=e)}Wna(h,e,k);d=h.digits;q=h.integerLen;e=h.exponent;
k=[];for(h=d.every(function(w){return!w});q<f;q++)d.unshift(0);for(;q<0;q++)d.unshift(0);q>0?k=d.splice(q,d.length):(k=d,d=[0]);f=[];for(d.length>=b.lgSize&&f.unshift(d.splice(-b.lgSize,d.length).join(""));d.length>b.gSize;)f.unshift(d.splice(-b.gSize,d.length).join(""));d.length&&f.unshift(d.join(""));f=f.join(Mg(c,1));k.length&&(f+=Mg(c,0)+k.join(""));e&&(f+=Mg(c,6)+"+"+e)}else f=Mg(c,9);return f=a<0&&!h?b.negPre+f+b.negSuf:b.posPre+f+b.posSuf},Tna=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},Sna=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}},Wna=function(a,b,c){if(b>c)throw Error("cb`"+b+"`"+c);var d=a.digits,e=d.length-a.integerLen;c=Math.min(Math.max(b,e),c);var f=c+a.integerLen,h=d[f];if(f>0){d.splice(Math.max(a.integerLen,f));for(var k=f;k<d.length;k++)d[k]=0}else for(e=Math.max(0,e),a.integerLen=1,d.length=Math.max(1,f=c+1),d[0]=0,k=1;k<f;k++)d[k]=0;if(h>=5)if(f-1<0){for(h=0;h>f;h--)d.unshift(0),a.integerLen++;d.unshift(1);a.integerLen++}else d[f-1]++;for(;e<Math.max(0,c);e++)d.push(0);
var q=c!==0,t=b+a.integerLen;if(b=d.reduceRight(function(w,B,E,I){B+=w;I[E]=B<10?B:B-10;q&&(I[E]===0&&E>=t?I.pop():q=!1);return B>=10?1:0},0))d.unshift(b),a.integerLen++},Vna=function(a){var b=parseInt(a);if(isNaN(b))throw Error("db`"+a);return b},Yna=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},Zna=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)},Ug=function(a){return a&&a[0]!=="?"?"?"+a:a},$na=function(a){return RegExp("^(https?:)?//").test(a)?(a=l(a.split(/\/\/[^\/]+/)),a.next(),a.next().value):a},coa=function(){if(aoa)return aoa;if(typeof document!=="object"||!document)return aoa=new Set(boa);var a=document.createElement("input");return aoa=new Set(boa.filter(function(b){a.setAttribute("type",b);return a.type===b}))},doa=function(){if(Vg==null&&typeof window!=="undefined")try{window.addEventListener("test",null,Object.defineProperty({},
"passive",{get:function(){return Vg=!0}}))}finally{Vg=Vg||!1}return Vg},Wg=function(a){return doa()?a:!!a.capture},eoa=function(){if(Xg==null){if(typeof document!=="object"||!document||typeof Element!=="function"||!Element)return Xg=!1;if("scrollBehavior"in document.documentElement.style)Xg=!0;else{var a=Element.prototype.scrollTo;Xg=a?!/\{\s*\[native code\]\s*\}/.test(a.toString()):!1}}return Xg},goa=function(){if(typeof document!=="object"||!document)return 0;if(foa==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);foa=0;a.scrollLeft===0&&(a.scrollLeft=1,foa=a.scrollLeft===0?1:2);a.remove()}return foa},ioa=function(a){if(hoa==null){var b=typeof document!=="undefined"?document.head:null;hoa=!(!b||!b.createShadowRoot&&!b.attachShadow)}return hoa&&(a=a.getRootNode?a.getRootNode():
null,typeof ShadowRoot!=="undefined"&&ShadowRoot&&a instanceof ShadowRoot)?a:null},Yg=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},Zg=function(a){return a.composedPath?a.composedPath()[0]:a.target},joa=function(){return typeof __karma__!=="undefined"&&!!__karma__||typeof jasmine!=="undefined"&&!!jasmine||typeof jest!=="undefined"&&!!jest||typeof Mocha!=="undefined"&&!!Mocha},
koa=function(a,b){return this._trackRow(b)},loa=function(a){a&1&&(F(0,"tr",0)(1,"td",3),R(2),G()());a&2&&(a=O(),z(),Jf("padding-top",a._cellPadding)("padding-bottom",a._cellPadding),Bf("colspan",a.numCols),z(),S(" ",a.label," "))},moa=function(a){a&1&&(F(0,"td",3),R(1),G());a&2&&(a=O(2),Jf("padding-top",a._cellPadding)("padding-bottom",a._cellPadding),Bf("colspan",a._firstRowOffset),z(),S(" ",a._firstRowOffset>=a.labelMinRequiredCells?a.label:""," "))},noa=function(a,b){if(a&1){var c=u();F(0,"td",
6)(1,"button",7);M("click",function(f){var h=v(c).$implicit,k=O(2);return x(k._cellClicked(h,f))})("focus",function(f){var h=v(c).$implicit,k=O(2);return x(k._emitActiveDateChange(h,f))});F(2,"span",8);R(3);G();H(4,"span",9);G()()}if(a&2){a=b.$implicit;b=b.$index;var d=O().$index,e=O();Jf("width",e._cellWidth)("padding-top",e._cellPadding)("padding-bottom",e._cellPadding);Bf("data-mat-row",d)("data-mat-col",b);z();Kf("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));D("ngClass",a.cssClasses)("tabindex",e._isActiveCell(d,b)?0:-1);Bf("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));
z();Kf("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);z();S(" ",a.displayValue," ")}},poa=function(a,b){a&1&&(F(0,"tr",1),C(1,moa,2,6,"td",4),Qf(2,noa,5,48,"td",5,ooa),G());if(a&2){a=b.$implicit;b=b.$index;var c=O();z();Of(b===0&&c._firstRowOffset?1:-1);z();Rf(a)}},qoa=function(a){return(a==null?void 0:a.nodeName)==="TD"},roa=function(a){if(qoa(a))var b=
a;else if(qoa(a.parentNode))b=a.parentNode;else{var c;qoa((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},soa=function(a,b,c){return c!==null&&b!==c&&a<c&&a===b},toa=function(a,b,c){return b!==null&&b!==c&&a>=b&&a===c},uoa=function(a,b,c,d){return d&&b!==null&&c!==null&&b!==c&&a>=b&&a<=c},voa=function(a){a=a.changedTouches[0];return document.elementFromPoint(a.clientX,a.clientY)},woa=function(a){return a.buttons===
0||a.detail===0},xoa=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)},$g=function(a){var b=kd.apply(1,arguments);return b.length?b.some(function(c){return a[c]}):a.altKey||a.shiftKey||a.ctrlKey||a.metaKey},ah=function(a){return Array.isArray(a)?a:[a]},bh=function(a){return a!=null&&""+a!=="false"},ch=function(a){return a==null?"":typeof a==="string"?a:a+"px"},dh=function(a){return a instanceof
Rd?a.nativeElement:a},eh=function(a,b){return isNaN(parseFloat(a))||isNaN(Number(a))?b===void 0?0:b:Number(a)},yoa=function(a){if(!a.hasAttribute("tabindex")||a.tabIndex===void 0)return!1;a=a.getAttribute("tabindex");return!(!a||isNaN(parseInt(a,10)))},zoa=function(a){if(!yoa(a))return null;a=parseInt(a.getAttribute("tabindex")||"",10);return isNaN(a)?-1:a},Aoa=function(a){return{matches:a==="all"||a==="",media:a,addListener:function(){},removeListener:function(){}}},Boa=function(a){return a.map(function(b){return b.split(",")}).reduce(function(b,
c){return b.concat(c)}).map(function(b){return b.trim()})},Coa=function(){return null},Doa=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},Foa=function(a,b,c){var d=Eoa(a,b);c=c.trim();d.some(function(e){return e.trim()===c})||(d.push(c),a.setAttribute(b,
d.join(" ")))},fh=function(a,b,c){var d=Eoa(a,b);c=c.trim();d=d.filter(function(e){return e!==c});d.length?a.setAttribute(b,d.join(" ")):a.removeAttribute(b)},Eoa=function(a,b){var c,d;return(d=(c=a.getAttribute(b))==null?void 0:c.match(/\S+/g))!=null?d:[]},Goa=function(a,b){return typeof a==="string"?(b||"")+"/"+a:a},Ioa=function(a,b){a.id||(a.id="cdk-describedby-message-"+b+"-"+Hoa++)},Joa=function(){return Yc(gh)},Koa=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})},Loa=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})},Moa=function(a){return a&&typeof a.connect==="function"&&!(a instanceof W.ConnectableObservable)},hh=function(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c])},Ooa=function(a){if(typeof a!=="number"&&a!=null){var b=l(a.split(Noa));a=b.next().value;return(b=b.next().value)&&b!=="px"?null:parseFloat(a)}return a||null},
Poa=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)}},Qoa=function(a){var b=function(){var c=a.apply(this,[].concat(r(kd.apply(0,arguments))))||this;c.defaultColor=void 0;c.color=void 0;return c};X(b,a);ea.Object.defineProperties(b.prototype,{color:{configurable:!0,enumerable:!0,get:function(){return this._color},set:function(c){c=c||this.defaultColor;c!==this._color&&(this._color&&
this._elementRef.nativeElement.classList.remove("mat-"+this._color),c&&this._elementRef.nativeElement.classList.add("mat-"+c),this._color=c)}}});return b},Roa=function(a){var b=function(){var c=a.apply(this,[].concat(r(kd.apply(0,arguments))))||this;c._disableRipple=!1;return c};X(b,a);ea.Object.defineProperties(b.prototype,{disableRipple:{configurable:!0,enumerable:!0,get:function(){return this._disableRipple},set:function(c){this._disableRipple=bh(c)}}});return b},Soa=function(a){var b=function(){var c=
a.apply(this,[].concat(r(kd.apply(0,arguments))))||this;c._disabled=!1;return c};X(b,a);ea.Object.defineProperties(b.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled},set:function(c){this._disabled=bh(c)}}});return b},Toa=function(){return Yc(ih)},Uoa=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)},Voa=function(a){a&1&&H(0,"mat-pseudo-checkbox",1);a&2&&(a=O(),D("disabled",
a.disabled)("state",a.selected?"checked":"unchecked"))},Woa=function(a){a&1&&H(0,"mat-pseudo-checkbox",3);a&2&&(a=O(),D("disabled",a.disabled))},Xoa=function(a){a&1&&(F(0,"span",4),R(1),G());a&2&&(a=O(),z(),S("(",a.group.label,")"))},Yoa=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},Zoa=function(a,b,c,d){return a<c?a:a+b>c+d?Math.max(0,a-d+b):c},$oa=function(){return{color:"accent"}},apa=function(a,b){a&1&&
(F(0,"th",2)(1,"span",6),R(2),G(),F(3,"span",3),R(4),G()());a&2&&(a=b.$implicit,z(2),lg(a.long),z(2),lg(a.narrow))},cpa=function(a,b,c,d,e){b=a.getYear(b);c=a.getYear(c);a=bpa(a,d,e);return Math.floor((b-a)/24)===Math.floor((c-a)/24)},jh=function(a,b,c,d){return((a.getYear(b)-bpa(a,c,d))%24+24)%24},bpa=function(a,b,c){var d=0;c?d=a.getYear(c)-24+1:b&&(d=a.getYear(b));return d},dpa=function(){},epa=function(a){if(a&1){var b=u();F(0,"mat-month-view",4);pg("activeDateChange",function(c){v(b);var d=O();
og(d.activeDate,c)||(d.activeDate=c);return x(c)});M("_userSelection",function(c){v(b);var d=O();return x(d._dateSelected(c))})("dragStarted",function(c){v(b);var d=O();return x(d._dragStarted(c))})("dragEnded",function(c){v(b);var d=O();return x(d._dragEnded(c))});G()}a&2&&(a=O(),ng("activeDate",a.activeDate),D("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))},fpa=function(a){if(a&1){var b=u();F(0,"mat-year-view",5);pg("activeDateChange",function(c){v(b);var d=O();og(d.activeDate,c)||(d.activeDate=c);return x(c)});M("monthSelected",function(c){v(b);var d=O();return x(d._monthSelectedInYearView(c))})("selectedChange",function(c){v(b);var d=O();return x(d._goToDateInView(c,"month"))});G()}a&2&&(a=O(),ng("activeDate",a.activeDate),D("selected",a.selected)("dateFilter",
a.dateFilter)("maxDate",a.maxDate)("minDate",a.minDate)("dateClass",a.dateClass))},gpa=function(a){if(a&1){var b=u();F(0,"mat-multi-year-view",6);pg("activeDateChange",function(c){v(b);var d=O();og(d.activeDate,c)||(d.activeDate=c);return x(c)});M("yearSelected",function(c){v(b);var d=O();return x(d._yearSelectedInMultiYearView(c))})("selectedChange",function(c){v(b);var d=O();return x(d._goToDateInView(c,"year"))});G()}a&2&&(a=O(),ng("activeDate",a.activeDate),D("selected",a.selected)("dateFilter",
a.dateFilter)("maxDate",a.maxDate)("minDate",a.minDate)("dateClass",a.dateClass))},hpa=function(a){return a==null||(typeof a==="string"||Array.isArray(a))&&a.length===0},ipa=function(a){return function(b){if(hpa(b.value)||hpa(a))return null;var c=parseFloat(b.value);return!isNaN(c)&&c<a?{min:{min:a,actual:b.value}}:null}},jpa=function(a){return hpa(a.value)?{required:!0}:null},kpa=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}},mpa=function(a){if(!a)return lpa;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(hpa(d.value))return null;d=d.value;return c.test(d)?null:{pattern:{requiredPattern:b,actualValue:d}}}},lpa=function(){return null},npa=function(a){return a!=null},opa=function(a){return We(a)?(0,W.from)(a):a},ppa=function(a){var b={};a.forEach(function(c){b=c!=null?
Object.assign({},b,c):b});return Object.keys(b).length===0?null:b},qpa=function(a,b){return b.map(function(c){return c(a)})},rpa=function(a){return a.map(function(b){return b.validate?function(c){return b.validate(c)}:b})},spa=function(a){if(!a)return null;var b=a.filter(npa);return b.length==0?null:function(c){return ppa(qpa(c,b))}},tpa=function(a){return a!=null?spa(rpa(a)):null},upa=function(a){if(!a)return null;var b=a.filter(npa);return b.length==0?null:function(c){c=qpa(c,b).map(opa);return(0,W.forkJoin)(c).pipe(y(ppa))}},
vpa=function(a){return a!=null?upa(rpa(a)):null},wpa=function(a,b){return a===null?[b]:Array.isArray(a)?[].concat(r(a),[b]):[a,b]},xpa=function(a,b){return[].concat(r(b.path),[a])},kh=function(a,b,c){c=c===void 0?"whenDisabledForLegacyCode":c;ypa(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)}zpa(a,b);Apa(a,b);Bpa(a,b);Cpa(a,b)},Epa=function(a,b){var c=function(){};b.valueAccessor&&(b.valueAccessor.registerOnChange(c),
b.valueAccessor.registerOnTouched(c));Dpa(a,b);a&&(b._invokeOnDestroyCallbacks(),a._registerOnCollectionChange(function(){}))},Fpa=function(a,b){a.forEach(function(c){c.registerOnValidatorChange&&c.registerOnValidatorChange(b)})},Cpa=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)})}},ypa=function(a,b){var c=a._rawValidators;b.validator!==null?Gpa(a,
wpa(c,b.validator)):typeof c==="function"&&Gpa(a,[c]);c=a._rawAsyncValidators;b.asyncValidator!==null?Hpa(a,wpa(c,b.asyncValidator)):typeof c==="function"&&Hpa(a,[c]);c=function(){return lh(a)};Fpa(b._rawValidators,c);Fpa(b._rawAsyncValidators,c)},Dpa=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(){};Fpa(b._rawValidators,a);Fpa(b._rawAsyncValidators,a);return c},zpa=function(a,b){b.valueAccessor.registerOnChange(function(c){a._pendingValue=c;a._pendingChange=!0;a._pendingDirty=!0;a.updateOn==="change"&&Ipa(a,b)})},Bpa=function(a,b){b.valueAccessor.registerOnTouched(function(){a._pendingTouched=!0;a.updateOn==="blur"&&a._pendingChange&&Ipa(a,
b);a.updateOn!=="submit"&&Jpa(a)})},Ipa=function(a,b){a._pendingDirty&&Kpa(a);a.setValue(a._pendingValue,{emitModelToViewChange:!1});b.viewToModelUpdate(a._pendingValue);a._pendingChange=!1},Apa=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)})},Lpa=function(a,b){if(!a.hasOwnProperty("model"))return!1;a=a.model;return a.isFirstChange()?!0:!Object.is(b,a.currentValue)},Mpa=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)})},Npa=function(a){if(!a)return null;Array.isArray(a);var b=void 0,c=void 0,d=void 0;a.forEach(function(e){e.constructor===mh?b=e:Object.getPrototypeOf(e.constructor)===nh?c=e:d=e});return d?d:c?c:b?b:null},Opa=function(a){return(oh(a)?a.validators:a)||null},oh=function(a){return a!=null&&!Array.isArray(a)&&typeof a==="object"},Ppa=function(a,
b){a._forEachChild(function(c,d){if(b[d]===void 0)throw new Lc(1002,"");})},Qpa=function(a){return typeof a==="object"&&a!==null&&Object.keys(a).length===2&&"value"in a&&"disabled"in a},ph=function(a,b){return{type:7,name:a,definitions:b,options:{}}},qh=function(a,b){return{type:4,styles:b===void 0?null:b,timings:a}},Rpa=function(a){return{type:3,steps:a,options:null}},rh=function(a){return{type:6,styles:a,offset:null}},sh=function(a,b){return{type:0,name:a,styles:b,options:void 0}},th=function(a){return{type:5,
steps:a}},uh=function(a,b,c){return{type:1,expr:a,animation:b,options:c===void 0?null:c}},Spa=function(){var a={optional:!0};return{type:11,selector:"@*",animation:{type:9,options:null},options:a===void 0?null:a}},Tpa=function(a){a&1&&H(0,"span",19)},Upa=function(a){a&1&&(F(0,"label",18),Yf(1,1),C(2,Tpa,1,0,"span",19),G());a&2&&(a=O(2),D("floating",a._shouldLabelFloat())("monitorResize",a._hasOutline())("id",a._labelId),Bf("for",a._control.disableAutomaticLabeling?null:a._control.id),z(2),Of(!a.hideRequiredMarker&&
a._control.required?2:-1))},Vpa=function(a){a&1&&C(0,Upa,3,5,"label",18);a&2&&(a=O(),Of(a._hasFloatingLabel()?0:-1))},Wpa=function(a){a&1&&H(0,"div",5)},Xpa=function(){},Ypa=function(a){a&1&&C(0,Xpa,0,0,"ng-template",11);a&2&&(O(2),a=Q(1),D("ngTemplateOutlet",a))},Zpa=function(a){a&1&&(F(0,"div",7),C(1,Ypa,1,1,null,11),G());a&2&&(a=O(),D("matFormFieldNotchedOutlineOpen",a._shouldLabelFloat()),z(),Of(a._forceDisplayInfixLabel()?-1:1))},$pa=function(a){a&1&&(F(0,"div",8,2),Yf(2,2),G())},aqa=function(a){a&
1&&(F(0,"div",9,3),Yf(2,3),G())},bqa=function(){},cqa=function(a){a&1&&C(0,bqa,0,0,"ng-template",11);a&2&&(O(),a=Q(1),D("ngTemplateOutlet",a))},dqa=function(a){a&1&&(F(0,"div",12),Yf(1,4),G())},eqa=function(a){a&1&&(F(0,"div",13),Yf(1,5),G())},fqa=function(a){a&1&&H(0,"div",14)},gqa=function(a){a&1&&(F(0,"div",16),Yf(1,6),G());a&2&&(a=O(),D("@transitionMessages",a._subscriptAnimationState))},hqa=function(a){a&1&&(F(0,"mat-hint",20),R(1),G());a&2&&(a=O(2),D("id",a._hintLabelId),z(),lg(a.hintLabel))},
iqa=function(a){a&1&&(F(0,"div",17),C(1,hqa,2,2,"mat-hint",20),Yf(2,7),H(3,"div",21),Yf(4,8),G());a&2&&(a=O(),D("@transitionMessages",a._subscriptAnimationState),z(),Of(a.hintLabel?1:-1))},jqa=function(){},kqa=function(a){a&1&&(Gd(),F(0,"svg",2),H(1,"path",3),G())},wh=function(a,b){b=b===void 0?{}:b;if(Cc(a))return a;a=String(a).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;");b.preserveSpaces&&(a=a.replace(/(^|[\r\n\t ]) /g,"$1&#160;"));
b.preserveNewlines&&(a=a.replace(/(\r\n|\n|\r)/g,"<br>"));b.preserveTabs&&(a=a.replace(/(\t+)/g,'<span style="white-space:pre">$1</span>'));return vh(a)},yh=function(a){var b=wh("");return vh(a.map(function(c){return xh(wh(c))}).join(xh(b).toString()))},nqa=function(a){if(!lqa.test(a))throw Error("aa");if(mqa.indexOf(a.toUpperCase())!==-1)throw Error("aa");},zh=function(a,b,c){nqa(a);var d="<"+a;b&&(d+=oqa(b));Array.isArray(c)||(c=c===void 0?[]:[c]);pqa.indexOf(a.toUpperCase())!==-1?d+=">":(b=yh(c.map(function(e){return Cc(e)?
e:wh(String(e))})),d+=">"+b.toString()+"</"+a+">");return vh(d)},oqa=function(a){for(var b="",c=Object.keys(a),d=0;d<c.length;d++){var e=c[d],f=a[e];if(!lqa.test(e))throw Error("aa");if(f!==void 0&&f!==null){if(/^on/i.test(e))throw Error("aa");qqa.indexOf(e.toLowerCase())!==-1&&(f=f instanceof wc?f.toString():mea(String(f))||"about:invalid#zClosurez");f=e+'="'+wh(String(f))+'"';b+=" "+f}}return b},Bh=function(a){var b=kd.apply(1,arguments);if(b.length===0)return Ah(a[0]);for(var c=a[0],d=0;d<b.length;d++)c+=
encodeURIComponent(b[d])+a[d+1];return Ah(c)},rqa=function(a){a=new URL(a);if(a.pathname.includes("viewer")){var b=a.searchParams;a=b.get("trace_id");var c,d=(c=b.get("span_id"))!=null?c:void 0;c=b.get("start_seconds");if(!a)return null;a=new URL("https://nexus.corp.google.com/trace/"+(a+(d?"/span/"+d:"")));c&&a.searchParams.set("start_seconds",c);return a}if(a.pathname.includes("search")){c=a.searchParams.get("q");if(!c)return null;c=bna("dapper_link",c);c=Sma(c);a=new URL("https://nexus.corp.google.com/debug/dashboard");
a.searchParams.set("filters",c);a.searchParams.set("tab","dapper");return a}return null},tqa=function(a){a=a.searchParams;var b=a.get("ota"),c=a.get("youtube_persona"),d=a.getAll("label");if(b)return{account:b,accountType:"ota"};if(c)return{account:c,accountType:"youtube_persona"};b=l(d);for(c=b.next();!c.done;c=b.next()){c=c.value;d=l(sqa.keys());for(var e=d.next();!e.done;e=d.next())if(e=e.value,c.startsWith(e))return{account:c.replace(e,""),accountType:sqa.get(e)}}var f,h;return{account:(h=(f=
a.get("account"))!=null?f:a.get("gaia"))!=null?h:"",accountType:"gaia"}},uqa=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===lb)return{buffer:Ch(a)||Zba(),isImmutable:!0};if(a instanceof Uint8Array)return{buffer:new Uint8Array(a.buffer,a.byteOffset,
a.byteLength),isImmutable:!1};throw Error("nb");},wqa=function(a){return Array.isArray(a)?a[0]instanceof Dh?a:[vqa,a]:[a,void 0]},Fqa=function(a){var b=a[xqa];if(!b){var c=yqa(a),d=zqa(a),e=d.deserializeBinaryMessageSet;b=e?function(f,h){return e(f,h,d)}:function(f,h){for(;Aqa(h)&&h.nextWireType_!=4;){var k=h.nextField_,q=d[k];if(!q){var t=d.extensions;t&&(t=t[k])&&(q=d[k]=Bqa(t))}q&&q(h,f,k)||(q=h,k=q.fieldCursor_,Cqa(q),q.discardUnknownFields?q=void 0:(t=q.decoder_.getCursor()-k,q.decoder_.cursor_=
k,q=q.decoder_.readByteString(t)),k=f,q&&(tb||(tb=Symbol()),(t=k[tb])?t.push(q):k[tb]=[q]))}c===Dqa||c===Eqa||c.onlySubmessages||(f[ub()]=c)};a[xqa]=b}return b},Bqa=function(a){a=wqa(a);var b=a[0].$$binaryReaderFn;if(a=a[1]){var c=Fqa(a),d=zqa(a).messageMetadata;return function(e,f,h){return b(e,f,h,d,c)}}return b},Gqa=function(a,b,c){var d=c[1];if(d){var e=d[Eh];var f=e?e.messageMetadata:wda(d[0]);a[b]=e!=null?e:d}f&&f===uda?(a.mapFields||(a.mapFields=new Set)).add(b):c[0]&&(a.repeatedFields||(a.repeatedFields=
new Set)).add(b)},Hqa=function(a,b){return[a.$$isRepeated,!b||b[0]>0?void 0:b]},yqa=function(a){var b=a[Eh];if(b)return b;b=Iqa(a,a[Eh]=new Jqa,Hqa,Hqa,Gqa);if(!b.extensions&&!b.repeatedFields&&!b.mapFields){var c=!0,d;for(d in b)isNaN(d)||(c=!1);c?(wda(a[0])===uda?Eqa?b=Eqa:(b=new Jqa,b.messageMetadata=wda(!0),b=Eqa=b):b=Dqa||(Dqa=new Jqa),b=a[Eh]=b):b.onlySubmessages=!0}return b},Kqa=function(a,b,c){a[b]=c},Lqa=function(a){return Array.isArray(a)&&typeof a[0]==="number"&&a[0]>0},Iqa=function(a,
b,c,d,e){e=e===void 0?Kqa:e;b.messageMetadata=wda(a[0]);var f=0,h=a[++f];h&&h.constructor===Object&&(b.extensions=h,h=a[++f],typeof h==="function"&&(b.deserializeBinaryMessageSet=h,b.makeMessageSetExtensionWriterFn=a[++f],h=a[++f]));for(var k={};Lqa(h);){for(var q=0;q<h.length;q++)k[h[q]]=h;h=a[++f]}for(q=1;h!==void 0;){typeof h==="number"&&(q+=h,h=a[++f]);var t=void 0;if(h instanceof Dh)var w=h;else w=Mqa,f--;if(w.$$isMsg){h=a[++f];t=a;var B=f;typeof h=="function"&&(h=h(),t[B]=h);t=h}h=a[++f];B=
q+1;typeof h==="number"&&h<0&&(B-=h,h=a[++f]);for(;q<B;q++){var E=k[q];e(b,q,t?d(w,t,E):c(w,E))}}return b},Pqa=function(a){var b=a[Nqa];if(!b){var c=Fh(a);b=function(d,e){return Oqa(d,e,c)};a[Nqa]=b}return b},Qqa=function(a){return a.$$binaryWriterFn},Rqa=function(a,b){var c,d,e=a.$$binaryWriterFn;return function(f,h,k){return e(f,h,k,d||(d=Fh(b).messageMetadata),c||(c=Pqa(b)))}},Fh=function(a){var b=a[Sqa];if(b)return b;b=Iqa(a,a[Sqa]={},Qqa,Rqa);Tqa(a);return b},Uqa=function(a,b){var c=a.$$binaryReaderFn;
return b?function(d,e,f){return c(d,e,f,b)}:c},Vqa=function(a,b,c){var d=a.$$binaryReaderFn,e,f;return function(h,k,q){return d(h,k,q,f||(f=zqa(b).messageMetadata),e||(e=Fqa(b)),c)}},zqa=function(a){var b=a[Wqa];if(b)return b;yqa(a);b=Iqa(a,a[Wqa]={},Uqa,Vqa);Tqa(a);return b},Tqa=function(a){Wqa in a&&Eh in a&&Sqa in a&&(a.length=0)},Xqa=function(a,b){var c=a[b];if(c)return c;if(c=a.extensions)if(c=c[b]){c=wqa(c);var d=c[0].$$binaryWriterFn;if(c=c[1]){var e=Pqa(c),f=Fh(c).messageMetadata;c=(c=a.makeMessageSetExtensionWriterFn)?
c(f,e):function(h,k,q){return d(h,k,q,f,e)}}else c=d;return a[b]=c}},Oqa=function(a,b,c){for(var d=Yb(a),e=jb(d),f=a.length,h=f+(d&256?-1:0),k=d&512?1:0;k<h;k++){var q=a[k];if(q!=null){var t=k-e,w=Xqa(c,t);w&&w(b,q,t)}}if(d&256){d=a[f-1];for(var B in d)e=+B,Number.isNaN(e)||(f=d[B],f!=null&&(h=Xqa(c,e))&&h(b,f,e))}if(a=tb?a[tb]:void 0)for(Gh(b,b.encoder_.end()),c=0;c<a.length;c++)Gh(b,Ch(a[c])||Zba())},Hh=function(a,b){return new Dh(a,b,!1,!1)},Ih=function(a,b,c){$b(a,Yb(a),b,c)},Yqa=function(a,b,
c,d,e){b=b instanceof Y?b.internalArray_:Array.isArray(b)?m(b,d[0],d[1]):void 0;if(b!=null){Jh(a,c,2);c=a.encoder_.end();Gh(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_++}},Zqa=function(a){a!=null&&(a=a.value_||"",a=typeof a==="string"?a:new Uint8Array(a));return 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.internalArray_;
b=Yb(a);c=bc(a,b,2);if(c!=null&&!(Array.isArray(c)||typeof c==="object"&&nb(c)))throw Error("rb`"+Db(c));var e=Pb(c,d,!0,b);if(!(e instanceof d))throw Error("sb`"+e.constructor.displayName+"`"+d.displayName);d=b&2;var f=fb(e.internalArray_);f&&!d?e=Tb(e):!f&&d&&(d=e.internalArray_,f=Yb(d),e=f&2?e:Xb(e.constructor,Zb(d,f,!0)));c!==e&&$b(a,b,2,e);a=e}return a},bra=function(a,b){return function(c,d){if($qa.length){var e=$qa.pop();e.setOptions(d);e.decoder_.init(c,void 0,void 0,d);c=e}else c=new ara(c,
d);try{var f=new a,h=f.internalArray_;Fqa(b)(h,c);var k=f}finally{c.free()}return k}},cra=function(a){return function(b){b=JSON.parse(b);if(!Array.isArray(b))throw Error("X`"+Db(b)+"`"+b);gb(b);return new a(b)}},Mh=function(a){return function(b){return dra(a,b)}},Nh=function(a){a&&typeof a.dispose=="function"&&a.dispose()},era=function(a){for(var b=0,c=arguments.length;b<c;++b){var d=arguments[b];Za(d)?era.apply(null,d):Nh(d)}},fra=function(a){var b=a,c;return function(){if(b){var d=b;b=void 0;c=
d.apply(this,arguments)}return c}},gra=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}},Oh=function(a,b){var c=a?hra(a):void 0,d=b?hra(b):void 0;if(!c||!d||c.length!=d.length)return!1;for(var e=0;e<c.length;e++)if(d=c[e],!ira(a[d],b[d]))return!1;return!0},
hra=function(a){return[].concat(r(Object.keys(a)),r(Object.getOwnPropertySymbols(a)))},ira=function(a,b){if(Array.isArray(a)&&Array.isArray(b)){if(a.length!==b.length)return!1;a=[].concat(r(a)).sort();var c=[].concat(r(b)).sort();return a.every(function(d,e){return c[e]===d})}return a===b},Ph=function(a){return(0,W.isObservable)(a)?a:We(a)?(0,W.from)(Promise.resolve(a)):(0,W.of)(a)},lra=function(a,b,c){return jra[c.paths](a.root,b.root,c.matrixParams)&&kra[c.queryParams](a.queryParams,b.queryParams)&&
!(c.fragment==="exact"&&a.fragment!==b.fragment)},mra=function(a,b){return Oh(a,b)},ora=function(a,b,c){if(!Qh(a.segments,b.segments)||!nra(a.segments,b.segments,c)||a.numberOfChildren!==b.numberOfChildren)return!1;for(var d in b.children)if(!a.children[d]||!ora(a.children[d],b.children[d],c))return!1;return!0},pra=function(a,b){return Object.keys(b).length<=Object.keys(a).length&&Object.keys(b).every(function(c){return ira(a[c],b[c])})},rra=function(a,b,c){return qra(a,b,b.segments,c)},qra=function(a,
b,c,d){if(a.segments.length>c.length)return a=a.segments.slice(0,c.length),Qh(a,c)&&!b.hasChildren()&&nra(a,c,d)?!0:!1;if(a.segments.length===c.length){if(!Qh(a.segments,c)||!nra(a.segments,c,d))return!1;for(var e in b.children)if(!a.children[e]||!rra(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 Qh(a.segments,e)&&nra(a.segments,e,d)&&a.children.primary?qra(a.children.primary,b,c,d):!1},nra=function(a,b,c){return b.every(function(d,
e){return kra[c](a[e].parameters,d.parameters)})},sra=function(a,b){return Qh(a,b)&&a.every(function(c,d){return Oh(c.parameters,b[d].parameters)})},Qh=function(a,b){return a.length!==b.length?!1:a.every(function(c,d){return c.path===b[d].path})},tra=function(a,b){var c=[];Object.entries(a.children).forEach(function(d){var e=l(d);d=e.next().value;e=e.next().value;d==="primary"&&(c=c.concat(b(e,d)))});Object.entries(a.children).forEach(function(d){var e=l(d);d=e.next().value;e=e.next().value;d!=="primary"&&
(c=c.concat(b(e,d)))});return c},wra=function(a){return a.segments.map(function(b){return ura(b.path)+vra(b.parameters)}).join("/")},Rh=function(a,b){if(!a.hasChildren())return wra(a);if(b){b=a.children.primary?Rh(a.children.primary,!1):"";var c=[];Object.entries(a.children).forEach(function(d){var e=l(d);d=e.next().value;e=e.next().value;d!=="primary"&&c.push(d+":"+Rh(e,!1))});return c.length>0?b+"("+c.join("//")+")":b}b=tra(a,function(d,e){return e==="primary"?[Rh(a.children.primary,!1)]:[e+":"+
Rh(d,!1)]});return Object.keys(a.children).length===1&&a.children.primary!=null?wra(a)+"/"+b[0]:wra(a)+"/("+b.join("//")+")"},xra=function(a){return encodeURIComponent(a).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")},yra=function(a){return xra(a).replace(/%3B/gi,";")},ura=function(a){return xra(a).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")},vra=function(a){return Object.entries(a).map(function(b){var c=l(b);b=c.next().value;c=c.next().value;
return";"+ura(b)+"="+ura(c)}).join("")},zra=function(a){a=Object.entries(a).map(function(b){b=l(b);var c=b.next().value;b=b.next().value;return Array.isArray(b)?b.map(function(d){return yra(c)+"="+yra(d)}).join("&"):yra(c)+"="+yra(b)}).filter(function(b){return b});return a.length?"?"+a.join("&"):""},Bra=function(a){return(a=a.match(Ara))?a[0]:""},Cra=function(a){var b={};return a.segments.length>0?new Sh([],(b.primary=a,b)):a},Dra=function(a){for(var b={},c=l(Object.entries(a.children)),d=c.next();!d.done;d=
c.next()){var e=l(d.value);d=e.next().value;e=e.next().value;e=Dra(e);if(d==="primary"&&e.segments.length===0&&e.hasChildren())for(d=l(Object.entries(e.children)),e=d.next();!e.done;e=d.next()){var f=l(e.value);e=f.next().value;f=f.next().value;b[e]=f}else if(e.segments.length>0||e.hasChildren())b[d]=e}a=new Sh(a.segments,b);a.numberOfChildren===1&&a.children.primary&&(b=a.children.primary,a=new Sh(a.segments.concat(b.segments),b.children));return a},Uh=function(a){return a instanceof Th},Era=function(a){function b(f){for(var h=
{},k=l(f.children),q=k.next();!q.done;q=k.next()){q=q.value;var t=b(q);h[q.outlet]=t}h=new Sh(f.url,h);f===a&&(c=h);return h}var c,d=b(a.root);d=Cra(d);var e;return(e=c)!=null?e:d},Kra=function(a,b,c,d){for(var e=a;e.parent;)e=e.parent;if(b.length===0)return Fra(e,e,e,c,d);b=Gra(b);if(b.isAbsolute&&b.commands.length===1&&b.commands[0]=="/")return Fra(e,e,new Sh([],{}),c,d);var f=e;if(b.isAbsolute)a=new Hra(f,!0,0);else if(a)if(a.parent===null)a=new Hra(a,!0,0);else{f=a;a=a.segments.length-1+(Ira(b.commands[0])?
0:1);for(var h=b.numberOfDoubleDots;h>a;){h-=a;f=f.parent;if(!f)throw new Lc(4005,!1);a=f.segments.length}a=new Hra(f,!1,a-h)}else a=new Hra(f,!1,NaN);b=a.processChildren?Vh(a.segmentGroup,a.index,b.commands):Jra(a.segmentGroup,a.index,b.commands);return Fra(e,a.segmentGroup,b,c,d)},Ira=function(a){return typeof a==="object"&&a!=null&&!a.outlets&&!a.segmentPath},Wh=function(a){return typeof a==="object"&&a!=null&&a.outlets},Fra=function(a,b,c,d,e){var f={};d&&Object.entries(d).forEach(function(h){var k=
l(h);h=k.next().value;k=k.next().value;f[h]=Array.isArray(k)?k.map(function(q){return""+q}):""+k});a=a===b?c:Lra(a,b,c);a=Cra(Dra(a));return new Th(a,f,e)},Lra=function(a,b,c){var d={};Object.entries(a.children).forEach(function(e){var f=l(e);e=f.next().value;f=f.next().value;d[e]=f===b?c:Lra(f,b,c)});return new Sh(a.segments,d)},Gra=function(a){if(typeof a[0]==="string"&&a.length===1&&a[0]==="/")return new Mra(!0,0,a);var b=0,c=!1;a=a.reduce(function(d,e,f){if(typeof e==="object"&&e!=null){if(e.outlets){var h=
{};Object.entries(e.outlets).forEach(function(k){var q=l(k);k=q.next().value;q=q.next().value;h[k]=typeof q==="string"?q.split("/"):q});return[].concat(r(d),[{outlets:h}])}if(e.segmentPath)return[].concat(r(d),[e.segmentPath])}return typeof e!=="string"?[].concat(r(d),[e]):f===0?(e.split("/").forEach(function(k,q){if(q!=0||k!==".")q==0&&k===""?c=!0:k===".."?b++:k!=""&&d.push(k)}),d):[].concat(r(d),[e])},[]);return new Mra(c,b,a)},Nra=function(a){if(Wh(a[0]))return a[0].outlets;var b={};return b.primary=
a,b},Jra=function(a,b,c){a!=null||(a=new Sh([],{}));if(a.segments.length===0&&a.hasChildren())return Vh(a,b,c);a:{var d=a;for(var e=0,f=b,h={match:!1,pathIndex:0,commandIndex:0};f<d.segments.length;){if(e>=c.length){d=h;break a}var k=d.segments[f],q=c[e];if(Wh(q))break;q=""+q;var t=e<c.length-1?c[e+1]:null;if(f>0&&q===void 0)break;if(q&&t&&typeof t==="object"&&t.outlets===void 0){if(q!=k.path||!Oh(t,k.parameters)){d=h;break a}e+=2}else{t={};if(q!=k.path||!Oh(t,k.parameters)){d=h;break a}e++}f++}d=
{match:!0,pathIndex:f,commandIndex:e}}e=c.slice(d.commandIndex);return d.match&&d.pathIndex<a.segments.length?(b=new Sh(a.segments.slice(0,d.pathIndex),{}),b.children.primary=new Sh(a.segments.slice(d.pathIndex),a.children),Vh(b,0,e)):d.match&&e.length===0?new Sh(a.segments,{}):d.match&&!a.hasChildren()?Ora(a,b,c):d.match?Vh(a,0,e):Ora(a,b,c)},Vh=function(a,b,c){if(c.length===0)return new Sh(a.segments,{});var d=Nra(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=Vh(a.children.primary,b,c),new Sh(a.segments,c.children);Object.entries(d).forEach(function(f){var h=l(f);f=h.next().value;h=h.next().value;typeof h==="string"&&(h=[h]);h!==null&&(e[f]=Jra(a.children[f],b,h))});Object.entries(a.children).forEach(function(f){var h=l(f);f=h.next().value;h=h.next().value;d[f]===void 0&&(e[f]=h)});return new Sh(a.segments,e)},Ora=function(a,b,c){for(var d=a.segments.slice(0,b),e=0;e<c.length;){var f=
c[e];if(Wh(f))return a=Pra(f.outlets),new Sh(d,a);if(e===0&&Ira(c[0]))d.push(new Xh(a.segments[b].path,Qra(c[0]))),e++;else{f=Wh(f)?f.outlets.primary:""+f;var h=e<c.length-1?c[e+1]:null;f&&h&&Ira(h)?(d.push(new Xh(f,Qra(h))),e+=2):(d.push(new Xh(f,{})),e++)}}return new Sh(d,{})},Pra=function(a){var b={};Object.entries(a).forEach(function(c){var d=l(c);c=d.next().value;d=d.next().value;typeof d==="string"&&(d=[d]);d!==null&&(b[c]=Ora(new Sh([],{}),0,d))});return b},Qra=function(a){var b={};Object.entries(a).forEach(function(c){var d=
l(c);c=d.next().value;d=d.next().value;return b[c]=""+d});return b},Rra=function(a,b){if(a===b.value)return b;b=l(b.children);for(var c=b.next();!c.done;c=b.next())if(c=Rra(a,c.value))return c;return null},Sra=function(a,b){if(a===b.value)return[b];for(var c=l(b.children),d=c.next();!d.done;d=c.next())if(d=Sra(a,d.value),d.length)return d.unshift(b),d;return[]},Yh=function(a){var b={};a&&a.children.forEach(function(c){return b[c.value.outlet]=c});return b},Tra=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[Zh]=
d.title);return a},Ura=function(a,b){b.value._routerState=a;b.children.forEach(function(c){return Ura(a,c)})},Vra=function(a){var b=a.children.length>0?" { "+a.children.map(Vra).join(", ")+" } ":"";return""+a.value+b},Wra=function(a){if(a.snapshot){var b=a.snapshot,c=a._futureSnapshot;a.snapshot=c;Oh(b.queryParams,c.queryParams)||a.queryParamsSubject.next(c.queryParams);b.fragment!==c.fragment&&a.fragmentSubject.next(c.fragment);Oh(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(!Oh(d[f],e[f])){d=!1;break a}d=!0}}d||a.urlSubject.next(c.url);Oh(b.data,c.data)||a.dataSubject.next(c.data)}else a.snapshot=a._futureSnapshot,a.dataSubject.next(a._futureSnapshot.data)},Xra=function(a,b){var c=Oh(a.params,b.params)&&sra(a.url,b.url),d=!a.parent!==!b.parent;return c&&!d&&(!a.parent||Xra(a.parent,b.parent))},$ra=function(a,b,c){if(c&&a.shouldReuseRoute(b.value,c.value.snapshot)){var d=c.value;d._futureSnapshot=
b.value;b=Yra(a,b,c);return new $h(d,b)}d=Zra(b.value);b=b.children.map(function(e){return $ra(a,e)});return new $h(d,b)},Yra=function(a,b,c){return b.children.map(function(d){for(var e=l(c.children),f=e.next();!f.done;f=e.next())if(f=f.value,a.shouldReuseRoute(d.value,f.value.snapshot))return $ra(a,d,f);return $ra(a,d)})},Zra=function(a){return new ai(new W.BehaviorSubject(a.url),new W.BehaviorSubject(a.params),new W.BehaviorSubject(a.queryParams),new W.BehaviorSubject(a.fragment),new W.BehaviorSubject(a.data),
a.outlet,a.component,a)},bsa=function(a){var b=Uh(a)?{redirectTo:a,navigationBehaviorOptions:void 0}:a;a=b.redirectTo;b=b.navigationBehaviorOptions;var c=asa(0);c.url=a;c.navigationBehaviorOptions=b;return c},asa=function(a){var b=Error("Bb`");b.ngNavigationCancelingError=!0;b.cancellationCode=a;return b},csa=function(a){return!!a&&a.ngNavigationCancelingError},dsa=function(a,b){a.providers&&!a._injector&&(a._injector=Kja(a.providers,b,"Route: "+a.path));var c;return(c=a._injector)!=null?c:b},esa=
function(a){var b=a.children&&a.children.map(esa);a=b?Object.assign({},a,{children:b}):Object.assign({},a);a.component||a.loadComponent||!b&&!a.loadChildren||!a.outlet||a.outlet==="primary"||(a.component=bi);return a},ci=function(a){return a.outlet||"primary"},fsa=function(a,b){var c=a.filter(function(d){return ci(d)===b});c.push.apply(c,r(a.filter(function(d){return ci(d)!==b})));return c},di=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},ei=function(){return pf(function(a){return(0,W.combineLatest)(a.map(function(b){return b.pipe(ef(),of(gsa))})).pipe(y(function(b){b=l(b);for(var c=b.next();!c.done;c=b.next())if(c=c.value,c!==!0){if(c===gsa)return gsa;if(c===!1||Uh(c))return c}return!0}),te(function(b){return b!==gsa}),ef())})},fi=function(a,b){var c=
Symbol(),d=b.get(a,c);return d===c?typeof a!=="function"||wea(a)!==null?b.get(a):a:d},gi=function(a,b,c,d,e){e=e===void 0?{canDeactivateChecks:[],canActivateChecks:[]}:e;var f=Yh(b);a.children.forEach(function(h){var k=f[h.value.outlet],q=d.concat([h.value]),t=e;t=t===void 0?{canDeactivateChecks:[],canActivateChecks:[]}:t;var w=h.value,B=k?k.value:null,E=c?c.getContext(h.value.outlet):null;if(B&&w.routeConfig===B.routeConfig){var I=hsa(B,w,w.routeConfig.runGuardsAndResolvers);I?t.canActivateChecks.push(new isa(q)):
(w.data=B.data,w._resolvedData=B._resolvedData);w.component?gi(h,k,E?E.children:null,q,t):gi(h,k,c,q,t);I&&E&&E.outlet&&E.outlet.isActivated&&t.canDeactivateChecks.push(new jsa(E.outlet.component,B))}else B&&hi(k,E,t),t.canActivateChecks.push(new isa(q)),w.component?gi(h,null,E?E.children:null,q,t):gi(h,null,c,q,t);delete f[h.value.outlet]});Object.entries(f).forEach(function(h){var k=l(h);h=k.next().value;k=k.next().value;return hi(k,c.getContext(h),e)});return e},hsa=function(a,b,c){if(typeof c===
"function")return c(a,b);switch(c){case "pathParamsChange":return!Qh(a.url,b.url);case "pathParamsOrQueryParamsChange":return!Qh(a.url,b.url)||!Oh(a.queryParams,b.queryParams);case "always":return!0;case "paramsOrQueryParamsChange":return!Xra(a,b)||!Oh(a.queryParams,b.queryParams);default:return!Xra(a,b)}},hi=function(a,b,c){var d=Yh(a),e=a.value;Object.entries(d).forEach(function(f){var h=l(f);f=h.next().value;h=h.next().value;e.component?b?hi(h,b.children.getContext(f),c):hi(h,null,c):hi(h,b,c)});
e.component?b&&b.outlet&&b.outlet.isActivated?c.canDeactivateChecks.push(new jsa(b.outlet.component,e)):c.canDeactivateChecks.push(new jsa(null,e)):c.canDeactivateChecks.push(new jsa(null,e))},ii=function(a){return typeof a==="function"},ksa=function(a){return a instanceof W.EmptyError||(a==null?void 0:a.name)==="EmptyError"},nsa=function(a,b){return pe(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?
(0,W.of)(Object.assign({},c,{guardsResult:!0})):lsa(f,d,e,a).pipe(pe(function(k){return k&&typeof k==="boolean"?msa(d,h,a,b):(0,W.of)(k)}),y(function(k){return Object.assign({},c,{guardsResult:k})}))})},lsa=function(a,b,c,d){return(0,W.from)(a).pipe(pe(function(e){return osa(e.component,e.route,c,b,d)}),hf(function(e){return e!==!0},!0))},msa=function(a,b,c,d){return(0,W.from)(b).pipe(pe(function(e){var f=W.concat;var h=e.route.parent;h!==null&&d&&d(new psa(h));h=(0,W.of)(!0);var k=e.route;k!==null&&
d&&d(new qsa(k));k=(0,W.of)(!0);return f.call(W,h,k,rsa(a,e.path,c),ssa(a,e.route,c))},1),hf(function(e){return e!==!0},!0))},ssa=function(a,b,c){var d=b.routeConfig?b.routeConfig.canActivate:null;if(!d||d.length===0)return(0,W.of)(!0);d=d.map(function(e){return(0,W.defer)(function(){var f,h=(f=di(b))!=null?f:c,k=fi(e,h);f=k&&ii(k.canActivate)?k.canActivate(b,a):qd(h,function(){return k(b,a)});return Ph(f).pipe(hf())})});return(0,W.of)(d).pipe(ei())},rsa=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(0,W.defer)(function(){var f=e.guards.map(function(h){var k,q=(k=di(e.node))!=null?k:c,t=fi(h,q);h=t&&ii(t.canActivateChild)?t.canActivateChild(d,a):qd(q,function(){return t(d,a)});return Ph(h).pipe(hf())});return(0,W.of)(f).pipe(ei())})});return(0,W.of)(b).pipe(ei())},osa=function(a,b,c,d,e){var f=
b&&b.routeConfig?b.routeConfig.canDeactivate:null;if(!f||f.length===0)return(0,W.of)(!0);f=f.map(function(h){var k,q=(k=di(b))!=null?k:e,t=fi(h,q);h=t&&ii(t.canDeactivate)?t.canDeactivate(a,b,c,d):qd(q,function(){return t(a,b,c,d)});return Ph(h).pipe(hf())});return(0,W.of)(f).pipe(ei())},usa=function(a,b,c){var d=b.canLoad;if(d===void 0||d.length===0)return(0,W.of)(!0);d=d.map(function(e){var f=fi(e,a);e=f&&ii(f.canLoad)?f.canLoad(b,c):qd(a,function(){return f(b,c)});return Ph(e)});return(0,W.of)(d).pipe(ei(),
tsa())},tsa=function(){return(0,W.pipe)(sf(function(a){if(typeof a!=="boolean")throw bsa(a);}),y(function(a){return a===!0}))},vsa=function(a,b,c){var d=b.canMatch;if(!d||d.length===0)return(0,W.of)(!0);d=d.map(function(e){var f=fi(e,a);e=f&&ii(f.canMatch)?f.canMatch(b,c):qd(a,function(){return f(b,c)});return Ph(e)});return(0,W.of)(d).pipe(ei(),tsa())},ji=function(a){return(0,W.throwError)(new wsa(a))},zsa=function(a,b,c,d){var e=xsa(a,b,c);if(!e.matched)return(0,W.of)(e);d=dsa(b,d);return vsa(d,
b,c).pipe(y(function(f){return f===!0?e:Object.assign({},ysa)}))},xsa=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({},ysa):{matched:!0,consumedSegments:[],remainingSegments:c,parameters:{},positionalParamSegments:{}};a=(b.matcher||gra)(c,a,b);if(!a)return Object.assign({},
ysa);var d={},e;Object.entries((e=a.posParams)!=null?e:{}).forEach(function(h){var k=l(h);h=k.next().value;k=k.next().value;d[h]=k.path});e=a.consumed.length>0?Object.assign({},d,a.consumed[a.consumed.length-1].parameters):d;var f;return{matched:!0,consumedSegments:a.consumed,remainingSegments:c.slice(a.consumed.length),parameters:e,positionalParamSegments:(f=a.posParams)!=null?f:{}}},Dsa=function(a,b,c,d){if(c.length>0&&Asa(a,c,d)){var e=Sh;a=new Sh(c,a.children);c={};c.primary=a;a=l(d);for(d=a.next();!d.done;d=
a.next())if(d=d.value,d.path===""&&ci(d)!=="primary"){var f=new Sh([],{});c[ci(d)]=f}c={segmentGroup:new e(b,c),slicedSegments:[]}}else if(c.length===0&&Bsa(a,c,d)){b=Sh;e=a.segments;f=a.children;var h={};d=l(d);for(var k=d.next();!k.done;k=d.next())if(k=k.value,Csa(a,c,k)&&!f[ci(k)]){var q=new Sh([],{});h[ci(k)]=q}a=Object.assign({},f,h);c={segmentGroup:new b(e,a),slicedSegments:c}}else c={segmentGroup:new Sh(a.segments,a.children),slicedSegments:c};return c},Asa=function(a,b,c){return c.some(function(d){return Csa(a,
b,d)&&ci(d)!=="primary"})},Bsa=function(a,b,c){return c.some(function(d){return Csa(a,b,d)})},Csa=function(a,b,c){return(a.hasChildren()||b.length>0)&&c.pathMatch==="full"?!1:c.path===""},Esa=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)})},Fsa=function(a){return(a=a.value.routeConfig)&&a.path===""},Gsa=function(a){var b=[],c=new Set;a=l(a);for(var d=a.next(),e={};!d.done;e={node$jscomp$140:void 0},d=
a.next())e.node$jscomp$140=d.value,Fsa(e.node$jscomp$140)?(d=b.find(function(f){return function(h){return f.node$jscomp$140.value.routeConfig===h.value.routeConfig}}(e)),d!==void 0?(d.children.push.apply(d.children,r(e.node$jscomp$140.children)),c.add(d)):b.push(e.node$jscomp$140)):b.push(e.node$jscomp$140);a=l(c);for(e=a.next();!e.done;e=a.next())e=e.value,d=Gsa(e.children),b.push(new $h(e.value,d));return b.filter(function(f){return!c.has(f)})},Isa=function(a,b,c,d,e,f){return pe(function(h){return(new Hsa(a,
b,c,d,h.extractedUrl,f===void 0?"emptyOnly":f,e)).recognize().pipe(y(function(k){return Object.assign({},h,{targetSnapshot:k.state,urlAfterRedirects:k.tree})}))})},Lsa=function(a,b){return pe(function(c){var d=c.targetSnapshot,e=c.guards.canActivateChecks;if(!e.length)return(0,W.of)(c);var f=new Set(e.map(function(w){return w.route})),h=new Set;e=l(f);for(var k=e.next();!k.done;k=e.next())if(k=k.value,!h.has(k)){k=l(Jsa(k));for(var q=k.next();!q.done;q=k.next())h.add(q.value)}var t=0;return(0,W.from)(h).pipe(pe(function(w){if(f.has(w))return Ksa(w,
d,a,b);w.data=Tra(w,w.parent,a).resolve;return(0,W.of)(void 0)},1),sf(function(){return t++}),kka(),pe(function(){return t===h.size?(0,W.of)(c):W.EMPTY}))})},Jsa=function(a){var b=a.children.map(function(c){return Jsa(c)}).flat();return[a].concat(r(b))},Ksa=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[Zh]=e.title);return Msa(f,a,b,d).pipe(y(function(h){a._resolvedData=h;a.data=Tra(a,a.parent,c).resolve;return null}))},
Msa=function(a,b,c,d){var e=hra(a);if(e.length===0)return(0,W.of)({});var f={};return(0,W.from)(e).pipe(pe(function(h){return Nsa(a[h],b,c,d).pipe(hf(),sf(function(k){f[h]=k}))}),kka(),jf(f),$e(function(h){return ksa(h)?W.EMPTY:(0,W.throwError)(h)}))},Nsa=function(a,b,c,d){var e,f=(e=di(b))!=null?e:d,h=fi(a,f);a=h.resolve?h.resolve(b,c):qd(f,function(){return h(b,c)});return Ph(a)},Osa=function(a){return pf(function(b){var c=a(b);return c?(0,W.from)(c).pipe(y(function(){return b})):(0,W.of)(b)})},
Qsa=function(a,b){return b.map(function(c){return c.replace(Psa,a)})},Rsa=function(a){var b=new Map;a.length>0&&a.replace(/^\?/,"").split("&").forEach(function(c){var d=c.indexOf("=");d=l(d==-1?[decodeURIComponent(c),""]:[decodeURIComponent(c.slice(0,d)),decodeURIComponent(c.slice(d+1))]);c=d.next().value;d=d.next().value;var e=b.get(c)||[];e.push(d);b.set(c,e)});return b},Usa=function(a){return encodeURIComponent(a).replace(Ssa,function(b,c){var d;return(d=Tsa[c])!=null?d:b})},Vsa=function(a){return""+
a},Wsa=function(a){return typeof ArrayBuffer!=="undefined"&&a instanceof ArrayBuffer},Xsa=function(a){return typeof Blob!=="undefined"&&a instanceof Blob},Ysa=function(a){return typeof FormData!=="undefined"&&a instanceof FormData},Zsa=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}},$sa=function(a){return a.url?a.url:a.headers.get("X-Request-URL".toLocaleLowerCase())},
ata=function(){},bta=function(a,b){return b(a)},cta=function(a,b){return function(c,d){return b.intercept(c,{handle:function(e){return a(e,d)}})}},dta=function(a,b,c){return function(d,e){return qd(c,function(){return b(d,function(f){return a(f,e)})})}},hta=function(a,b){var c=a.url.toLowerCase();if(!Yc(eta)||a.method==="GET"||a.method==="HEAD"||c.startsWith("http://")||c.startsWith("https://"))return b(a);c=Yc(fta).getToken();var d=Yc(gta);c==null||a.headers.has(d)||(a=a.clone({headers:a.headers.set(d,
c)}));return b(a)},mta=function(a,b,c){return Ph(a.loadChildren()).pipe(y(ita),pe(function(d){return d instanceof jta||Array.isArray(d)?(0,W.of)(d):(0,W.from)(Promise.resolve(new kta(d)))}),y(function(d){c&&c(a);if(!Array.isArray(d)){var e=d.create(b).injector;d=e.get(lta,[],{optional:!0,self:!0}).flat()}return{routes:d.map(esa),injector:e}}))},ita=function(a){return a&&typeof a==="object"&&"default"in a?a["default"]:a},pta=function(a,b,c){var d=a.get(nta),e=a.get(gh);return a.get(ze).runOutsideAngular(function(){if(!e.startViewTransition||
d.skipNextTransition)return d.skipNextTransition=!1,new Promise(function(t){return setTimeout(t)});var f,h=new Promise(function(t){f=t}),k=e.startViewTransition(function(){f();return ota(a)}),q=d.onViewTransitionCreated;q&&qd(a,function(){return q({transition:k,from:b,to:c})});return h})},ota=function(a){return new Promise(function(b){Fe(b,{injector:a})})},qta=function(a,b){a.events.pipe(te(function(c){return c instanceof ki||c instanceof li||c instanceof mi||c instanceof ni}),y(function(c){return c instanceof
ki||c instanceof ni?0:c instanceof li&&(c.code===0||c.code===1)?2:1}),te(function(c){return c!==2}),ef()).subscribe(function(){b()})},rta=function(a){throw a;},oi=function(a,b){return{"\u0275kind":a,"\u0275providers":b}},tta=function(){if(sta===void 0&&(sta=null,typeof window!=="undefined")){var a=window;a.trustedTypes!==void 0&&(sta=a.trustedTypes.createPolicy("angular#components",{createHTML:function(b){return b}}))}return sta},uta=function(a){var b;return((b=tta())==null?void 0:b.createHTML(a))||
a},vta=function(){var a=Yc(gh),b=a?a.location:null;return{getPathname:function(){return b?b.pathname+b.search:""}}},wta=function(a,b){return a.size!==b.size?!1:[].concat(r(a)).every(function(c){return b.has(c)})},xta=function(a){var b=new Set;a=l(a);for(var c=a.next();!c.done;c=a.next()){c=l(c.value);for(var d=c.next();!d.done;d=c.next())b.add(d.value)}return b},yta=function(a,b){if(!wta(a,b)){var c=[].concat(r(b)).filter(function(e){return!a.has(e)}),d=[].concat(r(a)).filter(function(e){return!b.has(e)});
return{added:c,removed:d}}},zta=function(a,b){var c=a.size>b.size?a:b;return new Set([].concat(r(a===c?b:a)).filter(function(d){return c.has(d)}))},Ata=function(a,b){return a.size>=b.size&&[].concat(r(b)).every(function(c){return a.has(c)})},pi=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(!pi(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?wta(a,b):!1;if(Cc(a)||Cc(b))return Cc(a)&&Cc(b)?a===b||a.toString()===b.toString():!1;if(a instanceof Y||b instanceof Y)return a instanceof Y&&b instanceof Y?(Wb=0,c=a==b||!(!a||!b)&&a instanceof b.constructor&&nda(a,b),a&&b&&a.constructor===b.constructor&&!c&&Wb>0&&!Bta++&&fba(),a=c):a=!1,a;if(typeof a==="object"){if(typeof b!==
"object")return!1;c=Object.keys(a);d=c.length;if(d!==Object.keys(b).length)return!1;for(var e=0;e<d;e++){var f=c[e];if(!Cta.call(b,f)||!pi(a[f],b[f]))return!1}return!0}return!1},Dta=function(a){var b=[];a=l(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;for(var d=!1,e=l(b),f=e.next();!f.done;f=e.next())if(pi(c,f.value)){d=!0;break}d||b.push(c)}return b},Eta=function(a,b){for(var c=a.length-1;c>=0;c--)pi(a[c],b)&&a.splice(c,1)},Fta=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},Hta=function(a){return Object.assign.apply(Object,[{}].concat(r(Gta.map(function(b){var c={};return c[b]=a[b],c}))))},qi=function(a){if(a!==null&&a!==void 0&&["boolean","function","number","string"].indexOf(typeof a)===-1)if(Array.isArray(a)){var b=[];a=l(a);for(var c=
a.next();!c.done;c=a.next())b.push(qi(c.value));a=b}else if(a instanceof Date)a=new Date(a.getTime());else if(a instanceof Map){b=new Map;a=l(a);for(c=a.next();!c.done;c=a.next()){var d=l(c.value);c=d.next().value;d=d.next().value;b.set(qi(c),qi(d))}a=b}else if(!Cc(a))if(a instanceof Y)a=a.clone();else{b={};c=l(Object.entries(a));for(d=c.next();!d.done;d=c.next()){var e=l(d.value);d=e.next().value;e=e.next().value;b[d]=qi(e)}Object.setPrototypeOf(b,Object.getPrototypeOf(a));a=b}return a},Ita=function(a){return typeof a===
"number"},ri=function(a){return typeof a==="string"},si=function(a){return Array.isArray(a)&&a.every(ri)},Jta=function(a){return Array.isArray(a)&&a.every(Ita)},Kta=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},ti=function(a){return a.toLowerCase().replace(/_([a-z])/g,function(b,c){return c.toUpperCase()})},wi=function(a){if(a){if(Ita(a)){var b=new Date(a);b.getFullYear()>47E3&&(b=new Date(a/1E3));return new ui(b)}b=
a.split("/");if(b.length===3)return a=vi(b[2]),a<50?a+=2E3:a<100&&(a+=1900),new ui(a,vi(b[0])-1,vi(b[1]));if(b.length===1)return wi(Number(a))}return new ui},Lta=function(a){return a.replace(/([.*+?^=!:${}()|\[\]\/\\])/g,"")},Mta=function(a){return!(!a||!a.startsWith("text/")&&!a.startsWith("image/")&&a!=="application/pdf")},xi=function(a,b){return a.map(function(c){return c[b]})},Nta=function(a,b){return a.filter(function(c){return!b.has(c)})},Ota=function(a,b){for(var c=l(a),d=c.next();!d.done;d=
c.next())if(!b.has(d.value))return!1;b=l(b);for(c=b.next();!c.done;c=b.next())if(!a.has(c.value))return!1;return!0},yi=function(a,b){return Nta(a,new Set(b))},Pta=function(a,b){var c=/[,;]/;(b===void 0||b)&&(c=/[\s,;]/);return a.split(c).map(zi).filter(function(d){return!!d})},Qta=function(a,b){a=new URL(a);return a.host+a.pathname+b},Rta=function(a){return a.user!==void 0},Sta=function(a){switch(a){case "public_non_google":return"Public (non-google.com)";case "googlers_unrestricted":return"Full-time Googlers";
default:return Ai(a.replace(/_/g," ").toLowerCase())}},Bi=function(a){return console==null?!1:typeof console[a]==="function"},Ci=function(){Bi("debug")&&console.debug.apply(console,kd.apply(0,arguments))},Di=function(){Bi("info")&&console.info.apply(console,kd.apply(0,arguments))},Tta=function(){Bi("log")&&console.log.apply(console,kd.apply(0,arguments))},Ei=function(){Bi("warn")&&console.warn.apply(console,kd.apply(0,arguments))},Uta=function(){Bi("error")&&console.error.apply(console,kd.apply(0,
arguments))},Vta=function(a){if(a!=null){var b=a.getYear();if(b==null)Ei("No year. dateToJs");else{var c=a.getDay();if(c==null)Ei("No day. dateToJs");else if(a=a.getMonth(),a==null)Ei("No month. dateToJs");else return{year:b,day:c,month:a}}}},Wta=function(a){var b=new Fi;Gi(b,3,a.day);b.setMonth(a.month);b.setYear(a.year);return b},Hi=function(a){if(a!=null){var b=a.getSeconds_asLegacyNumberOrString();a=a.getNanos();return{seconds:b,nanos:a}}},Ji=function(a){var b=new Ii;b.setSeconds(a.seconds);b.setNanos(a.nanos);
return b},Xta=function(a){var b=new Ki;b.setSeconds(a.seconds);b.setNanos(a.nanos);return b},Yta=function(a){if(a!=null){var b=a.getSeconds_asLegacyNumberOrString();a=a.getNanos();return{seconds:b,nanos:a}}},Li=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 Ji({seconds:a,nanos:b})},Mi=function(a){if(!a)return 0;a=a.getSeconds_asLegacyNumberOrString()*1E9+a.getNanos();return Math.round(a/1E3)},Oi=function(a){var b=a.emailAddress,
c=a.obfuscatedEmailAddress,d=a.aliases;a=a.userGaiaStatus;var e=new Ni;b&&e.setEmailAddress(b);c&&e.setObfuscatedEmailAddress(c);(d==null?0:d.length)&&e.setAliasesList(d);if(a)switch(a){case "UNSPECIFIED":e.setUserGaiaStatus(0);break;case "ACTIVE":e.setUserGaiaStatus(1);break;case "DELETED":e.setUserGaiaStatus(2);break;case "UNAVAILABLE":e.setUserGaiaStatus(3);break;default:Dc(a)}return e},Qi=function(a){var b={},c=a.getEmailAddress();c&&(b.emailAddress=c);if(c=a.getObfuscatedEmailAddress())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("Sb`"+c);}a=a.getAliasesList(Pi);if(a==null?0:a.length)b.aliases=a;return b},Ui=function(a){switch(Ri(a,Si)){case 0:throw Error("Tb");case 1:return{user:Qi(a.getUser())};case 2:return{group:Qi(a.getGroup())};case 3:return{alias:Kh(a,Ti(a,Si,3))};default:throw Error("Ub");}},Xi=function(a){var b=new Vi;Rta(a)&&
b.setUser(Oi(a.user));a.group!==void 0&&b.setGroup(Oi(a.group));a.alias!==void 0&&Wi(b,3,Si,a.alias);return b},Zta=function(a){var b=new Yi;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("Xb");}return b},$ta=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("Xb");}},bua=function(a){if(a)return{accessLevel:aua[a.getAccessLevel()]}},dua=function(a){return(new Zi).setAccessLevel(cua[a.accessLevel])},gua=function(a){if(a)return(a=$i(a,eua,1))?(a=a.getSeverity(),a={piiVerdict:a?{severity:fua(a)}:{severity:"NONE_DETECTED"}}):a={piiVerdict:{severity:"NONE_DETECTED"}},a},fua=function(a){switch(a){case 0:case 1:return"NONE_DETECTED";
case 2:return"RESTRICTED";case 3:return"RESTRICTED_PLUS";default:throw Error("Yb`"+a);}},hua=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("Yb`"+a);}},iua=function(a){var b=new aj;b=bj(b,1,a.contentJudgementId);b=cj(b,2,a.resourcePath);var c=hua(a.severity);b=dj(b,3,c);b=cj(b,4,a.judgementReason);return cj(b,8,a.contentJudge)},jua=function(a){return{contentJudgementId:ej(a,
1)?String(ej(a,1)):void 0,resourcePath:Kh(a,2)||void 0,severity:fua(a.getRestrictionSeverity()),judgementReason:Kh(a,4),contentJudge:Kh(a,8)}},kua=function(a){var b=new aj;var c=hua(a.severity);b=dj(b,3,c);return cj(b,4,a.judgementReason)},mua=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("Zb`"+b);}}return{status:b,reason:lua(a.getReason())}}},lua=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("$b`"+a);}},nua=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("$b`"+a);}},oua=function(a){if(a!=null){var b,
c;return{retentionPeriod:(b=Yta(a.getRetentionPeriod()))!=null?b:null,scheduledDeletionTime:(c=Hi($i(a,Ii,2)))!=null?c:null}}},qua=function(a){return{retentionSelection:pua[fj(a,1,0)],retentionPeriodDays:gj(a,2),piiRetentionSelection:pua[fj(a,3,0)],piiRetentionPeriodDays:gj(a,4),spiiRetentionPeriodDays:gj(a,5)}},sua=function(a){var b=new hj;b=dj(b,1,rua[a.retentionSelection]);b=Gi(b,2,a.retentionPeriodDays);b=dj(b,3,rua[a.piiRetentionSelection]);b=Gi(b,4,a.piiRetentionPeriodDays);return Gi(b,5,a.spiiRetentionPeriodDays)},
tua=function(a){switch(a){case 0:return"RETENTION_UNSPECIFIED";case 1:return"COMPONENT_DEFAULT";case 2:return"INDEFINITE";default:throw Error("ac`"+a);}},uua=function(a){switch(a){case "RETENTION_UNSPECIFIED":return 0;case "COMPONENT_DEFAULT":return 1;case "INDEFINITE":return 2;default:throw Error("ac`"+a);}},ij=function(a){if(a!=null&&(a=String(a),a.trim()!==""))return a=Number(a),isNaN(a)?void 0:a},jj=function(a){if(a!=null)return String(a)},vua=function(a){if(a!=null&&a!=="0")return a},kj=function(a){return a==
null?void 0:a},wua=function(){return function(a){return a==null?"<none>":a}},lj=function(a){return a!=null},xua=function(a){if(a!=null)return a/1E3},zua=function(a){var b=ij(a.getAttachmentId_asLegacyNumberOrString());var c=a.getFilename();var d=ej(a,3)||void 0,e=a.getContentType();c=c&&e?{filename:c,length:d,contentType:e}:void 0;return{attachmentId:b,media:c,contentType:a.getContentType(),filename:a.getFilename(),length:ej(a,3),etag:yua(a.getEtag())||"",contentVerdict:gua(a.getContentVerdict()),
entityStatus:mua(a.getEntityStatus()),piiRetentionState:oua(a.getRestrictedRetentionState()),piiRetention:tua(a.getRestrictedRetention())}},Bua=function(a){var b=new mj;var c=new Aua;a=a?new lb(a,mb):kb();c=nj(c,2,a);b=oj(b,Aua,5,c);c=b.setEntityStatus;a=new pj;a=a.setStatus.call(a,0).setReason(0);return c.call(b,a)},Cua=function(a){return["REPEATED_TEXT","REPEATED_DATE","REPEATED_ENUM","REPEATED_NUMERIC"].includes(a.type)},Dua=function(a){a=xh(a).toString();var b=new qj;rj(b,2,a);return b},tj=function(a){if(!a)return null;
a=sj(a,2);return a===null||a===void 0?null:vh(a)},Eua=function(a){if(!a)return null;a=sj(a,3);var b;a===null||a===void 0?b=null:b=new wc(a);return b},Gua=function(a){if(a!=null)return{customFieldId:kj(ij(a.getCustomFieldId_asLegacyNumberOrString())),standardField:Fua[fj(a,Ti(a,uj,2),0)]}},Iua=function(a){var b=new vj;a.customFieldId?b.setCustomFieldId(a.customFieldId):a.standardField&&wj(b,2,uj,Bca(Hua[a.standardField]));return b},Jua=function(a){if(a){var b=ij(a.getCustomFieldId_asLegacyNumberOrString());
if(b==null)Ei("No customFieldId. customFieldValueToJs");else{b={customFieldId:b,displayValues:xj(a,qj,11,yj()).map(function(E){return xh(tj(E)).toString()})};switch(a.getValueCase()){case 2:b.textValue=kj(Kh(a,Ti(a,zj,2)));break;case 3:b.dateValue=Vta(a.getDateValue());break;case 4:b.enumValue=kj(Kh(a,Ti(a,zj,4)));break;case 5:b.numericValue=kj(Aj(a,Ti(a,zj,5)));break;case 6:var c,d;b.repeatedTextValue={values:(d=(c=Bj(a,Cj,6,zj))==null?void 0:c.getValuesList(Pi))!=null?d:[]};break;case 8:var e,f;
b.repeatedEnumValue={values:(f=(e=Bj(a,Cj,8,zj))==null?void 0:e.getValuesList(Pi))!=null?f:[]};break;case 9:var h,k;b.repeatedNumericValue={values:(k=(h=Bj(a,Dj,9,zj))==null?void 0:h.getValuesList(Pi))!=null?k:[]};break;case 7:var q,t,w,B;b.repeatedDateValue={values:(B=(q=Bj(a,Ej,7,zj))==null?void 0:(t=q.getValuesList())==null?void 0:(w=t.map(Vta))==null?void 0:w.filter(lj))!=null?B:[]}}return b}}},Kua=function(a){var b=(new Fj).setCustomFieldId(a.customFieldId);a.textValue!=null?Wi(b,2,zj,a.textValue):
a.dateValue!=null?(a=Wta(a.dateValue),Gj(b,3,zj,a)):a.enumValue!=null?Wi(b,4,zj,a.enumValue):a.numericValue!=null?wj(b,5,zj,Bb(a.numericValue)):a.repeatedTextValue!=null?(a=(new Cj).setValuesList(a.repeatedTextValue.values),Gj(b,6,zj,a)):a.repeatedEnumValue!=null?(a=(new Cj).setValuesList(a.repeatedEnumValue.values),Gj(b,8,zj,a)):a.repeatedNumericValue!=null?(a=(new Dj).setValuesList(a.repeatedNumericValue.values),Gj(b,9,zj,a)):a.repeatedDateValue!=null&&(a=(new Ej).setValuesList(a.repeatedDateValue.values.map(Wta)),
Gj(b,7,zj,a));return b},Nua=function(a){var b=a.getCustomFieldId_asLegacyNumberOrString(),c=Lua[a.getType()],d=!!Hj(a,4),e=a.getName(),f=a.getDescription()||"",h=Jua($i(a,Fj,10));var k=Ij(a,8,yj(Pi));b={customFieldId:b,type:c,required:d,name:e,description:f,typedDefaultValue:h,allowedValue:k,fieldSignificance:Mua[fj(a,9,0)],shared:a.getShared(),stateOnIssues:"INHERIT",enabledOnIssues:!0};a.getComponentId_asLegacyNumberOrString()&&(b.componentId=ij(a.getComponentId_asLegacyNumberOrString()));return b},
Oua=function(a){return Nua(a)},Rua=function(a){var b=new Jj;a.customFieldId&&b.setCustomFieldId(String(a.customFieldId));b.setComponentId(String(a.componentId));b.setType(Pua[a.type]);Kj(b,4,a.required);b.setName(a.name);b.setDescription(a.description);if(a.typedDefaultValue){var c=Kua(a.typedDefaultValue);oj(b,Fj,10,c)}a.allowedValue&&Lj(b,8,a.allowedValue);a.fieldSignificance&&b.setFieldSignificance(Qua[a.fieldSignificance]);b.setShared(a.shared);return b},Sua=function(a){return{specId:ej(a,1),
estimate:Kh(a,2),averageDays:Aj(a,3),totalOpen:Aj(a,4),totalComplete:Aj(a,5)}},Yua=function(a){var b=new Mj;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&&Tua(b,Uua(new Vua,a.numericSpec.multiplier));if(a.enumSpec){var c;Wua(b,Xua(new Nj,((c=a.enumSpec.options)!=null?c:[]).map(function(d){return(new Oj).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}dj(b,6,a)}return b},bva=function(a){var b=void 0,c=a.getContentVerdict();c&&(b=gua(c));c=void 0;var d=a.getFormattedComment();d&&(c=Zua(d));d=void 0;var e=$i(a,Ni,3);e&&(d=Qi(e));e=void 0;var f=a.getEtag();f&&(e=yua(f));f=void 0;var h=a.getEntityStatus();h&&(f=mua(h));h=void 0;var k=a.getRestrictedRetentionState();k&&(h=oua(k));return{issueId:String(a.getIssueId_asLegacyNumberOrString()),commentNumber:a.getCommentNumber(),commentContentVerdict:b,formattingMode:$ua(a.getFormattingMode()),
formattedComment:c,lastEditorUser:d,lastModified:Mi(a.getModifiedTime()),version:a.getVersion(),unlinkifiedComment:a.getComment(),entityStatus:f,piiRetentionState:h,piiRetention:tua(a.getRestrictedRetention()),redacted:Hj(a,13),etag:e,commentReactions:ava($i(a,Pj,17))}},Zua=function(a){if(Qj(a,Rj,1,Sj)){var b=Bj(a,Rj,1,Sj);var c;b={plainSection:((c=xj(b,Tj,1,yj()))!=null?c:[]).map(cva)}}else b=void 0;return{plainFormat:b,markdownFormat:Qj(a,Uj,2,Sj)?{content:tj(Bj(a,Uj,2,Sj).getContent())}:void 0,
literalFormat:Qj(a,Vj,3,Sj)?{content:tj(Bj(a,Vj,3,Sj).getContent())}:void 0}},cva=function(a){return{isQuoted:Hj(a,1),content:tj(a.getContent())}},dva=function(a){var b=new Tj;return Kj(b,1,a.isQuoted).setContent(Dua(a.content))},$ua=function(a){switch(a){case 0:case 1:return"PLAIN";case 2:return"MARKDOWN";case 3:return"LITERAL";default:throw Error("bc`"+a);}},Wj=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("bc`"+a);}},ava=function(a){var b,c;a==null?c=void 0:c=xj(a,Xj,2,yj());a=(b=c)!=null?b:[];b=new Map;a=l(a);for(c=a.next();!c.done;c=a.next()){c=c.value;a:{var d=c.getType();switch(d){case 0:d="REACTION_TYPE_UNSPECIFIED";break a;case 1:d="UPVOTE";break a;default:throw Error("cc`"+d);}}var e=void 0,f=void 0,h=void 0,k=void 0,q=(f=Hj(c,1))!=null?f:!1;f=(h=ej(c,2))!=null?h:0;c=xj(c,Ni,3,yj());c={type:d,hasReacted:q,count:f,recentResponders:(k=(e=c)==null?void 0:e.map(Qi).filter(lj))!=
null?k:[]};b.set(d,c)}return b},eva=function(a){return a.map(function(b){return $i(b,Ni,1)}).filter(lj).map(Qi).map(function(b){return{mentionedUser:b}})},Yj=function(a){switch(a){case "P0":case "P1":case "P2":case "P3":case "P4":return a;default:return null}},fva=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}},gva=function(a){switch(a){case "S0":case "S1":case "S2":case "S3":case "S4":return a;default:return null}},hva=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"}},iva=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}},jva=function(a){a=Ij(a,1,yj(Pi));return{paths:a!=null?a:[]}},lva=function(a){return{startTime:Hi(a.getStartTime()),targetTime:Hi($i(a,Ii,3)),endTime:Hi($i(a,Ii,2)),objective:Yta(a.getObjective()),businessDays:a.getBusinessDays(),dayType:kva[a.getDayType()]}},nva=function(a){var b=new Zj;if(a.startTime){var c=Ji(a.startTime);oj(b,Ii,1,c)}a.targetTime&&(c=Ji(a.targetTime),oj(b,Ii,3,c));a.endTime&&(c=Ji(a.endTime),oj(b,Ii,2,c));a.objective&&b.setObjective(Xta(a.objective));a.businessDays&&
b.setBusinessDays(a.businessDays);a.dayType&&b.setDayType(mva[a.dayType]);return b},pva=function(a){var b=(new ak).setInherit(a.inherit).setSource(ova[a.source]).setId(bk(a.id)).setComment(a.comment);return bj(b,6,bk(a.sourceComponentId)).setSourceTeamId(bk(a.sourceTeamId))},rva=function(a){return{author:Qi(a.getAuthor()),timestamp:Hi(a.getTimestamp()),add:qva(a.getAdd()),remove:qva(a.getRemove()),addMask:jva(a.getAddMask()),removeMask:jva(a.getRemoveMask())}},qva=function(a){var b=String(a.getSloId_asLegacyNumberOrString()),
c=a.getName(),d=a.getDescription(),e=String(ej(a,2));var f=xj(a,ck,5,yj());f=(f!=null?f:[]).map(sva);var h=xj(a,ck,6,yj());h=(h!=null?h:[]).map(sva);var k=a.getIsArchived();a:switch(a=fj(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("dc`"+a);}return{sloId:b,name:c,description:d,parentId:e,elements:f,effectiveElements:h,isArchived:k,alertState:a}},sva=function(a){var b=tva(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("fc`"+d);}}return{metric:b,matcher:c,dayType:d,objective:Yta(a.getObjective()),businessDays:a.getBusinessDays()}},tva=function(a){switch(a){case 0:return"METRIC_UNSPECIFIED";case 1:return"ASSIGNMENT";case 2:return"RESPONSE";case 3:return"CLOSURE";default:throw Error("ec`"+a);}},vva=function(a){var b=(new ck).setMetric(uva(a.metric)).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("fc`"+d);}}return c.call(b,d).setObjective(Xta(a.objective)).setBusinessDays(a.businessDays)},uva=function(a){switch(a){case "METRIC_UNSPECIFIED":return 0;case "ASSIGNMENT":return 1;case "RESPONSE":return 2;case "CLOSURE":return 3;default:throw Error("gc`"+a);}},wva=function(a){return{issueId:String(a.getIssueId_asLegacyNumberOrString()),updateText:Kh(a,2),formattedText:dk(a,ek,3)?Zua($i(a,ek,3)):void 0,formattingMode:a.getFormattingMode()?
$ua(a.getFormattingMode()):void 0,author:a.hasAuthor()?Qi(a.getAuthor()):void 0,updateTime:a.hasUpdateTime()?kj(Hi(a.getUpdateTime())):void 0,version:a.getVersion()}},xva=function(a){var b=(new fk).setFormattingMode(Wj(a.formattingMode));a.issueId&&b.setIssueId(a.issueId);a.updateText&&cj(b,2,a.updateText);if(a.formattedText){var c=a.formattedText,d=new ek;if(c.plainFormat){var e=c.plainFormat;var f=new Rj;e=e.plainSection.map(dva);f=gk(f,1,e);Gj(d,1,Sj,f)}c.markdownFormat&&(f=c.markdownFormat,f=
(new Uj).setContent(Dua(f.content)),Gj(d,2,Sj,f));c.literalFormat&&(c=c.literalFormat,c=(new Vj).setContent(Dua(c.content)),Gj(d,3,Sj,c));oj(b,ek,3,d)}a.author&&b.setAuthor(Oi(a.author));a.updateTime&&b.setUpdateTime(Ji(a.updateTime));a.version&&b.setVersion(a.version);return b},Dva=function(a){var b=a.getAccessLimit(),c=yva[fj(a,30,0)],d,e,f,h,k,q,t,w,B,E,I,J,N,P,U,ba,ma,na=a.getComponentId_asLegacyNumberOrString(),ya=a.getType()?hva(a.getType()):null,Pa=a.getStatus()?hk[a.getStatus()]:null,ia=a.getPriority()?
ik[a.getPriority()]:null,qa=a.getSeverity()?zva[a.getSeverity()]:null,ua=a.getTitle(),Oa=a.getReporter()?Qi(a.getReporter()):null,Ka=a.getAssignee()?Qi(a.getAssignee()):null,Cb=a.getVerifier()?Qi(a.getVerifier()):null,Qb=(t=(d=a.getCcsList())==null?void 0:d.map(Qi))!=null?t:[];d=(w=(e=a.getCollaboratorsList())==null?void 0:e.map(Qi))!=null?w:[];e=a.getCanonicalIssueId_asLegacyNumberOrString()?String(a.getCanonicalIssueId_asLegacyNumberOrString()):null;w=(B=(f=a.getBlockedByIssueIdsList_asLegacyNumberOrString())==
null?void 0:f.map(String))!=null?B:[];f=(E=(h=a.getBlockingIssueIdsList_asLegacyNumberOrString())==null?void 0:h.map(String))!=null?E:[];h=(I=a.getHotlistIdsList_asLegacyNumberOrString(Pi))!=null?I:[];I=(J=(k=a.getCustomFieldsList())==null?void 0:k.map(Jua).filter(lj))!=null?J:[];k=(N=a.getCodeChangesList(Pi))!=null?N:[];N=(P=a.getGerritChangesList().map(Ava))!=null?P:[];P=Ij(a,17,yj(Pi));P=P!=null?P:[];J=Ij(a,18,yj(Pi));J=J!=null?J:[];E=Ij(a,19,yj(Pi));E=E!=null?E:[];B=a.getInProd();t=a.getIsArchived();
var Rb=(U=(q=a.getDuplicateIssueIdsList_asLegacyNumberOrString())==null?void 0:q.map(String))!=null?U:[];q=a.getIsDeleted();U=Bva[fj(a,24,0)];var Wa=(ba=Hi(a.getSloSnoozeUntil()))!=null?ba:null;ba=(ma=Hi(a.getSloEndTime()))!=null?ma:null;ma=Ij(a,27,yj(Pi));return{componentId:na,type:ya,status:Pa,priority:ia,severity:qa,title:ua,reporterUser:Oa,assigneeUser:Ka,verifierUser:Cb,ccUsers:Qb,collaboratorsUsers:d,duplicateOfIssueId:e,blockedByIssueId:w,blockingIssueId:f,hotlistId:h,customField:I,changelist:k,
gerritChanges:N,foundInVersion:P,targetedToVersion:J,verifiedInVersion:E,inProd:B,isArchived:t,duplicateIssueId:Rb,isDeleted:q,deletionReason:U,sloStartTime:Wa,sloEndTime:ba,sloSnoozeType:c==="SLO_SNOOZE_TYPE_UNSPECIFIED"?null:c,postmortems:ma!=null?ma:[],retention:Cva[a.getRetention()],effort:a.hasEffort()?Sua(a.getEffort()):void 0,issueAccessLimitLevel:b!=null?$ta(b):null,comment:"",formattingMode:void 0}},Kva=function(a){var b=new jk;a.componentId&&b.setComponentId(a.componentId);a.title&&b.setTitle(a.title);
a.type!=null&&b.setType(iva(a.type));a.inProd!=null&&b.setInProd(a.inProd);a.isArchived!=null&&b.setIsArchived(a.isArchived);a.status!=null&&b.setStatus(Eva[a.status]);a.priority!=null&&b.setPriority(Fva[a.priority]);a.severity!=null&&b.setSeverity(Gva[a.severity]);a.reporterUser&&b.setReporter(Oi(a.reporterUser));a.assigneeUser&&b.setAssignee(Oi(a.assigneeUser));a.verifierUser&&b.setVerifier(Oi(a.verifierUser));a.ccUsers&&b.setCcsList(a.ccUsers.map(Oi));a.collaboratorsUsers&&b.setCollaboratorsList(a.collaboratorsUsers.map(Oi));
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(Kua));a.changelist&&b.setCodeChangesList(a.changelist);a.gerritChanges&&b.setGerritChangesList(a.gerritChanges.map(Hva));a.foundInVersion&&Lj(b,17,a.foundInVersion);a.targetedToVersion&&
Lj(b,18,a.targetedToVersion);a.verifiedInVersion&&Lj(b,19,a.verifiedInVersion);a.duplicateIssueId&&b.setDuplicateIssueIdsList(a.duplicateIssueId.map(Number));a.isDeleted!=null&&b.setIsDeleted(a.isDeleted);a.deletionReason!=null&&b.setDeletionReason(Iva[a.deletionReason]);a.sloStartTime&&b.setSloSnoozeUntil(Ji(a.sloStartTime));a.sloEndTime&&b.setSloEndTime(Ji(a.sloEndTime));a.sloSnoozeType!=null&&b.setSloSnoozeType(Jva[a.sloSnoozeType]);a.retention!=null&&b.setRetention(uua(a.retention));if(a.effort){var c=
b.setEffort,d=a.effort,e=new kk;d.specId&&bj(e,1,d.specId);d.estimate&&cj(e,2,d.estimate);d.averageDays&&lk(e,3,d.averageDays);d.totalOpen&&lk(e,4,d.totalOpen);d.totalComplete&&lk(e,5,d.totalComplete);c.call(b,e)}a.issueAccessLimitLevel&&b.setAccessLimit(Zta(a.issueAccessLimitLevel));return b},Ava=function(a){return{host:Kh(a,1),repo:Kh(a,2),changeNumber:a.getChangeNumber_asLegacyNumberOrString(),state:Lva[a.getState()]}},Hva=function(a){var b=new mk;b=cj(b,1,a.host);return cj(b,2,a.repo).setChangeNumber(a.changeNumber).setState(Mva[a.state])},
Qva=function(a){switch(Ri(a,Nva)){case 2:var b=Bj(a,Ova,2,Nva);return b.getCommentNumber()!==0?{type:"issueReference",issueId:String(b.getIssueId_asLegacyNumberOrString()),commentNumber:b.getCommentNumber(),sourceCommentNumber:gj(a,3)}:{type:"issueReference",issueId:String(b.getIssueId_asLegacyNumberOrString()),sourceCommentNumber:gj(a,3)};case 1:return{type:"hyperlink",href:Kh(Bj(a,Pva,1,Nva),1),sourceCommentNumber:gj(a,3)};case 0:throw Error("hc");default:throw Error("ic");}},ok=function(a){for(var b=
a.getIssueState()?[Dva(a.getIssueState())]:[],c=new Map,d=l(a.getAncestorsMap().entries()),e=d.next();!e.done;e=d.next()){var f=l(e.value);e=f.next().value;f=f.next().value;c.set(String(e),{sourceIssueIds:f.getSourceIssueIdsList_asLegacyNumberOrString().map(String)})}var h,k,q;d=String(a.getIssueId_asLegacyNumberOrString());e=a.getVersion();f=a.hasDescription()?bva(a.getDescription()):void 0;var t;if(t=a.getUserData()){var w=Hj(t,2);w=w==null?null:w;var B=Hj(t,1);t={voted:w,starred:B==null?null:B,
notificationSubscription:Rva[fj(t,4,0)],lastViewedTimeMicros:Mi($i(t,Ii,5))}}else t=void 0;if(a){B=void 0;a.hasSloStatus()&&(w=a.getSloStatus(),B={assignmentBounds:(w==null?0:dk(w,Zj,1))?lva($i(w,Zj,1)):void 0,responseBounds:(w==null?0:dk(w,Zj,2))?lva($i(w,Zj,2)):void 0,closureBounds:(w==null?0:dk(w,Zj,3))?lva($i(w,Zj,3)):void 0});var E;w={voteCount:(E=ej(a,10))!=null?E:0,createdTimeMicros:Mi(a.getCreatedTime()),resolvedTimeMicros:Mi(a.getResolvedTime()),verifiedTimeMicros:Mi(a.getVerifiedTime()),
modifiedTimeMicros:Mi(a.getModifiedTime()),lastModifier:Qi($i(a,Ni,14)),sloId:ij(a.getSloId_asLegacyNumberOrString()),teamId:ij(a.getTeamId_asLegacyNumberOrString()),retentionState:oua(a.getRetentionState()),sloStatus:B}}else w=void 0;E=bua(a.getAccessLimit());B=a.getCustomFieldsList().map(Nua);var I=xj(a,vj,34,yj()).map(Gua).filter(lj),J=Mi(a.getMajorModifiedTime()),N=a.getParentIssueIdsList_asLegacyNumberOrString().map(String),P=(h=gj(a,39))!=null?h:0;h=(k=gj(a,45))!=null?k:0;k=(q=gj(a,46))!=null?
q:0;q=a.getIsArchived();var U=xj(a,Sva,41,yj()).map(Qva),ba=vua(String(a.getTrackerId_asLegacyNumberOrString())),ma=a.getStatusUpdate()&&wva(a.getStatusUpdate()),na;if(na=$i(a,nk,47))a=$i(a,nk,47),na={oneDayViewCount:ej(a,1),sevenDayViewCount:ej(a,2),thirtyDayViewCount:ej(a,3)};return{issueId:d,version:e,snapshot:b,description:f,userData:t,aggregatedData:w,accessLimit:E,customFields:B,visibleFields:I,majorModifiedTimeMicros:J,parentIssueIds:N,ancestors:c,childIssueCount:P,descendantCount:h,openDescendantCount:k,
isArchived:q,relatedLinks:U,trackerId:ba,statusUpdate:ma,userActivityStats:na}},Tva=function(a){if(a)return{status:hk[a.getStatus()],issueIds:a.getIssueIdsList_asLegacyNumberOrString().map(jj).filter(lj)}},Uva=function(a){if(a)return{priority:ik[a.getPriority()],issueIds:a.getIssueIdsList_asLegacyNumberOrString().map(jj).filter(lj)}},Vva=function(){},Wva=function(a){return Object.values(a).length>0},Xva=function(a,b){a.next(Object.freeze(Object.assign({},a.getValue(),b)))},Yva=function(a,b){var c=
a.getValue();c=Object.assign({},c);b=(delete c[b],c);a.next(Object.freeze(b))},Zva=function(a,b){var c=a.getValue(),d={};c=l(Object.entries(c));for(var e=c.next();!e.done;e=c.next()){var f=l(e.value);e=f.next().value;f=f.next().value;b.includes(e)||(d[e]=f)}a.next(Object.freeze(d))},$va=function(a){var b=Object.assign({},a);a=a.ids;b=(delete b.ids,b);a&&(b.ids=[].concat(r(a)).sort());return JSON.stringify(b)},awa=function(a,b,c){c=a.get(b)||c;a.has(b)||a.set(b,c);return c},bwa=function(a){a=a===void 0?
{}:a;return Hta(a)},cwa=function(a){var b=new W.Subject,c=a.subscribe(b);a=(0,W.firstValueFrom)(b);a.finally(function(){c.unsubscribe()});return a},dwa=function(a){return a==null?new Promise(function(){}):Promise.resolve(a)},ewa=function(){return new Promise(function(){})},hwa=function(a){return{experimentId:a.getExperimentId(),state:fwa[a.getState()],userGroup:gwa[fj(a,3,0)],title:a.getTitle(),description:a.getDescription(),learnMoreLink:Kh(a,6)}},kwa=function(a){return a.type==="CUSTOM_FIELD"?[iwa[jwa[a.type]],
a.customFieldId].join(":"):iwa[jwa[a.type]]},nwa=function(a){return a.includes(":")?(a=l(a.split(":")),a.next(),a=a.next().value,{type:"CUSTOM_FIELD",customFieldId:bk(a)}):{type:lwa[mwa[a]]}},owa=function(a){var b;a==null?a=void 0:(a=Ij(a,1,yj()),a=a==null?void 0:a.map(nwa));return(b=a)!=null?b:[]},pwa=function(a){var b=l(a.trim().split(" ")),c=b.next().value;a=b.next().value;pk(b);b=nwa(c);c="DESCENDING";a==="asc"&&(c="ASCENDING");return{field:b,direction:c}},rwa=function(a){return a.map(qwa).join(",")},
qwa=function(a){return kwa(a.field)+" "+(a.direction==="ASCENDING"?"asc":"desc")},swa=function(a){return rwa(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(pwa))},twa=function(a){var b,c,d,e,f,h=(new qk).setHotlistId(a.hotlistId).setName(a.name).setDescription(a.description).setArchived(a.archived).setDefaultOrderBy(rwa((d=a.sortOrder)!=null?d:[]));d=h.setDisplayPreferences;var k=new rk,q=(e=(b=a.displayColumn)==null?void 0:b.map(kwa))!=null?e:[];b=Lj(k,1,q);h=d.call(h,b).setCreatedTime(Li(a.createdTimeMicros)).setModifiedTime(Li(a.modifiedTimeMicros)).setOwnersList((f=(c=a.adminUsers)==null?void 0:c.map(Oi))!=null?f:[]);a.etag!==
void 0&&(c=h.setEtag,a=a.etag,a=a.length?new lb(pba(a,!0),mb):kb(),c.call(h,a));return h},uwa=function(a){if(!a.getHotlistId_asLegacyNumberOrString())throw Error("sc");if(!a.getName())throw Error("tc");if(!a.getCreatedTime())throw Error("uc");if(!a.getModifiedTime())throw Error("vc");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:Mi(a.getCreatedTime()),modifiedTimeMicros:Mi(a.getModifiedTime()),
displayColumn:owa(a.getDisplayPreferences()),sortOrder:a.getDefaultOrderBy().split(",").filter(Boolean).map(pwa),etag:yua(a.getEtag())||void 0,adminUsers:(e=(b=a.getOwnersList())==null?void 0:b.map(Qi))!=null?e:[]}},vwa=function(a){return{issueId:String(a.getIssueId_asLegacyNumberOrString()),position:a.getPosition(),issue:ok(a.getIssue())}},wwa=function(a){var b=xj(a,sk,1,yj()).map(vwa),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()}},xwa=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(pwa),displayColumn:owa(a.getDisplayPreferences()),adminUsers:((b=a.getOwnersList())!=null?b:[]).map(Qi)}},ywa=function(a){var b,c,
d=(new tk).setSavedSearchId(a.searchId).setName(a.name).setDescription(a.description).setQuery(a.query).setDefaultOrderBy(rwa((b=a.sortOrder)!=null?b:[]));b=d.setDisplayPreferences;var e=(c=a.displayColumn)!=null?c:[];c=new rk;e=e.map(kwa);c=Lj(c,1,e);return b.call(d,c).setOwnersList(a.adminUsers.map(Oi))},uk=function(a,b){return function(c){if(a.has(c))return a.get(c);var d=b(c);a.set(c,d);return d}},vk=function(a,b){return new Map(a.map(function(c){return[c,b(c)]}))},zwa=function(a,b){var c;return new Map((c=
a==null?void 0:a.map(function(d){return[b(d),d]}))!=null?c:[])},Awa=function(a,b){var c=new Map;a=l(a);for(var d=a.next();!d.done;d=a.next()){d=d.value;var e=b(d),f=void 0,h=(f=c.get(e))!=null?f:[];h.push(d);c.set(e,h)}return c},Bwa=function(a,b){return vk([].concat(r(a.keys())),function(c){return b(a.get(c))})},Dwa=function(a){switch(Ri(a,wk)){case 1:var b=a.getHotlist(),c=(b==null?0:b.getHotlist())?uwa(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())?xwa(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())?Cwa(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("wc");}},Fwa=function(a){switch(a.resourceType){case "HOTLIST":var b=(new xk).setHotlistId(a.hotlistId);a.hotlist&&b.setHotlist(twa(a.hotlist));return(new yk).setHotlist(b);case "SAVED_SEARCH":return b=(new zk).setSavedSearchId(a.savedSearchId),a.savedSearch&&b.setSavedSearch(ywa(a.savedSearch)),
(new yk).setSavedSearch(b);case "BOOKMARK_GROUP":return b=(new Ak).setBookmarkGroupId(a.bookmarkGroupId),a.bookmarkGroup&&b.setBookmarkGroup(Ewa(a.bookmarkGroup)),(new yk).setBookmarkGroup(b);default:Dc(a.resourceType,"Unexpected resourceType in bookmarkItemToItProto")}},Cwa=function(a){var b=a.getArchived(),c=a.getBookmarkGroupId_asLegacyNumberOrString(),d=a.getDescription();var e=xj(a,yk,5,yj());return{archived:b,bookmarkGroupId:c,description:d,item:e.map(Dwa),name:a.getName(),adminUsers:a.getOwnersList().map(Qi)}},
Ewa=function(a){var b,c=(new Bk).setBookmarkGroupId(a.bookmarkGroupId).setName(a.name).setDescription(a.description).setArchived(a.archived),d=(b=a.item.map(Fwa))!=null?b:[];return gk(c,5,d).setOwnersList(a.adminUsers.map(Oi))},Gwa=function(a){switch(a.resourceType){case "HOTLIST":return(new yk).setHotlist((new xk).setHotlistId(a.resourceId));case "SAVED_SEARCH":return(new yk).setSavedSearch((new zk).setSavedSearchId(a.resourceId));case "BOOKMARK_GROUP":return(new yk).setBookmarkGroup((new Ak).setBookmarkGroupId(a.resourceId));
default:Dc(a.resourceType,"Unexpected resourceType in bookmarkItemForUpdateToItProto")}},Hwa=function(a){a=Cwa(a).item;a=Awa(a,function(k){return k.resourceType});var b,c,d,e,f,h;return{bookmarkGroups:(e=(b=a.get("BOOKMARK_GROUP"))==null?void 0:b.map(function(k){return k.bookmarkGroup}).filter(lj))!=null?e:[],hotlists:(f=(c=a.get("HOTLIST"))==null?void 0:c.map(function(k){return k.hotlist}).filter(lj))!=null?f:[],savedSearches:(h=(d=a.get("SAVED_SEARCH"))==null?void 0:d.map(function(k){return k.savedSearch}).filter(lj))!=
null?h:[]}},Iwa=function(a){return Cwa(a.getIt())},Jwa=function(a){a=xj(a,Bk,2,yj());return(a!=null?a:[]).map(Cwa)},Lwa=function(a,b){b=b===void 0?document.documentElement:b;return(0,W.concat)((0,W.defer)(function(){return(0,W.of)(b.querySelector(a))}),Kwa(b,{childList:!0,subtree:!0}).pipe(te(function(c){return c.some(function(d){return d.addedNodes.length>0})}),y(function(){return b.querySelector(a)}))).pipe(te(lj),ef(),y(function(c){return c}))},Kwa=function(a,b){return new W.Observable(function(c){var d=
new MutationObserver(function(e){c.next(e)});d.observe(a,b);return function(){d.disconnect()}})},Ck=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)}}},Mwa=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(" > ")},Nwa=function(){var a;return(a=window)!=
null&&a.location?(new URLSearchParams(window.location.search)).get("mode"):null},Owa=function(a){var b={};a=l(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=l(c.value);c=d.next().value;d=d.next().value;d!=null&&(b[c]=String(d))}b=new URLSearchParams(b);return String(b)},Dk=function(a){return a.ctrlKey||a.metaKey||a instanceof MouseEvent&&a.button===1},Pwa=function(a){a=Ek(a,1,yj(Pi));return{changelistNumbers:a!=null?a:[]}},Swa=function(a){return{changelists:xj(a,Qwa,1,yj()).map(Rwa),
nextPageToken:a.getNextPageToken()}},Rwa=function(a){var b,c;return{author:a.getAuthor(),changelistNumber:a.getChangelistNumber(),pending:a.getPending(),timestamp:Hi(a.getTimestamp()),issueIds:(b=a.getIssueIdsList_asString())!=null?b:[],fixedIssueIds:(c=Fk(a,6))!=null?c:[]}},Twa=function(a){var b=a.getAuthor(),c=a.getDescription(),d=a.getPending(),e=a.getTimestamp_asLegacyNumberOrString();a=Ij(a,5,yj(Pi));return{author:b,description:c,pending:d,timestamp:e,affectedFiles:a!=null?a:[]}},Gk=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,"+")},Uwa=function(a){if(a)return bua(a.getIt())},Vwa=function(a){var b=Ij(a,1,yj(Pi));a=Ij(a,2,yj(Pi));return{noAccessEmails:b,unknownEmails:a}},Wwa=function(a){var b=a.getIt();a=xj(b,Vi,2,yj()).map(Ui);var c=b.getAppendersList().map(Ui),d=xj(b,Vi,4,yj()).map(Ui),e=b.getReadersList().map(Ui),f=xj(b,Vi,11,yj()).map(Ui),h=xj(b,Vi,12,
yj()).map(Ui),k=xj(b,Vi,3,yj()).map(Ui),q=xj(b,Vi,7,yj()).map(Ui),t=xj(b,Vi,5,yj()).map(Ui),w=xj(b,Vi,9,yj()).map(Ui);a:switch(fj(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("Vb");}return{admins:a,appenders:c,editors:d,readers:e,restrictedReaders:f,restrictedPlusReaders:h,inheritedAdmins:k,implicitAppenders:q,implicitEditors:t,implicitReaders:w,implicitAccess:b}},Hk=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("yc`"+a);}},Ywa=function(a){return{fieldId:Gua($i(a,vj,1)),stateOnIssues:Xwa[fj(a,4,0)],enabledOnIssues:Hj(a,5)}},Zwa=function(a){var b=a.getUser();return{user:b?
Qi(b):{},isLead:Hj(a,2)}},$wa=function(a){var b=new Ik;return Kj(b,2,a.isLead).setUser(Oi(a.user))},axa=function(a){var b=new Jk;b.setInherit(a.inherit).setId(Number(a.sloId)).setComment(a.comment).setSourceTeamId(Number(a.sourceTeamId));return b},bxa=function(a){return(new Kk).setInherit(a.inherit).setId(a.id)},cxa=function(a){return{teamId:a.getTeamId_asLegacyNumberOrString(),score:a.getScore()}},dxa=function(a){return(new Lk).setTeamId(a.teamId).setScore(a.score)},exa=function(a){var b=ij(a);if(b==
null)throw Error("zc`"+a);return b},fxa=function(a){var b=xj(a,Mk,4,yj()).map(Ywa);b=new Map(b.map(function(q){return[q.fieldId.customFieldId,q]}));var c,d,e=(d=(c=xj(a,Jj,5,yj()))==null?void 0:c.map(Oua))!=null?d:[];c=l(e);for(d=c.next();!d.done;d=c.next()){d=d.value;var f=b.get(d.customFieldId);f&&(d.enabledOnIssues=f.enabledOnIssues,d.stateOnIssues=f.stateOnIssues)}var h,k;return{componentPathId:(k=(h=Nk(a,1,yj()))==null?void 0:h.map(exa))!=null?k:[],componentPathName:Ij(a,2,yj(Pi)),allCustomField:e,
fieldConfigsMap:b}},gxa=function(a){switch(a){case "ALL_PROTECTIONS":return 2;case "NO_PROTECTIONS":return 1;case "SPAM_PROTECTION_UNSPECIFIED":return 0;default:return 0}},jxa=function(a){var b=dk(a,hj,15)?qua($i(a,hj,15)):void 0,c=dk(a,Ok,7)?fxa($i(a,Ok,7)):void 0;if(a.hasSlo()){var d=a.getSlo();d={inherit:d.getInherit(),source:hxa[d.getSource()],id:String(d.getId_asLegacyNumberOrString()),sourceComponentId:String(ej(d,6)),sourceTeamId:String(d.getSourceTeamId_asLegacyNumberOrString()),comment:d.getComment()}}else d=
void 0;if(dk(a,Mj,18)){var e=a.getEffortSpec();var f=e.getInherit();var h=e.getId_asLegacyNumberOrString(),k=e.getName();a:switch(fj(e,6,0)){case 2:var q="MAX";break a;case 1:q="SUM";break a;default:q="AGGREGATION_TYPE_UNSPECIFIED"}f={inherit:f,id:h,name:k,aggregationType:q,customFieldId:e.getCustomFieldId_asLegacyNumberOrString()};if(Qj(e,Vua,4,Pk)){var t=Bj(e,Vua,4,Pk);t&&(f.numericSpec={multiplier:Aj(t,1)})}else if(Qj(e,Nj,5,Pk)&&(e=Bj(e,Nj,5,Pk),f.enumSpec={options:[]},e&&(e==null?void 0:(t=xj(e,
Oj,1,yj()))==null?void 0:t.length)>0))for(t=l(xj(e,Oj,1,yj())),e=t.next();!e.done;e=t.next())e=e.value,k=h=void 0,(h=f.enumSpec)==null||(k=h.options)==null||k.push({label:e.getLabel(),value:e.getValue()})}else f=void 0;dk(a,Kk,16)?(t=a.getTeam(),t={inherit:t.getInherit(),id:String(t.getId_asLegacyNumberOrString())}):t=void 0;e=bua(a.getAccessLimit());h=fj(a,21,0);h=h===2?"ALL_PROTECTIONS":h===1?"NO_PROTECTIONS":"SPAM_PROTECTION_UNSPECIFIED";k=a.getTrackerId_asLegacyNumberOrString()?String(a.getTrackerId_asLegacyNumberOrString()):
void 0;var w,B;q=a.getComponentId_asLegacyNumberOrString();var E=ej(a,3),I=a.getName(),J=a.getDescription(),N=a.getIsArchived(),P="buganizer-system+"+a.getComponentId_asLegacyNumberOrString()+"@google.com";var U=fj(a,10,0)===1?"ENABLED":"DISABLED";return{componentId:q,parentComponentId:E,name:I,description:J,archived:N,componentPathInfo:c,accessLimit:e,emailAlias:P,commentEditState:U,defaultTemplateId:exa(ej(a,6)),slo:d,bugscopeSloId:String(ej(a,14)),retentionSettings:b,fieldOrdering:ixa[fj(a,17,
0)],effortSpec:f,team:t,teamSuggestions:(B=(w=a.getTeamSuggestionsList())==null?void 0:w.map(cxa))!=null?B:[],trackerId:k==="0"?void 0:k,spamProtection:h}},kxa=function(a){return{author:Qi(a.getAuthor()),timestamp:Hi(a.getTimestamp()),add:jxa(a.getAdd()),remove:jxa(a.getRemove()),addMask:jva(a.getAddMask()),removeMask:jva(a.getRemoveMask())}},mxa=function(a){a=a.getIt();var b;return{updates:((b=xj(a,lxa,1,yj()))!=null?b:[]).map(kxa)}},Qk=function(a){return jxa(a.getIt())},nxa=function(a){var b=new Rk;
b=bj(b,3,a.parentComponentId).setName(a.name).setDescription(a.description);a.commentEditState&&b.setCommentEditState(a.commentEditState==="ENABLED"?1:2);a.retentionSettings&&(a=sua(a.retentionSettings),oj(b,hj,15,a));return(new Sk).setIt(b)},oxa=function(a){a=xj(a,Sk,1,yj());return(a!=null?a:[]).map(Qk)},pxa=function(a){return{warningHeader:Kh(a,1),warning:Kh(a,2),isAllowed:Hj(a,3),isExternalMove:Hj(a,4)}},rxa=function(a){a=a.getIt();var b=Dva(a.getIssueState());a.getComment()&&(b.comment=a.getComment());
a.getFormattingMode()&&(b.formattingMode=qxa[a.getFormattingMode()]);return{componentId:a.getComponentId_asLegacyNumberOrString(),templateId:a.getTemplateId_asLegacyNumberOrString(),name:a.getName(),description:a.getDescription(),default:Hj(a,9),inheritable:Hj(a,10),snapshot:b}},sxa=function(a){var b=new Tk,c=b.setIt;var d=(new Uk).setFormattingMode(Wj(a.snapshot.formattingMode)).setComment(a.snapshot.comment).setComponentId(a.componentId).setTemplateId(a.templateId).setName(a.name).setDescription(a.description);
d=Kj(d,9,a.default);a=Kj(d,10,a.inheritable).setIssueState(Kva(a.snapshot));return c.call(b,a)},txa=function(a){a=xj(a,Sk,1,yj());return(a!=null?a:[]).map(Qk)},uxa=function(a){return{componentPath:a.getComponentPath(),retentionSettings:qua($i(a,hj,3))}},wxa=function(a){return xj(a,vxa,2,yj()).map(uxa)},xxa=function(a){var b=a.getId(),c=gj(a,3);var d=Ij(a,2,yj());a=Ek(a,4,yj());return Vk({id:b,std_offset:c,names:d,transitions:a||[]})},zxa=function(a){a=a.getIt();var b=a.getTrackerId_asString(),c=a.getName(),
d=a.getComponentId_asString(),e=Nk(a,4,yj()).map(String);var f=$i(a,Wk,6);f=f!=null?{logoUrl:f.getLogoUrl(),cocUrl:Kh(f,3),theme:yxa[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:xj(a,Ni,10,yj()).length>0?xj(a,Ni,10,yj()).map(Qi):void 0}},Axa=function(a){var b;return((b=a.getTrackersList())!=null?b:[]).map(zxa)},Bxa=function(a){return{trackers:a.getTrackersList().map(zxa),
nextPageToken:a.getNextPageToken(),totalSize:a.getTotalSize()}},Xk=function(a){if(a==null)return"UNSPECIFIED_FORMATTING_MODE";switch(Cxa[a]){case 2:return"MARKDOWN";case 1:return"PLAIN";case 3:return"LITERAL";default:return"UNSPECIFIED_FORMATTING_MODE"}},Rxa=function(a){var b={};Yk(a,1)&&(b.showFullHistory=Hj(a,1));Yk(a,2)&&(b.useCodefont=Hj(a,2));Zk(a,5)&&(b.resultsPerPage=gj(a,5));Yk(a,26)&&(b.showRecentEventsFirst=Hj(a,26));var c=a.getDisplayColumns();c&&(b.displayColumns={column:c.getColumnList().map(Dxa).filter(lj)});
if(c=a.getSortColumns())b.sortColumns={column:c.getColumnList().map(Exa).filter(lj)};$k(a,7)&&(b.bannerMessageId=Kh(a,7));if(c=$i(a,Fxa,3)){var d={};al(c,1)&&(d.reportedPriority=bl[fj(c,1,0)]);al(c,2)&&(d.assignedPriority=bl[fj(c,2,0)]);al(c,3)&&(d.verifiedPriority=bl[fj(c,3,0)]);al(c,4)&&(d.ccdPriority=bl[fj(c,4,0)]);al(c,9)&&(d.collaboratorPriority=bl[fj(c,9,0)]);al(c,5)&&(d.starredPriority=bl[fj(c,5,0)]);Yk(c,6)&&(d.excludeChangesByMe=Hj(c,6));Yk(c,7)&&(d.unsubscribeFromAll=Hj(c,7));Yk(c,8)&&(d.enableV2Prefs=
Hj(c,8));b.notificationPreferences=d}if(d=$i(a,Gxa,9)){c={showHotlists:Hj(d,1),showStatusIcons:Hj(d,4),wrapComponents:Hj(d,3),wrapTitles:Hj(d,2),rtlComponentPath:Hj(d,5)};var e=hc(d,6,Sb);c.fieldStatus=Object.fromEntries(e.entries());d=hc(d,7,Sb);c.modeForField=Object.fromEntries(d.entries());b.listViewPreferences=c}if(c=a.getLayoutPreferences())d={},Zk(c,1)&&(d.leftSidebarWidth=gj(c,1)),Yk(c,2)&&(d.expandIssueSlo=Hj(c,2)),Zk(c,3)&&(d.rightSidebarWidth=gj(c,3)),b.layoutPreferences=d;if(c=a.getDateTimePreferences())d=
{},$k(c,1)&&(d.calendarFormat=Kh(c,1)),$k(c,2)&&(d.timeFormat=Kh(c,2)),c.hasTimeZone()&&(d.timeZone=c.getTimeZone()),al(c,7)&&(d.sloEtaViewAs=Hxa[fj(c,7,0)]),b.dateTimePreferences=d;if(c=$i(a,cl,8))d={},al(c,1)&&(d.density=Ixa[c.getDensity()]),b.themePreferences=d;if(c=a.getHomepagePreferences())d={},c.hasResourceType()&&(d.resourceType=Jxa(c.getResourceType())),c.hasResourceId()&&(d.resourceId=c.getResourceId_asString()),b.homepagePreferences=d;if(c=$i(a,Kxa,17))d={},Yk(c,1)&&(d.enableAllHotkeys=
Hj(c,1,!0)),b.keyboardPreferences=d;dl(a,16)!=null&&(b.newFeaturesAcknowledgedMillis=el(a,16));Yk(a,18)&&(b.autoCcOnComment=Hj(a,18));dk(a,fl,20)&&(d=$i(a,fl,20),c=fj(d,2,0),d=fj(d,1,0),b.textDisplayPreferences={commentDisplayOverride:Lxa(c),lastPublishMode:Lxa(d)});dk(a,gl,21)&&(c=$i(a,gl,21),d={},Yk(c,2)&&(d.announcementDismissed=Hj(c,2)),Yk(c,1)&&(d.enableBugScreensaver=Hj(c,1)),b.bugScreensaverPreferences=d);dk(a,hl,24)&&(c=$i(a,hl,24),d={},il(c,1)&&(d.announcementDismissedMillis=ej(c,1)),b.g3nPreferences=
d);if(c=$i(a,jl,23))c=xj(c,Mxa,1,yj()),b.teamWarningPreferences={componentTeamWarnings:c.map(Nxa)};c=ic(a,25,Ii,Sb);c.size&&(b.dismissalTimestamps=Oxa(c));c=a.getCollapsedMap();c.size&&(b.collapsed=Object.fromEntries(c.entries()));Yk(a,29)&&(b.showInlineImages=a.getShowInlineImages());dk(a,kl,28)&&(c=$i(a,kl,28),d={},al(c,1)&&(d.commentFilter=Pxa(fj(c,1,0))),b.commentFilterPreferences=d);if(c=$i(a,ll,31))b.missionControlPreferences=Qxa(c);dk(a,ml,32)&&(b.scopePreferences={starredTeams:Fk($i(a,ml,
32),1)});return b},Dxa=function(a){if(a.hasType()){var b={type:lwa[a.getType()]};a.hasCustomFieldId()&&(b.customFieldId=a.getCustomFieldId_asLegacyNumberOrString());return b}},Exa=function(a){var b=a.getColumn();if(b=b&&Dxa(b)){if(al(a,2))a:switch(a=fj(a,2,1),a){case 1:a="ASCENDING";break a;case 2:a="DESCENDING";break a;default:a=Dc(a,"Unknown sortOrder: "+a)}else a=void 0;if(a)return{column:b,order:a}}},Lxa=function(a){if(a!==0)return Cxa[a]},Jxa=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 Dc(a,"Unknown resourceType: "+a)}},Nxa=function(a){var b={};a.hasComponentId()&&(b.componentId=a.getComponentId_asLegacyNumberOrString());il(a,2)&&(b.dismissMillis=ej(a,2));return b},Oxa=function(a){a=Array.from(a.entries()).map(function(b){var c=l(b);b=c.next().value;c=c.next().value;return[b,c.toDate()]});return Object.fromEntries(a)},Pxa=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 Dc(a,"Unknown resourceType: "+a)}},Qxa=function(a){var b=Zk(a,3)?gj(a,3):void 0,c=Zk(a,6)?gj(a,6):void 0,d=Zk(a,5)?gj(a,5):void 0,e=Zk(a,4)?gj(a,4):void 0,f=Yk(a,10)?Hj(a,10):void 0,h=Yk(a,11)?Hj(a,11):void 0,k=Yk(a,12)?Hj(a,12):void 0,q=nl(a,7,yj()).map(function(w){return Sxa[w]}),t=nl(a,8,yj()).map(function(w){return Sxa[w]});b={workAreaUrls:Ij(a,1,yj(Pi)),myTasksTab:b,myTasksDaysOld:c,needsAttentionDaysOld:d,workAreaTab:e,
needsAttentionSources:q,myTasksSources:t,hideBadgeInNav:f,isNeedsAttentionSourcesConfigured:h,isMyTasksSourcesConfigured:k};c=hc(a,9,Wca);c.size&&(b.workAreaQuickFilters=Txa(c));a=a.getCollapsedMap();a.size&&(b.collapsed=Object.fromEntries(a.entries()));return b},Txa=function(a){var b={};a=l(a.entries());for(var c=a.next();!c.done;c=a.next()){var d=l(c.value);c=d.next().value;d=d.next().value;b[c]=Uxa[d]}return b},fya=function(a){var b=new ol;a.showFullHistory!=null&&pl(b,1,a.showFullHistory);a.useCodefont!=
null&&pl(b,2,a.useCodefont);a.resultsPerPage!=null&&ql(b,5,a.resultsPerPage);a.displayColumns!=null&&b.setDisplayColumns(Vxa(a.displayColumns));if(a.sortColumns!=null){var c=Wxa(a.sortColumns);oj(b,rl,6,c)}a.bannerMessageId!=null&&rj(b,7,a.bannerMessageId);if(a.notificationPreferences!=null){c=a.notificationPreferences;var d=new Fxa;d=sl(d,1,tl[c.reportedPriority]);d=sl(d,2,tl[c.assignedPriority]);d=sl(d,3,tl[c.verifiedPriority]);d=sl(d,4,tl[c.ccdPriority]);d=sl(d,9,tl[c.collaboratorPriority]);d=
sl(d,5,tl[c.starredPriority]);d=pl(d,6,c.excludeChangesByMe);d=pl(d,7,c.unsubscribeFromAll);c=pl(d,8,c.unsubscribeFromAll);oj(b,Fxa,3,c)}a.listViewPreferences!=null&&(c=a.listViewPreferences,d=new Gxa,d=pl(d,1,c.showHotlists),d=pl(d,2,c.wrapTitles),d=pl(d,3,c.wrapComponents),d=pl(d,4,c.showStatusIcons),d=pl(d,5,c.rtlComponentPath),c.fieldStatus!=null&&ul(c.fieldStatus,hc(d,6,Sb)),c.modeForField!=null&&ul(c.modeForField,hc(d,7,Sb)),oj(b,Gxa,9,d));a.layoutPreferences!=null&&(c=a.layoutPreferences,d=
new Xxa,c.leftSidebarWidth!=null&&ql(d,1,c.leftSidebarWidth),c.expandIssueSlo!=null&&pl(d,2,c.expandIssueSlo),c.rightSidebarWidth!=null&&ql(d,3,c.rightSidebarWidth),oj(b,Xxa,10,d));a.dateTimePreferences!=null&&(c=a.dateTimePreferences,d=new vl,d=rj(d,1,c.calendarFormat),d=rj(d,2,c.timeFormat).setTimeZone(c.timeZone),c=sl(d,7,Yxa[c.sloEtaViewAs]),oj(b,vl,11,c));a.themePreferences!=null&&(c=a.themePreferences,c=(new cl).setDensity(Zxa[c.density]),oj(b,cl,8,c));a.homepagePreferences!=null&&(c=a.homepagePreferences,
d=new wl,c.resourceType!=null&&d.setResourceType($xa(c.resourceType)),c.resourceId!=null&&d.setResourceId(c.resourceId),oj(b,wl,13,d));a.keyboardPreferences!=null&&(c=a.keyboardPreferences,d=new Kxa,c=pl(d,1,c.enableAllHotkeys),oj(b,Kxa,17,c));a.newFeaturesAcknowledgedMillis!=null&&xl(b,16,a.newFeaturesAcknowledgedMillis);a.autoCcOnComment!=null&&pl(b,18,a.autoCcOnComment);a.textDisplayPreferences!=null&&(c=a.textDisplayPreferences,d=new fl,c.commentDisplayOverride&&sl(d,2,aya(c.commentDisplayOverride)),
c.lastPublishMode&&sl(d,1,aya(c.lastPublishMode)),oj(b,fl,20,d));a.bugScreensaverPreferences!=null&&(c=a.bugScreensaverPreferences,d=new gl,c.enableBugScreensaver!=null&&pl(d,1,c.enableBugScreensaver),c.announcementDismissed!=null&&pl(d,2,c.announcementDismissed),oj(b,gl,21,d));a.g3nPreferences!=null&&(c=a.g3nPreferences,d=new hl,c.announcementDismissedMillis!=null&&yl(d,1,c.announcementDismissedMillis),oj(b,hl,24,d));a.teamWarningPreferences!=null&&(c=bya(a.teamWarningPreferences),oj(b,jl,23,c));
if(a.dismissalTimestamps!=null){d=a.dismissalTimestamps;c=ic(b,25,Ii,Sb);d=l(Object.entries(d));for(var e=d.next();!e.done;e=d.next()){var f=l(e.value);e=f.next().value;var h=f.next().value;f=c;var k=f.set,q=new Ii,t=q;h=h.getTime();Number.isFinite(h)||(h=0);t.setSeconds(Math.trunc(h/1E3)).setNanos(Math.trunc(h%1E3*1E6));k.call(f,e,q)}}a.collapsed!=null&&ul(a.collapsed,b.getCollapsedMap());a.showRecentEventsFirst!=null&&pl(b,26,a.showRecentEventsFirst);a.showInlineImages!=null&&pl(b,29,a.showInlineImages);
a.commentFilterPreferences!=null&&(d=a.commentFilterPreferences,c=new kl,d.commentFilter!=null&&(d=cya(d.commentFilter),sl(c,1,d)),oj(b,kl,28,c));if(a.missionControlPreferences!=null){c=a.missionControlPreferences;d=new ll;c.workAreaUrls&&Lj(d,1,c.workAreaUrls);c.collapsed&&ul(c.collapsed,d.getCollapsedMap());if(c.workAreaQuickFilters){e=c.workAreaQuickFilters;f={};k=l(Object.keys(e));for(q=k.next();!q.done;q=k.next())q=q.value,f[q]=dya[e[q]];ul(f,hc(d,9,Wca))}c.myTasksTab!=null&&ql(d,3,c.myTasksTab);
c.workAreaTab!=null&&ql(d,4,c.workAreaTab);c.myTasksDaysOld!=null&&ql(d,6,c.myTasksDaysOld);c.needsAttentionDaysOld!=null&&ql(d,5,c.needsAttentionDaysOld);c.needsAttentionSources&&(e=c.needsAttentionSources.map(eya),zl(d,7,e));c.myTasksSources&&(e=c.myTasksSources.map(eya),zl(d,8,e));c.hideBadgeInNav!=null&&pl(d,10,!!c.hideBadgeInNav);c.isNeedsAttentionSourcesConfigured!=null&&pl(d,11,!!c.isNeedsAttentionSourcesConfigured);c.isMyTasksSourcesConfigured!=null&&pl(d,12,!!c.isMyTasksSourcesConfigured);
oj(b,ll,31,d)}a.scopePreferences!=null&&(a=a.scopePreferences,c=new ml,a=Al(c,1,a.starredTeams),oj(b,ml,32,a));return b},Vxa=function(a){return(new Bl).setColumnList(a.column.map(function(b){return gya(b)}))},gya=function(a){var b=(new Cl).setType(jwa[a.type]);a.customFieldId!=null&&b.setCustomFieldId(a.customFieldId);return b},Wxa=function(a){return(new rl).setColumnList(a.column.map(function(b){var c=(new Dl).setColumn(gya(b.column));a:switch(b=b.order,b){case "ASCENDING":b=1;break a;case "DESCENDING":b=
2;break a;default:b=Dc(b,"Unknown sortOrder: "+b)}return sl(c,2,b)}))},$xa=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 Dc(a,"Unknown resourceType: "+a)}},aya=function(a){switch(Cxa[a]){case 2:return 2;case 1:return 1;case 3:return 3;default:return 0}},bya=function(a){var b=new jl;a.componentTeamWarnings!=null&&hya(b,a.componentTeamWarnings.map(function(c){var d=
new Mxa;c.componentId&&d.setComponentId(c.componentId);c.dismissMillis&&yl(d,2,c.dismissMillis);return d}));return b},cya=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 Dc(a,"Unknown commentFilterType: "+a)}},eya=function(a){return iya[a]},ul=function(a,b){a=l(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=l(c.value);c=d.next().value;d=d.next().value;b.set(c,d)}},Fl=function(a){return function(){var b=
El.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}}},Gl=function(a){return function(b){b===!0?El.setItem(a,"1"):El.removeItem(a)}},jya=function(a){return a&&typeof a==="object"&&"overrideUntilDate"in a&&"flagName"in a&&"value"in a?!0:!1},kya=function(a){return{overrides:a.overrides.filter(function(b){return b.overrideUntilDate?Date.parse(b.overrideUntilDate)>Date.now():!0})}},lya=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.")},
pya=function(){if(mya("flag-overrides")()){var a=nya("flag-overrides")();if(a&&typeof a==="object"&&"overrides"in a&&Array.isArray(a.overrides)&&a.overrides.every(jya))return kya(a);oya();console.warn("Could not parse flag overrides.")}},oya=function(){Hl("flag-overrides")()},qya=function(a,b){var c=new Date(Date.now()+864E5);c=c===void 0?null:c;lya();var d,e=((d=pya())==null?void 0:d.overrides)||[];Hl("flag-overrides")({overrides:[].concat(r(e.filter(function(f){return f.flagName!==a})),[{flagName:a,
value:b,overrideUntilDate:c}])})},rya=function(a,b){qya(a,b)},sya=function(a){lya();var b,c=((b=pya())==null?void 0:b.overrides)||[];Hl("flag-overrides")({overrides:c.filter(function(d){return d.flagName!==a})})},vya=function(){Il==null&&(Il=new tya(uya.buganizerSessionJspb));if(!dk(Il,Jl,2)){var a=Il,b=new Jl;oj(a,Jl,2,b)}dk(Il,Kl,9)||(a=Il,b=new Kl,oj(a,Kl,9,b));Il.hasUser()||Il.setUser(new Ll);dk(Il,ol,7)||(a=Il,b=new ol,oj(a,ol,7,b));return Il},Pl=function(){if(wya==null){var a=vya();var b=a.hasUser()?
a.getUser():new Ll;b=Hj(b,4)?{anonymous:!0,email:null,userTypeLabel:"ANONYMOUS",sessionIdentifier:""}:{anonymous:!1,email:b.getEmail(),userTypeLabel:b.getUserTypeLabel(),sessionIdentifier:b.getSessionIdentifier()};var c=dk(a,Jl,2)?a.getConfig():new Jl;for(var d=new Map,e=l(hc(c,4,Uca).entries()),f=e.next();!f.done;f=e.next()){var h=l(f.value);f=h.next().value;h=h.next().value;d.set(f,h)}c={appName:c.getAppName(),documentationBaseUrl:c.getDocumentationBaseUrl(),enabledFlags:d,environmentType:c.getEnvironmentType(),
onePickUrl:c.getOnePickUrl(),onePickSecretToken:c.getOnePickSecretToken(),commentNumberLimit:c.getCommentNumberLimit(),createComponentRedirectDelay:c.getCreateComponentRedirectDelay(),createRestrictedSubresourcesComponentIds:Nk(c,13,yj(Pi)),indefiniteRetentionComponentsAllowlist:Nk(c,20,yj(Pi)),trustedEmailDomainsAllowlist:Ij(c,22,yj(Pi)),helpMeFixSidebarComponentAllowlist:Nk(c,23,yj()),internalBaseUrl:c.getInternalBaseUrl(),externalBaseUrl:c.getExternalBaseUrl()};d=Rxa(dk(a,ol,7)?a.getUserPreferences():
new ol);f=dk(a,Kl,9)?$i(a,Kl,9):new Kl;e=xj(f,Ml,1,yj()).map(xxa);dk(f,Nl,2)?(f=f.getAnnouncement(),f={message:f.getMessage(),messageId:f.getMessageId(),dismissible:Hj(f,3),tags:f.getTagsList(Pi)}):f=null;e={timezones:e,announcement:f};f=a.getXsrfToken();h=a.getCspNonce();var k=a.getFrontendAccessMode(),q=a.getMustAcknowledgeTerms(),t=a.getShowNewFeaturesDialog(),w=a.getAppBaseHref(),B=dk(a,Ol,11)?zxa(a.getTracker()):null,E;dk(a,xya,12)?(E=a.getPassiveLoginIframeUrl())?(E=sj(E,4),E=E===null||E===
void 0?null:Ah(E)):E=null:E=null;a=wya={user:b,config:c,xsrfToken:f,cspNonce:h,frontendAccessMode:k,mustAcknowledgeTerms:q,showNewFeaturesDialog:t,userPreferences:d,preload:e,appBaseHref:w,tracker:B,passiveLoginIframeUrl:E,userRequiresCaptcha:Hj(a,13)};if(b=pya()){c=l(b.overrides);for(d=c.next();!d.done;d=c.next())d=d.value,a.config.enabledFlags.set(d.flagName,d.value);console.warn("Active flag overrides:");console.table(b.overrides);lya()}}return wya},Ql=function(){return(Pl().frontendAccessMode||
"INTERNAL")==="INTERNAL"},yya=function(a){a=a===void 0?Pl():a;return a.config.environmentType||"QA"},Rl=function(a){a=a===void 0?Pl():a;a=yya(a);switch(a){case "NIGHTLY":case "PROD":return!0;case "QA":case "DEV":return!1;default:Dc(a,"Unknown environment type.")}},zya=function(a){return rxa($i(a,Tk,1))},Aya=function(a){return(xj(a,Tk,1,yj())||[]).map(rxa)},Bya=function(a){return Nua(a.getIt())},Dya=function(a){return(new Cya).setIt(Rua(a))},Eya=function(a){a=a.getIt();return{customFields:a.getCustomFieldsList().map(Nua),
nextPageToken:a.getNextPageToken(),totalSize:a.getTotalSize()}},Fya=function(a){a==="[Deleted User]"&&(a="nobody@google.com");a.includes("@")||(a+="@google.com");return(new Ni).setEmailAddress(a)},Gya=function(a){var b;return(b=a==null?void 0:a.trim().split(",").filter(Boolean).map(Fya))!=null?b:[]},Sl=function(a){var b;return(b=a==null?void 0:a.trim().split(",").filter(Boolean).map(ij).filter(lj))!=null?b:[]},Tl=function(a){var b;return(b=a==null?void 0:a.trim().split(",").filter(Boolean))!=null?
b:[]},Iya=function(a){var b=new Ul,c=new Ul,d=new jk,e=new jk;a=l(a);for(var f=a.next();!f.done;f=a.next()){f=f.value;if(f.ignoreOnIssueEditRequest)break;switch(f.fieldName){case "assignee":f.value?(d.setAssignee(Fya(f.value)),Vl(b,"assignee")):(e.setAssignee(new Ni),Vl(c,"assignee"));break;case "attachments":break;case "blockedByIssueId":f.actionType==="ADD"?(d.addAllBlockedByIssueIds(Sl(f.value)),Vl(b,"blocked_by_issue_ids")):(e.addAllBlockedByIssueIds(Sl(f.value)),Vl(c,"blocked_by_issue_ids"));
break;case "blockingIssueId":f.actionType==="ADD"?(d.addAllBlockingIssueIds(Sl(f.value)),Vl(b,"blocking_issue_ids")):(e.addAllBlockingIssueIds(Sl(f.value)),Vl(c,"blocking_issue_ids"));break;case "ccs":f.actionType==="ADD"?(d.addAllCcs(Gya(f.value)),Vl(b,"ccs")):(e.addAllCcs(Gya(f.value)),Vl(c,"ccs"));break;case "changelists":f.actionType==="ADD"?(d.addAllCodeChanges(Tl(f.value)),Vl(b,"code_changes")):(e.addAllCodeChanges(Tl(f.value)),Vl(c,"code_changes"));break;case "collaborators":f.actionType===
"ADD"?(d.addAllCollaborators(Gya(f.value)),Vl(b,"collaborators")):(e.addAllCollaborators(Gya(f.value)),Vl(c,"collaborators"));break;case "comment":break;case "componentId":d.setComponentId(ij(f.value));Vl(b,"component_id");break;case "customField":if(!f.customFieldValue)break;var h=Kua(f.customFieldValue);f.actionType==="ADD"?(d.addCustomFields(h),Vl(b,"custom_fields")):(e.addCustomFields(h),Vl(c,"custom_fields"));break;case "deletionReason":f.value!=null?(d.setDeletionReason(Iva[f.value]),Vl(b,"deletion_reason")):
(e.setDeletionReason(2),Vl(c,"deletion_reason"));break;case "duplicateOfIssueId":(f=ij(f.value))?(d.setCanonicalIssueId(f),Vl(b,"canonical_issue_id")):Vl(c,"canonical_issue_id");break;case "effortEstimate":f.value?(h=new kk,f=cj(h,2,f.value),d.setEffort(f),Vl(b,"effort")):(e.setEffort(new kk),Vl(c,"effort"));break;case "foundInVersion":f.actionType==="ADD"?(h=d,f=Tl(f.value),mc(h,17,Ob,f),Vl(b,"found_in_versions")):(h=e,f=Tl(f.value),mc(h,17,Ob,f),Vl(c,"found_in_versions"));break;case "gerritChanges":h=
(f.gerritChangeValue||[]).map(Hva);f.actionType==="ADD"?(d.addAllGerritChanges(h),Vl(b,"gerrit_changes")):(e.addAllGerritChanges(h),Vl(c,"gerrit_changes"));break;case "hotlists":f.actionType==="ADD"?(d.addAllHotlistIds(Sl(f.value)),Vl(b,"hotlist_ids")):(e.addAllHotlistIds(Sl(f.value)),Vl(c,"hotlist_ids"));break;case "inProd":d.setInProd(f.value==="true");Vl(b,"in_prod");break;case "type":d.setType(Hya[f.value]);Vl(b,"type");break;case "isArchived":d.setIsArchived(f.value==="true");Vl(b,"is_archived");
break;case "isDeleted":d.setIsDeleted(f.value==="true");Vl(b,"is_deleted");break;case "parentId":break;case "priority":d.setPriority(Fva[f.value]);Vl(b,"priority");break;case "readState":break;case "reporter":d.setReporter(Fya(f.value));Vl(b,"reporter");break;case "severity":d.setSeverity(Gva[f.value]);Vl(b,"severity");break;case "sloEndTime":(f=ij(f.value))?(d.setSloEndTime(Ji({seconds:f,nanos:0})),Vl(b,"slo_end_time")):(e.setSloEndTime(new Ii),Vl(c,"slo_end_time"));break;case "sloSnoozeType":d.setSloSnoozeType(Jva[f.value]);
Vl(b,"slo_snooze_type");break;case "sloStartTime":(f=ij(f.value))?(d.setSloSnoozeUntil(Ji({seconds:f,nanos:0})),Vl(b,"slo_snooze_until")):(e.setSloSnoozeUntil(new Ii),Vl(c,"slo_snooze_until"));break;case "status":d.setStatus(Eva[f.value]);Vl(b,"status");break;case "targetedToVersion":f.actionType==="ADD"?(h=d,f=Tl(f.value),mc(h,18,Ob,f),Vl(b,"targeted_to_versions")):(h=e,f=Tl(f.value),mc(h,18,Ob,f),Vl(c,"targeted_to_versions"));break;case "title":d.setTitle(f.value);Vl(b,"title");break;case "verifiedInVersion":f.actionType===
"ADD"?(h=d,f=Tl(f.value),mc(h,19,Ob,f),Vl(b,"verified_in_versions")):(h=e,f=Tl(f.value),mc(h,19,Ob,f),Vl(c,"verified_in_versions"));break;case "verifier":f.value?(d.setVerifier(Fya(f.value)),Vl(b,"verifier")):(e.setVerifier(new Ni),Vl(c,"verifier"));break;default:Dc(f.fieldName,"Unhandled IssueFieldName in actionsToIssueStateChanges")}}return{addMask:b,removeMask:c,stateAddBuilder:d,stateRemoveBuilder:e}},Jya=function(a){var b=a.actions.filter(function(h){return!h.ignoreOnIssueEditRequest}),c=b.filter(function(h){return h.fieldName!==
"comment"}),d=Iya(c);c=d.addMask;var e=d.removeMask,f=d.stateAddBuilder;d=d.stateRemoveBuilder;a=(new Wl).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 Xl).setComment(b.value));return a},Kya=function(a,b,c,d){var e=new Yl,f=e.setIt;a=(new Zl).setIssueId(a);b&&a.setIssueAccessLimit(Zta(b));c&&a.setAddedCollaboratorsList(c.map(Oi));d&&a.setRemovedCollaboratorsList(d.map(Oi));
return f.call(e,a)},Lya=function(a){return(new $l).setIt((new am).setIssueId(Number(a)))},Nya=function(a){return(new Mya).setIt((new bm).setIssueId(Number(a.issueId)).setComponentId(Number(a.componentId)))},Pya=function(a){var b,c=new Oya,d=c.setIt,e=(new cm).setIssueId(String(a.issueId)).setComponentId(String(a.componentId));a=(b=a.setLimitViewTrusted)!=null?b:!1;b=Kj(e,3,a);return d.call(c,b)},Qya=function(a){return{issueId:vua(a.getIssueId_asString()),status:hk[a.getStatus()],title:a.getTitle()}},
Tya=function(a){var b=new Rya;b.setFieldName(a.fieldName);a.value&&b.setValue(a.value);a.actionType&&sl(b,3,Sya[a.actionType]);if(a.customFieldValue){var c=b.setCustomFieldValue;a=a.customFieldValue;a=(new dm).setIt(Kua(a));c.call(b,a)}return b},Vya=function(a){return(new Uya).setIt(Jya(a))},Yya=function(a){var b=new Wya,c=a.addHotlistIds.map(String);jc(b,1,c,Kb);c=a.removeHotlistIds.map(String);jc(b,2,c,Kb);var d=a.hotlistIssue;a=(new sk).setIssueId(Number(d.issueId));d.position&&a.setPosition(d.position);
if(d.issue){c=a.setIssue;d=d.issue;var e=(new em).setIssueId(d.issueId).setVersion(d.version).setCustomFieldsList(d.customFields.map(Rua)),f=d.visibleFields.map(Iua);e=gk(e,34,f).setMajorModifiedTime(Li(d.majorModifiedTimeMicros)).setParentIssueIdsList(d.parentIssueIds.map(ij).filter(lj));e=Gi(e,39,d.childIssueCount);e=Gi(e,45,d.descendantCount);e=Gi(e,46,d.openDescendantCount).setIsArchived(d.isArchived);d.trackerId&&e.setTrackerId(d.trackerId);d.snapshot&&d.snapshot[0]&&e.setIssueState(Kva(d.snapshot[0]));
d.statusUpdate&&e.setStatusUpdate(xva(d.statusUpdate));if(d.userData){f=e.setUserData;var h=d.userData,k=new fm;h.voted&&Kj(k,2,h.voted);h.starred&&Kj(k,1,h.starred);h.notificationSubscription&&k.setNotificationSubscription(Xya[h.notificationSubscription]);h.lastViewedTimeMicros!==void 0&&(h=Li(h.lastViewedTimeMicros),oj(k,Ii,5,h));f.call(e,k)}if(d.aggregatedData){f=bj(e,10,d.aggregatedData.voteCount).setCreatedTime(Li(d.aggregatedData.createdTimeMicros)).setResolvedTime(Li(d.aggregatedData.resolvedTimeMicros)).setVerifiedTime(Li(d.aggregatedData.verifiedTimeMicros)).setModifiedTime(Li(d.aggregatedData.modifiedTimeMicros));
k=Oi(d.aggregatedData.lastModifier);oj(f,Ni,14,k);if(d.aggregatedData.sloStatus){f=e.setSloStatus;h=d.aggregatedData.sloStatus;k=new gm;if(h.assignmentBounds){var q=nva(h.assignmentBounds);oj(k,Zj,1,q)}h.responseBounds&&(q=nva(h.responseBounds),oj(k,Zj,2,q));h.closureBounds&&(h=nva(h.closureBounds),oj(k,Zj,3,h));f.call(e,k)}d.aggregatedData.sloId&&e.setSloId(d.aggregatedData.sloId);d.aggregatedData.teamId&&e.setTeamId(d.aggregatedData.teamId);d.aggregatedData.retentionState&&(f=e.setRetentionState,
h=d.aggregatedData.retentionState,k=new hm,h.retentionPeriod&&(q=Xta(h.retentionPeriod),oj(k,Ki,1,q)),h.scheduledDeletionTime&&(h=Ji(h.scheduledDeletionTime),oj(k,Ii,2,h)),f.call(e,k))}d.accessLimit&&e.setAccessLimit(dua(d.accessLimit));if(d.ancestors)for(f=e.getAncestorsMap(),k=l(d.ancestors.entries()),h=k.next();!h.done;h=k.next())q=l(h.value),h=q.next().value,q=q.next().value,f.set(Number(h),(new im).setSourceIssueIdsList(q.sourceIssueIds.map(ij).filter(lj)));d.userActivityStats&&(d=d.userActivityStats,
f=new nk,f=bj(f,1,d.oneDayViewCount),f=bj(f,2,d.sevenDayViewCount),d=bj(f,3,d.thirtyDayViewCount),oj(e,nk,47,d));c.call(a,e)}a=(new jm).setIt(a);oj(b,jm,3,a);return b},$ya=function(a){var b=xj(a,Zya,1,yj());return{issueDigests:(b!=null?b:[]).map(Qya),numTotalResults:ej(a,2)}},bza=function(a){var b=(new km).setIssueId(a.issueId).setRetention(uua(a.retention));a.significanceOverride&&b.setSignificanceOverride(Qua[a.significanceOverride]);return(new aza).setIt(b)},dza=function(a){var b=new cza,c=b.setIt,
d=(new em).setIssueState(Kva(a.snapshot));a.snapshot.comment&&d.setIssueComment((new Xl).setComment(a.snapshot.comment).setFormattingMode(Wj(a.snapshot.formattingMode)));a.attachments&&d.addAllAttachments(a.attachments.map(Bua));d=(new lm).setIssue(d);if(a.templateId!=null){var e=new mm;e=Kj(e,1,!1).setTemplateId(a.templateId);oj(d,mm,3,e)}a.contentJudgement&&(e=d.setContentJudgement,a=dj(kua(a.contentJudgement),5,2),a=dj(a,6,1),e.call(d,a));return c.call(b,d)},eza=function(a){return{issueId:vua(a.getIssueId_asString())}},
fza=function(a){return wva(a.getIt())},gza=function(a){var b=new nm,c=b.setIt;var d=(new om).setQuery(a.query);d=dj(d,2,Qua[a.minimumSignificance]);a=Gi(d,4,a.maximumSize);a=dj(a,3,2);return c.call(b,a)},hza=function(a){if(!a)return!1;a=a.userGaiaStatus;return!a||a==="ACTIVE"||a==="UNSPECIFIED"},qm=function(a){return a?a.map(pm):[]},rm=function(a){a=qm(a);a.sort();return a},pm=function(a){return a&&a.getUserGaiaStatus?iza(jza(a)):iza(a)},iza=function(a){return a?a.userGaiaStatus==="DELETED"?"[Deleted User]":
a.userGaiaStatus==="UNAVAILABLE"?"[Unavailable User]":hza(a)?kza(a)||"[No Data]":"[No Data]":""},sm=function(a){return a&&a.getUserGaiaStatus?kza(jza(a)):kza(a)},kza=function(a){if(a)return a.emailAddress||a.obfuscatedEmailAddress||""},jza=function(a){if(a!=null){var b={},c;if(c=a.getEmailAddress())b.emailAddress=c;if(c=a.getObfuscatedEmailAddress())b.obfuscatedEmailAddress=c;if(c=a.getUserGaiaStatus())b.userGaiaStatus=lza[c];(c=a.getAliasesList(Pi))&&c.length>0&&(b.aliases=c);return b}},mza=function(a){if(!a)return null;
var b=[];a=l(a);for(var c=a.next();!c.done;c=a.next())(c=jza(c.value))&&b.push(c);return b},tm=function(a){return a?{emailAddress:a.trim(),userGaiaStatus:"ACTIVE"}:null},nza=function(a){var b=[];a=l(a);for(var c=a.next();!c.done;c=a.next())b.push(tm(c.value));return b},oza=function(a){if(a!=null)return ok(a.getIt())},pza=function(a){var b;return{version:a.version,unlinkifiedComment:a.unlinkifiedComment,commentNumber:a.commentNumber,commentVersion:a.version,commentLastModifiedAtDate:xua(a.lastModified),
commentRedacted:kj(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}},qza=function(a,b){var c,d,e;b=Li((e=(c=b.aggregatedData)==null?void 0:c.createdTimeMicros)!=null?e:0);c=b!=null?Number(b.toDate()):
void 0;return{attachments:[],preDiffs:[],postDiffs:[],modifiedDate:c,userPerformingActionUser:a.lastEditorUser,userPerformingAction:wua()(sm(a.lastEditorUser)),commentVersion:a.version,version:a.version,commentLastModifiedAtDate:xua(a.lastModified),commentRedacted:kj(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}},um=function(a){if(a!=null)if(a=oza(a.getIssue()),a==null)Ei("No issue. issueFetchResponseToJs");else return a},rza=function(a){var b=new vm;b.setIssueIdsList(a.issueIds.map(String));a=a.actions.map(Tya);gk(b,1,a);return b},sza=function(a){return{issueId:a.getIssueId_asString(),
message:a.getMessage()}},uza=function(a){for(var b={},c=l(ic(a,1,wm,Sb).entries()),d=c.next();!d.done;d=c.next()){var e=l(d.value);d=e.next().value;e=e.next().value;b[Number(d)]=oza(e)}c={};d=l(ic(a,3,Sk,Sb).entries());for(e=d.next();!e.done;e=d.next()){var f=l(e.value);e=f.next().value;f=f.next().value;c[Number(e)]=Qk(f)}a=xj(a,tza,2,yj());a=(a!=null?a:[]).map(sza);return{affectedIssues:b,componentMap:c,errors:a}},vza=function(a){var b;return((b=a.getIt().getIssueCommentsList())!=null?b:[]).map(bva).map(pza)},
wza=function(a){return{readTimestamp:dk(a.getIt(),Ii,3)?Mi($i(a.getIt(),Ii,3)):0}},xza=function(a){a=a.getIt();var b=a.getIssueState(),c=b.getAccessLimit();b={type:hva(b.getType()),status:hk[b.getStatus()],priority:ik[b.getPriority()],severity:zva[b.getSeverity()],componentId:b.getComponentId_asLegacyNumberOrString(),accessLimitLevel:c!=null?$ta(c):null};return{issueId:String(a.getIssueId_asLegacyNumberOrString()),issueState:b,modifiedTime:Hi(a.getModifiedTime()),teamId:a.getTeamId_asLegacyNumberOrString()}},
yza=function(a){return bva(a.getIt())},zza=function(a){var b;return((b=a.getIssueCommentsList())!=null?b:[]).map(yza)},Aza=function(a){return ava(a==null?void 0:a.getIt())},Bza=function(a){a=a.getIt();return{issues:a.getIssuesList().filter(lj).map(ok),numTotalResults:a.getTotalSize(),positionMap:void 0,nextPageToken:a.getNextPageToken(),totalSizeAccurate:a.getTotalSizeAccurate(),maySkipResults:a.getMaySkipResults()}},Dza=function(a){return{issueId:a.getIssueId_asString(),summaryType:Cza[a.getSummaryType()],
modelVersion:a.getModelVersion(),issueVersion:a.getIssueVersion(),summary:a.getSummary(),formattedSummary:dk(a,Uj,6)?{content:tj($i(a,Uj,6).getContent())}:void 0}},Hza=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,Eza,b))==null?void 0:c.getValue()};case "google.protobuf.Int64Value":var d;return{type:"NUMBER",value:(d=Lh(a,xm,b))==null?void 0:d.getValue_asLegacyNumberOrString()};case "google.protobuf.StringValue":var e;
return{type:"STRING",value:(e=Lh(a,Fza,b))==null?void 0:e.getValue()};case "google.protobuf.BoolValue":var f;return{type:"BOOLEAN",value:(f=Lh(a,Gza,b))==null?void 0:f.getValue()};case "google.protobuf.Timestamp":return{type:"TIMESTAMP",value:Hi(Lh(a,Ii,b))};case "google.devtools.issuetracker.v1.User":return a=Lh(a,Ni,b),{type:"USER",value:a&&Qi(a)};case "google.devtools.issuetracker.v1.CustomFieldValue":return a=Lh(a,Fj,b),{type:"CUSTOM_FIELD_VALUE",value:a&&Jua(a)};case "google.devtools.issuetracker.v1.IssueAccessLimit":return a=
Lh(a,Yi,b),{type:"ISSUE_ACCESS_LIMIT",value:a&&$ta(a)};case "google.devtools.issuetracker.v1.Issue.Effort":return a=Lh(a,kk,b),{type:"STRING",value:a&&Sua(a).estimate};case "google.devtools.issuetracker.v1.EntityStatus":return a=Lh(a,pj,b),{type:"ENTITY_STATUS",value:a&&mua(a)};case "google.devtools.issuetracker.v1.GerritChange":return a=Lh(a,mk,b),{type:"GERRIT_CHANGE",value:a&&Ava(a)};default:console.error("Unhandled type in parseProtoAny: "+b)}}},Jza=function(a){var b,c;return{issueId:String(a.getIssueId_asLegacyNumberOrString()),
version:a.getVersion(),author:Qi(a.getAuthor()),timestamp:Hi(a.getTimestamp()),fieldUpdates:a.getFieldUpdatesList().map(Iza).filter(lj),attachments:a.getAttachmentsList().map(zua),comment:a.hasIssueComment()&&((b=a.getIssueComment())==null?void 0:b.getIssueId_asLegacyNumberOrString())!==0?bva(a.getIssueComment()):void 0,statusUpdate:a.hasStatusUpdate()?wva(a.getStatusUpdate()):void 0,statusUpdateEntityStatus:((c=a.getStatusUpdate())==null?0:c.getEntityStatus())?mua(a.getStatusUpdate().getEntityStatus()):
void 0}},Iza=function(a){var b=a.getField();if(Kza.has(b)){var c=Ri(a,Lza);switch(c){case 3:a:{if(c=Bj(a,Mza,3,Lza)){a=Hza($i(c,ym,1));var d=Hza($i(c,ym,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:Nza(Bj(a,Oza,4,Lza))};default:console.error("Unexpected ValueUpdate oneof in Proto for field id:"+c)}}else console.error('Unexpected IssueStateMask value: "'+
b+'"')},Nza=function(a){if(a){var b=xj(a,ym,1,yj()).map(Hza).filter(lj);a=xj(a,ym,2,yj()).map(Hza).filter(lj);var c=[].concat(r(b),r(a));if(c.length!==0)return{type:c[0].type,added:b.map(function(d){return d.value}),removed:a.map(function(d){return d.value})}}},zm=function(a){return new ui(a.year,a.month-1,a.day)},Am=function(a){return{month:a.getMonth()+1,day:a.getDate(),year:a.getFullYear()}},Pza=function(a){return!(!a||a.day==null||a.month==null||a.year==null)},Bm=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},Cm=function(a){a=Bm(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},Qza=function(a){return a?Am(wi(a)):null},Rza=function(a){return a?(a=bk(a),isNaN(a)?null:a):null},Tza=function(a){return Sza.format(zm(a))},Uza=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},Dm=function(a){var b=a.match(Vza);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"}}},Yza=function(a,b){a=a.map(Wza)||[];b=b.map(Wza)||[];return Nta(a,new Set(b)).map(Xza)},Wza=function(a){return a.host+","+a.repo+","+a.changeNumber+","+a.state},Xza=function(a){var b=l(a.split(","));a=b.next().value;
var c=b.next().value,d=b.next().value;b=b.next().value;d=ij(d);if(!d)throw Error("Dc");if(!Object.values(Zza).includes(b))throw Error("Ec");return{host:a,repo:c,changeNumber:d,state:b}},aAa=function(a){return a==null?!1:$za.has(a.name)},bAa=function(a){return(a==null?void 0:a.name)==="hotlist"},cAa=function(a){return a==null?!1:a.href!=null&&a.value!=null},dAa=function(a){return Array.isArray(a)?a.every(cAa):!1},Em=function(a){return{value:String(a),href:"issues/"+a}},eAa=function(a){return{value:a,
href:"https://critique.corp.google.com/"+a}},fAa=function(a){var b=Ql();return{value:a.changeNumber,href:Uza(a,b===void 0?!1:b)}},gAa=function(a){return{value:String(a),href:"issues?q=hotlistid:"+a}},hAa=function(a){return{value:a,href:"https://pm.corp.google.com/"+a}},Fm=function(a){return a?a.seconds*1E3+a.nanos/1E6:0},Gm=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":""))+")"},iAa=function(a){if(a){var b=new Hm;b.setTime(a.getTime());
return b}},jAa=function(a){if(a!=null)return new Date(a.year,a.month-1,a.day)},kAa=function(a){if(a==null)return"";var b=a.toLocaleDateString(void 0,{dateStyle:"medium"});return(new Date).getFullYear()===a.getFullYear()?b.split(", ")[0]:b},nAa=function(a){var b=a.fieldUpdates.map(function(c){return lAa(c,a)}).filter(lj);a.statusUpdate&&b.push({name:"statusUpdate",displayName:"Status Update",type:"STATUS_UPDATE",important:!1,timestamp:Fm(a.timestamp),statusUpdateDiff:a.statusUpdateEntityStatus?{entityStatus:a.statusUpdateEntityStatus}:
void 0});return mAa(b)},mAa=function(a){var b=a.filter(function(h){return h.name==="status"});a=a.filter(function(h){return h.name!=="status"});var c=[].concat(r(a),r(b));b=[];a=void 0;c=l(c);for(var d=c.next();!d.done;d=c.next())d=d.value,d.name==="canonicalId"?a=d:(d.name==="status"&&a&&(d.newValue==="Duplicate"&&(d.newValue="Duplicate of "+a.newValue),d.oldValue==="Duplicate"&&(d.oldValue="Duplicate of "+a.oldValue),a=void 0),b.push(d));var e,f;((e=a)==null?0:e.oldValue)&&((f=a)==null?0:f.newValue)&&
b.push({name:"status",displayName:"Status",type:"SINGLE_VALUE",important:!0,timestamp:a.timestamp,oldValue:"Duplicate of "+a.oldValue,newValue:"Duplicate of "+a.newValue});return b},lAa=function(a,b){var c=Fm(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:Im(e.oldValue),newValue:Im(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(Em),removed:e.removed.map(Em)};case "blocking_issue_ids":return e=a.collectionUpdate,{name:"blockingId",displayName:"Blocking",type:"LINKED_COLLECTION",important:!1,timestamp:c,added:e.added.map(Em),
removed:e.removed.map(Em)};case "canonical_issue_id":return e=a.singleValueUpdate,{name:"canonicalId",displayName:"Canonical",type:"SINGLE_VALUE",important:!0,timestamp:c,oldValue:jj(e.oldValue),newValue:jj(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(Im),removed:e.removed.map(Im)};case "collaborators":return e=a.collectionUpdate,{name:"collaborators",displayName:"Collaborators",type:"USER_COLLECTION",
important:!1,timestamp:c,isUser:!0,added:e.added.map(Im),removed:e.removed.map(Im)};case "child_issue_ids":return e=a.collectionUpdate,{name:"childIssueIds",displayName:"Child Issue",type:"LINKED_COLLECTION",important:!1,timestamp:c,added:e.added.map(Em),removed:e.removed.map(Em)};case "code_changes":return e=a.collectionUpdate,Object.assign({},{name:"changelist",displayName:"Changelist",important:!1,timestamp:c},Ql()?{type:"LINKED_COLLECTION",added:e.added.map(eAa),removed:e.removed.map(eAa)}:{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=jj(f.oldValue))!=null?e:"",newValue:(h=jj(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:oAa(e.oldValue),newValue:oAa(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(Em),removed:e.removed.map(Em)};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(qa){return fAa(qa)}),removed:e.removed.map(function(qa){return fAa(qa)})};case "hotlist_ids":return e=a.collectionUpdate,{name:"hotlist",displayName:"Hotlist",type:"LINKED_COLLECTION",important:!1,timestamp:c,added:e.added.map(gAa),removed:e.removed.map(gAa)};case "in_prod":return e=a.singleValueUpdate,{name:"inProd",
displayName:"In prod",type:"SINGLE_VALUE",important:!1,timestamp:c,oldValue:e.oldValue!=null?String(e.oldValue):"",newValue:e.newValue!=null?String(e.newValue):""};case "is_archived":e=a.singleValueUpdate;var k;return{name:"isArchived",displayName:"Archived",type:"SINGLE_VALUE",important:!b||e.newValue,timestamp:c,oldValue:String((f=e.oldValue)!=null?f:!1),newValue:String((k=e.newValue)!=null?k:!1)};case "parent_issue_ids":return e=a.collectionUpdate,{name:"parentIssueIds",displayName:"Parent Issue",
type:"LINKED_COLLECTION",important:!1,timestamp:c,added:e.added.map(Em),removed:e.removed.map(Em)};case "postmortems":return e=a.collectionUpdate,Object.assign({},{name:"postmortem",displayName:"Postmortem",timestamp:c,important:!1},Ql()?{type:"LINKED_COLLECTION",added:e.added.map(hAa),removed:e.removed.map(hAa)}:{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?ik[e.oldValue]:"",newValue:e.newValue!=null?ik[e.newValue]:""};case "retention":e=a.singleValueUpdate;var q,t;return{name:"retention",displayName:"Retention",type:"SINGLE_VALUE",important:!1,timestamp:c,oldValue:(q=pAa(e.oldValue))!=null?q:"",newValue:(t=pAa(e.newValue))!=null?t:""};case "reporter":return e=a.singleValueUpdate,{name:"reporter",displayName:"Reporter",type:"SINGLE_VALUE",important:!1,timestamp:c,isUser:!0,oldValue:Im(e.oldValue),newValue:Im(e.newValue)};case "severity":return e=
a.singleValueUpdate,{name:"severity",displayName:"Severity",type:"SINGLE_VALUE",important:!1,timestamp:c,oldValue:e.oldValue!=null?zva[e.oldValue]:"",newValue:e.newValue!=null?zva[e.newValue]:""};case "slo_snooze_until":e=a.singleValueUpdate;var w,B,E,I;return{name:"sloStartTime",displayName:"SLO Start Date",type:"SINGLE_VALUE",important:!1,timestamp:c,oldValue:String((E=(w=e.oldValue)==null?void 0:w.seconds)!=null?E:"<none>"),newValue:String((I=(B=e.newValue)==null?void 0:B.seconds)!=null?I:"<none>")};
case "slo_end_time":e=a.singleValueUpdate;var J,N,P,U;return{name:"sloEndTime",displayName:"SLO End Date",type:"SINGLE_VALUE",important:!1,timestamp:c,oldValue:String((P=(J=e.oldValue)==null?void 0:J.seconds)!=null?P:"<none>"),newValue:String((U=(N=e.newValue)==null?void 0:N.seconds)!=null?U:"<none>")};case "status":e=a.singleValueUpdate;var ba,ma;return{name:"status",displayName:"Status",type:"SINGLE_VALUE",important:!0,timestamp:c,oldValue:Ai((ba=Jm.get(e.oldValue))!=null?ba:""),newValue:Ai((ma=
Jm.get(e.newValue))!=null?ma:"")};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 na,ya;return{name:"title",displayName:"Title",type:"SINGLE_VALUE",important:!1,timestamp:c,oldValue:(na=e.oldValue)!=null?na:"",newValue:(ya=e.newValue)!=null?ya:""};case "type":e=a.singleValueUpdate;var Pa,ia;return{name:"type",displayName:"Type",type:"SINGLE_VALUE",
important:!1,timestamp:c,oldValue:(Pa=qAa.get(e.oldValue))!=null?Pa:"",newValue:(ia=qAa.get(e.newValue))!=null?ia:""};case "verifier":return e=a.singleValueUpdate,{name:"verifier",displayName:"Verifier",type:"SINGLE_VALUE",important:!1,timestamp:c,isUser:!0,oldValue:Im(e.oldValue),newValue:Im(e.newValue)};case "verified_in_versions":return e=a.collectionUpdate,{name:"verifiedIn",displayName:"Verified in",type:"COLLECTION",important:!1,timestamp:c,added:e.added,removed:e.removed};case "deletion_reason":case "entity_status":case "is_deleted":case "slo_snooze_type":break;
default:Dc(d,"Unexpected IssueStateMask in fieldUpdateToDiff")}},Im=function(a){return wua()(sm(a))},oAa=function(a){var b;a==null?b="<none>":b=a.textValue!=null?a.textValue:a.dateValue!=null?Tza(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(Tza).join(", "):a.repeatedEnumValue!=null?a.repeatedEnumValue.values.join(", "):a.repeatedNumericValue!=
null?a.repeatedNumericValue.values.map(String).join(", "):"";return b},pAa=function(a){if(a!=null)switch(Cva[a]){case "COMPONENT_DEFAULT":return"Component Default";case "INDEFINITE":return"Indefinite"}},Km=function(a){return!!a&&rAa.test(a)&&!sAa.test(a)},vAa=function(a){a=a===void 0?"":a;return!tAa(a)||a.endsWith("-robots@google.com")||uAa(a)},uAa=function(a){return wAa.some(function(b){return a.endsWith(b)})},tAa=function(a){return!a.endsWith("@prod.google.com")&&!a.endsWith("@appspot.gserviceaccount.com")},
Lm=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""}},Nm=function(a,b,c,d){return{status:a,displayValue:Mm[a],open:b,assigneeRequirement:c,sortOrder:d}},AAa=function(a){var b=void 0,c=void 0;a=l(a);for(var d=a.next();!d.done;d=a.next()){d=d.value;var e=d.updates.flatMap(function(w){return w.fieldUpdates}),f=void 0,h=(f=Na(e.filter(function(w){return w.field==="assignee"})))==null?void 0:f.singleValueUpdate;h&&(b=xAa(h));f=void 0;var k=(f=Na(e.filter(function(w){return w.field==="verifier"})))==null?
void 0:f.singleValueUpdate;k&&(c=xAa(k));f=void 0;k=(f=Na(e.filter(function(w){return w.field==="status"})))==null?void 0:f.singleValueUpdate;var q=void 0;f=(q=Na(e.filter(function(w){return w.field==="canonical_issue_id"})))==null?void 0:q.singleValueUpdate;q=void 0;e=(q=Na(e.filter(function(w){return w.field==="is_archived"})))==null?void 0:q.singleValueUpdate;if(k){q=k.oldValue!=null?hk[k.oldValue]:void 0;k=k.newValue!=null?hk[k.newValue]:void 0;var t=void 0;f=jj((t=f)==null?void 0:t.newValue);
yAa(d,zAa({oldStatus:q,newStatus:k,currentAssignee:b,currentVerifier:c,canonicalIssueId:f,assigneeChanged:!!h}))}else h&&b?yAa(d,[Om("Reassigned to "),Pm(b),Om(".")]):f&&(k=void 0,f=jj((k=f)==null?void 0:k.newValue),yAa(d,zAa({oldStatus:"DUPLICATE",newStatus:"DUPLICATE",currentAssignee:b,currentVerifier:c,canonicalIssueId:f,assigneeChanged:!!h})));e&&yAa(d,[Om(e.newValue?"Archived.":"Unarchived.")])}},zAa=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&&Qm[b];var h=c&&Qm[c];if(b&&h&&!b.open&&h.open)return[Om("Status: "+h.displayValue+" (reopened)")];switch(c){case "ASSIGNED":if(d)return[Om("Assigned to "),Pm(d),Om(".")];break;case "ACCEPTED":if(d)return[Om("Accepted by "),Pm(d),Om(".")];break;case "FIXED":return a&&d?[Om("Marked as fixed, reassigned to "),Pm(d),Om(".")]:[Om("Marked as fixed.")];case "VERIFIED":if(e)return[Om("Verified by "),Pm(e),Om(".")];break;case "DUPLICATE":if(f)return[Om("Status: Duplicate of "),
{text:f,tag:"bug"}]}return[Om("Status: "+Ai(h.displayValue))]},xAa=function(a){if(a)return a.newValue},Om=function(a){return{text:a,tag:""}},Pm=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 Om(a.obfuscatedEmailAddress);break;case "DELETED":return Om("Deleted User");case "UNAVAILABLE":return Om("Unavailable User");default:return console.warn("Unexpected User Gaia status in userToTaggedText"),
{text:""}}return Om("User")},BAa=function(a){return a},Sm=function(a){return Rm(a,BAa)},Rm=function(a,b){var c={};return a.filter(function(d){d=String(b(d));return c[d]?!1:c[d]=!0})},CAa=function(a){return function(b){return Rm(b,a)}},DAa=function(a,b){return a.map(function(c,d){return[c,b[d]]})},EAa=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},FAa=function(a,b){if(a.length!==b.length)return!1;
a=[].concat(r(a)).sort();b=[].concat(r(b)).sort();return a.every(function(c,d){return c===b[d]})},GAa=function(a,b){if(a.length===0)return b;b=b.slice();b=EAa(a,b);return[].concat(r(a),r(b))},HAa=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)})}},IAa=function(a,b){a=Awa(a,b);return[].concat(r(a.values()))},JAa=function(a){for(var b=[],c=0;c<a.length;c+=100)b.push(a.slice(c,c+100));return b},KAa=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]})},Tm=function(a,b,c){return function(d,e){e=e===void 0?c:e;return LAa(d,a,b,e)}},LAa=function(a,b,c,d){d=d===void 0?"":d;return d===""?[].concat(r(a)):[].concat(r(a)).sort(function(e,f){var h=d==="asc"?1:-1;return c(b(e),b(f))*h})},Um=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},Vm=function(a,b){return a==
null||b==null?a==null&&b==null?0:a==null?1:b==null?-1:0:a.localeCompare(b)},OAa=function(a){if(!a.length)return[];a=IAa(a,function(b){return b.issueId}).flatMap(MAa);return NAa(a,"desc")},MAa=function(a){if(!a.length)return[];a=PAa(a);AAa(a);return a.map(function(b){return QAa(b)}).filter(RAa)},RAa=function(a){var b;return a.postDiffs.length||a.preDiffs.length||a.commentNumber||a.attachments.length||((b=a.taggedSummary)==null?void 0:b.length)},PAa=function(a){var b=SAa(a,"asc");a=[new TAa];b=l(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 k=c.author;h=!(h===k||(h.emailAddress||k.emailAddress?h.emailAddress===k.emailAddress:(h.obfuscatedEmailAddress||k.obfuscatedEmailAddress)&&h.obfuscatedEmailAddress===k.obfuscatedEmailAddress))}if(h||d.comment&&c.comment)e=!1;else{if(h=(f=d.updates[0])==null?0:f.timestamp)f=(e=d.updates[0])==null?void 0:e.timestamp,
h=Math.abs(Fm(f)-Fm(c.timestamp))>36E5;e=h?!1:!0}}e?UAa(d,c):a.push(UAa(new TAa,c))}return a},Wm=function(){return new VAa},WAa=function(a){var b={};if(a==null)return b;a=xj(a,Xm,1,yj());a=l(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=c.getResource(),e={admin:!1,writer:!1,appender:!1,reader:!1};b[d]=b[d]||e;switch(c.getRelation()){case 1:b[d].admin=!0;break;case 2:b[d].writer=!0;break;case 3:b[d].appender=!0;break;case 4:b[d].reader=!0}}return b},XAa=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})},YAa=function(a){if(a&1){var b=u();F(0,"div",1)(1,"button",2);M("click",function(){v(b);var c=O();return x(c.action())});R(2);G()()}a&2&&(a=O(),z(2),S(" ",a.data.action," "))},ZAa=function(){},$Aa=function(){return new Lc(3008,!1)},Ym=function(a){if(typeof a=="number")return a;a=a.match(/^(-?[\.\d]+)(m?s)/);return!a||a.length<2?0:aBa(parseFloat(a[1]),a[2])},aBa=function(a,b){switch(b){case "s":return a*1E3;default:return a}},
bBa=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 Lc(3E3,!1));b={duration:0,delay:0,easing:""};break a}a=aBa(parseFloat(d[1]),d[2]);var h=d[3];h!=null&&(e=aBa(parseFloat(h),d[4]));(d=d[5])&&(f=d)}c||(c=!1,d=b.length,a<0&&(b.push(new Lc(3100,!1)),c=!0),e<0&&(b.push(new Lc(3101,!1)),c=!0),c&&b.splice(d,0,new Lc(3E3,!1)));b={duration:a,delay:e,
easing:f}}return b},cBa=function(a){return a.length?a[0]instanceof Map?a:a.map(function(b){return new Map(Object.entries(b))}):[]},Zm=function(a,b,c){b.forEach(function(d,e){var f=dBa(e);c&&!c.has(e)&&c.set(e,a.style[f]);a.style[f]=d})},$m=function(a,b){b.forEach(function(c,d){d=dBa(d);a.style[d]=""})},an=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},fBa=function(a,b,c){var d=b.params||{};a=eBa(a);a.length&&a.forEach(function(e){d.hasOwnProperty(e)||
c.push(new Lc(3001,!1))})},eBa=function(a){var b=[];if(typeof a==="string"){for(var c;c=gBa.exec(a);)b.push(c[1]);gBa.lastIndex=0}return b},bn=function(a,b,c){var d=""+a,e=d.replace(gBa,function(f,h){h=b[h];h==null&&(c.push(new Lc(3003,!1)),h="");return h.toString()});return e==d?a:e},dBa=function(a){return a.replace(hBa,function(){return kd.apply(0,arguments)[1].toUpperCase()})},jBa=function(a,b,c){if(c.size&&b.length){var d=b[0],e=[];c.forEach(function(h,k){d.has(k)||e.push(k);d.set(k,h)});if(e.length){c=
{};for(var f=1;f<b.length;c={kf$jscomp$1:void 0},f++)c.kf$jscomp$1=b[f],e.forEach(function(h){return function(k){return h.kf$jscomp$1.set(k,iBa(a,k))}}(c))}}return b},cn=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 Lc(3004,!1);}},iBa=function(a,b){return window.getComputedStyle(a)[b]},en=function(a){switch(a.length){case 0:return new dn;case 1:return a[0];default:return new kBa(a)}},mBa=function(a,b,c){b=b===void 0?new Map:b;c=c===void 0?new Map:c;var d=[],e=[],f=-1,h=null;a.forEach(function(k){var q=k.get("offset"),t=q==f,w=t&&h||new Map;k.forEach(function(B,
E){var I=E;if(E!=="offset")switch(I=dBa(I),B){case "!":B=b.get(E);break;case "*":B=c.get(E);break;default:B=lBa(I,B,d)}w.set(I,B)});t||e.push(w);h=w;f=q});if(d.length)throw new Lc(3502,!1);return e},oBa=function(a,b,c,d){switch(b){case "start":a.onStart(function(){return d(c&&nBa(c,"start",a))});break;case "done":a.onDone(function(){return d(c&&nBa(c,"done",a))});break;case "destroy":a.onDestroy(function(){return d(c&&nBa(c,"destroy",a))})}},nBa=function(a,b,c){var d=c.totalTime;b=pBa(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},pBa=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}},fn=function(a,b,c){var d=a.get(b);d||a.set(b,d=c);return d},qBa=function(a){var b=a.indexOf(":");return[a.substring(1,b),a.slice(b+1)]},sBa=function(a){a=a.parentNode||a.host||null;return a===rBa?null:a},tBa=function(a,b){for(;b;){if(b===
a)return!0;b=sBa(b)}return!1},uBa=function(a,b,c){return c?Array.from(a.querySelectorAll(b)):(a=a.querySelector(b))?[a]:[]},xBa=function(a,b){var c=[];typeof a=="string"?a.split(/\s*,\s*/).forEach(function(d){a:{if(d[0]==":"&&(d=vBa(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 Lc(3015,!1)),d=c;else{d=e[1];var f=e[2];e=e[3];c.push(wBa(d,e));f[0]!="<"||d=="*"&&e=="*"||c.push(wBa(e,d));d=void 0}}return d}):
c.push(a);return c},vBa=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 Lc(3016,!1)),"* => *"}},wBa=function(a,b){var c=yBa.has(a)||zBa.has(a),d=yBa.has(b)||zBa.has(b);return function(e,f){var h=a=="*"||a==e,k=b=="*"||b==f;!h&&c&&typeof e==="boolean"&&(h=e?yBa.has(a):zBa.has(a));!k&&d&&
typeof f==="boolean"&&(k=f?yBa.has(b):zBa.has(b));return h&&k}},BBa=function(a){var b=a.split(/\s*,\s*/).find(function(c){return c==":self"})?!0:!1;b&&(a=a.replace(ABa,""));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]},CBa=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},DBa=function(a,b){if(a.hasOwnProperty("duration"))return a;if(typeof a=="number")return{duration:bBa(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=bBa(a,b);return{duration:a.duration,delay:a.delay,easing:a.easing}},gn=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},EBa=function(a,b,c,d,e,f,h,k){return{type:1,element:a,keyframes:b,preStyleProps:c,postStyleProps:d,duration:e,delay:f,totalTime:e+f,easing:h===void 0?null:h,subTimeline:k===void 0?!1:k}},GBa=function(a,b,c,d,e,f,h,k,q,t){f=f===void 0?new Map:f;h=h===void 0?new Map:h;t=t===void 0?[]:t;return(new FBa).buildKeyframes(a,b,c,d,e,f,h,k,q,t)},HBa=function(a){var b=Math.pow(10,2);return Math.round(a*b)/b},IBa=function(a,b){var c=
new Map,d;a.forEach(function(e){if(e==="*"){d!=null||(d=b.keys());e=l(d);for(var f=e.next();!f.done;f=e.next())c.set(f.value,"*")}else for(e=l(e),f=e.next();!f.done;f=e.next()){var h=l(f.value);f=h.next().value;h=h.next().value;c.set(f,h)}});return c},JBa=function(a,b,c,d,e,f,h,k,q,t,w,B,E){return{type:0,element:a,triggerName:b,isRemovalTransition:e,fromState:c,fromStyles:f,toState:d,toStyles:h,timelines:k,queriedElements:q,preStyleProps:t,postStyleProps:w,totalTime:B,errors:E}},KBa=function(a,b,
c,d,e){return a.some(function(f){return f(b,c,d,e)})},LBa=function(a,b){var c=Object.assign({},b);Object.entries(a).forEach(function(d){var e=l(d);d=e.next().value;e=e.next().value;e!=null&&(c[d]=e)});return c},MBa=function(a,b){return new hn(a,{type:1,animation:{type:2,steps:[],options:null},matchers:[function(){return!0}],options:null,queryCount:0,depCount:0},b)},NBa=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))},OBa=function(a){return a&&a.nodeType===1},PBa=function(a,
b){var c=a.style.display;a.style.display=b!=null?b:"none";return c},RBa=function(a,b,c,d,e){var f=[];c.forEach(function(q){return f.push(PBa(q))});var h=[];d.forEach(function(q,t){var w=new Map;q.forEach(function(B){var E=b.computeStyle(t,B,e);w.set(B,E);E&&E.length!=0||(t.__ng_removed=QBa,h.push(t))});a.set(t,w)});var k=0;c.forEach(function(q){return PBa(q,f[k++])});return h},SBa=function(a,b){function c(h){if(!h)return 1;var k=f.get(h);if(k)return k;var q=h.parentNode;d.has(q)?k=q:e.has(q)?k=1:
k=c(q);f.set(h,k);return k}var d=new Map;a.forEach(function(h){return d.set(h,[])});if(b.length==0)return d;var e=new Set(b),f=new Map;b.forEach(function(h){var k=c(h);k!==1&&d.get(k).push(h)});return d},jn=function(a,b){var c;(c=a.classList)==null||c.add(b)},kn=function(a,b){var c;(c=a.classList)==null||c.remove(b)},TBa=function(a,b,c){en(c).onDone(function(){return ln(a,b)})},VBa=function(a){var b=[];UBa(a,b);return b},UBa=function(a,b){for(var c=0;c<a.length;c++){var d=a[c];d instanceof kBa?UBa(d.players,
b):b.push(d)}},WBa=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},XBa=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},$Ba=function(a,b){var c=null,d=null;Array.isArray(b)&&b.length?(c=YBa(b[0]),b.length>1&&(d=YBa(b[b.length-1]))):b instanceof Map&&(c=YBa(b));return c||d?new ZBa(a,c,d):
null},YBa=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},aCa=function(a){switch(a){case "body":return document.body;case "document":return document;case "window":return window;default:return a}},bCa=function(a){var b=a.indexOf(".");return[a.substring(0,b),a.slice(b+1)]},cCa=function(a){a&1&&(F(0,"span",6),R(1),G());a&2&&(a=O(),z(),lg(a.data.message))},dCa=function(a){a&1&&H(0,"span",7);a&2&&(a=O(),D("innerHtml",a.data.htmlMessage,
Pe))},eCa=function(a){if(a&1){var b=u();F(0,"button",8);M("click",function(){v(b);var c=O();return x(c.snackBarRef.dismissWithAction())});R(1);G()}a&2&&(a=O(),z(),S(" ",a.data.actionLabel," "))},fCa=function(a){if(a&1){var b=u();F(0,"button",8);M("click",function(){v(b);var c=O();return x(c.snackBarRef.dismiss())});R(1);G()}a&2&&(a=O(),z(),S(" ",a.data.dismissLabel," "))},gCa=function(a){if(a&1){var b=u();F(0,"button",9);M("click",function(){v(b);var c=O();return x(c.snackBarRef.dismiss())});H(1,
"mat-icon",10);G()}},hCa=function(a){var b;return((b=a.error)==null?void 0:b.message)!==void 0},mn=function(a){return!!a&&$a(a)&&(!!a.data&&a.data.message!==void 0||hCa(a))},nn=function(a){return a.data&&a.data.message!==void 0&&a.data&&a.data.message?a.data.message:hCa(a)&&a.error&&a.error.message?a.error.message:""},iCa=function(a){return(new on).setIt(twa(a))},pn=function(a){return uwa(a.getIt())},jCa=function(a){a=xj(a,on,1,yj());return(a!=null?a:[]).map(pn)},lCa=function(a,b){var c=c===void 0?
function(e){return e}:c;if(kCa()&&(a=c(a),b=c(b),!pi(a,b))){var d=function(e,f){if(f instanceof Array)return f;if(!(f instanceof Object))return f;e=Tm(function(h){var k=l(h);h=k.next().value;k.next();return h},Vm)([].concat(r(Object.entries(f))),"asc");return Object.fromEntries(e)};c=function(e,f){return d(e,f===void 0?null:f)};console.error("Discrepancy of messages during LeanFE migration.\n    ### obj1: "+JSON.stringify(a,c,2)+"\n\n    ### obj2: "+JSON.stringify(b,c,2)+"\n    ");console.log({obj1:a,
obj2:b})}},qn=function(a){var b,c;return(c=(b=vya().getConfig())==null?void 0:hc(b,4,Uca).get(a))!=null?c:!1},nCa=function(a){var b=$i(a,rn,1);switch(b.getResourceType()){case 1:a={name:b.getName(),hotlistId:Number(b.getResourceId_asString()),resourceType:"HOTLIST"};break;case 2:a={name:b.getName(),bookmarkGroupId:Number(b.getResourceId_asString()),resourceType:"BOOKMARK_GROUP"};break;case 3:a={name:b.getName(),savedSearchId:Number(b.getResourceId_asString()),resourceType:"SAVED_SEARCH"};break;default:throw Error("Pc");
}mCa&&b.getIt()&&(b=Dwa(b.getIt()),lCa(a,b),a=b);return a},oCa=function(a){return xwa(a.getIt())},pCa=function(a){a=xj(a,sn,1,yj());return(a!=null?a:[]).map(oCa)},qCa=function(a){return{id:a.getId_asString(),name:a.getName(),description:a.getDescription(),adminUsers:mza(a.getAdminUsersList(Pi)),starred:a.getStarred(),resourceType:a.getResourceType()}},rCa=function(a){var b=a.getId_asString(),c=a.getName(),d=a.getDescription(),e=mza(a.getAdminUsersList(Pi)),f=a.getStarred();a=xj(a,tn,6,yj());return{id:b,
name:c,description:d,adminUsers:e,starred:f,sublinks:(a!=null?a:[]).map(qCa)}},sCa=function(a){var b,c=((b=a.getHotlistsList())!=null?b:[]).map(qCa);b=xj(a,un,2,yj());b=(b!=null?b:[]).map(rCa);var d=xj(a,tn,3,yj());d=(d!=null?d:[]).map(qCa);a=xj(a,un,4,yj());return{hotlists:c,bookmarkGroups:b,archivedHotlists:d,archivedBookmarkGroups:(a!=null?a:[]).map(rCa)}},tCa=function(a){return oCa(a.getSearch())},uCa=function(a){return xj(a,sn,1,yj()).map(oCa)},vCa=function(a){return{id:String(a.hotlistId),name:a.name,
description:a.description,adminUsers:a.adminUsers,starred:!0,resourceType:"HOTLIST"}},wCa=function(a){switch(a.resourceType){case "HOTLIST":var b,c,d,e;return{id:String(a.hotlistId),name:a.name,description:(d=(b=a.hotlist)==null?void 0:b.description)!=null?d:"",adminUsers:(e=(c=a.hotlist)==null?void 0:c.adminUsers)!=null?e:[],starred:!0,resourceType:"HOTLIST"};case "SAVED_SEARCH":var f,h,k,q;return{id:String(a.savedSearchId),name:a.name,description:(k=(f=a.savedSearch)==null?void 0:f.description)!=
null?k:"",adminUsers:(q=(h=a.savedSearch)==null?void 0:h.adminUsers)!=null?q:[],starred:!0,resourceType:"SAVED_SEARCH"};case "BOOKMARK_GROUP":throw Error("Rc");default:Dc(a.resourceType,"Unexpected type in bookmarkItemToLink")}},xCa=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(wCa)}},BCa=function(a,b,c){var d=new Map,e=new Map,f=new Map,
h=new Map,k=new Map;b=l(b);for(var q=b.next();!q.done;q=b.next())q=q.value,q.archived?e.set(q.bookmarkGroupId,q):d.set(q.bookmarkGroupId,q);b=[].concat(r(d.values())).flatMap(function(w){var B;return(B=w.item)!=null?B:[]});q=new Set(b.filter(function(w){return w.resourceType==="HOTLIST"}).map(function(w){return w.hotlistId}));b=new Set(b.filter(function(w){return w.resourceType==="SAVED_SEARCH"}).map(function(w){return w.savedSearchId}));a=l(a);for(var t=a.next();!t.done;t=a.next())t=t.value,q.has(t.hotlistId)||
(t.archived?h.set(t.hotlistId,vCa(t)):f.set(t.hotlistId,vCa(t)));c=l(c);for(a=c.next();!a.done;a=c.next())a=a.value,b.has(a.searchId)||k.set(a.searchId,{id:String(a.searchId),name:a.name,description:a.description,adminUsers:a.adminUsers,starred:!0,resourceType:"SAVED_SEARCH"});return{id:"current-user-bookmark-id",bookmarkGroups:yCa([].concat(r(d.values())).map(xCa)),archivedBookmarkGroups:yCa([].concat(r(e.values())).map(xCa)),hotlists:zCa(f.values()),archivedHotlists:zCa(h.values()),savedSearches:ACa(k.values())}},
CCa=function(a,b){var c=new Set(b.hotlists.map(function(k){return k.hotlistId})),d=new Set(b.bookmarkGroups.map(function(k){return k.bookmarkGroupId}));b=new Set(b.savedSearches.map(function(k){return k.searchId}));for(var e=l([].concat(r(a.hotlists),r(a.archivedHotlists))),f=e.next();!f.done;f=e.next())f=f.value,f.starred=c.has(Number(f.id));e=l([].concat(r(a.bookmarkGroups),r(a.archivedBookmarkGroups)));for(f=e.next();!f.done;f=e.next()){f=f.value;f.starred=d.has(Number(f.id));var h=void 0;f=l((h=
f.sublinks)!=null?h:[]);for(h=f.next();!h.done;h=f.next())switch(h=h.value,h.resourceType){case "HOTLIST":h.starred=c.has(Number(h.id));break;case "SAVED_SEARCH":h.starred=b.has(Number(h.id));break;case "BOOKMARK_GROUP":h.starred=d.has(Number(h.id));break;default:throw Error("Sc");}}c=l(a.savedSearches);for(d=c.next();!d.done;d=c.next())d=d.value,d.starred=b.has(Number(d.id));return a},DCa=function(a){return a==null?{closed:0,total:0}:{closed:a.descendantCount-a.openDescendantCount,total:a.descendantCount}},
ECa=function(a,b){if(a==null)return 0;var c=0;a=l(a.aggregatedStatus);for(var d=a.next();!d.done;d=a.next()){d=d.value;var e=d.issueIds===void 0?[]:d.issueIds;d.status===b&&(c+=e.length)}return c},FCa=function(a){var b,c;return(c=a==null?void 0:(b=a.changelists)==null?void 0:b.length)!=null?c:0},GCa=function(a){var b;return(b=a==null?void 0:a.gerritChanges)!=null?b:[]},HCa=function(a){if(a==null)return[];a=[].concat(r(a.assignees.map(function(b){return b.emailAddress})),r(a.collaborators.map(function(b){return b.emailAddress})),
r(a.verifiers.map(function(b){return b.emailAddress})),r(a.reporters.map(function(b){return b.emailAddress}))).filter(lj);return KAa(a)},ICa=function(a,b){var c;a=(c=a.componentPathInfo)==null?void 0:c.allCustomField;if(!a)return!0;c=l(a);var d=c.next();for(a={};!d.done;a={customField$jscomp$6:void 0},d=c.next())if(a.customField$jscomp$6=d.value,a.customField$jscomp$6.required){d=!!a.customField$jscomp$6.typedDefaultValue;var e=void 0,f=void 0,h=(e=b)==null?void 0:(f=e.snapshot.customField)==null?
void 0:f.some(function(k){return function(q){return q.customFieldId===k.customField$jscomp$6.customFieldId}}(a));if(!d&&!h)return!1}return!0},vn=function(a,b){return(a!=null?a:0)+(b!=null?b:0)},JCa=function(a){return a.length===0?0:a.reduce(vn)/a.length},KCa=function(a,b){b=b===void 0?JCa(a):b;if(a.length===0)return 0;a=a.map(function(c){return Math.pow(c-b,2)}).reduce(vn)/(a.length-1);return Math.sqrt(a)},wn=function(a,b){if(a<5)return!1;if(!LCa.get(b)){var c=JCa(b),d=KCa(b,c);LCa.set(b,{mean:c,
stdDev:d})}b=LCa.get(b);return a-b.mean>b.stdDev*2},xn=function(a){return!(a==null||!a.commentNumber)},yn=function(a){var b;return((b=a.attachments)==null?void 0:b.length)>0},MCa=function(a,b){return Object.assign({},a,{commentRedacted:b.redacted,unlinkifiedComment:b.unlinkifiedComment,formattedComment:b.formattedComment})},NCa=function(a,b,c){var d=a.findIndex(function(f){return f.commentNumber===b}),e=a[d];if(e==null)return a;c=Object.assign({},e,c);return[].concat(r(a.slice(0,d)),[c],r(a.slice(d+
1)))},zn=function(a){var b;return a==null?void 0:(b=a.snapshot)==null?void 0:b[0]},OCa=function(a){var b;return pm((b=zn(a))==null?void 0:b.assigneeUser)||void 0},PCa=function(a){if(a==null)return"";var b,c,d,e,f=a.etag,h=a.piiRetention;var k=a.piiRetentionState;k=k==null?"":[JSON.stringify(k.retentionPeriod),JSON.stringify(k.scheduledDeletionTime)].join("-");return[f,h,k,(b=a.entityStatus)==null?void 0:b.reason,(c=a.entityStatus)==null?void 0:c.status,(d=a.contentVerdict)==null?void 0:(e=d.piiVerdict)==
null?void 0:e.severity].join("-")},QCa=function(a){if(a==null)return"";var b=a.attachments.map(PCa).join("-"),c=[];if(a.commentReactions&&a.commentReactions.size>0){var d,e=l((d=a.commentReactions)==null?void 0:d.entries());for(d=e.next();!d.done;d=e.next()){var f=l(d.value);d=f.next().value;f=f.next().value;c.push(d+"-"+f.count)}}c=c.join("-");var h,k;return[a.modifiedDate,a.version,"["+b+"]",a.preDiffs.length,a.postDiffs.length,a.commentVersion,(h=a.commentContentVerdict)==null?void 0:(k=h.piiVerdict)==
null?void 0:k.severity,a.commentDeletionStatus,a.commentRetention,"["+c+"]"].join("-")},RCa=function(a){return a.map(function(b){return b.commentNumber}).filter(lj).reduce(function(b,c){return Math.max(b,c)},1)},SCa=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||QCa(d)!==QCa(e)))return!1}return!0},An=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=Qm[a])==null?void 0:d.open)!=null?e:!1},TCa=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=Qm[a];return b==null?!1:!(b==null?0:b.open)},UCa=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)},Bn=function(a){return a.isArchived==
null?!1:!a.isArchived},WCa=function(){var a=Cn;return Tm(function(b){var c,d;return(d=VCa[(c=a(b))==null?void 0:c.snapshot[0].status])!=null?d:0},Um)},XCa=function(){var a=Cn;return Tm(function(b){var c,d;return(c=a(b))==null?void 0:(d=c.snapshot[0].assigneeUser)==null?void 0:d.emailAddress},Vm)},YCa=function(){var a=Cn;return Tm(function(b){var c;return(c=a(b))==null?void 0:c.snapshot[0].type},Vm)},ZCa=function(){var a=Cn;return Tm(function(b){var c,d;return(c=a(b))==null?void 0:(d=c.snapshot[0].reporterUser)==
null?void 0:d.emailAddress},Vm)},$Ca=function(){var a=Cn;return Tm(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},Um)},aDa=function(){var a=Cn;return Tm(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},Um)},bDa=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"},dDa=function(){var a=
Cn;return Tm(function(b){return cDa[bDa(a(b))]},Um)},eDa=function(){var a=Cn;return Tm(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},Um)},fDa=function(a,b){var c=zn(a),d;a=[(d=a.aggregatedData)==null?void 0:d.lastModifier,c==null?void 0:c.reporterUser,c==null?void 0:c.assigneeUser,c==null?void 0:c.verifierUser].concat(r(b.map(function(e){return e.userPerformingActionUser})));return Rm(a.filter(lj),sm)},gDa=function(a,b){b=fDa(a,b);var c,
d,e;a=(e=(c=zn(a))==null?void 0:(d=c.ccUsers)==null?void 0:d.length)!=null?e:0;return b.length+a},Dn=function(a){var b;return(a==null?void 0:(b=a.userPerformingActionUser)==null?void 0:b.emailAddress)==="piper-bugupdater@prod.google.com"},hDa=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})}},jDa=function(a,b,c){b=iDa.get(c)||new Set(c.map(function(e){return e.issueId}));iDa.set(c,
b);var d;a=l((d=a.parentIssueIds)!=null?d:[]);for(d=a.next();!d.done;d=a.next())if(b.has(d.value))return!1;return!0},lDa=function(a,b){kDa.get(b)||kDa.set(b,[b.map(function(e){var f,h;return(h=e==null?void 0:(f=e.userActivityStats)==null?void 0:f.oneDayViewCount)!=null?h:0}),b.map(function(e){var f,h;return(h=e==null?void 0:(f=e.userActivityStats)==null?void 0:f.sevenDayViewCount)!=null?h:0}),b.map(function(e){var f,h;return(h=e==null?void 0:(f=e.userActivityStats)==null?void 0:f.thirtyDayViewCount)!=
null?h:0})]);var c=l(kDa.get(b));b=c.next().value;var d=c.next().value;c=c.next().value;return wn(b[a],b)||wn(d[a],d)||wn(c[a],c)},mDa=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},nDa=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"}},oDa=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=mDa(b);return{title:"Allow "+(b===1?"members of the group to ":nDa(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)+"."}},pDa=
function(a){a=a?a.taskResourceType==="DRIVE"?a.driveResource.fileType:a.taskResourceType:void 0;switch(a){case "CHANGELIST":return"critique-logo";case "LAUNCH":return"launch-logo";case "ISSUE":return"bug_report_24px";case "DOCUMENT":return"drive-doc";case "SPREADSHEET":return"drive-sheet";case "PRESENTATION":return"drive-slide";case "GERRIT":return"gerrit-logo";default:return"link"}},En=function(){return qDa.performance&&qDa.PerformanceObserver&&typeof window.performance.getEntriesByType==="function"&&
typeof window.performance.mark==="function"&&typeof window.performance.measure==="function"},rDa=function(a){var b=a.name;if(b!=null&&(a=Math.round(a.duration),!isNaN(a))){var c=l(b.split(" -> ")),d=c.next().value;c=c.next().value;if(d==null||c==null)console.warn("can't parse 'from' and 'to' in PerformanceEntry: "+b);else return{from:d,to:c,duration:a}}},tDa=function(a){a=a.sort(function(d,e){return d.startTime-e.startTime});var b=a.find(sDa);if(b!=null){var c=b.name.split(" -> ")[1];return a.find(function(d){return d.name===
c})}},xDa=function(){var a=window.performance.getEntries(),b=tDa(a);if(b==null)return[];var c=b.startTime;return a.filter(uDa).filter(vDa).filter(wDa).filter(function(d){return d.startTime<=c})},sDa=function(a){var b=a.entryType;a=a.name;return b==="measure"&&a.indexOf("browserStart")===0},uDa=function(a){return a.name.indexOf("Zone")!==0},wDa=function(a){return a.entryType==="resource"},yDa=function(a){return a.initiatorType==="xmlhttprequest"},vDa=function(a){return a.name.match(/\.html$/)==null},
zDa=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}},ADa=function(){return typeof Fn.gtag==="function"},BDa=function(a){if(a!=null&&!(a.duration>=3E4))return{hitType:"event",eventCategory:"cf",eventAction:a.from,eventLabel:a.to,eventValue:a.duration}},EDa=function(a){a=a.getEntries().map(rDa).map(BDa);a=l(a);for(var b=a.next();!b.done;b=a.next()){var c=b.value;if(c&&
c.hitType){b=c.hitType;var d=c.eventAction;var e=c.eventCategory,f=c.eventLabel;c=c.eventValue;d=Object.assign({},d!==void 0?{event_action:d}:{},e!==void 0?{event_category:e}:{},f!==void 0?{event_label:f}:{},c!==void 0?{event_value:c}:{});CDa(b,d)}}setTimeout(DDa,100)},DDa=function(){if(!FDa){var a=xDa(),b=a.filter(function(c){return!yDa(c)}).reduce(zDa,GDa());Gn("r-until-cf","asset","count",b.count);Gn("r-until-cf","asset","transferSize",b.transferSize);Gn("r-until-cf","asset","duration",b.duration);
Gn("r-until-cf","asset","cacheHitRate",b.cacheHitRate);a=a.filter(yDa).reduce(zDa,GDa());Gn("r-until-cf","xhr","count",a.count);Gn("r-until-cf","xhr","transferSize",a.transferSize);Gn("r-until-cf","xhr","duration",a.duration);FDa=!0}},Gn=function(a,b,c,d){CDa(a,Object.assign({},b!==void 0?{event_action:b}:{},c!==void 0?{event_label:c}:{},d!==void 0?{event_value:d}:{}))},CDa=function(a,b){b!=null&&(HDa("page_location","Scrubbed Page URL"),HDa("page_title","Scrubbed Page Title"),ADa()&&Fn.gtag("event",
a,b),IDa&&Di("[stub gtag.ts] gtag('event')",a,b))},In=function(a,b){Hn(a,b)},HDa=function(a,b){if(ADa()){var c={};Fn.gtag("set",(c[a]=b,c))}IDa&&Di("[stub gtag.ts] gtag('set', {"+a+": "+b+")}")},Hn=function(a,b){if(ADa()){var c={};Fn.gtag("set","user_properties",(c[a]=b,c))}IDa&&Di("[stub gtag.ts] gtag('set', 'user_properties', {"+a+": "+b+")}")},NDa=function(){var a=a===void 0?Gn:a;var b=Date.now(),c=Jn(b);Jn(JDa())!==c?a("retention","first-visit"):(c=Jn(b),Jn(JDa())===c&&KDa()===1&&a("retention",
"second-visit"));a=Jn(b);Jn(JDa())!==a?LDa(1):(a=KDa()||0,LDa(a+1));MDa(b)},Jn=function(a){if(a!=null)return(new Date(a)).toLocaleDateString()},ODa=function(){function a(){e[0]=1732584193;e[1]=4023233417;e[2]=2562383102;e[3]=271733878;e[4]=3285377520;w=t=0}function b(B){for(var E=h,I=0;I<64;I+=4)E[I/4]=B[I]<<24|B[I+1]<<16|B[I+2]<<8|B[I+3];for(I=16;I<80;I++)B=E[I-3]^E[I-8]^E[I-14]^E[I-16],E[I]=(B<<1|B>>>31)&4294967295;B=e[0];var J=e[1],N=e[2],P=e[3],U=e[4];for(I=0;I<80;I++){if(I<40)if(I<20){var ba=
P^J&(N^P);var ma=1518500249}else ba=J^N^P,ma=1859775393;else I<60?(ba=J&N|P&(J|N),ma=2400959708):(ba=J^N^P,ma=3395469782);ba=((B<<5|B>>>27)&4294967295)+ba+U+ma+E[I]&4294967295;U=P;P=N;N=(J<<30|J>>>2)&4294967295;J=B;B=ba}e[0]=e[0]+B&4294967295;e[1]=e[1]+J&4294967295;e[2]=e[2]+N&4294967295;e[3]=e[3]+P&4294967295;e[4]=e[4]+U&4294967295}function c(B,E){if(typeof B==="string"){B=unescape(encodeURIComponent(B));for(var I=[],J=0,N=B.length;J<N;++J)I.push(B.charCodeAt(J));B=I}E||(E=B.length);I=0;if(t==0)for(;I+
64<E;)b(B.slice(I,I+64)),I+=64,w+=64;for(;I<E;)if(f[t++]=B[I++],w++,t==64)for(t=0,b(f);I+64<E;)b(B.slice(I,I+64)),I+=64,w+=64}function d(){var B=[],E=w*8;t<56?c(k,56-t):c(k,64-(t-56));for(var I=63;I>=56;I--)f[I]=E&255,E>>>=8;b(f);for(I=E=0;I<5;I++)for(var J=24;J>=0;J-=8)B[E++]=e[I]>>J&255;return B}for(var e=[],f=[],h=[],k=[128],q=1;q<64;++q)k[q]=0;var t,w;a();return{reset:a,update:c,digest:d,digestString:function(){for(var B=d(),E="",I=0;I<B.length;I++)E+="0123456789ABCDEF".charAt(Math.floor(B[I]/
16))+"0123456789ABCDEF".charAt(B[I]%16);return E}}},TDa=function(a,b){b=b===void 0?PDa:b;if(!QDa){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("Xc"));c=(a.brands||[]).map(function(e){var f=new Kn;return rj(f,1,e.brand).setVersion(e.version)});RDa(pl(SDa,2,a.mobile),c);QDa=a.getHighEntropyValues(b)}var d=new Set(b);return QDa.then(function(e){var f=SDa.clone();d.has("platform")&&
f.setPlatform(e.platform);d.has("platformVersion")&&f.setPlatformVersion(e.platformVersion);d.has("architecture")&&rj(f,5,e.architecture);d.has("model")&&f.setModel(e.model);d.has("uaFullVersion")&&rj(f,7,e.uaFullVersion);return f}).catch(function(){return SDa.clone()})},UDa=function(){return kd.apply(0,arguments).map(String).join("__")},VDa=function(){for(var a={},b=l(Object.entries(Ln)),c=b.next();!c.done;c=b.next()){var d=l(c.value);c=d.next().value;d=d.next().value;d>1&&(a[c]=d)}return a},WDa=
function(){var a=Object.values(Ln),b=a.map(function(c){return c-1}).reduce(vn,0);a=a.reduce(vn,0);return{total:a,redundant:b,redundancyRatio:Math.round(b/a*100)/100}},XDa=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("/")},YDa=function(a){return a instanceof ki},ZDa=function(a){return a instanceof Mn},$Da=function(a){return function(b){return new W.Observable(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()})})})}},aEa=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},bEa=function(a){var b=new Nn;b=bj(b,1,Number(a.targetIssueId));return bj(b,2,a.afterIssueId?Number(a.afterIssueId):void 0)},On=function(a){return{targetIssueId:String(ej(a,
1)),afterIssueId:ej(a,2)?String(ej(a,2)):void 0}},cEa=function(a){return{sourceIssueId:ej(a,3),issueRelationships:a.getIssueRelationshipsList().map(On),totalSize:a.getTotalSize()}},dEa=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)}},eEa=function(a){function b(){var e,f,h,k;return fe(function(q){if(q.nextAddress==1){if(d||c.length===0)return q.return();d=!0;e=[].concat(r(c));c=[];f=l(e);h=f.next()}if(q.nextAddress!=
3){if(h.done)return d=!1,he(q,b(),0);k=h.value;return he(q,a.apply(null,r(k.args)).then(k.returnValue.resolve).catch(k.returnValue.reject),3)}h=f.next();return q.jumpTo(2)})}var c=[],d=!1;return function(){var e=kd.apply(0,arguments),f=new VAa;c.push({args:e,returnValue:f});b();return f.promise}},Pn=function(a){var b=!1;return function(){var c=kd.apply(0,arguments);if(!b)return b=!0,a.apply(null,r(c))}},fEa=function(a){var b=[];a=l(a.entries());for(var c=a.next();!c.done;c=a.next()){var d=l(c.value);
c=d.next().value;d=d.next().value;b.push({issueId:c,relatedChildren:d.issueRelationships,totalChildCount:d.totalSize})}return b},gEa=function(a){return!(a==null||!a.relatedChildren.length)},iEa=function(a,b){var c=[].concat(r(a));a=new Set(a.map(function(h){return h.targetIssueId}));b=l(b);for(var d=b.next(),e={};!d.done;e={newItem$jscomp$6:void 0},d=b.next())if(e.newItem$jscomp$6=d.value,!a.has(e.newItem$jscomp$6.targetIssueId)){d=c.findIndex(function(h){return function(k){return k.targetIssueId===
h.newItem$jscomp$6.afterIssueId}}(e));var f=void 0;f=e.newItem$jscomp$6.afterIssueId?d===-1?c.length:d+1:0;c.splice(f,0,e.newItem$jscomp$6);a.add(e.newItem$jscomp$6.targetIssueId)}return hEa(c)},jEa=function(a,b){return hEa(a.filter(function(c){return c.targetIssueId!==b}))},hEa=function(a){for(var b=[],c=l(a.entries()),d=c.next();!d.done;d=c.next()){var e=l(d.value);d=e.next().value;var f=e.next().value;e=void 0;d=Object.assign({},f,{afterIssueId:(e=a[d-1])==null?void 0:e.targetIssueId});b.push(d)}return b},
kEa=function(a){var b=new Map;a=l(a);for(var c=a.next(),d={};!c.done;d={previousOperation:void 0},c=a.next()){var e=c.value;c=e.issues.map(function(f){return f.issueId}).join(",");d.previousOperation=b.get(c);d.previousOperation?(e={newParentId:e.newParentId,newRelations:e.newRelations,issues:d.previousOperation.issues,eventTimestamps:[].concat(r(d.previousOperation.eventTimestamps),r(e.eventTimestamps)),newParentChildrenSnapshot:e.newParentChildrenSnapshot,done:e.done},e.done.promise.then(d.previousOperation.done.resolve).catch(function(f){return function(h){f.previousOperation.done.reject(h);
throw h;}}(d)),b.set(c,e)):b.set(c,e)}b=[].concat(r(b.values()));a=l(b);d=a.next();for(c={};!d.done;c={operation$jscomp$5:void 0},d=a.next())c.operation$jscomp$5=d.value,c.operation$jscomp$5.newRelations=c.operation$jscomp$5.newRelations.map(function(f){return function(h){return f.operation$jscomp$5.newParentChildrenSnapshot.find(function(k){return k.targetIssueId===h.targetIssueId})}}(c));return b.sort(function(f,h){var k=f.newParentChildrenSnapshot,q=h.newParentChildrenSnapshot;f=Math.min.apply(Math,
r(f.issues.map(function(t){return k.findIndex(function(w){return w.targetIssueId===t.issueId})})));h=Math.min.apply(Math,r(h.issues.map(function(t){return q.findIndex(function(w){return w.targetIssueId===t.issueId})})));return f===h?0:f<h?-1:1})},nEa=function(a){return a.getResponsesList().map(function(b){return xj(b,lEa,1,yj()).map(mEa)}).flat().filter(function(b){return b.signals.length>0})},mEa=function(a){var b=oEa($i(a,Qn,1));a=xj(a,pEa,2,yj());return{task:b,signals:a.map(qEa).filter(lj)}},rEa=
function(a){return a.getResponsesList().map(function(b){return xj(b,Qn,1,yj()).map(oEa).filter(lj)}).flat()},oEa=function(a){if(a){var b=Kh(a,1),c=sEa(fj(a,2,0)),d=a.getTitle(),e=Hi($i(a,Ii,4)),f=Hi(a.getLastModifiedTimestamp()),h=Kh(a,6);var k=xj(a,tEa,7,yj());b={taskId:b,taskResourceType:c,title:d,createdTimestamp:e,lastModifiedTimestamp:f,externalLink:h,resourceRelationships:k.map(uEa),isStaleTask:Hj(a,13)};Qj(a,vEa,8,wEa)?(a=Bj(a,vEa,8,wEa),a={fileType:xEa[fj(a,1,0)],lastMentionTimestamp:Hi($i(a,
Ii,2)),lastMentionLink:Kh(a,4),docwrapRequestTimestamp:Hi($i(a,Ii,3)),docwrapRequestLink:Kh(a,5)},b.driveResource=a):Qj(a,Rn,9,wEa)&&(a=Bj(a,Rn,9,wEa),a={priority:ik[a.getPriority()],accessLevel:aua[a.getAccessLevel()],hotlistIds:a.getHotlistIdsList_asLegacyNumberOrString(Pi)},b.issueResource=a);return b}},uEa=function(a){return{category:yEa[fj(a,1,0)],roleName:Kh(a,2)}},qEa=function(a){var b={timestamp:Hi(a.getTimestamp()),url:Eua(a.getUrl()),signalStatus:Hj(a,8)?1:0};if(Qj(a,Sn,3,Tn)){a=Bj(a,Sn,
3,Tn);var c={signal:zEa[a.getSignal()]};AEa.has(c.signal)?(Un(a,2,BEa)!=null&&(c.commentId=a.getCommentId()),a=c):a=null;if(!a)return null;b.driveAlert=a}else if(Qj(a,Vn,5,Tn)){c=Bj(a,Vn,5,Tn);a={signal:CEa[c.getSignal()]};if(AEa.has(a.signal)){dk(c,Ki,4)&&(a.reviewEstimate=Yta($i(c,Ki,4)));c=$i(c,DEa,5);var d=c==null?void 0:Bj(c,EEa,2,FEa);c=d?{currentAvailability:{comeBackTimestamp:Hi(d.getComeBackTimestamp())}}:(c=c==null?void 0:Bj(c,GEa,1,FEa))?{futureAvailability:{comeBackTimestamp:Hi(c.getComeBackTimestamp()),
futureOooTimestamp:Hi($i(c,Ii,1))}}:void 0;a.clAuthorAvailability=c}else a=null;if(!a)return null;b.changelistAlert=a}else if(Qj(a,Wn,4,Tn)){c=Bj(a,Wn,4,Tn);a={signal:HEa[c.getSignal()]};if(AEa.has(a.signal)){if(c=c.getCommentNumbers())c=Ek(c,1,yj(Pi)),c.length>0&&(a.commentNumbers=c)}else a=null;if(!a)return null;b.issueAlert=a}else if(Qj(a,IEa,7,Tn)){a=Bj(a,IEa,7,Tn);a={signal:JEa[a.getSignal()]};a=AEa.has(a.signal)?a:null;if(!a)return null;b.gerritAlert=a}return b},sEa=function(a){switch(a){case 1:return"CHANGELIST";
case 2:return"DRIVE";case 3:return"ISSUE";case 4:return"LAUNCH";case 5:return"GERRIT";default:return"TASK_RESOURCE_TYPE_UNSPECIFIED"}},KEa=function(a){switch(a){case "CHANGELIST":return 1;case "DRIVE":return 2;case "ISSUE":return 3;case "LAUNCH":return 4;case "GERRIT":return 5;default:return 0}},LEa=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}},MEa=function(a){if(a=a.getResponse())return{commentId:a.getCommentId(),
authorDisplayName:Kh(a,2),content:a.getContent(),lastModifiedTimestamp:Hi($i(a,Ii,4))}},QEa=function(a){var b={};a=l(ic(a,1,NEa,Sb).entries());for(var c=a.next();!c.done;c=a.next()){var d=l(c.value);c=d.next().value;d=d.next().value;b[c]={principalType:OEa[fj(d,1,0)],detailedUserType:PEa[fj(d,2,0)]}}return b},REa=function(a,b){return a.map(function(c){return b[c]||null})},SEa=function(){return{principalType:"NON_GAIA",detailedUserType:"NO_DETAILED_TYPE"}},TEa=function(a){var b;return((b=a.getTeamSloEditPolicy())==
null?void 0:fj(b,2,0))===1},VEa=function(a){var b;return((b=$i(a,UEa,1))==null?void 0:b.getEffectiveSloEditPolicy())===1},WEa=function(a){var b=$i(a,Ni,2);a:{var c=fj(a,3,0);switch(c){case 1:c="daily";break a;case 2:c="weekly";break a;case 3:c="monthly";break a;case 0:break;default:Dc(c)}c=void 0}var d=a.getTimeZone(),e=$i(a,Xn,6);if(b==null)throw Error("Zc");if(c==null)throw Error("$c");if(d==null)throw Error("ad");if(e==null)throw Error("bd");var f=a.getId_asLegacyNumberOrString();b=Qi(b);var h=
gj(a,4),k={id:d.getId()};d.getVersion()&&(k.version=d.getVersion());d={hours:e.getHours(),minutes:e.getMinutes(),seconds:e.getSeconds(),nanos:e.getNanos()};e=Aj(a,7);var q=nl(a,8,yj()).map(hva);a=Nk(a,9,yj(Pi));return{id:f,lead:b,frequency:c,ordinal:h,timeZone:k,timeOfDay:d,daysRemaining:e,types:q,sloIds:a}},YEa=function(a){var b=(new Yn).setId(a.id),c=Oi(a.lead);b=oj(b,Ni,2,c).setFrequency(XEa(a.frequency));b=Gi(b,4,a.ordinal);c=b.setTimeZone;var d=a.timeZone,e=(new Zn).setId(d.id);d.version&&e.setVersion(d.version);
b=c.call(b,e);c=a.timeOfDay;c=(new Xn).setHours(c.hours).setMinutes(c.minutes).setSeconds(c.seconds).setNanos(c.nanos);b=oj(b,Xn,6,c).setDaysRemaining(a.daysRemaining);c=a.types.map(iva);b=zl(b,8,c);return Al(b,9,a.sloIds)},ZEa=function(a){return qva(a.getIt())},$Ea=function(a){var b=new $n,c=b.setIt;var d=(new ao).setSloId(a.sloId).setName(a.name).setDescription(a.description).setParentId(a.parentId);var e=a.elements.map(vva);d=gk(d,5,e);e=a.effectiveElements.map(vva);d=gk(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("dc`"+a);}a=dj(d,8,a);return c.call(b,a)},XEa=function(a){switch(a){case "daily":return 1;case "weekly":return 2;case "monthly":return 3;default:return Dc(a)}},aFa=function(a){return{id:a.getId_asString(),name:a.getName(),description:a.getDescription()}},co=function(a){if(a=a.getIt()){var b=$i(a,bo,7),c,d=(c=b==null?void 0:b.getSlo())!=null?c:new Jk;c=b==null?void 0:$i(b,Ni,4);var e=b==null?void 0:$i(b,Ni,
5),f,h;return{teamId:String(a.getId_asLegacyNumberOrString()),version:(f=b==null?void 0:b.getVersion())!=null?f:0,name:a.getName(),description:a.getDescription(),pathNames:[].concat(r(a.getPathNamesList())),pathIds:a.getPathIdsList_asLegacyNumberOrString().map(String),collapsedPathNames:[].concat(r(Ij(a,5,yj()))),members:a.getMembersList().map(Zwa),deleted:a.getDeleted(),estimatedComponentCount:(h=b==null?void 0:ej(b,3))!=null?h:0,slo:{inherit:d.getInherit(),sloId:String(d.getId_asLegacyNumberOrString()),
comment:d.getComment(),sourceTeamId:String(d.getSourceTeamId_asLegacyNumberOrString())},sloLead:c?Qi(c):void 0,defaultSloLead:e?Qi(e):void 0}}throw Error("cd");},bFa=function(a){return{teamId:a.getId_asString(),name:a.getName(),description:a.getDescription(),pathNames:a.getPathNamesList(Pi),pathIds:a.getPathIdsList_asString()}},cFa=function(a){return{teamId:a,version:0,name:a,description:"",pathIds:[a],pathNames:[a],collapsedPathNames:[a],members:[],deleted:!1,estimatedComponentCount:0,slo:{inherit:!1,
sloId:"0",comment:"",sourceTeamId:"0"}}},eo=function(a,b){b=new W.BehaviorSubject(b);a.subscribe(b);return b},fo=function(a){var b;a.subscribe(function(c){b=c}).unsubscribe();return b},go=function(){return df(function(a,b){return pi(a,b)})},dFa=function(){return function(a){return a.pipe(y(function(b){return{event:b,timestamp:Date.now()}}),Pja(a.pipe(bf(1E4,W.asapScheduler))))}},eFa=function(a){return a.endsWith("?")?a.slice(0,a.length-1):a},fFa=function(a){var b;return(b=ij(a))!=null?b:null},gFa=
function(a){var b;return(b=jj(a))!=null?b:null},jFa=function(a){var b=a.match(/\(.*\)/);if(a.match(/'.*'/)||a.match(/".*"/)||b)return{complexSyntax:!0};a=a.split(/\s+/).filter(Boolean);b=a.filter(hFa).length;var c=a.filter(function(d){return!hFa(d)}).filter(iFa).length;return{filters:b,text:a.length-b-c,resourceIds:c}},iFa=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:ho(a)},hFa=function(a){return!!a.match(/\w:\w/g)},
kFa=function(a,b){if(a&1){var c=u();F(0,"li",15)(1,"span",16);R(2);F(3,"small",11);R(4);G()();F(5,"a",17);R(6,"Triage view");G();R(7," \u00a0 ");F(8,"a",18);H(9,"mat-icon",19);G();F(10,"button",20);M("click",function(){var d=v(c).$implicit,e=O(2);return x(e.onClickRemove(d.teamId))});H(11,"mat-icon",21);G()()}a&2&&(a=b.$implicit,b=O(2),z(2),S(" ",a.name," \u00a0 "),z(2),S("[",a.teamId,"]"),z(),D("href",b.ROUTES.viewTriage.makeHref(a.teamId),Qe),z(3),D("href",b.ROUTES.editTeam.makeHref(a.teamId),Qe))},
lFa=function(a,b){a&1&&(F(0,"ol",4),C(1,kFa,12,4,"li",14),G());a&2&&(z(),D("ngForOf",b))},mFa=function(a,b){if(a&1){var c=u();F(0,"li")(1,"button",22);M("click",function(){var d=v(c).$implicit,e=O(2);return x(e.onClickAdd(d.teamId))});R(2);G();R(3," \u00a0 ");F(4,"small",11);R(5);G();F(6,"span",11);R(7);G()()}a&2&&(a=b.$implicit,b=O(),z(2),S(" ",a.name," "),z(3),S(" [",a.teamId,"] "),z(2),S(" (",b[a.teamId]," recent edits) "))},oFa=function(a){a&1&&(Qf(0,mFa,8,3,"li",null,nFa),T(2,"async"));a&2&&
(a=O(),Rf(V(2,0,a.suggestedTeams$)))},pFa=function(a){a&1&&(F(0,"p",11),R(1,"..."),G())},qFa=function(a){var b={};a.forEach(function(c){b[c]=~~b[c]+1});return b},rFa=function(a,b){a&1&&(F(0,"span",4),R(1),G());a&2&&(D("title",b.description),z(),lg(b.name))},sFa=function(a){a&1&&(F(0,"code",5),R(1),T(2,"async"),G());a&2&&(a=O(),z(),lg(V(2,1,a.id$)))},tFa=function(a,b){a&1&&(F(0,"div",8)(1,"div",9)(2,"a",10),R(3,"New"),G()(),F(4,"div",9)(5,"a",10),R(6,"Confirmed"),G()(),F(7,"div",9)(8,"a",10),R(9,"In progress"),
G()(),F(10,"div",9)(11,"a",10),R(12,"Fixed"),G()(),F(13,"div",9)(14,"a",10),R(15,"Won't fix"),G()()());a&2&&(a=O(),z(2),D("href",a.ROUTES.viewTriagePhase.makeHref(b,"new"),Qe),z(3),D("href",a.ROUTES.viewTriagePhase.makeHref(b,"confirmed"),Qe),z(3),D("href",a.ROUTES.viewTriagePhase.makeHref(b,"in-progress"),Qe),z(3),D("href",a.ROUTES.viewTriagePhase.makeHref(b,"yaw"),Qe),z(3),D("href",a.ROUTES.viewTriagePhase.makeHref(b,"naw"),Qe))},uFa=function(a){if(!a.unlinkifiedComment)return Ei("Can't getClMetadata from an event with no unlinkifiedComment",
a),{};a=a.unlinkifiedComment;var b=a.trim().split("\n"),c,d,e=(d=(c=b[0])==null?void 0:c.trim())!=null?d:"",f;c=(f=b[2])==null?void 0:f.trim();var h;f=(h=e.match(/^Change\s+(\d+)/))==null?void 0:h[1];f==null&&Ei("failed to parse an id from cl comment, which is unexpected.",a);var k;h=(k=e.match(/^Change.*by (\S+)@/))==null?void 0:k[1];h==null&&Ei("failed to parse an author from cl comment, which is unexpected.",a);var q;k=(q=a.match(/[\^\s]R=(\S+)/))==null?void 0:q[1];var t;q=(t=a.match(/[\^\s]DELTA=(\d+)/))==
null?void 0:t[1];return{id:ij(f),author:h,title:c,reviewer:k,delta:ij(q)}},vFa=function(a){var b;return(b=uFa(a).id)!=null?b:0},wFa=function(a){return[].concat(r(a.preDiffs),r(a.postDiffs)).map(function(b){return"Changed "+(b.displayName||b.name)+" "+(b.newValue?"to "+b.newValue:"")}).join("\n")},yFa=function(a){if(a==null)return"";var b,c,d=(c=(b=a.userPerformingActionUser)==null?void 0:b.emailAddress)!=null?c:"";if(Dn(a)){if(a=uFa(a).author)return a+"@google.com"}else if(d==="product-feedback-gathering@prod.google.com")return xFa(a,
"reporter")||d;return d},zFa=function(a,b){var c,d,e;return(e=[].concat(r((c=a.preDiffs)!=null?c:[]),r((d=a.postDiffs)!=null?d:[])).find(function(f){return f.name===b}))==null?void 0:e.oldValue},xFa=function(a,b){var c,d,e;return(e=[].concat(r((c=a.preDiffs)!=null?c:[]),r((d=a.postDiffs)!=null?d:[])).find(function(f){return f.name===b}))==null?void 0:e.newValue},AFa=function(a){if(a==null)return"default";if(xn(a)&&a.commentNumber===1)return"create";if(Dn(a))return"changelist";var b,c=(b=a.preDiffs)!=
null?b:[],d;b=(d=a.postDiffs)!=null?d:[];c=new Set([].concat(r(c),r(b)).map(function(f){return f.name}));if(c.has("statusUpdate"))return"statusUpdate";if(c.has("assignee")){var e;c=(e=a.userPerformingActionUser)==null?void 0:e.emailAddress;e=xFa(a,"assignee");a=zFa(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":xn(a)?"comment":c.has("component")?"component":"default"},BFa=
function(a){var b="";if(Dn(a)){var c=uFa(a);b="submitted cl/"+c.id+" "+c.title}c="b/"+a.issueId;var d=yFa(a),e=AFa(a),f=wFa(a);if(a==null||Dn(a))a="";else{var h;a=((h=a.unlinkifiedComment)!=null?h:"").slice(0,999)}return[c,d,e,b,f,a].join(" ")},CFa=function(a,b){if(b)a.nodeType===1&&nea(a),a.innerHTML=xh(b);else for(;a.lastChild;)a.lastChild.remove()},DFa=function(a){for(a=a.firstChild;a;){if(a.nodeType!==Node.TEXT_NODE)return!1;a=a.nextSibling}return!0},io=function(a){return a.endsWith("px")?Math.floor(Number(a.substr(0,
a.length-2))):Number.NaN},jo=function(a){return a.ctrlKey||a.metaKey||a.shiftKey||a.altKey},EFa=function(a){if(a&1){var b=u();F(0,"div",5);M("clickOutside",function(){v(b);var c=O();return x(c.hide())});F(1,"div",6);R(2," Relative link may be malformed:\u00a0 ");F(3,"code");R(4);G();F(5,"button",7);M("click",function(){v(b);var c=O();return x(c.copyToClipboard())});H(6,"mat-icon",8);G()();F(7,"div",6);R(8," Force open as: \u00a0 ");F(9,"a",9);M("click",function(c){v(b);var d=O();jo(c)||(c.preventDefault(),
c.stopPropagation(),ko(d.domSafe,"http://"+d.originalHref));return x()});R(10);G()()()}a&2&&(a=O(),z(4),lg(a.originalHref),z(5),Zf("href","http://",a.originalHref,"",Qe),z(),S(" http://",a.originalHref," "))},FFa=function(){return{color:"accent",clickAction:"check-indeterminate"}},GFa=function(a){a&1&&(F(0,"b-glue"),H(1,"mat-icon",5),G())},JFa=function(a,b){if(a&1){var c=u();F(0,"span",7)(1,"a",8);M("click",function(f){var h=v(c).$implicit,k=O(2);h=h.href;jo(f)||(f.preventDefault(),f.stopPropagation(),
ko(k.domSafe,h));return x()})("keydown",function(f){var h=v(c).$index,k=O(2);return x(HFa(k,f,h===0))});R(2);G()();F(3,"button",9);M("keydown.Tab",function(f){var h=v(c),k=h.$index;h=h.$count;var q=O(2);return x(IFa(q,f,k===h-1))})("click",function(){var f=v(c).$implicit,h=O(2);return x(h.copyToClipboard(f.originalHref))});H(4,"mat-icon",10);G()}if(a&2){a=b.$implicit;var d=b.$index;b=b.$count;var e=O(2);z();D("href",a.originalHref,Qe)("rel",e.EXTERNAL_LINK_REL);z();lg(a.label);z();Kf("final",d===
b-1)}},LFa=function(a){if(a&1){var b=u();F(0,"div",6);M("clickOutside",function(){v(b);var c=O();return x(c.hide())});Qf(1,JFa,5,5,null,null,KFa);G()}a&2&&(a=O(),z(),Rf(a.urls))},NFa=function(a){if(MFa==null){var b=typeof document!=="undefined"?document.head:null;MFa=!(!b||!b.createShadowRoot&&!b.attachShadow)}return MFa&&(a=a.getRootNode?a.getRootNode():null,typeof ShadowRoot!=="undefined"&&ShadowRoot&&a instanceof ShadowRoot)?a:null},OFa=function(a){if(a&1){var b=u();F(0,"div",0);M("clickOutside",
function(){v(b);var c=O();return x(c.closeHovercard$.next())})("mouseenter",function(){v(b);O().isOnHover$.next(!0);return x()})("mouseleave",function(){v(b);O().isOnHover$.next(!1);return x()});Yf(1);G()}a&2&&(a=O(),Lf(a.className),D("cdkTrapFocusAutoCapture",a.wasTriggeredByKeyboard))},PFa=function(a){a&1&&(F(0,"div",4),Sf(1,5),G());a&2&&(a=O(),D("onedevIsHovercardReady",a.hovercardReady))},lo=function(a){return typeof a==="string"?"buganizer.drafts."+a:"buganizer.drafts.labeled."+a.label},QFa=
function(){},RFa=function(a,b){for(var c=a.length;c--;)b(a[c])},SFa=function(){},TFa=function(a){return a==null?null:typeof a==="number"?a:a.endsWith("ms")?eh(a.substring(0,a.length-2)):a.endsWith("s")?eh(a.substring(0,a.length-1))*1E3:a==="0"?0:null},UFa=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},VFa=function(a){if(a&1){var b=u();F(0,"button",5);M("click",function(){v(b);
var c=O();return x(c.dialogRef.close(!1))});R(1);G()}a&2&&(a=O(),z(),S(" ",a.cancelButtonText," "))},WFa=function(a){var b=[];a=[].concat.apply([],r(a.map(function(e){return e.actions})));a=l(a);for(var c=a.next(),d={};!c.done;d={action$jscomp$67:void 0},c=a.next())d.action$jscomp$67=c.value,b.some(function(e){return function(f){return pi(e.action$jscomp$67,f)}}(d))||b.push(d.action$jscomp$67);return b},XFa=function(a){return Array.from(new Set([].concat.apply([],r(a.map(function(b){return b.issueIds})))))},
YFa=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 Dc(a,"Unexpected pii severity")}},mo=function(a){return a&&a.piiVerdict?a.piiVerdict.severity:"NONE_DETECTED"},ZFa=function(a){switch(a){case "RESTRICTED":return"Restricted";case "RESTRICTED_PLUS":return"Restricted+";default:return""}},$Fa=function(a){return jua(a.getIt())},aGa=function(a){return{encryptedMedia:zda(no(a,
1)),errorMessage:a.getErrorMessage()}},cGa=function(a){var b=new bGa;oo(b,1,pb(a.attachment,!1,!0,!1));if(a.contentJudgement!==void 0){var c=b.setContentJudgement;a=a.contentJudgement;a=(new po).setIt(kua(a));c.call(b,a)}return b},eGa=function(a){var b;return{attachments:((b=a.getAttachmentsList())!=null?b:[]).map(dGa)}},dGa=function(a){if(a!=null)return zua(a.getIt())},fGa=function(a,b){a&1&&(F(0,"li"),R(1),G());a&2&&(a=b.$implicit,z(),lg(a))},gGa=function(a,b,c,d){c&&c.targetTime&&(c.endTime?b.push({sloBounds:c,
sloMetric:d}):a.push({sloBounds:c,sloMetric:d}))},hGa=function(a,b){return a.sloBounds.targetTime.seconds-b.sloBounds.targetTime.seconds},iGa=function(){return{startTime:Date.now(),firstActionSeen:!1,editCount:0,variations:new Set}},qo=function(a,b){b=(b===void 0?{}:b).comment;return{path:"/issues/"+a,fragment:b?"comment"+b:void 0}},ro=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},jGa=function(a){var b={};a=(b.component=a?String(a):void 0,b);a=a===void 0?{}:a;return{path:"/issues/new",queryParams:a}},kGa=function(a){return{path:"/components/"+a}},lGa=function(a){var b={};a&&(b.componentId=a);return{path:"/components",queryParams:b}},mGa=function(a){return{path:"/slos/"+a+"/edit"}},nGa=function(a){var b;return(a==null?void 0:(b=a.userData)==null?void 0:b.starred)||!1},oGa=function(a){var b;return(a==null?void 0:(b=a.userData)==null?void 0:b.lastViewedTimeMicros)||
0},pGa=function(a){var b;return(b=zn(a))==null?void 0:b.title},qGa=function(a){var b,c;return(c=(b=zn(a))==null?void 0:b.status)!=null?c:void 0},rGa=function(a){var b,c;return(c=(b=zn(a))==null?void 0:b.priority)!=null?c:void 0},sGa=function(a){var b,c;return(c=(b=zn(a))==null?void 0:b.assigneeUser)!=null?c:void 0},tGa=function(a){var b,c;return(c=(b=zn(a))==null?void 0:b.reporterUser)!=null?c:void 0},uGa=function(a){var b;a=a==null?void 0:(b=a.aggregatedData)==null?void 0:b.teamId;return jj(a)},
vGa=function(a){var b;a=(b=zn(a))==null?void 0:b.componentId;return jj(a)},wGa=function(a){var b,c;return(c=(b=zn(a))==null?void 0:b.ccUsers)!=null?c:[]},xGa=function(a){var b,c;return(c=(b=zn(a))==null?void 0:b.issueAccessLimitLevel)!=null?c:"LIMIT_NONE"},yGa=function(a){var b,c;return(c=(b=zn(a))==null?void 0:b.collaboratorsUsers)!=null?c:[]},zGa=function(a){var b,c;return(c=(b=zn(a))==null?void 0:b.type)!=null?c:void 0},AGa=function(a){var b,c;return(c=(b=zn(a))==null?void 0:b.foundInVersion)!=
null?c:[]},BGa=function(a){var b,c;return(c=(b=zn(a))==null?void 0:b.targetedToVersion)!=null?c:[]},CGa=function(a){var b,c;return(c=(b=zn(a))==null?void 0:b.changelist)!=null?c:[]},DGa=function(a){var b,c;return(c=(b=zn(a))==null?void 0:b.postmortems)!=null?c:[]},EGa=function(a){var b;return((b=zn(a))==null?void 0:b.inProd)||!1},FGa=function(a){var b;return(b=zn(a))==null?void 0:b.effort},GGa=function(a){var b;return a==null?void 0:(b=a.aggregatedData)==null?void 0:b.voteCount},HGa=function(a){var b;
return(a==null?void 0:(b=a.userData)==null?void 0:b.voted)||!1},JGa=function(a){return IGa(a)},IGa=function(a){var b,c;return(c=(b=zn(a))==null?void 0:b.isDeleted)!=null?c:!1},LGa=function(a){return KGa(a)},KGa=function(a){var b;return a==null?void 0:(b=a.accessLimit)==null?void 0:b.accessLevel},MGa=function(a){return(a=a==null?void 0:a.aggregatedData)&&Math.round(a.modifiedTimeMicros/1E3)},OGa=function(a){return NGa(a)},NGa=function(a){var b,c;return(c=(b=zn(a))==null?void 0:b.retention)!=null?c:
void 0},PGa=function(a){var b,c;return(c=(b=zn(a))==null?void 0:b.duplicateOfIssueId)!=null?c:void 0},RGa=function(a){return QGa(a)},QGa=function(a){var b,c;return(c=a==null?void 0:(b=a.aggregatedData)==null?void 0:b.retentionState)!=null?c:void 0},SGa=function(a){var b;return jj(a==null?void 0:(b=a.aggregatedData)==null?void 0:b.sloId)},TGa=function(a){var b;return a==null?void 0:(b=a.aggregatedData)==null?void 0:b.createdTimeMicros},UGa=function(a){return a==null?void 0:a.effortSpec},VGa=function(a){a=
UGa(a);return!(!a||!a.name&&!a.inherit)},WGa=function(a){return a==null?void 0:a.componentPathInfo},XGa=function(a){if(!a)return{};var b,c=l((b=a.match(RegExp("comment([0-9]+)")))!=null?b:[]);c.next();b=c.next().value;var d;a=l((d=a.match(RegExp("comment[0-9]+version([0-9]+)")))!=null?d:[]);a.next();d=a.next().value;return{commentNumber:ij(b),commentVersion:ij(d)}},YGa=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}},ZGa=function(a){return a?Ai(a.replace(/_/g," ").toLowerCase()):""},$Ga=function(a){return a?a.join(", "):""},aHa=function(a,b){if(!a)return wh("");if(!b)return wh(a);b=b.split(" ").map(Lta);b=b.filter(function(h){return!!h});b=b.map(so);if(b.length===0)return wh(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(zh("b",{},f));c.push(d);a=a.substring(e+f.length+d.length)}return yh(c)},bHa=function(a){return a?"Yes":"No"},cHa=function(a){return a?a.pathNames?a.pathNames.join(" > "):"":""},dHa=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},eHa=function(a){if(a&&Km(a))return a},to=function(a){return a==null?"":String(a)},
fHa=function(a){var b;return(b=a==null?void 0:a.filter(function(c){return!!c.trim()}).join(", "))!=null?b:""},hHa=function(a,b){if(gHa[a])return gHa[a][b]},uo=function(a){return a?Ha(a,"@")?a:a==="[Deleted User]"?a:a+"@google.com":""},iHa=function(a,b){a=a===void 0?"":a;b=b===void 0?48:b;var c=c===void 0?"...":c;var d=[].concat(r(a));if(d.length<=b)return a;a=b-[].concat(r(c)).length;d=d.slice(0,a).join("");String.prototype.trimEnd!=null&&(d=d.trimEnd());return d+c},jHa=function(a){a=a===void 0?"":
a;var b=new Set([].concat(r('!"#$%&()*+,-./:;<=>?@[\\]^_`{|}~\t\n')));a=[].concat(r(a)).map(function(c){return b.has(c)?" ":c}).join("").trim();return a.length===0?[]:a.split(/[\s]+/g)},kHa=function(a){return a.split("").every(function(b){return b.length===1&&b.charCodeAt(0)>=0&&b.charCodeAt(0)<=255})},mHa=function(a){if(a!=null){a=[].concat(r(a)).slice(0,100);a=l(a);for(var b=a.next();!b.done;b=a.next())if(b=lHa[b.value])return b}},nHa=function(a){if(a.includes('"')||a.includes("'"))return[];var b=
[].concat(r(a.matchAll(RegExp("(^|[;,\\-\\s])+(\\d+)","g"))));if(b.length)return b.map(function(c){c=l(c);c.next();c.next();return c.next().value});a=[].concat(r(a.matchAll(RegExp("(b|b-qa|issues)\\/(\\d+)","g"))));return a.length?a.map(function(c){c=l(c);c.next();c.next();return c.next().value}):[]},oHa=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},pHa=function(a,b){var c;a=(c=a)!=null?c:"";var d;b=(d=b)!=null?d:"";return a.trim()===b.trim()},qHa=function(a){return a.customFieldValue?String(a.customFieldValue.customFieldId):a.fieldName},rHa=function(a){a&1&&H(0,"img",9);a&2&&(a=O(),D("src",a.person.imageUrl,Qe)("alt",a.person.name+"'s profile picture"))},sHa=function(a){a&1&&(F(0,"div",10),R(1),G());a&2&&(a=O(),z(),S(" ",a.person.email," "))},tHa=function(a){a&1&&(F(0,"div",11)(1,
"onedev-chip",12),H(2,"mat-icon",13),R(3),G()());a&2&&(a=O(),z(3),S("",a.outOfOfficeDescription," "))},uHa=function(a){a&1&&(F(0,"li"),R(1),G());a&2&&(a=O(2),z(),lg(a.person.title))},vHa=function(a){a&1&&H(0,"li",18)},wHa=function(a){a&1&&(F(0,"li"),R(1),G());a&2&&(a=O(2),z(),lg(a.person.department))},xHa=function(a){a&1&&(K(0),H(1,"mat-icon",14),F(2,"div",15)(3,"ul",16),C(4,uHa,2,1,"li",8)(5,vHa,1,0,"li",17)(6,wHa,2,1,"li",8),G()(),L());a&2&&(a=O(),z(4),D("ngIf",a.person.title),z(),D("ngIf",a.person.title&&
a.person.department),z(),D("ngIf",a.person.department))},yHa=function(a){a&1&&(K(0),H(1,"mat-icon",19),F(2,"div",15),R(3),G(),L());a&2&&(a=O(),z(3),lg(a.person.location))},zHa=function(a){a&1&&(K(0),H(1,"mat-icon",20),F(2,"div",15)(3,"ul",16)(4,"li")(5,"a",21),R(6,"Teams"),G()(),H(7,"li",18),F(8,"li")(9,"a",21),R(10,"Calendar"),G()(),H(11,"li",18),F(12,"li")(13,"a",21),R(14,"CLs"),G()(),H(15,"li",18),F(16,"li")(17,"a",21),R(18,"Readability"),G()()()(),L());a&2&&(a=O(),z(5),D("href","https://moma.corp.google.com/person/"+
a.person.ldap,Qe),z(4),D("href","https://www.google.com/calendar/embed?src="+a.person.email+"&mode=WEEK&showCalendars=0",Qe),z(4),D("href","https://critique.corp.google.com/"+a.person.ldap,Qe),z(4),D("href","https://icanread.corp.google.com/s/"+a.person.ldap,Qe))},AHa=function(a,b){if(a==null)return null;a=a.getRequestHook(b);return a==null?null:a},BHa=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}},CHa=function(a,
b,c){c=c===void 0?{}:c;b=l(Object.entries(b));for(var d=b.next();!d.done;d=b.next()){var e=l(d.value);d=e.next().value;e=e.next().value;d in a&&(c[e]=a[d])}return c},DHa=function(a){return Object.assign({},{arrays:{},descriptions:{},keys:[],objectMaps:{},objects:{},enums:{},emptyArrayIsUnset:!1},a)},EHa=function(a,b){return vo(b,a)},FHa=function(a,b,c){b[a]=c},GHa=function(){return{}},LHa=function(a,b){var c=new a;return b==null?c:HHa(b,IHa,JHa,KHa,a)},IHa=function(a,b){return b[a]},JHa=function(a,
b,c){b.Serializable$values[a]=c},KHa=function(a){if(a==null)throw Error("jd");return new a},HHa=function(a,b,c,d,e){e=d(e);for(var f=MHa(a,e),h=f.arrays||{},k=f.objects||{},q=f.objectMaps||{},t=l(f.keys||[]),w=t.next(),B={};!w.done;B={mapMetadata:void 0},w=t.next()){w=w.value;var E=b(w,a);if(E!=null){var I=void 0;if(h.hasOwnProperty(w)){if(f.emptyArrayIsUnset&&E.length===0)continue;I=NHa(E,b,c,d,!0,!0,h[w])}else if(k.hasOwnProperty(w))I=NHa(E,b,c,d,!1,!0,k[w]);else if(q.hasOwnProperty(w))B.mapMetadata=
q[w],I=B.mapMetadata.isPropertyArray?E.map(function(J){return function(N){return OHa(N,J.mapMetadata,b,c,d)}}(B)):OHa(E,B.mapMetadata,b,c,d);else if(Array.isArray(E)){if(f.emptyArrayIsUnset&&E.length===0)continue;I=NHa(E,b,c,d,!0,!1)}else I=E;c(w,e,I)}}return e},OHa=function(a,b,c,d,e){for(var f={},h=l(Object.keys(a)),k=h.next();!k.done;k=h.next()){k=k.value;var q=a[k];q!=null&&(f[k]=NHa(q,c,d,e,b.isValueArray,b.isSerializable,b.ctor))}return f},NHa=function(a,b,c,d,e,f,h){if(f&&h==null)throw Error("kd");
if(a==null)return a;var k;e&&f?k=a.map(function(q){return HHa(q,b,c,d,h)}):e&&!f?k=a.map(function(q){return q}):k=!e&&f?HHa(a,b,c,d,h):typeof a==="object"?JSON.parse(JSON.stringify(a)):a;return k},MHa=function(a,b){if(b instanceof wo)a=DHa(b.getPartialClassMetadata());else if(a instanceof wo)a=DHa(a.getPartialClassMetadata());else throw Error("ld");return a},QHa=function(a){return a&&PHa.test(a)?a.split("@")[0]:""},RHa=function(a){return a?a.find(function(b){var c;return((c=b.metadata)==null?void 0:
c.container)==="DOMAIN_PROFILE"}):null},SHa=function(a){return a?a.find(function(b){var c;return((c=b.metadata)==null?void 0:c.container)==="DOMAIN_PROFILE"}):null},THa=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(I){return I.lookupId===c}))==null?void 0:(f=e.personId)==null?void 0:f[0];if(!h)return{ldap:QHa(c),name:"",email:c};var k;d=b==null?void 0:(k=b.people)==null?void 0:k[h];var q;h=(q=SHa(d==null?void 0:d.email))==null?void 0:
q.value;var t,w;q=d==null?void 0:(t=d.name)==null?void 0:(w=t[0])==null?void 0:w.displayName;var B,E;t=d==null?void 0:(B=d.photo)==null?void 0:(E=B[0])==null?void 0:E.url;w=RHa(d==null?void 0:d.organization);B=w==null?void 0:w.title;E=w==null?void 0:w.department;w=w==null?void 0:w.location;return{ldap:QHa(h),email:h||c||"",name:q||"",imageUrl:t,title:B,department:E,location:w}})},UHa=function(){},XHa=function(){var a={timeout:5E3};a=a===void 0?{}:a;return VHa!=null?VHa:VHa=WHa(a)},YHa=function(){return new Promise(function(a,
b){window.gapi.load("client",{callback:a,onerror:b})})},WHa=function(a){a=a===void 0?{}:a;var b;return fe(function(c){if(c.nextAddress==1)return(b=window.gapi)&&b.client&&b.client.load?c.return(b):he(c,ZHa(Bh($Ha),a),2);if(c.nextAddress!=3){b=window.gapi;if(!b)throw Error("md");return b.client&&b.client.load?c.jumpTo(3):he(c,YHa(),3)}return c.return(b)})},aIa=function(a,b,c){var d=a.config.get(b);c!==d&&a.config.update(b,c)},cIa=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(bIa.has(a))return bIa.get(a);b=Promise.resolve(c.reloadAuthResponse()).finally(function(){bIa.delete(a)});bIa.set(a,b);return b}return Promise.resolve()},dIa=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})},eIa=function(a,b){a&1&&(F(0,"div",1),Gd(),F(1,"svg",2)(2,"g"),H(3,"path",3),G()(),
Ad.currentNamespace=null,F(4,"span",4),R(5),G()());a&2&&(a=b.ngIf,Bf("aria-label",a)("title",a),z(5),lg(a))},fIa=function(a,b){a&1&&(F(0,"onedev-person-hovercard-body",1),T(1,"async"),Yf(2,0,["ngProjectAs","onedev-hovercard-action",5,["onedev-hovercard-action"]]),Yf(3,1,["ngProjectAs","[onedev-additional-content]",5,["","onedev-additional-content",""]]),G());a&2&&(a=b.ngIf,b=O(),D("person",a)("outOfOfficeDescription",V(1,2,b.outOfOfficeDescription$)))},gIa=function(a){a&1&&(F(0,"onedev-person-hovercard",
2,0),Yf(2,0,["ngProjectAs","onedev-hovercard-action",5,["onedev-hovercard-action"]]),G());if(a&2){a=Q(1);var b=O();D("email",b.email)("enableWaldo",!0)("onedevIsHovercardReady",a.init)}},hIa=function(a){a&1&&Sf(0)},iIa=function(a){a&1&&(K(0),F(1,"span",3),C(2,hIa,1,0,"ng-container",4),G(),F(3,"onedev-hovercard",null,1),H(5,"b-person-card",5),G(),L());if(a&2){a=Q(4);var b=O(),c=Q(2);z();D("onedevHovercardTrigger",a)("onedevHovercardActive",!!b.email);z();D("ngTemplateOutlet",c);z(3);D("email",b.email)}},
jIa=function(a){a&1&&Yf(0)},mIa=function(a){if(a&1){var b=u();K(0,3);F(1,"onedev-hovercard-action",4);T(2,"async");M("onAction",function(){v(b);var e=O();return x(kIa(e))});F(3,"span");R(4);G()();F(5,"onedev-hovercard-action",4);T(6,"async");M("onAction",function(){v(b);var e=O();return x(lIa(e))});F(7,"span");R(8);G()();L()}if(a&2){var c,d;a=O();z();D("disabled",(c=V(2,4,a.actionService.assigneeUpdating$))!==null&&c!==void 0?c:!1);z(3);lg(a.email!==a.currentAssignee?"Set as assignee":"Remove assignee");
z();D("disabled",(d=V(6,6,a.actionService.ccUpdating$))!==null&&d!==void 0?d:!1);z(3);lg(a.currentCc.includes(a.email)?"Remove from CCs":"Add to CCs")}},oIa=function(a){return!!a.match(nIa)&&!a.endsWith("/history")},xo=function(a){return a.type==="hyperlink"},pIa=function(a){return xo(a)&&oIa(a.href)},rIa=function(a){return xo(a)&&!!a.href.match(qIa)},sIa=function(a,b){b=b===void 0?!1:b;if(a.endsWith("/history"))return null;var c,d;return(a=(d=(c=a.match(nIa))==null?void 0:c[2])!=null?d:null)?b?"https://3p-screenshot.corp.google.com/"+
a+".png":"https://screenshot.googleplex.com/"+a+".png":null},tIa=function(a){return a.type==="issueReference"},uIa=function(a){return xo(a)&&!pIa(a)&&!(xo(a)&&a.href.startsWith("mailto:"))},vIa=function(a){a&1&&(K(0),H(1,"img",3),T(2,"async"),L());if(a&2){var b;a=O(2);z();D("src",V(2,2,a.srcRedirected$),Qe);Bf("alt",(b=a.alt)!==null&&b!==void 0?b:"user provided image")}},wIa=function(a){a&1&&(K(0),C(1,vIa,3,4,"ng-container",2),T(2,"async"),L());if(a&2){a=O();var b=Q(3);z();D("ngIf",V(2,2,a.showImage$))("ngIfElse",
b)}},xIa=function(a){if(a&1){var b=u();F(0,"a",4);T(1,"async");T(2,"async");M("click",function(c){v(b);var d=O();return x(d.trigger(c))})("keydown.enter",function(c){v(b);var d=O();return x(d.trigger(c))});F(3,"b-glue");H(4,"mat-icon",5);G();K(5);R(6);T(7,"async");L();G()}a&2&&(a=O(),D("href",V(1,3,a.src$),Qe)("title",V(2,5,a.src$)),z(6),lg(V(7,7,a.srcTruncated$)))},yIa=function(a){a&1&&(H(0,"mat-icon",6),T(1,"async"));a&2&&(a=O(),Zf("matTooltip","Unable to load image ",V(1,2,a.srcTruncated$),""))},
zIa=function(a){a&1&&(H(0,"br"),F(1,"a",1),H(2,"b-secure-image-widget",2),G(),H(3,"br"));if(a&2){a=O();var b=O();z();D("href",a,Qe)("rel",b.EXTERNAL_LINK_REL);z();D("src",a)("alt",b.alt||"User provided screenshot")("showByDefault",!0)}},AIa=function(a){a&1&&H(0,"b-secure-image-widget",0);if(a&2){a=O();var b=O();D("src",a)("alt",b.alt||"User provided screenshot")("showByDefault",!1)}},BIa=function(a){a&1&&(C(0,zIa,4,5),T(1,"async"),C(2,AIa,1,3,"b-secure-image-widget",0));if(a&2){var b;a=O();Of((b=
V(1,1,a.displayMode$))===a.DisplayMode.SHOW?0:b===a.DisplayMode.COLLAPSE?2:-1)}},CIa=function(a){for(;a.firstChild;)a.removeChild(a.firstChild)},DIa=function(a,b){a&1&&(K(0),H(1,"b-plain-format-section",2),L());a&2&&(a=b.$implicit,z(),D("section",a))},EIa=function(a){a&1&&H(0,"b-plain-format-quoted-section",1);a&2&&(a=O(),D("section",a.section))},FIa=function(a){a&1&&H(0,"b-plain-format-unquoted-section",1);a&2&&(a=O(),D("section",a.section))},HIa=function(a){if(a&1){var b=u();F(0,"a",4);M("click",
function(){v(b);var c=O();c.showQuote=!0;GIa(c);return x()});R(1," - Show quoted text - ");G()}a&2&&(a=O(),Bf("aria-controls",a.childId))},IIa=function(a){if(a&1){var b=u();F(0,"a",5);M("click",function(){v(b);var c=O();c.showQuote=!1;GIa(c);return x()});R(1," - Hide quoted text - ");G()}a&2&&(a=O(),Bf("aria-controls",a.childId))},JIa=function(a,b){a&1&&(K(0),H(1,"b-literal-format-presenter",1),L());a&2&&(a=b.ngIf,z(),D("content",a))},KIa=function(a,b){a&1&&(K(0),H(1,"b-markdown-format-presenter",
1),L());a&2&&(a=b.ngIf,z(),D("content",a))},LIa=function(a,b){a&1&&(K(0),H(1,"b-plain-format-presenter",1),L());a&2&&(a=b.ngIf,z(),D("content",a))},MIa=function(a){return eva(a.getIt().getMentionsList(Pi)).map(function(b){return b.mentionedUser}).map(sm).map(function(b){return b||""})},NIa=function(a){a=a.getIt();return a.hasFormattedComment()?Zua(a.getFormattedComment()):{}},OIa=function(a){switch(a.formattingMode){case "LITERAL":return(0,W.of)({literalFormat:{content:wh(a.comment)}});case "MARKDOWN":return a=
{markdownFormat:{content:wh("")}},(0,W.of)(a);case void 0:case "PLAIN":case "UNSPECIFIED_FORMATTING_MODE":return a={plainFormat:{plainSection:[{isQuoted:!1,content:wh(a.comment)}]}},(0,W.of)(a);default:return Dc(a.formattingMode,"Unknown formatting mode: "+a.formattingMode)}},PIa=function(a,b){a&1&&(K(0),F(1,"div",1),H(2,"b-formatted-comment-presenter",2),G(),L());a&2&&(a=b.$implicit,b=O(),z(),Kf("invisible",(b.comment||"").trim()==="")("error",a.isFallback),z(),D("formattedComment",a.formattedComment))},
QIa=function(a){a&1&&(F(0,"a",2),H(1,"mat-icon",3),G());a&2&&(a=O(),D("href",a.mdHelpLink,Qe)("disableRipple",!0))},RIa=function(a){a&1&&H(0,"b-formatted-comment-presenter",4);a&2&&(a=O(),D("formattedComment",a.note.formattedComment))},SIa=function(a){a&1&&H(0,"b-live-preview",5);a&2&&(a=O(),D("comment",a.rawComment)("issueId",a.issueId)("audience",a.audience)("formattingMode",a.formattingModeOverride||a.formattingMode||a.FormattingMode.PLAIN)("idPrefix",a.idPrefix))},TIa=function(a){a&1&&(Gd(),F(0,
"svg",2),H(1,"polygon",3),G())},UIa=function(a){if(a&1){var b=u();F(0,"div",0);M("keydown",function(c){v(b);var d=O();return x(d._handleKeydown(c))})("click",function(){v(b);var c=O();return x(c.closed.emit("click"))})("@transformMenu.start",function(c){v(b);var d=O();return x(d._onAnimationStart(c))})("@transformMenu.done",function(c){v(b);var d=O();return x(d._onAnimationDone(c))});F(1,"div",1);Yf(2);G()()}a&2&&(a=O(),Lf(a._classList),D("id",a.panelId)("@transformMenu",a._panelAnimationState),Bf("aria-label",
a.ariaLabel||null)("aria-labelledby",a.ariaLabelledby||null)("aria-describedby",a.ariaDescribedby||null))},VIa=function(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}},WIa=function(a,b){if(a&1){var c=u();F(0,"a",8);M("click",function(){var d=v(c).$implicit,e=O(2);return x(e.clickSegment.emit(d.name||d.path))});R(1);G()}a&2&&(a=b.$implicit,D("href",a.path,Qe),z(),S(" ",a.name||a.path," "))},XIa=function(a){a&1&&(K(0),F(1,"button",5),
H(2,"mat-icon",6),G(),F(3,"mat-menu",null,0),C(5,WIa,2,2,"a",7),G(),L());if(a&2){a=Q(4);var b=O();z();D("matMenuTriggerFor",a);z(4);D("ngForOf",b.segments)}},YIa=function(a){a&1&&H(0,"mat-icon",2);a&2&&(a=O().$implicit,D("svgIcon",a.icon))},ZIa=function(a,b){if(a&1){var c=u();F(0,"button",1);M("click",function(){var e=v(c).$implicit,f=O();return x(f.onClickButton(e.value))});C(1,YIa,1,1,"mat-icon",2);R(2);G()}if(a&2){var d;a=b.$implicit;b=O();D("disableRipple",!0)("matTooltip",(d=a.tooltip)!==null&&
d!==void 0?d:"");Bf("aria-checked",b.value===a.value);z();Of(a.icon?1:-1);z();S(" ",a.name," ")}},$Ia=function(a){if(a&1){var b=u();F(0,"button",4);M("click",function(){v(b);var c=O();return x(c.toggle())});H(1,"mat-icon",5);G()}a&2&&(a=O(),Kf("isClosed",a.isClosed),D("ngClass",a.direction)("matTooltip",a.toggleButtonLabel),Bf("aria-label",a.toggleButtonLabel),z(),D("svgIcon",a.isLTR?"chevron-left":"chevron-right"))},aJa=function(a){a=a.getBoundingClientRect();return a.top>=0&&a.bottom<=window.innerHeight},
bJa=function(a){a=a.getBoundingClientRect();return a.bottom>0&&a.top<window.innerHeight},cJa=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 W.Observable(function(f){f.next(e(a));var h=b(function(k){f.next(k[0].isIntersecting)},d?{threshold:0}:{threshold:1});h.observe(a);return function(){h.unobserve(a)}})).pipe(df())},dJa=function(a,b,c){var d=(c===void 0?0:c)?function(e){return b.partially(e)}:function(e){return b.fully(e)};
return(0,W.merge)((0,W.of)(void 0),(0,W.fromEvent)(window,"scroll").pipe(bf(500))).pipe(y(function(){return d(a)}),df())},eJa=function(a){a&1&&(F(0,"span",4),R(1),G());a&2&&(a=O(),z(),lg(a.placeholder))},fJa=function(a){a&1&&Yf(0)},gJa=function(a){a&1&&(F(0,"span",11),R(1),G());a&2&&(a=O(2),z(),lg(a.triggerValue))},hJa=function(a){a&1&&(F(0,"span",5),C(1,fJa,1,0)(2,gJa,2,1,"span",11),G());a&2&&(a=O(),z(),Of(a.customTrigger?1:2))},iJa=function(a){if(a&1){var b=u();F(0,"div",12,1);M("@transformPanel.done",
function(c){v(b);var d=O();return x(d._panelDoneAnimatingStream.next(c.toState))})("keydown",function(c){v(b);var d=O();return x(d._handleKeydown(c))});Yf(2,1);G()}a&2&&(a=O(),Nf("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",a._getPanelTheme(),""),D("ngClass",a.panelClass)("@transformPanel","showing"),Bf("id",a.id+"-panel")("aria-multiselectable",a.multiple)("aria-label",a.ariaLabel||null)("aria-labelledby",a._getPanelAriaLabelledby()))},jJa=function(){},kJa=function(a){a&1&&Yf(0)},
lJa=function(){},mJa=function(a){a&1&&C(0,lJa,0,0,"ng-template",12);a&2&&(a=O().$implicit,D("cdkPortalOutlet",a.templateLabel))},nJa=function(a){a&1&&R(0);a&2&&(a=O().$implicit,lg(a.textLabel))},oJa=function(a,b){if(a&1){var c=u();F(0,"div",7,2);M("click",function(){var f=v(c),h=f.$implicit;f=f.$index;var k=O(),q=Q(1);return x(k._handleClick(h,q,f))})("cdkFocusChange",function(f){var h=v(c).$index,k=O();return x(k._tabFocusChanged(f,h))});H(2,"span",8)(3,"div",9);F(4,"span",10)(5,"span",11);C(6,mJa,
1,1,null,12)(7,nJa,1,1);G()()()}if(a&2){a=b.$implicit;b=b.$index;var d=Q(1),e=O();Lf(a.labelClass);Kf("mdc-tab--active",e.selectedIndex===b);D("id",e._getTabLabelId(b))("disabled",a.disabled)("fitInkBarToContent",e.fitInkBarToContent);Bf("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);z(3);
D("matRippleTrigger",d)("matRippleDisabled",a.disabled||e.disableRipple);z(3);Of(a.templateLabel?6:7)}},pJa=function(a){a&1&&Yf(0)},qJa=function(a,b){if(a&1){var c=u();F(0,"mat-tab-body",13);M("_onCentered",function(){v(c);var e=O();return x(e._removeTabBodyWrapperHeight())})("_onCentering",function(e){v(c);var f=O();return x(f._setTabBodyWrapperHeight(e))});G()}if(a&2){a=b.$implicit;b=b.$index;var d=O();Lf(a.bodyClass);Kf("mat-mdc-tab-body-active",d.selectedIndex===b);D("id",d._getTabContentId(b))("content",
a.content)("position",a.position)("origin",a.origin)("animationDuration",d.animationDuration)("preserveContent",d.preserveContent);Bf("tabindex",d.contentTabIndex!=null&&d.selectedIndex===b?d.contentTabIndex:null)("aria-labelledby",d._getTabLabelId(b))("aria-hidden",d.selectedIndex!==b)}},yo=function(a,b){var c=(new Date).getTime()/1E3;c=Math.floor(c-a);if(c<300)return"just now";if(!(c<0)){for(var d=[],e=l(rJa),f=e.next();!f.done;f=e.next()){var h=l(f.value);f=h.next().value;h=h.next().value;if(d.length>=
2)break;var k=Math.floor(c/h);if(k>=1)b?d.push(""+k+sJa[f]):k===1?d.push(k+" "+f):d.push(k+" "+f+"s");else if(d.length)break;c-=k*h;if(k>1)break}if(d.length)return d.join(" ")+" ago";console.error("epochToDateAgo() unhandled input. Seconds:",a)}},tJa=function(a,b){a&1&&(K(0),F(1,"time",1),T(2,"async"),R(3),G(),L());if(a&2){a=b.ngIf;b=O();z();var c=Cf(u(),"padding-left: ",b.paddingLeftPx,"px");rla(pla,qla,c,!1);D("title",a.title);Bf("datetime",V(2,6,b.timestampIso$));z(2);lg(a.formatted)}},uJa=function(a){a&
1&&H(0,"waldo-availability-chip",1);a&2&&(a=O(),D("user",a.user),Bf("coinonly",a.coinonly))},vJa=function(a){a&1&&(K(0),H(1,"b-availability-chip",4),L());a&2&&(a=O(2).ngIf,z(),D("user",a.email))},wJa=function(a){a&1&&(K(0),R(1),L(),C(2,vJa,2,1,"ng-container",2));if(a&2){a=O().ngIf;var b=O();z();lg(a.content);z();D("ngIf",b.enableWaldoAvailability&&b.availabilityChipEnabled)}},xJa=function(a){a&1&&Sf(0)},yJa=function(a){a&1&&(K(0),F(1,"span",5),C(2,xJa,1,0,"ng-container",6),G(),F(3,"onedev-hovercard",
null,1),H(5,"b-issue-person-card",7),G(),L());if(a&2){a=Q(4);var b=O().ngIf,c=Q(2),d=O();z();D("onedevHovercardTrigger",a);Bf("tabindex",d.hovercardEnabled&&d.hovercardFocusEnabled?"0":null);z();D("ngTemplateOutlet",c);z(3);D("email",b.email)}},zJa=function(a,b){a&1&&(K(0),C(1,wJa,3,2,"ng-template",null,0,yg)(3,yJa,6,4,"ng-container",3),L());if(a&2){a=b.ngIf;b=Q(2);var c=O();z(3);D("ngIf",c.hovercardEnabled&&c.isNonObfuscatedEmail(a.email))("ngIfElse",b)}},AJa=function(a,b){a&1&&(F(0,"span",9),R(1,
" by "),H(2,"b-user-display-name",10),G());a&2&&(a=b.ngIf,z(2),D("email",a)("hovercardEnabled",!1))},BJa=function(a,b){a&1&&(F(0,"div")(1,"span"),R(2),G(),H(3,"b-formatted-date-time",11),G());a&2&&(a=b.ngIf,b=O().ngIf,z(2),lg(b.pending?"Created on: ":"Submitted on: "),z(),D("timestamp",a))},CJa=function(a,b){a&1&&(K(0),H(1,"br"),R(2),L());a&2&&(a=b.$implicit,z(2),S("",a," "))},DJa=function(a,b){a&1&&(K(0),F(1,"div",3)(2,"a",4),R(3," CL "),F(4,"span"),R(5),G()(),C(6,AJa,3,2,"span",5),H(7,"br")(8,"br"),
C(9,BJa,4,2,"div",2),F(10,"div",6),H(11,"div",7)(12,"br"),F(13,"div"),R(14," Affected files: "),C(15,CJa,3,1,"ng-container",8),G()()(),L());a&2&&(a=b.ngIf,b=O(),z(2),D("href","http://critique.corp.google.com/"+b.changelistId,Qe),z(3),lg(b.changelistId),z(),D("ngIf",a.author),z(3),D("ngIf",a.timestamp),z(2),D("innerHTML",a.description,Pe),z(4),D("ngForOf",a.affectedFiles))},EJa=function(a){a&1&&H(0,"b-changelist-card",4,1);if(a&2){a=Q(1);var b=O();D("onedevIsHovercardReady",a.init)("changelistId",
b.id)}},FJa=function(a){a&1&&H(0,"b-user-display-name",2);a&2&&(a=O(),D("email",a.getEmailAddress())("hovercardEnabled",!1)("availabilityChipEnabled",a.availabilityChipEnabled)("hovercardFocusEnabled",a.hovercardFocusEnabled))},GJa=function(a){a&1&&(F(0,"span"),R(1),G());a&2&&(a=O(),z(),lg(a.getDisplayString()))},HJa=function(a){a&1&&Sf(0)},IJa=function(a){a&1&&(K(0),F(1,"span",4),C(2,HJa,1,0,"ng-container",5),G(),F(3,"onedev-hovercard",null,1),H(5,"b-issue-person-card",6),G(),L());if(a&2){a=Q(4);
var b=O().ngIf,c=Q(3);z();D("onedevHovercardTrigger",a);z();D("ngTemplateOutlet",c);z(3);D("email",b.email)}},KJa=function(a){a&1&&(K(0),H(1,"img",8),L());a&2&&(a=O(2).ngIf,O(),z(),D("src",JJa[a.email],Qe))},LJa=function(a){a&1&&H(0,"img",11);a&2&&(a=O(3).ngIf,D("src",a.src,Qe)("srcset",a.srcset))},MJa=function(a){a&1&&(F(0,"span",9),C(1,LJa,1,2,"img",10),G());a&2&&(a=O(2).ngIf,Kf("anonymous",!a.showImage),z(),D("ngIf",a.showImage))},OJa=function(a){a&1&&C(0,KJa,2,1,"ng-container",2)(1,MJa,2,3,"span",
7);if(a&2){a=O().ngIf;var b=O();D("ngIf",a.email&&NJa(b,a.email));z();D("ngIf",!NJa(b,a.email))}},PJa=function(a,b){a&1&&(K(0),C(1,IJa,6,3,"ng-container",3)(2,OJa,2,2,"ng-template",null,0,yg),L());if(a&2){a=b.ngIf;b=Q(3);var c=O();z();D("ngIf",c.isNonObfuscatedEmail(a.email))("ngIfElse",b)}},QJa=function(a){a&1&&H(0,"b-user-image",6);a&2&&(a=O(),D("email",a.email))},RJa=function(a){a&1&&Sf(0)},SJa=function(a){a&1&&(K(0),F(1,"span",7),C(2,RJa,1,0,"ng-container",8),G(),F(3,"onedev-hovercard",null,1),
H(5,"b-issue-person-card",9),G(),L());if(a&2){a=Q(4);var b=O(),c=Q(4);z();D("onedevHovercardTrigger",a);z();D("ngTemplateOutlet",c);z(3);D("email",b.email)}},TJa=function(a){a&1&&(F(0,"span"),R(1),G());a&2&&(a=O(),z(),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,lg(a))},UJa=function(a){a&1&&(F(0,"span",10),H(1,"b-availability-chip",11),G());a&2&&(a=O(),z(),D("user",a.email))},VJa=function(a){a&
1&&H(0,"b-icon",9)},WJa=function(a){a&1&&H(0,"b-user-image",10);a&2&&(a=O(2),D("email",a.email))},XJa=function(a){a&1&&(K(0),C(1,VJa,1,0,"b-icon",8),T(2,"async"),C(3,WJa,1,1,"ng-template",null,1,yg),L());if(a&2){a=Q(4);var b=O();z();D("ngIf",b.enableGroupIcon&&V(2,2,b.isGroup$))("ngIfElse",a)}},YJa=function(a){a&1&&H(0,"b-user-display-name",11);a&2&&(a=O(),D("email",a.email)("hovercardFocusEnabled",!0)("availabilityChipEnabled",!1))},ZJa=function(a){a&1&&Sf(0)},$Ja=function(a){a&1&&(K(0),F(1,"span",
13),C(2,ZJa,1,0,"ng-container",14),G(),F(3,"onedev-hovercard",null,3),H(5,"b-issue-person-card",15),G(),L());if(a&2){a=Q(4);O();var b=Q(2),c=O();z();D("onedevHovercardTrigger",a);z();D("ngTemplateOutlet",b);z(3);D("email",c.email)}},aKa=function(a){a&1&&(F(0,"span",16),R(1),G());a&2&&(a=O(2),z(),lg(a.email))},bKa=function(a){a&1&&C(0,$Ja,6,3,"ng-container",12)(1,aKa,2,1,"ng-template",null,2,yg);if(a&2){a=Q(2);var b=O();D("ngIf",b.isNonObfuscatedEmail(b.email))("ngIfElse",a)}},cKa=function(a){a&1&&
(H(0,"mat-icon",17),T(1,"async"),T(2,"async"));if(a&2){var b,c;a=O();D("svgIcon",(b=V(1,2,a.iconName$))!==null&&b!==void 0?b:"")("matTooltip",(c=V(2,4,a.iconToolTip$))!==null&&c!==void 0?c:"")}},dKa=function(a){a&1&&(K(0),H(1,"b-availability-chip",18),L());a&2&&(a=O(),z(),D("user",a.email))},Ao=function(a,b){return eKa(zo.viewIssue.routeDeclarationPath,{id:a,params:b})},lKa=function(a,b,c,d,e){c=gKa(c);d=jKa(d);return kKa("action/issues/csv","q",a,"trackerIds",b,"s",c,"c",d,"h",e)},gKa=function(a){return a&&
a.length?a.map(function(b){return b.toApiUrlParam()}).join(","):null},jKa=function(a){return a&&a.length?a.map(function(b){return b.toApiUrlParam()}).join(","):null},eKa=function(a,b){b=b===void 0?{}:b;return b.id==null?"":Bo(a,b)},Bo=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=mKa(f,d));e&&(f=f+"#"+e);return f},nKa=function(a){for(var b={},c=l(a.keys),d=c.next();!d.done;d=c.next()){d=d.value;var e=a.getAll(d);
b[d]=e.length>1?e:e[0]}return b},oKa=function(a){a&1&&(K(0),R(1," created "),F(2,"b-issue-reference-widget",5),R(3),G(),H(4,"b-formatted-date-time",6),L());a&2&&(a=O(),z(2),D("href",Ao(a.event.issueId))("issueId",a.event.issueId),z(),S("b/",a.event.issueId,""),z(),D("timestamp",a.event.modifiedDate))},pKa=function(a,b){a&1&&(K(0),R(1," \u2014 "),F(2,"span",8),R(3),G(),L());a&2&&(a=b.$implicit,z(2),D("title",a),z(),lg(a))},qKa=function(a){a&1&&(K(0),R(1," submitted "),H(2,"changelist-link-plain",7)(3,
"b-formatted-date-time",6),C(4,pKa,4,2,"ng-container",4),L());a&2&&(a=O(),z(2),D("id",a.getChangelistNumber(a.event)),z(),D("timestamp",a.event.modifiedDate),z(),D("ngIf",a.getClMetadata(a.event).title))},rKa=function(a){a&1&&(K(0),R(1," commented on "),F(2,"b-issue-reference-widget",5),R(3),G(),H(4,"b-formatted-date-time",6),L());a&2&&(a=O(),z(2),D("href",Ao(a.event.issueId))("issueId",a.event.issueId),z(),S("b/",a.event.issueId,""),z(),D("timestamp",a.event.modifiedDate))},sKa=function(a){a&1&&
(K(0),R(1," set priority "),H(2,"b-issue-priority-display",9),R(3," on "),F(4,"b-issue-reference-widget",5),R(5),G(),H(6,"b-formatted-date-time",6),L());a&2&&(a=O(),z(2),D("issuePriority",a.toIssuePriority(a.getNewDiffValue(a.event,"priority"))),z(2),D("href",Ao(a.event.issueId))("issueId",a.event.issueId),z(),S("b/",a.event.issueId,""),z(),D("timestamp",a.event.modifiedDate))},tKa=function(a,b){a&1&&(K(0),R(1," set status "),F(2,"span"),R(3),G(),R(4," on "),L());a&2&&(a=b.$implicit,b=O(2),z(2),Nf("chippy xs status-",
b.STATUS_CODE_FROM_DISPLAY_STRING[a],""),z(),S(" ",a," "))},uKa=function(a){a&1&&(K(0),C(1,tKa,5,4,"ng-container",4),F(2,"b-issue-reference-widget",5),R(3),G(),H(4,"b-formatted-date-time",6),L());a&2&&(a=O(),z(),D("ngIf",a.getNewDiffValue(a.event,"status")),z(),D("href",Ao(a.event.issueId))("issueId",a.event.issueId),z(),S("b/",a.event.issueId,""),z(),D("timestamp",a.event.modifiedDate))},vKa=function(a,b){a&1&&(K(0),R(1," \u2014 "),F(2,"span",10),R(3),G(),L());a&2&&(a=b.$implicit,z(2),D("title",
a),z(),lg(a))},wKa=function(a){a&1&&(K(0),R(1," set status update on "),F(2,"b-issue-reference-widget",5),R(3),G(),H(4,"b-formatted-date-time",6),C(5,vKa,4,2,"ng-container",4),L());a&2&&(a=O(),z(2),D("href",Ao(a.event.issueId))("issueId",a.event.issueId),z(),S("b/",a.event.issueId,""),z(),D("timestamp",a.event.modifiedDate),z(),D("ngIf",a.event.statusUpdate==null?null:a.event.statusUpdate.updateText))},xKa=function(a){a&1&&(K(0),R(1," assigned "),F(2,"b-issue-reference-widget",5),R(3),G(),R(4," to "),
H(5,"b-user-email",0)(6,"b-formatted-date-time",6),L());if(a&2){var b;a=O();z(2);D("href",Ao(a.event.issueId))("issueId",a.event.issueId);z();S("b/",a.event.issueId,"");z(2);D("ldapOnly",!0)("email",(b=a.getNewDiffValue(a.event,"assignee"))!==null&&b!==void 0?b:"");z();D("timestamp",a.event.modifiedDate)}},yKa=function(a){a&1&&(K(0),R(1," self-assigned "),F(2,"b-issue-reference-widget",5),R(3),G(),H(4,"b-formatted-date-time",6),L());a&2&&(a=O(),z(2),D("href",Ao(a.event.issueId))("issueId",a.event.issueId),
z(),S("b/",a.event.issueId,""),z(),D("timestamp",a.event.modifiedDate))},zKa=function(a){a&1&&(K(0),R(1," unassigned self from "),F(2,"b-issue-reference-widget",5),R(3),G(),H(4,"b-formatted-date-time",6),L());a&2&&(a=O(),z(2),D("href",Ao(a.event.issueId))("issueId",a.event.issueId),z(),S("b/",a.event.issueId,""),z(),D("timestamp",a.event.modifiedDate))},AKa=function(a){a&1&&(K(0),R(1," unassigned "),H(2,"b-user-email",0),R(3," from "),F(4,"b-issue-reference-widget",5),R(5),G(),H(6,"b-formatted-date-time",
6),L());if(a&2){var b;a=O();z(2);D("ldapOnly",!0)("email",(b=a.getPreviousDiffValue(a.event,"assignee"))!==null&&b!==void 0?b:"");z(2);D("href",Ao(a.event.issueId))("issueId",a.event.issueId);z();S("b/",a.event.issueId,"");z();D("timestamp",a.event.modifiedDate)}},BKa=function(a){a&1&&(K(0),R(1," moved "),F(2,"b-issue-reference-widget",5),R(3),G(),R(4," to another component "),H(5,"b-formatted-date-time",6),L());a&2&&(a=O(),z(2),D("href",Ao(a.event.issueId))("issueId",a.event.issueId),z(),S("b/",
a.event.issueId,""),z(2),D("timestamp",a.event.modifiedDate))},CKa=function(a){a&1&&(K(0),F(1,"span",11),R(2," updated "),G(),F(3,"b-issue-reference-widget",5),R(4),G(),H(5,"b-formatted-date-time",6),L());a&2&&(a=O(),z(),D("title",a.shorthandAllDiffs(a.event)),z(2),D("href",Ao(a.event.issueId))("issueId",a.event.issueId),z(),S("b/",a.event.issueId,""),z(),D("timestamp",a.event.modifiedDate))},DKa=function(a,b){a&1&&(K(0),R(1," \u2014 "),F(2,"span",12),R(3),G(),L());a&2&&(a=b.$implicit,z(2),D("title",
a),z(),lg(a))},EKa=function(a){a&1&&(K(0),C(1,DKa,4,2,"ng-container",4),L());a&2&&(a=O(),z(),D("ngIf",a.event.unlinkifiedComment))},FKa=function(a,b){a&1&&(K(0),R(1," \u2014 "),F(2,"span",13),R(3),G(),L());a&2&&(a=b.$implicit,z(2),D("title",a),z(),lg(a))},GKa=function(a){a&1&&(K(0),C(1,FKa,4,2,"ng-container",4),L());if(a&2){a=O();z();var b,c;a=(b=a.issueFridge.peek(a.event.issueId))==null?void 0:(c=b.snapshot[0])==null?void 0:c.title;D("ngIf",a)}},JKa=function(a){var b,c;a=Co(a,HKa,5);return{output:(c=
(b=xj(a,IKa,1,yj())[0])==null?void 0:b.getOutput())!=null?c:""}},KKa=function(a){a&1&&(F(0,"div",0)(1,"h4"),H(2,"mat-icon",3),R(3," 7 day activity "),F(4,"span",4),R(5,"(AI-Generated)"),G()(),F(6,"pre",5),R(7),T(8,"async"),G()());a&2&&(a=O(2),z(7),lg(V(8,1,a.aiSummary$)))},LKa=function(a,b){a&1&&H(0,"recent-event-row",9);a&2&&D("event",b.$implicit)},MKa=function(a,b){a&1&&(F(0,"p",7),R(1),G(),C(2,LKa,1,1,"recent-event-row",8));if(a&2){a=O();var c=O(3);z();S("Last 24 hours ",c.printStats(a["<24h"]),
"");z();D("ngForOf",b)}},NKa=function(a,b){a&1&&H(0,"recent-event-row",9);a&2&&D("event",b.$implicit)},OKa=function(a,b){a&1&&(F(0,"p",10),R(1),G(),C(2,NKa,1,1,"recent-event-row",8));if(a&2){a=O();var c=O(3);z();S("1-7 days ago ",c.printStats(a["24h-7d"]),"");z();D("ngForOf",b)}},PKa=function(a,b){a&1&&H(0,"recent-event-row",9);a&2&&D("event",b.$implicit)},QKa=function(a,b){a&1&&(F(0,"p",10),R(1),G(),C(2,PKa,1,1,"recent-event-row",8));if(a&2){a=O();var c=O(3);z();S("1-4 weeks ago ",c.printStats(a["7d-30d"]),
"");z();D("ngForOf",b)}},RKa=function(a,b){a&1&&H(0,"recent-event-row",9);a&2&&D("event",b.$implicit)},SKa=function(a,b){a&1&&(F(0,"p",10),R(1),G(),C(2,RKa,1,1,"recent-event-row",8));if(a&2){a=O();var c=O(3);z();S(">30 days ago ",c.printStats(a[">30d"]),"");z();D("ngForOf",b)}},TKa=function(a){if(a&1){var b=u();F(0,"button",11);M("click",function(){v(b);var c=O(4);c.numDisplayed$.value<100?c.numDisplayed$.next(100):c.numDisplayed$.next(c.defaultNumEvents);return x()});R(1);G()}a&2&&(a=O(4),z(),S(" ",
a.numDisplayed$.value>a.defaultNumEvents?"Show less":"Show more"," "))},UKa=function(a){a&1&&(C(0,MKa,3,2)(1,OKa,3,2)(2,QKa,3,2)(3,SKa,3,2)(4,TKa,2,1,"button",6),T(5,"async"));if(a&2){var b,c,d,e,f;a=O();var h=O(2);Of((b=a["<24h"])?0:-1,b);z();Of((c=a["24h-7d"])?1:-1,c);z();Of((d=a["7d-30d"])?2:-1,d);z();Of((e=a[">30d"])?3:-1,e);z();Of(((f=(f=V(5,5,h.events$))==null?null:f.length)!==null&&f!==void 0?f:0)>h.defaultNumEvents?4:-1)}},VKa=function(a){a&1&&(C(0,UKa,6,7),T(1,"async"));if(a&2){var b;a=O(2);
Of((b=V(1,1,a.bucketedEventStats$))?0:-1,b)}},WKa=function(a){a&1&&(C(0,KKa,9,3,"div",0),F(1,"div",1),R(2," Recent activity "),H(3,"input",2),G(),C(4,VKa,2,3),T(5,"async"));if(a&2){var b;a=O();Of(a.viewModesEnabled?0:-1);z(3);D("formControl",a.quickFilter);z();Of((b=V(5,3,a.bucketedEvents$))?4:-1,b)}},XKa=function(a){return function(b){return a?BFa(b).toLowerCase().includes(a.toLowerCase()):!0}},YKa=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(lj);return a.length===0?"":"\u2014 "+a.join(", ")},ZKa=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},$Ka=function(a,b){var c;a=(c=b[a])!=null?c:[];var d={n:a.length,pptCounts:{}};a.forEach(function(e){var f=AFa(e),h=yFa(e);if(e.unlinkifiedComment&&f!=="changelist"){var k;
d.comment=((k=d.comment)!=null?k:0)+1;var q;d.pptCounts[h]=((q=d.pptCounts[h])!=null?q:0)+1}if(f==="changelist"){var t;d.clCount=((t=d.clCount)!=null?t:0)+1;var w;d.pptCounts[h]=((w=d.pptCounts[h])!=null?w:0)+1}else if(f==="create"){var B;d.created=((B=d.created)!=null?B:0)+1;var E;d.pptCounts[h]=((E=d.pptCounts[h])!=null?E:0)+1}else if(f==="status"&&xFa(e,"status")==="Fixed"){var I;d.fixed=((I=d.fixed)!=null?I:0)+1}});return d},aLa=function(a){return Date.now()-a.modifiedDate<6048E5},bLa=function(a){a=
a.filter(aLa).map(BFa).join("\n\n").trim();a===""&&(a="(No activity in the last 7 days)");return('\nYou are an experienced knowledge worker at a tech company.\n\nYou will be shown a set of events or actions that have happened over the past seven days.\n\n(example) The events are formatted to look like this:\n\nb/123456 [email address] [type of action] [the user\'s comment or explanation of the action]\n\nb/123456 user1@company.com comment we are about to finish this work\n\nb/456789 user2@company.com changelist submitted cl/999\n\nTips:\n* The first number formatted as "b/123" is referred to as the "bug id" or the "issue id".\n* The number formatted as "cl/999" is called a CL number and is especially important because it represents completed code or development work.\n\n\n## Events from last 7 days:\n\n'+
a+"\n\n---\n\n## Instructions:\n\nPlease use these events to summarize and explain what happened over the last 7 days in a few sentences. You are presenting this information to a very busy executive without a lot of time for detail.\nIf there is one especially active user, summarize their activity individually. If there are many different users doing different things, don't list each thing individually. Give special attention to code submission, issue closure, and launches being ramped up.\n  ").trim()},
cLa=function(a){a&1&&Sf(0)},dLa=function(a){if(a&1){var b=u();F(0,"div",3);M("mouseenter",function(){v(b);var c=O();return x(c.toggle(!0))})("mouseleave",function(){v(b);var c=O();return x(c.toggle(!1))})("mousemove",function(){v(b);O().activity.next();return x()});C(1,cLa,1,0,"ng-container",4);G()}a&2&&(a=O(),D("ngClass",a.bubbleStyle)("@fade",void 0),z(),D("ngTemplateOutlet",a.panelTemplate))},eLa=function(a){a&1&&(K(0),F(1,"span",4),R(2),G(),L());a&2&&(a=O(2),z(),Kf("xs",a.compactMode),D("ngClass",
a.chipClass),z(),S(" ",a.chipText," "))},fLa=function(a){a&1&&(F(0,"div",7),R(1),F(2,"a",8),R(3," Learn more"),G()());a&2&&(a=O(3),z(),S(" ",a.bubbleText," "),z(),D("href",Do(a.documentationLinks),Qe))},gLa=function(a){a&1&&(F(0,"xap-bubble",5)(1,"span",6),R(2),G(),C(3,fLa,4,2,"ng-template",null,1,yg),G());if(a&2){a=Q(4);var b=O(2);D("panelTemplate",a);z();Kf("xs",b.compactMode);D("ngClass",b.chipClass);z();S(" ",b.chipText," ")}},hLa=function(a){a&1&&(K(0),C(1,eLa,3,4,"ng-container",3)(2,gLa,5,5,
"ng-template",null,0,yg),L());if(a&2){a=Q(3);var b=O();z();D("ngIf",b.labelOnlyMode)("ngIfElse",a)}},iLa=function(a){a&1&&(K(0),R(1,"Un-"),L())},Fo=function(a){return(a!=null?a:[]).map(Eo)},Io=function(a){return(a!=null?a:[]).map(Go)},Eo=function(a){if(a==null)return"";var b=a.user,c=a.group,d=a.alias;a=void 0;b!=null?(a="USER",b=sm(b)):c!=null?(a="GROUP",b=sm(c)):d!=null?(a="ALIAS",b=d):b="";return a===void 0||b===""?"":a+":"+b},Jo=function(a){return(a!=null?a:[]).map(Eo)},jLa=function(a){return(a!=
null?a:[]).map(Go)},Go=function(a){var b=l(a.split(":"));a=b.next().value;b=b.next().value;if(!a||!b)throw Error("Ed`"+b);switch(a){case "USER":return{user:{emailAddress:b}};case "GROUP":return{group:{emailAddress:b}};case "ALIAS":return{alias:b};default:throw Error("Fd`"+b);}},Ko=function(){return{admins:[],editors:[],appenders:[],readers:[],restrictedReaders:[],restrictedPlusReaders:[],inheritedAdmins:[],implicitAccess:null}},Lo=function(a){return{admins:Fo(a.admins),editors:Fo(a.editors),appenders:Fo(a.appenders),
readers:Fo(a.readers),restrictedReaders:Fo(a.restrictedReaders),restrictedPlusReaders:Fo(a.restrictedPlusReaders),inheritedAdmins:Fo(a.inheritedAdmins),implicitAccess:a.implicitAccess||null}},Mo=function(a){return{admins:Io(a.admins),editors:Io(a.editors),appenders:Io(a.appenders),readers:Io(a.readers),restrictedReaders:Io(a.restrictedReaders),restrictedPlusReaders:Io(a.restrictedPlusReaders),implicitAccess:a.implicitAccess}},kLa=function(a){return a instanceof No?a:new No(a,{})},Oo=function(a){a=
kLa(a);return new No(a.char,Object.assign({},a.modifiers,{shift:!0}))},lLa=function(a){a=kLa(a);return new No(a.char,Object.assign({},a.modifiers,{ctrl:!0}))},mLa=function(){var a=Oo("f");a=kLa(a);return new No(a.char,Object.assign({},a.modifiers,{alt:!0}))},oLa=function(a){if(a instanceof No){var b=nLa(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(oLa).join(" "):nLa(a)},Po=function(){return kd.apply(0,
arguments)},nLa=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 Dc(a)}},pLa=function(a){return a.keys.join("-")+"-"+a.description+"-"+a.displayAs},rLa=function(a,b){if(a&1){var c=u();F(0,"div",7)(1,"b-contact-chip",8);M("chipSelection",function(){var d=v(c).index,e=O();e.selectedChipIndex!==d&&Qo(e,d)&&(qLa(e),e.selectedChipIndex=d,e.items[d].isSelected=!0);return x()})("chipClear",function(){v(c);var d=O();return x(qLa(d))})("chipRemove",function(){var d=
v(c).index,e=O();return x(e.removeItem(d))});G()()}a&2&&(a=b.$implicit,b=O(),z(),D("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()))},uLa=function(a){if(a&1){var b=u();F(0,"input",9,0);M("autocompleteActive",function(){v(b);var c=O();return x(c.chipifyFn())});pg("ngModelChange",
function(c){v(b);var d=O();og(d.typedText,c)||(d.typedText=c);return x(c)});M("focus",function(){v(b);var c=O();return x(sLa(c))})("blur",function(){v(b);var c=O();tLa(c,c.typedText.split(",")[0].trim());c.isFocused=!1;return x()});G()}a&2&&(a=O(),D("bContactAutocomplete","MULTI")("additionalContactsCallback",a.additionalContactsFn),ng("ngModel",a.typedText),D("disabled",a.isWidgetDisabled()))},vLa=function(a){a&1&&(F(0,"span"),R(1," Groups cannot be granted Restricted+ reader permission. "),F(2,
"a",10),R(3,"Learn more"),G()());a&2&&(a=O(),z(2),Bf("href",Do(a.documentationLinks)+"#components",Qe))},wLa=function(a){a&1&&(F(0,"span"),R(1," Invalid user(s). "),G())},xLa=function(a){a&1&&(F(0,"span"),R(1,' "Public" or external users are not allowed for component designated as "internal access". '),G())},yLa=function(a){a&1&&(F(0,"span"),R(1,' "Public" is not allowed for components designated as "external partner access". '),G())},zLa=function(a){a&1&&(F(0,"span"),R(1," SLO lead can not be a group. "),
G())},ALa=function(a){a&1&&(F(0,"span"),R(1," SLO lead can only be a full-time Googler. "),G())},FLa=function(a,b){if(!b||!a)return BLa;var c;return!CLa((c=b.readers)!=null?c:[])||DLa(a)?ELa:BLa},CLa=function(a){return a.some(function(b){return b.alias!==void 0?b.alias==="public"||b.alias==="public_non_google":!1})},DLa=function(a){return a==="LIMIT_VIEW"||a==="LIMIT_VIEW_TRUSTED"},GLa=function(a,b){a&1&&(F(0,"a",9),R(1," Learn more. "),G());a&2&&D("href",b.$implicit,Qe)},HLa=function(a,b){a&1&&H(0,
"b-multi-user-input",11);a&2&&(D("users",b),Bf("disabled",!0))},ILa=function(a){a&1&&(K(0,10),H(1,"br"),F(2,"h2"),R(3,"Users who can view"),G(),C(4,HLa,1,2,"b-multi-user-input",11),T(5,"async"),L());if(a&2){var b;a=O(2);D("onedevIsHovercardReady",a.showHovercard$);z(4);Of((b=V(5,2,a.viewers$))?4:-1,b)}},KLa=function(a){if(a&1){var b=u();K(0);F(1,"span",3,0);T(3,"async");T(4,"async");M("focus",function(){v(b);var e=Q(2);O().loadTooltipOnce();e.disabled=!1;return x(e.show())})("blur",function(){v(b);
var e=Q(2);e.disabled=!0;return x(e.hide())});R(5);T(6,"async");G();F(7,"onedev-hovercard",null,1)(9,"div",4)(10,"div",5)(11,"div",6);R(12);T(13,"async");C(14,GLa,2,1,"a",7)(15,ILa,6,4,"ng-container",8);G()()()();L()}if(a&2){var c;a=Q(8);var d=O();z();Kf("xs",d.compactMode);D("onedevHovercardTrigger",a)("matTooltipDisabled",!0)("matTooltip",(c=V(3,9,d.tooltipText$))!==null&&c!==void 0?c:"")("ngClass",V(4,11,d.chipClass$));z(4);S(" ",V(6,13,d.chipText$)," ");z(7);S(" ",V(13,15,d.bubbleText$)," ");
z(2);D("ngIf",JLa(d.documentationLinks))}},LLa=function(a){return a==="visible_to_listed_partners"||a==="visible_to_listed_public_users"},MLa=function(a){a&1&&H(0,"b-issue-visibility-chip",6);a&2&&(a=O(2),D("issueId",a.issueId))},NLa=function(a){a&1&&H(0,"b-component-access-level-indicator",7);a&2&&(a=O(2),D("labelOnlyMode",!0)("accessLevel",a.issue.accessLimit==null?null:a.issue.accessLimit.accessLevel))},OLa=function(a){a&1&&(F(0,"span"),R(1," Assigned to "),H(2,"b-user-display",17),G());a&2&&(a=
O(2).ngIf,z(2),D("model",a.assigneeUser)("hovercardEnabled",!1))},PLa=function(a){a&1&&(F(0,"span"),R(1," Accepted by "),H(2,"b-user-display",17),G());a&2&&(a=O(2).ngIf,z(2),D("model",a.assigneeUser)("hovercardEnabled",!1))},QLa=function(a){a&1&&(F(0,"span"),R(1," Duplicate of "),F(2,"a",3),R(3),G()());if(a&2){a=O(2).ngIf;var b=O();z(2);Df("aria-label","Go to issue ",a.duplicateOfIssueId,"");D("href",b.ROUTES.viewIssue.makeHref(a.duplicateOfIssueId),Qe);z();S(" ",a.duplicateOfIssueId," ")}},RLa=function(a){a&
1&&(F(0,"span"),R(1),G());if(a&2){a=O().ngIf;var b=O(2);z();S(" ",b.STATUS_JS_FULL_TEXT[a]," ")}},SLa=function(a,b){a&1&&(K(0,14),C(1,OLa,3,2,"span",15)(2,PLa,3,2,"span",15)(3,QLa,4,4,"span",15)(4,RLa,2,1,"span",16),L());a&2&&(D("ngSwitch",b.ngIf),z(),D("ngSwitchCase","ASSIGNED"),z(),D("ngSwitchCase","ACCEPTED"),z(),D("ngSwitchCase","DUPLICATE"))},TLa=function(a,b){a&1&&(K(0),H(1,"b-app-vote-button",18),L());if(a&2){var c;a=b.ngIf;b=O().ngIf;var d=O(2);z();D("issueId",d.issueId)("voteCount",b.voteCount)("upvoted",
(c=a.voted)!==null&&c!==void 0?c:!1)}},ULa=function(a){a&1&&(K(0),C(1,TLa,2,3,"ng-container",1),L());a&2&&(a=O(2),z(),D("ngIf",a.issue.userData))},WLa=function(a){if(a&1){var b=u();K(0);F(1,"button",19);M("click",function(){v(b);var c=O(2);return x(VLa(c,c.childContextId))});R(2," Unlink parent ");G();L()}},XLa=function(a,b){a&1&&(F(0,"li"),R(1," Last updated by "),H(2,"b-user-display",17),R(3," on: "),H(4,"b-formatted-date-time",20),G());a&2&&(a=b.ngIf,b=O().ngIf,z(2),D("model",a)("hovercardEnabled",
!1),z(2),D("timestamp",b.modifiedTimeMicros/1E3))},YLa=function(a,b){a&1&&(K(0),C(1,XLa,5,3,"li",1),F(2,"li"),R(3," Reported by "),H(4,"b-user-display",17),R(5," on: "),H(6,"b-formatted-date-time",20),G(),L());a&2&&(a=b.ngIf,b=O().ngIf,z(),D("ngIf",a.lastModifier),z(3),D("model",b.reporterUser)("hovercardEnabled",!1),z(2),D("timestamp",a.createdTimeMicros/1E3))},ZLa=function(a){a&1&&(F(0,"li",21),H(1,"b-note-container",22),G());if(a&2){var b;a=O(2);z();var c=D("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)}},bMa=function(a,b){if(a&1){var c=u();K(0);F(1,"div",2)(2,"h3")(3,"a",3);R(4);G();R(5," \u00a0 ");F(6,"span",4);R(7);G()();
F(8,"ul")(9,"li",5);C(10,MLa,1,1,"b-issue-visibility-chip",6)(11,NLa,1,2,"b-component-access-level-indicator",7);G();F(12,"li",8)(13,"span",9);R(14);G();R(15," \u00a0 ");C(16,SLa,5,4,"ng-container",10);G()();F(17,"div",11)(18,"b-cc-button",12);M("onCc",function(f){v(c);var h=O();h.location&&f&&h.analytics.trackEvent(h.location+"_issueCard","add","CC");return x()});G();C(19,ULa,2,1,"ng-container",1)(20,WLa,3,0,"ng-container",1);G();F(21,"ul");C(22,YLa,7,4,"ng-container",1)(23,ZLa,2,4,"li",13);G()();
L()}if(a&2){var d,e;a=b.ngIf;b=O();z(3);Df("aria-label","Go to issue ",b.issueId,"");D("href",b.ROUTES.viewIssue.makeHref(b.issueId),Qe);z();lg(b.issueId);z(3);lg(a.title);z(3);Of(b.enableNewVisibilityChips?10:11);z(3);D("ngClass",b.priorityClass(a.priority));z();lg(b.ISSUE_PRIORITY_TEXT_JS[(d=a.priority)!==null&&d!==void 0?d:b.ISSUE_PRIORITY_ENUM.PRIORITY_UNSPECIFIED]);z(2);D("ngIf",a.status);z(2);D("issueId",b.issueId)("ccState",$La(b,(e=a.ccUsers)!==null&&e!==void 0?e:tg(15,aMa)));z();D("ngIf",
b.issue.aggregatedData);z();D("ngIf",b.childContextId);z(2);D("ngIf",b.issue.aggregatedData);z();D("ngIf",b.firstEvent==null?null:b.firstEvent.unlinkifiedComment)}},cMa=function(a){a&1&&Sf(0)},dMa=function(a){a&1&&(F(0,"span"),R(1,"Details"),G())},eMa=function(a){a&1&&(F(0,"span"),R(1,"Members"),G())},gMa=function(a){a&1&&(F(0,"div",13)(1,"a",14),C(2,dMa,2,0,"span",15)(3,eMa,2,0,"span",15),G()());if(a&2){a=O(2);z();if(a.email===void 0)var b="";else{b=encodeURIComponent(a.getName());var c=encodeURIComponent(a.email);
b=fMa(a.email)?"https://ganpati2.corp.google.com/group/"+b+".corp":uAa(a.email)?"https://twosync.corp.google.com/rosterz/"+c:"https://groups.google.com/a/google.com/forum/#!members/"+b}D("href",b,Qe);z();D("ngIf",fMa(a.email));z();D("ngIf",!fMa(a.email))}},hMa=function(a){a&1&&(K(0),F(1,"span",3),C(2,cMa,1,0,"ng-container",4),G(),F(3,"onedev-hovercard",null,1)(5,"div",5)(6,"div",6)(7,"div",7)(8,"div",8)(9,"div",9)(10,"h3"),R(11),G()(),F(12,"div",10),H(13,"mat-icon",11),F(14,"span"),R(15),G()()(),
C(16,gMa,4,3,"div",12),G()()()(),L());if(a&2){a=Q(4);var b=O(),c=Q(2);z();D("onedevHovercardTrigger",a);z();D("ngTemplateOutlet",c);z(9);lg(b.getName());z(4);lg(b.email);z();D("ngIf",b.shouldShowLinks())}},iMa=function(a){a&1&&Yf(0)},jMa=function(){var a=window.gapi;if(!a)return Promise.reject(Error("Kd"));if(a.client&&a.client.load)return Promise.resolve(a);Ci("loading gapi client");return new Promise(function(b,c){a.load("client",{callback:function(){Ci("gapi client has finished loading");b(a)},
onerror:c})})},kMa=function(a){for(var b={},c=l(Object.keys(a)),d=c.next();!d.done;d=c.next()){d=d.value;for(var e=d.split("."),f=b,h=l(e.slice(0,e.length-1)),k=h.next();!k.done;k=h.next())k=k.value,f[k]||(f[k]={}),f=f[k];f[e[e.length-1]]=a[d]}return b},nMa=function(a,b){return lMa().then(function(c){return new mMa(c,a,b)})},lMa=function(){return jMa().then(function(a){return a.client})},Ro=function(a){return a==null?"":typeof a==="number"?isFinite(a)?String(a):"":a&&(a=String(a),a.length<=254)?a:
""},rMa=function(){var a=So("gapi.config.get");if((a=Ro(a&&a("googleapis.config/sessionIndex")))||(a=Ro(Aa.__X_GOOG_AUTHUSER))||(a=Ro(So("google.authuser"))))return a;var b=Aa.location.href||"",c=oMa.exec(b);try{a=Ro(c&&decodeURIComponent(c[2]))}catch(d){}if(a)return a;c=pMa.exec(b);try{a=Ro(c&&decodeURIComponent(c[2]))}catch(d){}if(a)return a;a=qMa.exec(b);return(a=Ro(a&&a[1]))?a:""},sMa=function(){var a=So("gapi.auth.getToken");a=(a=a?a():null)&&a.access_token;var b=null;if(!a){a=(a=So("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}},uMa=function(a){a=a===void 0?"":a;var b;if(!(b=sMa())){b=a;var c=c===void 0?rMa():c;a={};var d=tMa([]);d&&(a.Authorization=d);b||(b=(b=So("gapi.config.get"))&&b("client/apiKey"));b&&(a["X-Goog-Api-Key"]=b);c&&(a["X-Goog-AuthUser"]=String(c));b=a}return b},vMa=function(a,b){b=b===void 0?0:b;var c;if(c=b===0)c=(c=So("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=So("gapi.config.get"))&&b("client/rewrite"))&&b[a]&&(a=String(b[a]));return a},xMa=function(a,b){return a<1||!isFinite(a)?Promise.reject("gapi.client missing"):(new Promise(function(c){return Aa.setTimeout(c,
b)})).then(function(){return wMa(a-1,b*2)})},wMa=function(a,b){a=a===void 0?0:a;b=b===void 0?5E3:b;var c=Aa;try{do var d=c.gapi;while(!d&&c!==c.top&&(c=c.parent))}catch(e){}if(!d)return xMa(a,b);Aa.gapi||(Aa.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")})})},yMa=function(){var a=a===void 0?"":a;var b=b===void 0?rMa():b;var c=So("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)},zMa=function(a){return(new To).setEventType(2).setRpcType(2).setLookupType(a)},AMa=function(a){a=Math.round(a*1E3);return isFinite(a)?a:null},Uo=function(a){var b;return(b=a==null?void 0:a.trim())!=null?b:""},Vo=function(a){var b=b===void 0?BMa:b;var c=ab(a),d=function(e){e=l(e);e.next();e=pk(e);return b(c,e)};return function(){var e=kd.apply(0,arguments),f=this||Aa,h=CMa.get(f);h||(h={},CMa.set(f,h));f=h;h=[this].concat(r(e));
e=d?d(h):h;if(Object.prototype.hasOwnProperty.call(f,e))f=f[e];else{var k=l(h);h=k.next().value;k=pk(k);h=a.apply(h,k);f=f[e]=h}return f}},FMa=function(a,b,c,d,e){e=e===void 0?"":e;a=new Wo(a,b);e&&(a.destinationUrl=e);d&&DMa(a,function(){return uMa().Authorization});a.setProductID(109303191);c&&c.length&&(d=new EMa,jc(d,3,c,Hb),a.setClearExperimentIds(d));return a.build()},Zo=function(a,b,c,d){Xo.call(this);this.initialized_=!1;this.title_=null;this.cache_=b;this.id_=c;this.transport_=a;GMa(this.transport_,
this.id_);d&&Yo(d.getEventTarget(),"a",this.onContactsChange_,!1,this)},HMa=function(a){var b={};if(a){a=l(a);for(var c=a.next();!c.done;c=a.next()){var d=c.value;c=d.containerType;d=d.id||"";c&&d&&(b[c]=b[c]||d)}}return b},JMa=function(a){return a.extendedData&&a.extendedData.contactPreferences?a.extendedData.contactPreferences.map(function(b){return IMa(b.name,b.email)}).join(", "):""},MMa=function(a,b,c){var d=[];a&&(KMa("name",a.name,b,d,c),KMa("phone",a.phone,b,d,c),KMa("photo",a.photo,b,d,c));
return d.map(function(e){return new LMa(e)})},KMa=function(a,b,c,d,e){if(b){b=l(b);for(var f=b.next();!f.done;f=b.next())if(f=f.value,So("metadata.containerType",f)!=="CONTACT"){var h=f;var k=c,q=d,t=e,w=So("metadata.encodedContainerId",h),B=So("metadata.containerType",h);k.contains(w,B)?h=k.get(w,B)||0:(h=q.length,k.set(w,B,h),q.push({}),t.push(w));k=q[h];k[a]=k[a]||[];k[a].push(f)}}},OMa=function(a,b){if(a){a=NMa(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},PMa=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},QMa=function(a){this.query_=a;this.error_=0},TMa=function(a,b){for(var c=[],d=a.length,e=0,f=[],h,k,q=0;q<d;){switch(e){case 0:var t=a.indexOf("<",q);if(t<0){if(c.length===0)return a;c.push(a.substring(q));q=d}else c.push(a.substring(q,t)),k=t,q=t+1,RMa?(SMa.lastIndex=q,t=SMa.exec(a)):
(SMa.lastIndex=0,t=SMa.exec(a.substring(q))),t?(f=["<",t[0]],h=t[1],e=1,q+=t[0].length):c.push("<");break;case 1:t=a.charAt(q++);switch(t){case "'":case '"':var w=a.indexOf(t,q);w<0?q=d:(f.push(t,a.substring(q,w+1)),q=w+1);break;case ">":f.push(t);c.push(b(f.join(""),h));e=0;f=[];k=h=null;break;default:f.push(t)}break;default:throw Error();}e===1&&q>=d&&(q=k+1,c.push("<"),e=0,f=[],k=h=null)}return c.join("")},ap=function(a,b){b=a(b||UMa,void 0);a=$o();b&&b.renderAsElement?a=b.renderAsElement():(a=
a.createElement("DIV"),b=VMa(b),WMa(a,b));a.childNodes.length==1&&(b=a.firstChild,b.nodeType==1&&(a=b));return a},VMa=function(a){return $a(a)?a.toSafeHtml&&(a=a.toSafeHtml(),a instanceof Bc)?a:XMa("zSoyz"):XMa(String(a))},cp=function(a,b,c,d,e,f,h){this.serverBase_=typeof a==="string"?new bp(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},YMa=function(a){a=a.getEmail();if(!a)return!1;for(var b=l(["-pager","+pager","-oncall","+oncall","lifeguard-ng"]),c=b.next();!c.done;c=b.next())if(a.indexOf(c.value)>=0)return!0;return!1},bNa=function(a,b,c){a=a.filter(ZMa());if(!c)return a;c=c.map(function(d){return{contact:d,toString:function(){return d.text}}});b=$Ma(new aNa(c),b,c.length);return a.concat(b.map(function(d){return d.contact}))},cNa=function(a,b){a&1&&H(0,"mat-icon",8);a&2&&D("svgIcon",b.ngIf)},dNa=
function(a){a&1&&(F(0,"b-person-hovercard",9),R(1),G());a&2&&(a=O(),D("email",a.value),z(),S(" ",a.displayText," "))},eNa=function(a){a&1&&(F(0,"b-group-email-card",9),R(1),G());a&2&&(a=O(),D("email",a.value),z(),S(" ",a.displayText," "))},fNa=function(a){a&1&&(F(0,"div"),R(1),G());a&2&&(a=O(),z(),S(" ",a.displayText," "))},gNa=function(a){if(a&1){var b=u();F(0,"div",10);M("click",function(){v(b);var c=O();return x(c.chipRemove.emit())})("keydown.enter",function(){v(b);var c=O();return x(c.chipRemove.emit())});
H(1,"mat-icon",11);G()}a&2&&(a=O(),Zf("matTooltip","'Remove ",a.displayText,"'"),Bf("aria-label","Remove "+a.displayText))},hNa=function(a,b){a&1&&(F(0,"div",19),H(1,"b-contact-chip",20),G());a&2&&(a=b.$implicit,b=O(2),z(),D("value",a.value)("detailedUserType",a.detailedUserType)("principalType",a.principalType)("accessLevel",b.accessLevel)("displayText",a.displayText))},iNa=function(a){a&1&&(F(0,"div",12)(1,"div",13)(2,"div",14),C(3,hNa,2,5,"div",15),F(4,"div",16),H(5,"div",17)(6,"div",18),G()()()());
a&2&&(a=O(),z(3),D("ngForOf",a.nestedChips))},jNa=function(a){a&1&&Yf(0,4)},kNa=function(a){a&1&&(F(0,"div",11),H(1,"input",12),F(2,"div",13),Gd(),F(3,"svg",14),H(4,"path",15),G(),Ad.currentNamespace=null,H(5,"div",16),G()());a&2&&(a=O(),Kf("mdc-checkbox--disabled",a.disabled),z(),D("checked",a.selected)("disabled",a.disabled))},lNa=function(a){a&1&&(F(0,"div",17),H(1,"input",18),F(2,"div",19),H(3,"div",20)(4,"div",21),G()());a&2&&(a=O(),Kf("mdc-radio--disabled",a.disabled),z(),D("checked",a.selected)("disabled",
a.disabled))},mNa=function(){},nNa=function(a){a&1&&(F(0,"span",4),C(1,mNa,0,0,"ng-template",6),G());a&2&&(O(),a=Q(3),z(),D("ngTemplateOutlet",a))},oNa=function(){},pNa=function(a){a&1&&(F(0,"span",5),C(1,oNa,0,0,"ng-template",6),G());a&2&&(O(),a=Q(5),z(),D("ngTemplateOutlet",a))},qNa=function(){},rNa=function(a){a&1&&C(0,qNa,0,0,"ng-template",6);a&2&&(O(),a=Q(1),D("ngTemplateOutlet",a))},sNa=function(){},tNa=function(a){a&1&&(F(0,"span",9),C(1,sNa,0,0,"ng-template",6),G());a&2&&(O(),a=Q(3),z(),D("ngTemplateOutlet",
a))},uNa=function(){},vNa=function(a){a&1&&(F(0,"span",9),C(1,uNa,0,0,"ng-template",6),G());a&2&&(O(),a=Q(5),z(),D("ngTemplateOutlet",a))},wNa=function(){},xNa=function(a){a&1&&C(0,wNa,0,0,"ng-template",6);a&2&&(O(),a=Q(1),D("ngTemplateOutlet",a))},yNa=function(a){a&1&&(F(0,"p",12),R(1),G());a&2&&(a=O().$implicit,z(),lg(a.description))},zNa=function(a,b){a&1&&(F(0,"mat-list-option",8)(1,"div",9)(2,"label",10),R(3),G()(),C(4,yNa,2,1,"p",11),G());a&2&&(a=b.$implicit,b=O(2),Jf("height","auto"),D("selected",
b.selectedIds.has(a.searchId))("value",a.searchId),z(3),lg(a.name),z(),D("ngIf",a.description))},ANa=function(a,b){if(a&1){var c=u();K(0);F(1,"mat-selection-list",6);M("selectionChange",function(d){v(c);var e=O();return x(e.onChangeMatList(d))});C(2,zNa,5,6,"mat-list-option",7);G();L()}a&2&&(a=b.$implicit,b=O(),z(2),D("ngForOf",a)("ngForTrackBy",b.trackBySearchId))},BNa=function(a,b){if(a&1){var c=u();F(0,"div",1,0);M("@panelAnimation.done",function(d){v(c);var e=O();return x(e._animationDone.next(d))});
Yf(2);G()}a&2&&(a=b.id,b=O(),Lf(b._classList),Kf("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"),D("id",b.id)("@panelAnimation",b.isOpen?"visible":"hidden"),Bf("aria-label",b.ariaLabel||null)("aria-labelledby",b._getPanelAriaLabelledby(a)))},CNa=function(){return{autoActiveFirstOption:!1,autoSelectActiveOption:!1,hideSingleSelectionIndicator:!1,requireSelection:!1}},
DNa=function(a,b){a&1&&H(0,"b-user-image",2);a&2&&D("email",b.$implicit)},ENa=function(a,b){if(a&1){var c=u();K(0);F(1,"button",3);M("click",function(){v(c);var d=O(2);return x(d.limit+=d.LIMIT_INCREMENT)});R(2);G();L()}a&2&&(a=b.$implicit,z(),Zf("title","",a," more participant(s). Click to show."),z(),S("",a," more"))},FNa=function(a){a&1&&(K(0),C(1,ENa,3,3,"ng-container",1),L());a&2&&(a=O(),z(),D("ngIf",a.emails.length-a.limit))},dp=function(a){return a==="CRITIQUE"?"CHANGELIST":a==="DRIVE"?"DRIVE":
a==="BUGANIZER"?"ISSUE":a==="WTDM"||a==="NON_WTDM"?"ISSUE":a==="GERRIT"?"GERRIT":"TASK_RESOURCE_TYPE_UNSPECIFIED"},GNa=function(a,b){b=b===void 0?[]:b;return"http://cl/search/cl:("+[].concat(r(a),r(b.map(function(c){return String(c.changelistNumber)}))).join("|")+")"},HNa=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(" ")},ep=function(a){return"hotlist-"+a},fp=function(a){return"savedsearch-"+a},hp=function(a){if(a!=null){if(INa.includes(a))return a;var b=a.match(/\bhotlists?\b/)?gp(a):void 0;if(b)return"hotlist";b=a.match(/\bsavedsearch(?:es|)\b/)?gp(a):void 0;if(b)return"savedsearch";b=/\bb\/\d+\b/;b=a.match(/\bissues?\b/)||a.match(b)?gp(a):void 0;b||(a=a.trim(),b=a.length<3?!1:!!a.match(/^\d+$/));if(b)return"issue"}},JNa=function(a){switch(hp(a)){case "hotlist":return"Hotlist";
case "savedsearch":return"Saved Search";case "issue":return"Issue"}},gp=function(a){if(a!=null)return a.split(/[^\d]+/).filter(Boolean).pop()},KNa=function(a){var b=gp(a);if(b!=null)switch(hp(a)){case "hotlist":return"/hotlists/"+b;case "savedsearch":return"/savedsearches/"+b;default:return"/issues/"+b}},LNa=function(a){var b=gp(a);if(b!=null&&hp(a)==="issue")return"/issues?q="+encodeURIComponent("id:"+b+" OR parentid:"+b+"+")},MNa=function(a){for(var b={},c={},d=l(a),e=d.next();!e.done;e=d.next())e=
e.value,c[e.issueId]=e;d=a.slice();d.sort(function(q,t){var w,B;return(((w=t.descendantCount)!=null?w:0)-((B=q.descendantCount)!=null?B:0))*-1});d=l(d);for(e=d.next();!e.done;e=d.next()){var f=e.value,h=void 0;e=(h=b[f.issueId])!=null?h:0;h=void 0;f=l((h=f.parentIssueIds)!=null?h:[]);for(h=f.next();!h.done;h=f.next())if(h=c[h.value],h!=null){var k=void 0;b[h.issueId]=(k=b[h.issueId])!=null?k:0;b[h.issueId]+=1+e}}return a.map(function(q){var t,w=(t=b[q.issueId])!=null?t:0;return[[w,q.openDescendantCount+
w*10],q]})},NNa=function(a,b){a=a.results;if(a.length<(b===void 0?50:b))return[];a=MNa(a);a.sort(function(f,h){f=l(f);f=l(f.next().value);f.next();f=f.next().value;h=l(h);h=l(h.next().value);h.next();return h.next().value-f});b=a.filter(function(f){f=l(f);return l(f.next().value).next().value>0}).map(function(f){f=l(f);f.next();return f.next().value}).filter(function(f){return f.descendantCount>=2}).filter(jDa);var c={};a=l(a);for(var d=a.next();!d.done;d=a.next()){var e=l(d.value);d=e.next().value;
e=e.next().value;c[e.issueId]=d}return b.map(function(f){var h,k;return{title:(h=f.snapshot)==null?void 0:(k=h[0])==null?void 0:k.title,ref:f.issueId,suggestionRationale:f.descendantCount+" descendants and "+c[f.issueId][0]+" recent personal touchpoints."}})},PNa=function(a){a&1&&(F(0,"a",5),R(1),G());a&2&&(a=O(2),D("href",a.makeCritiqueUrl(tg(2,ONa),a.pending),Qe),z(),S("(",a.pending.length," pending)"))},QNa=function(a,b){a&1&&(F(0,"div",1),H(1,"img",2),R(2," \u00a0 "),F(3,"a",3),R(4),G(),R(5," \u00a0 "),
C(6,PNa,2,3,"a",4),G());a&2&&(a=b.$implicit,b=O(),z(3),D("href",b.makeCritiqueUrl(b.submitted,b.pending),Qe),z(),S("",a," CLs"),z(2),D("ngIf",b.pending.length>0))},RNa=function(a){a&1&&(F(0,"a",2),R(1),G());a&2&&(a=O(2),D("routerLink",a.searchPageUrl),z(),S(" ",a.count," Issues "))},SNa=function(a){a&1&&C(0,RNa,2,2,"a",3);a&2&&(a=O(),D("ngIf",a.count!=null))},TNa=function(a){a&1&&R(0);a&2&&(a=O(),S(" ",a.count," Issues "))},UNa=function(a){a&1&&H(0,"mat-icon",2)},VNa=function(a){a&1&&(F(0,"span",
6),T(1,"date"),R(2),G());a&2&&(a=O(2),Zf("title","Start Date: ",xg(1,4,a.startDate,"longDate"),""),z(2),mg(" ",a.startDateShortStr," ",a.JOINING_ARROW," "))},WNa=function(a){a&1&&(F(0,"span",4),T(1,"date"),R(2),G());a&2&&(a=O(2),Zf("title","End Date: ",xg(1,3,a.endDate,"longDate"),""),z(2),S(" ",a.endDateShortStr," "))},XNa=function(a){a&1&&(F(0,"span",5),R(1,"?"),G())},YNa=function(a){a&1&&(F(0,"div",1),C(1,UNa,1,0,"mat-icon",2)(2,VNa,3,7,"span",3)(3,WNa,3,6,"span",4)(4,XNa,2,0,"span",5),G());a&
2&&(a=O(),z(),Of(a.showIcon?1:-1),z(),D("ngIf",a.startDate),z(),Of(a.endDate?3:4))},ZNa=function(a){if(a&1){var b=u();F(0,"div",1);M("click",function(){v(b);var c=O();return x(c.useXofYLabel=!c.useXofYLabel)});H(1,"div",2);F(2,"span");R(3);T(4,"number");G();F(5,"span");R(6);G()()}a&2&&(a=O(),ag("title","",a.closed," of ",a.total," issues closed in this work area"),z(),Bf("style",a.makePie(a.closed/a.total),Via),z(),Kf("display-none",a.useXofYLabel),z(),S("",xg(4,11,a.closed/a.total*100,"1.0-0"),"% complete"),
z(2),Kf("display-none",!a.useXofYLabel),z(),mg("",a.closed," of ",a.total," closed"))},$Na=function(a,b){a&1&&H(0,"avatar-bunch",7);a&2&&D("emails",b.$implicit)},aOa=function(a,b){a&1&&(F(0,"a",8),R(1," View in TaskFlow "),H(2,"mat-icon",9),G());a&2&&D("href",b.$implicit,Qe)},bOa=function(a,b){a&1&&H(0,"progress-pie",5);a&2&&(a=b.$implicit,D("closed",a.closed)("total",a.total))},dOa=function(a,b){a&1&&(H(0,"cl-counts",6),T(1,"async"));if(a&2){var c;a=b.$implicit;b=O();D("submitted",a.changelists)("pending",
(c=V(1,2,b.pendingCls$))!==null&&c!==void 0?c:tg(4,cOa))}},eOa=function(a){a&1&&H(0,"gerrit-changes-count",7);a&2&&(a=O(),D("changes",a))},fOa=function(a,b){a&1&&C(0,eOa,1,1,"gerrit-changes-count",7);a&2&&Of(b&&b.length>0?0:-1)},gOa=function(a){a&1&&(C(0,fOa,1,1),T(1,"async"));if(a&2){var b;a=O();Of((b=V(1,1,a.gerritChanges$))?0:-1,b)}},hOa=function(a,b){a&1&&H(0,"avatar-bunch",8);a&2&&D("emails",b.$implicit)},iOa=function(a){return a},jOa=function(a){a==="UNKNOWN_SOURCE"&&console.error("an UNKNOWN TaskSources snuck in");
return a},kOa=function(a,b,c){var d=c[b];return d==null?!1:[].concat(r(a)).map(function(e){return ip[e]}).every(function(e){return e==null?!0:e.check(d,b,c)})},lOa=function(a){return!!ip[a]},mOa=function(a){a&1&&(K(0),F(1,"div",2),R(2),G(),L());if(a&2){var b;a=O();z();Kf("muted",!a.isNumeric(a.countDisplay)||a.isDisabled());z();lg((b=a.countDisplay)!==null&&b!==void 0?b:"\u00a0")}},nOa=function(a){a&1&&Yf(0)},oOa=function(a){a&1&&Sf(0)},pOa=function(a){if(a&1){var b=u();F(0,"button",8,1);M("click",
function(e){v(b);var f=O();return x(f.onClick(e))});C(2,oOa,1,0,"ng-container",9);G()}if(a&2){var c;a=O();var d=Q(1);D("color",a.color)("disabled",a.disabled)("ngClass",a.size)("matTooltip",(c=a.tooltip)!==null&&c!==void 0?c:"");Bf("aria-label",a.bAriaLabel)("aria-expanded",a.bAriaExpanded);z(2);D("ngTemplateOutlet",d)}},qOa=function(a){a&1&&Sf(0)},rOa=function(a){if(a&1){var b=u();F(0,"button",10,1);M("click",function(e){v(b);var f=O();return x(f.onClick(e))});C(2,qOa,1,0,"ng-container",9);G()}if(a&
2){var c;a=O();var d=Q(1);D("color",a.color)("disabled",a.disabled)("ngClass",a.size)("matTooltip",(c=a.tooltip)!==null&&c!==void 0?c:"");Bf("aria-label",a.bAriaLabel)("aria-expanded",a.bAriaExpanded);z(2);D("ngTemplateOutlet",d)}},sOa=function(a){a&1&&Sf(0)},tOa=function(a){if(a&1){var b=u();F(0,"button",11,1);M("click",function(e){v(b);var f=O();return x(f.onClick(e))});C(2,sOa,1,0,"ng-container",9);G()}if(a&2){var c;a=O();var d=Q(1);D("color",a.color)("disabled",a.disabled)("ngClass",a.size)("matTooltip",
(c=a.tooltip)!==null&&c!==void 0?c:"");Bf("aria-label",a.bAriaLabel)("aria-expanded",a.bAriaExpanded);z(2);D("ngTemplateOutlet",d)}},uOa=function(a){a&1&&Sf(0)},vOa=function(a){if(a&1){var b=u();F(0,"button",12,1);M("click",function(e){v(b);var f=O();return x(f.onClick(e))});C(2,uOa,1,0,"ng-container",9);G()}if(a&2){var c;a=O();var d=Q(1);D("color",a.color)("disabled",a.disabled)("ngClass",a.size)("matTooltip",(c=a.tooltip)!==null&&c!==void 0?c:"");Bf("aria-label",a.bAriaLabel)("aria-expanded",a.bAriaExpanded);
z(2);D("ngTemplateOutlet",d)}},wOa=function(a){a&1&&Sf(0)},xOa=function(a){if(a&1){var b=u();F(0,"button",8,1);M("click",function(e){v(b);var f=O();return x(f.onClick(e))});C(2,wOa,1,0,"ng-container",9);G()}if(a&2){var c;a=O();var d=Q(1);D("color",a.color)("disabled",a.disabled)("ngClass",a.size)("matTooltip",(c=a.tooltip)!==null&&c!==void 0?c:"");Bf("aria-label",a.bAriaLabel)("aria-expanded",a.bAriaExpanded);z(2);D("ngTemplateOutlet",d)}},yOa=function(a){a&1&&(F(0,"span",12),R(1),G());a&2&&(a=O(2),
z(),S(" ",a.name," "))},zOa=function(a){a&1&&(K(0),R(1," Trackers are distinct communities with their own branding. "),L())},AOa=function(a){a&1&&(F(0,"a",10),R(1,"Learn More"),G());a&2&&(a=O(2),D("href",a.documentationLinks.baseDocumentationUrl+"/concepts/trackers",Qe))},BOa=function(a){a&1&&(K(0),F(1,"button",2),H(2,"img",3)(3,"img",4),C(4,yOa,2,1,"span",5),G(),F(5,"onedev-hovercard",null,0)(7,"div",6)(8,"div",7)(9,"span",8),R(10),C(11,zOa,2,0,"ng-container",1),G(),F(12,"div",9)(13,"a",10),R(14),
G(),C(15,AOa,2,1,"a",11),G()()()(),L());if(a&2){a=Q(6);var b=O();z();Kf("xs",b.compactMode);D("onedevHovercardTrigger",a)("onedevHovercardActive",b.showHovercard);z();D("src",b.logoLight,Qe);z();D("src",b.logoDark,Qe);z();D("ngIf",!b.compactMode);z(6);S(" This component or issue is part of ",b.extendedName,". ");z();D("ngIf",!b.isGlobalBuganizer);z(2);D("href",b.redirectUrl,Qe);z();S("View ",b.extendedName,"");z();D("ngIf",!b.isGlobalBuganizer)}},COa=function(a){a&1&&(H(0,"b-tracker-chip",1),T(1,
"async"));a&2&&(a=O(),D("tracker",V(1,4,a.tracker$)||void 0)("compactMode",a.compactMode)("showHovercard",a.showHovercard)("isGlobalBuganizer",a.isGlobalBuganizer))},DOa=function(a){a&1&&H(0,"div",2)},EOa=function(a){a&1&&(K(0),Yf(1),L())},GOa=function(a){if(a&1){var b=u();K(0);F(1,"span",7);M("onedevHovercardShown",function(){v(b);var d=O();return x(FOa(d))});R(2);G();F(3,"a",8);M("keydown",function(d){v(b);O();d.key==="Enter"&&d.stopPropagation();return x()})("click",function(d){v(b);return x(d.stopPropagation())});
H(4,"mat-icon",9);G();L()}if(a&2){a=O();var c=Q(7);z();D("onedevHovercardTrigger",c)("onedevHovercardActive",a.enableHovercard);z();lg(a.title||"--");z();D("routerLink","/"+a.link)("target",a.anchorTarget)("matTooltipShowDelay",250)}},HOa=function(a){if(a&1){var b=u();F(0,"a",10);M("keydown",function(d){v(b);O();d.key==="Enter"&&d.stopPropagation();return x()})("click",function(d){v(b);return x(d.stopPropagation())})("onedevHovercardShown",function(){v(b);var d=O();return x(FOa(d))});R(1);G()}if(a&
2){a=O();var c=Q(7);D("routerLink","/"+a.link)("target",a.anchorTarget)("onedevHovercardTrigger",c)("onedevHovercardActive",a.enableHovercard);z();lg(a.title||"--")}},IOa=function(a,b){a&1&&(F(0,"span",11),R(1),G());if(a&2){var c;a=b.$implicit;Lf(a.cssClass);Ef("aria-label","",a.title," - ",a.tooltip,"");D("matTooltip",(c=a.tooltip)!==null&&c!==void 0?c:"");z();lg(a.title)}},JOa=function(a){a&1&&H(0,"b-issue-card",12);a&2&&(a=O(),D("issueId",a.issue.issueId))},KOa=function(a){if(a&1){var b=u();F(0,
"button",4);M("click",function(c){v(b);O().expansionChange.emit();c.stopPropagation();return x()});H(1,"b-icon",5);G()}a&2&&(a=O(),Kf("collapsed",!a.expanded),Bf("aria-label",a.expanded?"Collapse children":"Expand children"))},LOa=function(a){a&1&&H(0,"div",6)},MOa=function(a){a&1&&(F(0,"b-person-hovercard",3),R(1),G());a&2&&(a=O(),D("email",a.assignee),z(),S(" ",a.assignee," "))},NOa=function(a){a&1&&R(0,"--")},OOa=function(a){if(a&1){var b=u();F(0,"div",0);M("keydown",function(c){v(b);var d=O();
return x(d.processKeydown(c))});Yf(1);G()}a&2&&(a=O(),Lf(a.className),Bf("id",a.id))},POa=function(a){a&1&&H(0,"mat-icon",11)},QOa=function(a){a&1&&(F(0,"span",28),R(1),G());a&2&&(a=O(3),z(),lg(a.HOTKEYS.COPY_ISSUE_ID.displayAs))},ROa=function(a){a&1&&(F(0,"span",28),R(1),G());a&2&&(a=O(4),z(),lg(a.HOTKEYS.COPY_ISSUE_SHORTLINK.displayAs))},SOa=function(a){if(a&1){var b=u();F(0,"div",17)(1,"label",18);R(2,"Issue shortlink");G();F(3,"input",29,5);M("onHotkey",function(){v(b);var d=Q(4),e=O(3);return x(jp(e,
d))})("focus",function(){v(b);var d=Q(4);return x(d.select())});G();C(5,ROa,2,1,"span",20);F(6,"button",30);M("onHotkey",function(){v(b);var d=Q(4),e=O(3);return x(jp(e,d))})("click",function(){v(b);var d=Q(4),e=O(3);return x(jp(e,d))});H(7,"mat-icon",22);G()()}if(a&2){a=Q(4);var c=O(3);z();D("htmlFor",a.id);z(2);D("hotkey",c.HOTKEYS.COPY_ISSUE_SHORTLINK)("hotkeyEnabled",c.enableHotkeys);Bf("value",c.getAppBaseUrl().replace(/^.*?:\/\//,""));z(2);D("ngIf",c.enableHotkeys);z();D("hotkey",c.HOTKEYS.COPY_ISSUE_SHORTLINK)("hotkeyEnabled",
c.enableHotkeys)}},TOa=function(a){a&1&&(F(0,"span",28),R(1),G());a&2&&(a=O(3),z(),lg(a.HOTKEYS.COPY_ISSUE_URL.displayAs))},UOa=function(a){a&1&&(F(0,"span",28),R(1),G());a&2&&(a=O(3),z(),lg(a.HOTKEYS.COPY_ISSUE_TITLE.displayAs))},VOa=function(a){a&1&&(F(0,"span",28),R(1),G());a&2&&(a=O(4),z(),lg(a.HOTKEYS.COPY_ISSUE_EMAIL_ADDRESS.displayAs))},WOa=function(a){if(a&1){var b=u();F(0,"div",17)(1,"label",18);R(2,"Issue email");G();F(3,"input",31,6);M("onHotkey",function(){v(b);var d=Q(4),e=O(3);return x(jp(e,
d))})("focus",function(){v(b);var d=Q(4);return x(d.select())});G();C(5,VOa,2,1,"span",20);F(6,"button",32);M("onHotkey",function(){v(b);var d=Q(4),e=O(3);return x(jp(e,d))})("click",function(){v(b);var d=Q(4),e=O(3);return x(jp(e,d))});H(7,"mat-icon",22);G()()}if(a&2){a=Q(4);var c=O(3);z();D("htmlFor",a.id);z(2);D("hotkey",c.HOTKEYS.COPY_ISSUE_EMAIL_ADDRESS)("hotkeyEnabled",c.enableHotkeys);Bf("value","buganizer-system"+(Rl(c.activeSession.session)?"":"-qa")+("+"+c.componentId+"+"+c.issueId)+"@google.com");
z(2);D("ngIf",c.enableHotkeys);z();D("hotkey",c.HOTKEYS.COPY_ISSUE_EMAIL_ADDRESS)("hotkeyEnabled",c.enableHotkeys)}},XOa=function(a){a&1&&(F(0,"span",28),R(1),G());a&2&&(a=O(4),z(),lg(a.HOTKEYS.COPY_ISSUE_TODO.displayAs))},YOa=function(a){if(a&1){var b=u();F(0,"div",17)(1,"label",18);R(2,"TODO comment");G();F(3,"input",33,7);M("onHotkey",function(){v(b);var d=Q(4),e=O(3);return x(jp(e,d))})("focus",function(){v(b);var d=Q(4);return x(d.select())});G();C(5,XOa,2,1,"span",20);F(6,"button",34);M("onHotkey",
function(){v(b);var d=Q(4),e=O(3);return x(jp(e,d))})("click",function(){v(b);var d=Q(4),e=O(3);return x(jp(e,d))});H(7,"mat-icon",22);G()()}if(a&2){a=Q(4);var c=O(3);z();D("htmlFor",a.id);z(2);D("hotkey",c.HOTKEYS.COPY_ISSUE_TODO)("hotkeyEnabled",c.enableHotkeys);Bf("value","TODO: "+c.getAppBaseUrl().replace(/^.*?:\/\//,"")+" - ");z(2);D("ngIf",c.enableHotkeys);z();D("hotkey",c.HOTKEYS.COPY_ISSUE_TODO)("hotkeyEnabled",c.enableHotkeys)}},ZOa=function(a){if(a&1){var b=u();F(0,"div",16)(1,"div",17)(2,
"label",18);R(3,"Issue ID");G();F(4,"input",19,2);M("onHotkey",function(){v(b);var f=Q(5),h=O(2);return x(jp(h,f))})("focus",function(){v(b);var f=Q(5);return x(f.select())});G();C(6,QOa,2,1,"span",20);F(7,"button",21);M("onHotkey",function(){v(b);var f=Q(5),h=O(2);return x(jp(h,f))})("click",function(){v(b);var f=Q(5),h=O(2);return x(jp(h,f))});H(8,"mat-icon",22);G()();C(9,SOa,8,7,"div",23);F(10,"div",17)(11,"label",18);R(12,"Issue URL");G();F(13,"input",24,3);M("onHotkey",function(){v(b);var f=
Q(14),h=O(2);return x(jp(h,f))})("focus",function(){v(b);var f=Q(14);return x(f.select())});G();C(15,TOa,2,1,"span",20);F(16,"button",25);M("onHotkey",function(){v(b);var f=Q(14),h=O(2);return x(jp(h,f))})("click",function(){v(b);var f=Q(14),h=O(2);return x(jp(h,f))});H(17,"mat-icon",22);G()();F(18,"div",17)(19,"label",18);R(20,"URL and title");G();F(21,"input",26,4);M("onHotkey",function(){v(b);var f=Q(22),h=O(2);return x(jp(h,f))})("focus",function(){v(b);var f=Q(22);return x(f.select())});G();
C(23,UOa,2,1,"span",20);F(24,"button",27);M("onHotkey",function(){v(b);var f=Q(22),h=O(2);return x(jp(h,f))})("click",function(){v(b);var f=Q(22),h=O(2);return x(jp(h,f))});H(25,"mat-icon",22);G()();C(26,WOa,8,7,"div",23)(27,YOa,8,7,"div",23);G()}if(a&2){a=Q(5);var c=Q(14),d=Q(22),e=O(2);D("cdkTrapFocusAutoCapture",!0);z(2);D("htmlFor",a.id);z(2);D("hotkey",e.HOTKEYS.COPY_ISSUE_ID)("hotkeyEnabled",e.enableHotkeys);Bf("value",e.issueId);z(2);D("ngIf",e.enableHotkeys);z();D("hotkey",e.HOTKEYS.COPY_ISSUE_ID)("hotkeyEnabled",
e.enableHotkeys);z(2);D("ngIf",e.activeSession.isInternalSession()&&!kp(e.activeSession));z(2);D("htmlFor",c.id);z(2);D("hotkey",e.HOTKEYS.COPY_ISSUE_URL)("hotkeyEnabled",e.enableHotkeys);Bf("value",e.getIssueUrl());z(2);D("ngIf",e.enableHotkeys);z();D("hotkey",e.HOTKEYS.COPY_ISSUE_URL)("hotkeyEnabled",e.enableHotkeys);z(3);D("htmlFor",d.id);z(2);D("hotkey",e.HOTKEYS.COPY_ISSUE_TITLE)("hotkeyEnabled",e.enableHotkeys);Bf("value",e.getAppBaseUrl(e.isExternalIssue)+" "+e.issueTitle);z(2);D("ngIf",e.enableHotkeys);
z();D("hotkey",e.HOTKEYS.COPY_ISSUE_TITLE)("hotkeyEnabled",e.enableHotkeys);z(2);D("ngIf",e.activeSession.isInternalSession()&&!kp(e.activeSession));z();D("ngIf",e.activeSession.isInternalSession()&&!kp(e.activeSession))}},$Oa=function(a){if(a&1){var b=u();K(0);F(1,"button",12,0);M("onHotkey",function(){v(b);var d=O();d.disabled||d.trigger.open();return x()})("onedevPopupPanelTriggerOpened",function(){v(b);var d=O();return x(d.isOpen=!0)})("onedevPopupPanelTriggerClosed",function(){v(b);var d=O();
return x(d.isOpen=!1)})("click",function(){v(b);var d=O();d.disabled||d.trigger.open();return x()});H(3,"mat-icon",13);G();F(4,"onedev-popup-panel",14,1);C(6,ZOa,28,25,"div",15);G();L()}if(a&2){a=Q(5);var c=O();z();D("onedevPopupPanelTriggerFor",a)("hotkey",c.HOTKEYS.HIGHLIGHT_ISSUE_ID)("hotkeyEnabled",c.enableHotkeys);Bf("aria-label","Show links for the issue "+c.issueId);z(5);D("ngIf",c.isOpen)}},aPa=function(a){a&1&&H(0,"b-issue-id-picker",2);a&2&&(a=O(),D("issueId",a.id)("showCopyOptions",!1))},
bPa=function(a,b){a&1&&(F(0,"a",4),R(1," Fix Pending "),G());a&2&&(a=O(),Nf("chippy status-",a.IssueStatus.FIXED,""),Zf("href","http://cl/",b.changelistNumber,"",Qe),ag("matTooltip","Open cl/",b.changelistNumber," from ",b.author,""))},cPa=function(a,b){a&1&&(F(0,"div",6),R(1),G());a&2&&(a=b.$implicit,b=O(2),Nf("chippy status-",a,""),D("title",b.STATUS_JS_FULL_TEXT[a]),z(),S(" ",b.STATUS_JS_TERSE[a]," "))},dPa=function(a){a&1&&C(0,cPa,2,5,"div",5);if(a&2){a=O();var b=Q(4);D("ngIf",a.status)("ngIfElse",
b)}},ePa=function(a){a&1&&R(0,"--")},fPa=function(a,b){b=b===void 0?"":b;return a.filter(function(c){return c.fixedIssueIds.includes(b)})[0]},gPa=function(a){if(a&1){var b=u();F(0,"a",15);M("click",function(){v(b);var c=O();return x(c.trackClick("viewTeamAssociationOnComponent"))});F(1,"button",11);R(2,"View team association on component");G()()}a&2&&(a=O(),D("href",a.ROUTES.editComponent.makeHref(a.componentId),Qe))},hPa=function(a){if(a&1){var b=u();F(0,"a",6);M("click",function(){v(b);var d=O(2);
return x(d.trackClick("viewTeamInMoma"))});F(1,"span");R(2);H(3,"mat-icon",7);G()()}if(a&2){a=O(2);var c=Q(3);Zf("href","https://moma.corp.google.com/team/",a.teamId,"",Qe);D("onedevHovercardTrigger",c);Bf("aria-labelledby",a.linkAriaLabelledBy())("aria-label",(a.teamName?a.teamName:a.teamId)+" - link opens in a new tab");z();Bf("id",a.teamLinkId);z();S("",a.teamName?a.teamName:a.teamId," ")}},iPa=function(a){a&1&&(F(0,"span",8),R(1),G());if(a&2){a=O(2);var b=Q(3);D("onedevHovercardTrigger",b);z();
lg(a.teamName?a.teamName:a.teamId)}},jPa=function(a){a&1&&(K(0),C(1,hPa,4,7,"a",4)(2,iPa,2,2,"span",5),L());a&2&&(a=O(),z(),D("ngIf",a.anchorLinkEnabled),z(),D("ngIf",!a.anchorLinkEnabled))},kPa=function(a){a&1&&H(0,"span",11)},lPa=function(a){a&1&&(F(0,"span"),R(1),G());a&2&&(a=O(2),z(),lg(a.teamNotAssignedMessage))},mPa=function(a){a&1&&C(0,kPa,1,0,"span",9)(1,lPa,2,1,"span",10);a&2&&(a=O(),D("ngIf",a.teamId!="0"),z(),D("ngIf",a.teamId=="0"))},nPa=function(a){a&1&&H(0,"b-team-display",3);a&2&&(a=
O(),D("teamId",a.teamId)("componentId",a.componentId)("anchorLinkEnabled",!1))},oPa=function(a){a&1&&R(0,"--")},pPa=function(a){a&1&&(K(0),R(1),T(2,"enumToHuman"),L());a&2&&(a=O(),z(),lg(V(2,1,a.type)))},qPa=function(a){a&1&&R(0,"--")},rPa=function(a,b){return{displayAs:"Team: "+a.name,queryAtom:"teamId:"+a.teamId+(b===void 0||b?"+":""),tooltip:"Issues within this team's components"}},sPa=function(a,b){return{displayAs:"Component: "+a.name,queryAtom:"componentId:"+a.componentId+(b===void 0||b?"+":
""),tooltip:"Issues within this component"}},lp=function(a,b,c){c=c===void 0?!1:c;if(!b)return"";Array.isArray(b)||(b=[b]);b=b.filter(lj);return b.length===0?"":a+":("+b.join("|")+")"+(c?"+":"")},mp=function(){return kd.apply(0,arguments).filter(Boolean).join(" AND ")},tPa=function(a){var b,c=new np,d=c.setIt,e=(new op).setIssueId(a.issueId).setScope(a.scope);e=cj(e,4,a.scopeSortOrder).setMaxResults((b=a.maxResults)!=null?b:7);a=cj(e,3,a.keyword);return d.call(c,a)},uPa=function(a,b){a=DAa([].concat(r(a.scores),
r(b.scores)),[].concat(r(a.similarIssues),r(b.similarIssues))).sort(function(c,d){return d[0]-c[0]});a=Rm(a,function(c){c=l(c);c.next();return c.next().value.issueId});return{scores:a.map(function(c){return c[0]}),similarIssues:a.map(function(c){return c[1]})}},vPa=function(a){a&1&&H(0,"b-formatted-date-time",3);a&2&&(a=O(),D("mode",a.mode)("timestamp",a.createdTime)("paddingLeftPx",0))},wPa=function(a){a&1&&R(0,"--")},xPa=function(a){a&1&&(K(0),H(1,"b-issue-priority-display",3),L());a&2&&(a=O(),
z(),D("issuePriority",a.priority))},yPa=function(a){a&1&&R(0,"--")},pp=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]]}))})},qp=function(a){a=a===void 0?0:a;return new Promise(function(b){setTimeout(b,a)})},zPa=function(a){var b={attributeFilter:["aria-label","aria-valuenow"]};return new W.Observable(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)})},APa=function(a){a&1&&(Gd(),F(0,"svg",11),H(1,"circle",12),G());a&2&&(a=O(),Bf("viewBox",a._viewBox()),z(),Jf("stroke-dasharray",a._strokeCircumference(),"px")("stroke-dashoffset",a._strokeCircumference()/2,"px")("stroke-width",a._circleStrokeWidth(),"%"),Bf("r",a._circleRadius()))},BPa=function(){return{diameter:100}},CPa=function(a){a&1&&H(0,"mat-spinner",2);a&2&&(a=O(),D("diameter",36),
Bf("aria-label",a.ariaLabel))},DPa=function(a){a&1&&H(0,"mat-spinner",3);a&2&&(a=O(),D("diameter",16)("strokeWidth",2),Bf("aria-label",a.ariaLabel))},EPa=function(a){a&1&&(F(0,"mat-icon",9),R(1),G());a&2&&(a=O(2),z(),lg(a.actionBtnIcon))},FPa=function(a){if(a&1){var b=u();F(0,"button",6);M("click",function(){v(b);var c=O();return x(c.action.emit())});F(1,"span",7);R(2);C(3,EPa,2,1,"mat-icon",8);G()()}a&2&&(a=O(),z(2),S(" ",a.actionBtnText," "),z(),D("ngIf",a.actionBtnIcon))},GPa=function(a){if(a&
1){var b=u();F(0,"onedev-feature-tooltip-body",1);M("action",function(){v(b);var c=O();return x(c.action.emit())})("dismiss",function(){v(b);var c=O();c.hideFeatureTooltip();c.dismiss.emit();return x()});Yf(1);G()}a&2&&(a=O(),D("actionBtnText",a.actionBtnText)("actionBtnIcon",a.actionBtnIcon)("color",a.color)("pointerPosition",a.pointerPosition)("widthOffset",a.widthOffset))},HPa=function(a){a&1&&(F(0,"span",3),Yf(1,1),G())},IPa=function(a){a&1&&(F(0,"span",6),Yf(1,2),G())},JPa=function(a){a&1&&(F(0,
"span",3),Yf(1,1),F(2,"span",8),Gd(),F(3,"svg",9),H(4,"path",10),G()()())},KPa=function(a){a&1&&(F(0,"span",6),Yf(1,2),G())},LPa=function(){return{color:"accent"}},MPa=function(a){a&1&&Yf(0,2)},NPa=function(a){a&1&&(F(0,"thead",0),Sf(1,1),G(),F(2,"tbody",0),Sf(3,2)(4,3),G(),F(5,"tfoot",0),Sf(6,4),G())},OPa=function(a){a&1&&Sf(0,1)(1,2)(2,3)(3,4)},PPa=function(a,b){return a.concat(Array.from(b))},QPa=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},RPa=function(a){a&1&&Yf(0,2)},SPa=function(a){a&1&&(F(0,"thead",0),Sf(1,1),G(),F(2,"tbody",2),Sf(3,3)(4,4),G(),F(5,"tfoot",0),Sf(6,5),G())},TPa=function(a){a&1&&Sf(0,1)(1,3)(2,4)(3,5)},UPa=function(a,b){a&1&&(F(0,"div",16)(1,"div",17),R(2,"CURRENT ISSUE"),G(),F(3,"div",18),R(4),G()());a&2&&(a=b.ngIf,z(4),S(" ",a==null?null:a.snapshot[0].title," "))},WPa=function(a){a&1&&(F(0,"onedev-feature-tooltip-controller",19)(1,
"onedev-feature-tooltip",20)(2,"p",21),R(3,"Try the AI powered deduplication!"),G(),H(4,"br"),R(5,' Explore the suggestions for canonical issue. Try the new "smart search" to experience the power of semantic search. '),G()());a&2&&(a=O(),D("showTooltip$",a.showFeatureTooltip$),z(),D("customPositions",ug(3,VPa,a.TOOLTIP_POSITIONS.LEFT_TOP))("tooltipId",a.TOOLTIP_ISSUE_PICKER_SIMILAR_ISSUE))},XPa=function(a){a&1&&H(0,"mat-icon",22)},YPa=function(a){a&1&&H(0,"mat-icon",23)},ZPa=function(a,b){a&1&&C(0,
XPa,1,0,"mat-icon",22)(1,YPa,1,0,"mat-icon",23);a&2&&(a=O(),Of(b===a.SearchSource.SEMANTIC_SEARCH?0:1))},$Pa=function(a){if(a&1){var b=u();F(0,"mat-select",24);T(1,"async");M("selectionChange",function(c){v(b);O().selectedSearchSource$.next(c.value);return x()});F(2,"mat-option",25);R(3);G();F(4,"mat-option",26);R(5);G()()}a&2&&(a=O(),D("value",V(1,5,a.selectedSearchSource$)),z(2),D("value",a.SearchSource.SEMANTIC_SEARCH),z(),S(" ",a.SearchSource.SEMANTIC_SEARCH," "),z(),D("value",a.SearchSource.EXACT_MATCH),
z(),S(" ",a.SearchSource.EXACT_MATCH," "))},aQa=function(a){if(a&1){var b=u();F(0,"mat-chip-listbox",38)(1,"mat-chip-option",39,2);M("keydown.enter",function(){v(b);var d=Q(2);return x(d.openMenu())})("keyup.space",function(){v(b);var d=Q(2);return x(d.openMenu())});F(3,"span");R(4);G();H(5,"mat-icon",40);G()()}if(a&2){O();a=Q(7);var c=O(3);D("selectable",!1);z();D("matMenuTriggerFor",a);z(3);lg(c.selectedScopeFilter.displayAs)}},cQa=function(a){if(a&1){var b=u();F(0,"button",41);M("click",function(){v(b);
var c=O(4);return x(bQa(c,c.componentFilter))});H(1,"mat-icon",42);R(2);G()}a&2&&(a=O(4),D("matTooltip",a.componentFilter.tooltip||""),z(),Kf("invisible",a.componentFilter!==a.selectedScopeFilter),z(),S(" ",a.componentFilter.displayAs," "))},dQa=function(a){if(a&1){var b=u();F(0,"button",41);M("click",function(){v(b);var c=O(4);return x(bQa(c,c.teamFilter))});H(1,"mat-icon",42);R(2);G()}a&2&&(a=O(4),D("matTooltip",a.teamFilter.tooltip||""),z(),Kf("invisible",a.teamFilter!==a.selectedScopeFilter),
z(),S(" ",a.teamFilter.displayAs," "))},eQa=function(a){if(a&1){var b=u();F(0,"button",43);M("click",function(){v(b);var c=O(4);return x(c.openLearnMore())});H(1,"mat-icon",44);G()}},fQa=function(a){if(a&1){var b=u();F(0,"div",27)(1,"mat-chip-listbox",28);M("change",function(c){v(b);var d=O(3);c.value?d.selectedFilters$.add(rp):d.selectedFilters$.delete(rp);return x()});F(2,"mat-chip-option",29)(3,"span",30);R(4);G()()();C(5,aQa,6,3,"mat-chip-listbox",31);F(6,"mat-menu",32,1);C(8,cQa,3,4,"button",
33)(9,dQa,3,4,"button",33);G();F(10,"mat-chip-listbox",34);M("change",function(){v(b);var c=O(3);c.includeDescendants=!c.includeDescendants;var d=fo(c.component$),e=fo(c.team$);if(d&&e){d=sPa(d,c.includeDescendants);e=rPa(e,c.includeDescendants);var f=new Set(fo(c.selectedFilters$.value$));f&&c.componentFilter&&c.teamFilter&&(f.has(c.componentFilter)?(f.delete(c.componentFilter),f.add(d),c.selectedScopeFilter=d):(f.delete(c.teamFilter),f.add(e),c.selectedScopeFilter=e),c.componentFilter=d,c.teamFilter=
e,c.selectedFilters$.reset(f))}return x()});F(11,"mat-chip-option",35)(12,"span",36);R(13);G()()();C(14,eQa,2,0,"button",37);G()}a&2&&(a=O(3),z(2),D("selected",a.selectedFilters$.has(a.openFilter))("value",a.openFilter),z(),D("matTooltip",a.openFilter.tooltip||""),z(),S(" ",a.openFilter.displayAs," "),z(),D("ngIf",a.selectedScopeFilter),z(3),D("ngIf",a.componentFilter),z(),D("ngIf",a.teamFilter),z(4),S(" Include sub-",a.selectedScopeFilter===a.componentFilter?"components":"teams"," "),z(),D("ngIf",
a.isInternalSession))},gQa=function(a,b){a&1&&(K(0),C(1,fQa,15,9,"div",27),L());a&2&&(a=b.$implicit,b=O(2),z(),Of(a===b.SearchSource.SEMANTIC_SEARCH&&b.tableDataSource!==b.TableDataSource.ISSUE_IDS?1:-1))},hQa=function(a){a&1&&(K(0),C(1,gQa,2,1,"ng-container",11),T(2,"async"),L());a&2&&(a=O(),z(),D("ngIf",V(2,1,a.selectedSearchSource$)))},iQa=function(a){a&1&&H(0,"ai-spinner",46);a&2&&D("large",!0)},jQa=function(a){a&1&&H(0,"ai-spinner",47)},kQa=function(a){a&1&&H(0,"b-spinner",48)},lQa=function(a){a&
1&&(F(0,"div",45),C(1,iQa,1,1,"ai-spinner",46),T(2,"async"),C(3,jQa,1,0,"ai-spinner",47)(4,kQa,1,0,"b-spinner",48),G());a&2&&(a=O(),z(),Of(!a.searchText$.value&&a.isSimilarIssuesUiEnabled?1:a.searchText$.value&&V(2,1,a.selectedSearchSource$)===a.SearchSource.SEMANTIC_SEARCH?3:4))},mQa=function(a){a&1&&(F(0,"b-callout",54)(1,"b-callout-body"),R(2," This issue was suggested by AI! Save time by exploring the suggestions first next time. "),F(3,"a",55),R(4,"Learn more"),G()()())},nQa=function(a){a&1&&
(F(0,"h3",51),H(1,"mat-icon",56),R(2," Possible duplicates "),G())},oQa=function(a){a&1&&(F(0,"th",75)(1,"span",76),R(2,"Selection"),G()())},pQa=function(a,b){a&1&&(F(0,"td",77),H(1,"mat-radio-button",78),T(2,"async"),G());a&2&&(a=b.$implicit,b=O(3),z(),D("checked",V(2,3,sp(b.selectedIssues,a.issueId)))("aria-label",a.snapshot[0].title)("value",a.issueId))},qQa=function(a){a&1&&(F(0,"th",75),R(1," Title "),G())},rQa=function(a,b){a&1&&(F(0,"td",77),H(1,"b-issue-title-cell",79),G());a&2&&(a=b.$implicit,
b=O(3),z(),D("issue",a)("issueUrlFactory",b.issueUrlFactory)("useButtonToNavigate",!0)("enableHovercard",!0))},sQa=function(a){a&1&&(F(0,"th",75),R(1," Id "),G())},tQa=function(a,b){a&1&&(F(0,"td",77),H(1,"b-issue-id-cell",80),G());a&2&&(a=b.$implicit,z(),D("id",a.issueId))},uQa=function(a){a&1&&(F(0,"th",75),R(1," Priority "),G())},vQa=function(a,b){a&1&&(F(0,"td",77),H(1,"b-issue-priority-cell",81),G());a&2&&(a=b.$implicit,z(),D("issue",a))},wQa=function(a){a&1&&(F(0,"th",82),R(1," Status "),G())},
xQa=function(a,b){a&1&&(F(0,"td",77),H(1,"b-issue-status-cell",81),G());a&2&&(a=b.$implicit,z(),D("issue",a))},yQa=function(a){a&1&&(F(0,"th",75),R(1," Dupes "),G())},zQa=function(a,b){a&1&&(F(0,"td",83),R(1),G());if(a&2){var c;a=b.$implicit;z();S(" ",(c=a.snapshot[0].duplicateIssueId==null?null:a.snapshot[0].duplicateIssueId.length)!==null&&c!==void 0?c:0," ")}},AQa=function(a){a&1&&(F(0,"th",84)(1,"span",76),R(2,"Votes"),G(),H(3,"mat-icon",85),G())},BQa=function(a,b){a&1&&(F(0,"td",83),R(1),G());
a&2&&(a=b.$implicit,z(),S(" ",a.aggregatedData.voteCount," "))},CQa=function(a){a&1&&(F(0,"th",86),R(1," Created "),G())},DQa=function(a,b){a&1&&(F(0,"td",77),H(1,"b-issue-created-time-cell",87),G());a&2&&(a=b.$implicit,z(),D("issue",a))},EQa=function(a){a&1&&H(0,"tr",88)},FQa=function(a,b){if(a&1){var c=u();F(0,"tr",89);M("keydown",function(d){var e=v(c),f=e.$implicit;e=e.index;var h=O(3);return x(h.onRowKeydown(e,f,d))})("keydown.enter",function(){var d=v(c).$implicit,e=O(3);return x(e.selectIssue(d.issueId))})("focusin",
function(){var d=v(c).$implicit,e=O(3);return x(tp(e.focusManager,d))})("click",function(){var d=v(c),e=d.$implicit;d=d.index;var f=O(3);f.selectIssue(e.issueId);return x(f.focusManager.setActiveItem(d))});G()}a&2&&D("row",b.$implicit)},HQa=function(a){if(a&1){var b=u();F(0,"table",57);M("contentChanged",function(){v(b);var d=O().ngIf,e=O();return x(GQa(e,d))});K(1,58);C(2,oQa,3,0,"th",59);F(3,"mat-radio-group",60);M("change",function(d){v(b);var e=O(2);return x(e.selectIssue(d.value))});C(4,pQa,
3,5,"td",61);G();L();K(5,62);C(6,qQa,2,0,"th",59)(7,rQa,2,4,"td",61);L();K(8,63);C(9,sQa,2,0,"th",59)(10,tQa,2,1,"td",61);L();K(11,64);C(12,uQa,2,0,"th",59)(13,vQa,2,1,"td",61);L();K(14,65);C(15,wQa,2,0,"th",66)(16,xQa,2,1,"td",61);L();K(17,67);C(18,yQa,2,0,"th",59)(19,zQa,2,1,"td",68);L();K(20,69);C(21,AQa,4,0,"th",70)(22,BQa,2,1,"td",68);L();K(23,71);C(24,CQa,2,0,"th",72)(25,DQa,2,1,"td",61);L();C(26,EQa,1,0,"tr",73)(27,FQa,1,1,"tr",74);G()}if(a&2){a=O().ngIf;var c=O();D("dataSource",a)("trackBy",
c.trackByIssueId);z(26);D("matHeaderRowDef",c.tableColumns);z();D("matRowDefColumns",c.tableColumns)}},IQa=function(a){a&1&&(F(0,"div",90)(1,"span",91),R(2,"No results found"),G()())},JQa=function(a,b){a&1&&(K(0),F(1,"div",49),C(2,mQa,5,0,"b-callout",50)(3,nQa,3,0,"h3",51)(4,HQa,28,4,"table",52)(5,IQa,3,0,"div",53),G(),L());a&2&&(a=b.ngIf,b=O(),z(2),D("ngIf",b.isSimilarIssuesUiEnabled&&b.isPasteResultInSuggestion),z(),Of(b.searchText$.value||b.isLoading||!b.isSimilarIssuesUiEnabled?-1:3),z(),D("ngIf",
!b.isLoading&&a&&a.length),z(),D("ngIf",!b.isLoading&&(a==null?null:a.length)===0))},KQa=function(a){a&1&&(F(0,"b-person-hovercard",3),R(1),G());a&2&&(a=O(),D("email",a.reporter),z(),S(" ",a.reporter," "))},LQa=function(a){a&1&&R(0,"--")},MQa=function(a){a&1&&(F(0,"div")(1,"div",11),R(2," An issue cannot reference itself. "),G()())},NQa=function(a){a&1&&(F(0,"mat-option",12)(1,"div",13),H(2,"b-spinner",14),G()());a&2&&(z(2),D("large",!0))},OQa=function(a){a&1&&(F(0,"mat-option",15),R(1," No issues found. "),
G())},PQa=function(a){a&1&&H(0,"mat-icon",25);if(a&2){a=O().$implicit;var b=O();D("svgIcon",b.STATUS_ICON[a.status])}},QQa=function(a){a&1&&H(0,"b-issue-card",26,2);if(a&2){a=Q(1);var b=O().$implicit;D("onedevIsHovercardReady",a.init)("issueId",b.resourceId)}},SQa=function(a,b){if(a&1){var c=u();F(0,"mat-option",16)(1,"div",17);C(2,PQa,1,1,"mat-icon",18);F(3,"strong",19);R(4);G();F(5,"onedev-hovercard",null,1);C(7,QQa,2,2,"b-issue-card",20);G();F(8,"a",21);M("click",function(e){v(c);return x(e.stopPropagation())});
H(9,"mat-icon",22);G();F(10,"span",23);R(11);G();H(12,"div",24);T(13,"boldPrefixMatches");G()()}if(a&2){a=b.$implicit;b=Q(6);var d=O();D("value",a);z();Bf("aria-label",a.resourceId+", "+a.displayText+", click ALT RightArrow to open the issue in a new tab.");z();D("ngIf",a.status);z();$f("title",a.resourceId);z();S(" ",a.resourceId," ");z(4);D("onedevHovercardTrigger",b)("href",d.getIssueLink(a),Qe);z(3);lg(RQa(a));z();$f("title",a.displayText);D("innerHTML",xg(13,10,a.displayText,d.query),Pe)}},TQa=
function(a,b){a&1&&(F(0,"a",13),R(1),G());a&2&&(a=b.$implicit,b=b.last,Zf("href","issues/",a.resourceId,"",Qe),z(),mg(" ",a.resourceId,"",b?"":","," "))},UQa=function(a){a&1&&(F(0,"div",11),C(1,TQa,2,4,"a",12),G());a&2&&(a=O(),z(),D("ngForOf",a.selectedIssues))},VQa=function(a){a&1&&(F(0,"div",11)(1,"a",14)(2,"span",15),R(3),G(),F(4,"span"),H(5,"mat-icon",16),G()()());a&2&&(a=O(),z(),Zf("href","issues/",a.selectedIssues[0].resourceId,"",Qe),z(2),S(" ",a.selectedIssues[0].displayText," "))},XQa=function(a){if(a&
1){var b=u();F(0,"div",17)(1,"div",18);M("click",function(){v(b);var c=O();return x(WQa(c))})("keyup.space",function(){v(b);var c=O();return x(WQa(c))});G()()}a&2&&(a=O(),z(),D("matTooltip",a.isQueryRestricted?"Searching in current component tree":"Click to search in current component tree"),Bf("aria-checked",a.isQueryRestricted))},up=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))},YQa=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:Dc(a)}},$Qa=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=ZQa(b),f=b.nextElementSibling&&ZQa(b.nextElementSibling),h=b.previousElementSibling&&ZQa(b.previousElementSibling);if(a==="top"){var k;if(((k=b.previousElementSibling)==
null?0:k.classList.contains("dragging"))&&h===e)return d="none",c();d="before";return c()}if(a==="bottom"){if(f!=null&&e<f){var q;if((q=b.nextElementSibling)==null?0:q.classList.contains("dragging"))return d="none",c();b=b.nextElementSibling;d="before";return c()}var t;if(((t=b.nextElementSibling)==null?0:t.classList.contains("dragging"))&&e===f)return d="none",c();d="after";return c()}d="current";return c()},ZQa=function(a){return Number(a.dataset.level)},aRa=function(a){var b;return vp((b=a.dataset.ancestorchain)!=
null?b:"")},bRa=function(a){a&1&&(F(0,"button",7,1),H(2,"mat-icon",8),G());if(a&2){a=O();var b=Q(2);D("matTooltip",a.buttonLabel)("matMenuTriggerFor",b);Bf("aria-label",a.buttonLabel);z(2);D("svgIcon",a.buttonIcon)}},cRa=function(a){a&1&&(F(0,"div",9),R(1),G());a&2&&(a=O(),z(),lg(a.header))},dRa=function(a){a&1&&H(0,"mat-icon",8);a&2&&(a=O(2).$implicit,D("svgIcon",a.icon))},eRa=function(a){a&1&&(F(0,"span",14),R(1),G());a&2&&(a=O(2).$implicit,z(),lg(a.hintText))},fRa=function(a){a&1&&H(0,"mat-icon",
8);a&2&&(a=O(2).$implicit,D("svgIcon",a.icon))},gRa=function(a){a&1&&(F(0,"span",14),R(1),G());a&2&&(a=O(2).$implicit,z(),lg(a.hintText))},hRa=function(a){if(a&1){var b=u();F(0,"button",17);M("click",function(d){v(b);var e=O().$implicit,f=O(3);return x(f.onAction(d,e))})("mouseup",function(d){v(b);var e=O().$implicit,f=O(3);return x(f.onAction(d,e))});C(1,fRa,1,1,"mat-icon",12);R(2);C(3,gRa,2,1,"span",13);G()}if(a&2){a=O().$implicit;var c=O(2).$implicit;D("disabled",a.disabled)("ngClass",c.className);
Bf("title",a.title);z();D("ngIf",a.icon);z();S(" ",a.label," ");z();D("ngIf",a.hintText)}},iRa=function(a){if(a&1){var b=u();F(0,"button",18);M("click",function(d){v(b);var e=O().$implicit,f=O(3);return x(f.onAction(d,e))})("mouseup",function(d){v(b);var e=O().$implicit,f=O(3);return x(f.onAction(d,e))});F(1,"span",19);H(2,"mat-icon",20);G();R(3);G()}if(a&2){a=O().$implicit;var c=O(2).$implicit;Kf("b-menu-item-checked",a.selected);D("disabled",a.disabled)("ngClass",c.className);Bf("title",a.title);
z(3);S(" ",a.label," ")}},jRa=function(a,b){a&1&&(K(0),C(1,hRa,4,6,"button",15)(2,iRa,4,6,"button",16),L());a&2&&(a=b.$implicit,z(),D("ngIf",a.type==="action"),z(),D("ngIf",a.type==="select"))},kRa=function(a){a&1&&(K(0),F(1,"button",11),C(2,dRa,1,1,"mat-icon",12),R(3),C(4,eRa,2,1,"span",13),G(),F(5,"mat-menu",null,2),C(7,jRa,3,2,"ng-container",6),G(),L());if(a&2){a=Q(6);var b=O().$implicit,c=O();z();D("matMenuTriggerFor",a);z();D("ngIf",b.icon);z();S(" ",b.label," ");z();D("ngIf",b.hintText);z(3);
D("ngForOf",b.items)("ngForTrackBy",c.trackByIndex)}},lRa=function(a){a&1&&H(0,"mat-icon",8);a&2&&(a=O(3).$implicit,D("svgIcon",a.icon))},mRa=function(a){a&1&&(F(0,"span",14),R(1),G());a&2&&(a=O(3).$implicit,z(),lg(a.hintText))},nRa=function(a){if(a&1){var b=u();F(0,"button",17);M("click",function(c){v(b);var d=O(2).$implicit,e=O();return x(e.onAction(c,d))})("mouseup",function(c){v(b);var d=O(2).$implicit,e=O();return x(e.onAction(c,d))});C(1,lRa,1,1,"mat-icon",12);R(2);C(3,mRa,2,1,"span",13);G()}a&
2&&(a=O(2).$implicit,D("disabled",a.disabled)("ngClass",a.className),Bf("title",a.title),z(),D("ngIf",a.icon),z(),S(" ",a.label," "),z(),D("ngIf",a.hintText))},oRa=function(a){if(a&1){var b=u();F(0,"button",18);M("click",function(c){v(b);var d=O(2).$implicit,e=O();return x(e.onAction(c,d))})("mouseup",function(c){v(b);var d=O(2).$implicit,e=O();return x(e.onAction(c,d))});F(1,"span",19);H(2,"mat-icon",20);G();R(3);G()}a&2&&(a=O(2).$implicit,Kf("b-menu-item-checked",a.selected),D("disabled",a.disabled)("ngClass",
a.className),Bf("title",a.title)("aria-label",a.label+" results per page"),z(3),S(" ",a.label," "))},pRa=function(a){a&1&&(K(0),C(1,nRa,4,6,"button",15)(2,oRa,4,7,"button",16),L());a&2&&(a=O().$implicit,z(),D("ngIf",a.type==="action"),z(),D("ngIf",a.type==="select"))},qRa=function(a,b){a&1&&(K(0),C(1,kRa,8,6,"ng-container",10)(2,pRa,3,2,"ng-container",10),L());a&2&&(a=b.$implicit,z(),D("ngIf",a.type==="submenu"),z(),D("ngIf",a.type!=="submenu"))},rRa=function(a){var b=a.userIsExternal;a=a.issueIsExternal;
return b&&a},sRa=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},tRa=function(a){a&1&&H(0,"th",30)},uRa=function(a){if(a&1){var b=u();F(0,"td",31,0);M("click",function(c){var d=v(b).$implicit,e=Q(1),f=O();e.focus();tp(f.focusManager,d);return x(c.stopPropagation())});G()}},vRa=function(a){a&1&&H(0,"th",30)},
wRa=function(a){if(a&1){var b=u();F(0,"td",32,1);M("click",function(c){var d=v(b).$implicit,e=Q(1),f=O();e.focus();tp(f.focusManager,d);return x(c.stopPropagation())})("dragstart",function(c){v(b);var d=O();return x(d.handleDragStart(c))});H(2,"mat-icon",33);G()}},xRa=function(a){a&1&&(F(0,"th",30),R(1," Id "),G())},yRa=function(a,b){a&1&&(F(0,"td",34),H(1,"b-issue-id-cell",35),G());a&2&&(a=b.$implicit,z(),D("id",a.id))},zRa=function(a){a&1&&(F(0,"th",30),R(1," Id "),G())},ARa=function(a){a&1&&(F(0,
"td",34),R(1,"--"),G())},BRa=function(a){a&1&&(F(0,"th",30),R(1," Title "),G())},CRa=function(a,b){if(a&1){var c=u();F(0,"td",34)(1,"b-expandable-issue-title-cell",36);T(2,"async");T(3,"async");M("expansionChange",function(){var d=v(c).$implicit,e=O();return x(e.toggleExpansion(d))});G()()}a&2&&(a=b.$implicit,z(),D("issue",V(2,4,a.issue$))("expandable",V(3,6,a.hasChildren$))("expanded",!!a.expandedCount)("level",a.level))},DRa=function(a){a&1&&(F(0,"th",30),R(1," Type "),G())},ERa=function(a,b){a&
1&&(F(0,"td",34),H(1,"b-issue-type-cell",37),T(2,"async"),G());a&2&&(a=b.$implicit,z(),D("issue",V(2,1,a.issue$)))},FRa=function(a){a&1&&Sf(0)},GRa=function(a){a&1&&(K(0),R(1,"Assignee"),L())},HRa=function(a){a&1&&(F(0,"th",30),K(1,38),C(2,FRa,1,0,"ng-container",39)(3,GRa,2,0,"ng-container",40),L(),G());a&2&&(a=O(),z(),D("ngSwitch",a.options.modes==null?null:a.options.modes.assignee),z(),D("ngSwitchCase","avatar-if-open"))},IRa=function(a,b){a&1&&H(0,"b-user-image",43);a&2&&D("email",b.$implicit)},
JRa=function(a){a&1&&(K(0),C(1,IRa,1,1,"b-user-image",42),L());if(a&2){a=O().$implicit;var b=O(3);z();D("ngIf",b.getAssigneeString(a))}},KRa=function(a,b){a&1&&(K(0),C(1,JRa,2,1,"ng-container",23),L());a&2&&(a=b.$implicit,b=O(3),z(),D("ngIf",b.isOpen(a)))},LRa=function(a){a&1&&(K(0),C(1,KRa,2,1,"ng-container",23),T(2,"async"),L());a&2&&(a=O().$implicit,z(),D("ngIf",V(2,1,a.issue$)))},MRa=function(a){a&1&&(H(0,"b-issue-assignee-cell",37),T(1,"async"));a&2&&(a=O().$implicit,D("issue",V(1,1,a.issue$)))},
NRa=function(a){a&1&&(F(0,"td",34),K(1,38),C(2,LRa,3,3,"ng-container",39)(3,MRa,2,3,"b-issue-assignee-cell",41),L(),G());a&2&&(a=O(),z(),D("ngSwitch",a.options.modes==null?null:a.options.modes.assignee),z(),D("ngSwitchCase","avatar-if-open"))},ORa=function(a){a&1&&(F(0,"th",30),R(1," Status "),G())},PRa=function(a,b){a&1&&(F(0,"td",34),H(1,"b-issue-status-cell",44),T(2,"async"),G());a&2&&(a=b.$implicit,z(),D("issue",V(2,2,a.issue$))("showPendingFix",!0))},QRa=function(a){a&1&&(F(0,"th",30),R(1," Team "),
G())},RRa=function(a,b){a&1&&(F(0,"td",34),H(1,"b-issue-team-cell",37),T(2,"async"),G());a&2&&(a=b.$implicit,z(),D("issue",V(2,1,a.issue$)))},SRa=function(a){a&1&&H(0,"th",30)},TRa=function(a,b){if(a&1){var c=u();F(0,"td",34)(1,"b-actions-menu",45);M("click",function(d){v(c);return x(d.stopPropagation())});G()()}a&2&&(a=b.$implicit,b=O(),z(),D("menuItems",b.getMenuItems(a)))},URa=function(a){a&1&&H(0,"th",30)},WRa=function(a){if(a&1){var b=u();F(0,"b-actions-menu",45);M("click",function(d){v(b);return x(d.stopPropagation())});
G()}if(a&2){a=O().$implicit;var c=O();D("menuItems",VRa(c,a))}},XRa=function(a){a&1&&H(0,"b-spinner")},YRa=function(a,b){a&1&&(F(0,"td",46),C(1,WRa,1,1,"b-actions-menu",47)(2,XRa,1,0,"ng-template",null,2,yg),G());a&2&&(a=b.$implicit,b=Q(3),z(),D("ngIf",!a.saving)("ngIfElse",b))},$Ra=function(a,b){if(a&1){var c=u();F(0,"td",34)(1,"b-async-data-placeholder",48);T(2,"async");F(3,"b-button",49);M("onAction",function(){var d=v(c).$implicit,e=O();return x(ZRa(e,d))});F(4,"span",50);R(5);G()()()()}a&2&&
(a=b.$implicit,b=O(),Jf("padding-left",a.level*24+b.TITLE_FIXED_OFFSET_PX,"px"),Bf("colspan",b.tableColumns.length),z(),D("isReady",!!V(2,5,a.parentIssue$)),z(4),S("Display ",a.truncatedSiblingCount," more"))},aSa=function(a){a&1&&(F(0,"th",30),R(1," Title "),G())},bSa=function(a,b){if(a&1){var c=u();F(0,"td",34)(1,"div",51)(2,"b-text-input-cell",52);pg("valueChange",function(d){var e=v(c).$implicit;og(e.title,d)||(e.title=d);return x(d)});M("commit",function(){var d=v(c).$implicit,e=O();return x(e.saveDraft(d))});
G();F(3,"b-button",53);M("onAction",function(){var d=v(c).$implicit,e=O();return x(e.saveDraft(d))});R(4," Create ");G();F(5,"b-button",54);M("onAction",function(){var d=v(c).$implicit,e=O();return x(wp(e,d))});R(6," Cancel ");G()()()}a&2&&(a=b.$implicit,Jf("padding-left",(a.level+1)*24,"px"),z(2),ng("value",a.title),D("readonly",a.saving),z(),D("disabled",!a.title||a.saving),z(2),D("disabled",a.saving))},cSa=function(a){a&1&&H(0,"tr",56)},dSa=function(a){a&1&&(K(0),C(1,cSa,1,0,"tr",55),L());a&2&&
(a=O(),z(),D("matHeaderRowDef",a.tableColumns))},fSa=function(a,b){if(a&1){var c=u();F(0,"tr",57);T(1,"async");T(2,"async");M("click",function(d){var e=v(c).$implicit,f=O();return x(f.navigateToIssue(d,e))})("mouseup",function(d){var e=v(c).$implicit,f=O();return x(f.navigateToIssue(d,e))})("focusin",function(){var d=v(c).$implicit,e=O();return x(tp(e.focusManager,d))})("keydown",function(d){var e=v(c).$implicit,f=O();return x(f.onRowKeydown(e,d))});G()}a&2&&(a=b.$implicit,b=O(),Kf("selected",V(1,
8,eSa(b.selectionModel,a.ancestorChain)))("closed",b.isClosed(V(2,10,a.issue$))),D("row",a),Bf("data-level",a.level)("data-type",a.type)("data-ancestorchain",a.ancestorChain.hash()))},gSa=function(a,b){if(a&1){var c=u();F(0,"tr",58);M("focusin",function(){var d=v(c).$implicit,e=O();return x(tp(e.focusManager,d))})("keydown",function(d){var e=v(c).$implicit,f=O();return x(f.onRowKeydown(e,d))});G()}a&2&&(a=b.$implicit,D("row",a),Bf("data-level",a.level)("data-type",a.type)("data-ancestorchain",a.ancestorChain.hash()))},
hSa=function(a,b){if(a&1){var c=u();F(0,"tr",59);M("keydown",function(d){var e=v(c).$implicit,f=O();return x(f.onRowKeydown(e,d))})("keydown.escape",function(){var d=v(c).$implicit,e=O();return x(wp(e,d))})("keydown.backspace",function(){var d=v(c).$implicit,e=O();return x(d.title||wp(e,d))})("focusin",function(){var d=v(c).$implicit,e=O();return x(tp(e.focusManager,d))});G()}a&2&&(a=b.$implicit,D("row",a),Bf("data-type",a.type))},iSa=function(a,b){if(a&&a.length)return a.map(b)},jSa=function(a){var b=
a.getFilename();var c=Ek(a,2,yj(Pi));return{filename:b,lineNumber:c,changeNumber:a.getChangeNumber_asLegacyNumberOrString()}},lSa=function(a){var b=Kh(a,1);a=xj(a,kSa,2,yj(Pi));return{packageName:b,fileMentionSet:iSa(a,jSa)}},nSa=function(a){var b=gj(a,1),c=Hj(a,2);a=xj(a,mSa,3,yj(Pi));return{totalMentions:b,truncated:c,packageMentionSet:iSa(a,lSa)}},xp=function(a){var b=oSa(a.open);a=oSa(a.total);return b===a?"("+b+")":"("+b+"/"+a+")"},oSa=function(a){var b=a.count;a=a.exact;return b===0||a?""+b:
b+"+"},pSa=function(a){return"("+oSa(a)+")"},yp=function(a){return{count:a>99?99:a,exact:a>99?!1:!0}},qSa=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:Dc(b)}},rSa=function(a){if(a&1){var b=u();F(0,"div",2);M("@arrowPosition.start",function(){v(b);var c=O();return x(c._disableViewStateAnimation=
!0)})("@arrowPosition.done",function(){v(b);var c=O();return x(c._disableViewStateAnimation=!1)});H(1,"div",3);F(2,"div",4);H(3,"div",5)(4,"div",6)(5,"div",7);G()()}a&2&&(a=O(),D("@arrowOpacity",a._getArrowViewState())("@arrowPosition",a._getArrowViewState())("@allowChildren",a._getArrowDirectionState()),z(2),D("@indicator",a._getArrowDirectionState()),z(),D("@leftPointer",a._getArrowDirectionState()),z(),D("@rightPointer",a._getArrowDirectionState()))},sSa=function(a){a&1&&H(0,"th",35)},tSa=function(a){a&
1&&H(0,"td",36)},uSa=function(a){a&1&&(F(0,"th",35),R(1," Id "),G())},vSa=function(a,b){a&1&&(F(0,"td",37),H(1,"b-issue-id-cell",38),G());a&2&&(a=b.$implicit,z(),D("id",a.id))},wSa=function(a){a&1&&(F(0,"th",35),R(1," Title "),G())},xSa=function(a,b){a&1&&(F(0,"td",37),H(1,"b-issue-title-cell",39),T(2,"async"),G());if(a&2){var c;a=b.$implicit;b=O();z();$f("anchorTarget",b.options.alwaysOpenNewTab?"_blank":void 0);D("issue",V(2,5,a.issue$))("issueUrlFactory",b.issueUrlFactory)("enableHovercard",(c=
b.options.enableIssueHovercard)!==null&&c!==void 0?c:!1)("trailingChip",b.options.showTrending?b.trendingChipsById$.value==null?null:b.trendingChipsById$.value[a.id]:void 0)}},ySa=function(a){a&1&&(F(0,"th",40),R(1," Type "),G())},zSa=function(a,b){a&1&&(F(0,"td",37),H(1,"b-issue-type-cell",41),T(2,"async"),G());a&2&&(a=b.$implicit,z(),D("issue",V(2,1,a.issue$)))},ASa=function(a){a&1&&Sf(0)},BSa=function(a){a&1&&(K(0),R(1,"Assignee"),L())},CSa=function(a){a&1&&(F(0,"th",42),K(1,43),C(2,ASa,1,0,"ng-container",
44)(3,BSa,2,0,"ng-container",45),L(),G());a&2&&(a=O(),z(),D("ngSwitch",a.options.modes==null?null:a.options.modes.assignee),z(),D("ngSwitchCase","avatar-if-open"))},DSa=function(a,b){a&1&&H(0,"b-user-image",48);a&2&&D("email",b.$implicit)},ESa=function(a){a&1&&(K(0),C(1,DSa,1,1,"b-user-image",47),L());if(a&2){a=O().$implicit;var b=O(3);z();D("ngIf",b.getAssigneeString(a))}},FSa=function(a,b){a&1&&(K(0),C(1,ESa,2,1,"ng-container",46),L());a&2&&(a=b.$implicit,b=O(3),z(),D("ngIf",b.isOpen(a)))},GSa=
function(a){a&1&&(K(0),C(1,FSa,2,1,"ng-container",46),T(2,"async"),L());a&2&&(a=O().$implicit,z(),D("ngIf",V(2,1,a.issue$)))},HSa=function(a){a&1&&(K(0),H(1,"b-issue-assignee-cell",41),T(2,"async"),L());a&2&&(a=O().$implicit,z(),D("issue",V(2,1,a.issue$)))},ISa=function(a){a&1&&(F(0,"td",37),K(1,43),C(2,GSa,3,3,"ng-container",44)(3,HSa,3,3,"ng-container",45),L(),G());a&2&&(a=O(),z(),D("ngSwitch",a.options.modes==null?null:a.options.modes.assignee),z(),D("ngSwitchCase","avatar-if-open"))},JSa=function(a){a&
1&&(F(0,"th",49),R(1," Reporter "),G())},KSa=function(a,b){a&1&&(F(0,"td",37),H(1,"b-issue-reporter-cell",41),T(2,"async"),G());a&2&&(a=b.$implicit,z(),D("issue",V(2,1,a.issue$)))},LSa=function(a){a&1&&(F(0,"th",50),R(1," P "),G())},MSa=function(a,b){a&1&&(F(0,"td",37),H(1,"b-issue-priority-display",51),G());a&2&&(a=b.$implicit,b=O(),z(),D("issuePriority",b.getPriority(a)))},NSa=function(a){a&1&&(F(0,"th",52),R(1," Status "),G())},OSa=function(a,b){a&1&&(F(0,"td",37),H(1,"b-issue-status-cell",41),
T(2,"async"),G());a&2&&(a=b.$implicit,z(),D("issue",V(2,1,a.issue$)))},PSa=function(a){a&1&&(F(0,"th",35),R(1," Team "),G())},QSa=function(a,b){a&1&&(F(0,"td",37),H(1,"b-issue-team-cell",41),T(2,"async"),G());a&2&&(a=b.$implicit,z(),D("issue",V(2,1,a.issue$)))},RSa=function(a){a&1&&(F(0,"th",35),R(1," Dupes "),G())},SSa=function(a){a&1&&(K(0),R(1),L());if(a&2){var b;a=O().$implicit;z();S(" ",(b=a.snapshot[0].duplicateIssueId==null?null:a.snapshot[0].duplicateIssueId.length)!==null&&b!==void 0?b:0,
" ")}},TSa=function(a){a&1&&(K(0),C(1,SSa,2,1,"ng-container",46),L());a&2&&(O(2),z(),D("ngIf",!0))},USa=function(a,b){a&1&&(F(0,"td",37),C(1,TSa,2,1,"ng-container",46),T(2,"async"),G());a&2&&(a=b.$implicit,z(),D("ngIf",V(2,1,a.issue$)))},VSa=function(a){a&1&&(F(0,"th",35),R(1," +1s "),G())},WSa=function(a){a&1&&(K(0),F(1,"span",53),R(2),G(),L());a&2&&(a=O().$implicit,z(),Zf("title","",a.aggregatedData==null?null:a.aggregatedData.voteCount," votes"),z(),S(" ",a.aggregatedData==null?null:a.aggregatedData.voteCount,
" "))},XSa=function(a){a&1&&(K(0),C(1,WSa,3,3,"ng-container",46),L());a&2&&(O(2),z(),D("ngIf",!0))},YSa=function(a,b){a&1&&(F(0,"td",37),C(1,XSa,2,1,"ng-container",46),T(2,"async"),G());a&2&&(a=b.$implicit,z(),D("ngIf",V(2,1,a.issue$)))},ZSa=function(a){a&1&&(F(0,"th",35),R(1," 7d Views "),G())},$Sa=function(a){a&1&&(K(0),F(1,"span",53),R(2),G(),L());a&2&&(a=O().$implicit,z(),Zf("title","",a.userActivityStats==null?null:a.userActivityStats.sevenDayViewCount," views in last 7 days"),z(),S(" ",a.userActivityStats==
null?null:a.userActivityStats.sevenDayViewCount," "))},aTa=function(a){a&1&&(K(0),C(1,$Sa,3,3,"ng-container",46),L());a&2&&(O(2),z(),D("ngIf",!0))},bTa=function(a,b){a&1&&(F(0,"td",37),C(1,aTa,2,1,"ng-container",46),T(2,"async"),G());a&2&&(a=b.$implicit,z(),D("ngIf",V(2,1,a.issue$)))},cTa=function(a){a&1&&(F(0,"th",54),R(1," Created "),G())},dTa=function(a,b){a&1&&(F(0,"td",37),H(1,"b-issue-created-time-cell",55),T(2,"async"),G());if(a&2){var c;a=b.$implicit;b=O();z();D("issue",V(2,2,a.issue$))("mode",
(c=b.options.modes==null?null:b.options.modes.createdTime)!==null&&c!==void 0?c:b.DEFAULT_DATETIME_MODE)}},eTa=function(a){a&1&&(F(0,"th",56),R(1," Last Modified "),G())},fTa=function(a,b){a&1&&(K(0),H(1,"b-formatted-date-time",58),L());if(a&2){var c;a=b.$implicit;b=O(2);z();D("timestamp",a/1E3)("mode",(c=b.options.modes==null?null:b.options.modes.modifiedTime)!==null&&c!==void 0?c:b.DEFAULT_DATETIME_MODE)("paddingLeftPx",0)}},gTa=function(a){a&1&&R(0,"--")},hTa=function(a,b){a&1&&(F(0,"td",37),C(1,
fTa,2,3,"ng-container",57)(2,gTa,1,0,"ng-template",null,0,yg),G());if(a&2){a=b.$implicit;b=Q(3);var c=O();z();D("ngIf",c.getModifiedTimeMicros(a))("ngIfElse",b)}},iTa=function(a){a&1&&(F(0,"th",59),R(1," Timeframe "),G())},jTa=function(a,b){a&1&&(F(0,"td",37),H(1,"issue-timeframe",60),T(2,"async"),G());a&2&&(a=b.$implicit,z(),D("issue",V(2,2,a.issue$))("showIcon",!1))},kTa=function(a){a&1&&(F(0,"th",61),R(1," Progress "),G())},lTa=function(a,b){a&1&&(F(0,"td",37),H(1,"progress-pie",41),T(2,"async"),
G());a&2&&(a=b.$implicit,z(),D("issue",V(2,1,a.issue$)))},mTa=function(a){a&1&&H(0,"th",35)},nTa=function(a,b){if(a&1){var c=u();F(0,"td",37)(1,"b-actions-menu",62);M("click",function(f){v(c);return x(f.stopPropagation())});G()()}if(a&2){var d,e;a=b.$implicit;b=O();z();D("buttonLabel",(d=b.options.menu==null?null:b.options.menu.buttonLabel)!==null&&d!==void 0?d:b.DEFAULT_MENU_OPTIONS.buttonLabel)("buttonIcon",(e=b.options.menu==null?null:b.options.menu.buttonIcon)!==null&&e!==void 0?e:b.DEFAULT_MENU_OPTIONS.buttonIcon)("menuItems",
b.getMenuItems(a.id))}},oTa=function(a){a&1&&H(0,"tr",63)},pTa=function(a,b){if(a&1){var c=u();F(0,"tr",64);T(1,"async");M("click",function(d){var e=v(c).$implicit,f=O();return x(f.navigateToIssue(d,e.id))})("mouseup",function(d){var e=v(c).$implicit,f=O();return x(f.navigateToIssue(d,e.id))})("focusin",function(){var d=v(c).$implicit,e=O();return x(tp(e.focusManager,d))})("keydown",function(d){var e=v(c).$implicit,f=O();return x(f.onRowKeydown(e,d))});G()}a&2&&(a=b.$implicit,b=O(),Kf("closed",b.options.deEmphasizeClosedIssues&&
b.isClosed(V(1,3,a.issue$))),D("row",a))},qTa=function(a){if(a&1){var b=u();K(0);F(1,"button",66);M("click",function(){v(b);var c=O(5);return x(c.rowLimit$.next(void 0))});R(2," Show more ");G();L()}},rTa=function(a){a&1&&(K(0),C(1,qTa,3,0,"ng-container",46),L());if(a&2){a=O().$implicit;var b=O().$implicit;z();D("ngIf",a.length<b)}},sTa=function(a){if(a&1){var b=u();K(0);F(1,"button",66);M("click",function(){v(b);var c=O(5);return x(c.rowLimit$.next(c.options.rowLimit))});R(2," Show less ");G();L()}},
tTa=function(a){a&1&&C(0,sTa,3,0,"ng-container",46);if(a&2){var b;a=O().$implicit;var c=O(3);D("ngIf",a.length>((b=c.options.rowLimit)!==null&&b!==void 0?b:0))}},uTa=function(a){a&1&&(K(0),C(1,rTa,2,1,"ng-container",57),T(2,"async"),C(3,tTa,1,1,"ng-template",null,1,yg),L());if(a&2){a=Q(4);var b=O(3);z();D("ngIf",V(2,2,b.rowLimit$))("ngIfElse",a)}},vTa=function(a){a&1&&(K(0),C(1,uTa,5,4,"ng-container",46),T(2,"async"),L());a&2&&(a=O(2),z(),D("ngIf",V(2,1,a.rows$)))},wTa=function(a){a&1&&(F(0,"div",
65),C(1,vTa,3,3,"ng-container",46),T(2,"async"),G());a&2&&(a=O(),z(),D("ngIf",V(2,1,a.rowCountAfterFilters$)))},xTa=function(a,b){return(a==null?void 0:a.id)===(b==null?void 0:b.id)},Cn=function(a){return fo(a.issue$)},yTa=function(a){var b,c,d;return(b=fo(a.issue$))==null?void 0:(c=b.snapshot)==null?void 0:(d=c[0])==null?void 0:d.priority},zTa=function(a){var b,c;return(b=fo(a.issue$))==null?void 0:(c=b.aggregatedData)==null?void 0:c.modifiedTimeMicros},ATa=function(a,b){if(!b||!b.direction)return a;
switch(b.active){case "status":return WCa()(a,b.direction);case "assignee":return XCa()(a,b.direction);case "reporter":return ZCa()(a,b.direction);case "type":return YCa()(a,b.direction);case "createdTime":return $Ca()(a,b.direction);case "modifiedTime":return aDa()(a,b.direction);case "priority":return dDa()(a,b.direction);case "progress":return eDa()(a,b.direction);default:return console.warn("b-issues-table sort by '"+b.active+"' not implemented"),a}},BTa=function(a){a&1&&Sf(0)},CTa=function(a){a&
1&&(K(0),C(1,BTa,1,0,"ng-container",9),L());a&2&&(O(),a=Q(15),z(),D("ngTemplateOutlet",a))},DTa=function(a,b){a&1&&(K(0),H(1,"b-issues-table",10),L());a&2&&(a=b.ngIf,b=O(2),z(),D("issueIds",a)("tableColumns",b.tableColumns)("menuItemFactory",b.getMenuItems)("filters",b.filters)("initialSort",b.initialSort)("options",b.tableOptions))},ETa=function(a){a&1&&(K(0),C(1,DTa,2,6,"ng-container",6),T(2,"async"),L());a&2&&(a=O(),z(),D("ngIf",V(2,1,a.blockerIds$)))},FTa=function(a,b){if(a&1){var c=u();F(0,"p",
11);R(1);F(2,"button",12);M("click",function(){v(c);var d=O();return x(d.shouldResetFilters.next())});R(3,"Show all");G()()}a&2&&(a=b.$implicit,z(),mg(" Filtering ",a," issue",a===1?"":"s",". "))},GTa=function(a){a&1&&Sf(0)},HTa=function(a){a&1&&(F(0,"div")(1,"span",11),R(2,"This issue is not blocked "),F(3,"span",13),R(4,"\ud83c\udf89"),G()(),C(5,GTa,1,0,"ng-container",9),G());a&2&&(O(),a=Q(15),z(5),D("ngTemplateOutlet",a))},JTa=function(a){if(a&1){var b=u();F(0,"b-button",14);T(1,"async");M("onAction",
function(){v(b);var c=O();return x(ITa(c))});R(2," Add blocker ");G()}a&2&&(a=O(),D("disabled",!V(1,1,a.canEdit$)))},KTa=function(a,b){a&1&&(K(0),H(1,"b-issues-table",1),L());a&2&&(a=b.ngIf,b=O(),z(),D("issueIds",a)("tableColumns",b.tableColumns)("options",b.tableOptions)("filters",b.filters)("issueUrlFactory",b.ROUTES.issueDependencies.makeHref)("menuItemFactory",b.getMenuItems))},LTa=function(a,b){a&1&&(F(0,"span",10),R(1),G());a&2&&(a=b.ngIf,Zf("title","",a," applied filter(s)"),z(),lg(a))},MTa=
function(a){a&1&&(K(0),C(1,LTa,2,3,"span",9),T(2,"async"),L());a&2&&(a=O(),z(),D("ngIf",V(2,1,a.internalSelectedOptions.size$)))},NTa=function(a){a&1&&(F(0,"h1",11),R(1),G());a&2&&(a=O(),z(),lg(a.overlayTitle))},OTa=function(a){a&1&&(F(0,"h1"),R(1),G());a&2&&(a=O().$implicit,z(),lg(a.title))},PTa=function(a){a&1&&(F(0,"p"),R(1),G());a&2&&(a=O().$implicit,z(),lg(a.description))},QTa=function(a,b){if(a&1){var c=u();F(0,"div",12)(1,"div",13)(2,"mat-checkbox",14);T(3,"async");M("change",function(d){var e=
v(c).$implicit,f=O();e=e.key;d.checked?f.internalSelectedOptions.add(e):f.internalSelectedOptions.delete(e);f.onChange.emit(new Set(f.internalSelectedOptions));return x()});G();F(4,"div");C(5,OTa,2,1,"h1",4)(6,PTa,2,1,"p",4);G()()()}a&2&&(a=b.$implicit,b=O(),z(2),D("checked",V(3,3,sp(b.internalSelectedOptions,a.key))),z(3),D("ngIf",a.title),z(),D("ngIf",a.description))},RTa=function(a){if(a&1){var b=u();K(0);H(1,"mat-divider");F(2,"div",15)(3,"button",16);M("click",function(){v(b);var c=O(),d=Q(1);
return x(c.cancel(d))});R(4);G();F(5,"button",17);M("click",function(){v(b);var c=O(),d=Q(1);return x(c.confirm(d))});R(6);G()();L()}a&2&&(a=O(),z(4),lg(a.cancelButtonLabel),z(2),lg(a.confirmButtonLabel))},STa=function(a){a&1&&H(0,"b-spinner")},TTa=function(a){a&1&&Sf(0)},UTa=function(a){a&1&&(K(0),C(1,TTa,1,0,"ng-container",26),L());a&2&&(O(2),a=Q(12),z(),D("ngTemplateOutlet",a))},VTa=function(a){a&1&&(H(0,"b-parents-table",27),T(1,"async"),T(2,"async"));if(a&2){a=O().ngIf;var b=O();D("issueId",
a)("parentIds",V(1,3,b.parentIds$))("filters",V(2,5,b.issueFilters.value$))}},WTa=function(a){a&1&&Sf(0)},YTa=function(a){a&1&&(K(0),C(1,WTa,1,0,"ng-container",28),T(2,"async"),L());if(a&2){a=O(2);var b=Q(10);z();D("ngTemplateOutlet",b)("ngTemplateOutletContext",ug(4,XTa,V(2,2,a.parentsTable==null?null:a.parentsTable.hiddenRowCount$)))}},ZTa=function(a){a&1&&Sf(0)},$Ta=function(a){a&1&&(F(0,"div")(1,"span",29),R(2,"This issue has no parents"),G(),C(3,ZTa,1,0,"ng-container",26),G());a&2&&(O(2),a=Q(12),
z(3),D("ngTemplateOutlet",a))},aUa=function(a){a&1&&Sf(0)},bUa=function(a){a&1&&(K(0),C(1,aUa,1,0,"ng-container",26),L());a&2&&(O(2),a=Q(14),z(),D("ngTemplateOutlet",a))},cUa=function(a){a&1&&(F(0,"div",30)(1,"section",31)(2,"div",32),R(3," Progress: "),G(),F(4,"div",32),R(5),T(6,"async"),T(7,"number"),T(8,"async"),T(9,"number"),G(),F(10,"div",33),T(11,"async"),F(12,"div",34),H(13,"div",35),T(14,"async"),F(15,"onedev-hovercard",null,4)(17,"div",36)(18,"div",37),R(19),T(20,"async"),G()()()()(),H(21,
"mat-icon",38),F(22,"onedev-hovercard",null,5)(24,"div",36)(25,"div",39)(26,"p"),R(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. "),G()()()()()());if(a&2){a=Q(16);var b=Q(23),c=O(2);z(5);mg(" ",xg(7,11,V(6,9,c.totalDaysComplete$),"1.0-2")," of ",xg(9,16,V(8,14,c.totalDaysCount$),"1.0-2")," days complete ");z(5);Df("aria-label",
"",V(11,19,c.totalDaysDisplayPercent$)," Percentage of effort completed");z(2);D("onedevHovercardTrigger",a);z();Jf("width",V(14,21,c.totalDaysDisplayPercent$),"%");z(6);S(" ",V(20,23,c.progressHovercardContent$)," ");z(2);D("onedevHovercardTrigger",b)}},dUa=function(a){a&1&&H(0,"rollups-project",40);a&2&&(a=O().ngIf,D("id",a))},eUa=function(a){a&1&&Sf(0)},fUa=function(a){a&1&&(K(0),C(1,eUa,1,0,"ng-container",28),T(2,"async"),L());if(a&2){a=O(2);var b=Q(10);z();D("ngTemplateOutlet",b)("ngTemplateOutletContext",
ug(4,XTa,V(2,2,a.relationsTable==null?null:a.relationsTable.hiddenRowCount$)))}},gUa=function(a){a&1&&Sf(0)},hUa=function(a){a&1&&(F(0,"span",29),R(1,"This issue has no children"),G(),C(2,gUa,1,0,"ng-container",26));a&2&&(O(3),a=Q(14),z(2),D("ngTemplateOutlet",a))},iUa=function(a){a&1&&(F(0,"p",41)(1,"a",42),R(2," View as search results "),G()());if(a&2){a=O(2).ngIf;var b=O();z();D("href",b.makeIlpUrlForParentIssue(a),Qe)}},jUa=function(a){a&1&&(K(0),C(1,hUa,3,1),T(2,"async"),T(3,"async"),C(4,iUa,
3,1,"p",41),L());if(a&2){var b;a=O(2);z();Of(V(2,1,a.unarchivedChildIssueCount$)===0&&(((b=V(3,3,a.relationsTable==null?null:a.relationsTable.rows$))==null?null:b.length)||0)===0?1:4)}},kUa=function(a,b){if(a&1){var c=u();F(0,"div",12)(1,"section",13)(2,"div",14)(3,"h4",15)(4,"div",16);H(5,"mat-icon",17);G();R(6);T(7,"async");G();C(8,UTa,2,1,"ng-container",7);T(9,"async");G();C(10,VTa,3,7,"b-parents-table",18);T(11,"async");C(12,YTa,3,6,"ng-container",7);T(13,"async");C(14,$Ta,4,1,"ng-template",null,
3,yg);G();F(16,"section")(17,"b-blockers-table",19);T(18,"async");M("shouldResetFilters",function(){v(c);var h=O();return x(h.shouldResetFilters())});G()();F(19,"section")(20,"div",20)(21,"h4",15)(22,"div",21);H(23,"mat-icon",22);G();R(24);T(25,"async");G();C(26,bUa,2,1,"ng-container",7);T(27,"async");T(28,"async");G();C(29,cUa,28,25,"div",23);T(30,"async");T(31,"async");C(32,dUa,1,1,"rollups-project",24);H(33,"b-issue-relations-table",25);T(34,"async");T(35,"async");T(36,"async");C(37,fUa,3,6,"ng-container",
7);T(38,"async");C(39,jUa,5,5,"ng-container",7);T(40,"async");G()()}if(a&2){var d,e;a=b.ngIf;b=Q(15);var f=O();z(6);S(" Parents ",V(7,18,f.counts.countParentsDisplay$)," ");z(2);D("ngIf",V(9,20,f.parentsCount$));z(2);D("ngIf",V(11,22,f.parentsCount$))("ngIfElse",b);z(2);D("ngIf",V(13,24,f.issueFilters.value$));z(5);D("filters",V(18,26,f.issueFilters.value$));z(7);S(" Child issues ",V(25,28,f.counts.countChildrenDisplay$)," ");z(2);D("ngIf",V(27,30,f.unarchivedChildIssueCount$)||(((d=V(28,32,f.relationsTable==
null?null:f.relationsTable.rows$))==null?null:d.length)||0)>0);z(3);D("ngIf",f.isTotalEstimatesEnabled&&V(30,34,f.unarchivedChildIssueCount$)&&V(31,36,f.totalDaysCount$));z(3);D("ngIf",f.isInternalSession&&f.enableRollupStatsUi);z();Kf("hidden",!((e=V(34,38,f.relationsTable==null?null:f.relationsTable.rows$))==null?0:e.length)&&!V(35,40,f.relationsTable==null?null:f.relationsTable.hiddenRowCount$));Zf("saveExpansionAtKey","project-expansion-",a,"");D("rootIssueId",a)("filters",V(36,42,f.issueFilters.value$));
z(4);D("ngIf",V(38,44,f.issueFilters.value$));z(2);D("ngIf",V(40,46,f.unarchivedChildIssueCount$)!==null)}},lUa=function(a){if(a&1){var b=u();F(0,"p",29);R(1);F(2,"button",44);M("click",function(){v(b);var c=O(2);return x(c.issueFilters.reset([]))});R(3,"Show all");G()()}a&2&&(a=O().filteredCount,z(),mg(" Filtering ",a," issue",a===1?"":"s",". "))},mUa=function(a,b){a&1&&C(0,lUa,4,2,"p",43);a&2&&D("ngIf",b.filteredCount)},oUa=function(a){if(a&1){var b=u();F(0,"b-button",45);T(1,"async");M("onAction",
function(){v(b);var c=O();return x(nUa(c))});R(2," Add parent ");G()}a&2&&(a=O(),D("disabled",!V(1,1,a.canEdit$)))},pUa=function(a){if(a&1){var b=u();F(0,"b-button",48);T(1,"async");M("onAction",function(){v(b);var c=O(2);return x(c.createChild())});R(2," Create new child ");G()}a&2&&(a=O(2),D("disabled",!V(1,1,a.canEdit$)))},qUa=function(a){if(a&1){var b=u();C(0,pUa,3,3,"b-button",46);F(1,"b-button",47);T(2,"async");M("onAction",function(){v(b);var c=O();return x(c.addChild())});R(3," Add existing child ");
G()}a&2&&(a=O(),D("ngIf",a.isNonPublicSession),z(),D("disabled",!V(2,2,a.canEdit$)))},rUa=function(a,b){return(0,W.combineLatest)([a,b]).pipe(y(function(c){var d=l(c);c=d.next().value;d=d.next().value;return d===0?0:Math.round(c*100/d*100)/100}))},sUa=function(a){return a===1?a+" day":a+" days"},tUa=function(a){a&1&&(H(0,"one-work-area-list",0),T(1,"async"));a&2&&(a=O(2),D("searchString",V(1,4,a.issueFilter$))("prefKey",a.entityReference)("reference",a.entityReference)("onlyShowTableWhenFiltered",
a.onlyShowTableWhenFiltered))},uUa=function(a){a&1&&H(0,"b-issue-relations-table",3);if(a&2){a=O(2);var b=O();Zf("saveExpansionAtKey","project-expansion-",a,"");D("rootIssueId",a)("filters",b.getFilters())("tableColumns",b.TREE_COLUMNS)("options",b.TREE_OPTIONS)("defaultExpansionLevel",0)}},vUa=function(a){a&1&&(H(0,"rollups-project",2)(1,"stat-cards-project",2),C(2,uUa,1,7,"b-issue-relations-table",3));if(a&2){a=O();var b=O();D("id",a);z();D("id",a);z();Of(b.showTable()?2:-1)}},wUa=function(a){a&
1&&R(0);a&2&&(a=O(2),S(" Unhandled entity type: ",a.entityType," "))},xUa=function(a){a&1&&(H(0,"recent-events",1),T(1,"async"));a&2&&(a=O(2),D("query",V(1,2,a.issueFilter$))("numEvents",a.numRecentActivityEvents))},yUa=function(a){a&1&&C(0,tUa,2,6,"one-work-area-list",0)(1,vUa,3,3)(2,wUa,1,1)(3,xUa,2,4,"recent-events",1);a&2&&(a=O(),Of(a.entityType==="hotlist"||a.entityType==="savedsearch"?0:a.entityType==="issue"?1:2),z(3),Of(a.hideRecentActivity?-1:3))},zUa=function(a){return{filter:a!=null?a:
void 0,pageSize:500,sort:"modified_time:desc"}},AUa=function(a){a&1&&(H(0,"b-issues-table",2),T(1,"async"));a&2&&(a=O(),D("issueIds",V(1,5,a.issueIds$))("options",a.TABLE_OPTIONS)("filters",a.getFilters())("tableColumns",a.getFilters()[0]==="PROGRESS"?a.PROGRESS_COLUMNS:a.DEFAULT_COLUMNS)("initialSort",a.INITIAL_SORT))},BUa=function(a){if(a&1){var b=u();F(0,"b-star-toggle",9);T(1,"async");T(2,"async");M("starClicked",function(){v(b);var c=O(2);return x(c.starClicked.emit())});G()}a&2&&(a=O(2),D("starMessage",
"Star this hotlist")("unStarMessage","Un-star this hotlist")("acceptInput",!V(1,4,sp(a.isSavingStar,a.hotlist.hotlistId)))("starred",V(2,6,sp(a.starredHotlists,a.hotlist.hotlistId))))},CUa=function(a){a&1&&(F(0,"p",10),R(1),G());a&2&&(a=O(2),z(),S(" ",a.hotlist.description," "))},DUa=function(a){if(a&1){var b=u();F(0,"div",1)(1,"div",2)(2,"label",3);R(3);G();F(4,"span",4);C(5,BUa,3,8,"b-star-toggle",5);F(6,"a",6);M("click",function(c){v(b);return x(c.stopPropagation())})("keydown.enter",function(c){v(b);
return x(c.stopPropagation())});H(7,"mat-icon",7);G()()();C(8,CUa,2,1,"p",8);G()}a&2&&(a=O(),z(3),S(" ",a.hotlist.name," "),z(2),D("ngIf",a.shouldShowStar(a.hotlist)),z(),D("routerLink",a.ROUTES.viewHotlist.makeHref(a.hotlist.hotlistId)),z(2),D("ngIf",!a.isCompact&&a.hotlist.description))},EUa=function(a){a&1&&Sf(0)},FUa=function(a){a&1&&(K(0),C(1,EUa,1,0,"ng-container",9),L());a&2&&(O(),a=Q(12),z(),D("ngTemplateOutlet",a))},GUa=function(a){a&1&&Sf(0)},HUa=function(a){a&1&&(K(0),C(1,GUa,1,0,"ng-container",
9),L());a&2&&(O(),a=Q(6),z(),D("ngTemplateOutlet",a))},KUa=function(a){if(a&1){var b=u();F(0,"button",10);M("click",function(){v(b);var c=O();return x(IUa(c))});R(1," Create ");G()}a&2&&(a=O(),D("disabled",!(JUa(a).length>0)))},LUa=function(a){if(a&1){var b=u();F(0,"button",11);M("click",function(){v(b);var c=O();return x(zp(c))});R(1);G()}a&2&&(a=O(),D("mat-dialog-close",!0)("matTooltip",a.saveBtnTooltip)("disabled",a.pristine),Bf("aria-label",a.saveBtnTooltip),z(),S(" ",a.saveBtnLabel," "))},NUa=
function(a){if(a&1){var b=u();F(0,"button",20);M("click",function(){v(b);var c=O(2),d=vi(c.query$.value);c.allHotlistIds.has(d)?(c.selectedHotlistIds.add(d),zp(c)):MUa(c,d);return x()});R(1);T(2,"async");F(3,"span",21);R(4,"(add hotlist by ID)");G()()}a&2&&(a=O(2),z(),S(" ",V(2,1,a.query$)," "))},OUa=function(a){if(a&1){var b=u();F(0,"button",22);M("click",function(){v(b);O(2).showCreateNewPane=!0;return x()});R(1);T(2,"async");F(3,"span",21);R(4,"(create new)");G()()}a&2&&(a=O(2),z(),S(" ",V(2,1,
a.query$)," "))},PUa=function(a,b){if(a&1){var c=u();K(0);F(1,"div",25,6);T(3,"async");F(4,"mat-list-option",26);T(5,"async");M("focus",function(){v(c);var f=Q(2);return x(f.show())})("blur",function(){v(c);var f=Q(2);return x(f.hide())});F(6,"hotlist-matlist-option",27);M("starClicked",function(){var f=v(c).$implicit,h=O(3);return x(h.toggleStar(f.hotlistId))});G()()();L()}if(a&2){var d,e;a=b.$implicit;b=O(3);z();D("matTooltip",((d=V(3,10,a.permissions$))==null?null:d.appender)===!1?b.NO_ACCESS_MESSAGE:
"");z(3);Jf("height","auto");D("selected",b.selectedHotlistIds.has(a.hotlistId))("disabled",((e=V(5,12,a.permissions$))==null?null:e.appender)===!1)("value",a.hotlistId);z(2);D("hotlist",a)("isCompact",!1)("starredHotlists",b.starredHotlists)("isSavingStar",b.isSavingStar)}},QUa=function(a){if(a&1){var b=u();K(0);F(1,"div",28)(2,"span",21);R(3," The number of hotlists is too large to show at once. ");G();F(4,"button",29);M("click",function(){v(b);var c=O(3);return x(c.forceShowOverflow$.next(!0))});
R(5," Show all anyway ");G()();L()}},RUa=function(a,b){if(a&1){var c=u();K(0);F(1,"mat-selection-list",23);M("selectionChange",function(d){v(c);var e=O(2);return x(e.onChangeMatList(d))})("keydown.meta.enter",function(){v(c);var d=O(2);return x(d.usePreviousSelectedHotlists=!0)})("keydown.shift.enter",function(){v(c);var d=O(2);return x(d.usePreviousSelectedHotlists=!0)})("keydown.control.enter",function(){v(c);var d=O(2);return x(d.usePreviousSelectedHotlists=!0)});C(2,PUa,7,14,"ng-container",24);
G();C(3,QUa,6,0,"ng-container",19);T(4,"async");L()}a&2&&(a=b.$implicit,b=O(2),z(2),D("ngForOf",a)("ngForTrackBy",b.trackByHotlistId),z(),D("ngIf",V(4,3,b.isOverflowMode$)))},SUa=function(a){if(a&1){var b=u();F(0,"header",12)(1,"h2");R(2,"Search for Hotlists");G();F(3,"div",13);H(4,"mat-icon",14);F(5,"input",15,4);M("input",function(){v(b);var c=Q(6);O().query$.next(c.value);return x()});G()()();F(7,"section",16,5);C(9,NUa,5,3,"button",17);T(10,"async");C(11,OUa,5,3,"button",18);T(12,"async");C(13,
RUa,5,5,"ng-container",19);T(14,"async");G()}a&2&&(a=O(),z(9),D("ngIf",V(10,3,a.showLoadById$)),z(2),D("ngIf",V(12,5,a.showCreateNew$)),z(2),D("ngIf",V(14,7,a.visibleHotlists$)))},TUa=function(a){a&1&&(F(0,"header",12)(1,"h2"),R(2,"Create new hotlist"),G()(),F(3,"section",30)(4,"div",31)(5,"form",32)(6,"label",33),R(7,"Name"),G(),H(8,"input",34),F(9,"label",35),R(10,"Description"),G(),H(11,"textarea",36),F(12,"p",21),R(13," Note: Access controls can be adjusted after the hotlist is created. "),G()()()());
a&2&&(a=O(),z(5),D("formGroup",a.hotlistUnderEdit))},UUa=function(a,b){return a.name.localeCompare(b.name)},VUa=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)},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+" hotlist(s)"]:c===0&&b>0?["Remove ("+b+")","Remove "+b+" hotlist(s)"]:
["Save","Save all changes ("+c+" added, "+b+" removed)"]:["Save","(No changes)"]},XUa=function(a){a&1&&(F(0,"button",13),H(1,"mat-icon",14),R(2," Add "),G());a&2&&(O(),a=Q(9),D("matMenuTriggerFor",a))},YUa=function(a){a&1&&H(0,"b-issue-card",29);a&2&&(a=O().$implicit,D("issueId",a.ref))},$Ua=function(a,b){if(a&1){var c=u();F(0,"li",25);M("click",function(){var d=v(c).$implicit,e=O(3);return x(ZUa(e,d.ref))});F(1,"p",26);R(2);G();F(3,"p",27);R(4);G();F(5,"onedev-hovercard",null,2);C(7,YUa,1,1,"b-issue-card",
28);G()()}a&2&&(a=b.$implicit,b=Q(6),Zf("title","Click to add\n\rWhy this? ",a.suggestionRationale,""),z(2),lg(a.title),z(),D("onedevHovercardTrigger",b),z(),S("b/",a.ref,""),z(3),D("ngIf",a.ref))},aVa=function(a){a&1&&(K(0),F(1,"div",22)(2,"h4"),R(3,"Suggestions:"),G(),F(4,"ol",23),C(5,$Ua,8,6,"li",24),G()(),L());a&2&&(a=O(2),z(5),D("ngForOf",a.suggestions))},bVa=function(a){a&1&&(F(0,"section",15)(1,"div",16),H(2,"img",17),C(3,aVa,6,1,"ng-container",18),G(),F(4,"p",19),R(5," Use work areas to closely monitor a hotlist, saved search, or a parent/child project issue. "),
G(),F(6,"button",20),H(7,"mat-icon",21),R(8," Add work area "),G()());if(a&2){a=O();var b=Q(9);z(2);D("src",a.EMPTY_STATE_IMG,Qe);z();D("ngIf",a.suggestions.length>0);z(3);D("matMenuTriggerFor",b)}},cVa=function(a){a&1&&(F(0,"a",44),H(1,"mat-icon",45),R(2," View Issue "),G(),F(3,"a",46),H(4,"mat-icon",45),R(5," View as search results "),G());if(a&2){a=O(2).$implicit;var b=O(2);D("routerLink",b.makeBuganizerUrl(a));z(3);D("href",b.makeIlpUrlForParentIssue(a),Qe)}},dVa=function(a){a&1&&(F(0,"a",37),
H(1,"mat-icon",45),R(2),G());if(a&2){a=O(2).$implicit;var b=O(2);D("routerLink",b.makeBuganizerUrl(a));z(2);S(" View ",b.getEntityTypeName(a)," ")}},eVa=function(a,b){if(a&1){var c=u();F(0,"button",11);M("click",function(){var d=v(c).$implicit,e=O(4);e.clipboard.copy(d);Ap(e.butterBar,"ID copied",2E3);return x()});H(1,"mat-icon",47);R(2);G()}a&2&&(a=b.$implicit,z(2),S(" Copy ID: ",a," "))},gVa=function(a){if(a&1){var b=u();R(0);F(1,"button",34);M("click",function(h){v(b);return x(h.stopPropagation())});
H(2,"mat-icon",35);G();F(3,"mat-menu",36,3);C(5,cVa,6,2)(6,dVa,3,2,"a",37)(7,eVa,3,1,"button",38);H(8,"mat-divider");F(9,"button",39);M("click",function(){v(b);var h=O().$implicit,k=O(2);return x(fVa(k.prefsService,h,-1))});H(10,"mat-icon",40);R(11," Move Left ");G();F(12,"button",39);M("click",function(){v(b);var h=O().$implicit,k=O(2);return x(fVa(k.prefsService,h,1))});H(13,"mat-icon",41);R(14," Move Right ");G();F(15,"button",42);M("click",function(){v(b);var h=O().$implicit,k=O(2).prefsService;
if(h!=null){var q,t=((q=k.prefs.workAreaUrls)!=null?q:[]).slice();h=t.indexOf(h);h<0||(t.splice(h,1),Bp(k,{workAreaUrls:t}))}return x()});H(16,"mat-icon",43);R(17," Remove ");G()()}if(a&2){a=Q(4);var c=O(),d=c.$implicit,e=c.first;c=c.last;var f=O(2);S(" ",f.titles[d]||d," ");z();D("matMenuTriggerFor",a);z(4);Of(f.inferEntityType(d)==="issue"?5:6);z(2);D("ngIf",f.extractLastDigits(d));z(2);D("disabled",e);z(3);D("disabled",c);z(3);Zf("title","Hide the work area '",d,"' from this section")}},hVa=function(a){a&
1&&H(0,"one-work-area",48);if(a&2){a=O().$implicit;var b=O(2);D("reference",a)("refreshWorkArea",b.refreshData)}},iVa=function(a){a&1&&(K(0),F(1,"mat-tab"),C(2,gVa,18,8,"ng-template",32)(3,hVa,1,2,"ng-template",33),G(),L())},kVa=function(a){if(a&1){var b=u();F(0,"mat-tab-group",30);M("selectedIndexChange",function(c){v(b);var d=O();return x(jVa(d.prefsService,d.SECTION_SLUG,c))});C(1,iVa,4,0,"ng-container",31);G()}a&2&&(a=O(),D("selectedIndex",a.INITIAL_TAB_INDEX),z(),D("ngForOf",a.workAreaReferences))},
lVa=function(a){if(a&1){var b=u();F(0,"div",1);M("click",function(){v(b);var c=O();return x(c._onBackdropClicked())});G()}a&2&&(a=O(),Kf("mat-drawer-shown",a._isShowingBackdrop()))},mVa=function(a){a&1&&(F(0,"mat-drawer-content"),Yf(1,2),G())},nVa=function(){return!1},oVa=function(a){if(a&1){var b=u();F(0,"div",1);M("click",function(){v(b);var c=O();return x(c._onBackdropClicked())});G()}a&2&&(a=O(),Kf("mat-drawer-shown",a._isShowingBackdrop()))},pVa=function(a){a&1&&(F(0,"mat-sidenav-content"),Yf(1,
2),G())},qVa=function(a,b){a&1&&(F(0,"a",3),H(1,"mat-icon",16),G());a&2&&(a=O(),D("href",a.ROUTES.viewTriage.makeHref(b),Qe))},rVa=function(a,b){a&1&&(F(0,"span",4),R(1),G());a&2&&(D("title",b.description),z(),lg(b.name))},sVa=function(a){a&1&&(F(0,"code",5),R(1),T(2,"async"),G());a&2&&(a=O(),z(),lg(V(2,1,a.id$)))},tVa=function(a,b){a&1&&H(0,"one-work-area-list",11);a&2&&D("searchString",b)("prefKey",b)},uVa=function(a){a&1&&(F(0,"button",16)(1,"span"),R(2,"Edit"),G(),H(3,"b-icon",17),G());if(a&2){a=
O();var b=Q(7);D("disabled",a.isAnonymous)("matMenuTriggerFor",b)}},vVa=function(a){a&1&&(F(0,"button",16)(1,"span"),R(2,"Link"),G(),H(3,"b-icon",17),G());if(a&2){a=O();var b=Q(69);D("disabled",a.isAnonymous)("matMenuTriggerFor",b)}},wVa=function(a){a&1&&(F(0,"button",16)(1,"span"),R(2,"CC"),G(),H(3,"b-icon",17),G());if(a&2){a=O();var b=Q(85);D("disabled",a.isAnonymous)("matMenuTriggerFor",b)}},xVa=function(a){if(a&1){var b=u();F(0,"button",11);M("click",function(){v(b);var c=O();return x(c.bulkEdit("ESTIMATED_EFFORT"))});
R(1,"Estimated Effort");G()}},yVa=function(a,b){if(a&1){var c=u();F(0,"button",11);M("click",function(){var d=v(c).$implicit,e=O();return x(e.quickBulkEdit("PRIORITY",d))});R(1);G()}a&2&&(a=b.$implicit,z(),S(" ",a," "))},zVa=function(a,b){if(a&1){var c=u();F(0,"button",11);M("click",function(){var d=v(c).$implicit,e=O();return x(e.quickBulkEdit("SEVERITY",d))});R(1);G()}a&2&&(a=b.$implicit,z(),S(" ",a," "))},AVa=function(a,b){if(a&1){var c=u();F(0,"button",11);M("click",function(){var d=v(c).$implicit,
e=O();return x(e.quickBulkEdit("STATUS",d))});R(1);G()}a&2&&(a=b.$implicit,b=O(),z(),S(" ",b.STATUS_JS_FULL_TEXT[a]," "))},BVa=function(a,b){if(a&1){var c=u();F(0,"button",18);M("click",function(){var e=v(c).$implicit,f=O();return x(f.quickBulkEdit("TYPE",e))});R(1);G()}if(a&2){var d;a=b.$implicit;b=O();D("matTooltip",(d=b.constants.issueTypesShortDescriptions.get(a))!==null&&d!==void 0?d:"");z();S(" ",b.constants.issueTypesDisplayNames.get(a)," ")}},CVa=function(a){if(a&1){var b=u();F(0,"button",
5);M("click",function(){v(b);var c=O(2);return x(c.exportCsvClicked.emit())});R(1,"Export issues to CSV ");G()}},DVa=function(a){if(a&1){var b=u();F(0,"button",5);M("click",function(){v(b);var c=O(2);return x(c.flagAsSpamClicked.emit())});R(1,"Flag issues as spam ");G()}},EVa=function(a){a&1&&(K(0),F(1,"button",2)(2,"span"),R(3,"More"),G(),H(4,"b-icon",3),G(),F(5,"mat-menu",null,0),C(7,CVa,2,0,"button",4)(8,DVa,2,0,"button",4),G(),L());if(a&2){a=Q(6);var b=O();z();D("disabled",b.isAnonymous)("matMenuTriggerFor",
a);z(6);D("ngIf",b.showExportCsv);z();D("ngIf",b.showFlagIssuesAsSpam)}},FVa=function(a){a&1&&(K(0),R(1," Network connection has been interrupted. "),L())},GVa=function(a){a&1&&R(0," Network connection has been interrupted or login credentials may have expired. ")},JVa=function(a){if(a&1){var b=u();F(0,"button",5);M("click",function(c){v(b);O(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=zc(typeof"/refreshSso".href!="undefined"?"/refreshSso".href:"/refreshSso");var f=self.crossOriginIsolated!==void 0,h="strict-origin-when-cross-origin";window.Request&&(h=(new Request("/")).referrerPolicy);var k=h==="unsafe-url";h=d.noreferrer;if(f&&h){if(k)throw Error("fe");h=!1}f=d.target||"/refreshSso".target;k=[];for(var q in d)switch(q){case "width":case "height":case "top":case "left":k.push(q+"="+d[q]);break;case "target":case "noopener":case "noreferrer":break;default:k.push(q+
"="+(d[q]?1:0))}q=k.join(",");Ma()&&c.navigator&&c.navigator.standalone&&f&&f!="_self"?(d=Cp(document,"A"),d.href=HVa(e),d.target=f,h&&(d.rel="noreferrer"),e=document.createEvent("MouseEvent"),e.initMouseEvent("click",!0,!0,c,1),d.dispatchEvent(e)):h?(c=IVa("",c,f,q),e=xc(e),c&&(c.opener=null,e===""&&(e="javascript:''"),e=vh('<meta name="referrer" content="no-referrer"><meta http-equiv="refresh" content="0; url='+Dp(e)+'">'),(c=c.document)&&c.write&&(c.write(xh(e)),c.close()))):((c=IVa(e,c,f,q))&&
d.noopener&&(c.opener=null),c&&d.noreferrer&&(c.opener=null));return x()});R(1," Log in again ");G()}},KVa=function(a){a&1&&(F(0,"b-callout",2)(1,"b-callout-body"),C(2,FVa,2,0,"ng-container",3)(3,GVa,1,0,"ng-template",null,0,yg),G(),F(5,"b-callout-actions"),C(6,JVa,2,0,"button",4),G()());if(a&2){a=Q(4);var b=O();D("messageType","error");z(2);D("ngIf",b.isAnonymous)("ngIfElse",a);z(4);D("ngIf",!b.isAnonymous)}},LVa=function(a){a&1&&(F(0,"a",1),R(1," Hiring!\n"),G())},MVa=function(a,b){a&1&&(F(0,"tr")(1,
"td",5),R(2),G(),F(3,"td"),R(4,":"),G(),F(5,"td",6),R(6),G()());a&2&&(a=b.$implicit,z(2),lg(a.displayAs),z(4),lg(a.description))},NVa=function(a,b){a&1&&(F(0,"thead")(1,"tr"),H(2,"th",3),F(3,"th",4),R(4),G()(),C(5,MVa,7,2,"tr",1),G());a&2&&(a=b.$implicit,z(4),lg(a.title),z(),D("ngForOf",a.hotkeys))},OVa=function(a){a=a===void 0?!1:a;var b=WDa(),c=b.total,d=b.redundancyRatio;Gn("after-60s","xhr","redundant",b.redundant);Gn("after-60s","xhr","total",c);Gn("after-60s","xhr","redundancyRatio",d);a&&(console.table(VDa()),
console.log(b))},Fp=function(a){a==="duplicateOfIssueId"&&(a="canonicalIssueId");var b=Number(a);isNaN(b)?a=new Ep({type:String(a).replace(/([A-Z])/g,"_$1").toUpperCase()}):b===0?a=null:(a={customFieldId:b},a=new Ep({type:"CUSTOM_FIELD",customFieldId:a.customFieldId,customFieldName:a.name}));return a},PVa=function(a){a=Gp(a);if(Hp(a))return null;var b=a.split(":");if(b.length!==2||Hp(b[1]))return null;a=b[1].toLowerCase()==="asc"?"ASCENDING":"DESCENDING";return(b=Fp(b[0]))&&a?new Ip(b,a):null},SVa=
function(a,b){var c=new QVa;RVa(c,a,b);return c},RVa=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 k;
a.isClosed=!((k=Qm[d.status])==null?0:k.open)||b.isArchived}a.priority=d.priority.substr(1);a.severity=d.severity.substr(1);a.reporter=pm(d.reporterUser);a.assignee=pm(d.assigneeUser);a.assigneeEmail=sm(d.assigneeUser);a.verifier=pm(d.verifierUser);a.verifierEmail=sm(d.verifierUser);a.cc=qm(d.ccUsers);a.collaborator=qm(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=pm((q=
b.aggregatedData)==null?void 0:q.lastModifier);a.customFieldMap={};a.customFieldNameToIdMap={};a.customFieldValueMap={};if(c&&c.componentPathInfo&&c.componentPathInfo.allCustomField)for(c=l(c.componentPathInfo.allCustomField),h=c.next();!h.done;h=c.next())h=h.value,a.customFieldMap[String(h.customFieldId)]=h,a.customFieldNameToIdMap[h.name.toLowerCase()]=h.customFieldId;if(d.customField)for(c=l(d.customField),h=c.next();!h.done;h=c.next())h=h.value,a.customFieldValueMap[String(h.customFieldId)]=h;
a.retentionState=e?e.retentionState:void 0;a.sloId=e?""+e.sloId:"";a.sloStatus=e?e.sloStatus||null:null;a.sloStartTime=d.sloStartTime;a.sloEndTime=d.sloEndTime;a.isRead=!!a.lastViewedTime&&a.lastViewedTime>=a.majorModifiedTime;d.effort&&(a.effort=d.effort);a.issueAccessLevel=d.issueAccessLimitLevel;a.descendantCount=b.descendantCount;a.openDescendantCount=b.openDescendantCount;a.oneDayViewCount=f?f.oneDayViewCount:0;a.sevenDayViewCount=f?f.sevenDayViewCount:0;a.thirtyDayViewCount=f?f.thirtyDayViewCount:
0},Jp=function(a,b){b=b===void 0?Pl():b;var c,d=(c=b.tracker)==null?void 0:c.name;b=b.config.appName;d=d||b;return a?a+" - "+d:d},TVa=function(a){a&1&&H(0,"bug-screensaver")},UVa=function(a){a&1&&(F(0,"div")(1,"span",3),R(2,"|"),G(),F(3,"a",6),R(4,"Code of Conduct"),G()());a&2&&(a=O(2),z(3),D("href",a.trackerCoc,Qe))},VVa=function(a){a&1&&(F(0,"footer"),H(1,"img",1),F(2,"span",2),R(3),G(),R(4," Powered by Google "),F(5,"span",3),R(6,"|"),G(),F(7,"a",4),R(8,"Privacy"),G(),F(9,"span",3),R(10,"|"),G(),
F(11,"a",5),R(12,"Terms"),G(),C(13,UVa,5,1,"div",0),G());a&2&&(a=O(),z(),D("src",a.trackerLogo,Qe),z(2),S("",a.trackerName," Issue Tracker"),z(10),D("ngIf",a.trackerCoc))},WVa=function(a,b){if(a&1){var c=u();K(0);F(1,"b-fab-segmented",1);M("clickMain",function(e){v(c);var f=O(2);return x(f.trackClick(e))})("clickSegment",function(e){v(c);var f=O(2);return x(f.trackClick(e))});G();L()}if(a&2){a=b.ngIf;b=O().ngIf;var d=O();z();D("label",a)("icon",d.buttonIcon)("href",d.createIssuePath)("segments",b)}},
XVa=function(a){a&1&&(K(0),C(1,WVa,2,4,"ng-container",0),T(2,"async"),L());a&2&&(a=O(),z(),D("ngIf",V(2,1,a.buttonLabel$)))},YVa=function(a){a&1&&Sf(0)},ZVa=function(a){a&1&&Sf(0)},$Va=function(a){a&1&&(K(0),C(1,ZVa,1,0,"ng-container",1),L());a&2&&(a=O(),z(),D("ngTemplateOutlet",a.content))},aWa=function(a){a&1&&R(0," Archived ")},bWa=function(a){if(a&1){var b=u();F(0,"button",17);M("click",function(c){v(b);return x(c.stopPropagation())});H(1,"mat-icon",18);G()}a&2&&(O(),a=Q(5),D("matMenuTriggerFor",
a))},cWa=function(a){if(a&1){var b=u();F(0,"button",19);M("click",function(){v(b);var c=O(3).$implicit;return x(c.unstar())});R(1," Unstar ");G()}},dWa=function(a){if(a&1){var b=u();F(0,"button",19);M("click",function(){v(b);var c=O(3).$implicit;return x(c.unarchive())});R(1," Unarchive ");G()}},eWa=function(a){if(a&1){var b=u();F(0,"button",19);M("click",function(){v(b);var c=O(2).$implicit,d=O(3);return x(d.handleBookmarkGroupOpen(c.id))});R(1," Open ");G();F(2,"button",19);M("click",function(){v(b);
var c=O(2).$implicit,d=O(3);return x(d.handleBookmarkGroupDashboard(c.id))});R(3," Dashboard ");G();F(4,"button",19);M("click",function(){v(b);var c=O(2).$implicit,d=O(3);return x(d.openEditBookmarkGroup(c.id))});R(5," Settings ");G();C(6,cWa,2,0,"button",20)(7,dWa,2,0,"button",20)}a&2&&(a=O(2).$implicit,z(6),D("ngIf",a.isUnstarable()),z(),D("ngIf",a.isEditable()))},fWa=function(a){a&1&&(F(0,"div",13)(1,"span",14),R(2),G(),C(3,bWa,2,1,"button",15),F(4,"mat-menu",null,4),C(6,eWa,8,2,"ng-template",
16),G()());a&2&&(a=O().$implicit,Df("id","bv2-user-archived-bookmarkgroup-item-",a.id,""),z(2),lg(a.name),z(),D("ngIf",a))},gWa=function(a,b){if(a&1){var c=u();F(0,"li",23)(1,"a",24);M("click",function(d){var e=v(c).$implicit,f=O(5);return x(f.onAnchorClick(e.href,d))});F(2,"span",14);R(3);G()()()}a&2&&(a=b.$implicit,b=O(2).$implicit,Kf("selected-indented",a.isSelected())("bv2-bookmark-group-hotlist-item",a.type=="HOTLIST")("bv2-bookmark-group-saved-search-item",a.type=="SAVED_SEARCH"),fla("id","bv2-user-hotlists-bg-",
b.id,"-",a.type,"-",a.id,""),D("title",a.name),z(),D("href",a.href,Qe),z(2),S(" ",a.name," "))},hWa=function(a){a&1&&(F(0,"ul",21),C(1,gWa,4,13,"li",22),G());a&2&&(a=O().$implicit,z(),D("ngForOf",a.items))},iWa=function(a,b){a&1&&(F(0,"li",11)(1,"sidebar-zippy",12),C(2,fWa,7,4,"ng-template",null,2,yg)(4,hWa,2,1,"ng-template",null,3,yg),G()());if(a&2){a=b.$implicit;b=Q(3);var c=Q(5);D("title",a.name);z();D("header",b)("content",c)}},jWa=function(a){a&1&&(F(0,"button",28),H(1,"mat-icon",18),G());a&
2&&(O(),a=Q(6),D("matMenuTriggerFor",a))},kWa=function(a){if(a&1){var b=u();F(0,"button",19);M("click",function(){v(b);var c=O(2).$implicit;return x(c.unstar())});R(1," Unstar ");G()}},lWa=function(a){if(a&1){var b=u();F(0,"button",19);M("click",function(){v(b);var c=O(2).$implicit;return x(c.unarchive())});R(1," Unarchive ");G()}},mWa=function(a){if(a&1){var b=u();F(0,"button",19);M("click",function(){v(b);var c=O().$implicit,d=O(3);return x(d.openEditHotlist(c.id))});R(1," Settings ");G();C(2,kWa,
2,0,"button",20)(3,lWa,2,0,"button",20)}a&2&&(a=O().$implicit,z(2),D("ngIf",a.isUnstarable()),z(),D("ngIf",a.isEditable()))},nWa=function(a,b){if(a&1){var c=u();F(0,"li",25)(1,"a",26);M("click",function(d){var e=v(c).$implicit,f=O(3);return x(f.onAnchorClick(e.href,d))});F(2,"span",14);R(3);G()();C(4,jWa,2,1,"button",27);F(5,"mat-menu",null,5);C(7,mWa,4,2,"ng-template",16);G()()}a&2&&(a=b.$implicit,Kf("selected",a.isSelected()),Zf("id","bv2-user-hotlists-archived-hotlist-item-",a.id,""),D("title",
a.name),z(),D("href",a.href,Qe),z(2),lg(a.name),z(),D("ngIf",a))},oWa=function(a){a&1&&(F(0,"ul",8),C(1,iWa,6,3,"li",9)(2,nWa,8,8,"li",10),G());a&2&&(a=O(2),z(),D("ngForOf",a.bookmarkGroups),z(),D("ngForOf",a.hotlists))},pWa=function(a){a&1&&(F(0,"div"),H(1,"hr"),F(2,"sidebar-zippy",7),C(3,aWa,1,0,"ng-template",null,0,yg)(5,oWa,3,2,"ng-template",null,1,yg),G()());if(a&2){a=Q(4);var b=Q(6);z(2);D("header",a)("content",b)}},qWa=function(a){a&1&&H(0,"b-spinner")},rWa=function(a){if(a&1){var b=u();F(0,
"b-star-toggle",15);M("starClicked",function(){v(b);var c=O().$implicit,d=O();return x(d.toggleStar(c))});G()}a&2&&(a=O().$implicit,D("starMessage","Star this item")("unStarMessage","Un-star this item")("starred",a.isStarred))},sWa=function(a){a&1&&H(0,"b-hotlist-card",16);a&2&&(a=O().$implicit,D("hotlist",a))},tWa=function(a){a&1&&H(0,"b-bookmark-group-card",17);a&2&&(a=O().$implicit,D("bookmarkGroup",a))},uWa=function(a,b){a&1&&(F(0,"mat-option",9)(1,"div",10),C(2,rWa,1,3,"b-star-toggle",11),F(3,
"onedev-hovercard",null,2),C(5,sWa,1,1,"b-hotlist-card",12)(6,tWa,1,1,"b-bookmark-group-card",13),G(),F(7,"span",14),R(8),G()()());if(a&2){a=b.$implicit;b=Q(4);var c=O();D("value",a);z();Kf("bv2-bookmark-group",c.showHotlists&&a.isGroup);z();D("ngIf",c.shouldShowStar(a));z(3);D("ngIf",!a.isGroup);z();D("ngIf",!!a.isGroup);z();D("onedevHovercardTrigger",b);z();lg(a.name)}},vWa=function(){return Vja(function(){return(0,W.from)(Promise.resolve(void 0))})},wWa=function(a){a&1&&H(0,"a",1)},xWa=function(a){if(a&
1){var b=u();F(0,"xap-dialog-layout")(1,"xap-dialog-layout-content")(2,"b-hotlist-search",3);M("itemSelect",function(c){v(b);var d=O();d.itemSelect.emit(c);d.dialog.disabled=!0;d.dialog.disabled=!1;return x()});G()()()}a&2&&(a=O(),z(2),D("showGroups",a.showGroups)("showHotlists",a.showHotlists)("allowStarring",a.allowStarring)("focusOnInit",!0))},yWa=function(a){if(a&1){var b=u();F(0,"span");R(1,"Bookmark groups");G();F(2,"b-hotlist-search-popup",8);M("itemSelect",function(c){v(b);var d=O();c.isGroup&&
d.handleBookmarkGroupOpen(c.bookmarkGroupId);return x()})("click",function(c){v(b);return x(c.stopPropagation())});G()}a&2&&(z(2),D("showHotlists",!1))},zWa=function(a){if(a&1){var b=u();F(0,"button",18);M("click",function(c){v(b);return x(c.stopPropagation())});H(1,"mat-icon",19);G()}a&2&&(O(),a=Q(5),D("matMenuTriggerFor",a))},AWa=function(a){if(a&1){var b=u();F(0,"button",20);M("click",function(){v(b);var c=O(3).$implicit;return x(c.unstar())});R(1," Unstar ");G()}},BWa=function(a){if(a&1){var b=
u();F(0,"button",20);M("click",function(){v(b);var c=O(3).$implicit;return x(c.archive())});R(1," Archive ");G()}},CWa=function(a){if(a&1){var b=u();F(0,"button",20);M("click",function(){v(b);var c=O(3).$implicit;return x(c.setAsPreferredHomepage())});R(1," Set as homepage ");G()}},DWa=function(a){if(a&1){var b=u();F(0,"button",20);M("click",function(){v(b);var c=O(2).$implicit,d=O(3);return x(d.handleBookmarkGroupOpen(c.id))});R(1," Open ");G();F(2,"button",20);M("click",function(){v(b);var c=O(2).$implicit,
d=O(3);return x(d.handleBookmarkGroupDashboard(c.id))});R(3," Dashboard ");G();F(4,"button",20);M("click",function(){v(b);var c=O(2).$implicit,d=O(3);return x(d.editBookmarkGroup(c.id))});R(5," Settings ");G();C(6,AWa,2,0,"button",21)(7,BWa,2,0,"button",21)(8,CWa,2,0,"button",21)}a&2&&(a=O(2).$implicit,z(6),D("ngIf",a.isUnstarable()),z(),D("ngIf",a.isEditable()),z(),D("ngIf",!a.isPreferredHomepage()))},EWa=function(a){a&1&&(F(0,"div",14)(1,"span",15),R(2),G(),C(3,zWa,2,1,"button",16),F(4,"mat-menu",
null,4),C(6,DWa,9,3,"ng-template",17),G()());a&2&&(a=O().$implicit,Df("id","bv2-user-bookmarkgroup-item-",a.id,""),z(2),lg(a.name),z(),D("ngIf",a))},FWa=function(a){a&1&&(F(0,"button",27),H(1,"mat-icon",19),G());a&2&&(O(),a=Q(6),D("matMenuTriggerFor",a))},GWa=function(a){if(a&1){var b=u();F(0,"button",20);M("click",function(){v(b);var c=O(2).$implicit;return x(c.unstar())});R(1," Unstar ");G()}},HWa=function(a){if(a&1){var b=u();F(0,"button",20);M("click",function(){v(b);var c=O(2).$implicit;return x(c.setAsPreferredHomepage())});
R(1," Set as homepage ");G()}},IWa=function(a){if(a&1){var b=u();F(0,"button",20);M("click",function(){v(b);var c=O().$implicit,d=O(5);c.type==="HOTLIST"?d.location.setUrl(zo.editHotlist.makeHref(c.id)):d.location.setUrl(d.paths.editSavedSearch(c.id));return x()});R(1," Settings ");G();C(2,GWa,2,0,"button",21)(3,HWa,2,0,"button",21)}a&2&&(a=O().$implicit,z(2),D("ngIf",a.isUnstarable()),z(),D("ngIf",!a.isPreferredHomepage()))},JWa=function(a,b){if(a&1){var c=u();F(0,"li",24)(1,"a",25);M("click",function(d){var e=
v(c).$implicit,f=O(5);return x(f.onAnchorClick(e.href,d))});F(2,"span",15);R(3);G()();C(4,FWa,2,1,"button",26);F(5,"mat-menu",null,5);C(7,IWa,4,2,"ng-template",17);G()()}a&2&&(a=b.$implicit,b=O(2).$implicit,Kf("selected-indented",a.isSelected())("bv2-bookmark-group-hotlist-item",a.type=="HOTLIST")("bv2-bookmark-group-saved-search-item",a.type=="SAVED_SEARCH"),fla("id","bv2-user-hotlists-bg-",b.id,"-",a.type,"-",a.id,""),D("title",a.getDisplayName()),z(),D("href",a.href,Qe),z(2),S(" ",a.getDisplayName(),
" "),z(),D("ngIf",b))},KWa=function(a){a&1&&(F(0,"ul",22),C(1,JWa,8,14,"li",23),G());a&2&&(a=O().$implicit,z(),D("ngForOf",a.items))},LWa=function(a,b){a&1&&(F(0,"li",12)(1,"sidebar-zippy",13),C(2,EWa,7,4,"ng-template",null,2,yg)(4,KWa,2,1,"ng-template",null,3,yg),G()());if(a&2){a=b.$implicit;b=Q(3);var c=Q(5);D("title",a.name);z();D("header",b)("content",c)("expanded",!1)}},MWa=function(a){a&1&&(F(0,"ul",10),C(1,LWa,6,4,"li",11),G());a&2&&(a=O(2),z(),D("ngForOf",a.bookmarkGroups))},NWa=function(a){a&
1&&C(0,MWa,2,1,"ul",9);a&2&&(a=O(),D("ngIf",a.bookmarkGroups))},OWa=function(a){if(a&1){var b=u();F(0,"span");R(1,"Hotlists");G();F(2,"b-hotlist-search-popup",5);M("itemSelect",function(c){v(b);var d=O();d.analytics.trackEvent("hotlistSearch","goToHotlist");d.location.setUrl(c.href);return x()})("click",function(c){v(b);return x(c.stopPropagation())});G()}a&2&&(z(2),D("showGroups",!1))},PWa=function(a){a&1&&(F(0,"button",14),H(1,"mat-icon",15),G());a&2&&(O(),a=Q(6),D("matMenuTriggerFor",a))},QWa=
function(a){if(a&1){var b=u();F(0,"button",17);M("click",function(){v(b);var c=O(2).$implicit,d=O(3);return x(d.addToMissionControl(c.id))});H(1,"mat-icon",19);R(2," Add to 'Home' screen ");G()}},RWa=function(a){if(a&1){var b=u();F(0,"button",17);M("click",function(){v(b);var c=O(2).$implicit;return x(c.setAsPreferredHomepage())});H(1,"mat-icon",20);R(2," Set as preferred homepage ");G()}},SWa=function(a){if(a&1){var b=u();F(0,"button",17);M("click",function(){v(b);var c=O(2).$implicit;return x(c.unstar())});
H(1,"mat-icon",21);R(2," Unstar ");G()}},TWa=function(a){if(a&1){var b=u();C(0,QWa,3,0,"button",16)(1,RWa,3,0,"button",16);F(2,"button",17);M("click",function(){v(b);var d=O().$implicit,e=O(3);return x(e.openEditHotlist(d.id))});H(3,"mat-icon",18);R(4," Settings ");G();C(5,SWa,3,0,"button",16)}if(a&2){a=O().$implicit;var c=O(3);D("ngIf",c.ENABLE_MISSION_CONTROL);z();D("ngIf",!a.isPreferredHomepage());z(4);D("ngIf",a.isUnstarable())}},UWa=function(a,b){if(a&1){var c=u();F(0,"li",9)(1,"a",10);M("click",
function(d){var e=v(c).$implicit,f=O(3);return x(f.onAnchorClick(e.href,d))});F(2,"span",11);R(3);G()();C(4,PWa,2,1,"button",12);F(5,"mat-menu",null,2);C(7,TWa,6,3,"ng-template",13);G()()}a&2&&(a=b.$implicit,Kf("selected",a.isSelected()),Zf("id","bv2-user-hotlists-hotlist-item-",a.id,""),D("title",a.name),z(),D("href",a.href,Qe),z(2),lg(a.name),z(),D("ngIf",a))},VWa=function(a){a&1&&(F(0,"ul",7),C(1,UWa,8,8,"li",8),G());a&2&&(a=O(2),z(),D("ngForOf",a.hotlists))},WWa=function(a){a&1&&C(0,VWa,2,1,"ul",
6);a&2&&(a=O(),D("ngIf",a.hotlists))},XWa=function(a){a&1&&(F(0,"span"),R(1,"Saved searches"),G())},YWa=function(a){if(a&1){var b=u();F(0,"button",15);M("click",function(){v(b);var c=O(2).$implicit,d=O(3);return x(d.addToMissionControl(c.id))});H(1,"mat-icon",18);R(2," Add to 'Home' screen ");G()}},ZWa=function(a){if(a&1){var b=u();F(0,"button",15);M("click",function(){v(b);var c=O(2).$implicit;return x(c.setAsPreferredHomepage())});H(1,"mat-icon",19);R(2," Set as preferred homepage ");G()}},aXa=
function(a){if(a&1){var b=u();C(0,YWa,3,0,"button",14)(1,ZWa,3,0,"button",14);F(2,"button",15);M("click",function(){v(b);var d=O().$implicit,e=O(3);return x(e.openEditSavedSearch(d.id))});H(3,"mat-icon",16);R(4," Settings ");G();F(5,"button",15);M("click",function(){v(b);var d=O().$implicit,e=O(3);return x($Wa(e,d))});H(6,"mat-icon",17);R(7," Delete ");G()}if(a&2){a=O().$implicit;var c=O(3);D("ngIf",c.ENABLE_MISSION_CONTROL);z();D("ngIf",!a.isPreferredHomepage())}},bXa=function(a,b){if(a&1){var c=
u();F(0,"li",8)(1,"a",9);M("click",function(d){var e=v(c).$implicit,f=O(3);return x(f.onAnchorClick(e.href,d))});F(2,"span",10);R(3);G()();F(4,"button",11);H(5,"mat-icon",12);G();F(6,"mat-menu",null,2);C(8,aXa,8,2,"ng-template",13);G()()}a&2&&(a=b.$implicit,b=Q(7),Kf("selected",a.isSelected()),Df("id","bv2-saved-searches-search-item-",a.id,""),D("title",a.name),z(),D("href",a.href,Qe),z(2),lg(a.name),z(),D("matMenuTriggerFor",b))},cXa=function(a){a&1&&(F(0,"ul",6),C(1,bXa,9,8,"li",7),G());a&2&&(a=
O(2),z(),D("ngForOf",a.searches))},dXa=function(a){a&1&&C(0,cXa,2,1,"ul",5);a&2&&(a=O(),D("ngIf",a.searches))},eXa=function(a,b){a&1&&H(0,"mat-icon",28);a&2&&(a=b.$implicit,D("matBadge",a>99?"99+":a)("matBadgeHidden",a===0)("matBadgeDescription","Badge indicating "+a+" tasks need attention"))},fXa=function(a){a&1&&H(0,"mat-icon",29)},gXa=function(a){a&1&&(F(0,"button",30),H(1,"mat-icon",31),G());a&2&&(O(),a=Q(12),D("matMenuTriggerFor",a))},iXa=function(a){if(a&1){var b=u();F(0,"button",32);M("click",
function(){v(b);var c=O(2);hXa(c,"MISSION_CONTROL");return x()});R(1," Set as homepage ");G()}},jXa=function(a){if(a&1){var b=u();K(0);F(1,"li",25)(2,"a",11);M("click",function(d){v(b);var e=O();e.onAnchorClick(e.missionControlPath,d);return x()});C(3,eXa,1,3,"mat-icon",26);T(4,"async");T(5,"async");C(6,fXa,1,0,"ng-template",null,1,yg);R(8," Home ");G();C(9,gXa,2,1,"button",27);T(10,"async");F(11,"mat-menu",null,2);C(13,iXa,2,0,"ng-template",13);G()();L()}if(a&2){a=Q(7);var c=O();z();Kf("selected",
!!c.location.path().match(/^\/home\b/));z();D("href",c.missionControlPath,Qe);z();D("ngIf",!V(4,6,c.hideBadgeInNav$)&&V(5,8,c.missionControlTaskCount$))("ngIfElse",a);z(6);D("ngIf",!V(10,10,c.isHomepageMissionControl$))}},kXa=function(a){a&1&&(K(0),F(1,"button",33),H(2,"mat-icon",31),G(),L());a&2&&(O(),a=Q(13),z(),D("matMenuTriggerFor",a))},lXa=function(a){if(a&1){var b=u();F(0,"button",32);M("click",function(){v(b);var c=O();hXa(c,"ASSIGNED_TO_ME");return x()});R(1," Set as homepage ");G()}},mXa=
function(a){if(a&1){var b=u();F(0,"li")(1,"a",11);M("click",function(c){v(b);var d=O();return x(d.onAnchorClick(d.votedPath,c))});H(2,"mat-icon",34);R(3," Upvoted by me ");G()()}a&2&&(a=O(),Kf("selected",a.appSearchState.currentQuery==="vote:true"),z(),D("href",a.votedPath,Qe))},oXa=function(a){a&1&&(F(0,"ul",35)(1,"li")(2,"a",24),H(3,"mat-icon",36),R(4," Triage "),G()()());a&2&&(a=O(3),z(),Kf("selected",nXa(a)),z(),D("href",a.ROUTES.overviewTriage.makeHref(),Qe))},pXa=function(a){a&1&&(F(0,"ul",
35)(1,"li")(2,"a",24),H(3,"mat-icon",36),R(4," Triage "),G()()());if(a&2){a=O();var b=O(2);z();Kf("selected",nXa(b));z();D("href",b.ROUTES.viewTriage.makeHref(a[0].teamId),Qe)}},qXa=function(a){a&1&&R(0,"Triage")},rXa=function(a,b){a&1&&(F(0,"li")(1,"a",40),R(2),G()());if(a&2){a=b.$implicit;b=O(5);var c=a.teamId;nXa(b)?(c=new RegExp("\\b"+c+"\\b"),c=!!b.location.path().match(c)):c=!1;Kf("selected",c);z();ag("title","",a.name," [",a.teamId,"]");D("href",b.ROUTES.viewTriage.makeHref(a.teamId),Qe);z();
S(" ",a.name," ")}},sXa=function(a){a&1&&(F(0,"ul",38),C(1,rXa,3,7,"li",39),G());a&2&&(a=O(2),z(),D("ngForOf",a))},tXa=function(a){a&1&&(H(0,"hr"),F(1,"sidebar-zippy",37),C(2,qXa,1,0,"ng-template",null,3,yg)(4,sXa,2,1,"ng-template",null,4,yg),G());if(a&2){a=Q(3);var b=Q(5);z();D("header",a)("content",b)}},uXa=function(a,b){a&1&&C(0,oXa,5,3,"ul",35)(1,pXa,5,3,"ul",35)(2,tXa,6,2);if(a&2){var c;Of((c=b.length)===0?0:c===1?1:2)}},wXa=function(a){a&1&&(C(0,uXa,3,1),T(1,"async"));if(a&2){var b;a=O();Of((b=
(b=V(1,1,a.starredTeams$))!==null&&b!==void 0?b:tg(3,vXa))?0:-1,b)}},xXa=function(a){a&1&&(K(0),H(1,"mat-icon",12),L())},yXa=function(a){if(a&1){var b=u();K(0);F(1,"button",13);M("mousedown",function(c){v(b);var d=O();return x(d.back(c))});H(2,"mat-icon",14);G();L()}},zXa=function(a){if(a&1){var b=u();K(0);F(1,"button",15);M("mousedown",function(c){v(b);var d=O();return x(d.expand(d.componentOption,c))});H(2,"mat-icon",16);G();L()}a&2&&(a=O(),z(),D("matTooltip","View child components of "+a.componentOption.name),
Bf("aria-label","View child components of "+a.componentOption.name),z(),D("svgIcon",a.showFolderSpecialIcon?"folder_special_24px":"folder"))},AXa=function(a){if(a&1){var b=u();K(0);F(1,"a",19);T(2,"toString");T(3,"boldPrefixMatches");M("mousedown",function(d){v(b);var e=O().$implicit;O(2).selectComponentId.emit(e.id);d.preventDefault();d.stopPropagation();return x()});G();L()}if(a&2){a=O().$implicit;var c=O(2);z();D("innerHtml",xg(3,3,V(2,1,a.name),c.query),Pe)}},BXa=function(a){a&1&&R(0);a&2&&(a=
O().$implicit,S(" ",a.name," "))},CXa=function(a){a&1&&(K(0),R(1,"\u00a0>\u00a0"),L())},DXa=function(a,b){a&1&&(K(0),C(1,AXa,4,6,"ng-container",8)(2,BXa,1,1,"ng-template",null,1,yg)(4,CXa,2,0,"ng-container",18),L());if(a&2){a=b.$implicit;b=b.last;var c=Q(3);z();D("ngIf",a.name!=a.id)("ngIfElse",c);z(3);D("ngIf",!b)}},EXa=function(a){a&1&&(K(0),C(1,DXa,5,3,"ng-container",17),L());a&2&&(a=O(),z(),D("ngForOf",a.componentOption.componentPath))},FXa=function(a,b){if(a&1){var c=u();K(0);F(1,"a",20);M("mousedown",
function(d){var e=v(c).ngIf;O(2).selectComponentId.emit(e.id);d.preventDefault();d.stopPropagation();return x()});R(2);G();L()}a&2&&(a=b.ngIf,z(2),S(" ",a.name," "))},GXa=function(a){a&1&&C(0,FXa,3,1,"ng-container",18);a&2&&(a=O(),D("ngIf",a.componentOption.componentPath[a.componentOption.componentPath.length-1]))},HXa=function(a){a&1&&(F(0,"span",21),R(1," [Archived] "),G())},IXa=function(a){return{type:"team",id:a.teamId,name:a.name,description:a.description,pathNames:a.pathNames,pathIds:a.pathIds,
expanded:!1}},JXa=function(a){return{type:"team",id:a.id,name:a.name,description:a.description,expanded:!1}},KXa=function(a,b){var c,d=(c=b==null?void 0:b.componentPathId)!=null?c:[],e,f=(e=b==null?void 0:b.componentPathName)!=null?e:[];b=d.map(function(h,k){return{id:h,name:f[k],pathText:f.slice(0,k+1).join(" > ")}});return{type:"component",id:a.componentId,name:a.name,description:a.description,accessLimit:a.accessLimit,archived:a.archived,componentPath:b,trackerId:a.trackerId}},LXa=function(a){return new Map([].concat(r(a.entries())).map(function(b){var c=
l(b);b=c.next().value;c=c.next().value;return[b,c.map(JXa)]}))},MXa=function(a){a&1&&H(0,"img",8);a&2&&(a=O(),Bf("src",a.getLogoUrl(),Qe))},NXa=function(a){a&1&&(F(0,"span",12),R(1,"no components"),G())},OXa=function(a){a&1&&(F(0,"div",9),H(1,"div",10),T(2,"boldPrefixMatches"),C(3,NXa,2,0,"span",11),G());a&2&&(a=O(),z(),D("innerHtml",xg(2,2,a.teamOption.name,a.query),Pe),z(2),D("ngIf",a.hasNoComponent))},PXa=function(a){if(a&1){var b=u();K(0);F(1,"a",16);M("mousedown",function(c){v(b);var d=O(2).index,
e=O(2);d=e.teamOption.pathIds==null?null:e.teamOption.pathIds[d];c.preventDefault();c.stopPropagation();d&&e.selectTeamId.emit(d);return x()});R(2);G();L()}a&2&&(a=O(2).$implicit,z(2),lg(a))},QXa=function(a){a&1&&R(0);a&2&&(a=O(2).$implicit,lg(a))},RXa=function(a){a&1&&(K(0),C(1,PXa,3,1,"ng-container",15)(2,QXa,1,1,"ng-template",null,1,yg),K(4),R(5," \u00b7 "),L()());if(a&2){a=Q(3);var b=O(3);z();D("ngIf",b.allowSegmentSelection)("ngIfElse",a)}},SXa=function(a){a&1&&(K(0),F(1,"strong",17),R(2),G(),
L());a&2&&(a=O(2).$implicit,z(2),lg(a))},TXa=function(a){a&1&&R(0);a&2&&(a=O(2).$implicit,lg(a))},UXa=function(a){a&1&&C(0,SXa,3,1,"ng-container",15)(1,TXa,1,1,"ng-template",null,2,yg);if(a&2){a=Q(2);var b=O(3);D("ngIf",b.compact)("ngIfElse",a)}},VXa=function(a,b){a&1&&(K(0),C(1,RXa,6,2,"ng-container",15)(2,UXa,3,2,"ng-template",null,0,yg),L());a&2&&(a=b.last,b=Q(3),z(),D("ngIf",!a)("ngIfElse",b))},WXa=function(a){a&1&&(F(0,"div",13),C(1,VXa,4,2,"ng-container",14),G());a&2&&(a=O(),z(),D("ngForOf",
a.teamOption.pathNames))},XXa=function(a){a&1&&H(0,"div",2)},YXa=function(){var a=Yc(gh),b=a?a.location:null;return{getPathname:function(){return b?b.pathname+b.search:""}}},ZXa=function(a){if(a&1){var b=u();F(0,"button",12);M("mousedown",function(c){v(b);O().clearQuery();return x(Kp(c))});H(1,"mat-icon",13);G()}},$Xa=function(a){a&1&&(F(0,"div",15),R(1," Checking for admin access... "),G())},aYa=function(a){a&1&&(F(0,"div",17),R(1," You do not have admin access to this component. "),F(2,"a",18),
R(3,"View component admins"),G()());a&2&&(a=O(3),z(2),D("href",zo.editComponentAccess.makeHref(a.selectedComponent.componentId),Qe))},bYa=function(a){a&1&&C(0,aYa,4,1,"div",16);a&2&&(a=O(2),D("ngIf",!a.hasAccess&&a.selectedComponent))},cYa=function(a){a&1&&(F(0,"div"),C(1,$Xa,2,0,"div",14)(2,bYa,1,1,"ng-template",null,5,yg),G());if(a&2){a=Q(3);var b=O();z();D("ngIf",b.checkingAccess)("ngIfElse",a)}},dYa=function(a){a&1&&H(0,"mat-progress-bar",25)},eYa=function(a){a&1&&(K(0),R(1,"s"),L())},gYa=function(a,
b){if(a&1){var c=u();K(0);F(1,"div",31);M("mousedown",function(e){var f=v(c).$implicit,h=O(5);fYa(h.searchState,f);return x(Kp(e))});F(2,"team-row",32);M("selectTeamId",function(e){v(c);var f=O(5);return x(Lp(f.searchState,e))});G()();L()}if(a&2){a=b.$implicit;b=O(5);var d=Q(3);z();D("data",a);z();D("teamOption",a)("query",d.value)("hasNoComponent",b.searchState.hasNoComponent(a.id))}},hYa=function(a){a&1&&(F(0,"div",28)(1,"div",29),R(2," Filter components by my teams "),F(3,"span"),R(4),C(5,eYa,
2,0,"ng-container",11),G()(),C(6,gYa,3,4,"ng-container",30),H(7,"mat-divider"),G());a&2&&(a=O().ngIf,z(4),S("",a.length," team"),z(),D("ngIf",a.length>1),z(),D("ngForOf",a))},iYa=function(a,b){a&1&&(K(0),C(1,hYa,8,3,"div",27),L());a&2&&(a=b.ngIf,z(),D("ngIf",a.length))},jYa=function(a){a&1&&Sf(0)},lYa=function(a){a&1&&(K(0),C(1,iYa,2,1,"ng-container",11),T(2,"async"),C(3,jYa,1,0,"ng-container",26),L());if(a&2){a=O(2);var b=Q(12);z();D("ngIf",V(2,3,a.searchState.myTeams$));z(2);D("ngTemplateOutlet",
b)("ngTemplateOutletContext",ug(5,kYa,a.searchState.recentComponents))}},mYa=function(a){a&1&&(K(0),R(1,"s"),L())},nYa=function(a){a&1&&Sf(0)},qYa=function(a,b){a&1&&(K(0),C(1,nYa,1,0,"ng-container",26),L());if(a&2){a=b.$implicit;b=b.index;O(5);var c=Q(10);z();D("ngTemplateOutlet",c)("ngTemplateOutletContext",vg(4,oYa,a,ug(2,pYa,b)))}},rYa=function(a){if(a&1){var b=u();F(0,"button",34);M("mousedown",function(){v(b);var c=O(5);return x(c.searchState.showAllTeams$.next(!0))});H(1,"mat-icon",35);R(2,
" Show all teams ");G()}},sYa=function(a,b){a&1&&(F(0,"div",28)(1,"div",29),R(2," Filter components by teams "),F(3,"span"),R(4),C(5,mYa,2,0,"ng-container",11),G()(),C(6,qYa,2,7,"ng-container",30),T(7,"async"),C(8,rYa,3,0,"button",33),T(9,"async"),H(10,"mat-divider"),G());a&2&&(a=b.ngIf,b=O(4),z(4),S("",a," team"),z(),D("ngIf",a>1),z(),D("ngForOf",V(7,4,b.searchState.filteredTeamOptions$)),z(2),D("ngIf",V(9,6,b.searchState.hasHiddenTeams$)))},tYa=function(a,b){a&1&&(K(0),C(1,sYa,11,8,"div",27),L());
a&2&&(a=b.ngIf,z(),D("ngIf",a.length))},uYa=function(a){a&1&&Sf(0)},wYa=function(a){a&1&&(K(0),C(1,tYa,2,1,"ng-container",11),T(2,"async"),C(3,uYa,1,0,"ng-container",26),L());if(a&2){a=O(2);var b=Q(12);z();D("ngIf",V(2,3,a.searchState.teamOptions$));z(2);D("ngTemplateOutlet",b)("ngTemplateOutletContext",ug(5,vYa,a.searchState.componentOptions))}},xYa=function(a){a&1&&Sf(0)},zYa=function(a,b){a&1&&(K(0),C(1,xYa,1,0,"ng-container",26),L());if(a&2){a=b.$implicit;b=b.index;O(7);var c=Q(10);z();D("ngTemplateOutlet",
c)("ngTemplateOutletContext",vg(4,oYa,a,ug(2,yYa,b)))}},AYa=function(a){a&1&&(F(0,"div",43),C(1,zYa,2,7,"ng-container",30),G());a&2&&(a=O(2).ngIf,z(),D("ngForOf",a))},DYa=function(a){if(a&1){var b=u();K(0);C(1,AYa,2,1,"div",42);F(2,"button",34);M("mousedown",function(c){v(b);var d=O(5),e=d.searchState.teamScope$.value;e.expanded?BYa(d.searchState,e):CYa(d.searchState,e);return x(Kp(c))});H(3,"mat-icon",35);R(4);G();L()}a&2&&(a=O(5),z(),D("ngIf",a.searchState.teamScope$.value.expanded),z(2),Kf("expanded",
a.searchState.teamScope$.value.expanded),z(),S(" ",a.searchState.teamScope$.value.expanded?"Hide":"Show"," child teams "))},EYa=function(a,b){a&1&&(K(0),C(1,DYa,5,4,"ng-container",11),L());a&2&&(a=b.ngIf,z(),D("ngIf",a.length))},HYa=function(a){if(a&1){var b=u();F(0,"div",37)(1,"div",29);R(2," Filtering by team: ");G();F(3,"div",38)(4,"team-row",39);M("selectTeamId",function(d){v(b);var e=O(3);return x(Lp(e.searchState,d))});G();F(5,"button",40);M("mousedown",function(d){v(b);var e=O(3);FYa(e.searchState);
return x(Kp(d))});H(6,"mat-icon",41);G()();C(7,EYa,2,1,"ng-container",11);G()}if(a&2){a=O(3);var c=Q(3);z(3);D("data",a.searchState.teamScope$.value)("listOrder",tg(7,GYa));z();D("teamOption",a.searchState.teamScope$.value)("query",c.value)("compact",!0)("allowSegmentSelection",!0);z(3);D("ngIf",a.searchState.getChildTeams(a.searchState.teamScope$.value.id))}},IYa=function(a){a&1&&Sf(0)},KYa=function(a){a&1&&(K(0),C(1,HYa,8,8,"div",36)(2,IYa,1,0,"ng-container",26),L());if(a&2){a=O(2);var b=Q(12);
z();D("ngIf",a.searchState.teamScope$.value);z();D("ngTemplateOutlet",b)("ngTemplateOutletContext",vg(3,JYa,a.searchState.componentOptions,a.searchState.teamScope$.value))}},NYa=function(a){if(a&1){var b=u();F(0,"div",45)(1,"div",46);R(2,"Component Tree Browser");G();F(3,"component-row",47);M("goBack",function(){v(b);var c=O(3);return x(LYa(c.searchState))})("selectComponentId",function(c){v(b);var d=O(3);return x(MYa(d.searchState,c))});G()()}a&2&&(a=O(3),z(3),D("componentOption",a.searchState.componentScope))},
OYa=function(a){a&1&&Sf(0)},QYa=function(a){a&1&&(K(0),C(1,NYa,4,1,"div",44)(2,OYa,1,0,"ng-container",26),L());if(a&2){a=O(2);var b=Q(12);z();D("ngIf",a.searchState.componentScope);z();D("ngTemplateOutlet",b)("ngTemplateOutletContext",ug(3,PYa,a.searchState.componentOptions))}},RYa=function(a){if(a&1){var b=u();F(0,"div",19,6);M("mousedown",function(c){v(b);O();return x(Kp(c))});F(2,"div",20);C(3,dYa,1,0,"mat-progress-bar",21);G();F(4,"div",22);K(5,23);T(6,"async");C(7,lYa,4,7,"ng-container",24)(8,
wYa,4,7,"ng-container",24)(9,KYa,3,6,"ng-container",24)(10,QYa,3,5,"ng-container",24);L();G()()}a&2&&(a=O(),z(3),D("ngIf",a.isLoading()),z(2),D("ngSwitch",V(6,6,a.searchState.state$)),z(2),D("ngSwitchCase","default"),z(),D("ngSwitchCase","global"),z(),D("ngSwitchCase","team_scope"),z(),D("ngSwitchCase","component_scope"))},SYa=function(a){if(a&1){var b=u();F(0,"button",51);M("mousedown",function(c){v(b);var d=O().team,e=O();d.expanded?BYa(e.searchState,d):CYa(e.searchState,d);return x(Kp(c))});H(1,
"mat-icon",52);G()}a&2&&(a=O().team,z(),Kf("expanded",a.expanded))},TYa=function(a){a&1&&Sf(0)},VYa=function(a,b){a&1&&(K(0),C(1,TYa,1,0,"ng-container",26),L());if(a&2){a=b.$implicit;b=b.index;var c=O(2),d=c.level;c=c.order;O();var e=Q(10);z();D("ngTemplateOutlet",e)("ngTemplateOutletContext",wg(2,UYa,a,d+1,c.concat(b)))}},WYa=function(a){a&1&&(K(0),C(1,VYa,2,6,"ng-container",30),L());if(a&2){a=O().team;var b=O();z();D("ngForOf",b.searchState.getChildTeams(a.id))}},XYa=function(a,b){if(a&1){var c=
u();F(0,"div",48);M("mousedown",function(h){var k=v(c).team,q=O();fYa(q.searchState,k);return x(Kp(h))});F(1,"div",49);C(2,SYa,2,2,"button",50);F(3,"team-row",32);M("selectTeamId",function(h){v(c);var k=O();return x(Lp(k.searchState,h))});G()()();C(4,WYa,2,1,"ng-container",11)}if(a&2){a=b.team;var d=b.level;b=b.order;var e=O(),f=Q(3);D("listOrder",b)("data",a);z();Jf("margin-left",d*28,"px");z();D("ngIf",e.searchState.getChildTeams(a.id).length);z();Kf("indent",!e.searchState.getChildTeams(a.id).length);
D("teamOption",a)("query",f.value)("hasNoComponent",e.searchState.hasNoComponent(a.id));z();D("ngIf",a.expanded)}},YYa=function(a){a&1&&(K(0),R(1,"s"),L())},$Ya=function(a,b){if(a&1){var c=u();F(0,"div",56);M("mousedown",function(f){var h=v(c).$implicit,k=O(3);ZYa(k.searchState,h.id);return x(Kp(f))});F(1,"component-row",57);M("selectComponentId",function(f){v(c);var h=O(3);return x(ZYa(h.searchState,f))})("expandComponent",function(f){v(c);var h=O(3);return x(h.searchState.expandComponent(f))});
G()()}if(a&2){a=b.$implicit;b=O(2).mode;var d=O(),e=Q(3);D("data",a);z();D("showFolderSpecialIcon",kp(d.activeSession))("componentOption",a)("query",e.value)("mode",b)}},aZa=function(a,b){a&1&&(F(0,"div",54)(1,"div",29),R(2),F(3,"span"),R(4),C(5,YYa,2,0,"ng-container",11),G()(),C(6,$Ya,2,5,"div",55),G());if(a&2){a=b.ngIf;var c=O();b=c.$implicit;c=c.mode;z(2);S(" ",c==="recent"?"Select recent component":"Select component"," ");z(2);S("",a," component");z();D("ngIf",a>1);z();D("ngForOf",b)}},bZa=function(a){a&
1&&(K(0),R(1," No recent components "),L())},cZa=function(a){a&1&&(K(0),R(1," No child components "),L())},dZa=function(a){a&1&&(K(0),R(1),H(2,"mat-icon",61),R(3," above ("),F(4,"a",62),R(5,"learn more "),H(6,"mat-icon",63),G(),R(7," about team associations)"),L());a&2&&(a=O(4).teamScope,z(),S(" for ",a.name,". Remove the team filter by clicking on the "))},eZa=function(a){a&1&&(K(0),R(1," No components found "),C(2,dZa,8,1,"ng-container",11),L());a&2&&(a=O(3).teamScope,z(2),D("ngIf",a))},fZa=function(a){a&
1&&(F(0,"div",59),K(1,23),C(2,bZa,2,0,"ng-container",24)(3,cZa,2,0,"ng-container",24)(4,eZa,3,1,"ng-container",60),L(),G());a&2&&(a=O(2).mode,z(),D("ngSwitch",a),z(),D("ngSwitchCase","recent"),z(),D("ngSwitchCase","leaf"))},gZa=function(a){a&1&&C(0,fZa,5,3,"div",58);a&2&&(a=O(2),D("ngIf",!(a.componentLoading||a.searchState.componentsLoading)))},hZa=function(a,b){a&1&&C(0,aZa,7,4,"div",53)(1,gZa,1,1,"ng-template",null,7,yg);a&2&&(a=b.$implicit,b=Q(2),D("ngIf",a.length)("ngIfElse",b))},iZa=function(a,
b){b=l([a.listOrder,b.listOrder]);a=b.next().value;b=b.next().value;for(var c=0;c<Math.min(a.length,b.length);c++)if(a[c]!==b[c])return a[c]-b[c];return a.length-b.length},jZa=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},
kZa=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)},mZa=function(a,b,c){b=b===void 0?"#ccc":b;c=c===void 0?400:c;lZa++;var d=156;d+=(lZa-1)*12;return function(e){e=e===void 0?b:e;var f,h=(f=document.getElementById(a))!=null?f:jZa(a,d);kZa(h,e,c)}},yZa=function(a,b){b=b===void 0?[]:b;var c=c===void 0?{}:c;if(a==null)return"(undefined)";var d=a.snapshot[0],e,f=(e=b[0])!=null?e:a.description;b=b.slice(1);
b.sort(function(h,k){return k.modifiedDate-h.modifiedDate});return["## "+d.title,"ID: http://b/"+a.issueId,"Priority: "+d.priority,"Status: "+d.status,"Modified: "+yo(a.majorModifiedTimeMicros/1E3/1E3),nZa(a),oZa(a),pZa(a,c),qZa(a),rZa(a),sZa(a),tZa(a),uZa(a),vZa(f),wZa(a),xZa(b)].filter(Boolean).join("\n").trim()+"\n\n---\n\n"},pZa=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(", ")},xZa=function(a){if(a.length!==
0){var b=a.map(zZa).filter(Boolean).join("\n\n");return"\n### Comments ("+a.length+")\n"+b}},AZa=function(a,b){b=b===void 0?300:b;if(a!=null)return a=a.replaceAll(/\n/g," "),a=iHa(a,b)},zZa=function(a){if(a!=null){var b=AZa(a.unlinkifiedComment);if(b!=null){var c,d=(c=a.lastCommentEditorUser)==null?void 0:c.emailAddress;a=yo(a.modifiedDate/1E3);return d+": "+b+" ("+a+")"}}},vZa=function(a){if(a!=null&&(a=AZa(a.unlinkifiedComment,600),a!=null))return"\n### Description\n"+a},sZa=function(a){a=a.descendantCount;
if(!(a<=0))return"Descendant count: "+a},qZa=function(a){var b;a=((b=l(a.snapshot).next().value.blockingIssueId)!=null?b:[]).length;if(!(a<=0))return"Blocking "+a+" issue(s)"},rZa=function(a){var b;a=((b=l(a.snapshot).next().value.blockedByIssueId)!=null?b:[]).length;if(!(a<=0))return"Blocked by "+a+" issue(s)"},nZa=function(a){var b;return(a=((b=l(a.snapshot).next().value.assigneeUser)!=null?b:{}).emailAddress)?"Assignee: "+a:void 0},oZa=function(a){var b;return(a=((b=l(a.snapshot).next().value.reporterUser)!=
null?b:{}).emailAddress)?"Reporter: "+a:void 0},tZa=function(a){var b,c;a=(c=(b=a.aggregatedData)==null?void 0:b.voteCount)!=null?c:0;if(!(a<=0))return"Upvotes: "+a},wZa=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=yo((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+")"}},uZa=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},BZa=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():"")},CZa=function(a,b){if(a&1){var c=u();K(0);F(1,"iframe",6);M("load",function(){v(c);var d=O();return x(d.contentLoaded=!0)});G();L()}a&2&&(a=b.$implicit,b=O(),z(),Kf("loading",!b.contentLoaded),D("src",a,Wia))},DZa=function(a){a&1&&H(0,"mat-spinner",7)},FZa=function(a){return EZa.some(function(b){return b.test(a)})},
JZa=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&&GZa.includes(d)?d:c&&GZa.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))?Bh(HZa,a):Bh(IZa,a,d)},LZa=function(a,b,c,d){if(KZa)return KZa;var e=JZa(a,d);return KZa=b.feedbackV2GlobalObject?Promise.resolve(b.feedbackV2GlobalObject):
new Promise(function(f,h){var k=Cp(document,"SCRIPT");Fc(k,e);k.onload=function(){b.feedbackV2GlobalObject?f(b.feedbackV2GlobalObject):h("feedbackV2GlobalObject not found on window.")};k.onerror=function(){h("Feedback binary script tag failed to load: "+e.toString())};c.body.appendChild(k)})},NZa=function(a,b,c,d){if(MZa)return MZa;var e=JZa(a,d);return MZa=b.feedbackV2GlobalObject?Promise.resolve(b.feedbackV2GlobalObject):new Promise(function(f,h){var k=Cp(document,"SCRIPT");Fc(k,e);k.onload=function(){b.feedbackV2GlobalObject?
f(b.feedbackV2GlobalObject):h("feedbackV2GlobalObject not found on window.")};k.onerror=function(){h("Feedback binary script tag failed to load: "+e.toString())};c.body.appendChild(k)})},OZa=function(a,b,c,d,e){e=e===void 0?!0:e;var f,h,k,q,t;return fe(function(w){switch(w.nextAddress){case 1:return f=Date.now(),he(w,LZa(a,c,d,b),2);case 2:h=w.yieldResult;if(!(e||((q=a.initializationData)==null?0:q.useNightlyRelease)||((t=a.initializationData)==null?0:t.isLocalServer))){k=h.initializeFeedbackClient(a,
f,b);w.jumpTo(3);break}return he(w,h.initializeFeedbackClientAsync(a,f,b),4);case 4:k=w.yieldResult;case 3:return k.initiateAloha(),w.return(k)}})},PZa=function(a,b,c,d){var e,f,h;return fe(function(k){if(k.nextAddress==1)return e=Date.now(),he(k,NZa(a,c,d.document,b),2);if(k.nextAddress!=3)return f=k.yieldResult,he(k,f.initializeFeedbackClientAsync(a,e,b,d),3);h=k.yieldResult;h.initiateAloha();return k.return(h)})},QZa=function(a,b,c){var d=!0;d=d===void 0?!0:d;var e,f,h,k,q,t,w,B,E,I;return fe(function(J){e=
c||Aa;if((f=b)==null?0:(k=(h=f).getEnableAlohaBinarySplit)==null?0:k.call(h)){q=e;if(q.isFormOpened)throw t=Error("ie"),t.name="DuplicateFormError",t;q.isFormOpened=!0;a.callbacks=a.callbacks||{};w=a.callbacks.onClose||function(){};a.callbacks.onClose=function(N){q.isFormOpened=!1;w(N)};try{return J.return(PZa(a,b,q,e))}catch(N){throw q.isFormOpened=!1,N;}}else{B=e;if(B.isFormOpened)throw E=Error("ie"),E.name="DuplicateFormError",E;B.isFormOpened=!0;a.callbacks=a.callbacks||{};I=a.callbacks.onClose||
function(){};a.callbacks.onClose=function(N){B.isFormOpened=!1;I(N)};try{return J.return(OZa(a,b,B,e.document,d))}catch(N){throw B.isFormOpened=!1,N;}}le(J)})},UZa=function(a,b){return fe(function(c){return c.return(new Promise(function(d){var e=RZa(b!=null?b:"")+"/aloha_form_properties?productId="+a;SZa(e,function(f){f=f.target;var h=null;try{h=dra(TZa,JSON.stringify(f.getResponseJson(")]}'\n")))}catch(k){f=new TZa,h=new Mp,h=Kj(h,5,!0),h=Kj(h,2,!0),h=Kj(h,4,!1),h=Kj(h,8,!0),h=Kj(h,9,!0),h=Kj(h,
7,!0),h=Kj(h,10,!0),h=Kj(h,12,!0),h=Kj(h,13,!1),h=Kj(h,14,!0),h=Kj(h,15,!0),h=Kj(h,20,!1),h=oj(f,Mp,1,h)}d(h)},"GET","",{},2E3,!0)}))})},RZa=function(a){return FZa(a)?a:"https://www.google.com/tools/feedback"},VZa=function(a){return a.toLocaleString("en-US",{timeZone:"America/Los_Angeles"})+" (US Pacific time)"},XZa=function(a){if(a&1){var b=u();F(0,"a",8);M("keydown.enter",function(){v(b);var c=O(2);return x(WZa(c))})("keydown.space",function(){v(b);var c=O(2);return x(WZa(c))})("click",function(){v(b);
var c=O(2);return x(WZa(c))});R(1," Dismiss");G()}},YZa=function(a){a&1&&(F(0,"div",4)(1,"div",5),H(2,"span",6),C(3,XZa,2,0,"a",7),G()());a&2&&(a=O(),z(2),D("innerHtml",a.announcement.message,Pe),z(),D("ngIf",a.announcement.dismissible))},$Za=function(a){if(a&1){var b=u();F(0,"b-resizable-sidebar",9);M("widthChanged",function(c){v(b);var d=O();c!==d.matSidebarWidth&&(d.matSidebarWidth=c,ZZa(d,c));return x()});H(1,"b-sidebar");G()}a&2&&(a=O(),D("size",a.matSidebarWidth)("disableToggleBtn",!0))},a_a=
function(a){switch(a){case "COMFORTABLE":return"d-comfort";case "COZY":return"d-cozy";case "COMPACT":return"d-compact";default:return"d-comfort"}},b_a=function(a){a&1&&(F(0,"div",2),R(1," You are about to access a file marked as restricted. Access will be logged and audited. You must delete any downloaded files from local storage when finished. "),F(2,"a",13),R(3," Learn more "),G()());a&2&&(a=O(2),z(2),D("href",a.getRestrictedAccessHelpLink(),Qe))},d_a=function(a){a&1&&(K(0),C(1,b_a,4,1,"div",8),
L());a&2&&(a=O(),z(),D("ngIf",c_a(a)))},e_a=function(a){a&1&&(F(0,"div",2)(1,"span",14),R(2," You do not have access to view this attachment. "),G()())},f_a=function(a){a&1&&H(0,"mat-spinner",15)},h_a=function(a){if(a&1){var b=u();F(0,"button",10);M("click",function(){v(b);var c=O(2),d=new ui;c.date=d;c.dateSelectionChange.emit(d);g_a(c,c.date);c.calendar._getCurrentViewComponent()._focusActiveCell(!1);c.dateChange.emit(c.date);return x(c.saveClicked.emit())});R(1,"Today");G()}},i_a=function(a){if(a&
1){var b=u();F(0,"button",11);M("click",function(){v(b);var c=O(2);c.date=void 0;c.dateSelectionChange.emit(void 0);c.dateChange.emit(c.date);return x(c.saveClicked.emit())});R(1,"None");G()}},j_a=function(a){a&1&&(F(0,"div",1),C(1,h_a,2,0,"button",8)(2,i_a,2,0,"button",9),H(3,"mat-divider"),G());a&2&&(a=O(),z(),D("ngIf",a.todayButtonEnabled),z(),D("ngIf",a.noneButtonEnabled&&!a.required))},k_a=function(a){a&1&&H(0,"b-formatted-date-time",4);a&2&&(a=O(),D("date",a.value))},l_a=function(a){a&1&&(K(0),
R(1,"---"),L())},m_a=function(a,b){if(a&1){var c=u();F(0,"div",9)(1,"mat-checkbox",10);M("change",function(){var d=v(c).$implicit,e=O();e.focusFilterBox();var f=e.valueMap.get(d);f?e.valueMap.set(d,!1):f===!1?(f=e.originalValueMap.get(d)===null,e.valueMap.set(d,f?null:!0)):e.valueMap.set(d,!0);e.onSave.emit({valueMap:e.valueMap,valueChanged:e.valueChanged()});return x()})("click",function(d){v(c);return x(d.stopPropagation())});R(2);G()()}a&2&&(a=b.$implicit,b=O(),D("title",b.getDisplayString(a)),
z(),D("checked",!!b.valueMap.get(a))("indeterminate",b.valueMap.get(a)===null),z(),S(" ",b.getDisplayString(a)," "))},o_a=function(a){if(a&1){var b=u();F(0,"input",11,1);M("keydown",function(c){v(b);var d=O();c.key==="Enter"&&(n_a(d)&&d.addValue(),c.preventDefault());return x()})("click",function(c){v(b);return x(c.stopPropagation())});pg("ngModelChange",function(c){v(b);var d=O();og(d.filterValue,c)||(d.filterValue=c);return x(c)});G()}a&2&&(a=O(),D("type",a.type==="REPEATED_NUMERIC"?"number":"text"),
ng("ngModel",a.filterValue),D("placeholder",a.type==="REPEATED_ENUM"?"Filter values":"Add or filter values"))},p_a=function(a){a&1&&H(0,"mat-divider")},q_a=function(a){if(a&1){var b=u();F(0,"div",12);M("click",function(c){v(b);var d=O();c.stopPropagation();return x(d.addValue())});R(1," Add ");G()}},r_a=function(a){if(a&1){var b=u();F(0,"div")(1,"b-date-time-input",13);pg("valueChange",function(c){v(b);var d=O();og(d.currentSelectedDate,c)||(d.currentSelectedDate=c);return x(c)});G();F(2,"div",14);
M("click",function(c){v(b);var d=O();c.stopPropagation();if(c=d.currentSelectedDate)d.filterValue=c?c.getMonth()+1+"/"+c.getDate()+"/"+c.getFullYear():"",d.addValue(),d.currentSelectedDate=void 0;return x()});R(3," Add ");G()()}a&2&&(a=O(),z(),ng("value",a.currentSelectedDate))},s_a=function(a){if(a&1){var b=u();F(0,"div",6);Gd();F(1,"svg",7);H(2,"path",8);G();Ad.currentNamespace=null;F(3,"input",9,0);M("input",function(){v(b);var c=Q(4),d=O();return x(d.filterText$.next(c.value))});G()()}},t_a=function(a){a&
1&&Sf(0)},v_a=function(a){if(a&1){var b=u();F(0,"div",12);M("click",function(){v(b);var d=O(2);return x(d.select(void 0))});C(1,t_a,1,0,"ng-container",13);G()}if(a&2){O();a=Q(4);var c=O();D("option",void 0);Bf("aria-selected",c.isSelected(void 0));z();D("ngTemplateOutlet",a)("ngTemplateOutletContext",tg(4,u_a))}},w_a=function(a){a&1&&Sf(0)},y_a=function(a){if(a&1){var b=u();F(0,"div",12);M("click",function(){v(b);var e=O().$implicit,f=O(2);return x(f.select(e))});C(1,w_a,1,0,"ng-container",13);G()}if(a&
2){a=O().$implicit;O();var c=Q(4),d=O();D("option",a);Bf("aria-selected",d.isSelected(a));z();D("ngTemplateOutlet",c)("ngTemplateOutletContext",ug(4,x_a,a))}},z_a=function(a,b){a&1&&(K(0),C(1,y_a,2,6,"div",10),L());a&2&&(a=b.$implicit,z(),D("ngIf",a))},A_a=function(a){a&1&&(K(0),R(1),L());a&2&&(a=O(2).$implicit,z(),S(" ",a," "))},B_a=function(a){a&1&&(F(0,"span",15),R(1,"--"),G())},C_a=function(a){a&1&&(K(0),C(1,A_a,2,1,"ng-container",14)(2,B_a,2,0,"ng-template",null,3,yg),L());if(a&2){a=Q(3);var b=
O().$implicit;z();D("ngIf",b!=null)("ngIfElse",a)}},D_a=function(a){a&1&&Sf(0)},E_a=function(a){a&1&&C(0,D_a,1,0,"ng-container",13);if(a&2){a=O().$implicit;var b=O(2);D("ngTemplateOutlet",b.optionTemplate)("ngTemplateOutletContext",ug(2,x_a,a))}},F_a=function(a){a&1&&C(0,C_a,4,2,"ng-container",14)(1,E_a,1,4,"ng-template",null,2,yg);if(a&2){a=Q(2);var b=O(2);D("ngIf",!b.optionTemplate)("ngIfElse",a)}},G_a=function(a,b){a&1&&(K(0),C(1,v_a,2,5,"div",10)(2,z_a,2,1,"ng-container",11)(3,F_a,3,2,"ng-template",
null,1,yg),L());a&2&&(a=b.ngIf,b=O(),z(),D("ngIf",b.includeEmptyOption),z(),D("ngForOf",a))},H_a=function(a){a&1&&Sf(0)},J_a=function(a){a&1&&(K(0),C(1,H_a,1,0,"ng-container",11),L());a&2&&(a=O(),z(),D("ngTemplateOutlet",a.valueTemplate)("ngTemplateOutletContext",ug(2,I_a,a.value)))},K_a=function(a){a&1&&Sf(0)},L_a=function(a){a&1&&(K(0),C(1,K_a,1,0,"ng-container",11),L());a&2&&(a=O(2),z(),D("ngTemplateOutlet",a.optionTemplate)("ngTemplateOutletContext",ug(2,I_a,a.value)))},M_a=function(a){a&1&&C(0,
L_a,2,4,"ng-container",7);if(a&2){a=O();var b=Q(8);D("ngIf",a.optionTemplate)("ngIfElse",b)}},N_a=function(a){a&1&&(K(0),R(1),L());a&2&&(a=O(2),z(),S(" ",a.value," "))},O_a=function(a){a&1&&(F(0,"span",12),R(1,"--"),G())},P_a=function(a){a&1&&C(0,N_a,2,1,"ng-container",7)(1,O_a,2,0,"ng-template",null,4,yg);if(a&2){a=Q(2);var b=O();D("ngIf",b.value!=null)("ngIfElse",a)}},Q_a=function(a){a&1&&(Gd(),F(0,"svg",13),H(1,"path",14),G())},R_a=function(a){a&1&&(F(0,"div"),R(1," The selected issues have no custom fields in common. "),
G())},S_a=function(a){a&1&&(F(0,"span"),R(1,"*"),G())},T_a=function(a){if(a&1){var b=u();F(0,"input",16);pg("ngModelChange",function(c){v(b);var d=O(2).$implicit;og(d.textValue,c)||(d.textValue=c);return x(c)});G()}a&2&&(a=O(2).$implicit,O(),ng("ngModel",a.textValue),Bf("aria-labelledby",Np(a)))},U_a=function(a){if(a&1){var b=u();F(0,"input",17);pg("ngModelChange",function(c){v(b);var d=O(2).$implicit;og(d.numericValue,c)||(d.numericValue=c);return x(c)});G()}a&2&&(a=O(2).$implicit,O(),ng("ngModel",
a.numericValue),Bf("aria-labelledby",Np(a)))},W_a=function(a){if(a&1){var b=u();F(0,"div")(1,"b-date-time-input",18);M("valueChange",function(e){v(b);var f=O(2).$implicit;O();return x(f.dateValue=e?Am(e):void 0)});G()()}if(a&2){var c;a=O(2).$implicit;var d=O();z();D("value",(c=V_a(a.dateValue))!==null&&c!==void 0?c:void 0)("required",d.isCustomFieldRequired(a))("customAriaLabelledBy",Np(a))("customFormId","bv2-custom-field-"+a.customFieldId)}},Y_a=function(a){if(a&1){var b=u();F(0,"onedev-single-select",
19);pg("valueChange",function(d){v(b);var e=O(2).$implicit;og(e.enumValue,d)||(e.enumValue=d);return x(d)});G()}if(a&2){var c;a=O(2).$implicit;O();ng("value",a.enumValue);D("options",(c=a.allowedValue)!==null&&c!==void 0?c:tg(3,X_a));Bf("aria-labelledby",Np(a))}},$_a=function(a){if(a&1){var b=u();F(0,"b-bulk-repeated-field-picker",20);M("onSave",function(e){v(b);var f=O(2).$implicit,h=O();return x(Z_a(h,f.customFieldId,e))});G()}if(a&2){var c;a=O(2).$implicit;var d=O();D("type",d.getCustomFieldType(a))("originalValueMap",
d.repeatedCustomFieldsMap.get(a.customFieldId))("enumChoices",(c=a.allowedValue)!==null&&c!==void 0?c:tg(3,X_a))}},a0a=function(a){a&1&&(K(0,10),C(1,T_a,1,2,"input",11)(2,U_a,1,2,"input",12)(3,W_a,2,4,"div",13)(4,Y_a,1,4,"onedev-single-select",14)(5,$_a,1,4,"b-bulk-repeated-field-picker",15),L());if(a&2){a=O().$implicit;var b=O();D("ngSwitch",b.getCustomFieldType(a));z();D("ngSwitchCase","TEXT");z();D("ngSwitchCase","NUMERIC");z();D("ngSwitchCase","DATE");z();D("ngSwitchCase","ENUM")}},b0a=function(a){if(a&
1){var b=u();F(0,"span");R(1," Multiple values ");G();F(2,"a",21);M("click",function(){v(b);var c=O().$implicit,d=O();return x(d.clearCustomFieldValue(c))});R(3,"X");G()}},c0a=function(a,b){a&1&&(F(0,"div",6)(1,"div",7)(2,"label",8),R(3),C(4,S_a,2,0,"span",2),G()(),C(5,a0a,6,5,"ng-template",9)(6,b0a,4,0,"ng-template",null,0,yg),G());a&2&&(a=b.$implicit,b=Q(7),O(),z(2),D("matTooltip",(a.description||"")+" [ID: "+a.customFieldId+"]"),Bf("id",Np(a)),z(),S(" ",a.name," "),z(),D("ngIf",a.required),z(),
D("ngIf",!a.hasMultipleValues)("ngIfElse",b))},d0a=function(a){a&1&&(F(0,"div",8),H(1,"b-spinner"),G())},e0a=function(a){a&1&&H(0,"code",22);a&2&&(a=O(2).$implicit,O(2),D("innerHtml",xh(a.formattingModeDiff),Pe))},f0a=function(a){a&1&&(F(0,"code",23),R(1),G());a&2&&(a=O(2).$implicit,z(),S(" ",a.formattingMode," "))},g0a=function(a){a&1&&(F(0,"p",19),R(1," Formatting: "),C(2,e0a,1,1,"code",20)(3,f0a,2,1,"code",21),G());a&2&&(a=O(3),z(2),D("ngIf",a.diffView),z(),D("ngIf",!a.diffView))},h0a=function(a){if(a&
1){var b=u();F(0,"div")(1,"span",24)(2,"b-person-hovercard",25);T(3,"omitObfuscatedEmail");R(4);T(5,"appendDomain");G()();F(6,"a",26);M("click",function(c){v(b);var d=O().$implicit,e=O(2);d=d.version;c.stopPropagation();c=Ao(e.issueId)+("#comment"+e.commentNumber+"version"+d);e.location.replaceState(c);return x()});R(7);G()()}a&2&&(a=O().$implicit,O(2),z(2),D("email",V(3,7,sm(a.lastEditorUser))),z(2),S(" <",V(5,9,sm(a.lastEditorUser)),"> "),z(2),Df("aria-label","Comment version ",a.version,""),Zf("id",
"bv2-edit-issue-comment-",a.version,""),z(),S(" #",a.version,""))},i0a=function(a){a&1&&(F(0,"div",30),R(1),G());a&2&&(a=O(2).$implicit,z(),lg(a.preview))},j0a=function(a){a&1&&(F(0,"div",31),R(1,"Comment deleted."),G())},k0a=function(a){a&1&&(F(0,"div",32),R(1,"Comment history restricted."),G())},l0a=function(a){a&1&&(K(0),C(1,i0a,2,1,"div",27)(2,j0a,2,0,"div",28)(3,k0a,2,0,"div",29),L());a&2&&(a=O().$implicit,z(),D("ngIf",!a.restricted&&!a.deleted),z(),D("ngIf",!a.restricted&&a.deleted),z(),D("ngIf",
a.restricted))},m0a=function(a){a&1&&(F(0,"div",35),R(1,"Comment deleted."),G())},n0a=function(a){a&1&&(H(0,"div",36),T(1,"async"));if(a&2){a=O(2).$implicit;var b=O(2);Kf("codefont",V(1,3,b.codefont.codefont$));D("innerHtml",a.unlinkifiedComment,Pe)}},o0a=function(a){a&1&&(H(0,"div",36),T(1,"async"));if(a&2){a=O(2).$implicit;var b=O(2);Kf("codefont",V(1,3,b.codefont.codefont$));D("innerHtml",xh(a.diff),Pe)}},p0a=function(a){a&1&&(F(0,"div",32),R(1," This comment is not available due to present or past restrictions on the comment. "),
G())},q0a=function(a){a&1&&(K(0),C(1,m0a,2,0,"div",33)(2,n0a,2,5,"div",34)(3,o0a,2,5,"div",34)(4,p0a,2,0,"div",29),L());if(a&2){a=O().$implicit;var b=O(2);z();D("ngIf",!a.restricted&&a.deleted);z();D("ngIf",!b.diffView&&!a.restricted&&!a.deleted);z();D("ngIf",b.diffView&&!a.restricted&&!a.deleted);z();D("ngIf",a.restricted)}},r0a=function(a,b){if(a&1){var c=u();F(0,"li",11)(1,"div",12);H(2,"b-user-image",13);G();F(3,"div",14);M("click",function(){var d=v(c).$implicit;return x(d.open=!d.open)});H(4,
"b-user-display",15)(5,"b-formatted-date-time",16);C(6,g0a,4,2,"p",17)(7,h0a,8,11,"div",18)(8,l0a,4,3,"ng-container",18);G();C(9,q0a,5,4,"ng-container",18);G()}a&2&&(a=b.$implicit,O(2),Kf("comment-version-open",a.open),z(2),D("email",sm(a.lastEditorUser)),z(2),D("model",a.lastEditorUser),z(),D("timestamp",a.lastModified),z(),D("ngIf",!a.deleted),z(),D("ngIf",a.open),z(),D("ngIf",!a.open),z(),D("ngIf",a.open))},s0a=function(a){a&1&&(F(0,"ul",9),C(1,r0a,10,9,"li",10),G());a&2&&(a=O(),z(),D("ngForOf",
a.history)("ngForTrackBy",a.trackByIndex))},v0a=function(a,b){var c=new t0a;a=Op(c,a,b);u0a(c,a);c=a.map(function(d){var e=d[0];d=d[1];switch(e){case -1:return zh("span",{"class":"diff-removed"},d);case 1:return zh("span",{"class":"diff-added"},d);case 0:return zh("span",{"class":void 0},d);default:throw Error("qe`"+e);}});return yh(c)},w0a=function(a){var b;return((b=a.entityStatus)==null?void 0:b.status)==="DELETED"},x0a=function(a){return new Set(a.map(function(b){return ti(b)}))},Pp=function(a,
b,c){return a.has(b)?c:""},y0a=function(a,b,c){return a.has(b)?c:[]},Qp=function(a,b,c){return{fieldName:a,diffType:"SINGLE_VALUE",diff:{oldValue:b,newValue:c}}},B0a=function(a){if(!a)return"";var b=z0a.get(a.retentionSelection),c=a.retentionPeriodDays,d="Issue Retention: "+b;b=d;c&&(b=d+(", Days: "+c));d=A0a.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},
D0a=function(a){if(!a)return"";var b=a.inherit,c=C0a.get(a.source),d=a.comment;a="Inherit: "+b+", Source: "+c+", ID: "+a.id;return d?a+(", Justification: "+d):a},E0a=function(a){return a?"Inherit: "+a.inherit+", ID: "+a.id:""},F0a=function(a){a&1&&(F(0,"li")(1,"a",4),R(2," Create an issue in this component"),G()());a&2&&(a=O(2),z(),D("href",a.createIssueUrl,Qe))},G0a=function(a,b){a&1&&(K(0),F(1,"h3"),R(2),G(),F(3,"p"),R(4),G(),H(5,"b-component-access-level-indicator",3),F(6,"p"),R(7),G(),F(8,"ul")(9,
"li")(10,"a",4),R(11," View recent open issues"),G()(),C(12,F0a,3,1,"li",2),F(13,"li")(14,"a",4),R(15," View component"),G()()(),L());a&2&&(a=b.ngIf,b=O(),z(2),lg(a.name),z(2),S("ID: ",b.componentId,""),z(),D("accessLevel",a.accessLimit==null?null:a.accessLimit.accessLevel)("labelOnlyMode",!0),z(2),lg(a.description),z(3),D("href",b.recentIssuesUrl,Qe),z(2),D("ngIf",!b.isAnonymous),z(2),D("href",b.viewComponentUrl,Qe))},H0a=function(a,b){a&1&&(F(0,"mat-option",16),R(1),G());a&2&&(a=b.$implicit,D("value",
a),z(),S(" ",a," "))},I0a=function(a){if(a&1){var b=u();F(0,"mat-form-field",13)(1,"mat-select",15);M("selectionChange",function(c){v(b);var d=O(2);return x(d._changePageSize(c.value))});Qf(2,H0a,2,2,"mat-option",16,Pf);G()()}a&2&&(a=O(2),D("appearance",a._formFieldAppearance)("color",a.color),z(),D("value",a.pageSize)("disabled",a.disabled)("aria-labelledby",a._pageSizeLabelId)("panelClass",a.selectConfig.panelClass||"")("disableOptionCentering",a.selectConfig.disableOptionCentering),z(),Rf(a._displayedPageSizeOptions))},
J0a=function(a){a&1&&(F(0,"div",14),R(1),G());a&2&&(a=O(2),z(),lg(a.pageSize))},K0a=function(a){a&1&&(F(0,"div",2)(1,"div",12),R(2),G(),C(3,I0a,4,7,"mat-form-field",13)(4,J0a,2,1,"div",14),G());a&2&&(a=O(),z(),Bf("id",a._pageSizeLabelId),z(),S(" ",a._intl.itemsPerPageLabel," "),z(),Of(a._displayedPageSizeOptions.length>1?3:-1),z(),Of(a._displayedPageSizeOptions.length<=1?4:-1))},L0a=function(a){if(a&1){var b=u();F(0,"button",17);M("click",function(){v(b);var c=O();if(c.hasPreviousPage()){var d=c.pageIndex;
c.pageIndex=0;c._emitPageEvent(d)}return x()});Gd();F(1,"svg",7);H(2,"path",18);G()()}a&2&&(a=O(),D("matTooltip",a._intl.firstPageLabel)("matTooltipDisabled",a._previousButtonsDisabled())("matTooltipPosition","above")("disabled",a._previousButtonsDisabled()),Bf("aria-label",a._intl.firstPageLabel))},M0a=function(a){if(a&1){var b=u();F(0,"button",19);M("click",function(){v(b);var c=O();if(c.hasNextPage()){var d=c.pageIndex;c.pageIndex=(c.pageSize?Math.ceil(c.length/c.pageSize):0)-1;c._emitPageEvent(d)}return x()});
Gd();F(1,"svg",7);H(2,"path",20);G()()}a&2&&(a=O(),D("matTooltip",a._intl.lastPageLabel)("matTooltipDisabled",a._nextButtonsDisabled())("matTooltipPosition","above")("disabled",a._nextButtonsDisabled()),Bf("aria-label",a._intl.lastPageLabel))},N0a=function(a){if(a&1){var b=u();F(0,"mat-paginator",4);M("page",function(c){v(b);var d=O(),e=c.pageIndex*c.pageSize;d.childrenOnPage=d.children.slice(e,e+c.pageSize);return x()});G()}a&2&&(a=O(),D("length",a.children.length)("pageSize",a.pageSize)("pageSizeOptions",
a.pageSizeOptions))},O0a=function(a,b){if(a&1){var c=u();F(0,"li")(1,"a",5);M("click",function(){var e=v(c).$implicit,f=O();return x(f.onVisit.emit(e))});R(2);G();F(3,"onedev-hovercard",null,0);H(5,"b-component-card",6);G()()}if(a&2){a=b.$implicit;b=Q(4);var d=O();z();D("onedevHovercardTrigger",b)("href",d.ROUTES.editComponent.makeHref(a.componentId),Qe);z();S(" ",a.name," ");z(3);D("componentId",a.componentId.toString())}},P0a=function(a){if(a&1){var b=u();F(0,"button",6);M("click",function(){v(b);
var c=O();return x(c.onClickCopyIssueShortLinks.emit())});R(1);G()}a&2&&(a=O(),z(),S(" Copy '",a.shortLinkPrefix,"'' links "))},Q0a=function(a){if(a&1){var b=u();F(0,"div",2)(1,"button",3);M("click",function(){v(b);var c=O();return x(c.action())});R(2);G()()}a&2&&(a=O(),z(2),lg(a.data.action))},R0a=function(){},S0a=function(a,b){a&1&&(F(0,"span",6)(1,"a",7),R(2),G(),F(3,"onedev-hovercard",null,0),H(5,"b-component-card",8),G()());a&2&&(a=b.$implicit,b=Q(4),z(),D("onedevHovercardTrigger",b)("routerLinkObj",
a.route),z(),lg(a.name),z(3),D("componentId",a.id.toString()))},T0a=function(a){a&1&&(F(0,"span",9),R(1,"[Archived]"),G())},Rp=function(a,b){b=b===void 0?ro:b;var c,d=(c=a==null?void 0:a.componentPathId)!=null?c:[],e,f=(e=a==null?void 0:a.componentPathName)!=null?e:[];return d.map(function(h,k){var q;k=(q=f[k])!=null?q:String(h);q=b(h);return{id:h,name:k,route:q}})},U0a=function(a){a&1&&(F(0,"span"),R(1),G());a&2&&(a=O().$implicit,z(),lg(a.text))},V0a=function(a){a&1&&(F(0,"span"),H(1,"b-component-access-level-indicator",
2),G());a&2&&(a=O().$implicit,z(),D("accessLevel",a.accessLevel))},W0a=function(a,b){a&1&&(F(0,"span"),C(1,U0a,2,1,"span",1)(2,V0a,2,1,"span",1),G());a&2&&(a=b.$implicit,O(),z(),D("ngIf",a.text!==void 0),z(),D("ngIf",a.text===void 0))},Y0a=function(a,b){var c=X0a.get(b);if(!c)return null;a=a.toLowerCase().indexOf(c);return a>=0?{accessLevel:b,startOfMatch:a,endOfMatch:a+c.length}:null},Z0a=function(a){if(a&1){var b=u();F(0,"div");H(1,"br");F(2,"mat-radio-group",8);pg("ngModelChange",function(c){v(b);
var d=O(2);og(d.setLimitViewTrusted,c)||(d.setLimitViewTrusted=c);return x(c)});F(3,"mat-radio-button",9);R(4,"Mark this issue as Limited Visibility + Google. Information will only be shared with Googlers and listed public users.");G();F(5,"mat-radio-button",10);R(6,"Leave issue unrestricted. All information in this issue is suitable for external sharing.");G()()()}a&2&&(a=O(2),z(2),ng("ngModel",a.setLimitViewTrusted),z(),D("value",!0),z(2),D("value",!1))},$0a=function(a){if(a&1){var b=u();F(0,"div");
H(1,"br");F(2,"mat-checkbox",11);pg("ngModelChange",function(c){v(b);var d=O(2);og(d.acknowledged,c)||(d.acknowledged=c);return x(c)});G();F(3,"span");R(4,"All information in this issue is suitable for external sharing.");G()()}a&2&&(a=O(2),z(2),ng("ngModel",a.acknowledged))},a1a=function(a){a&1&&(F(0,"div"),C(1,Z0a,7,3,"div",5)(2,$0a,5,1,"div",5),G());a&2&&(a=O(),z(),D("ngIf",a.isLimitNoneIssueTrackerMove),z(),D("ngIf",!a.isLimitNoneIssueTrackerMove))},b1a=function(a){if(a&1){var b=u();F(0,"button",
12);M("click",function(){v(b);var c=O();return x(c.allow())});R(1," Move Issue ");G()}a&2&&(a=O(),D("disabled",!a.acknowledged))},c1a=function(a){if(a&1){var b=u();F(0,"a",18);M("click",function(){v(b);var c=O().$implicit,d=O();return x(d.showChildren(c))});H(1,"mat-icon",19);G()}},d1a=function(a){if(a&1){var b=u();F(0,"a",20);M("click",function(){v(b);var c=O().$implicit;return x(c.showChildren=!1)});H(1,"mat-icon",21);G()}},f1a=function(a){a&1&&(F(0,"a",22),R(1," (Recent Issues) "),G());if(a&2){a=
O().$implicit;var b=O();D("href",b.paths.listIssues(ug(1,e1a,"status:open componentid:"+a.componentId)),Qe)}},g1a=function(a){a&1&&(F(0,"span"),R(1,"[Archived]"),G())},h1a=function(a){a&1&&(F(0,"a",23),R(1," Create issue "),G());if(a&2){a=O().$implicit;var b=O();D("href",b.paths.createIssue()+"?component="+a.componentId,Qe)}},i1a=function(a){a&1&&(F(0,"div",28),R(1," No child components found. "),G())},j1a=function(a){a&1&&(F(0,"div",29),H(1,"b-spinner"),G())},k1a=function(a){if(a&1){var b=u();F(0,
"component-subtree-list",30);M("childClosed",function(d){v(b);var e=O(3);return x(e.onSubtreeChildClosed(d))});G()}if(a&2){a=O(2).$implicit;var c=O();D("components",a.children)("parentComponent",a)("rootController",c.rootController)("includeArchived",c.includeArchived)}},l1a=function(a){a&1&&(F(0,"div",24),C(1,i1a,2,0,"div",25)(2,j1a,2,0,"div",26)(3,k1a,1,4,"component-subtree-list",27),G());a&2&&(a=O().$implicit,z(),D("ngIf",a.noChildren),z(),D("ngIf",!(a.noChildren||a.children)),z(),D("ngIf",a.children))},
m1a=function(a,b){if(a&1){var c=u();F(0,"li",2);M("click",function(d){var e=v(c).$implicit,f=O();return x(f.setSelected(e.componentId,d))});F(1,"div",3);H(2,"div",4);F(3,"div",5);C(4,c1a,2,0,"a",6)(5,d1a,2,0,"a",7);G();F(6,"div",8)(7,"div")(8,"a",9);R(9);G();C(10,f1a,2,3,"a",10)(11,g1a,2,0,"span",11);H(12,"b-component-access-level-indicator",12)(13,"b-tracker-chip-smart",13);G();F(14,"div",14);R(15);G()();F(16,"div",15);C(17,h1a,2,1,"a",16);G()();C(18,l1a,4,3,"div",17);G()}a&2&&(a=b.$implicit,b=O(),
Zf("id","component-",a.componentId,""),z(4),D("ngIf",!a.showChildren),z(),D("ngIf",a.showChildren),z(3),D("href",b.ROUTES.editComponent.makeHref(a.componentId),Qe),z(),S(" ",a.name," "),z(),D("ngIf",!a.archived),z(),D("ngIf",a.archived),z(),D("accessLevel",a.accessLimit==null?null:a.accessLimit.accessLevel),z(),D("trackerId",a.trackerId),z(2),lg(a.description),z(2),D("ngIf",!a.archived),z(),D("ngIf",a.showChildren))},n1a=function(a){if(a&1){var b=u();F(0,"a",18);M("click",function(){v(b);var c=O().$implicit,
d=O();return x(d.showChildren(c))});H(1,"mat-icon",19);G()}},o1a=function(a){if(a&1){var b=u();F(0,"a",20);M("click",function(){v(b);var c=O().$implicit;return x(c.showChildren=!1)});H(1,"mat-icon",21);G()}},q1a=function(a){a&1&&(F(0,"a",22),R(1," (Recent Issues) "),G());if(a&2){a=O().$implicit;var b=O();D("href",b.paths.listIssues(ug(1,p1a,"status:open componentid:"+a.componentId)),Qe)}},r1a=function(a){a&1&&(F(0,"span"),R(1,"[Archived]"),G())},s1a=function(a){a&1&&(F(0,"a",23),R(1," Create issue "),
G());if(a&2){a=O().$implicit;var b=O();D("href",b.paths.createIssue()+"?component="+a.componentId,Qe)}},t1a=function(a){a&1&&(F(0,"div",28),R(1," No child components found. "),G())},u1a=function(a){a&1&&(F(0,"div",29),H(1,"b-spinner"),G())},v1a=function(a){if(a&1){var b=u();F(0,"component-subtree-list",30);M("childClosed",function(d){v(b);var e=O(3);return x(e.onSubtreeChildClosed(d))});G()}if(a&2){a=O(2).$implicit;var c=O();D("components",a.children)("parentComponent",a)("rootController",c.rootController)("includeArchived",
c.includeArchived)}},w1a=function(a){a&1&&(F(0,"div",24),C(1,t1a,2,0,"div",25)(2,u1a,2,0,"div",26)(3,v1a,1,4,"component-subtree-list",27),G());a&2&&(a=O().$implicit,z(),D("ngIf",a.noChildren),z(),D("ngIf",!(a.noChildren||a.children)),z(),D("ngIf",a.children))},x1a=function(a,b){if(a&1){var c=u();F(0,"li",2);M("click",function(d){var e=v(c).$implicit,f=O();return x(f.setSelected(e.componentId,d))});F(1,"div",3);H(2,"div",4);F(3,"div",5);C(4,n1a,2,0,"a",6)(5,o1a,2,0,"a",7);G();F(6,"div",8)(7,"div")(8,
"a",9);R(9);G();C(10,q1a,2,3,"a",10)(11,r1a,2,0,"span",11);H(12,"b-component-access-level-indicator",12)(13,"b-tracker-chip-smart",13);G();F(14,"div",14);R(15);G()();F(16,"div",15);C(17,s1a,2,1,"a",16);G()();C(18,w1a,4,3,"div",17);G()}a&2&&(a=b.$implicit,b=O(),D("id","component-"+a.componentId),z(4),D("ngIf",!a.showChildren),z(),D("ngIf",a.showChildren),z(3),D("href",b.ROUTES.editComponent.makeHref(a.componentId),Qe),z(),S(" ",a.name," "),z(),D("ngIf",!a.archived),z(),D("ngIf",a.archived),z(),D("accessLevel",
a.accessLimit==null?null:a.accessLimit.accessLevel),z(),D("trackerId",a.trackerId),z(2),lg(a.description),z(2),D("ngIf",!a.archived),z(),D("ngIf",a.showChildren))},y1a=function(a){a&1&&(F(0,"div",10),Gd(),F(1,"svg",12),H(2,"path",13),G(),F(3,"svg",14),H(4,"path",15),G()())},z1a=function(a){a&1&&(H(0,"div"),T(1,"lowercase"));a&2&&(a=O(3),Nf("bv2-edit-icon ",V(1,3,a.type),""))},A1a=function(a){a&1&&(F(0,"div")(1,"label"),R(2),G(),C(3,z1a,2,5,"div",16),G());a&2&&(a=O(2),Nf("bv2-editable-title bv2-editable-title-",
a.name," flex-kids-x"),z(2),S(" ",a.title," "),z(),D("ngIf",!a.readonly&&!a.disabled))},B1a=function(a){a&1&&Sf(0)},C1a=function(a){if(a&1){var b=u();F(0,"div",19);M("menuClosed",function(){v(b);var d=O(3);return x(Sp(d,null,!1,!0))});C(1,B1a,1,0,"ng-container",20);G()}if(a&2){O(2);a=Q(7);O();var c=Q(7);D("matMenuTriggerFor",c);z();D("ngTemplateOutlet",a)}},E1a=function(a,b){a&1&&(F(0,"a",24),R(1),G());a&2&&(a=b.ngIf,b=O(4),Ef("aria-label","customfield",b.customFieldId,":",a,""),D("queryParams",ug(5,
D1a,"customfield"+b.customFieldId+':"'+a+'"')),z(),S(" ",a," "))},F1a=function(a){a&1&&R(0," -- ")},G1a=function(a){if(a&1){var b=u();F(0,"div",21);C(1,E1a,2,7,"a",22)(2,F1a,1,0,"ng-template",null,5,yg);H(4,"br");F(5,"button",23);M("menuClosed",function(){v(b);var e=O(3);return x(Sp(e,null,!1,!0))});R(6," Edit ");G()()}if(a&2){a=Q(3);var c=O(3),d=Q(7);z();D("ngIf",c.getDisplayValue(""))("ngIfElse",a);z(4);Df("aria-label","Edit item for ",c.title,"");D("matMenuTriggerFor",d)}},H1a=function(a){a&1&&
(K(0),C(1,C1a,2,2,"div",18)(2,G1a,7,5,"ng-template",null,4,yg),L());if(a&2){a=Q(3);var b=O(2);z();D("ngIf",!(b.enableCustomFieldSearchImprovements&&b.choices.length>50)||b.customFieldId===0)("ngIfElse",a)}},I1a=function(a){a&1&&Sf(0)},J1a=function(a){a&1&&(F(0,"div",25),C(1,I1a,1,0,"ng-container",20),G());a&2&&(O(),a=Q(7),z(),D("ngTemplateOutlet",a))},K1a=function(a){a&1&&H(0,"b-user-membership-chip",33);a&2&&(a=O(5),D("user",a.user)("email",a.value)("teamId",a.teamId)("enableSmallChip",!0))},L1a=
function(a){a&1&&H(0,"b-user-image",34);a&2&&(a=O(5),D("email",a.value))},M1a=function(a){a&1&&(F(0,"span",35)(1,"b-person-hovercard",36),R(2),G()());a&2&&(a=O(5),z(),D("email",a.value),z(),S(" ",a.getDisplayValue("--")," "))},N1a=function(a){a&1&&(K(0),F(1,"div",29),C(2,K1a,1,4,"b-user-membership-chip",30)(3,L1a,1,1,"b-user-image",31)(4,M1a,3,2,"span",32),G(),L());a&2&&(a=O(4),z(2),D("ngIf",a.enableTeamAnnotations&&!!a.value),z(),D("ngIf",!a.enableTeamAnnotations&&!!a.value),z(),D("ngIf",!a.enableTeamAnnotations))},
O1a=function(a){a&1&&(F(0,"div"),C(1,N1a,5,3,"ng-container",11),G());a&2&&(a=O(3),z(),D("ngIf",a.isUser))},P1a=function(a){a&1&&H(0,"b-truncated-span",41);a&2&&(a=O(4),D("maxWidth",150)("modelValue",a.getDisplayValue("--"))("disabled",!a.truncate))},Q1a=function(a){a&1&&H(0,"b-truncated-span",42);a&2&&(a=O(4),D("ngClass",a.getPriority(a.value))("maxWidth",150)("modelValue",a.getDisplayValue("--"))("disabled",!a.truncate))},R1a=function(a){a&1&&H(0,"b-truncated-span",41);a&2&&(a=O(4),Nf("chippy status-",
a.value,""),D("maxWidth",150)("modelValue",a.getDisplayValue("--"))("disabled",!a.truncate))},S1a=function(a){a&1&&H(0,"div",43)},T1a=function(a){a&1&&(F(0,"div"),C(1,P1a,1,3,"b-truncated-span",37)(2,Q1a,1,4,"b-truncated-span",38)(3,R1a,1,6,"b-truncated-span",39)(4,S1a,1,0,"div",40),G());a&2&&(a=O(3),z(),D("ngIf",a.title!=="Priority"&&a.title!=="Status"),z(),D("ngIf",a.title==="Priority"),z(),D("ngIf",a.title==="Status"),z(),D("ngIf",!a.title&&!a.readonly&&!a.disabled))},U1a=function(a){a&1&&(F(0,
"div",44),H(1,"mat-icon",45),G())},V1a=function(a){a&1&&(F(0,"div",46),H(1,"mat-icon",47),G())},X1a=function(a){if(a&1){var b=u();F(0,"div",26,6);M("keydown",function(c){v(b);var d=O(2);return x(W1a(d,c))})("click",function(c){v(b);var d=O(2);return x(Sp(d,c,!0,!1))});C(2,O1a,2,1,"div",11)(3,T1a,5,4,"div",11)(4,U1a,2,0,"div",27)(5,V1a,2,0,"div",28);G()}a&2&&(a=O(2),Kf("edit-field-user-container",a.isUser)("edit-field-activated",a.isActive),z(2),D("ngIf",a.isUser),z(),D("ngIf",!a.isUser),z(),D("ngIf",
a.type!="ENUM"),z(),D("ngIf",a.type=="ENUM"))},Y1a=function(a){if(a&1){var b=u();F(0,"div",15,2);M("click",function(c){v(b);var d=O();return x(Sp(d,c,!0,!1))})("keydown",function(c){v(b);var d=O();return x(W1a(d,c))})("keydown.escape",function(){v(b);var c=Q(2);return x(c.hide())});C(3,A1a,4,5,"div",16)(4,H1a,4,2,"ng-container",11)(5,J1a,2,1,"div",17)(6,X1a,6,8,"ng-template",null,3,yg);G()}a&2&&(a=O(),Nf("bv2-issue-metadata-field-inner bv2-issue-metadata-field-",a.name,""),Kf("bv2-disabled",a.disabled)("bv2-readonly",
a.readonly),Ef("aria-label","",a.title," value is ",a.getDisplayValue("empty"),""),D("matTooltip",a.getTooltip()),Bf("aria-disabled",!1),z(3),D("ngIf",a.title),z(),D("ngIf",a.type==="ENUM"),z(),D("ngIf",a.type!=="ENUM"))},Z1a=function(a){if(a&1){var b=u();F(0,"div",51);M("click",function(){v(b);var c=O(2);return x(c.setFieldValue(!c.value))});F(1,"label");R(2);G()()}a&2&&(a=O(2),Nf("bv2-editable-title bv2-editable-title-",a.name," flex-kids-x"),z(2),lg(a.title))},a2a=function(a){if(a&1){var b=u();
F(0,"div",48);C(1,Z1a,3,4,"div",49);F(2,"b-slide-toggle",50);M("modelChange",function(){v(b);var d=O();return x(d.setFieldValue(!d.value))});G()()}if(a&2){var c;a=O();Nf("bv2-issue-metadata-field-inner bv2-issue-metadata-field-",a.name,"");D("ngClass",vg(10,$1a,a.disabled,a.readonly))("matTooltip",a.getTooltip());Bf("aria-disabled",!1);z();D("ngIf",a.title);z();D("disabled",a.disabled||a.readonly)("aria-label",a.name)("model",(c=a.value)!==null&&c!==void 0?c:void 0)}},b2a=function(a){a&1&&H(0,"b-availability-chip",
53);a&2&&(a=O(2),D("user",a.value))},c2a=function(a){a&1&&(K(0),C(1,b2a,1,1,"b-availability-chip",52),L());a&2&&(a=O(),z(),D("ngIf",a.value&&a.enableWaldoAvailability))},d2a=function(a){if(a&1){var b=u();F(0,"button",56);M("click",function(){v(b);var c=O(2);return x(c.clearFieldValue())});F(1,"span",57);H(2,"mat-icon",58);G();R(3," \u00a0 ");G()}a&2&&(a=O(2),Kf("b-menu-item-checked",a.value==null),D("disabled",a.value==null))},e2a=function(a){a&1&&(F(0,"span",62),R(1),G());a&2&&(a=O().$implicit,z(),
lg(a.hotkey.displayAs))},f2a=function(a,b){if(a&1){var c=u();F(0,"button",59);M("click",function(){var d=v(c).$implicit,e=O(2);return x(e.setFieldValue(d.value))})("onHotkey",function(){var d=v(c).$implicit,e=O(2);e.setFieldValue(d.value);return x(e.enumMenuTrigger.closeMenu())});F(1,"span",60)(2,"span",57);H(3,"mat-icon",58);G();R(4);C(5,e2a,2,1,"span",61);G()()}a&2&&(a=b.$implicit,b=O(2),Kf("b-menu-item-checked",b.value==a.value),D("disabled",b.value==a.value)("matTooltip",a.altText||"")("hotkey",
a.hotkey),Bf("aria-label",a.displayText)("title",!b.showEnumTitle||a.altText?"":a.displayText),z(4),S(" ",a.displayText," "),z(),D("ngIf",a.hotkey&&b.showHotkeyHint))},g2a=function(a){a&1&&C(0,d2a,4,3,"button",54)(1,f2a,6,9,"button",55);a&2&&(a=O(),D("ngIf",a.clearable),z(),D("ngForOf",a.choices))},h2a=function(a){a&1&&Sf(0)},i2a=function(a){a&1&&Sf(0)},j2a=function(a){if(a&1){var b=u();F(0,"div",51);M("click",function(d){v(b);return x(d.stopPropagation())});F(1,"b-date-time-picker-content",67);M("dateSelectionChange",
function(d){v(b);var e=O(2);return x(e.googDateValue=d!==null&&d!==void 0?d:null)})("saveClicked",function(){v(b);var d=O(2);return x(d.setFieldValue(d.googDateValue))})("cancelClicked",function(){v(b);var d=O(2);return x(Sp(d,null,!1,!1))});G()()}if(a&2){var c;a=O(2);z();D("required",!(a.clearable&&a.type==="DATE"))("date",(c=a.googDateValue)!==null&&c!==void 0?c:void 0)}},l2a=function(a){if(a&1){var b=u();F(0,"textarea",76);pg("ngModelChange",function(c){v(b);var d=O(4);og(d.textBuffer,c)||(d.textBuffer=
c);return x(c)});M("keydown",function(c){v(b);var d=O(4);return x(k2a(d,c))});G()}a&2&&(a=O(4),ng("ngModel",a.textBuffer),Bf("aria-label",a.title))},n2a=function(a){if(a&1){var b=u();F(0,"input",77);pg("ngModelChange",function(c){v(b);var d=O(4);og(d.textBuffer,c)||(d.textBuffer=c);return x(c)});M("keydown",function(c){v(b);var d=O(4);return x(m2a(d,c))});G()}a&2&&(a=O(4),ng("ngModel",a.textBuffer),Bf("type",a.type==="NUMERIC"?"number":"text")("aria-label",a.title))},o2a=function(a){a&1&&(F(0,"div"),
C(1,l2a,1,2,"textarea",74)(2,n2a,1,3,"input",75),G());a&2&&(a=O(3),z(),D("ngIf",a.multiline),z(),D("ngIf",!a.multiline))},p2a=function(a){if(a&1){var b=u();F(0,"textarea",80);pg("ngModelChange",function(c){v(b);var d=O(4);og(d.textBuffer,c)||(d.textBuffer=c);return x(c)});M("keydown",function(c){v(b);var d=O(4);return x(k2a(d,c))})("autocompleteActive",function(c){v(b);var d=O(4);return x(d.autocompleteActive=c)});G()}a&2&&(a=O(4),ng("ngModel",a.textBuffer),D("bContactAutocomplete","MULTI"),Bf("aria-label",
a.title))},q2a=function(a){if(a&1){var b=u();F(0,"input",81);pg("ngModelChange",function(c){v(b);var d=O(4);og(d.textBuffer,c)||(d.textBuffer=c);return x(c)});M("keydown",function(c){v(b);var d=O(4);return x(m2a(d,c))})("autocompleteActive",function(c){v(b);var d=O(4);return x(d.autocompleteActive=c)});G()}a&2&&(a=O(4),ng("ngModel",a.textBuffer),D("bContactAutocomplete","SINGLE"),Bf("type",a.type==="NUMERIC"?"number":"text")("aria-label",a.title))},r2a=function(a){a&1&&(F(0,"div"),C(1,p2a,1,3,"textarea",
78)(2,q2a,1,4,"input",79),G());a&2&&(a=O(3),z(),D("ngIf",a.multiline),z(),D("ngIf",!a.multiline))},t2a=function(a){if(a&1){var b=u();F(0,"div",68);M("click",function(c){v(b);return x(c.stopPropagation())});C(1,o2a,3,2,"div",11)(2,r2a,3,2,"div",11);F(3,"div",69)(4,"button",70);M("click",function(){v(b);var c=O(2);return x(s2a(c))});H(5,"mat-icon",71);G();F(6,"button",72);M("click",function(c){v(b);var d=O(2);return x(Sp(d,c,!1,!0))});H(7,"mat-icon",73);G()();F(8,"div",44);H(9,"mat-icon",45);G()()}a&
2&&(a=O(2),z(),D("ngIf",!a.isUser),z(),D("ngIf",a.isUser),z(2),Df("aria-label","Apply change to ",a.title,""),Zf("matTooltip","Apply change to ",a.title,""),D("disabled",a.value==a.textBuffer),z(2),Df("aria-label","Discard change to ",a.title,""),Zf("matTooltip","Discard change to ",a.title,""))},u2a=function(a){a&1&&(F(0,"div",63,7),C(2,h2a,1,0,"ng-container",64)(3,i2a,1,0,"ng-container",64)(4,j2a,2,2,"div",65)(5,t2a,10,11,"div",66),G());a&2&&(a=O(),Nf("bv2-issue-metadata-field-edit bv2-issue-metadata-field-",
a.name,"-edit"),D("ngSwitch",a.type),z(2),D("ngSwitchCase","ENUM"),z(),D("ngSwitchCase","BOOL"),z(),D("ngSwitchCase","DATE"))},v2a=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}},w2a=function(a){a&1&&H(0,"b-changelist-card",5,1);if(a&2){a=Q(1);var b=O();D("onedevIsHovercardReady",a.init)("changelistId",b.changelistId)}},x2a=function(a){a&1&&H(0,"b-changelist-chip",0);a&2&&(a=O(),
D("changelistId",a.changelist))},y2a=function(a){a&1&&H(0,"b-gerrit-change-chip",1);a&2&&(a=O(),D("gerritChange",a.gerritChange))},z2a=function(a){if(a&1){var b=u();F(0,"mat-checkbox",9);M("click",function(d){v(b);return x(d.stopPropagation())})("change",function(){v(b);var d=O().$implicit,e=O();return x(e.toggleSelection(d))});R(1);G()}if(a&2){a=O().$implicit;var c=O();D("checked",c.selectedValuesMap[a]);z();S(" ",a," ")}},A2a=function(a){a&1&&(F(0,"div",10),R(1),G());a&2&&(a=O().$implicit,z(),S(" ",
a," "))},B2a=function(a,b){a&1&&(F(0,"mat-option",6),C(1,z2a,2,2,"mat-checkbox",7)(2,A2a,2,1,"div",8),G());a&2&&(a=b.$implicit,b=O(),D("value",a),z(),D("ngIf",b.allowMultiSelect),z(),D("ngIf",!b.allowMultiSelect))},D2a=function(a){if(a&1){var b=u();F(0,"div",11)(1,"button",12);M("click",function(){v(b);var c=O();return x(C2a(c))})("keydown.enter",function(){v(b);var c=O();return x(C2a(c))});H(2,"mat-icon",13);G();F(3,"button",14);M("click",function(){v(b);var c=O();return x(c.cancel())})("keydown.esc",
function(){v(b);var c=O();return x(C2a(c))});H(4,"mat-icon",15);G()()}a&2&&(a=O(),z(),Df("aria-label","Apply changes to ",a.customFieldTitle,""),D("disabled",!a.hasPendingChanges),z(2),Df("aria-label","Discard changes to ",a.customFieldTitle,""))},E2a=function(a){a&1&&H(0,"b-icon",7);a&2&&(a=O(),D("name",a.iconName))},F2a=function(a){a&1&&(F(0,"span",8),R(1),G());a&2&&(a=O(),z(),lg(a.title))},G2a=function(a){a&1&&(F(0,"div",9),R(1,"\u00a0"),G())},K2a=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"?H2a(a,b):(d==="input"||d==="select"||d==="textarea")&&I2a(a,b);J2a("canvas",a,b,H2a);J2a("input, textarea, select",a,b,I2a);return b},J2a=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])},I2a=function(a,b){b.type!=="file"&&(b.value=a.value);b.type==="radio"&&b.name&&(b.name="mat-clone-"+b.name+"-"+L2a++)},H2a=function(a,
b){if(b=b.getContext("2d"))try{b.drawImage(a,0,0)}catch(c){}},M2a=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}},N2a=function(a,b,c){var d=a.bottom,e=a.left,f=a.right;return c>=a.top&&c<=d&&b>=e&&b<=f},Tp=function(a,b,c){a.top+=b;a.bottom=a.top+a.height;a.left+=c;a.right=a.left+a.width},O2a=function(a,b,c){var d=a.right,e=a.bottom,f=a.left,h=a.width*.05,k=a.height*.05;return c>a.top-k&&c<e+k&&b>f-h&&b<
d+h},P2a=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},Q2a=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)}},Up=function(a,b){var c=b?"":"none";Q2a(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})},S2a=function(a,b){Q2a(a.style,{position:b?"":"fixed",top:b?"":"0",opacity:b?"":"0",left:b?"":"-999em"},R2a)},T2a=function(a,b){return b&&b!="none"?a+" "+b:a},V2a=function(a,b){a.style.width=b.width+"px";a.style.height=b.height+"px";a.style.transform=U2a(b.left,b.top)},U2a=function(a,b){return"translate3d("+Math.round(a)+"px, "+Math.round(b)+"px, 0)"},W2a=function(a){var b=a.toLowerCase().indexOf("ms")>
-1?1:1E3;return parseFloat(a)*b},Y2a=function(a){a=getComputedStyle(a);var b=X2a(a,"transition-property"),c=b.find(function(d){return d==="transform"||d==="all"});if(!c)return 0;b=b.indexOf(c);c=X2a(a,"transition-duration");a=X2a(a,"transition-delay");return W2a(c[b])+W2a(a[b])},X2a=function(a,b){return a.getPropertyValue(b).split(",").map(function(c){return c.trim()})},Vp=function(a){return a.type[0]==="t"},Z2a=function(a){a.preventDefault()},Wp=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}},$2a=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},a3a=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},b3a=function(a){a&1&&(F(0,"label"),R(1),G());a&2&&(a=O(),z(),S(" ",a.title," "))},c3a=function(a){a&1&&H(0,"mat-icon",27)},e3a=function(a,b){a&1&&(F(0,"div",31),Sf(1,32),G());if(a&2){a=b.$implicit;
b=b.index;O(2);var c=Q(14);z();D("ngTemplateOutletContext",vg(2,d3a,a,b))("ngTemplateOutlet",c)}},g3a=function(a){a&1&&(F(0,"collapsible-panel",28),C(1,e3a,2,5,"div",29),Sf(2,30),G());if(a&2){a=O();var b=Q(16);D("isExpanded",a.isExpanded)("iconName",a.iconName)("hasCompactTitleBar",!0)("title",a.collapsiblePanelTitle);z();D("ngForOf",f3a(a))("ngForTrackBy",a.trackByIndex);z();D("ngTemplateOutlet",b)}},h3a=function(a,b){a&1&&(F(0,"div",31),Sf(1,32),G());if(a&2){a=b.$implicit;b=b.index;O(2);var c=Q(14);
z();D("ngTemplateOutletContext",vg(2,d3a,a,b))("ngTemplateOutlet",c)}},i3a=function(a){a&1&&(F(0,"div"),R(1,"--"),G())},j3a=function(a){a&1&&(K(0),C(1,h3a,2,5,"div",29),Sf(2,30),C(3,i3a,2,0,"div",20),L());if(a&2){a=O();var b=Q(16);z();D("ngForOf",f3a(a))("ngForTrackBy",a.trackByIndex);z();D("ngTemplateOutlet",b);z();D("ngIf",!(a.values==null?0:a.values.length))}},m3a=function(a){if(a&1){var b=u();F(0,"button",39);M("menuOpened",function(){v(b);var d=O(3);k3a(d);d.enumPendingValues=new Set(d.values||
[]);return x()})("menuClosed",function(){v(b);var d=O(3);return x(l3a(d))});R(1,"Edit ");G()}if(a&2){a=O(3);var c=Q(18);Df("aria-label","Add item to ",a.title,"");D("matMenuTriggerFor",c)}},n3a=function(a){a&1&&(F(0,"button",40),R(1,"Edit "),G());if(a&2){a=O(3);var b=Q(25);Df("aria-label","Edit items for ",a.title,"");D("xapInlineDialogClick",b)("overlayPositions",a.OVERLAY_POSITION_LIST)}},o3a=function(a){a&1&&(K(0),C(1,m3a,2,3,"button",37)(2,n3a,2,4,"button",38),L());a&2&&(a=O(2),z(),D("ngIf",!Xp(a)),
z(),D("ngIf",Xp(a)))},p3a=function(a){a&1&&(F(0,"button",41),R(1,"Add "),G());if(a&2){a=O(2);var b=Q(23);Df("aria-label","Add item to ",a.title,"");D("xapInlineDialogClick",b)("overlayPositions",a.OVERLAY_POSITION_LIST)}},q3a=function(a){if(a&1){var b=u();F(0,"button",42);M("beforeOpened",function(){v(b);var d=O(2);return x(d.invalidMessage="")});R(1,"Add ");G()}if(a&2){a=O(2);var c=Q(21);Df("aria-label","Add item to ",a.title,"");Zf("dialogLabel","Add item to ",a.title,"");Zf("matTooltip","Add item to ",
a.title,"");D("xapInlineDialogClick",c)("overlayPositions",a.OVERLAY_POSITION_LIST)}},r3a=function(a){a&1&&(K(0,33),C(1,o3a,3,2,"ng-container",34)(2,p3a,2,4,"button",35)(3,q3a,2,8,"button",36),L());a&2&&(a=O(),D("ngSwitch",a.type),z(),D("ngSwitchCase","REPEATED_ENUM"),z(),D("ngSwitchCase","REPEATED_DATE"))},s3a=function(a){a&1&&(F(0,"div"),H(1,"b-code-change-chip",49),G());a&2&&(a=O(2).item,z(),D("codeChange",a))},t3a=function(a){a&1&&(F(0,"div")(1,"a",50),R(2),G()());if(a&2){a=O(3).item;var b=O();
z();switch(b.environmentType){case "NIGHTLY":case "PROD":b="https://taskflow.corp.google.com/workspaces";break;default:b="https://taskflow-autopush.corp.google.com/workspaces"}D("href",b+"/"+a.workspaceId+"/work_item/b/"+a.issueId+"?edit=b/"+a.issueId,Qe);Bf("aria-label","Workspace"+a.workspaceId);z();S(" ",a.workspaceName," ")}},u3a=function(a){a&1&&C(0,t3a,3,3,"div",46);if(a&2){O();a=Q(6);O();var b=O();D("ngIf",b.type==="WORKSPACES")("ngIfElse",a)}},v3a=function(a){a&1&&(F(0,"div"),H(1,"b-team-display",
51),G());a&2&&(a=O(3).item,z(),D("teamId",a.teamId)("componentId",a.componentId))},w3a=function(a){a&1&&C(0,v3a,2,2,"div",46);if(a&2){O();a=Q(8);O();var b=O();D("ngIf",b.type==="TEAM")("ngIfElse",a)}},x3a=function(a){if(a&1){var b=u();F(0,"div")(1,"a",52);M("click",function(){v(b);var c=O(4);return x(c.trackClick("postmortem"))});R(2);G()()}a&2&&(a=O(3).item,z(),Df("aria-label","Postmortem ",a,""),Zf("href","https://pm.corp.google.com/",a,"",Qe),z(),S(" ",a," "))},y3a=function(a){a&1&&C(0,x3a,3,5,
"div",46);if(a&2){O();a=Q(10);O();var b=O();D("ngIf",b.type==="POSTMORTEMS")("ngIfElse",a)}},A3a=function(a){if(a&1){var b=u();F(0,"div",54)(1,"a",55);M("click",function(){v(b);var d=O(4);return x(d.trackClick("repeated-enum"))});R(2);G()()}if(a&2){a=O(3).item;var c=O();D("matTooltip",a);z();Ef("aria-label","Search issues for customfield",c.customFieldId,":",a,"");D("queryParams",ug(6,z3a,"customfield"+c.customFieldId+':"'+a+'"'));z();S(" ",a," ")}},B3a=function(a){a&1&&C(0,A3a,3,8,"div",53);if(a&
2){O();a=Q(12);O();var b=O();D("ngIf",b.type==="REPEATED_ENUM"&&Xp(b))("ngIfElse",a)}},C3a=function(a){a&1&&(F(0,"div"),H(1,"b-truncated-span",57),G());if(a&2){a=O(3).item;var b=O();z();D("maxWidth",150)("modelValue",a)("disabled",!b.truncate)}},D3a=function(a){a&1&&H(0,"b-user-membership-chip",62);if(a&2){a=O(4).item;var b=O();D("user",b.getUser(a))("email",a)("teamId",b.teamId)("enableSmallChip",!0)("enableGroupIcon",!0)}},E3a=function(a){a&1&&H(0,"b-icon",63)},F3a=function(a){a&1&&(F(0,"b-person-hovercard",
64),R(1),G());a&2&&(a=O(4).item,D("email",a),z(),S(" ",a," "))},G3a=function(a){a&1&&(F(0,"div",58),C(1,D3a,1,5,"b-user-membership-chip",59)(2,E3a,1,0,"b-icon",60),T(3,"async"),C(4,F3a,2,2,"b-person-hovercard",61),G());if(a&2){var b;a=O(3).item;var c=O();z();D("ngIf",c.enableTeamAnnotations);z();D("ngIf",!c.enableTeamAnnotations&&((b=V(3,3,c.groups$))==null?null:b.has(a)));z(2);D("ngIf",!c.enableTeamAnnotations)}},H3a=function(a){a&1&&C(0,C3a,2,3,"div",20)(1,G3a,5,5,"div",56);if(a&2){a=O(2).item;
var b=O();D("ngIf",!b.isUser&&b.isString(a));z();D("ngIf",b.isUser&&b.isString(a))}},J3a=function(a){if(a&1){var b=u();F(0,"button",65);T(1,"async");M("click",function(){v(b);var c=O(3);return x(c.toggleAccessLimits.emit())});H(2,"b-icon",66);T(3,"async");G()}a&2&&(a=O(3),D("disabled",!V(1,2,a.hasAclToAdmin$)),z(2),D("ngClass",ug(6,I3a,!V(3,4,a.hasAclToAdmin$))))},K3a=function(a){if(a&1){var b=u();F(0,"button",68,13);M("click",function(){v(b);var d=O(3).$index,e=O();return x(e.removeItem(d))});G()}if(a&
2){a=O(3).item;var c=O();Ef("aria-label","Remove ",a," from ",c.title,"");D("disabled",c.listFieldDisabled)("matTooltip","Remove item")}},L3a=function(a){a&1&&C(0,K3a,2,5,"button",67);a&2&&(a=O(3),D("ngIf",!a.readonly&&(a.type!="REPEATED_ENUM"||Xp(a))))},M3a=function(a){a&1&&(F(0,"div",44)(1,"div",45),C(2,s3a,2,1,"div",46)(3,u3a,1,2,"ng-template",null,7,yg)(5,w3a,1,2,"ng-template",null,8,yg)(7,y3a,1,2,"ng-template",null,9,yg)(9,B3a,1,2,"ng-template",null,10,yg)(11,H3a,2,2,"ng-template",null,11,yg),
G(),C(13,J3a,4,8,"button",47),T(14,"async"),C(15,L3a,1,1,"ng-template",null,12,yg),H(17,"div",48),G());if(a&2){var b;a=Q(4);var c=Q(16),d=O().item,e=O();z(2);D("ngIf",e.type==="CODE_CHANGES")("ngIfElse",a);z(11);D("ngIf",e.type==="USERCHIP"&&e.toggleAccessLimits.observed&&((b=V(14,4,e.groups$))==null?null:b.has(d)))("ngIfElse",c)}},N3a=function(a,b){a&1&&C(0,M3a,18,6,"div",43);if(a&2){a=b.item;b=b.$index;var c=O();D("ngIf",(c.showingAll||b<c.defaultLineCount||!!c.values&&c.values.length===c.defaultLineCount+
1)&&(c.type!=="CODE_CHANGES"||c.showCodeChanges(a)))}},O3a=function(a){if(a&1){var b=u();F(0,"div",70,14);M("click",function(c){v(b);var d=O(2);return x(Yp(d,!1,c))})("keydown.enter",function(c){v(b);var d=O(2);return x(Yp(d,!1,c))})("keydown.space",function(c){v(b);var d=O(2);return x(Yp(d,!1,c))});R(2," (show fewer) ");G()}a&2&&(a=O(2),Ef("aria-label","Show at most ",a.defaultLineCount," ",a.title," items"),Zf("matTooltip","Show a truncated list of at most ",a.defaultLineCount," items"))},P3a=function(a){if(a&
1){var b=u();F(0,"div")(1,"div",71);R(2);F(3,"span",72,15);M("click",function(c){v(b);var d=O(2);return x(Yp(d,!0,c))})("keydown.enter",function(c){v(b);var d=O(2);return x(Yp(d,!0,c))})("keydown.space",function(c){v(b);var d=O(2);return x(Yp(d,!0,c))});R(5," (show all) ");G()()()}a&2&&(a=O(2),z(2),S(" ... and ",a.values.length-a.defaultLineCount," more "),z(),Ef("aria-label","Show all ",a.values==null?null:a.values.length," ",a.title," items"),Zf("matTooltip","Show all ",a.values==null?null:a.values.length,
" items in the list"))},R3a=function(a){a&1&&C(0,O3a,3,5,"div",69)(1,P3a,6,6,"div",20);a&2&&(a=O(),D("ngIf",a.showingAll&&Q3a(a)),z(),D("ngIf",!a.showingAll&&Q3a(a)))},T3a=function(a,b){if(a&1){var c=u();F(0,"button",74);M("click",function(d){var e=v(c).$implicit,f=O(2),h=e.value;f.enumPendingValues.has(h)?f.enumPendingValues.delete(h):f.enumPendingValues.add(h);f.liveAnnouncer.announce(S3a(f,e));d==null||d.stopPropagation();return x()});F(1,"span",75);H(2,"mat-icon",76);G();R(3);G()}a&2&&(a=b.$implicit,
b=O(2),Kf("b-menu-item-checked",b.enumPendingValues.has(a.value)),D("disabled",b.listFieldDisabled),Bf("aria-label",S3a(b,a)),z(3),S(" ",a.displayText," "))},U3a=function(a){a&1&&C(0,T3a,4,5,"button",73);a&2&&(a=O(),D("ngForOf",a.sortedEnumChoices)("ngForTrackBy",a.trackByIndex))},V3a=function(a){a&1&&H(0,"input",85);a&2&&(a=O(2),Df("aria-label","Addition to ",a.title,""),D("bContactAutocomplete","MULTI"))},W3a=function(a){a&1&&H(0,"input",86);a&2&&(a=O(2),Df("aria-label","Addition to ",a.title,""),
D("type",a.type==="REPEATED_NUMERIC"?"number":"text"))},X3a=function(a){a&1&&(F(0,"mat-error"),R(1),G());a&2&&(a=O(2),Ef("aria-label","",a.title," error: ",a.invalidMessage,""),z(),S(" ",a.invalidMessage," "))},Z3a=function(a){if(a&1){var b=u();F(0,"xap-dialog-layout")(1,"xap-dialog-layout-content")(2,"form",77,16);M("ngSubmit",function(){v(b);var d=Q(3),e=Q(4),f=O();return x(Y3a(f,d,e))});C(5,V3a,1,3,"input",78)(6,W3a,1,3,"input",79);F(7,"div",80)(8,"button",81);H(9,"mat-icon",82);G();F(10,"button",
83);M("click",function(){v(b);var d=O();return x(Zp(d,!0))});H(11,"mat-icon",84);G()();C(12,X3a,2,4,"mat-error",20);G()()()}if(a&2){a=Q(3);var c=O();z(5);D("ngIf",c.isUser);z();D("ngIf",!c.isUser);z(2);Df("aria-label","Apply addition to ",c.title,"");D("disabled",!a.valid||c.listFieldDisabled);z(2);Df("aria-label","Discard addition to ",c.title,"");z(2);D("ngIf",c.invalidMessage)}},$3a=function(a){if(a&1){var b=u();F(0,"b-date-time-picker-content",87);M("dateChange",function(c){v(b);var d=O();return x(c&&
d.addItems(c))})("cancelClicked",function(){v(b);var c=O();return x(Zp(c,!1))});G()}a&2&&D("required",!0)("renderPanel",!1)},c4a=function(a){if(a&1){var b=u();F(0,"xap-dialog-layout")(1,"xap-dialog-layout-content")(2,"b-custom-repeated-enum-picker",88);M("onApplyChanges",function(c){v(b);var d=O();return x(a4a(d,c))})("onCancelChanges",function(){v(b);var c=O();return x(Zp(c,!0))});G()()()}a&2&&(a=O(),z(2),D("allowMultiSelect",!0)("customFieldTitle",a.title)("allowedValues",b4a(a))("selectedValues",
a.values))},$p=function(a,b){return{originX:a,originY:b}},aq=function(a,b){return{overlayX:a,overlayY:b}},d4a=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}},g4a=function(a){if(a&1){var b=u();F(0,"b-edit-field",3);M("valueChange",function(e){v(b);var f=O(2);return x(f.save.emit(e))});G()}if(a&2){var c;a=O().ngIf;
var d=O();D("readonly",d.readonly)("name","customField"+d.field.customFieldId)("title",d.field.name)("type",d.field.type)("tooltip",d.getTooltip())("clearable",!d.field.required)("value",e4a(d))("displayValueOverride",d.getDisplayValue())("choices",(c=a.choices)!==null&&c!==void 0?c:tg(12,f4a))("showEnumTitle",!0)("disabled",d.disabled)("customFieldId",d.field.customFieldId)}},i4a=function(a){if(a&1){var b=u();F(0,"b-list-field",4);M("valuesChange",function(d){v(b);var e=O(2);return x(e.save.emit(d.values))});
G()}if(a&2){a=O().ngIf;var c=O();D("readonly",c.readonly)("defaultLineCount",3)("title",c.field.name)("type",c.field.type)("customFieldId",c.field.customFieldId)("tooltip",c.getTooltip())("values",h4a(c))("displayValuesOverride",a.displayValues)("enumChoices",a.choices)("listFieldDisabled",c.disabled)}},j4a=function(a,b){a&1&&(K(0),C(1,g4a,1,13,"b-edit-field",1)(2,i4a,1,10,"b-list-field",2),L());a&2&&(a=b.ngIf,z(),D("ngIf",!a.isRepeated()),z(),D("ngIf",a.isRepeated()))},k4a=function(a){a&1&&(F(0,
"div"),R(1," Loading custom fields... "),G())},l4a=function(a){a&1&&(F(0,"div"),R(1),G());a&2&&(a=O(2),z(),S(" There are no custom fields in component ",a.selectedComponent.name,". "))},m4a=function(a,b){a&1&&(F(0,"mat-option",9),R(1),G());a&2&&(a=b.$implicit,D("value",a),z(),S(" ",a.name," "))},n4a=function(a){if(a&1){var b=u();F(0,"div")(1,"mat-form-field",6)(2,"mat-label");R(3,"Custom field");G();F(4,"mat-select",7);M("selectionChange",function(c){v(b);var d=O(2);return x(d.fieldSelected.emit(c.value))});
C(5,m4a,2,2,"mat-option",8);G()()()}a&2&&(a=O(2),z(5),D("ngForOf",a.customFields))},o4a=function(a){a&1&&(F(0,"div",4),C(1,k4a,2,0,"div",5)(2,l4a,2,1,"div",5)(3,n4a,6,1,"div",5),G());a&2&&(a=O(),z(),D("ngIf",a.customFields==null),z(),D("ngIf",a.customFields&&!a.customFields.length),z(),D("ngIf",a.customFields==null?null:a.customFields.length))},p4a=function(a){a&1&&Sf(0)},q4a=function(){},r4a=function(a){a&1&&(K(0),R(1),L());a&2&&(a=O().value,z(),lg(a.textValue))},s4a=function(a){a&1&&(K(0),H(1,"b-formatted-date-time",
5),L());if(a&2){a=O().value;var b=O();z();D("date",b.toDate(a.dateValue))}},t4a=function(a){a&1&&(K(0),R(1),L());a&2&&(a=O().value,z(),lg(a.enumValue))},u4a=function(a){a&1&&(K(0),R(1),L());a&2&&(a=O().value,z(),lg(a.numericValue))},v4a=function(a,b){a&1&&(K(0),R(1),L());a&2&&(a=b.$implicit,b=b.last,z(),mg("",a,"",b?"":", ",""))},w4a=function(a){a&1&&(K(0),C(1,v4a,2,2,"ng-container",6),L());a&2&&(a=O().value,z(),D("ngForOf",a.repeatedTextValue.values))},x4a=function(a,b){a&1&&(K(0),H(1,"b-formatted-date-time",
5),R(2),L());if(a&2){a=b.$implicit;b=b.last;var c=O(3);z();D("date",c.toDate(a));z();lg(b?"":", ")}},y4a=function(a){a&1&&(K(0),C(1,x4a,3,2,"ng-container",6),L());a&2&&(a=O().value,z(),D("ngForOf",a.repeatedDateValue.values))},z4a=function(a,b){a&1&&(K(0),R(1),L());a&2&&(a=b.$implicit,b=b.last,z(),mg("",a,"",b?"":", ",""))},A4a=function(a){a&1&&(K(0),C(1,z4a,2,2,"ng-container",6),L());a&2&&(a=O().value,z(),D("ngForOf",a.repeatedEnumValue.values))},B4a=function(a,b){a&1&&(K(0),R(1),L());a&2&&(a=b.$implicit,
b=b.last,z(),mg("",a,"",b?"":", ",""))},C4a=function(a){a&1&&(K(0),C(1,B4a,2,2,"ng-container",6),L());a&2&&(a=O().value,z(),D("ngForOf",a.repeatedNumericValue.values))},D4a=function(a,b){a&1&&C(0,r4a,2,1,"ng-container",4)(1,s4a,2,1,"ng-container",4)(2,t4a,2,1,"ng-container",4)(3,u4a,2,1,"ng-container",4)(4,w4a,2,1,"ng-container",4)(5,y4a,2,1,"ng-container",4)(6,A4a,2,1,"ng-container",4)(7,C4a,2,1,"ng-container",4);a&2&&(a=b.value,b=O(),D("ngIf",a.textValue!=null),z(),D("ngIf",b.isNonemptyJsonDateValue(a.dateValue)),
z(),D("ngIf",a.enumValue!=null),z(),D("ngIf",a.numericValue!=null),z(),D("ngIf",a.repeatedTextValue!=null),z(),D("ngIf",a.repeatedDateValue!=null),z(),D("ngIf",a.repeatedEnumValue!=null),z(),D("ngIf",a.repeatedNumericValue!=null))},bq=function(a){var b;a=a==null?void 0:(b=a.accessLimit)==null?void 0:b.accessLevel;return a==="EXTERNAL_PARTNER"||a==="EXTERNAL_PUBLIC"},E4a=function(a){var b;return(a==null?void 0:(b=a.accessLimit)==null?void 0:b.accessLevel)==="EXTERNAL_PARTNER"},cq=function(a){var b;
return(a==null?void 0:(b=a.accessLimit)==null?void 0:b.accessLevel)==="EXTERNAL_PUBLIC"},F4a=function(a,b){return a?a.join(" > "):String(b)},G4a=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""}},
H4a=function(a){a&1&&(F(0,"div")(1,"p"),R(2),G()());a&2&&(a=O(),z(2),mg(" Checking if you have permissions to mark these issues as spam. Checked ",a.issuesChecked," of ",a.issuesToFlag.length,"... "))},I4a=function(a,b){a&1&&(F(0,"li"),R(1),G());a&2&&(a=b.$implicit,z(),mg(" ",a.issueId," - ",a.title," "))},J4a=function(a){a&1&&(F(0,"div")(1,"p"),R(2),G(),F(3,"ul"),C(4,I4a,2,2,"li",9),G()());a&2&&(a=O(),z(2),S(" You do not have permissions to mark ",a.protectedIssues.length," issues. These will not be flagged as spam. "),
z(2),D("ngForOf",a.protectedIssues))},K4a=function(a){if(a&1){var b=u();F(0,"mat-dialog-content")(1,"mat-form-field")(2,"mat-label");R(3);G();F(4,"input",5);pg("ngModelChange",function(c){v(b);var d=O();og(d.numericEstimatedEffort,c)||(d.numericEstimatedEffort=c);return x(c)});M("keypress",function(c){v(b);var d=O();return x(/^(\d*\.)?\d*$/.test(d.numericEstimatedEffort+c.key))});G()()()}a&2&&(a=O(),z(3),S(" ",a.effortSpecName," "),z(),ng("ngModel",a.numericEstimatedEffort))},L4a=function(a){if(a&
1){var b=u();F(0,"div",6)(1,"label");R(2);G();F(3,"onedev-single-select",7);pg("valueChange",function(c){v(b);var d=O();og(d.currentEnumLabel,c)||(d.currentEnumLabel=c);return x(c)});G()()}a&2&&(a=O(),z(2),S(" ",a.effortSpecName," "),z(),ng("value",a.currentEnumLabel),D("includeEmptyOption",!0)("options",a.allowedLabels))},Q4a=function(a,b){if(a&1){var c=u();F(0,"div",21,4);M("click",function(){var e=v(c).$implicit,f=O(2);M4a(f,e)||dq(f,e);return x()});F(2,"mat-pseudo-checkbox",22);M("click",function(e){var f=
v(c).$implicit,h=O(2);e.stopPropagation();return x(N4a(h,f))});G();F(3,"span");R(4);G()()}if(a&2){a=b.$implicit;b=b.index;var d=O(2);Jf("display",d.shouldShowHotlist[a.hotlistId]?"block":"none");Kf("focused",b===d.focusedRowIndex);$f("title",a.name);Bf("id","hotlist-item-"+a.hotlistId)("aria-checked",O4a(d.selectedHotlistMap[a.hotlistId]))("aria-disabled",M4a(d,a));z(2);D("state",P4a(d.selectedHotlistMap[a.hotlistId]))("disabled",M4a(d,a));z(2);S(" ",a.name," ")}},R4a=function(a){a&1&&(F(0,"span"),
R(1),G());a&2&&(a=O(2),z(),S(" (",a.filterText,")"))},S4a=function(a){if(a&1){var b=u();F(0,"div",23,5);M("click",function(){v(b);var c=O(2);return x(c.loadHotlist())})("keydown.enter",function(){v(b);var c=O(2);return x(c.loadHotlist())});R(2,"Load hotlist from id ");F(3,"span");R(4);G()()}a&2&&(a=O(2),Kf("focused",a.focusedRowIndex===a.choices.length+1),Bf("aria-label","Load hotlist from"+a.filterText),z(4),S("(",a.filterText,")"))},U4a=function(a){if(a&1){var b=u();F(0,"div",24,6);M("click",function(){v(b);
var c=O(2);return x(T4a(c))})("keydown.enter",function(){v(b);var c=O(2);return x(T4a(c))});R(2,"Apply");G()}a&2&&(a=O(2),Kf("focused",a.focusedRowIndex===a.choices.length+2))},V4a=function(a){if(a&1){var b=u();F(0,"div",11)(1,"div",15,2);C(3,Q4a,5,11,"div",16);G()();H(4,"mat-divider");F(5,"div",17,3);M("click",function(){v(b);var c=O();return x(c.createHotlist())})("keydown.enter",function(){v(b);var c=O();return x(c.createHotlist())});R(7,"Create new hotlist ");C(8,R4a,2,1,"span",18);G();C(9,S4a,
5,4,"div",19)(10,U4a,3,2,"div",20)}a&2&&(a=O(),z(3),D("ngForOf",a.choices),z(2),Kf("focused",a.focusedRowIndex===a.choices.length),D("disabled",!a.canCreate),Bf("aria-label","Create new hotlist"+a.filterText),z(3),D("ngIf",!!a.filterText),z(),D("ngIf",a.canLoad),z(),D("ngIf",a.pendingChanges))},eq=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},fq=function(a,b){for(var c in a)if(c.toLowerCase()===
b.toLowerCase())return a[c]},W4a=function(a,b){for(var c in a)if(c.toLowerCase()===b.toLowerCase()){delete a[c];break}},Y4a=function(a){a=vc(a);for(var b=0;b<X4a.length;++b){var c=X4a[b],d=fq(a,c);d&&(a["X-Goog-Upload-Header-"+c]=d,W4a(a,c))}return a},Z4a=function(a){a=vc(a);W4a(a,"X-Goog-Upload-Status");return a},a5a=function(a){if(a&1){var b=u();F(0,"button",3);M("fileSelected",function(c){v(b);var d=O();return x($4a(d,c))});H(1,"mat-icon",4);G()}a&2&&(a=O(),D("selectorType",a.SelectorType.MULTIPLE_FILE_SELECTION)("disableAutoUpload",
!0)("disabled",a.disabled))},b5a=function(a){if(a&1){var b=u();F(0,"button",5);M("fileSelected",function(c){v(b);var d=O();return x($4a(d,c))});H(1,"mat-icon",4);R(2," Add attachments ");G()}a&2&&(a=O(),D("selectorType",a.SelectorType.MULTIPLE_FILE_SELECTION)("disableAutoUpload",!0)("disabled",a.disabled))},c5a=function(a){a&1&&(F(0,"span"),R(1),T(2,"humanFileSize"),T(3,"humanFileSize"),G());if(a&2){var b;a=O().$implicit;z();mg(" ",V(2,2,a.transferredBytes)," of ",V(3,4,(b=a.size)!==null&&b!==void 0?
b:0)," ")}},d5a=function(a){a&1&&(F(0,"span",11),R(1),G());a&2&&(a=O().$implicit,z(),S(" ",a.errorMessage," "))},e5a=function(a){a&1&&(F(0,"span",11),R(1),T(2,"humanFileSize"),G());if(a&2){var b;a=O().$implicit;z();S(" ",V(2,1,(b=a.size)!==null&&b!==void 0?b:0)," ")}},g5a=function(a,b){if(a&1){var c=u();F(0,"div",3)(1,"div",4);H(2,"mat-icon",5);F(3,"span",6);R(4);G();F(5,"span",7);C(6,c5a,4,6,"span",8)(7,d5a,2,1,"span",9)(8,e5a,3,3,"span",9);G()();F(9,"button",10);M("click",function(){var d=v(c).$implicit,
e=O(2);return x(e.cancel(d))});G()()}a&2&&(a=b.$implicit,b=O(2),D("ngClass",ug(8,f5a,a.state===b.uploadStates.ERROR)),z(3),D("matTooltip",a.name),z(),lg(a.name),z(2),D("ngIf",a.state===b.uploadStates.UPLOADING),z(),D("ngIf",a.state===b.uploadStates.ERROR),z(),D("ngIf",a.state===b.uploadStates.COMPLETE),z(),D("matTooltip",a.state===b.uploadStates.UPLOADING?"Cancel upload":"Remove attachment"),Bf("aria-label","Remove attachment"+a.name))},h5a=function(a){a&1&&(F(0,"div",1),C(1,g5a,10,10,"div",2),G());
a&2&&(a=O(),z(),D("ngForOf",a.uploads))},i5a=function(a){this.action=a;this.wfv=!1},j5a=function(a,b){i5a.call(this,"set-drive-options");this.appId=a;this.appOrigin=b},k5a=function(a){a=a&&a.getWindow()||window;return a.gadgets&&a.gadgets.rpc},m5a=function(a,b){var c=b&&b.getWindow()||window;if(k5a(b))a();else if(l5a)l5a.push(a);else var d=l5a=[a],e=c.setInterval(function(){if(k5a(b)){c.clearInterval(e);for(var f=0;f<d.length;f++)d[f]();l5a=null}},100)},o5a=function(a,b){var c=new gq(a);hq(b,c);var d=
{passive:!1};b.listen(c,"mousewheel",function(e){return void n5a(a,e)},d).listen(a,"scroll",function(e){return void n5a(a,e)},d)},n5a=function(a,b){var c;a:{for(c=b.target;c;){if(c.nodeType==1){var d=iq(c,"overflowY");if(d=="auto"||d=="scroll")break a}c=c.parentNode}c=null}if(!c||!p5a(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()},t5a=function(a){if(a&1){var b=u();F(0,"input",
9,2);M("change",function(){v(b);var c=O();if(q5a(c)){var d=jq(c);r5a(c);s5a(c,!0);jq(c).focus();d.scrollTop=c.scrollPosition;d.selectionEnd=c.textAreaLastCursorLocation;d.dispatchEvent(new KeyboardEvent("keydown"));c.contentChange.emit(c.getValue())}return x()})("keyup",function(c){v(b);var d=O();document.activeElement===kq(d)&&(c.key==="Enter"||c.key==="Tab"?(d.taggingInProgress=!1,s5a(d,!0),jq(d).focus()):s5a(d));return x()});G()}a&2&&(a=O(),D("value",a.autocompleteUserName))},u5a=function(a){a&
1&&H(0,"div",10,3)},v5a=function(a){a&1&&Sf(0)},w5a=function(a){a&1&&Sf(0)},x5a=function(a){if(a&1){var b=u();F(0,"div",1);H(1,"mat-icon",2);F(2,"div",3);R(3," Comment and vote +1 on this issue to increase visibility ");G();F(4,"div",4)(5,"button",5);M("click",function(c){v(b);var d=O();return x(d.onClick(c))});R(6,"Comment and vote +1");G()()()}a&2&&(z(),D("matTooltip","The +1 button is located in the top right corner of the issue details page"))},y5a=function(a){if(a&1){var b=u();K(0);F(1,"b-plus-one-comment-callout",
8);M("onSubmitComment",function(c){v(b);O().onSubmit.emit(c);return x()});G();L()}a&2&&(a=O(),z(),D("isPlusOneText",a.comment.value.trim()==="+1"))},z5a=function(a){if(a&1){var b=u();F(0,"b-drive-attachment",13);M("onPickDoc",function(c){v(b);var d=O(2);d.comment&&(d.comment.value=d.comment.formattingMode==="MARKDOWN"?d.comment.value+("\n\n["+c.name+"]("+c.url+")"):d.comment.value+("\n\n"+c.name+" - "+c.url));return x()})("onCloneBlob",function(c){v(b);var d=O(2);return x(d.addUpload(c))});G()}a&
2&&(a=O(2),D("disabled",a.attachmentsDisabled))},A5a=function(a){if(a&1){var b=u();K(0);F(1,"button",16);M("click",function(){v(b);var c=O(3);return x(c.onRestrict.emit())});H(2,"mat-icon",17);G();L()}a&2&&(a=O(3),z(),D("disabled",a.attachmentsDisabled))},B5a=function(a){if(a&1){var b=u();F(0,"button",18);M("click",function(){v(b);var c=O(3);return x(c.onRestrict.emit())});H(1,"mat-icon",17);R(2);G()}a&2&&(a=O(3),z(2),S(" ",a.getRestrictedLabel()," "))},C5a=function(a){a&1&&(F(0,"div",14),C(1,A5a,
3,1,"ng-container",15)(2,B5a,3,1,"ng-template",null,1,yg),G());if(a&2){a=Q(3);var b=O(2);z();D("ngIf",!b.isRestricted())("ngIfElse",a)}},D5a=function(a){if(a&1){var b=u();F(0,"div",9);Yf(1,2,[1,"goog-inline-block"]);F(2,"b-attachment-selector",10);M("onSelect",function(c){v(b);var d=O();return x(d.uploadFile(c))});G();C(3,z5a,1,1,"b-drive-attachment",11)(4,C5a,4,2,"div",12);G()}a&2&&(a=O(),z(2),D("disabled",a.attachmentsDisabled),z(),D("ngIf",!a.currentTracker),z(),D("ngIf",a.showRestrictionOptions))},
E5a=function(a){a&1&&(F(0,"div"),H(1,"b-live-preview",19),G());a&2&&(a=O(),z(),D("comment",a.comment.value)("issueId",a.issueId)("audience",a.audience)("formattingMode",a.comment.formattingMode))},F5a=function(a){a&1&&(F(0,"li")(1,"a",1),R(2),G(),H(3,"b-issue-visibility-chip",2),G());a&2&&(a=O().$implicit,z(),Zf("href","issues/",a.issueId,"",Qe),z(),S("b/",a.issueId,""),z(),D("issueId",a.issueId))},G5a=function(a,b){a&1&&C(0,F5a,4,4,"li");a&2&&Of(b.$implicit.type==="issue"?0:-1)},H5a=function(a){a&
1&&(F(0,"ul"),Qf(1,G5a,1,1,null,null,Fla),G(),R(3," within: "));a&2&&(a=O(2),z(),Rf(a.externalWarnings))},I5a=function(a){a&1&&(F(0,"li"),R(1),H(2,"b-component-access-level-indicator",3),G());a&2&&(a=O().$implicit,z(),S(" ",a.path," "),z(),D("accessLevel",a.accessLevel))},J5a=function(a,b){a&1&&C(0,I5a,3,2,"li");a&2&&Of(b.$implicit.type==="component"?0:-1)},K5a=function(a){a&1&&(F(0,"div",0)(1,"div")(2,"strong"),R(3,"You are editing issues in components that may have external viewers:"),G()(),C(4,
H5a,4,0),F(5,"ul"),Qf(6,J5a,1,1,null,null,Fla),G()());a&2&&(a=O(),z(4),Of(a.enableNewVisibilityChips?4:-1),z(2),Rf(a.externalWarnings))},M5a=function(a,b){if(a&1){var c=u();F(0,"button",13);M("click",function(){var d=v(c).$implicit,e=O(3);return x(L5a(e.issueEditBuilder,d))});R(1);G()}a&2&&(a=b.$implicit,b=O(3),D("disabled",b.issueEditBuilder.issueState==a),z(),S(" ",a.displayValue," "))},N5a=function(a){if(a&1){var b=u();F(0,"div",27)(1,"span");R(2,"Multiple");G();F(3,"a",28);M("click",function(){v(b);
var c=O(4);return x(c.issueEditBuilder.clearAssignee())});R(4,"X");G()()}},O5a=function(a){if(a&1){var b=u();F(0,"div",27)(1,"span");R(2,"Possibly multiple");G();F(3,"a",28);M("click",function(){v(b);var c=O(4);return x(c.issueEditBuilder.clearAssignee())});R(4,"X");G()()}},Q5a=function(a){if(a&1){var b=u();F(0,"div")(1,"input",29);pg("ngModelChange",function(c){v(b);var d=O(4);og(d.issueEditBuilder.commonAssignee,c)||(d.issueEditBuilder.commonAssignee=c);return x(c)});M("ngModelChange",function(){v(b);
var c=O(4);return x(P5a(c.issueEditBuilder))});G()()}a&2&&(a=O(4),z(),ng("ngModel",a.issueEditBuilder.commonAssignee),D("bContactAutocomplete","SINGLE"),Bf("cdkFocusInitial",a.focus===a.FocusableField.ASSIGNEE||null))},R5a=function(a){if(a&1){var b=u();F(0,"div",27)(1,"span");R(2);G();F(3,"a",30);M("click",function(){v(b);var c=O(4);return x(c.issueEditBuilder.clearVerifier())});R(4,"X");G()()}a&2&&(a=O(4),Kf("bv2-invalid-multiple-user-chip",!lq(a.issueEditBuilder)),z(2),S(" Multiple ",lq(a.issueEditBuilder)?
"":"(some unset)"," "))},S5a=function(a){if(a&1){var b=u();F(0,"div",27)(1,"span");R(2);G();F(3,"a",30);M("click",function(){v(b);var c=O(4);return x(c.issueEditBuilder.clearVerifier())});R(4,"X");G()()}a&2&&(a=O(4),Kf("bv2-invalid-multiple-user-chip",!lq(a.issueEditBuilder)),z(2),S(" Possibly multiple ",lq(a.issueEditBuilder)?"":"(some unset)"," "))},T5a=function(a){if(a&1){var b=u();F(0,"div")(1,"input",31);pg("ngModelChange",function(c){v(b);var d=O(4);og(d.issueEditBuilder.commonVerifier,c)||
(d.issueEditBuilder.commonVerifier=c);return x(c)});G()()}a&2&&(a=O(4),z(),ng("ngModel",a.issueEditBuilder.commonVerifier),D("required",(a.issueEditBuilder.issueState==null?null:a.issueEditBuilder.issueState.status)=="VERIFIED")("bContactAutocomplete","SINGLE"),Bf("cdkFocusInitial",a.focus===a.FocusableField.VERIFIER||null))},U5a=function(a){a&1&&(F(0,"div")(1,"div",21)(2,"label",22),R(3," Assignee "),G(),F(4,"div",15),C(5,N5a,5,0,"div",23)(6,O5a,5,0,"div",23)(7,Q5a,2,3,"div",24),G()(),F(8,"div",
21)(9,"label",25),R(10," Verifier "),G(),F(11,"div",15),C(12,R5a,5,3,"div",26)(13,S5a,5,3,"div",26)(14,T5a,2,4,"div",24),G()()());a&2&&(a=O(3),z(4),D("ngSwitch",a.issueEditBuilder.selectedAssigneesStatus),z(),D("ngSwitchCase","MULTIPLE"),z(),D("ngSwitchCase","POSSIBLY_MULTIPLE"),z(5),D("ngSwitch",a.issueEditBuilder.selectedVerifiersStatus),z(),D("ngSwitchCase","MULTIPLE"),z(),D("ngSwitchCase","POSSIBLY_MULTIPLE"))},V5a=function(a){if(a&1){var b=u();F(0,"div",21)(1,"label",32);R(2," Issue ID ");G();
F(3,"input",33);M("ngModelChange",function(c){v(b);var d=O(3).issueEditBuilder;c=nHa(c);return x(d.commonDuplicateOf=c.length===1?c[0]:"")});G()()}a&2&&(a=O(3),z(3),D("ngModel",a.issueEditBuilder.commonDuplicateOf),Bf("cdkFocusInitial",a.focus===a.FocusableField.DUPE_ID||null))},W5a=function(a){if(a&1){var b=u();F(0,"div",10)(1,"button",11)(2,"span");R(3);G();H(4,"b-icon",12);G();F(5,"mat-menu",null,2)(7,"button",13);M("click",function(){v(b);var d=O(2);return x(d.issueEditBuilder.issueState=void 0)});
R(8,"No change ");G();C(9,M5a,2,2,"button",14);G();F(10,"div",15);C(11,U5a,15,6,"div",16)(12,V5a,4,2,"div",17);G();F(13,"div")(14,"b-comment-box",18);M("onSubmit",function(){v(b);var d;(d=O(2).matDialogRef)==null||d.close(!0);return x()});G()();H(15,"div",19)(16,"b-external-warnings",20);G()}if(a&2){a=Q(6);var c=O(2);z();D("matMenuTriggerFor",a);z(2);lg(c.issueEditBuilder.issueState?c.issueEditBuilder.issueState.displayValue:"No change");z(4);D("disabled",!c.issueEditBuilder.issueState);z(2);D("ngForOf",
c.issueStates);z();D("ngSwitch",!c.issueEditBuilder.issueState||c.issueEditBuilder.issueState.status!=="DUPLICATE");z();D("ngSwitchCase",!0);z(3);D("comment",c.comment)("showToolbar",!1);z(2);D("externalWarnings",c.externalWarnings)}},X5a=function(a){if(a&1){var b=u();F(0,"div",34)(1,"b-recaptcha",35);M("onUpdate",function(c){v(b);var d=O(2);return x(d.issueEditBuilder.recaptchaResponse=c)});G()()}},Z5a=function(a){a&1&&(F(0,"form",null,1)(2,"h1",3),R(3,"Change issue status"),G(),F(4,"div",4)(5,"span"),
R(6,"Enter updated issue status information below"),G(),C(7,W5a,17,9,"div",5),G(),C(8,X5a,2,0,"div",6),F(9,"div",7)(10,"button",8),R(11," Cancel "),G(),F(12,"button",9),R(13," Save "),G()()());if(a&2){var b=Q(1);a=O();z(7);D("ngIf",a.issueEditBuilder);z();D("ngIf",a.issueEditBuilder&&a.enableRecaptcha);z(2);D("mat-dialog-close",!1);z(2);var c=D("mat-dialog-close",!0);if(!(b=b.invalid))a:{if(a.issueEditBuilder!=null){b=Y5a(a.issueEditBuilder);var d=b.get("status");if(d==="DUPLICATE"){b=!b.get("duplicateOfIssueId");
break a}if(d==="VERIFIED"){b=!lq(a.issueEditBuilder)&&!b.get("verifier");break a}}b=!1}c("disabled",b||!(!a.enableRecaptcha||a.issueEditBuilder.recaptchaResponse!==""))}},a6a=function(a){if(a&1){var b=u();F(0,"b-app-bar-bulk-edit-menus",6);T(1,"async");M("onBulkEdit",function(d){v(b);var e=O();return x(e.bulkEdit(d))})("onQuickBulkEdit",function(d){v(b);var e=O();return x(e.quickBulkEdit(d))})("onBulkEditIssueRelation",function(d){v(b);var e=O();return x(e.bulkEditIssueRelation(d))})("onBulkMarkIssueRead",
function(){v(b);var d=O();return x(d.bulkMarkIssueRead())});G()}if(a&2){var c;a=O();D("readStatePrompt",$5a(a))("enableBulkEstimatedEffortOption",(c=V(1,2,a.enableBulkEstimatedEffortOption$))!==null&&c!==void 0?c:!1)}},e6a=function(a){if(a&1){var b=u();F(0,"b-copy-issue-id-button",7);M("onClickCopyIssueIds",function(){v(b);var c=O();return x(b6a(c.copyIssueIdService,mq(c)))})("onClickCopyIssueShortLinks",function(){v(b);var c=O();return x(c6a(c.copyIssueIdService,mq(c)))})("onClickCopyAsIssueSearch",
function(){v(b);var c=O();return x(d6a(c.copyIssueIdService,mq(c)))});G()}a&2&&(a=O(),D("shortLinkPrefix",a.copyIssueIdService.shortLinkPrefix)("shouldShowCopyIssueShortLinks",a.activeSession.isInternalSession()))},f6a=function(a){if(a&1){var b=u();F(0,"div",8)(1,"b-hotlist-picker",9);M("onApply",function(c){v(b);var d=O();return x(d.handleHotlistPickerSave(c))})("onCreate",function(c){v(b);var d=O();return x(d.onCreateHotlist.emit(c))})("onLoad",function(c){v(b);var d=O();return x(d.onLoadHotlist.emit(c))});
G()()}a&2&&(a=O(),z(),D("selectedHotlistIds",a.hotlistIdMatrix)("choices",a.hotlistChoices))},h6a=function(a){if(a&1){var b=u();F(0,"b-comment-box",16);pg("commentChange",function(c){v(b);var d=O(2);og(d.comment,c)||(d.comment=c);return x(c)});M("onSubmit",function(){v(b);var c=O(2);return x(g6a(c))});G()}a&2&&(a=O(2),ng("comment",a.comment),D("showToolbar",!1))},i6a=function(a){if(a&1){var b=u();F(0,"div",17)(1,"b-recaptcha",18);M("onUpdate",function(c){v(b);var d=O(2);return x(d.recaptchaResponse=
c)});G()()}},j6a=function(a){a&1&&(F(0,"h1",10),R(1,"Add comment"),G(),F(2,"mat-dialog-content"),C(3,h6a,1,2,"b-comment-box",11),H(4,"b-external-warnings",12),G(),C(5,i6a,2,0,"div",13),F(6,"mat-dialog-actions")(7,"button",14),R(8," Cancel "),G(),F(9,"button",15),R(10," Save "),G()());a&2&&(a=O(),z(3),D("ngIf",a.comment),z(),D("externalWarnings",a.externalWarnings),z(),D("ngIf",a.enableRecaptcha),z(2),D("mat-dialog-close",!1),z(2),D("disabled",a.enableRecaptcha&&a.recaptchaResponse==="")("mat-dialog-close",
!0))},k6a=function(a){if(a&1){var b=u();F(0,"button",7);M("click",function(){v(b);var c=O(2);return x(c.removeHotlist.emit())});H(1,"mat-icon",8);G()}a&2&&(a=O(2),Kf("invisible",a.disabled),Bf("aria-disabled",a.disabled)("aria-label","Remove the hotlist "+a.hotlist.name))},l6a=function(a){a&1&&(K(0),F(1,"span",2)(2,"span",3)(3,"a",4),R(4),G()(),C(5,k6a,2,4,"button",5),G(),F(6,"onedev-hovercard",null,0),H(8,"b-hotlist-card",6),G(),L());if(a&2){a=Q(7);var b=O();z();Jf("padding-right",b.removable?0:
"10px");Kf("muted",b.disabled);D("onedevHovercardTrigger",a)("onedevHovercardActive",b.showHovercard);z(2);D("href",b.ROUTES.viewHotlist.makeHref(b.hotlist.hotlistId),Qe);Bf("aria-label",b.getAriaLabel(b.hotlist));z();lg(b.hotlist.name);z();D("ngIf",b.removable);z(3);D("hotlist",b.hotlist)}},oq=function(a){for(var b=l(m6a),c=b.next();!c.done;c=b.next())if(c=c.value,c.accessLevel===a)return c.title;return nq.title},n6a=function(a){a&1&&H(0,"mat-icon",10);a&2&&(a=O(),D("matTooltip",a.disabledDropdownTooltip))},
o6a=function(a,b){if(a&1){var c=u();F(0,"button",11);M("click",function(){var d=v(c).$implicit,e=O();e.selectedDisplay$.next(d);e.updatedAccessLimitLevel.emit(d.accessLevel);return x()});F(1,"div",12);H(2,"mat-icon",13);F(3,"span",14);R(4);G()();F(5,"div",15);R(6);G()()}a&2&&(a=b.$implicit,b=O(),z(2),D("svgIcon",a.icon),z(2),S(" ",a.title," "),z(2),S(" ",b.implicitAccessEnabled?a.descriptionWithExpandedAccess:a.descriptionNoExpandedAccess," "))},p6a=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},q6a=function(a){a&1&&(F(0,"span"),R(1,"Edit"),G())},r6a=function(a){a&1&&(F(0,"span"),R(1,"Cancel"),G())},x6a=function(a){if(a&1){var b=u();K(0);F(1,"td")(2,"div")(3,"div",17);R(4);G();F(5,"div",18)(6,"a",19);R(7);G()()()();F(8,"td",10)(9,"mat-radio-button",20);M("change",
function(d){v(b);var e=O(2);return x(s6a(e,d.value))});G()();F(10,"td",10)(11,"b-button",21);M("onAction",function(){v(b);var d=O().$implicit,e=O();return x(t6a(e,d))});C(12,q6a,2,0,"span",15)(13,r6a,2,0,"span",15);G()();F(14,"td",10)(15,"b-button",22);M("onAction",function(){v(b);var d=O().$implicit,e=O();return x(u6a(e,d))});R(16," Delete ");G()();L()}if(a&2){a=O().$implicit;var c=O();z(3);Kf("selected",pq(c,a));z();S(" ",a.name," ");z(2);D("href",v6a(c,a),Qe);Bf("aria-label",a.name+"- Click to create a new issue");
z();S(" ",v6a(c,a)," ");z(2);Zf("id","template-default-radio-",a.index,"");D("checked",c.defaultIndex===a.index)("aria-label","Make template "+a.name+" as default template")("value",a.index);z(2);D("bAriaLabel",pq(c,a)?"Cancel editing "+a.name:"Edit "+a.name);z();D("ngIf",!pq(c,a));z();D("ngIf",pq(c,a));z(2);D("bAriaLabel","Delete "+a.name)("disabled",!w6a(c,a))}},y6a=function(a){a&1&&(F(0,"h2",76),R(1," Create Template "),G())},z6a=function(a){a&1&&(F(0,"h2",76),R(1),G());a&2&&(a=O(2).$implicit,
z(),mg(' Edit template "',a.name,'" ',a.editableTemplate.isDirty()?"(changed)":""," "))},A6a=function(a){if(a&1){var b=u();K(0);F(1,"div",26)(2,"b-slide-toggle",77);M("modelChange",function(){v(b);var c=O(2).$implicit.editableTemplate;c.inheritable=!c.inheritable;c.dirty=!0;return x()});G();F(3,"span",27)(4,"label",78);R(5,"Inherited by all child components");G();H(6,"mat-icon",79);G()();L()}a&2&&(a=O(2).$implicit,z(2),D("model",a.editableTemplate.inheritable))},B6a=function(a,b){a&1&&(F(0,"mat-option",
86),R(1),G());a&2&&(a=b.$implicit,$f("value",a),z(),S(" ",a," "))},C6a=function(a){if(a&1){var b=u();F(0,"div",80)(1,"div",27)(2,"label",81);R(3,"Collaborator Groups");G();H(4,"mat-icon",82);G();F(5,"mat-form-field",83)(6,"mat-select",84);pg("ngModelChange",function(d){v(b);var e=O(2).$implicit;og(e.editableTemplate.collaboratorGroups,d)||(e.editableTemplate.collaboratorGroups=d);return x(d)});M("ngModelChange",function(){v(b);O(2).$implicit.editableTemplate.dirty=!0;return x()});F(7,"mat-select-trigger");
R(8);G();C(9,B6a,2,2,"mat-option",85);G()()()}if(a&2){a=O(2).$implicit;var c=O();z(4);$f("matTooltip",c.COLLABORATOR_GROUPS_TOOLTIP);z(2);ng("ngModel",a.editableTemplate.collaboratorGroups);z(2);S(" ",a.editableTemplate.getCollaboratorGroupsString()," ");z();D("ngForOf",c.trackerCollaboratorGroups)}},E6a=function(a,b){if(a&1){var c=u();F(0,"button",87);M("click",function(){var e=v(c).$implicit,f=O(2).$implicit,h=O();f.issueType=e.value;return x(D6a(h))});R(1);G()}if(a&2){var d;a=b.$implicit;b=O(2).$implicit;
D("disabled",b.issueType===a.value)("matTooltip",(d=a.altText)!==null&&d!==void 0?d:"");z();S(" ",a.displayText," ")}},F6a=function(a,b){if(a&1){var c=u();F(0,"button",88);M("click",function(){var d=v(c).$implicit,e=O(2).$implicit;e.editableTemplate.priority=d.value;e.editableTemplate.dirty=!0;return x()});R(1);G()}a&2&&(a=b.$implicit,b=O(2).$implicit,D("disabled",b.editableTemplate.priority===a.value),z(),S(" ",a.displayText," "))},G6a=function(a,b){if(a&1){var c=u();F(0,"button",88);M("click",function(){var d=
v(c).$implicit,e=O(2).$implicit;e.editableTemplate.severity=d.value;e.editableTemplate.dirty=!0;return x()});R(1);G()}a&2&&(a=b.$implicit,b=O(2).$implicit,D("disabled",b.editableTemplate.severity===a.value),z(),S(" ",a.displayText," "))},H6a=function(a,b){if(a&1){var c=u();F(0,"div",89)(1,"b-hotlist-chip",90);M("removeHotlist",function(){var d=v(c).$implicit,e=O(3);return x(e.removeHotlist(d.hotlistId))});G()()}a&2&&(a=b.$implicit,z(),D("hotlist",a))},I6a=function(a){a&1&&(F(0,"h3"),R(1,"Custom issue fields"),
G())},J6a=function(a){if(a&1){var b=u();F(0,"input",98);pg("ngModelChange",function(d){v(b);var e=O().$implicit,f=O(2).$implicit;og(f.editableTemplate.customFieldValues[e.id].textValue,d)||(f.editableTemplate.customFieldValues[e.id].textValue=d);return x(d)});M("ngModelChange",function(){v(b);O(3).$implicit.editableTemplate.dirty=!0;return x()});G()}if(a&2){a=O().$implicit;var c=O(2).$implicit;Df("id","template-cf-",a.id,"");ng("ngModel",c.editableTemplate.customFieldValues[a.id].textValue)}},K6a=
function(a){if(a&1){var b=u();F(0,"input",99);pg("ngModelChange",function(d){v(b);var e=O().$implicit,f=O(2).$implicit;og(f.editableTemplate.customFieldValues[e.id].numericValue,d)||(f.editableTemplate.customFieldValues[e.id].numericValue=d);return x(d)});M("ngModelChange",function(){v(b);O(3).$implicit.editableTemplate.dirty=!0;return x()});G()}if(a&2){a=O().$implicit;var c=O(2).$implicit;Df("id","template-cf-",a.id,"");ng("ngModel",c.editableTemplate.customFieldValues[a.id].numericValue)}},M6a=
function(a){if(a&1){var b=u();F(0,"b-edit-field",100);M("valueChange",function(h){v(b);var k=O().$implicit,q=O(2).$implicit,t=O();return x(t.setCustomField(q,k.id,h))});G()}if(a&2){var c,d;a=O().$implicit;var e=O(2).$implicit,f=O();Df("id","template-cf-",a.id,"");D("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:tg(7,L6a))}},N6a=function(a){if(a&1){var b=u();F(0,"bv2-input-date-picker",101);M("boundValueChange",function(e){v(b);var f=O().$implicit,h=O(2).$implicit,k=O();return x(h.editableTemplate.customFieldValues[f.id].dateValue=k.getDateValue(e))})("boundValueChange",function(){v(b);O(3).$implicit.editableTemplate.dirty=!0;return x()});G()}if(a&2){var c;a=O().$implicit;var d=O(2).$implicit;Df("id","template-cf-",a.id,"");D("boundValue",(c=d.editableTemplate.customFieldValues[a.id].dateValue)!==
null&&c!==void 0?c:void 0)}},P6a=function(a){if(a&1){var b=u();F(0,"b-list-field",102);M("valuesChange",function(e){v(b);var f=O().$implicit,h=O(2).$implicit,k=O();return x(k.setCustomField(h,f.id,e.values))});G()}if(a&2){a=O().$implicit;var c=O(2).$implicit,d=O();Df("id","template-cf-",a.id,"");D("defaultLineCount",2)("type",d.getListFieldType(a.type))("values",O6a(c.editableTemplate.customFieldValues[a.id]))("enumChoices",a.enumFields)("truncate",!0)}},Q6a=function(a,b){a&1&&(F(0,"div")(1,"div",
27)(2,"label",91),R(3),G()(),F(4,"div",92),C(5,J6a,1,3,"input",93)(6,K6a,1,3,"input",94)(7,M6a,1,8,"b-edit-field",95)(8,N6a,1,3,"bv2-input-date-picker",96)(9,P6a,1,7,"b-list-field",97),G()());a&2&&(a=b.$implicit,Nf("cell-",a.cellType,""),z(2),Zf("for","template-cf-",a.id,""),z(),mg("",a.name," (id=",a.id,")"),z(),D("ngSwitch",a.type),z(),D("ngSwitchCase","TEXT"),z(),D("ngSwitchCase","NUMERIC"),z(),D("ngSwitchCase","ENUM"),z(),D("ngSwitchCase","DATE"))},W6a=function(a){if(a&1){var b=u();F(0,"td",23)(1,
"div",24);C(2,y6a,2,0,"h2",25)(3,z6a,2,2,"h2",25);F(4,"div",26)(5,"div",27)(6,"label",28);R(7,"Template Name");G()();F(8,"input",29);pg("ngModelChange",function(h){v(b);var k=O().$implicit;og(k.editableTemplate.name,h)||(k.editableTemplate.name=h);return x(h)});M("ngModelChange",function(){v(b);O().$implicit.editableTemplate.dirty=!0;return x()});G()();C(9,A6a,7,1,"ng-container",15);F(10,"div",26)(11,"div",27)(12,"label",30);R(13,"Description of Template");G()();F(14,"input",31);pg("ngModelChange",
function(h){v(b);var k=O().$implicit;og(k.editableTemplate.description,h)||(k.editableTemplate.description=h);return x(h)});M("ngModelChange",function(){v(b);O().$implicit.editableTemplate.dirty=!0;return x()});G()();F(15,"div",32)(16,"h3");R(17," Standard issue fields ");G();F(18,"div",33)(19,"div",34)(20,"div",27)(21,"label",35);R(22,"Issue Access Level");G()();F(23,"b-issue-access-limits-dropdown",36);M("updatedAccessLimitLevel",function(h){v(b);var k=O().$implicit;return x(k.editableTemplate.onAccessLimitLevelSelected(h))});
G()();C(24,C6a,10,4,"div",37);G();F(25,"div",26)(26,"div",27)(27,"label",38);R(28,"Title");G()();F(29,"input",39);pg("ngModelChange",function(h){v(b);var k=O().$implicit;og(k.editableTemplate.title,h)||(k.editableTemplate.title=h);return x(h)});M("ngModelChange",function(){v(b);O().$implicit.editableTemplate.dirty=!0;return x()});G()();F(30,"div",40)(31,"div",27)(32,"label",41);R(33,"Type");G()();F(34,"button",42)(35,"span");R(36);G();H(37,"b-icon",43);G();F(38,"mat-menu",44,2);C(40,E6a,2,3,"button",
45);G()();F(41,"div",40)(42,"div",27)(43,"label",46);R(44,"Priority");G()();F(45,"button",47)(46,"span");R(47);G();H(48,"b-icon",43);G();F(49,"mat-menu",44,3);C(51,F6a,2,2,"button",48);G()();F(52,"div",40)(53,"div",27)(54,"label",49);R(55,"Severity");G()();F(56,"button",50)(57,"span");R(58);G();H(59,"b-icon",43);G();F(60,"mat-menu",44,4);C(62,G6a,2,2,"button",48);G()();F(63,"div",51)(64,"div",27)(65,"label",52);R(66,"Default Hotlists");G()();F(67,"b-hotlist-picker",53);M("onApply",function(h){v(b);
var k=O(2);return x(k.handleHotlistPickerSave(h))})("onCreate",function(h){v(b);var k=O(2);return x(k.createHotlist(h))})("onLoad",function(h){v(b);var k=O(2);return x(k.loadHotlist(h))});G();C(68,H6a,2,1,"div",54);G();H(69,"div",55);F(70,"div",56)(71,"div",27)(72,"label",57);R(73,"Assignee");G()();F(74,"input",58);pg("ngModelChange",function(h){v(b);var k=O().$implicit;og(k.editableTemplate.assignee,h)||(k.editableTemplate.assignee=h);return x(h)});M("ngModelChange",function(){v(b);O().$implicit.editableTemplate.dirty=
!0;return x()});G()();F(75,"div",56)(76,"div",27)(77,"label",59);R(78,"Verifier");G()();F(79,"input",60);pg("ngModelChange",function(h){v(b);var k=O().$implicit;og(k.editableTemplate.verifier,h)||(k.editableTemplate.verifier=h);return x(h)});M("ngModelChange",function(){v(b);O().$implicit.editableTemplate.dirty=!0;return x()});G()();F(80,"div",26)(81,"div",27)(82,"label",61);R(83,"Collaborators");G();H(84,"mat-icon",62);G();F(85,"input",63);M("ngModelChange",function(h){v(b);var k=O().$implicit;return x(R6a(k.editableTemplate,
h))});G()();F(86,"div",26)(87,"div",27)(88,"label",64);R(89,"CC");G()();F(90,"input",65);M("ngModelChange",function(h){v(b);var k=O().$implicit;return x(S6a(k.editableTemplate,h))});G()();F(91,"div",26)(92,"div",27)(93,"label",66);R(94,"Initial Comment");G()();F(95,"textarea",67);pg("ngModelChange",function(h){v(b);var k=O().$implicit;og(k.editableTemplate.comment,h)||(k.editableTemplate.comment=h);return x(h)});M("ngModelChange",function(){v(b);O().$implicit.editableTemplate.dirty=!0;return x()});
R(96,"              ");G();F(97,"b-markdown-toggle",68);M("change",function(h){v(b);var k=O().$implicit;return x(k.editableTemplate.setFormattingMode(h))});G()();F(98,"div",26)(99,"div",27)(100,"label",69);R(101,"In Prod");G()();F(102,"b-slide-toggle",70);M("modelChange",function(){v(b);var h=O().$implicit.editableTemplate;h.inProd=!h.inProd;h.dirty=!0;return x()});G()()();F(103,"div",71);C(104,I6a,2,0,"h3",15)(105,Q6a,10,12,"div",72);G();F(106,"div",73)(107,"b-button",74);M("onAction",function(){v(b);
var h=O(2);return x(T6a(h))});R(108," Save ");G();F(109,"b-button",75);M("onAction",function(){v(b);var h=O(2);return x(U6a(h))});R(110," Cancel ");G()()()()}if(a&2){a=Q(39);var c=Q(50),d=Q(61),e=O().$implicit,f=O();z(2);D("ngIf",e.editableTemplate.new);z();D("ngIf",!e.editableTemplate.new);z(5);ng("ngModel",e.editableTemplate.name);z();D("ngIf",f.enableTemplateInheritance);z(5);ng("ngModel",e.editableTemplate.description);z(9);D("disabled",!1)("defaultAccessLimitLevel",e.editableTemplate.issueAccessLimitLevel)("implicitAccessEnabled",
f.implicitAccessEnabled);z();D("ngIf",f.trackerCollaboratorGroups.length);z(5);ng("ngModel",e.editableTemplate.title);z(5);D("matMenuTriggerFor",a);z(2);lg(V6a(e.issueType));z(2);D("overlapTrigger",!0);z(2);D("ngForOf",f.issueTypeChoices);z(5);D("matMenuTriggerFor",c);z(2);lg(e.editableTemplate.priority);z(2);D("overlapTrigger",!0);z(2);D("ngForOf",f.priorityChoices);z(5);D("matMenuTriggerFor",d);z(2);lg(e.editableTemplate.severity);z(2);D("overlapTrigger",!0);z(2);D("ngForOf",f.severityChoices);
z(5);D("selectedHotlistIds",f.selectedHotlistIds)("choices",f.hotlists);z();D("ngForOf",f.selectedHotlists);z(6);D("bContactAutocomplete","SINGLE");ng("ngModel",e.editableTemplate.assignee);z(5);D("bContactAutocomplete","SINGLE");ng("ngModel",e.editableTemplate.verifier);z(6);D("bContactAutocomplete","MULTI")("ngModel",e.editableTemplate.collaborators.join(", "));z(5);D("bContactAutocomplete","MULTI")("ngModel",e.editableTemplate.cc.join(", "));z(5);ng("ngModel",e.editableTemplate.comment);z(2);D("initialValue",
e.editableTemplate.formattingMode);z(5);D("model",e.editableTemplate.inProd);z(2);D("ngIf",f.customFieldRows.length>0);z();D("ngForOf",f.customFieldRows);z(2);D("disabled",!e.editableTemplate.isDirty())}},X6a=function(a,b){a&1&&(F(0,"tr"),C(1,x6a,17,16,"ng-container",15)(2,W6a,111,39,"td",16),G());a&2&&(a=b.$implicit,z(),D("ngIf",!a.editableTemplate),z(),D("ngIf",!!a.editableTemplate))},Y6a=function(a){a&1&&(F(0,"tr")(1,"td",23)(2,"div",103)(3,"strong"),R(4,"Templates inherited from parent components"),
G()()()())},Z6a=function(a){a&1&&(K(0),H(1,"b-component-card",109,6),L());if(a&2){a=Q(2);var b=O().$implicit;z();D("onedevIsHovercardReady",a.init)("componentId",b.componentId.toString())}},$6a=function(a,b){if(a&1){var c=u();F(0,"tr")(1,"td")(2,"div")(3,"div",17);R(4);G();F(5,"div",18)(6,"a",19);R(7);G()()()();F(8,"td",10)(9,"mat-radio-button",20);M("change",function(e){v(c);var f=O(2);return x(s6a(f,e.value))});G()();F(10,"td",104)(11,"div",105)(12,"div",106);R(13,"Inherited From");G();F(14,"a",
107);R(15);G();F(16,"onedev-hovercard",null,5);C(18,Z6a,3,2,"ng-container",108);G()()()()}if(a&2){a=b.$implicit;b=Q(17);var d=O(2);z(3);Kf("selected",pq(d,a));z();S(" ",a.name," ");z(2);D("href",v6a(d,a),Qe);Bf("aria-label",a.name+"- Click to create a new issue");z();S(" ",v6a(d,a)," ");z(2);Zf("id","template-default-radio-",a.index,"");D("checked",d.defaultIndex===a.index)("aria-label","Make template "+a.name+" as default template")("value",a.index);z(5);D("onedevHovercardTrigger",b)("href",d.ROUTES.editComponentTemplates.makeHref(a.componentId),
Qe);Bf("aria-label","Inherited from "+d.componentIdsToPaths[a.componentId]);z();S(" ",d.componentIdsToPaths[a.componentId]," ")}},a7a=function(a,b){a&1&&C(0,Y6a,5,0,"tr",15)(1,$6a,19,15,"tr",11);a&2&&(a=b.ngIf,D("ngIf",a.length),z(),D("ngForOf",a))},b7a=function(a,b){a&1&&(F(0,"div",110),R(1),G(),F(2,"div",111)(3,"button",112),R(4," Cancel "),G(),F(5,"button",113),R(6," Confirm "),G()());a&2&&(a=b.$implicit,z(),S(' Are you sure you want to delete the template "',a.name,'"? '),z(2),D("mat-dialog-close",
!1),z(2),D("mat-dialog-close",!0))},c7a=function(a,b){a&1&&(F(0,"div",110),R(1),G(),F(2,"div",111)(3,"button",114),R(4," Cancel "),G(),F(5,"button",114),R(6," Don't Save "),G(),F(7,"button",115),R(8," Save "),G()());a&2&&(a=b.$implicit,z(),S(' Do you want to save changes to template "',a.name,'" before closing? '),z(2),D("mat-dialog-close",void 0),z(2),D("mat-dialog-close",!1),z(2),D("mat-dialog-close",!0))},d7a=function(a){a&1&&(K(0),F(1,"div"),R(2),G(),F(3,"div"),R(4),G(),L());a&2&&(a=O(),z(2),
S(" Policy: ",a.rawObjectiveDisplayText," (business) "),z(2),S("Effective: ",a.objectiveDisplayText," (calendar)"))},e7a=function(a){a&1&&(F(0,"div"),R(1),G());a&2&&(a=O(),z(),S("Policy: ",a.rawObjectiveDisplayText," (calendar)"))},f7a=function(a){a&1&&(F(0,"div"),H(1,"b-slo-time-indicator",1),G());a&2&&(a=O(),z(),D("sloStartTime",a.sloStartTime)("sloEndTime",a.sloEndTime)("sloBounds",a.assignmentSlo)("includeObjective",!0))},g7a=function(a){a&1&&(F(0,"div"),H(1,"b-slo-time-indicator",2),G());a&2&&
(a=O(),z(),D("sloStartTime",a.sloStartTime)("sloEndTime",a.sloEndTime)("sloBounds",a.responseSlo)("includeObjective",!0))},h7a=function(a){a&1&&(F(0,"div"),H(1,"b-slo-time-indicator",3),G());a&2&&(a=O(),z(),D("sloStartTime",a.sloStartTime)("sloEndTime",a.sloEndTime)("sloBounds",a.closureSlo)("includeObjective",!0))},i7a=function(a){a&1&&(F(0,"div",8),H(1,"b-slo-status-summary",9),G());a&2&&(a=O(),z(),D("sloStatus",a.sloStatus)("sloStartTime",a.sloStartTime)("onlyShowMetric",a.onlyShowMetric))},j7a=
function(a){a&1&&(K(0),R(1," No applicable SLO rules "),L())},k7a=function(a){a&1&&(K(0),R(1," No SLO set on issue component "),L())},l7a=function(a){a&1&&(F(0,"div",10),C(1,j7a,2,0,"ng-container",7)(2,k7a,2,0,"ng-container",7),G());a&2&&(a=O(),z(),D("ngIf",a.editSloLink),z(),D("ngIf",!a.editSloLink))},m7a=function(a){if(a&1){var b=u();F(0,"a",12);M("click",function(){v(b);var c=O(2);return x(c.trackOpenSlo())});R(1);G()}a&2&&(a=O(2),D("href",a.editSloLink,Qe),z(),S(" ",a.sloName," "))},n7a=function(a){a&
1&&(F(0,"span"),R(1," (private) "),G())},o7a=function(a){a&1&&(F(0,"span"),R(1," SLO definition: "),C(2,m7a,2,2,"a",11)(3,n7a,2,0,"span",7),G());a&2&&(a=O(),z(2),D("ngIf",a.sloName),z(),D("ngIf",!a.sloName))},r7a=function(a){if(a.type==="CUSTOM_FIELD")return new qq({name:a.customFieldId?String(a.customFieldId):a.customFieldName||"",label:a.customFieldName||"",fullLabel:a.customFieldName||"",isCustomField:!0,sortable:a.customFieldId!==void 0,tooltip:""});a=ti(a.type);a==="canonicalIssueId"&&(a="duplicateOfIssueId");
return p7a.includes(a)?q7a(a):null},t7a=function(a){return s7a(a.map(r7a).filter(function(b){return!!b}))},u7a=function(a){return a.map(function(b){b.isCustomField?b={type:"CUSTOM_FIELD",customFieldId:vi(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})},s7a=function(a){return Rm(a,function(b){return b.name})},q7a=function(a){var b={name:a,
label:a.toUpperCase()},c=v7a[a];c?Object.assign(b,c):p7a.includes(a)||(b.isCustomField=!0);b.fullLabel=b.fullLabel||b.label.charAt(0).toUpperCase()+b.label.slice(1).toLowerCase();return new qq(b)},w7a=function(a,b){a&1&&H(0,"col");a&2&&Nf("",b.$implicit.name,"-col")},x7a=function(a){a&1&&Sf(0)},z7a=function(a,b){a&1&&(K(0),C(1,x7a,1,0,"ng-container",9),L());a&2&&(a=b.$implicit,b=O(),z(),D("ngTemplateOutlet",b.headerCellTemplates[a.name]||b.defaultHeaderCellTemplate)("ngTemplateOutletContext",ug(2,
y7a,a)))},A7a=function(a){a&1&&Sf(0)},C7a=function(a,b){a&1&&(K(0),C(1,A7a,1,0,"ng-container",9),L());if(a&2){a=b.$implicit;b=b.index;var c=O(),d=c.$implicit;c=c.index;var e=O().ngIf;z();D("ngTemplateOutlet",e[b])("ngTemplateOutletContext",wg(2,B7a,d,a,c))}},D7a=function(a,b){if(a&1){var c=u();F(0,"tr",11,3);M("click",function(){var e=v(c).index,f=O(2);f.focusedRowIndex!==e&&(f.focusedRowIndex=e,f.focusedRowIndexChange.emit(e));return x()})("focus",function(){var e=v(c).index,f=O(2);f.focusedRowIndex!==
e&&(f.focusedRowIndex=e,f.focusedRowIndexChange.emit(e));return x()});C(2,C7a,2,6,"ng-container",7);G()}if(a&2){a=b.$implicit;b=b.index;var d=O(2);Kf("selected",a.selected)("unread",!d.readUnreadOptOut&&!a.isRead&&!a.isClosed)("closed",a.isClosed)("grid-focus",d.focusedRowIndex===b);Bf("data-row-id",a.id)("data-is-read",a.isRead)("aria-label",d.renderRowLabel(a,b)+(a.selected?", row starred":""));z(2);D("ngForOf",d.columns)}},E7a=function(a){a&1&&(K(0),C(1,D7a,3,12,"tr",10),L());a&2&&(a=O(),z(),D("ngForOf",
a.list))},F7a=function(a,b){a&1&&(F(0,"th"),H(1,"pop-grid-default-th",12),G());a&2&&(a=b.column,z(),D("column",a))},G7a=function(a,b){a&1&&(F(0,"td"),H(1,"pop-grid-default-cell",13),G());a&2&&(a=b.row,b=b.column,z(),D("row",a)("column",b))},H7a=function(a){if(a&1){var b=u();F(0,"b-sortable-header",3);M("sortChanged",function(c){v(b);var d=O();d.grid&&d.grid.sortChange.emit(c);return x()});G()}a&2&&(a=O(),D("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||""))},I7a=function(a){a&1&&(F(0,"span",6),R(1),G());a&2&&(a=O(2),z(),S("column-",a.column.name,""))},J7a=function(a){a&1&&(F(0,"div",4),C(1,I7a,2,1,"span",5),R(2),G());a&2&&(a=O(),Bf("aria-label",a.column.label),z(),D("ngIf",!a.column.label),z(),S(" ",a.column.label," "))},K7a=function(a){if(a&1){var b=u();F(0,"div",14,3);M("menuOpened",function(){v(b);var d=O();return x(d.menuOpen=!0)})("menuClosed",function(){v(b);var d=
O();return x(d.menuOpen=!1)})("keydown.enter",function(d){v(b);Q(1).openMenu();d.preventDefault();return x(d.stopPropagation())})("keydown.space",function(){v(b);var d=Q(1);return x(d.openMenu())});G()}if(a&2){a=O();var c=Q(5);Kf("columnpicker-button-active",a.menuOpen);Df("aria-label","",a.column.fullLabel," column configuration");D("matMenuTriggerFor",c)}},N7a=function(a,b){if(a&1){var c=u();F(0,"button",15);M("click",function(){var d=v(c).$implicit,e=O();return x(L7a(e,d.name))});H(1,"b-icon",
16);F(2,"span",17);R(3);G()()}a&2&&(a=b.$implicit,b=O(),Kf("b-menu-item-checked",M7a(a.name).get(b.listViewPrefs)),z(3),S(" ",a.menuItem," "))},O7a=function(a){a&1&&H(0,"mat-divider")},P7a=function(a){if(a&1){var b=u();F(0,"button",22);M("click",function(){v(b);var c=O().$implicit,d=O().before,e=O();return x(e.add(c,d))})("keydown.enter",function(c){v(b);var d=O().$implicit,e=O().before;O().add(d,e);c.preventDefault();return x(c.stopPropagation())});R(1);G()}a&2&&(a=O().$implicit,D("matTooltip",a.tooltip),
z(),S(" ",a.fullLabel," "))},R7a=function(a){a&1&&(F(0,"button",12)(1,"span"),R(2),G()());if(a&2){a=O().$implicit;var b=O().before;O();var c=Q(18);D("matMenuTriggerFor",c)("matMenuTriggerData",vg(3,Q7a,a.columns,b));z(2);lg(a.label)}},S7a=function(a,b){a&1&&(K(0),C(1,P7a,2,2,"button",20)(2,R7a,3,6,"button",21),L());a&2&&(a=b.$implicit,b=O(2),z(),D("ngIf",b.isIssueGridColumn(a)),z(),D("ngIf",!b.isIssueGridColumn(a)))},U7a=function(a){if(a&1){var b=u();F(0,"button",18);M("click",function(){var c=v(b).before,
d=O();return x(T7a(d,c))});R(1," Custom Field ");G();H(2,"mat-divider");C(3,S7a,3,2,"ng-container",19)}a&2&&(a=O(),z(3),D("ngForOf",a.currentAvailableItems))},V7a=function(a,b){if(a&1){var c=u();F(0,"button",24);M("click",function(){var d=v(c).$implicit,e=O().before,f=O();return x(f.add(d,e))})("keydown.enter",function(d){var e=v(c).$implicit,f=O().before;O().add(e,f);d.preventDefault();return x(d.stopPropagation())});R(1);G()}a&2&&(a=b.$implicit,z(),S(" ",a.fullLabel," "))},W7a=function(a,b){a&1&&
C(0,V7a,2,1,"button",23);a&2&&D("ngForOf",b.columns)},M7a=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("Fe`"+a);}},X7a=function(a){a=a.getIt();return{matchedPatterns:Ij(a,1,yj())}},Y7a=function(a){a&1&&(F(0,"p",12),R(1),G());a&2&&(a=O(),z(),S(" * Status update must be less than ",a.CHAR_LIMIT," characters. "))},
Z7a=function(a){a&1&&(F(0,"p",13),R(1),F(2,"a",14),R(3," Learn more "),G()());a&2&&(a=O(),z(),S(" Your status update contains restricted words: ",rq(a.bannedWordsChecker),". Review your status update before posting. "))},$7a=function(a){a&1&&(F(0,"div",15),H(1,"b-live-preview",16),G());a&2&&(a=O(),z(),D("comment",a.newStatusUpdate.updateText)("issueId",a.origStatusUpdate.issueId)("formattingMode",a.newStatusUpdate.formattingMode)("audience",a.formattingAudience))},a8a=function(a){return!(!tAa(a.userPerformingAction)||
!a.isMajorEvent)},d8a=function(a){var b=sq(a,"Content-Type");if(!b)return null;b=b.toLowerCase();if(b.startsWith("application/json"))return b.startsWith("application/json+protobuf")?new b8a:new c8a;if(b.startsWith("application/x-protobuf")){a=sq(a,"Content-Transfer-Encoding");if(!a)return new tq;if(a.toLowerCase()=="base64")return new uq}return null},e8a=function(a){return function(b){return xj(b,vq,1,yj()).map(function(c){return{workspaceId:c.getWorkspaceId_asLegacyNumberOrString(),workspaceName:c.getName(),
issueId:a}})}},f8a=function(a){a&1&&(K(0),R(1," > "),L())},g8a=function(a,b){a&1&&(K(0),F(1,"a",7),R(2),G(),C(3,f8a,2,0,"ng-container",3),L());a&2&&(a=b.$implicit,b=b.last,z(),Df("aria-label","View recent issues in ",a.name,""),D("routerLinkObj",a.route),z(),lg(a.name),z(),D("ngIf",!b))},h8a=function(a){a&1&&(F(0,"span"),R(1," [Archived]"),G())},i8a=function(a){a&1&&(F(0,"div",5),C(1,g8a,4,5,"ng-container",6),T(2,"async"),C(3,h8a,2,0,"span",3),T(4,"async"),G());a&2&&(a=O(),z(),D("ngForOf",V(2,2,a.componentPath$)),
z(2),D("ngIf",V(4,4,a.isArchived$)))},j8a=function(a,b){a&1&&(K(0),F(1,"div",8),H(2,"mat-icon",9),F(3,"div",10),R(4),G()(),F(5,"div",11)(6,"span",10),R(7),G(),H(8,"b-component-access-level-indicator",12),G(),F(9,"p",10),R(10),G(),L());a&2&&(a=b.$implicit,z(4),lg(a.name),z(3),S("Component ID: ",a.componentId,""),z(),D("accessLevel",a.accessLimit==null?null:a.accessLimit.accessLevel)("labelOnlyMode",!0),z(2),lg(a.description))},k8a=function(a,b){a&1&&(F(0,"div",13)(1,"a",14),R(2,"View recent open issues"),
G(),F(3,"a",15),R(4,"View component settings"),G(),F(5,"a",16),R(6,"Create issue in this component"),G()());a&2&&(a=b.$implicit,z(),D("routerLinkObj",a.recentIssues),z(2),D("routerLinkObj",a.componentSettings),z(2),D("routerLinkObj",a.createIssue))},l8a=function(a){a&1&&(F(0,"span"),R(1),G());a&2&&(a=O().$implicit,z(),S("(",a.disabledReason,")"))},m8a=function(a,b){a&1&&(F(0,"mat-radio-button",8),R(1),C(2,l8a,2,1,"span",9),G());a&2&&(a=b.$implicit,D("value",a)("disabled",!a.enabled),z(),S(" ",a.displayText,
" "),z(),D("ngIf",!a.enabled))},n8a=function(a){a&1&&(F(0,"span"),R(1),G());a&2&&(a=O().$implicit,z(),S("(",a.disabledReason,")"))},o8a=function(a,b){a&1&&(F(0,"mat-radio-button",8),R(1),C(2,n8a,2,1,"span",9),G());a&2&&(a=b.$implicit,D("value",a)("disabled",!a.enabled),z(),S(" ",a.displayText," "),z(),D("ngIf",!a.enabled))},p8a=function(a){return a?"https://goto.corp.google.com/buganizer-delete":"https://issuetracker.google.com/issues/new?component=169992&template=543202"},q8a=function(a){return"share-email-confirmation-"+
a},r8a=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("Ne`"+a);}},s8a=function(a){a&1&&(F(0,"span"),R(1),G());a&2&&(a=O(),z(),S("Retain ",a.resource," as long as issue?"))},t8a=function(a){a&1&&(F(0,"span"),R(1,"Apply component retention settings?"),G())},u8a=function(a){a&1&&(F(0,"span")(1,"p"),R(2),G(),F(3,"p")(4,"b"),R(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."),
G(),H(6,"br"),R(7," Before selecting this option, you should make sure that Legal and Privacy have approved this non-standard retention period."),G()());a&2&&(a=O(),z(2),S("Are you sure you want to override any component retention settings, and retain this ",a.resource," as long as issue?"))},v8a=function(a){a&1&&(F(0,"span")(1,"p"),R(2),G()());a&2&&(a=O(),z(2),mg("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."))},
w8a=function(a){if(a&1){var b=u();F(0,"mat-checkbox",9);pg("ngModelChange",function(c){v(b);var d=O();og(d.acknowledgeToMatchIssueRetention,c)||(d.acknowledgeToMatchIssueRetention=c);return x(c)});R(1," I acknowledge ");G()}a&2&&(a=O(),ng("ngModel",a.acknowledgeToMatchIssueRetention))},x8a=function(){var a=Math.random;this.initialMaxDelayMs_=500;this.maxDelayMs_=512E3;this.random_=a;this.reset()},xq=function(a){return new wq((a instanceof wq?a:new wq(a)).value,!0)},y8a=function(a){if(a.oauthTokens){var b=
a.oauthTokens;return(0,W.firstValueFrom)(b).then(function(c){c=new W.BehaviorSubject(c);b.subscribe(c);return new yq(c)})}return a.apiKey?a.appAuthTokens?Promise.resolve(new zq(a.apiKey,a.appAuthTokens)):Promise.resolve(new Aq(a.apiKey,a.authUser)):Promise.reject(Error("Ye"))},z8a=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}},A8a=function(a){return{send:function(b,c,d,e,f,h,k){var q=new Bq(a);q.listen("complete",c);q.listenOnce("ready",function(){q.dispose()});h&&(q.timeoutInterval_=Math.max(0,h));k&&(q.withCredentials_=k);q.send(b,d,e,f);return q}}},B8a=function(a){return new W.Observable(function(b){var c=Cq(function(){b.next({});b.complete()},a);return function(){Dq(c)}})},C8a=function(a){var b=new Eq;b.setName(a);return b},E8a=function(a){a.isPrivate?(a=new Fq,wj(a,2,D8a,Eb(!0))):(a=new Fq,wj(a,
1,D8a,Eb(!0)));return a},G8a=function(a){var b=new Gq;a=l(a.parts);for(var c=a.next();!c.done;c=a.next()){var d=c.value;c=new Hq;if(d.value instanceof Iq)d.isDecreasing?wj(c,4,Jq,Lb(d.value.toString())):wj(c,2,Jq,Lb(d.value.toString()));else if(typeof d.value==="string")d.isDecreasing?Wi(c,3,Jq,d.value):Wi(c,1,Jq,d.value);else if(typeof d.value==="number")d.isDecreasing?wj(c,9,Jq,Bb(d.value)):wj(c,10,Jq,Bb(d.value));else if(d.value instanceof Uint8Array)d.isDecreasing?wj(c,5,Jq,pb(d.value,!1,!0,!1)):
wj(c,7,Jq,pb(d.value,!1,!0,!1));else if(d.value instanceof Kq)if(d.isDecreasing){var e=c;d=F8a(d.value);Gj(e,11,Jq,d)}else e=c,d=F8a(d.value),Gj(e,12,Jq,d);else d.value instanceof Lq&&(e=d.value.rep,typeof e==="number"?d.isDecreasing?wj(c,9,Jq,Bb(e)):wj(c,10,Jq,Bb(e)):typeof e==="string"&&(d.isDecreasing?wj(c,6,Jq,e==null?e:Pca(e)):wj(c,8,Jq,e==null?e:Pca(e))));Mq(b,1,Hq,c)}return b},L8a=function(a,b){if(a instanceof Nq)return xj(b,Hq,1,yj()).length>0?null:H8a.apply(Nq,r(a.parts));a=Array.of.apply(Array,
r(a.root.parts));b=l(xj(b,Hq,1,yj()));for(var c=b.next();!c.done;c=b.next())switch(c=c.value,Ri(c,Jq)){case 4:a.push(xq(Oq(dl(c,Ti(c,Jq,4)))));break;case 2:a.push(new wq(Oq(dl(c,Ti(c,Jq,2)))));break;case 6:a.push(xq(new Lq(I8a(c,Ti(c,Jq,6)))));break;case 8:a.push(new wq(new Lq(I8a(c,Ti(c,Jq,8)))));break;case 10:a.push(new wq(new Lq(Pq(c,Ti(c,Jq,10)))));break;case 9:a.push(xq(new Lq(Pq(c,Ti(c,Jq,9)))));break;case 3:a.push(xq(Un(c,3,Jq)));break;case 1:a.push(new wq(Un(c,1,Jq)));break;case 7:var d=void 0;
a.push(new wq((d=Qq(c,Ti(c,Jq,7)))==null?void 0:J8a(d)));break;case 5:d=void 0;a.push(xq((d=Qq(c,Ti(c,Jq,5)))==null?void 0:J8a(d)));break;case 12:c=K8a(Bj(c,Ii,12,Jq));if(c===null)return null;a.push(new wq(c));break;case 11:c=K8a(Bj(c,Ii,11,Jq));if(c===null)return null;a.push(xq(c));break;case 0:return null;default:return null}return H8a.apply(Nq,r(a))},M8a=function(a){a&1&&(F(0,"p",12),R(1),F(2,"a",13),R(3," Learn more "),G()());a&2&&(a=O(),z(),S(" Your comment contains restricted words: ",rq(a.bannedWordsChecker),
". Review your comment before posting. "))},N8a=function(a){a&1&&H(0,"b-live-preview",14);a&2&&(a=O(),D("comment",a.newComment.text)("issueId",a.origComment.issueId)("audience",a.origComment.audience)("formattingMode",a.newComment.formattingMode))},O8a=function(a){if(a&1){var b=u();F(0,"section")(1,"div",15)(2,"b-recaptcha",16);M("onUpdate",function(c){v(b);var d=O();return x(d.recaptchaResponse=c)});G()()()}},P8a=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]}}},Q8a=function(a){var b=[],c=new Map;a=l(a);for(var d=a.next();!d.done;d=a.next())if(d=d.value,d.displayText!=="")if(c.get(d.resourceId)){var e=c.get(d.resourceId);e.relations=[].concat(r(e.relations),r(d.relations))}else c.set(d.resourceId,d),b.push(d);return b},R8a=function(a,b){a&1&&H(0,"mat-icon",12);a&2&&(a=b.ngIf,D("svgIcon",a.icon)("matTooltip",a.tooltip),Bf("aria-label",a.tooltip))},S8a=function(a){a&1&&(K(0),R(1,"\u2026 >"),
L())},T8a=function(a){a&1&&(K(0),R(1,"\u2026"),L())},U8a=function(a){if(a&1){var b=u();F(0,"a",18);M("click",function(){v(b);var c=O(4);return x(c.compactMode$.next(!1))});C(1,S8a,2,0,"ng-container",9)(2,T8a,2,0,"ng-container",9);G()}a&2&&(a=O().$implicit,z(),D("ngIf",a.isSpliced),z(),D("ngIf",a.isTruncated))},V8a=function(a){a&1&&(F(0,"a",19),R(1),G());if(a&2){a=O().$implicit;var b=Q(7);Kf("muted",a.name==a.id);D("routerLinkObj",a.route)("onedevHovercardTrigger",b);z();lg(a.name)}},W8a=function(a){a&
1&&(F(0,"span",20),R(1),G());a&2&&(a=O().$implicit,Kf("muted",a.name==a.id),z(),lg(a.name))},X8a=function(a){a&1&&(K(0),R(1," > "),L())},Y8a=function(a){a&1&&(K(0),H(1,"b-component-path-card",21,3),L());if(a&2){a=Q(2);var b=O().$implicit;z();D("onedevIsHovercardReady",a.init)("componentId",b.id)}},Z8a=function(a,b){a&1&&(K(0),C(1,U8a,3,2,"a",15)(2,V8a,2,5,"a",16)(3,W8a,2,3,"ng-template",null,1,yg)(5,X8a,2,0,"ng-container",9),F(6,"onedev-hovercard",null,2),C(8,Y8a,3,2,"ng-container",17),G(),L());if(a&
2){a=b.$implicit;b=b.last;var c=Q(4),d=O(3);z();D("ngIf",a.isSpliced||a.isTruncated);z();D("ngIf",!d.viewOnly)("ngIfElse",c);z(3);D("ngIf",!b)}},$8a=function(a,b){a&1&&(F(0,"span",13),C(1,Z8a,9,4,"ng-container",14),G());a&2&&(a=b.$implicit,z(),D("ngForOf",a))},a9a=function(a){a&1&&(F(0,"span"),R(1,"[Archived]"),G())},b9a=function(a){if(a&1){var b=u();F(0,"button",22);M("click",function(){v(b);O(2).editing=!0;return x()});H(1,"mat-icon",23);G()}},c9a=function(a){a&1&&(F(0,"a",24),T(1,"async"),H(2,
"mat-icon",25),G());if(a&2){var b;a=O(2);D("routerLinkObj",a.popoutLink((b=V(1,1,a.component$))==null?null:b.componentId))}},d9a=function(a){a&1&&(F(0,"b-async-data-placeholder",5),T(1,"async"),F(2,"div",6),T(3,"async"),T(4,"async"),C(5,R8a,1,3,"mat-icon",7),T(6,"async"),C(7,$8a,2,1,"span",8),T(8,"async"),C(9,a9a,2,0,"span",9),T(10,"async"),C(11,b9a,2,0,"button",10)(12,c9a,3,3,"a",11),G()());a&2&&(a=O(),D("isReady",V(1,10,a.isReady$)),z(2),Kf("public",V(3,12,a.showPublicIndicator$))("partner",V(4,
14,a.showPartnerIndicator$)),z(3),D("ngIf",V(6,16,a.folder$)),z(2),D("ngIf",V(8,18,a.componentPath$)),z(2),D("ngIf",V(10,20,a.isArchived$)),z(2),D("ngIf",!a.viewOnly),z(),D("ngIf",a.popoutLink))},f9a=function(a){if(a&1){var b=u();F(0,"b-team-component-picker",26);T(1,"async");M("selectedComponentChange",function(c){v(b);var d=O();d.editing=!1;c&&e9a(d.issueEditComponentService,d.issueId,c);return x()})("dropdownClosed",function(){v(b);O().editing=!1;return x()});G()}a&2&&(a=O(),D("selectedComponent",
V(1,3,a.component$))("isRequired",!0)("shouldFocus",!0))},h9a=function(a,b){if(a&1){var c=u();K(0);F(1,"mat-checkbox",21);M("click",function(d){v(c);return x(d.stopPropagation())})("change",function(d){var e=v(c).$implicit,f=O(2);e=e.value.user;d=d.source.checked;var h=f.collaboratorGroupsEmailToDetailsMap.get(e.emailAddress).specifiedOnIssue;d?(h||f.addedCollaboratorGroups.add(e),f.removedCollaboratorGroups.delete(e)):(h&&f.removedCollaboratorGroups.add(e),f.addedCollaboratorGroups.delete(e));var k;
g9a(f,(k=f.updatedAccessLimitLevel$.getValue())!=null?k:f.defaultAccessLimitLevel);return x()});R(2);G();L()}a&2&&(a=b.$implicit,z(),D("id",a.key)("name",a.key)("checked",a.value.specifiedOnIssue),z(),S(" ",a.key," "))},i9a=function(a){a&1&&(K(0),F(1,"div")(2,"span",18),R(3,"Add collaborator groups"),G(),H(4,"mat-icon",8),G(),F(5,"div",19),C(6,h9a,3,4,"ng-container",20),T(7,"keyvalue"),G(),L());a&2&&(a=O(),z(4),$f("matTooltip",a.COLLABORATOR_GROUPS_TOOLTIP),z(2),D("ngForOf",V(7,2,a.collaboratorGroupsEmailToDetailsMap)))},
k9a=function(a){if(a&1){var b=u();K(0);F(1,"button",22);M("click",function(){v(b);var c=O();return x(c.onPressCancel())});R(2," Cancel ");G();F(3,"button",23);T(4,"async");M("click",function(){v(b);var c=O();return x(c.onPressSave())});R(5," Save ");G();L()}a&2&&(a=O(),z(3),D("disabled",!j9a(a,V(4,1,a.hasAccessLimitLevelSelectionChanged$))))},l9a=function(a){if(a&1){var b=u();F(0,"button",24);M("click",function(){v(b);var c=O();return x(c.onPressCancel())});R(1," Close ");G()}},m9a=function(a){a&
1&&H(0,"div",2)},n9a=function(a){a&1&&(K(0),Yf(1),L())},o9a=function(a){a&1&&(Gd(),F(0,"svg",1),H(1,"path",2),G());a&2&&(a=O(),D("matTooltip",a.warning))},p9a=function(a){a&1&&Sf(0)},s9a=function(a){if(a&1){var b=u();F(0,"div",1);M("keydown",function(c){v(b);var d=O();return x(d.processKeydown(c))});F(1,"div",2);C(2,p9a,1,0,"ng-container",3);G();F(3,"div",4)(4,"button",5);M("click",function(){v(b);var c=O();return x(q9a(c))});R(5,"Save");G();F(6,"button",6);M("click",function(){v(b);var c=O();return x(r9a(c))});
R(7,"Cancel");G()()()}a&2&&(a=O(),D("cdkTrapFocusAutoCapture",!0),z(2),D("ngTemplateOutlet",a.editorTemplate),z(2),D("disabled",a.saveDisabled))},t9a=function(a){a&1&&Sf(0)},v9a=function(a){a&1&&(K(0),C(1,t9a,1,0,"ng-container",8),L());a&2&&(a=O(),z(),D("ngTemplateOutlet",a.valueTemplate)("ngTemplateOutletContext",ug(2,u9a,a.value)))},w9a=function(a){a&1&&R(0);a&2&&(a=O(),lg(a.value!=null?a.value:"--"))},x9a=function(a){a&1&&(Gd(),F(0,"svg",9),H(1,"path",10),G())},y9a=function(a){if(a&1){var b=u();
F(0,"input",11);pg("ngModelChange",function(c){v(b);var d=O();og(d.editingValue,c)||(d.editingValue=c);return x(c)});G()}a&2&&(a=O(),ng("ngModel",a.editingValue))},z9a=function(a){return a!=null?Number(a):void 0},A9a=function(a){a&1&&H(0,"mat-icon",15);a&2&&(O(),a=Q(5),D("onedevHovercardTrigger",a))},B9a=function(a){if(a&1){var b=u();K(0);F(1,"onedev-numeric-field",16);M("valueChange",function(d){v(b);var e=O(2);e.selectedNumericEstimate=d;d==null?e.effortChange.emit(void 0):e.effortChange.emit({estimate:String(d)});
return x()});G();L()}if(a&2){a=O(2);var c=Q(2);z();D("value",a.selectedNumericEstimate)("valueTemplate",c)("disabled",a.disabled)("displayEditIcon",!a.disabled)}},C9a=function(a){a&1&&(K(0),R(1),L());a&2&&(a=O().$implicit,z(),S(" ",a.label," "))},D9a=function(a){a&1&&R(0," -- ")},E9a=function(a,b){a&1&&C(0,C9a,2,1,"ng-container",18)(1,D9a,1,0,"ng-template",null,3,yg);a&2&&(a=b.$implicit,b=Q(2),D("ngIf",a)("ngIfElse",b))},G9a=function(a){if(a&1){var b=u();K(0);F(1,"onedev-single-select",17);M("valueChange",
function(e){v(b);var f=O(2);return x(f.selectOption(e))});G();C(2,E9a,3,2,"ng-template",null,2,yg);L()}if(a&2){var c;a=Q(3);var d=O(2);z();D("value",d.selectedOption)("options",(c=d.effortSpec.enumSpec==null?null:d.effortSpec.enumSpec.options)!==null&&c!==void 0?c:tg(6,F9a))("includeEmptyOption",!0)("optionTemplate",a)("disabled",d.disabled)("displayArrowIcon",!d.disabled)}},H9a=function(a){a&1&&(K(0),R(1),L());a&2&&(a=O(2),z(),S(" ",a.effort==null?null:a.effort.estimate," "))},I9a=function(a){a&
1&&(F(0,"onedev-edit-field")(1,"onedev-field-label",6),R(2),C(3,A9a,1,1,"mat-icon",7),G(),F(4,"onedev-hovercard",null,1)(6,"div",8)(7,"div",9),R(8," This estimate was made under a different configuration and needs to be updated. "),F(9,"a",10),R(10,"Learn more"),G()()()(),F(11,"onedev-field-value",11),K(12,12),C(13,B9a,2,4,"ng-container",13)(14,G9a,4,7,"ng-container",13)(15,H9a,2,1,"ng-container",14),L(),G()());a&2&&(a=O(),z(),D("thinking",a.thinking),z(),S(" ",a.fieldName," "),z(),D("ngIf",!a.isCompatibleValue),
z(8),D("thinking",a.thinking),z(),D("ngSwitch",a.fieldType),z(),D("ngSwitchCase","NUMERIC"),z(),D("ngSwitchCase","DROPDOWN"))},J9a=function(a){a&1&&(K(0),R(1),L());a&2&&(a=O(2),z(),S(" ",a.effort==null?null:a.effort.estimate," "))},K9a=function(a){a&1&&R(0);a&2&&(a=O().$implicit,S(" ",a!=null?a:"--"," "))},L9a=function(a,b){a&1&&C(0,J9a,2,1,"ng-container",18)(1,K9a,1,1,"ng-template",null,4,yg);if(a&2){a=b.$implicit;b=Q(2);var c=O();D("ngIf",c.isNaN(a))("ngIfElse",b)}},N9a=function(a,b){var c=a.getPrimaryTarget(),
d=a.getTargetList().map(function(e){return e===c?b:e});return new Rq(new M9a(a,d))},P9a=function(){return new O9a(kd.apply(0,arguments))},R9a=function(){return new Q9a(kd.apply(0,arguments))},T9a=function(){var a=kd.apply(0,arguments);return a.length===1?a[0]:new S9a(a)},U9a=function(a,b){b&&(b.autocompleteGroupingType!=null&&a.setAutocompleteGroupingType(b.autocompleteGroupingType),b.autocompleteGroupingLabel!=null&&a.setAutocompleteGroupingLabel(b.autocompleteGroupingLabel),b.autocompleteHeader!=
null&&a.setAutocompleteHeader(b.autocompleteHeader),b.autocompleteMaxResultsBeforeScroll!=null&&a.setAutocompleteMaxResultsBeforeScroll(b.autocompleteMaxResultsBeforeScroll),b.density!=null&&a.setDensity(b.density),b.moveAutocompleteAboveAnchorIfOffscreen!=null&&a.setMoveAutocompleteAboveAnchorIfOffscreen(b.moveAutocompleteAboveAnchorIfOffscreen),b.autoActivateFirstSuggestion!=null&&a.setAutoActivateFirstSuggestion(b.autoActivateFirstSuggestion),b.showSuggestions!=null&&a.setShowSuggestions(b.showSuggestions),
b.noResultsMessage!=null&&a.setNoResultsMessage(b.noResultsMessage),b.autoActivateFirstSearchResult!=null&&a.setAutoActivateFirstSearchResult(b.autoActivateFirstSearchResult),b.clearSelectionOnSearch!=null&&a.setClearSelectionsOnSearch(b.clearSelectionOnSearch),b.resultCustomizationCallback!=null&&a.setResultCustomizationCallback(b.resultCustomizationCallback))},V9a=function(a){if(a&1){var b=u();F(0,"input",4,2);M("peoplekitAutocompleteSelectionChange",function(c){v(b);var d=O();c.length>0&&(d.inputValue=
c[0].result().getPrimaryTarget().getValue());return x()});pg("ngModelChange",function(c){v(b);var d=O();og(d.inputValue,c)||(d.inputValue=c);return x(c)});G()}a&2&&(a=O(),D("peoplekitAutocompleteConfig",a.mergedAutocompleteConfig)("peoplekitSearchSessionOptions",a.sessionOptions),ng("ngModel",a.inputValue))},W9a=function(a){a&1&&Sf(0)},Y9a=function(a){a&1&&(K(0),C(1,W9a,1,0,"ng-container",6),L());a&2&&(a=O(),z(),D("ngTemplateOutlet",a.selectedUserTemplate)("ngTemplateOutletContext",ug(2,X9a,a.email)))},
Z9a=function(a){a&1&&R(0);a&2&&(a=O(),S(" ",a.email," "))},$9a=function(a){a&1&&(Gd(),F(0,"svg",7),H(1,"path",8),G())},a$a=function(a){a&1&&H(0,"b-user-membership-chip",4);if(a&2){var b;a=O().$implicit;var c=O();D("email",a)("teamId",(b=c.teamId)!==null&&b!==void 0?b:"")("enableSmallChip",!0)}},b$a=function(a,b){a&1&&C(0,a$a,1,3,"b-user-membership-chip",3);a&2&&D("ngIf",b.$implicit)},c$a=function(a){a&1&&H(0,"mat-icon",16)},d$a=function(a){a&1&&H(0,"mat-icon",17)},e$a=function(a){a&1&&H(0,"mat-icon",
18)},f$a=function(a){a&1&&(F(0,"span"),H(1,"b-formatted-date-time",25),G());a&2&&(a=O(2),z(),D("timestamp",a.sloStartTime))},g$a=function(a){a&1&&(F(0,"span"),H(1,"b-formatted-date-time",25),F(2,"span"),R(3," (default)"),G()());a&2&&(a=O(2),z(),D("timestamp",a.issueCreationTimestamp/1E3))},h$a=function(a){if(a&1){var b=u();F(0,"slo-edit-date-time-picker",26);M("closePicker",function(){v(b);var c=O(2);return x(c.isSloStartEditTimePickerOpen=!1)})("sloEditCommit",function(c){v(b);var d=O(2);return x(d.updateSloStartTime(c))});
G()}a&2&&(a=O(2),D("sloStatus",a.sloStatus)("sloEditTime",a.sloStartTime))},i$a=function(a){if(a&1){var b=u();F(0,"div",19)(1,"a",20);R(2," Start Date: ");G();F(3,"div",21)(4,"a",22,0);M("keydown.enter",function(){v(b);var d=O();d.isSloStartEditTimePickerOpen=!d.isSloStartEditTimePickerOpen;return x()})("keydown.space",function(){v(b);var d=O();d.isSloStartEditTimePickerOpen=!d.isSloStartEditTimePickerOpen;return x()})("click",function(){v(b);var d=O();d.isSloStartEditTimePickerOpen=!d.isSloStartEditTimePickerOpen;
return x()});C(6,f$a,2,1,"span",23)(7,g$a,4,1,"span",23);G();C(8,h$a,1,2,"ng-template",24);G()()}if(a&2){a=Q(5);var c=O();z(6);D("ngIf",c.hasSloStartTime);z();D("ngIf",!c.hasSloStartTime);z();D("cdkConnectedOverlayOrigin",a)("cdkConnectedOverlayOpen",c.isSloStartEditTimePickerOpen)}},j$a=function(a){a&1&&(F(0,"span"),R(1," Set closure SLO "),G())},k$a=function(a){a&1&&(F(0,"span"),H(1,"b-formatted-date-time",25),G());a&2&&(a=O(2),z(),D("timestamp",a.sloEndTime))},l$a=function(a){a&1&&(F(0,"span"),
H(1,"b-formatted-date-time",25),F(2,"span"),R(3," (default)"),G()());a&2&&(a=O(2),z(),D("timestamp",a.closureSloTarget*1E3))},m$a=function(a){if(a&1){var b=u();F(0,"slo-edit-date-time-picker",26);M("closePicker",function(){v(b);var c=O(2);return x(c.isSloEndEditTimePickerOpen=!1)})("sloEditCommit",function(c){v(b);var d=O(2);return x(d.updateSloEndTime(c))});G()}a&2&&(a=O(2),D("sloStatus",a.sloStatus)("sloEditTime",a.sloEndTime))},n$a=function(a){if(a&1){var b=u();F(0,"div",27)(1,"a",20);R(2," End Date: ");
G();F(3,"div",21)(4,"a",28,0);M("click",function(){v(b);var d=O();d.isSloEndEditTimePickerOpen=!d.isSloEndEditTimePickerOpen;return x()})("keydown.enter",function(){v(b);var d=O();d.isSloEndEditTimePickerOpen=!d.isSloEndEditTimePickerOpen;return x()})("keydown.space",function(){v(b);var d=O();d.isSloEndEditTimePickerOpen=!d.isSloEndEditTimePickerOpen;return x()});C(6,j$a,2,0,"span",23)(7,k$a,2,1,"span",23)(8,l$a,4,1,"span",23);G();C(9,m$a,1,2,"ng-template",24);G()()}if(a&2){a=Q(5);var c=O();z(6);
D("ngIf",!c.hasClosureSlo);z();D("ngIf",c.hasClosureSlo&&c.hasSloEndTime);z();D("ngIf",c.hasClosureSlo&&!c.hasSloEndTime);z();D("cdkConnectedOverlayOrigin",a)("cdkConnectedOverlayOpen",c.isSloEndEditTimePickerOpen)}},o$a=function(a,b){if(a&1){var c=u();F(0,"a",31);M("click",function(){v(c);var d=O(2);return x(d.trackOpenSlo())});R(1);G()}a&2&&(a=b.ngIf,b=O(2),Bf("href",b.editSloLink,Qe),z(),S(" ",a.name," "))},p$a=function(a){a&1&&(F(0,"div",29),R(1," SLO definition: "),C(2,o$a,2,2,"a",30),T(3,"async"),
G());a&2&&(a=O(),z(2),D("ngIf",V(3,1,a.slo$)))},q$a=function(a){if(a&1){var b=u();F(0,"div",29)(1,"a",32);M("click",function(){v(b);O();Gn("component","open","fromIssueSloBox");return x()});R(2,"Select an SLO");G()()}a&2&&(a=O(),z(),Bf("href",a.componentSloLink,Qe))},r$a=function(a){return a&&a.teamId!=="0"?a.deleted?"DELETED":"VALID":"MISSING"},s$a=function(a){if(a&1){var b=u();F(0,"div",8);R(1," Select a team from the suggestions below, or edit in ");F(2,"a",9);M("click",function(){v(b);var c=O();
return x(c.trackClick("viewTeamAssociationOnComponent"))});R(3,"component settings");G();R(4,".\n");G()}a&2&&(a=O(),z(2),D("href",a.componentSetting,Qe))},t$a=function(a){a&1&&(F(0,"div",8),R(1," Assigned team no longer exists, select a different team from the suggestions below, or edit/opt out of team mapping in "),F(2,"a",10),R(3,"component settings"),G(),R(4,".\n"),G());a&2&&(a=O(),z(2),D("href",a.componentSetting,Qe))},u$a=function(a){if(a&1){var b=u();F(0,"mat-radio-group",11);pg("ngModelChange",
function(c){v(b);var d=O();og(d.teamAction,c)||(d.teamAction=c);return x(c)});F(1,"p")(2,"mat-radio-button",12);R(3," Don't make any changes ");G()();F(4,"p")(5,"mat-radio-button",13);R(6," Map component to selected team ");G()()()}a&2&&(a=O(),ng("ngModel",a.teamAction))},v$a=function(a){a&1&&(K(0),F(1,"span",19),R(2),G(),L());a&2&&(a=O().$implicit,z(2),lg(a.teamPath))},w$a=function(a){a&1&&R(0," -- ")},x$a=function(a,b){a&1&&C(0,v$a,3,1,"ng-container",18)(1,w$a,1,0,"ng-template",null,1,yg);a&2&&
(a=b.$implicit,b=Q(2),D("ngIf",a)("ngIfElse",b))},y$a=function(a){if(a&1){var b=u();F(0,"div",14)(1,"onedev-single-select",15);pg("valueChange",function(d){v(b);var e=O();og(e.selectedTeam,d)||(e.selectedTeam=d);return x(d)});M("valueChange",function(d){v(b);var e=O();return x(e.selectOption(d))});G();C(2,x$a,3,2,"ng-template",null,0,yg);F(4,"a",16);M("click",function(){v(b);var d=O();return x(d.trackClick("viewTeamInMoma"))});H(5,"mat-icon",17);G()()}if(a&2){a=Q(3);var c=O();z();D("disabled",c.teamAction===
"NONE");ng("value",c.selectedTeam);D("options",c.teamOptions)("includeEmptyOption",!1)("optionTemplate",a);z(3);Bf("href",c.getMomaTeamLink(),Qe)}},z$a=function(a){if(a&1){var b=u();F(0,"b-callout-actions")(1,"b-button",2);M("click",function(){v(b);var c=O();return x(c.openDialog())});R(2);G()()}a&2&&(a=O(),z(2),lg(a.buttonName))},A$a=function(a){switch(a){case "P0":return Sq.CHANGE_ISSUE_PRIORITY_TO_P0;case "P1":return Sq.CHANGE_ISSUE_PRIORITY_TO_P1;case "P2":return Sq.CHANGE_ISSUE_PRIORITY_TO_P2;
case "P3":return Sq.CHANGE_ISSUE_PRIORITY_TO_P3;case "P4":return Sq.CHANGE_ISSUE_PRIORITY_TO_P4;case "PRIORITY_UNSPECIFIED":break;default:console.error("Unsupported issue priority in issuePriorityToHotkey")}},B$a=function(a){switch(a){case "NEW":return Sq.CHANGE_ISSUE_STATUS_TO_NEW;case "ASSIGNED":return Sq.CHANGE_ISSUE_STATUS_TO_ASSIGNED;case "ACCEPTED":return Sq.CHANGE_ISSUE_STATUS_TO_ACCEPTED;case "FIXED":return Sq.CHANGE_ISSUE_STATUS_TO_FIXED;case "VERIFIED":return Sq.CHANGE_ISSUE_STATUS_TO_VERIFIED;
case "NOT_REPRODUCIBLE":return Sq.CHANGE_ISSUE_STATUS_TO_NOT_REPRODUCIBLE;case "INTENDED_BEHAVIOR":return Sq.CHANGE_ISSUE_STATUS_TO_INTENDED_BEHAVIOR;case "OBSOLETE":return Sq.CHANGE_ISSUE_STATUS_TO_OBSOLETE;case "INFEASIBLE":return Sq.CHANGE_ISSUE_STATUS_TO_INFEASIBLE;case "DUPLICATE":return Sq.CHANGE_ISSUE_STATUS_TO_DUPLICATE;case "STATUS_UNSPECIFIED":break;default:console.error("Unsupported issue status in issueStatusToHotkey")}},C$a=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)})},D$a=function(a){return["PROD","NIGHTLY"].includes(a)?"production":"autopush"},E$a=function(a){a&1&&Sf(0)},F$a=function(a){a&1&&(K(0),C(1,E$a,1,0,"ng-container",58),L());a&2&&(O(),a=Q(120),z(),D("ngTemplateOutlet",a))},H$a=function(a,b){a&1&&(H(0,"b-list-field",
60),T(1,"async"));a&2&&(a=b.ngIf,b=O(3),D("readonly",!0)("defaultLineCount",3)("title","Team")("type",b.ListFieldType.TEAM)("values",ug(8,G$a,a))("showInternalOnlyFieldBadge",!V(1,6,b.issueIsOnInternalComponent$)))},I$a=function(a){a&1&&(K(0),C(1,H$a,2,10,"b-list-field",59),T(2,"async"),L());a&2&&(a=O(2),z(),D("ngIf",V(2,1,a.teamHovercardInputs$)))},K$a=function(a){if(a&1){var b=u();F(0,"div",62)(1,"b-team-warning",63);T(2,"async");T(3,"async");M("updateTeam",function(){v(b);var h=O(3);h.issueFridge.poke(h.issueId);
return x()});G()()}if(a&2){var c,d;a=O().ngIf;var e=O().ngIf,f=O();z();D("warningType",a)("componentId",e.componentId)("parentComponentId",((c=V(2,4,f.component$))==null?null:c.parentComponentId)||0)("teamSuggestions",(d=V(3,6,f.teamSuggestions$))!==null&&d!==void 0?d:tg(8,J$a))}},L$a=function(a){a&1&&(K(0),C(1,K$a,4,9,"div",61),T(2,"async"),L());a&2&&(a=O(2),z(),D("ngIf",V(2,1,a.shouldDisplayTeamSuggestions$)))},N$a=function(a){if(a&1){var b=u();K(0);F(1,"b-edit-field",64,21);T(3,"async");T(4,"async");
T(5,"async");M("valueChange",function(f){v(b);var h=Q(2),k=O(2);return x(M$a(k,h,f!==null&&f!==void 0?f:""))});G();L()}if(a&2){var c,d;a=O().ngIf;var e=O();z();D("name","reporter")("title","Reporter")("type",e.FieldType.TEXT)("value",a.reporter)("user",(c=a.reporterUser)!==null&&c!==void 0?c:void 0)("isUser",!0)("readonly",!V(3,10,e.hasAclToEdit$))("disabled",!!V(4,12,e.isSaving$("reporter")))("showAvailability",!0)("teamId",(d=V(5,14,e.teamId$))!==null&&d!==void 0?d:"")}},P$a=function(a){if(a&1){var b=
u();F(0,"onedev-edit-field")(1,"onedev-field-label");R(2,"Reporter");G();F(3,"onedev-field-value",65);T(4,"async");F(5,"b-user-picker",66);T(6,"async");T(7,"async");M("emailChange",function(e){v(b);var f=O(2);return x(O$a(f.editIssueService,f.issueId,e))});G()()()}if(a&2){var c;a=O().ngIf;var d=O();z(3);D("thinking",!!V(4,4,d.isSaving$("reporter")));z(2);D("user",a.reporterUser)("teamId",(c=V(6,6,d.teamId$))!==null&&c!==void 0?c:"")("disabled",!V(7,8,d.hasAclToEdit$))}},Q$a=function(a){a&1&&Sf(0)},
R$a=function(a){a&1&&(K(0),C(1,Q$a,1,0,"ng-container",58),L());a&2&&(O(),a=Q(122),z(),D("ngTemplateOutlet",a))},S$a=function(a,b){if(a&1){var c=u();F(0,"div",68);H(1,"div",69);F(2,"span",70);T(3,"async");T(4,"async");M("click",function(){var d=v(c).ngIf,e=O(3);return x(Tq(e,d))})("keydown.enter",function(d){var e=v(c).ngIf;Tq(O(3),e);d.stopPropagation();return x(d.preventDefault())})("keydown.space",function(d){var e=v(c).ngIf;Tq(O(3),e);d.stopPropagation();return x(d.preventDefault())});R(5);G()()}a&
2&&(a=b.ngIf,b=O(3),z(2),Kf("disabled",!!V(3,6,b.isSaving$("status"))),D("matTooltip",a.description||""),Bf("aria-disabled",!!V(4,8,b.isSaving$("status")))("aria-label",a.displayText||null),z(3),S(" ",a.displayText," "))},T$a=function(a){a&1&&(K(0),C(1,S$a,6,10,"div",67),T(2,"async"),L());a&2&&(a=O(2),z(),D("ngIf",V(2,1,a.issueStatusQuickAction$)))},U$a=function(a){a&1&&(H(0,"b-issue-card",71,22),T(2,"async"));if(a&2){a=Q(1);var b=O(2);D("onedevIsHovercardReady",a.init)("issueId",V(2,2,b.canonicalIssueId$))}},
W$a=function(a){if(a&1){var b=u();F(0,"b-estimated-effort-row",72);T(1,"async");T(2,"async");T(3,"async");M("effortChange",function(e){v(b);var f=O(2);return x(V$a(f.editIssueService,f.issueId,e))});G()}if(a&2){var c,d;a=O(2);D("effort",(c=V(1,3,a.effort$))!==null&&c!==void 0?c:void 0)("effortSpec",(d=V(2,5,a.effortSpec$))!==null&&d!==void 0?d:void 0)("disabled",!V(3,7,a.hasAclToEdit$))}},X$a=function(a){a&1&&(F(0,"div"),R(1," Expanded access is turned on for this component. Assignees, verifiers and collaborators can edit issues in this component, and CC'd users can comment on them. "),
F(2,"a",77),R(3,"Learn more"),G()());a&2&&(a=O(3),z(2),D("href",Do(a.documentationLinks)+"#expanded-access",Qe))},Y$a=function(a){a&1&&(F(0,"div",73)(1,"span",74),R(2,"Expanded Access"),G(),F(3,"xap-bubble",75)(4,"xap-icon-trigger"),H(5,"mat-icon",76),G(),C(6,X$a,4,1,"ng-template",null,23,yg),G()());a&2&&(a=Q(7),z(3),D("panelTemplate",a))},Z$a=function(a){a&1&&(F(0,"span",82),T(1,"async"),R(2),G());if(a&2){a=O().ngIf;var b=O(4);Kf("disabled",!!V(1,3,b.isSaving$("assignee")));z(2);S(" ",a.displayText,
" ")}},$$a=function(a,b){if(a&1){var c=u();F(0,"div",80);T(1,"async");M("onHotkey",function(){var d=v(c).ngIf,e=O(4);return x(Tq(e,d))})("click",function(){var d=v(c).ngIf,e=O(4);return x(Tq(e,d))})("keydown.enter",function(d){var e=v(c).ngIf;Tq(O(4),e);d.stopPropagation();return x(d.preventDefault())})("keydown.space",function(d){var e=v(c).ngIf;Tq(O(4),e);d.stopPropagation();return x(d.preventDefault())});H(2,"div",69);C(3,Z$a,3,5,"span",81);T(4,"async");G()}a&2&&(a=b.ngIf,b=O(4),D("hotkey",b.HOTKEYS.ASSIGN_ISSUE_TO_DEFAULT_ASSIGNEE)("matTooltip",
a.description),Bf("aria-disabled",!!V(1,5,b.isSaving$("assignee")))("aria-label",a.description),z(3),D("ngIf",V(4,7,b.hasAclToEdit$)))},aab=function(a){a&1&&(K(0),C(1,$$a,5,9,"div",79),T(2,"async"),L());a&2&&(a=O(3),z(),D("ngIf",V(2,1,a.issueAssigneeQuickAction$)))},cab=function(a){if(a&1){var b=u();K(0);F(1,"b-edit-field",78,24);T(3,"async");T(4,"async");T(5,"async");M("onHotkey",function(){v(b);var f=Q(2);return x(Sp(f,null,!0,!1))})("valueChange",function(f){v(b);var h=Q(2),k=O(2);return x(bab(k,
h,f!==null&&f!==void 0?f:""))});G();C(6,aab,3,3,"ng-container",27);L()}if(a&2){var c,d;a=O().ngIf;var e=O();z();D("hotkey",e.HOTKEYS.CHANGE_ASSIGNEE)("name","assignee")("title","Assignee")("type",e.FieldType.TEXT)("value",a.assignee)("user",(c=a.assigneeUser)!==null&&c!==void 0?c:void 0)("isUser",!0)("readonly",!V(3,12,e.hasAclToEdit$))("disabled",!!V(4,14,e.isSaving$("assignee")))("showAvailability",!0)("teamId",(d=V(5,16,e.teamId$))!==null&&d!==void 0?d:"");z(5);D("ngIf",e.defaultAssigneeQuickActionEnabled)}},
eab=function(a){if(a&1){var b=u();F(0,"div",86);M("click",function(){v(b);var c=O(3);return x(dab(c.editIssueService,c.issueId,""))});R(1," Un-assign ");G()}},fab=function(a,b){if(a&1){var c=u();F(0,"div",88);T(1,"async");T(2,"async");M("onHotkey",function(){var d=v(c).ngIf,e=O(4);return x(Tq(e,d))})("click",function(){var d=v(c).ngIf,e=O(4);return x(Tq(e,d))})("keydown.enter",function(d){var e=v(c).ngIf;Tq(O(4),e);d.stopPropagation();return x(d.preventDefault())})("keydown.space",function(d){var e=
v(c).ngIf;Tq(O(4),e);d.stopPropagation();return x(d.preventDefault())});R(3);G()}a&2&&(a=b.ngIf,b=O(4),Kf("disabled",!!V(1,7,b.isSaving$("assignee"))),D("hotkey",b.HOTKEYS.ASSIGN_ISSUE_TO_DEFAULT_ASSIGNEE)("matTooltip",a.description),Bf("aria-disabled",!!V(2,9,b.isSaving$("assignee")))("aria-label",a.description),z(3),S(" ",a.displayText," "))},gab=function(a){a&1&&(K(0),C(1,fab,4,11,"div",87),T(2,"async"),L());a&2&&(a=O(3),z(),D("ngIf",V(2,1,a.issueAssigneeQuickAction$)))},hab=function(a){if(a&1){var b=
u();F(0,"onedev-edit-field")(1,"onedev-field-label");R(2,"Assignee");G();F(3,"onedev-field-value",65);T(4,"async");F(5,"b-user-picker",83,25);T(7,"async");T(8,"async");M("onHotkey",function(){v(b);var e=Q(6);return x(e.openPopOver())})("emailChange",function(e){v(b);var f=O(2);return x(dab(f.editIssueService,f.issueId,e))});G();F(9,"div",84);C(10,eab,2,0,"div",85);T(11,"async");C(12,gab,3,3,"ng-container",27);T(13,"async");G()()()}if(a&2){var c;a=O().ngIf;var d=O();z(3);D("thinking",!!V(4,7,d.isSaving$("assignee")));
z(2);D("hotkey",d.HOTKEYS.CHANGE_ASSIGNEE)("user",a.assigneeUser)("teamId",(c=V(7,9,d.teamId$))!==null&&c!==void 0?c:"")("disabled",!V(8,11,d.hasAclToEdit$));z(5);D("ngIf",a.assigneeUser&&V(11,13,d.hasAclToEdit$));z(2);D("ngIf",d.defaultAssigneeQuickActionEnabled&&V(13,15,d.hasAclToEdit$))}},jab=function(a){if(a&1){var b=u();K(0);F(1,"b-edit-field",89,26);T(3,"async");T(4,"async");T(5,"async");M("valueChange",function(f){v(b);var h=Q(2),k=O(2);return x(iab(k,h,f!==null&&f!==void 0?f:""))});G();L()}if(a&
2){var c,d;a=O().ngIf;var e=O();z();D("name","verifier")("title","Verifier")("type",e.FieldType.TEXT)("value",a.verifier)("user",(c=a.verifierUser)!==null&&c!==void 0?c:void 0)("isUser",!0)("readonly",!V(3,10,e.hasAclToEdit$))("disabled",!!V(4,12,e.isSaving$("verifier")))("showAvailability",!0)("teamId",(d=V(5,14,e.teamId$))!==null&&d!==void 0?d:"")}},lab=function(a){if(a&1){var b=u();F(0,"onedev-edit-field")(1,"onedev-field-label");R(2,"Verifier");G();F(3,"onedev-field-value",65);T(4,"async");F(5,
"b-user-picker",66);T(6,"async");T(7,"async");M("emailChange",function(e){v(b);var f=O(2);return x(kab(f.editIssueService,f.issueId,e))});G()()()}if(a&2){var c;a=O().ngIf;var d=O();z(3);D("thinking",!!V(4,4,d.isSaving$("verifier")));z(2);D("user",a.verifierUser)("teamId",(c=V(6,6,d.teamId$))!==null&&c!==void 0?c:"")("disabled",!V(7,8,d.hasAclToEdit$))}},mab=function(a){a&1&&(F(0,"span"),R(1," Remove me "),G())},nab=function(a){a&1&&(F(0,"span"),R(1," Add me "),G())},pab=function(a){if(a&1){var b=
u();F(0,"div",41);T(1,"async");T(2,"async");T(3,"async");T(4,"async");M("click",function(){v(b);var c=O(2);return x(oab(c))})("keydown.enter",function(c){v(b);var d=O(2);oab(d);c.stopPropagation();c.preventDefault();return x()})("keydown.space",function(c){v(b);var d=O(2);oab(d);c.stopPropagation();c.preventDefault();return x()});C(5,mab,2,0,"span",27);T(6,"async");C(7,nab,2,0,"span",27);T(8,"async");T(9,"async");G()}a&2&&(a=O(2),Kf("disabled",!!V(1,7,a.isSaving$("collaborators"))),D("matTooltip",
V(2,9,a.isCurrentUserCollaborator$)?"Remove yourself from collaborators":"Add yourself to collaborators"),Bf("aria-disabled",!!V(3,11,a.isSaving$("collaborators")))("aria-label",V(4,13,a.isCurrentUserCollaborator$)?"Remove yourself from collaborators":"Add yourself to collaborators"),z(5),D("ngIf",V(6,15,a.isCurrentUserCollaborator$)),z(2),D("ngIf",!V(8,17,a.isCurrentUserCollaborator$)&&V(9,19,a.hasAclToEdit$)))},qab=function(a){a&1&&(F(0,"span"),R(1," Un-CC me "),G())},rab=function(a){a&1&&(F(0,
"span"),R(1," CC me "),G())},tab=function(a){if(a&1){var b=u();F(0,"div",41);T(1,"async");T(2,"async");T(3,"async");T(4,"async");M("click",function(){v(b);var c=O(2);return x(sab(c))})("keydown.enter",function(c){v(b);var d=O(2);sab(d);c.stopPropagation();c.preventDefault();return x()})("keydown.space",function(c){v(b);var d=O(2);sab(d);c.stopPropagation();c.preventDefault();return x()});C(5,qab,2,0,"span",27);T(6,"async");C(7,rab,2,0,"span",27);T(8,"async");T(9,"async");G()}a&2&&(a=O(2),Kf("disabled",
!!V(1,7,a.isSaving$("ccs"))),D("matTooltip",V(2,9,a.isCurrentUserCCd$)?"Remove yourself from CC":"Add yourself to CC"),Bf("aria-disabled",!!V(3,11,a.isSaving$("ccs")))("aria-label",V(4,13,a.isCurrentUserCCd$)?"Remove yourself from CC":"Add yourself to CC"),z(5),D("ngIf",V(6,15,a.isCurrentUserCCd$)),z(2),D("ngIf",!V(8,17,a.isCurrentUserCCd$)&&V(9,19,a.isAllowedToEditCC$)))},uab=function(a){a&1&&Sf(0)},vab=function(a){a&1&&(K(0),C(1,uab,1,0,"ng-container",58),L());a&2&&(O(),a=Q(124),z(),D("ngTemplateOutlet",
a))},wab=function(a){a&1&&H(0,"b-list-field",90);if(a&2){a=O().ngIf;var b=O(2);D("readonly",!0)("defaultLineCount",3)("title","TaskFlow Workspaces")("type",b.ListFieldType.WORKSPACES)("values",a)("tooltip","Links to TaskFlow workspaces this issue belongs to")}},xab=function(a,b){a&1&&(K(0),C(1,wab,1,6,"b-list-field",54),T(2,"async"),L());a&2&&(a=b.ngIf,b=O(2),z(),D("ngIf",V(2,1,b.shouldDisplayWtdmUi$)&&a.length))},yab=function(a){a&1&&H(0,"b-list-field",90);if(a&2){a=O().ngIf;var b=O();D("readonly",
!0)("defaultLineCount",3)("title","Postmortems")("type",b.ListFieldType.POSTMORTEMS)("values",a.postmortems)("tooltip","Postmortems (auto-populated from a daily dump of Requiem)")}},Aab=function(a,b){a&1&&(F(0,"div"),Sf(1,91),G());a&2&&(a=b.$implicit,O(),b=Q(136),z(),D("ngTemplateOutlet",b)("ngTemplateOutletContext",ug(2,zab,a)))},Bab=function(a){a&1&&Sf(0)},Cab=function(a){a&1&&(K(0),C(1,Bab,1,0,"ng-container",58),L());a&2&&(O(),a=Q(134),z(),D("ngTemplateOutlet",a))},Dab=function(a){a&1&&H(0,"hr",
92)},Eab=function(a){a&1&&Sf(0)},Fab=function(a){a&1&&(K(0),C(1,Eab,1,0,"ng-container",58),L());a&2&&(O(2),a=Q(120),z(),D("ngTemplateOutlet",a))},Gab=function(a){a&1&&Sf(0)},Hab=function(a){a&1&&(K(0),C(1,Gab,1,0,"ng-container",58),L());a&2&&(O(2),a=Q(122),z(),D("ngTemplateOutlet",a))},Iab=function(a){a&1&&Sf(0)},Jab=function(a){a&1&&(K(0),C(1,Iab,1,0,"ng-container",58),L());a&2&&(O(2),a=Q(124),z(),D("ngTemplateOutlet",a))},Kab=function(a,b){a&1&&(F(0,"div"),Sf(1,91),G());a&2&&(a=b.$implicit,O(2),
b=Q(136),z(),D("ngTemplateOutlet",b)("ngTemplateOutletContext",ug(2,zab,a)))},Lab=function(a){a&1&&Sf(0)},Mab=function(a){a&1&&(K(0),C(1,Lab,1,0,"ng-container",58),L());a&2&&(O(2),a=Q(134),z(),D("ngTemplateOutlet",a))},Nab=function(a){a&1&&(F(0,"collapsible-panel",93),T(1,"async"),C(2,Fab,2,1,"ng-container",27),T(3,"async"),C(4,Hab,2,1,"ng-container",27),T(5,"async"),C(6,Jab,2,1,"ng-container",27),T(7,"async"),C(8,Kab,2,4,"div",55),T(9,"async"),C(10,Mab,2,1,"ng-container",27),T(11,"async"),G());if(a&
2){var b;a=O(2);D("titleWhenCollapsed",(b=V(1,8,a.showHiddenFieldsLabel$))!==null&&b!==void 0?b:"")("titleWhenExpanded","Hide additional fields");z(2);D("ngIf",a.showSloStatus&&!V(3,10,a.isSloStatusPrimary$));z(2);D("ngIf",!V(5,12,a.isSeverityPrimary$));z(2);D("ngIf",a.showCodeChanges&&!V(7,14,a.isChangelistPrimary$));z(2);D("ngForOf",V(9,16,a.hiddenCustomFields$))("ngForTrackBy",a.trackCustomField);z(2);D("ngIf",!V(11,18,a.isForgottenFourPrimary$))}},Oab=function(a){if(a&1){var b=u();F(0,"b-issue-slo-box",
95);T(1,"async");T(2,"async");T(3,"async");T(4,"async");T(5,"async");M("onSloStartTimeChange",function(h){v(b);var k=O(3);return x(k.editIssueService.updateSloStartTime(k.issueId,h.date))})("onSloEndTimeChange",function(h){v(b);var k=O(3);return x(k.editIssueService.updateSloEndTime(k.issueId,h.date))});G()}if(a&2){var c,d,e;a=O(2).ngIf;var f=O();D("sloStatus",(c=V(1,8,f.sloStatus$))!==null&&c!==void 0?c:void 0)("sloStartTime",a.sloStartTime)("sloEndTime",a.sloEndTime)("sloId",(d=V(2,10,f.sloId$))!==
null&&d!==void 0?d:void 0)("componentId",a.componentId)("isEditable",!!V(3,12,f.hasAclToEdit$))("issueCreationTimestamp",(e=V(4,14,f.createdTimeMicros$))!==null&&e!==void 0?e:0)("showInternalOnlyFieldBadge",!V(5,16,f.issueIsOnInternalComponent$))}},Pab=function(a){a&1&&C(0,Oab,6,18,"ng-template",94);a&2&&(a=O(2),D("refreshable",a.refreshMonitor.getObservable()))},Rab=function(a){if(a&1){var b=u();F(0,"b-edit-field",96);T(1,"async");T(2,"async");M("valueChange",function(d){v(b);var e=O(2);return x(Qab(e.editIssueService,
e.issueId,d!==null&&d!==void 0?d:""))});G()}if(a&2){a=O().ngIf;var c=O();D("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",!V(1,8,c.hasAclToEdit$))("disabled",!!V(2,10,c.isSaving$("severity")))}},Sab=function(a){if(a&1){var b=u();F(0,"insights-graph-btn",100);M("pressed",function(){v(b);var c=O(3);return x(c.issueInsightsSidebarService.onClickButton("deployments"))});
G()}},Xab=function(a){if(a&1){var b=u();F(0,"b-list-field",97);T(1,"async");T(2,"async");M("valuesChange",function(h){v(b);var k=O(2),q=[],t=[];h=l(h.values);for(var w=h.next();!w.done;w=h.next()){w=w.value;var B=Dm(w);B?q.push(B):t.push(w)}Uab(k.editIssueService,k.issueId,t);Vab(k.editIssueService,k.issueId,q);return x()});F(3,"div",98);C(4,Sab,1,0,"insights-graph-btn",99);T(5,"async");G()();H(6,"b-list-field",90);T(7,"async");T(8,"async");T(9,"async")}if(a&2){var c,d,e;a=O().ngIf;var f=O();D("readonly",
!V(1,16,f.hasAclToEdit$))("defaultLineCount",3)("title","Code Changes")("inputValidator",f.codeChangesValidator)("type",f.ListFieldType.CODE_CHANGES)("values",Wab(a,f.sessionIsExternal))("listFieldDisabled",!!V(2,18,f.isSaving$("changelists")));z(4);D("ngIf",V(5,20,f.issueInsightsSidebarService.shouldShowInsightsGraphButton$));z(2);Kf("bv2-issue-metadata-error",(c=V(7,22,f.pendingCodeChanges$))==null?null:c.hasError);D("readonly",!0)("defaultLineCount",3)("title","Pending Code Changes")("type",f.ListFieldType.CODE_CHANGES)("values",
((d=V(8,24,f.pendingCodeChanges$))==null?null:d.changes)||tg(28,J$a))("tooltip",((e=V(9,26,f.pendingCodeChanges$))==null?0:e.hasError)?"Error fetching pending changelists":"Pending code changes (auto-populated)")}},Zab=function(a){if(a&1){var b=u();F(0,"b-edit-field",101);T(1,"csv");T(2,"async");T(3,"async");M("valueChange",function(d){v(b);var e=O(2);return x(Yab(e.editIssueService,e.issueId,d!==null&&d!==void 0?d:""))});G()}if(a&2){a=O().ngIf;var c=O();D("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",V(1,8,a.foundInVersion))("readonly",!V(2,10,c.hasAclToEdit$))("disabled",!!V(3,12,c.isSaving$("foundInVersion")))}},abb=function(a){if(a&1){var b=u();F(0,"b-edit-field",102);T(1,"csv");T(2,"async");T(3,"async");M("valueChange",function(d){v(b);var e=O(2);return x($ab(e.editIssueService,e.issueId,d!==null&&d!==void 0?d:""))});G()}if(a&2){a=O().ngIf;var c=O();D("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",V(1,8,a.targetedToVersion))("readonly",!V(2,10,c.hasAclToEdit$))("disabled",!!V(3,12,c.isSaving$("targetedToVersion")))}},cbb=function(a){if(a&1){var b=u();F(0,"b-edit-field",101);T(1,"csv");T(2,"async");T(3,"async");M("valueChange",function(d){v(b);var e=O(2);return x(bbb(e.editIssueService,e.issueId,
d!==null&&d!==void 0?d:""))});G()}if(a&2){a=O().ngIf;var c=O();D("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",V(1,8,a.verifiedInVersion))("readonly",!V(2,10,c.hasAclToEdit$))("disabled",!!V(3,12,c.isSaving$("verifiedInVersion")))}},ebb=function(a){if(a&1){var b=u();F(0,"b-edit-field",103);T(1,"async");T(2,"async");M("valueChange",function(d){v(b);
var e=O(2);return x(dbb(e.editIssueService,e.issueId,d!==null&&d!==void 0?d:!1))});G()}if(a&2){a=O().ngIf;var c=O();D("name","inProd")("title","In Prod")("type",c.FieldType.BOOL)("value",a.inProd)("tooltip","Set if this issue occurs in production")("readonly",!V(1,7,c.hasAclToEdit$))("disabled",!!V(2,9,c.isSaving$("inProd")))}},fbb=function(a){a&1&&Sf(0)},gbb=function(a){a&1&&Sf(0)},hbb=function(a){a&1&&Sf(0)},ibb=function(a){a&1&&Sf(0)},jbb=function(a){a&1&&(F(0,"div",30),C(1,fbb,1,0,"ng-container",
58)(2,gbb,1,0,"ng-container",58)(3,hbb,1,0,"ng-container",58)(4,ibb,1,0,"ng-container",58),G());if(a&2){O();a=Q(126);var b=Q(128),c=Q(130),d=Q(132);z();D("ngTemplateOutlet",a);z();D("ngTemplateOutlet",b);z();D("ngTemplateOutlet",c);z();D("ngTemplateOutlet",d)}},lbb=function(a,b){if(a&1){var c=u();F(0,"b-custom-field-editor",104);T(1,"async");T(2,"async");M("save",function(e){var f=v(c).$implicit,h=O(2);return x(kbb(h.editIssueService,h.issueId,f.customFieldId,e))});G()}if(a&2){a=b.$implicit;b=O().ngIf;
var d=O();D("issue",b)("field",a)("readonly",!V(1,4,d.hasAclToEdit$))("disabled",!!V(2,6,d.isSaving$(a.customFieldId)))}},rbb=function(a,b){if(a&1){var c=u();K(0);C(1,F$a,2,1,"ng-container",27);T(2,"async");C(3,I$a,3,3,"ng-container",27)(4,L$a,3,3,"ng-container",27);T(5,"async");C(6,N$a,6,16,"ng-container",28)(7,P$a,8,10,"ng-template",null,0,yg);F(9,"b-edit-field",29,1);T(11,"async");T(12,"async");M("valueChange",function(I){v(c);var J=Q(10),N=O();return x(mbb(N,J,I!==null&&I!==void 0?I:"",N.getTrackerId()))});
G();F(13,"div",30)(14,"b-edit-field",31,2);T(16,"async");T(17,"async");M("onHotkey",function(){v(c);var I=Q(15);return x(Sp(I,null,!0,!1))})("valueChange",function(I){v(c);var J=O();return x(nbb(J.editIssueService,J.issueId,I!==null&&I!==void 0?I:""))});G();C(18,R$a,2,1,"ng-container",27);T(19,"async");G();F(20,"div",32)(21,"b-edit-field",33,3);T(23,"async");T(24,"async");T(25,"async");T(26,"async");M("onHotkey",function(){v(c);var I=Q(22);return x(Sp(I,null,!0,!1))})("valueChange",function(I){v(c);
var J=O();return x(obb(J,I!==null&&I!==void 0?I:""))});G();C(27,T$a,3,3,"ng-container",27);T(28,"async");G();F(29,"onedev-hovercard",null,4);C(31,U$a,3,4,"b-issue-card",34);G();C(32,W$a,4,9,"b-estimated-effort-row",35);T(33,"async");T(34,"async");F(35,"div",36)(36,"div",37)(37,"div",38)(38,"label");R(39,"Access");G()();F(40,"div",39)(41,"span",40);R(42);T(43,"async");G();F(44,"div",41);T(45,"async");T(46,"async");M("click",function(){v(c);var I=O();return x(I.toggleAccessLimits())})("keydown.enter",
function(I){v(c);var J=O();return x(J.toggleAccessLimitsWithKeystroke(I))})("keydown.space",function(I){v(c);var J=O();return x(J.toggleAccessLimitsWithKeystroke(I))});F(47,"span");R(48);T(49,"async");G()()()();F(50,"onedev-hovercard",null,5)(52,"div",42)(53,"div",43)(54,"span",44);R(55," Issue access level can only be set by Issue admins and it enables issue-level access control. ");F(56,"a",45);R(57,"Learn more");G()()()()()();F(58,"div",46);T(59,"async");C(60,Y$a,8,1,"div",47);T(61,"async");F(62,
"div",48);C(63,cab,7,18,"ng-container",28)(64,hab,14,17,"ng-template",null,6,yg);G();C(66,jab,6,16,"ng-container",28)(67,lab,8,10,"ng-template",null,7,yg);K(69);F(70,"b-collaborators-field",49,8);T(72,"async");T(73,"async");T(74,"async");M("toggleAccessLimits",function(){v(c);var I=O();return x(I.toggleAccessLimits())})("valuesChange",function(I){v(c);var J=Q(71),N=O();return x(pbb(N,J,I.values))});F(75,"div",50);C(76,pab,10,21,"div",51);T(77,"async");T(78,"async");T(79,"async");G()();F(80,"onedev-hovercard",
null,9)(82,"div",42)(83,"div",43)(84,"span",44);R(85," Collaborators are users who are actively working on an issue. ");F(86,"a",52);R(87,"Learn more.");G()()()()();F(88,"b-list-field",53,10);T(90,"async");T(91,"async");T(92,"async");M("valuesChange",function(I){v(c);var J=Q(89),N=O();return x(qbb(N,J,I.values))});F(93,"div",50);C(94,tab,10,21,"div",51);T(95,"async");T(96,"async");T(97,"async");G()();F(98,"onedev-hovercard",null,11)(100,"div",42)(101,"div",43)(102,"span",44);R(103," CC are users who want to receive updates. ");
F(104,"a",52);R(105,"Learn more.");G()()()()();L();G();C(106,vab,2,1,"ng-container",27);T(107,"async");C(108,xab,3,3,"ng-container",27);T(109,"async");C(110,yab,1,6,"b-list-field",54)(111,Aab,2,4,"div",55);T(112,"async");C(113,Cab,2,1,"ng-container",27);T(114,"async");C(115,Dab,1,0,"hr",56);T(116,"async");C(117,Nab,12,20,"collapsible-panel",57);T(118,"async");C(119,Pab,1,1,"ng-template",null,12,yg)(121,Rab,3,12,"ng-template",null,13,yg)(123,Xab,10,29,"ng-template",null,14,yg)(125,Zab,4,14,"ng-template",
null,15,yg)(127,abb,4,14,"ng-template",null,16,yg)(129,cbb,4,14,"ng-template",null,17,yg)(131,ebb,3,11,"ng-template",null,18,yg)(133,jbb,5,4,"ng-template",null,19,yg)(135,lbb,3,8,"ng-template",null,20,yg);L()}if(a&2){var d,e,f;a=b.ngIf;b=Q(8);var h=Q(30),k=Q(51),q=Q(65),t=Q(68),w=Q(81),B=Q(99),E=O();z();D("ngIf",E.showSloStatus&&V(2,85,E.isSloStatusPrimary$));z(2);D("ngIf",E.sessionIsInternal);z();D("ngIf",V(5,87,E.teamWarningType$));z(2);D("ngIf",!E.enablePeoplekitAc)("ngIfElse",b);z(3);D("name",
"type")("title","Type")("type",E.FieldType.ENUM)("value",a.type)("choices",E.typeChoices)("readonly",!V(11,89,E.hasAclToEdit$))("disabled",!!V(12,91,E.isSaving$("type")));z(5);D("name","priority")("title","Priority")("type",E.FieldType.ENUM)("tooltip","Set priority, which reflects how soon the issue should be fixed")("value",a.priority)("choices",E.priorityChoices)("hotkey",E.HOTKEYS.OPEN_ISSUE_PRIORITY_MENU)("readonly",!V(16,93,E.hasAclToEdit$))("disabled",!!V(17,95,E.isSaving$("priority")));z(4);
D("ngIf",V(19,97,E.isSeverityPrimary$));z(3);D("name","status")("title","Status")("type",E.FieldType.ENUM)("value",a.status)("choices",(d=V(23,99,E.statusChoices$))!==null&&d!==void 0?d:tg(161,J$a))("showHotkeyHint",!0)("hotkey",E.HOTKEYS.OPEN_ISSUE_STATUS_MENU)("readonly",!V(24,101,E.hasAclToEdit$))("disabled",!!V(25,103,E.isSaving$("status")))("onedevHovercardActive",!!V(26,105,E.canonicalIssueId$))("onedevHovercardTrigger",h);z(6);D("ngIf",V(28,107,E.hasAclToEdit$));z(5);D("ngIf",E.sessionIsInternal&&
V(33,109,E.isEffortEnabled$)&&!V(34,111,E.isWithinExternalComponent$));z(4);D("onedevHovercardTrigger",k)("onedevHovercardActive",!0)("onedevHovercardConfig",E.ACCESS_LIMITS_HOVERCARD_CONFIG);z(6);lg(E.getAccessLimitLevelDisplay(V(43,113,E.accessLimitLevel$)));z(2);D("matTooltip",V(45,115,E.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)");Bf("aria-label",V(46,117,E.hasAclToAdmin$)?
"Edit":"View");z(4);S(" ",V(49,119,E.hasAclToAdmin$)?"Edit":"View"," ");z(8);D("href",E.documentationLinks.getIssueAccessLimit(),Qe);z(2);Kf("implicit-access-box",V(59,121,E.isImplicitAccessEnabled$));z(2);D("ngIf",V(61,123,E.isImplicitAccessEnabled$));z(3);D("ngIf",!E.enablePeoplekitAc)("ngIfElse",q);z(3);D("ngIf",!E.enablePeoplekitAc)("ngIfElse",t);z(4);D("readonly",!V(72,125,E.hasAclToEdit$))("collaborators",a.collaborators)("collaboratorsUsers",a.collaboratorsUsers)("listFieldDisabled",!!V(73,
127,E.isSaving$("collaborators")))("teamId",(e=V(74,129,E.teamId$))!==null&&e!==void 0?e:"")("isCollapsible",!0)("onedevHovercardTrigger",w)("onedevHovercardActive",!0)("onedevHovercardConfig",E.USER_FIELD_HOVERCARD_CONFIG);z(6);D("ngIf",V(77,131,E.isCurrentUserCollaborator$)||!V(78,133,E.isCurrentUserCollaborator$)&&V(79,135,E.hasAclToEdit$));z(12);ag("collapsiblePanelTitle","",a.cc.length," ",a.cc.length===1?"user":"users","");D("defaultLineCount",5)("readonly",!V(90,137,E.isAllowedToEditCC$))("type",
E.ListFieldType.USERCHIP)("isUser",!0)("values",a.cc)("users",a.ccUsers)("listFieldDisabled",!!V(91,139,E.isSaving$("ccs")))("isCollapsible",!0)("isExpanded",!0)("onedevHovercardTrigger",B)("onedevHovercardActive",!0)("onedevHovercardConfig",E.USER_FIELD_HOVERCARD_CONFIG)("teamId",(f=V(92,141,E.teamId$))!==null&&f!==void 0?f:"");z(6);D("ngIf",V(95,143,E.isCurrentUserCCd$)||!V(96,145,E.isCurrentUserCCd$)&&V(97,147,E.isAllowedToEditCC$));z(12);D("ngIf",E.showCodeChanges&&V(107,149,E.isChangelistPrimary$));
z(2);D("ngIf",V(109,151,E.workspaces$));z(2);D("ngIf",!E.sessionIsExternal&&(a.postmortems==null?null:a.postmortems.length));z();D("ngForOf",V(112,153,E.visibleCustomFields$))("ngForTrackBy",E.trackCustomField);z(2);D("ngIf",V(114,155,E.isForgottenFourPrimary$));z(2);D("ngIf",V(116,157,E.hasHiddenFields$));z(2);D("ngIf",V(118,159,E.hasHiddenFields$))}},sbb=function(a,b){if(a&1){var c=u();K(0);F(1,"a",19);M("click",function(){v(c);O().analytics.trackEvent("issueSidebar","navigate","issueDetailsPage");
return x()});F(2,"span",20);R(3,"Navigate to issue ");G();R(4);G();F(5,"button",21);M("click",function(){var d=v(c).ngIf,e=O();return x(e.copyIssueId(d))});H(6,"mat-icon",22);G();L()}a&2&&(a=b.ngIf,z(),Zf("href","/issues/",a,"",Qe),z(3),S(" ",a," "))},tbb=function(a,b){if(a&1){var c=u();F(0,"b-app-vote-button",23);M("onVote",function(d){v(c);var e=O();return x(e.upvoted(d))});G()}a&2&&(a=b.ngIf,D("issueId",a.issueId)("upvoted",!(a.userData==null||!a.userData.voted))("voteCount",(a.aggregatedData==
null?null:a.aggregatedData.voteCount)||0))},vbb=function(a){if(a&1){var b=u();K(0);F(1,"span");R(2);G();F(3,"button",26);M("click",function(){v(b);var c=O(2);return x(ubb(c))});H(4,"mat-icon",27);G();L()}a&2&&(a=O().ngIf,z(),Bf("title",a.snapshot[0].title),z(),S(" ",a.snapshot[0].title," "),z(),D("matTooltipShowDelay",500))},wbb=function(a){if(a&1){var b=u();F(0,"button",33);M("click",function(){v(b);var c=O(3);return x(Uq(c))});R(1,"Cancel");G()}},xbb=function(a){a&1&&(K(0),R(1," Update title "),
L())},ybb=function(a){if(a&1){var b=u();K(0);F(1,"mat-form-field",28)(2,"textarea",29);pg("ngModelChange",function(d){v(b);var e=O(2);og(e.draftTitle,d)||(e.draftTitle=d);return x(d)});G()();F(3,"div",30);C(4,wbb,2,0,"button",31);F(5,"button",32);M("click",function(){v(b);var d=O(2);return x(d.saveTitle())});C(6,xbb,2,0,"ng-container",18);G()();L()}if(a&2){a=O(2);var c=Q(22);z(2);D("cdkTextareaAutosize",!0)("cdkAutosizeMinRows",1);ng("ngModel",a.draftTitle);D("bFocus",!0);z(2);D("ngIf",!a.isSavingTitle);
z();D("disabled",a.isSavingTitle);z();D("ngIf",!a.isSavingTitle)("ngIfElse",c)}},zbb=function(a){a&1&&(F(0,"div",24)(1,"div",25),C(2,vbb,5,3,"ng-container",8)(3,ybb,7,8,"ng-container",8),G()());a&2&&(a=O(),z(2),D("ngIf",!a.editTitleMode),z(),D("ngIf",a.editTitleMode))},Abb=function(a){a&1&&(F(0,"xap-dialog-layout")(1,"xap-dialog-layout-content")(2,"div"),R(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. "),
G()()())},Bbb=function(a){if(a&1){var b=u();F(0,"button",55);M("click",function(){v(b);var c=O(3);return x(c.generateIssueSummary())});R(1," Generate ");G()}},Cbb=function(a){a&1&&H(0,"mat-icon",57)},Dbb=function(a){a&1&&H(0,"mat-icon",58)},Ebb=function(a){if(a&1){var b=u();F(0,"button",56);M("click",function(){v(b);var c=O(3);return x(c.isIssueSummaryExpanded=!c.isIssueSummaryExpanded)});C(1,Cbb,1,0,"mat-icon",45)(2,Dbb,1,0,"mat-icon",46);G()}a&2&&(a=O(3),D("matTooltipShowDelay",1E3),Bf("aria-expanded",
a.isIssueSummaryExpanded),z(),D("ngIf",!a.isIssueSummaryExpanded),z(),D("ngIf",a.isIssueSummaryExpanded))},Fbb=function(a){a&1&&Sf(0,61);a&2&&(O(4),a=Q(22),D("ngTemplateOutlet",a))},Gbb=function(a){a&1&&H(0,"b-markdown-format-presenter",72);a&2&&(a=O(2).ngIf,D("content",a.formattedSummary))},Hbb=function(a){a&1&&(F(0,"div"),R(1),G());a&2&&(a=O(2).ngIf,z(),S(" ",a.summary," "))},Ibb=function(a){if(a&1){var b=u();K(0);C(1,Gbb,1,1,"b-markdown-format-presenter",62)(2,Hbb,2,1,"ng-template",null,3,yg);
F(4,"div",63)(5,"button",64);M("click",function(){v(b);var e=O().ngIf,f=O(4);return x(f.copySummary(e))});H(6,"mat-icon",65);G();F(7,"button",66);M("click",function(){v(b);var e=O().ngIf,f=O(4);return x(f.openFeedbackDialog(e))});H(8,"mat-icon",67);G();F(9,"button",68);M("click",function(){v(b);var e=O().ngIf,f=O(4);return x(f.trackThumbsUp(e))});H(10,"mat-icon",69);G();F(11,"button",70);M("click",function(){v(b);var e=O().ngIf,f=O(4);return x(f.trackThumbsDown(e))});H(12,"mat-icon",71);G()();L()}if(a&
2){a=Q(3);var c=O().ngIf,d=O(4);z();D("ngIf",c.formattedSummary)("ngIfElse",a);z(8);D("disabled",d.hasRatedSummary);z();Kf("has-reacted-icon",d.summaryThumbsUp);z();D("disabled",d.hasRatedSummary);z();Kf("has-reacted-icon",d.summaryThumbsDown)}},Jbb=function(a){a&1&&(K(0),C(1,Ibb,13,8,"ng-container",8),L());a&2&&(a=O(4),z(),D("ngIf",!a.isLoadingIssueSummary))},Kbb=function(a){a&1&&(F(0,"div",59),C(1,Fbb,1,1,"ng-container",60)(2,Jbb,2,1,"ng-container",8),T(3,"async"),G());a&2&&(a=O(3),z(),D("ngIf",
a.isLoadingIssueSummary),z(),D("ngIf",V(3,2,a.issueSummary$)))},Lbb=function(a){a&1&&(K(0),F(1,"div",48)(2,"div",36)(3,"div",37),H(4,"mat-icon",49),F(5,"span"),R(6,"AI-GENERATED SUMMARY"),G(),F(7,"button",50),H(8,"mat-icon",51),G(),C(9,Abb,4,0,"ng-template",null,2,yg),G(),C(11,Bbb,2,0,"button",52)(12,Ebb,3,4,"button",53),G(),C(13,Kbb,4,4,"div",54),G(),L());if(a&2){a=Q(10);var b=O(2);z();D("ngClass",b.enableIssueSummarizationNoButton?"issue-summary":"legacy-issue-summary");z(6);D("xapInlineDialog",
a)("dialogTabIndex",0);z(4);D("ngIf",b.isGenerateSummaryButtonDisplayed);z();D("ngIf",b.hasIssueSummary);z();D("ngIf",b.isIssueSummaryExpanded)}},Mbb=function(a){a&1&&(F(0,"span"),R(1," No update yet "),G())},Nbb=function(a){if(a&1){var b=u();F(0,"button",73);M("click",function(){v(b);var c=O(2);return x(c.editStatusUpdate())});H(1,"mat-icon",27);G()}a&2&&D("matTooltipShowDelay",1E3)},Obb=function(a){a&1&&H(0,"mat-icon",57)},Pbb=function(a){a&1&&H(0,"mat-icon",58)},Qbb=function(a){if(a&1){var b=u();
F(0,"button",74);M("click",function(){v(b);var c=O(2);return x(c.isStatusUpdateExpanded=!c.isStatusUpdateExpanded)});C(1,Obb,1,0,"mat-icon",45)(2,Pbb,1,0,"mat-icon",46);G()}a&2&&(a=O(2),D("matTooltipShowDelay",1E3),Bf("aria-expanded",a.isStatusUpdateExpanded),z(),D("ngIf",!a.isStatusUpdateExpanded),z(),D("ngIf",a.isStatusUpdateExpanded))},Rbb=function(a,b){a&1&&(H(0,"b-note-container",78),T(1,"async"));if(a&2){var c;a=b.ngIf;b=O().ngIf;var d=O().ngIf,e=O(2);D("issueId",a)("note",d)("issueAccessLevel",
V(1,4,e.accessLevel$))("formattingMode",(c=b.formattingMode)!==null&&c!==void 0?c:e.FormattingMode.PLAIN)}},Sbb=function(a){a&1&&(F(0,"div",76),C(1,Rbb,2,6,"b-note-container",77),T(2,"async"),G());if(a&2){a=O().ngIf;var b=O(2);z();D("ngIf",a.unlinkifiedComment!==""&&V(2,1,b.issueId$))}},Tbb=function(a){a&1&&(K(0),C(1,Sbb,3,3,"div",75),T(2,"async"),L());a&2&&(a=O(2),z(),D("ngIf",V(2,1,a.statusUpdate$)))},Ubb=function(a){a&1&&(F(0,"span"),R(1," No description yet "),G())},Wbb=function(a){if(a&1){var b=
u();F(0,"button",82);M("click",function(){v(b);var c=O(3);return x(Vbb(c))});H(1,"mat-icon",27);G()}a&2&&D("matTooltipShowDelay",1E3)},Xbb=function(a){a&1&&H(0,"mat-icon",57)},Ybb=function(a){a&1&&H(0,"mat-icon",58)},Zbb=function(a){if(a&1){var b=u();F(0,"button",83);M("click",function(){v(b);var c=O(3);return x(c.isDescriptionExpanded=!c.isDescriptionExpanded)});C(1,Xbb,1,0,"mat-icon",45)(2,Ybb,1,0,"mat-icon",46);G()}a&2&&(a=O(3),D("matTooltipShowDelay",1E3),Bf("aria-expanded",a.isDescriptionExpanded),
z(),D("ngIf",!a.isDescriptionExpanded),z(),D("ngIf",a.isDescriptionExpanded))},$bb=function(a,b){a&1&&(H(0,"b-note-container",78),T(1,"async"));if(a&2){var c;a=b.ngIf;b=O().ngIf;var d=O(2).ngIf,e=O(2);D("issueId",a)("note",b)("issueAccessLevel",V(1,4,e.accessLevel$))("formattingMode",(c=d[0].formattingMode)!==null&&c!==void 0?c:e.FormattingMode.PLAIN)}},acb=function(a){if(a&1){var b=u();F(0,"div",87)(1,"a",88);M("click",function(){v(b);var c=O(5);c.analytics.trackEvent("issueSidebar","showMoreDescription");
c.showFullDescription=!0;return x()});R(2," Show more ");G()()}},bcb=function(a,b){a&1&&(K(0),F(1,"div",85),C(2,$bb,2,6,"b-note-container",77),T(3,"async"),G(),C(4,acb,3,0,"div",86),L());a&2&&(a=b.ngIf,b=O(4),z(),Kf("full-height",b.showFullDescription),z(),D("ngIf",a.unlinkifiedComment!==""&&V(3,4,b.issueId$)),z(2),D("ngIf",!b.showFullDescription&&b.descriptionHasMore))},ccb=function(a){a&1&&(K(0),F(1,"div",84,4),C(3,bcb,5,6,"ng-container",8),T(4,"async"),T(5,"async"),G(),L());a&2&&(a=O(3),z(3),D("ngIf",
V(4,1,a.hasDescription$)&&V(5,3,a.firstNote$)))},dcb=function(a){a&1&&(K(0),F(1,"div",79)(2,"div",36)(3,"div",37)(4,"span"),R(5,"DESCRIPTION"),G()(),F(6,"div",39),C(7,Ubb,2,0,"span",8),T(8,"async"),C(9,Wbb,2,1,"button",80),T(10,"async"),T(11,"async"),C(12,Zbb,3,4,"button",81),T(13,"async"),G()(),C(14,ccb,6,5,"ng-container",8),G(),L());a&2&&(a=O(2),z(7),D("ngIf",!V(8,4,a.hasDescription$)),z(2),D("ngIf",(a.isDescriptionExpanded||!V(10,6,a.hasDescription$))&&V(11,8,a.userCanEditDescription$)),z(3),D("ngIf",
V(13,10,a.hasDescription$)),z(2),D("ngIf",a.isDescriptionExpanded))},ecb=function(a){a&1&&H(0,"mat-icon",57)},fcb=function(a){a&1&&H(0,"mat-icon",58)},gcb=function(a){a&1&&(F(0,"div",89),H(1,"edit-issue-metadata",90),G());a&2&&(a=O().ngIf,z(),D("issueId",a.issueId))},hcb=function(a){if(a&1){var b=u();K(0);F(1,"div",34);C(2,Lbb,14,6,"ng-container",8);T(3,"async");F(4,"div",35)(5,"div",36)(6,"div",37);H(7,"mat-icon",38);F(8,"span");R(9," STATUS UPDATE ");G()();F(10,"div",39);C(11,Mbb,2,0,"span",8);
T(12,"async");C(13,Nbb,2,1,"button",40);T(14,"async");T(15,"async");C(16,Qbb,3,4,"button",41);T(17,"async");G()();C(18,Tbb,3,3,"ng-container",8);T(19,"async");G();C(20,dcb,15,12,"ng-container",18);T(21,"async");F(22,"div",42)(23,"div",36)(24,"div",37);H(25,"mat-icon",43);F(26,"span");R(27,"FIELDS");G()();F(28,"button",44);M("click",function(){v(b);var d=O();return x(d.isFieldsExpanded=!d.isFieldsExpanded)});C(29,ecb,1,0,"mat-icon",45)(30,fcb,1,0,"mat-icon",46);G()();C(31,gcb,2,1,"div",47);G()();L()}if(a&
2){a=O();var c=Q(22);z(2);D("ngIf",(a.enableLlmSummarization||a.enableIssueSummarizationNoButton)&&V(3,12,a.isSummarizable$));z(9);D("ngIf",!V(12,14,a.hasStatusUpdate$));z(2);D("ngIf",(a.isStatusUpdateExpanded||!V(14,16,a.hasStatusUpdate$))&&V(15,18,a.userCanEditStatusUpdate$));z(3);D("ngIf",V(17,20,a.hasStatusUpdate$));z(2);D("ngIf",a.isStatusUpdateExpanded&&V(19,22,a.statusUpdateNote$));z(2);D("ngIf",V(21,24,a.events$))("ngIfElse",c);z(8);D("matTooltipShowDelay",1E3);Bf("aria-expanded",a.isFieldsExpanded);
z();D("ngIf",!a.isFieldsExpanded);z();D("ngIf",a.isFieldsExpanded);z();D("ngIf",a.isFieldsExpanded)}},icb=function(a){a&1&&(F(0,"div",91),H(1,"b-spinner"),G())},jcb=function(a){a&1&&(K(0),R(1," This issue has not been modified since "),H(2,"b-formatted-date-time",4),R(3," and is scheduled for deletion on "),F(4,"strong"),H(5,"b-formatted-date-time",4),G(),R(6,". "),L());a&2&&(a=O(2),z(2),D("mode","date")("timestamp",a.modifiedTime)("paddingLeftPx",0),z(3),D("mode","date")("timestamp",a.retentionExpireTime)("paddingLeftPx",
0))},kcb=function(a){a&1&&R(0," This issue is retained indefinitely. ")},lcb=function(a){a&1&&(K(0),C(1,jcb,7,6,"ng-container",2)(2,kcb,1,0,"ng-template",null,0,yg),F(4,"a",3),R(5,"Learn more"),G(),L());if(a&2){a=Q(3);var b=O();z();D("ngIf",b.retentionState.retentionPeriod)("ngIfElse",a);z(3);D("href",b.documentationLink,Qe)}},mcb=function(a){a&1&&(F(0,"b-base-chip",1)(1,"div",2),H(2,"retention-text",3),G(),F(3,"div",4),H(4,"retention-help-text",5),G()());a&2&&(a=O(),D("compactMode",a.compactMode)("labelClass",
a.dangerZone?"danger":"expiring")("labelOnlyMode",a.labelOnlyMode),z(2),D("retentionState",a.retentionState)("compactMode",a.compactMode),z(2),D("retentionState",a.retentionState)("modifiedTime",a.modifiedTime))},ncb=function(a){var b=b===void 0?new Date:b;var c=Fm(a.scheduledDeletionTime);b=b.getTime();a=a.retentionPeriod;return b>=c-Math.max(12096E5,.2*(a?a.seconds*1E3+(a.nanos||0)/1E6:0))},qcb=function(a){if(a&1){var b=u();F(0,"issue-sidebar",10);M("closeSidebar",function(){v(b);var d=O(2);return x(d.isIssueSidebarOpen=
!1)})("navigateToNextIssue",function(){v(b);var d=O(2);return x(ocb(d))})("navigateToPreviousIssue",function(){v(b);var d=O(2);return x(pcb(d))});G()}if(a&2){var c;a=O(2);D("issueId",(c=a.getFocusedIssue())==null?null:c.issueId)}},rcb=function(a){a&1&&Sf(0)},scb=function(a){if(a&1){var b=u();F(0,"mat-sidenav-container",6,2)(2,"mat-sidenav",7);M("openedChange",function(d){v(b);O().anayltics.trackEvent("issueSidebar",d?"open":"close");return x()});C(3,qcb,1,1,"issue-sidebar",8);G();F(4,"mat-sidenav-content");
C(5,rcb,1,0,"ng-container",9);G()()}if(a&2){a=O();var c=Q(3);Kf("sidebar-enabled",a.isIssueSidebarEnabled);z(2);D("opened",a.isIssueSidebarOpen)("disableClose",!0);z();D("ngIf",a.isIssueSidebarOpen);z(2);D("ngTemplateOutlet",c)}},tcb=function(a){a&1&&Sf(0)},ucb=function(a,b){a&1&&(F(0,"th",32),C(1,tcb,1,0,"ng-container",33),G());a&2&&(a=b.column,b=O(2),Bf("data-stable-column-name",a.name),z(),D("ngIf",b.isIssueGridColumn(a)))},vcb=function(a){a&1&&Sf(0)},wcb=function(a,b){a&1&&(F(0,"th",34),C(1,vcb,
1,0,"ng-container",33),G());a&2&&(a=b.column,b=O(2),Bf("data-stable-column-name",a.name),z(),D("ngIf",b.isIssueGridColumn(a)))},Acb=function(a){if(a&1){var b=u();K(0);F(1,"mat-pseudo-checkbox",36);M("click",function(c){v(b);var d=O(3);c.stopPropagation();return x(xcb(d))})("keydown.enter",function(c){v(b);var d=O(3);c.stopPropagation();return x(xcb(d))})("keydown.space",function(c){v(b);var d=O(3);c.stopPropagation();return x(xcb(d))});G();L()}a&2&&(a=O(3),z(),D("state",ycb(a)),Bf("aria-checked",
zcb(a)))},Bcb=function(a,b){a&1&&(F(0,"th",35),C(1,Acb,2,2,"ng-container",33),G());a&2&&(a=b.column,b=O(2),Bf("data-stable-column-name",a.name),z(),D("ngIf",b.isIssueGridColumn(a)))},Ccb=function(a){a&1&&Sf(0)},Dcb=function(a,b){a&1&&(F(0,"th"),C(1,Ccb,1,0,"ng-container",33),G());a&2&&(a=b.column,b=O(2),Bf("data-stable-column-name",a.name),z(),D("ngIf",b.isIssueGridColumn(a)))},Ecb=function(a){a&1&&(K(0),H(1,"pop-grid-default-th",37),L());a&2&&(a=O().column,z(),D("column",a))},Fcb=function(a,b){a&
1&&(F(0,"th"),C(1,Ecb,2,1,"ng-container",33),G());a&2&&(a=b.column,b=O(2),Bf("data-stable-column-name",a.name),z(),D("ngIf",b.isIssueGridColumn(a)))},Gcb=function(a){if(a&1){var b=u();F(0,"b-column-picker",40);M("selectedColumnsChange",function(d){v(b);var e=O(4);e.columns=d;e.columnsChange.emit(d);e.cdr.detectChanges();return x()});G()}if(a&2){a=O(2).column;var c=O(2);D("column",a)("availableColumns",c.availableColumns)("selectedColumns",c.columns)}},Hcb=function(a){a&1&&H(0,"pop-grid-default-th",
37);a&2&&(a=O(2).column,D("column",a))},Icb=function(a){a&1&&(K(0),C(1,Gcb,1,3,"b-column-picker",38)(2,Hcb,1,1,"pop-grid-default-th",39),L());a&2&&(a=O(3),z(),D("ngIf",a.enableColumnSaving),z(),D("ngIf",!a.enableColumnSaving))},Jcb=function(a,b){a&1&&(F(0,"th"),C(1,Icb,3,2,"ng-container",33),G());a&2&&(a=b.column,b=O(2),Bf("data-stable-column-name",a.name),z(),D("ngIf",b.isIssueGridColumn(a)))},Kcb=function(a){a&1&&Sf(0)},Lcb=function(a){a&1&&(F(0,"td",32),C(1,Kcb,1,0,"ng-container",33),G());a&2&&
(O(2),z(),D("ngIf",!0))},Mcb=function(a){a&1&&Sf(0)},Ncb=function(a){a&1&&(F(0,"td",41),C(1,Mcb,1,0,"ng-container",33),G());a&2&&(O(2),z(),D("ngIf",!0))},Ocb=function(a){if(a&1){var b=u();K(0);F(1,"mat-pseudo-checkbox",42);M("click",function(c){v(b);var d=O(),e=d.row;d=d.index;var f=O(2);c.stopPropagation();if(c.shiftKey&&(c=e.selected,f.lastCheckedIndex!==null&&f.searchResults)){if(d<f.lastCheckedIndex){var h=d+1;var k=f.lastCheckedIndex+1}else h=f.lastCheckedIndex,k=d;h=l(f.searchResults.issues.slice(h,
k));for(k=h.next();!k.done;k=h.next())k.value.selected=!c;Vq(f)}e.selected=!e.selected;f.lastCheckedIndex=d;Vq(f);return x()});G();L()}a&2&&(a=O().row,z(),D("state",a.selected?"checked":"unchecked"),Bf("aria-label","Select issue "+a.issueId)("aria-checked",a.selected))},Pcb=function(a){a&1&&(F(0,"td",35),C(1,Ocb,2,3,"ng-container",33),G());a&2&&(O(2),z(),D("ngIf",!0))},Qcb=function(a){if(a&1){var b=u();K(0);F(1,"b-star-toggle",44);M("starClicked",function(){v(b);var d=O().row,e=O(2);return x(e.toggleStar(d))});
G();L()}if(a&2){a=O().row;var c=O(2);z();D("starred",a.starred)("disabled",c.starInProgress[a.issueId])("starMessage","Star this issue")("unStarMessage","Un-star this issue")}},Rcb=function(a){a&1&&(F(0,"td",43),C(1,Qcb,2,4,"ng-container",33),G());a&2&&(O(2),z(),D("ngIf",!0))},Scb=function(a){a&1&&(K(0),F(1,"span"),R(2),G(),L());a&2&&(a=O().row,z(),Bf("title",a.position),z(),S(" ",a.position," "))},Tcb=function(a){a&1&&(F(0,"td"),C(1,Scb,3,2,"ng-container",33),G());a&2&&(O(2),z(),D("ngIf",!0))},Ucb=
function(a){a&1&&(K(0),F(1,"a",49),R(2),G(),L());a&2&&(a=O(2).row,O(2),z(),D("href",Ao(a.issueId),Qe),Bf("title",a.title),z(),S(" ",a.issueId," "))},Vcb=function(a){if(a&1){var b=u();K(0);F(1,"b-issue-id-picker",50);M("click",function(c){v(b);return x(c.stopPropagation())});G();L()}a&2&&(a=O(2).row,z(),D("issueId",a.issueId)("showCopyOptions",!1),Bf("title",a.title))},Wcb=function(a){a&1&&(K(0)(1,46),C(2,Ucb,3,3,"ng-container",47)(3,Vcb,2,3,"ng-container",48),L()());a&2&&(a=O(3),z(),D("ngSwitch",
a.listViewPrefs==null?null:a.listViewPrefs.modeForField==null?null:a.listViewPrefs.modeForField.id),z(2),D("ngSwitchCase","copy"))},Xcb=function(a){a&1&&(F(0,"td",45),C(1,Wcb,4,2,"ng-container",33),G());a&2&&(O(2),z(),D("ngIf",!0))},Ycb=function(a){a&1&&H(0,"archived-issue-indicator")},Zcb=function(a){a&1&&H(0,"b-issue-visibility-chip",53);a&2&&(a=O(2).row,D("issueId",a.issueId)("compactMode",!0))},$cb=function(a){a&1&&H(0,"b-component-access-level-indicator",54);a&2&&(a=O(2).row,D("accessLevel",
a.accessLevel)("compactMode",!0))},adb=function(a){a&1&&H(0,"mat-icon",61)},bdb=function(a,b){a&1&&H(0,"b-hotlist-chip-smart",64);a&2&&D("id",b.$implicit)("removable",!1)},cdb=function(a){a&1&&(F(0,"div",62),C(1,bdb,1,2,"b-hotlist-chip-smart",63),G());a&2&&(a=O(2).row,z(),D("ngForOf",a.hotlistId))},ddb=function(a){a&1&&(K(0),F(1,"div",52),C(2,Ycb,1,0,"archived-issue-indicator",33)(3,Zcb,1,2,"b-issue-visibility-chip",53)(4,$cb,1,2,"b-component-access-level-indicator",54),H(5,"b-tracker-chip-smart",
55)(6,"b-retention-chip",56),F(7,"div",57)(8,"a",58),R(9),C(10,adb,1,0,"mat-icon",59),G()(),C(11,cdb,2,1,"div",60),G(),L());if(a&2){a=O().row;var b=O(2);z();Kf("bv2-grid-cell-flex-wrap",b.listViewPrefs&&b.listViewPrefs.wrapTitles);z();D("ngIf",a.archived);z();Of(b.enableNewVisibilityChips?3:4);z(2);D("trackerId",a.trackerId)("compactMode",!0);z();D("retentionState",a.retentionState)("showOnlyInDangerZone",!0)("compactMode",!0)("modifiedTime",a.modifiedTime);z(2);D("href",Ao(a.issueId),Qe);Bf("title",
a.title);z();S(" ",a.title," ");z();D("ngIf",b.isIssueSidebarEnabled);z();D("ngIf",b.listViewPrefs&&b.listViewPrefs.showHotlists)}},edb=function(a){a&1&&(F(0,"td",51),C(1,ddb,12,15,"ng-container",33),G());a&2&&(a=O(2),Kf("bv2-grid-cell-variable-height",a.listViewPrefs&&a.listViewPrefs.wrapTitles),z(),D("ngIf",!0))},gdb=function(a){a&1&&(K(0),F(1,"div",66),R(2),G(),L());a&2&&(a=O().row,O(2),z(),D("ngClass",wg(2,fdb,Number(a.priority)>=2,Number(a.priority)<2,Number(a.priority)===0)),z(),S(" P",a.priority,
" "))},hdb=function(a){a&1&&(F(0,"td",65),C(1,gdb,3,6,"ng-container",33),G());a&2&&(O(2),z(),D("ngIf",!0))},idb=function(a){a&1&&(K(0),F(1,"div",66),R(2),G(),L());a&2&&(a=O().row,O(2),z(),D("ngClass",wg(2,fdb,Number(a.severity)>=2,Number(a.severity)<2,Number(a.severity)===0)),z(),S(" S",a.severity," "))},jdb=function(a){a&1&&(F(0,"td",67),C(1,idb,3,6,"ng-container",33),G());a&2&&(O(2),z(),D("ngIf",!0))},kdb=function(a){a&1&&H(0,"mat-icon",72);if(a&2){a=O().$implicit;var b=O(4);D("svgIcon",b.ISSUE_STATUS_JS_ICON_NAME[a])}},
ldb=function(a){a&1&&(K(0),R(1),L());if(a&2){a=O().$implicit;var b=O(4);z();lg(b.STATUS_JS_TERSE[a])}},mdb=function(a){a&1&&(F(0,"span"),R(1),G());if(a&2){a=O().$implicit;var b=O(4);Nf("chippy status-",a," margin-left-auto");z();S(" ",b.STATUS_JS_TERSE[a]," ")}},ndb=function(a,b){a&1&&(K(0),F(1,"span",69),C(2,kdb,1,1,"mat-icon",70)(3,ldb,2,1,"ng-container",48)(4,mdb,2,4,"span",71),G(),L());a&2&&(a=b.$implicit,b=O(4),z(),D("ngSwitch",b.listViewPrefs==null?null:b.listViewPrefs.fieldStatus==null?null:
b.listViewPrefs.fieldStatus.mode)("title",b.STATUS_JS_FULL_TEXT[a]===b.STATUS_JS_TERSE[a]?"":b.STATUS_JS_FULL_TEXT[a]),z(),D("ngSwitchCase","icon"),z(),D("ngSwitchCase","plain"))},odb=function(a){a&1&&(K(0),C(1,ndb,5,4,"ng-container",33),L());a&2&&(a=O().row,z(),D("ngIf",a.status))},pdb=function(a){a&1&&(F(0,"td",68),C(1,odb,2,1,"ng-container",33),G());a&2&&(O(2),z(),D("ngIf",!0))},qdb=function(a){a&1&&(K(0),R(1),T(2,"enumToHuman"),L());a&2&&(a=O().row,z(),S(" ",V(2,1,a.type)," "))},rdb=function(a){a&
1&&(F(0,"td",73),C(1,qdb,3,3,"ng-container",33),G());a&2&&(O(2),z(),D("ngIf",!0))},sdb=function(a){a&1&&(F(0,"b-person-hovercard",76),T(1,"omitObfuscatedEmail"),R(2),G());a&2&&(a=O(2).row,D("email",V(1,2,a.reporter)),z(2),S(" ",a.reporter," "))},tdb=function(a){a&1&&(F(0,"span"),R(1,"--"),G())},udb=function(a){a&1&&(K(0),C(1,sdb,3,4,"b-person-hovercard",75),T(2,"omitObfuscatedEmail"),C(3,tdb,2,0,"span",33),L());a&2&&(a=O().row,z(),D("ngIf",V(2,2,a.reporter)),z(2),D("ngIf",!a.reporter))},vdb=function(a){a&
1&&(F(0,"td",74),C(1,udb,4,4,"ng-container",33),G());a&2&&(O(2),z(),D("ngIf",!0))},wdb=function(a){a&1&&(F(0,"b-person-hovercard",76),T(1,"omitObfuscatedEmail"),R(2),G());a&2&&(a=O(2).row,D("email",V(1,2,a.assignee)),z(2),S(" ",a.assignee," "))},xdb=function(a){a&1&&(F(0,"span"),R(1,"--"),G())},ydb=function(a){a&1&&(K(0),C(1,wdb,3,4,"b-person-hovercard",75),T(2,"omitObfuscatedEmail"),C(3,xdb,2,0,"span",33),L());a&2&&(a=O().row,z(),D("ngIf",V(2,2,a.assignee)),z(2),D("ngIf",!a.assignee))},zdb=function(a){a&
1&&(F(0,"td",74),C(1,ydb,4,4,"ng-container",33),G());a&2&&(O(2),z(),D("ngIf",!0))},Adb=function(a){a&1&&(F(0,"b-person-hovercard",76),T(1,"omitObfuscatedEmail"),R(2),G());a&2&&(a=O(2).row,D("email",V(1,2,a.verifier)),z(2),S(" ",a.verifier," "))},Bdb=function(a){a&1&&(F(0,"span"),R(1,"--"),G())},Cdb=function(a){a&1&&(K(0),C(1,Adb,3,4,"b-person-hovercard",75),T(2,"omitObfuscatedEmail"),C(3,Bdb,2,0,"span",33),L());a&2&&(a=O().row,z(),D("ngIf",V(2,2,a.verifier)),z(2),D("ngIf",!a.verifier))},Ddb=function(a){a&
1&&(F(0,"td",74),C(1,Cdb,4,4,"ng-container",33),G());a&2&&(O(2),z(),D("ngIf",!0))},Edb=function(a){a&1&&(K(0),F(1,"span"),T(2,"arrayToHuman"),R(3),T(4,"arrayToHuman"),G(),L());a&2&&(a=O().row,z(),Bf("title",V(2,2,a.cc)),z(2),S(" ",V(4,4,a.cc)," "))},Fdb=function(a){a&1&&(F(0,"td",74),C(1,Edb,5,6,"ng-container",33),G());a&2&&(O(2),z(),D("ngIf",!0))},Gdb=function(a){a&1&&(K(0),F(1,"span"),T(2,"arrayToHuman"),R(3),T(4,"arrayToHuman"),G(),L());a&2&&(a=O().row,z(),Bf("title",V(2,2,a.changelist)),z(2),
S(" ",V(4,4,a.changelist)," "))},Hdb=function(a){a&1&&(F(0,"td",74),C(1,Gdb,5,6,"ng-container",33),G());a&2&&(O(2),z(),D("ngIf",!0))},Idb=function(a){a&1&&(K(0),F(1,"span"),T(2,"arrayToHuman"),R(3),T(4,"arrayToHuman"),G(),L());a&2&&(a=O().row,z(),Bf("title",V(2,2,a.postmortem)),z(2),S(" ",V(4,4,a.postmortem)," "))},Jdb=function(a){a&1&&(F(0,"td",74),C(1,Idb,5,6,"ng-container",33),G());a&2&&(O(2),z(),D("ngIf",!0))},Kdb=function(a){a&1&&Sf(0)},Ldb=function(a){a&1&&(F(0,"span"),R(1,", "),G())},Ndb=function(a,
b){a&1&&(K(0),C(1,Kdb,1,0,"ng-container",78)(2,Ldb,2,0,"span",33),L());if(a&2){a=b.$implicit;b=b.last;O(4);var c=Q(5);z();D("ngTemplateOutlet",c)("ngTemplateOutletContext",ug(3,Mdb,a));z();D("ngIf",!b)}},Odb=function(a){a&1&&(K(0),C(1,Ndb,3,5,"ng-container",77),L());a&2&&(a=O().row,z(),D("ngForOf",a.blockingIssueId))},Pdb=function(a){a&1&&(F(0,"td",74),C(1,Odb,2,1,"ng-container",33),G());a&2&&(O(2),z(),D("ngIf",!0))},Qdb=function(a){a&1&&Sf(0)},Rdb=function(a){a&1&&(F(0,"span"),R(1,", "),G())},Sdb=
function(a,b){a&1&&(K(0),C(1,Qdb,1,0,"ng-container",78)(2,Rdb,2,0,"span",33),L());if(a&2){a=b.$implicit;b=b.last;O(4);var c=Q(5);z();D("ngTemplateOutlet",c)("ngTemplateOutletContext",ug(3,Mdb,a));z();D("ngIf",!b)}},Tdb=function(a){a&1&&(K(0),C(1,Sdb,3,5,"ng-container",77),L());a&2&&(a=O().row,z(),D("ngForOf",a.blockedByIssueId))},Udb=function(a){a&1&&(F(0,"td",74),C(1,Tdb,2,1,"ng-container",33),G());a&2&&(O(2),z(),D("ngIf",!0))},Vdb=function(a){a&1&&Sf(0)},Wdb=function(a){a&1&&(K(0),C(1,Vdb,1,0,"ng-container",
78),L());if(a&2){a=O(2).row;O(2);var b=Q(5);z();D("ngTemplateOutlet",b)("ngTemplateOutletContext",ug(2,Mdb,a.duplicateOfIssueId))}},Xdb=function(a){a&1&&(K(0),C(1,Wdb,2,4,"ng-container",33),L());a&2&&(a=O().row,z(),D("ngIf",a.duplicateOfIssueId))},Ydb=function(a){a&1&&(F(0,"td",74),C(1,Xdb,2,1,"ng-container",33),G());a&2&&(O(2),z(),D("ngIf",!0))},Zdb=function(a){a&1&&(K(0),H(1,"b-formatted-date-time",80),L());a&2&&(a=O().row,z(),D("timestamp",a.createdTime))},$db=function(a){a&1&&(F(0,"td",79),C(1,
Zdb,2,1,"ng-container",33),G());a&2&&(O(2),z(),D("ngIf",!0))},aeb=function(a){a&1&&(K(0),H(1,"b-formatted-date-time",80),L());a&2&&(a=O().row,z(),D("timestamp",a.modifiedTime))},beb=function(a){a&1&&(F(0,"td",79),C(1,aeb,2,1,"ng-container",33),G());a&2&&(O(2),z(),D("ngIf",!0))},ceb=function(a){a&1&&(K(0),H(1,"b-formatted-date-time",80),L());a&2&&(a=O().row,z(),D("timestamp",a.resolvedTime))},deb=function(a){a&1&&(F(0,"td",79),C(1,ceb,2,1,"ng-container",33),G());a&2&&(O(2),z(),D("ngIf",!0))},eeb=function(a){a&
1&&(K(0),H(1,"b-formatted-date-time",80),L());a&2&&(a=O().row,z(),D("timestamp",a.verifiedTime))},feb=function(a){a&1&&(F(0,"td",79),C(1,eeb,2,1,"ng-container",33),G());a&2&&(O(2),z(),D("ngIf",!0))},geb=function(a){a&1&&(K(0),F(1,"span"),T(2,"arrayToHuman"),R(3),T(4,"arrayToHuman"),G(),L());a&2&&(a=O().row,z(),Bf("title",V(2,2,a.foundInVersion)),z(2),S(" ",V(4,4,a.foundInVersion)," "))},heb=function(a){a&1&&(F(0,"td",74),C(1,geb,5,6,"ng-container",33),G());a&2&&(O(2),z(),D("ngIf",!0))},ieb=function(a){a&
1&&(K(0),F(1,"span"),T(2,"arrayToHuman"),R(3),T(4,"arrayToHuman"),G(),L());a&2&&(a=O().row,z(),Bf("title",V(2,2,a.targetedToVersion)),z(2),S(" ",V(4,4,a.targetedToVersion)," "))},jeb=function(a){a&1&&(F(0,"td",74),C(1,ieb,5,6,"ng-container",33),G());a&2&&(O(2),z(),D("ngIf",!0))},keb=function(a){a&1&&(K(0),F(1,"span"),T(2,"arrayToHuman"),R(3),T(4,"arrayToHuman"),G(),L());a&2&&(a=O().row,z(),Bf("title",V(2,2,a.verifiedInVersion)),z(2),S(" ",V(4,4,a.verifiedInVersion)," "))},leb=function(a){a&1&&(F(0,
"td",74),C(1,keb,5,6,"ng-container",33),G());a&2&&(O(2),z(),D("ngIf",!0))},meb=function(a){a&1&&(K(0),R(1),T(2,"yesNo"),L());a&2&&(a=O().row,z(),S(" ",V(2,1,a.inProd)," "))},neb=function(a){a&1&&(F(0,"td",74),C(1,meb,3,3,"ng-container",33),G());a&2&&(O(2),z(),D("ngIf",!0))},oeb=function(a){a&1&&(K(0),R(1),T(2,"yesNo"),L());a&2&&(a=O().row,z(),S(" ",V(2,1,a.archived)," "))},peb=function(a){a&1&&(F(0,"td",74),C(1,oeb,3,3,"ng-container",33),G());a&2&&(O(2),z(),D("ngIf",!0))},qeb=function(a){a&1&&(K(0),
F(1,"div",52)(2,"div",57)(3,"span"),R(4),G()()(),L());if(a&2){a=O().row;var b=O(2);z(3);Bf("title",b.getComponentPath(a.componentPath));z();lg(b.getComponentPath(a.componentPath))}},seb=function(a){a&1&&(F(0,"td",81),C(1,qeb,5,2,"ng-container",33),G());if(a&2){a=O(2);var b;var c=!((b=a.listViewPrefs)==null||!b.rtlComponentPath);D("ngClass",vg(2,reb,a.listViewPrefs&&a.listViewPrefs.wrapComponents,c));z();D("ngIf",!0)}},teb=function(a){a&1&&(F(0,"slo-status-card",84),H(1,"b-aggregated-slo-status-indicator",
85),G());a&2&&(a=O(2).row,D("sloId",a.sloId)("sloStatus",a.sloStatus)("sloStartTime",a.sloStartTime),z(),D("sloStatus",a.sloStatus)("sloStartTime",a.sloStartTime))},ueb=function(a){a&1&&(K(0),C(1,teb,2,5,"slo-status-card",83),L());a&2&&(a=O().row,z(),D("ngIf",a.sloStatus))},veb=function(a){a&1&&(F(0,"td",82),C(1,ueb,2,1,"ng-container",33),G());a&2&&(O(2),z(),D("ngIf",!0))},web=function(a){a&1&&(F(0,"slo-status-card",87),H(1,"b-slo-time-indicator",88),G());a&2&&(a=O(2).row,D("sloId",a.sloId)("sloStatus",
a.sloStatus)("sloStartTime",a.sloStartTime)("onlyShowMetric","RESPONSE"),z(),D("sloBounds",a.sloStatus.responseBounds))},xeb=function(a){a&1&&(K(0),C(1,web,2,5,"slo-status-card",86),L());a&2&&(a=O().row,z(),D("ngIf",a.sloStatus))},yeb=function(a){a&1&&(F(0,"td",82),C(1,xeb,2,1,"ng-container",33),G());a&2&&(O(2),z(),D("ngIf",!0))},zeb=function(a){a&1&&(F(0,"slo-status-card",87),H(1,"b-slo-time-indicator",88),G());a&2&&(a=O(2).row,D("sloId",a.sloId)("sloStatus",a.sloStatus)("sloStartTime",a.sloStartTime)("onlyShowMetric",
"ASSIGNMENT"),z(),D("sloBounds",a.sloStatus.assignmentBounds))},Aeb=function(a){a&1&&(K(0),C(1,zeb,2,5,"slo-status-card",86),L());a&2&&(a=O().row,z(),D("ngIf",a.sloStatus))},Beb=function(a){a&1&&(F(0,"td",82),C(1,Aeb,2,1,"ng-container",33),G());a&2&&(O(2),z(),D("ngIf",!0))},Ceb=function(a){a&1&&(F(0,"slo-status-card",87),H(1,"b-slo-time-indicator",88),G());a&2&&(a=O(2).row,D("sloId",a.sloId)("sloStatus",a.sloStatus)("sloStartTime",a.sloStartTime)("onlyShowMetric","CLOSURE"),z(),D("sloBounds",a.sloStatus.closureBounds))},
Deb=function(a){a&1&&(K(0),C(1,Ceb,2,5,"slo-status-card",86),L());a&2&&(a=O().row,z(),D("ngIf",a.sloStatus))},Eeb=function(a){a&1&&(F(0,"td",82),C(1,Deb,2,1,"ng-container",33),G());a&2&&(O(2),z(),D("ngIf",!0))},Feb=function(a,b){a&1&&H(0,"b-formatted-date-time",90);a&2&&(a=b.$implicit,O(4),D("timestamp",a.seconds*1E3))},Geb=function(a){a&1&&(K(0),C(1,Feb,1,1,"b-formatted-date-time",89),L());a&2&&(a=O().row,z(),D("ngIf",a.retentionState==null?null:a.retentionState.scheduledDeletionTime))},Heb=function(a){a&
1&&(F(0,"td",74),C(1,Geb,2,1,"ng-container",33),G());a&2&&(O(2),z(),D("ngIf",!0))},Ieb=function(a){a&1&&H(0,"div",92)},Jeb=function(a){a&1&&(F(0,"div"),H(1,"b-team-display",93),G());a&2&&(a=O(2).row,z(),D("teamId",a.teamId.toString())("componentId",a.componentId.toString())("anchorLinkEnabled",!1))},Keb=function(a){a&1&&(K(0),C(1,Ieb,1,0,"div",91)(2,Jeb,2,3,"div",33),L());a&2&&(a=O(3),z(),D("ngIf",a.isLoadingTeams),z(),D("ngIf",!a.isLoadingTeams))},Leb=function(a){a&1&&(F(0,"td",74),C(1,Keb,3,2,"ng-container",
33),G());a&2&&(O(2),z(),D("ngIf",!0))},Meb=function(a){a&1&&(K(0),R(1),L());a&2&&(a=O().row,z(),S(" ",a.effort==null?null:a.effort.estimate," "))},Neb=function(a){a&1&&(F(0,"td",74),C(1,Meb,2,1,"ng-container",33),G());a&2&&(O(2),z(),D("ngIf",!0))},Oeb=function(a){a&1&&(K(0),R(1),L());if(a&2){a=O().row;var b=O(2);z();S(" ",b.isTotalEstimatesEnabled?(a.effort==null?null:a.effort.totalOpen)||"":""," ")}},Peb=function(a){a&1&&(F(0,"td",74),C(1,Oeb,2,1,"ng-container",33),G());a&2&&(O(2),z(),D("ngIf",!0))},
Qeb=function(a){a&1&&(K(0),R(1),L());if(a&2){a=O().row;var b=O(2);z();S(" ",b.isTotalEstimatesEnabled?(a.effort==null?null:a.effort.totalComplete)||"":""," ")}},Reb=function(a){a&1&&(F(0,"td",74),C(1,Qeb,2,1,"ng-container",33),G());a&2&&(O(2),z(),D("ngIf",!0))},Seb=function(a){a&1&&(K(0),R(1),L());if(a&2){a=O().row;var b=O(2);z();S(" ",b.GET_ISSUE_ACCESS_LEVEL_TITLE(a.issueAccessLevel)," ")}},Teb=function(a){a&1&&(F(0,"td",82),C(1,Seb,2,1,"ng-container",33),G());a&2&&(O(2),z(),D("ngIf",!0))},Ueb=
function(a){a&1&&(K(0),R(1),L());a&2&&(a=O().row,z(),S(" ",a.descendantCount," "))},Veb=function(a){a&1&&(F(0,"td",74),C(1,Ueb,2,1,"ng-container",33),G());a&2&&(O(2),z(),D("ngIf",!0))},Web=function(a){a&1&&(K(0),R(1),L());a&2&&(a=O().row,z(),S(" ",a.openDescendantCount," "))},Xeb=function(a){a&1&&(F(0,"td",74),C(1,Web,2,1,"ng-container",33),G());a&2&&(O(2),z(),D("ngIf",!0))},Yeb=function(a){a&1&&(K(0),R(1),L());a&2&&(a=O().row,z(),S(" ",a.oneDayViewCount," "))},Zeb=function(a){a&1&&(F(0,"td",74),
C(1,Yeb,2,1,"ng-container",33),G());a&2&&(a=O(2),z(),D("ngIf",a.enableAddViewCountColumnsOnIlp))},$eb=function(a){a&1&&(K(0),R(1),L());a&2&&(a=O().row,z(),S(" ",a.sevenDayViewCount," "))},afb=function(a){a&1&&(F(0,"td",74),C(1,$eb,2,1,"ng-container",33),G());a&2&&(O(2),z(),D("ngIf",!0))},bfb=function(a){a&1&&(K(0),R(1),L());a&2&&(a=O().row,z(),S(" ",a.thirtyDayViewCount," "))},cfb=function(a){a&1&&(F(0,"td",74),C(1,bfb,2,1,"ng-container",33),G());a&2&&(O(2),z(),D("ngIf",!0))},dfb=function(a){a&1&&
(K(0),R(1),L());a&2&&(a=O().row,z(),S(" ",a.voteCount&&a.voteCount>0?a.voteCount:""," "))},efb=function(a){a&1&&(F(0,"td",74),C(1,dfb,2,1,"ng-container",33),G());a&2&&(O(2),z(),D("ngIf",!0))},ffb=function(a){a&1&&(K(0),R(1),L());a&2&&(a=O().row,z(),S(" ",a.position," "))},gfb=function(a){a&1&&(F(0,"td",74),C(1,ffb,2,1,"ng-container",33),G());a&2&&(O(2),z(),D("ngIf",!0))},ifb=function(a){if(a&1){var b=u();F(0,"pop-grid",11);M("columnsChange",function(c){v(b);var d=O();d.columns=c;d.columnsChange.emit(c);
d.cdr.detectChanges();return x()})("focusedRowIndexChange",function(c){v(b);var d=O();d.focusedRowIndex=c;return x(d.focusedRowIndexChange.emit(d.focusedRowIndex))})("sortChange",function(c){v(b);var d=O();return x(d.sortChange.emit(c))})("rowClick",function(c){v(b);var d=O(),e=c.event.target,f,h=(f=e==null?void 0:e.closest(".title-cell"))!=null?f:!1,k;e=(k=e==null?void 0:e.closest(".issue-id-cell"))!=null?k:!1;h||e||Dk(c.event)||!d.isIssueSidebarEnabled?d.rowClick.emit(c):(d.isIssueSidebarOpen=!0,
d.cdr.detectChanges());return x()});C(1,ucb,2,2,"th",12)(2,wcb,2,2,"th",13)(3,Bcb,2,2,"th",14)(4,Dcb,2,2,"th",15)(5,Fcb,2,2,"th",15)(6,Jcb,2,2,"th",16)(7,Lcb,2,1,"td",17)(8,Ncb,2,1,"td",18)(9,Pcb,2,1,"td",19)(10,Rcb,2,1,"td",20)(11,Tcb,2,1,"td",21)(12,Xcb,2,1,"td",22)(13,edb,2,3,"td",23)(14,hdb,2,1,"td",24)(15,jdb,2,1,"td",25)(16,pdb,2,1,"td",26)(17,rdb,2,1,"td",27)(18,vdb,2,1,"td",28)(19,zdb,2,1,"td",28)(20,Ddb,2,1,"td",28)(21,Fdb,2,1,"td",28)(22,Hdb,2,1,"td",28)(23,Jdb,2,1,"td",28)(24,Pdb,2,1,"td",
28)(25,Udb,2,1,"td",28)(26,Ydb,2,1,"td",28)(27,$db,2,1,"td",29)(28,beb,2,1,"td",29)(29,deb,2,1,"td",29)(30,feb,2,1,"td",29)(31,heb,2,1,"td",28)(32,jeb,2,1,"td",28)(33,leb,2,1,"td",28)(34,neb,2,1,"td",28)(35,peb,2,1,"td",28)(36,seb,2,5,"td",30)(37,veb,2,1,"td",31)(38,yeb,2,1,"td",31)(39,Beb,2,1,"td",31)(40,Eeb,2,1,"td",31)(41,Heb,2,1,"td",28)(42,Leb,2,1,"td",28)(43,Neb,2,1,"td",28)(44,Peb,2,1,"td",28)(45,Reb,2,1,"td",28)(46,Teb,2,1,"td",31)(47,Veb,2,1,"td",28)(48,Xeb,2,1,"td",28)(49,Zeb,2,1,"td",28)(50,
afb,2,1,"td",28)(51,cfb,2,1,"td",28)(52,efb,2,1,"td",28)(53,gfb,2,1,"td",28);G()}a&2&&(a=O(),Kf("sidebar-open",a.isIssueSidebarOpen),D("list",(a.searchResults==null?null:a.searchResults.issues)||tg(60,hfb))("columns",a.columns)("focusedRowIndex",a.focusedRowIndex)("scrollContainer",".bv2-view")("sort",a.sort)("rowLabelRenderer",a.issueDescription),z(),D("forHeaderCell","focused"),z(),D("forHeaderCell","draghandle"),z(),D("forHeaderCell","selected"),z(),D("forHeaderCell","starred"),z(),D("forHeaderCell",
"position"),z(2),D("forViewCell","focused"),z(),D("forViewCell","draghandle"),z(),D("forViewCell","selected"),z(),D("forViewCell","starred"),z(),D("forViewCell","position"),z(),D("forViewCell","issueId"),z(),D("forViewCell","title"),z(),D("forViewCell","priority"),z(),D("forViewCell","severity"),z(),D("forViewCell","status"),z(),D("forViewCell","type"),z(),D("forViewCell","reporter"),z(),D("forViewCell","assignee"),z(),D("forViewCell","verifier"),z(),D("forViewCell","cc"),z(),D("forViewCell","changelist"),
z(),D("forViewCell","postmortem"),z(),D("forViewCell","blockingIssueId"),z(),D("forViewCell","blockedByIssueId"),z(),D("forViewCell","duplicateOfIssueId"),z(),D("forViewCell","createdTime"),z(),D("forViewCell","modifiedTime"),z(),D("forViewCell","resolvedTime"),z(),D("forViewCell","verifiedTime"),z(),D("forViewCell","foundInVersion"),z(),D("forViewCell","targetedToVersion"),z(),D("forViewCell","verifiedInVersion"),z(),D("forViewCell","inProd"),z(),D("forViewCell","archived"),z(),D("forViewCell","componentPath"),
z(),D("forViewCell","minSlo"),z(),D("forViewCell","responseSlo"),z(),D("forViewCell","assignmentSlo"),z(),D("forViewCell","closureSlo"),z(),D("forViewCell","deletionTime"),z(),D("forViewCell","team"),z(),D("forViewCell","estimate"),z(),D("forViewCell","estimateTotalOpen"),z(),D("forViewCell","estimateTotalComplete"),z(),D("forViewCell","accessLevel"),z(),D("forViewCell","descendantCount"),z(),D("forViewCell","openDescendantCount"),z(),D("forViewCell","oneDayViewCount"),z(),D("forViewCell","sevenDayViewCount"),
z(),D("forViewCell","thirtyDayViewCount"),z(),D("forViewCell","voteCount"),z(),D("forViewCell","position"))},jfb=function(a){a&1&&H(0,"b-issue-card",96,4);if(a&2){a=Q(1);var b=O().id;D("onedevIsHovercardReady",a.init)("issueId",b)}},kfb=function(a,b){a&1&&(F(0,"onedev-hovercard",null,3),C(2,jfb,2,2,"b-issue-card",94),G(),F(3,"span",95),R(4),G());a&2&&(a=b.id,b=Q(1),z(3),D("onedevHovercardTrigger",b),z(),lg(a))},lfb=function(a){if(a&1){var b=u();F(0,"b-app-bar-bulk-edit-menus",10);T(1,"async");M("onBulkEdit",
function(d){v(b);var e=O();return x(e.bulkEdit(d))})("onQuickBulkEdit",function(d){v(b);var e=O();return x(e.quickBulkEdit(d))})("onBulkEditIssueRelation",function(d){v(b);var e=O();return x(e.bulkEditIssueRelation(d))})("onBulkMarkIssueRead",function(){v(b);var d=O();return x(d.bulkMarkIssueRead())});G()}if(a&2){var c;a=O();D("enableBulkEstimatedEffortOption",(c=V(1,2,a.enableBulkEstimatedEffortOption$))!==null&&c!==void 0?c:!1)("readStatePrompt",$5a(a))}},mfb=function(a){if(a&1){var b=u();F(0,"b-copy-issue-id-button",
11);M("onClickCopyIssueIds",function(){v(b);var c=O();return x(b6a(c.copyIssueIdService,mq(c)))})("onClickCopyIssueShortLinks",function(){v(b);var c=O();return x(c6a(c.copyIssueIdService,mq(c)))})("onClickCopyAsIssueSearch",function(){v(b);var c=O();return x(d6a(c.copyIssueIdService,mq(c)))});G()}a&2&&(a=O(),D("shortLinkPrefix",a.copyIssueIdService.shortLinkPrefix)("shouldShowCopyIssueShortLinks",a.activeSession.isInternalSession()))},nfb=function(a){if(a&1){var b=u();F(0,"div",12)(1,"b-hotlist-picker",
13);M("onApply",function(c){v(b);var d=O();return x(d.handleHotlistPickerSave(c))})("onCreate",function(c){v(b);var d=O();return x(d.onCreateHotlist.emit(c))})("onLoad",function(c){v(b);var d=O();return x(d.onLoadHotlist.emit(c))});G()()}a&2&&(a=O(),z(),D("selectedHotlistIds",a.hotlistIdMatrix)("choices",a.hotlistChoices))},ofb=function(a){if(a&1){var b=u();F(0,"hotlist-add-issue-btn",16);M("issueAddedToHotlist",function(){v(b);var c=O(2);return x(c.refresh())});G()}a&2&&(a=O(2),D("hotlistId",a.currentHotlistId))},
pfb=function(a){a&1&&H(0,"hotlist-archive-btn",17);a&2&&(a=O(2),D("hotlistId",a.currentHotlistId))},qfb=function(a){a&1&&(K(0),C(1,ofb,1,1,"hotlist-add-issue-btn",14)(2,pfb,1,1,"hotlist-archive-btn",15),L());a&2&&(a=O(),z(),D("ngIf",a.enableBulkEditUi),z(),D("ngIf",a.isHotlistAdmin))},rfb=function(a){a&1&&(F(0,"span",21),R(1,"Reporting"),G())},sfb=function(a){if(a&1){var b=u();F(0,"b-button",18);M("onAction",function(){v(b);var c=O();return x(c.openInEstado())});H(1,"b-icon",19);C(2,rfb,2,0,"span",
20);G()}a&2&&(a=O(),D("size",a.hasSelectedIssues()?"large":"medium")("format",a.hasSelectedIssues()?"icon":"flat"),z(2),D("ngIf",!a.hasSelectedIssues()))},tfb=function(a){if(a&1){var b=u();F(0,"b-comment-box",28);pg("commentChange",function(c){v(b);var d=O(2);og(d.comment,c)||(d.comment=c);return x(c)});M("onSubmit",function(){v(b);var c=O(2);return x(g6a(c))});G()}a&2&&(a=O(2),ng("comment",a.comment),D("showToolbar",!1))},ufb=function(a){if(a&1){var b=u();F(0,"div",29)(1,"b-recaptcha",30);M("onUpdate",
function(c){v(b);var d=O(2);return x(d.recaptchaResponse=c)});G()()}},vfb=function(a){a&1&&(F(0,"h1",22),R(1,"Add comment"),G(),F(2,"mat-dialog-content"),C(3,tfb,1,2,"b-comment-box",23),H(4,"b-external-warnings",24),G(),C(5,ufb,2,0,"div",25),F(6,"mat-dialog-actions")(7,"button",26),R(8," Cancel "),G(),F(9,"button",27),R(10," Save "),G()());a&2&&(a=O(),z(3),D("ngIf",a.comment),z(),D("externalWarnings",a.externalWarnings),z(),D("ngIf",a.enableRecaptcha),z(2),D("mat-dialog-close",!1),z(2),D("disabled",
a.enableRecaptcha&&a.recaptchaResponse==="")("mat-dialog-close",!0))},wfb=function(a){if(a&1){var b=u();F(0,"div",7)(1,"button",8);M("click",function(){v(b);var c=O();return x(c.onPressSave())});R(2," Save ");G();F(3,"button",9);M("click",function(){v(b);var c=O();return x(c.onPressRevert())});R(4," Revert changes ");G()()}a&2&&(a=O(),z(),D("disabled",a.hasNoChanges()||a.hotlistAccessPolicyFridge.isSaving()||a.isInvalid())("matTooltip",a.isInvalid()?"Invalid form data":a.hasNoChanges()?"No changes":
"Save these changes"),z(2),D("disabled",a.hasNoChanges()||a.hotlistAccessPolicyFridge.isSaving())("matTooltip",a.hasNoChanges()?"No changes":"Go back to the last saved state"))},xfb=function(a){if(a&1){var b=u();F(0,"div",7)(1,"button",8);M("click",function(){v(b);var d=O();return x(d.save())});R(2," Save ");G();F(3,"button",9);M("click",function(){v(b);var d=O();return x(d.revert())});R(4," Revert changes ");G();H(5,"hotlist-archive-btn",10);T(6,"async");G()}if(a&2){var c;a=O();z();D("disabled",
a.hasNoChanges()||a.fridge.isSaving())("matTooltip",a.hasNoChanges()?"No changes":"Save these changes");z(2);D("disabled",a.hasNoChanges()||a.fridge.isSaving())("matTooltip",a.hasNoChanges()?"No changes":"Go back to the last saved state");z(2);D("hotlistId",(c=V(6,5,a.id$))!==null&&c!==void 0?c:void 0)}},yfb=function(a,b){a&1&&(K(0),R(1),L());a&2&&(a=b.$implicit,z(),S(" ",a.name," "))},zfb=function(a){a&1&&(F(0,"strong",4),R(1,"(archived)"),G())},Afb=function(a){a&1&&H(0,"b-spinner")},Bfb=function(a){a&
1&&(H(0,"hotlist-add-issue-btn",5),T(1,"async"));if(a&2){var b;a=O();D("hotlistId",(b=V(1,1,a.id$))!==null&&b!==void 0?b:void 0)}},Cfb=function(a){a&1&&(F(0,"p",8),R(1," This hotlist cannot be edited because you are not an administrator of it. "),G())},Dfb=function(a){a&1&&(K(0),H(1,"b-edit-hotlist-toolbar",1),F(2,"div",2),H(3,"b-edit-hotlist-header",1),F(4,"mat-tab-group",3)(5,"mat-tab",4),H(6,"b-edit-hotlist-basic",5),T(7,"async"),G(),F(8,"mat-tab",6),H(9,"b-edit-hotlist-acl",5),T(10,"async"),G()(),
C(11,Cfb,2,0,"p",7),T(12,"async"),G(),L());a&2&&(a=O(),z(),D("hotlistId",a.id),z(2),D("hotlistId",a.id),z(),D("selectedIndex",a.tabIndex),z(2),D("hotlistId",a.id)("isReadOnly",V(7,8,a.isAdmin$)===!1),z(3),D("hotlistId",a.id)("isReadOnly",V(10,10,a.isAdmin$)===!1),z(2),D("ngIf",V(12,12,a.isAdmin$)===!1))},Efb=function(a,b){a&1&&(K(0),H(1,"empty-toolbar"),F(2,"div",9)(3,"h2"),R(4,"Error"),G(),F(5,"p"),R(6),G()(),L());a&2&&(a=b.$implicit,z(6),lg(a))},Ffb=function(a){a&1&&(F(0,"b-callout",1)(1,"b-callout-body"),
R(2),G()());a&2&&(a=O(),z(2),lg(a.error))},Gfb=function(a){a&1&&(K(0),R(1,", "),L())},Hfb=function(a,b){a&1&&(K(0),R(1),C(2,Gfb,2,0,"ng-container",14),L());if(a&2){a=b.$implicit;b=b.last;var c=O(2);z();S(" ",c.convertUserToString(a)," ");z();D("ngIf",!b)}},Ifb=function(a,b){if(a&1){var c=u();F(0,"tr",7);M("click",function(){var e=v(c).$implicit,f=O();return x(f.editHotlist(e))})("focus",function(){var e=v(c).index,f=O();return x(f.setFocusOnIndex(e))});H(1,"td",2);F(2,"td",8)(3,"a",9);M("click",function(e){v(c);
return x(e.stopPropagation())});R(4);G()();F(5,"td",10);R(6);G();F(7,"td",11);C(8,Hfb,3,2,"ng-container",12);G();F(9,"td",13);R(10);G()()}if(a&2){a=b.$implicit;b=b.index;var d=O();Kf("grid-focus",d.isFocused(b));Bf("aria-selected",d.isFocused(b))("aria-label",d.renderRowLabel(b));z(3);D("href",zo.editHotlist.makeHref(a.hotlistId),Qe);z();S(" ",a.name," ");z(2);S(" ",a.description," ");z(2);D("ngForOf",a.adminUsers);z(2);S(" ",a.hotlistId," ")}},Jfb=function(a){if(a&1){var b=u();F(0,"button",9);M("click",
function(){v(b);var c=O(2);return x(c.appEvents.dashboardPanels.moveToTop.next(c.panelId))});R(1," Move to top ");G()}},Kfb=function(a){if(a&1){var b=u();F(0,"button",10);M("click",function(){v(b);var c=O(2);return x(c.appEvents.dashboardPanels.moveUp.next(c.panelId))});R(1," Move up ");G()}},Lfb=function(a){if(a&1){var b=u();F(0,"button",11);M("click",function(){v(b);var c=O(2);return x(c.appEvents.dashboardPanels.moveDown.next(c.panelId))});R(1," Move down ");G()}},Mfb=function(a){if(a&1){var b=
u();F(0,"button",12);M("click",function(){v(b);var c=O(2);return x(c.appEvents.dashboardPanels.moveToBottom.next(c.panelId))});R(1," Move to bottom ");G()}},Nfb=function(a){if(a&1){var b=u();C(0,Jfb,2,0,"button",4)(1,Kfb,2,0,"button",5)(2,Lfb,2,0,"button",6)(3,Mfb,2,0,"button",7);F(4,"button",8);M("click",function(){v(b);var c=O();return x(c.removePanel())});R(5," Remove ");G()}a&2&&(a=O(),D("ngIf",!a.first),z(),D("ngIf",!a.first),z(),D("ngIf",!a.last),z(),D("ngIf",!a.last))},Ofb=function(a){a&1&&
(K(0),R(1,"Insights"),L())},Pfb=function(a){if(a&1){var b=u();F(0,"b-insights-graph-menu",2);M("openSidebar",function(d){v(b);var e=O(2);return x(e.openSidebar(d.panel))});G()}if(a&2){a=O().ngIf;var c=O();D("availablePanels",a)("iconOnly",c.iconOnly)("buttonClassname",c.buttonClassname)}},Qfb=function(a){a&1&&(K(0),C(1,Pfb,1,3,"b-insights-graph-menu",1),T(2,"async"),L());a&2&&(a=O(),z(),D("ngIf",V(2,1,a.shouldShowInsightsGraphMenu$)))},Rfb=function(a){a&1&&H(0,"edit-issue-metadata",5);a&2&&(a=O(),
D("issueId",a.issueId))},Sfb=function(a){a&1&&(F(0,"span"),R(1),G());a&2&&(a=O(),Bf("title",a.getValue()),z(),S(" ",a.getValue(),"\n"))},Tfb=function(a){a&1&&H(0,"b-custom-field-value-display",2);a&2&&(a=O(),D("customFieldValue",a.getCustomFieldValue()))},Ufb=function(a){a&1&&H(0,"b-actions-menu",7);a&2&&(a=O(),D("menuItems",a.menuItems))},Vfb=function(a){a&1&&(F(0,"span",8)(1,"strong"),R(2),G(),R(3,"\u00a0of\u00a0"),F(4,"strong"),R(5),G()());a&2&&(a=O(),z(2),mg("",a.searchResults.startIndex,"\u00a0-\u00a0",
a.searchResults.endIndex,""),z(3),lg(a.searchResults.totalText))},Wfb=function(a){a&1&&(F(0,"div"),R(1," Hotlist not found. "),G())},Xfb=function(a){a&1&&(F(0,"div"),R(1," Loading details... "),G())},Yfb=function(a){a&1&&H(0,"b-panel-controls",11);a&2&&(a=O(2),D("panelId",a.panel.panelId))},Zfb=function(a){a&1&&(F(0,"span",12),R(1," \u00a0(changed) "),G())},$fb=function(a){a&1&&(F(0,"div"),C(1,Yfb,1,1,"b-panel-controls",6),F(2,"span",7),R(3," Hotlist: "),F(4,"a",8)(5,"span",9),R(6),G()()(),C(7,Zfb,
2,0,"span",10),G());a&2&&(a=O(),z(),D("ngIf",a.isDashboardEditable),z(3),D("href",a.ROUTES.viewHotlist.makeHref(a.hotlistId),Qe),z(),$f("matTooltip",a.resource.description),z(),lg(a.resource.name),z(),D("ngIf",a.hasParamChanges()))},agb=function(a){if(a&1){var b=u();F(0,"div",13)(1,"button",14);M("click",function(){v(b);var c=O();return x(c.save())});R(2,"Save ");G();F(3,"button",15);M("click",function(){v(b);var c=O();return x(c.discardChanges())});R(4," Discard changes ");G()()}},bgb=function(a){a&
1&&(F(0,"span"),R(1),G());a&2&&(a=O(3),z(),S(" Searching for ",a.searchParams.query," ..."))},cgb=function(a){a&1&&(F(0,"div",19),H(1,"b-spinner",20),C(2,bgb,2,1,"span",3),G());a&2&&(a=O(2),z(),D("large",!1),z(),D("ngIf",a.searchParams&&(a.searchParams==null?null:a.searchParams.query)))},dgb=function(a){a&1&&(F(0,"div",21),R(1," No issues in hotlist. "),G())},fgb=function(a){if(a&1){var b=u();F(0,"div",22)(1,"b-issues-grid",23);M("init",function(c){v(b);var d=O(2);return x(egb(d,c))});pg("focusedRowIndexChange",
function(c){v(b);var d=O(2);og(d.focusedRowIndex,c)||(d.focusedRowIndex=c);return x(c)})("columnsChange",function(c){v(b);var d=O(2);og(d.issueColumns,c)||(d.issueColumns=c);return x(c)});M("sortChange",function(c){v(b);var d=O(2);return x(d.setSort(c.field,c.direction))})("onRowDragDrop",function(c){v(b);var d=O(2);return x(d.repositionIssue(c.srcIndex,c.destIndex))})("rowClick",function(c){v(b);var d=O(2);return x(d.goToIssue(c.id,c.isRead,c.event))})("onNextPage",function(){v(b);var c=O(2);return x(c.goToPage(c.page+
1))})("onPrevPage",function(){v(b);var c=O(2);return x(c.goToPage(c.page-1))});G()()}a&2&&(a=O(2),z(),D("searchResults",a.searchResults),ng("focusedRowIndex",a.focusedRowIndex)("columns",a.issueColumns),D("enableColumnSaving",a.isColumnSaveEnabled)("sort",a.getSort()))},ggb=function(a){a&1&&(F(0,"div"),C(1,cgb,3,2,"div",16)(2,dgb,2,0,"div",17)(3,fgb,2,5,"div",18),G());a&2&&(a=O(),z(),D("ngIf",a.isLoading),z(),D("ngIf",!a.isLoading&&!(a.searchResults==null?0:a.searchResults.issues==null?0:a.searchResults.issues.length)),
z(),D("ngIf",!a.isLoading&&(a.searchResults==null?null:a.searchResults.issues==null?null:a.searchResults.issues.length)))},igb=function(a){a&1&&(F(0,"div"),R(1," Saved search not found. "),G())},jgb=function(a){a&1&&(F(0,"div"),R(1," Loading details... "),G())},kgb=function(a){a&1&&H(0,"b-panel-controls",11);a&2&&(a=O(2),D("panelId",a.panel.panelId))},lgb=function(a){a&1&&(F(0,"span",12),R(1," \u00a0(changed) "),G())},mgb=function(a){a&1&&(F(0,"div",6),C(1,kgb,1,1,"b-panel-controls",7),F(2,"span",
6),R(3," Saved search: "),F(4,"a",8)(5,"span",9),R(6),G()()(),C(7,lgb,2,0,"span",10),G());a&2&&(a=O(),z(),D("ngIf",a.isDashboardEditable),z(3),D("href",a.paths.viewSavedSearch(a.savedSearchId),Qe),z(),$f("matTooltip",a.resource.description),z(),lg(a.resource.name),z(),D("ngIf",a.hasParamChanges()))},ngb=function(a,b){a&1&&(F(0,"span"),R(1),G());a&2&&(a=b.ngIf,z(),S("Searching for ",a,"..."))},ogb=function(a){a&1&&(F(0,"div",16),H(1,"b-spinner",17),C(2,ngb,2,1,"span",3),G());a&2&&(a=O(2),z(),D("large",
!1),z(),D("ngIf",a.searchParams==null?null:a.searchParams.query))},pgb=function(a){a&1&&(F(0,"div",18),R(1," No issues in saved search. "),G())},qgb=function(a){if(a&1){var b=u();F(0,"div",19)(1,"b-issues-grid",20);M("init",function(c){v(b);var d=O(2);return x(egb(d,c))});pg("focusedRowIndexChange",function(c){v(b);var d=O(2);og(d.focusedRowIndex,c)||(d.focusedRowIndex=c);return x(c)});M("columnsChange",function(c){v(b);var d=O(2);return x(d.columnsChange(c))})("sortChange",function(c){v(b);var d=
O(2);return x(d.setSort(c.field,c.direction))})("rowClick",function(c){v(b);var d=O(2);return x(d.goToIssue(c.id,c.isRead,c.event))})("onNextPage",function(){v(b);var c=O(2);return x(c.goToPage(c.page+1))})("onPrevPage",function(){v(b);var c=O(2);return x(c.goToPage(c.page-1))});G()()}a&2&&(a=O(2),z(),D("searchResults",a.searchResults),ng("focusedRowIndex",a.focusedRowIndex),D("columns",a.issueColumns)("enableColumnSaving",a.isColumnSaveEnabled)("sort",a.getSort()))},rgb=function(a){a&1&&(F(0,"div"),
C(1,ogb,3,2,"div",13)(2,pgb,2,0,"div",14)(3,qgb,2,5,"div",15),G());a&2&&(a=O(),z(),D("ngIf",a.isLoading),z(),D("ngIf",!a.isLoading&&a.searchResults&&a.searchResults.issues.length===0),z(),D("ngIf",!a.isLoading&&a.searchResults&&a.searchResults.issues.length!==0))},sgb=function(a,b){a&1&&(F(0,"span",3)(1,"a",4),R(2),G()());a&2&&(a=b.$implicit,z(),Zf("routerLink","/teams/",a.id,"/edit"),D("preserveFragment",!0),z(),lg(a.name))},tgb=function(a){a&1&&(F(0,"p")(1,"span",6),R(2,"NOTE:"),G(),R(3),F(4,"a",
7),R(5,"Learn more"),G()());a&2&&(a=O(),z(3),S(" ",a.data.noteText," "),z(),D("href",a.getDisablingFieldsHelpLink(),Qe))},ugb=function(a){a&1&&(K(0),H(1,"span",26)(2,"b-icon",27),L());a&2&&(a=O(),z(),D("innerHTML",a.menuLabel,Pe))},vgb=function(a){a&1&&(F(0,"div",28),R(1," This includes emails about major updates and: "),F(2,"ul",29)(3,"li"),R(4,"All title, hotlist, and status changes."),G(),F(5,"li"),R(6,"Blocking, Blocked By, or Duplicate changes."),G(),F(7,"li"),R(8,"Changes to Reporter, Verifier, and CCs."),
G(),F(9,"li"),R(10,"Changes to Type, Found In, Targeted To, Verified In, and In Prod. "),G(),F(11,"li"),R(12,"Changes to custom fields marked as minor."),G()()())},wgb=function(a){a&1&&(F(0,"div",30),R(1," This includes emails about: "),F(2,"ul",29)(3,"li"),R(4,"New comments."),G(),F(5,"li"),R(6,"New status updates."),G(),F(7,"li"),R(8,"Priority or Severity changes."),G(),F(9,"li"),R(10,"Assignee changes."),G(),F(11,"li"),R(12,"Component changes."),G(),F(13,"li"),R(14,"Issue closure or reopening."),
G(),F(15,"li"),R(16,"Changes to custom fields marked as major."),G()()())},xgb=function(a,b){a&1&&(F(0,"mat-option",6),R(1),G());a&2&&(a=b.$implicit,D("value",a),z(),S(" ",a.name," "))},ygb=function(a){a&1&&(F(0,"span",12),R(1," (must be between 30 days and 20 years) "),G())},Agb=function(a){if(a&1){var b=u();F(0,"div",13)(1,"b-duration-picker",14);M("durationDaysChange",function(c){v(b);var d=O();d.model.retentionPeriodDays=c!==null&&c!==void 0?c:null;d.modelChange.emit(d.model);Yq(d);return x()});
G();F(2,"div",15);R(3);G()()}a&2&&(a=O(),z(),D("disabled",a.issueRetentionDisabled)("durationDays",a.model.retentionPeriodDays),z(2),S(" Issues will be marked for deletion when they have not been modified for ",zgb(a.model.retentionPeriodDays),". "))},Bgb=function(a){a&1&&(F(0,"div",16)(1,"p"),R(2,"Please note this extended retention is not appropriate in many circumstances. Before selecting this option, you should make sure "),F(3,"b"),R(4,"one or more"),G(),R(5," of the following is true:"),G(),
F(6,"ol")(7,"li"),R(8,"There is no personal data, user data, or any other forms of sensitive data being stored."),G(),F(9,"li"),R(10,"You have a process in place to manually delete this data within an approved period of time."),G(),F(11,"li"),R(12,"Legal and Privacy have approved this non-standard retention period."),G()()())},Cgb=function(a){a&1&&(F(0,"div",17)(1,"p"),R(2,"Please note indefinite retention is not appropriate in many circumstances. Before selecting this option, you should make sure "),
F(3,"b"),R(4,"one or more"),G(),R(5," of the following is true:"),G(),F(6,"ol")(7,"li"),R(8,"There is no personal data, user data, or any other forms of sensitive data being stored."),G(),F(9,"li"),R(10,"You have a process in place to manually delete this data within an approved period of time."),G(),F(11,"li"),R(12,"Legal and Privacy have approved this non-standard retention period."),G()()())},Dgb=function(a){a&1&&(F(0,"span",12),R(1," (Issue Retention is shorter than default Restricted Retention) "),
G())},Fgb=function(a){a&1&&(F(0,"span",12),R(1),G());a&2&&(a=O(),z(),S(" ",Egb(a)," "))},Ggb=function(a){a&1&&(F(0,"div",23)(1,"p"),R(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."),G()())},Igb=function(a){if(a&1){var b=u();F(0,"div",13)(1,"div")(2,"span",
18);R(3,"Restricted retention:");G();F(4,"b-duration-picker",19);M("durationDaysChange",function(c){v(b);var d=O();d.model.piiRetentionPeriodDays=c!==null&&c!==void 0?c:null;d.modelChange.emit(d.model);Yq(d);return x()});G()();F(5,"div",20)(6,"p");R(7);G()();F(8,"div")(9,"span",18);R(10,"Restricted+ retention:");G();F(11,"b-duration-picker",21);M("durationDaysChange",function(c){v(b);var d=O();d.model.spiiRetentionPeriodDays=c!==null&&c!==void 0?c:null;d.modelChange.emit(d.model);Yq(d);return x()});
G()();F(12,"div",20)(13,"p");R(14);G()();C(15,Ggb,3,0,"div",22);G()}a&2&&(a=O(),z(4),D("disabled",!Zq(a))("durationDays",a.model.piiRetentionPeriodDays),z(3),S(" Restricted comments and attachments will be marked for deletion when the containing issue has not been modified for ",zgb(a.model.piiRetentionPeriodDays),". "),z(4),D("disabled",!Zq(a))("durationDays",a.model.spiiRetentionPeriodDays),z(3),S(" Restricted+ comments and attachments will be marked for deletion when the containing issue has not been modified for ",
zgb(a.model.spiiRetentionPeriodDays),". "),z(),D("ngIf",a.model.piiRetentionSelection===a.RetentionSelection.CUSTOM_PERIOD&&Hgb(a)))},Jgb=function(a){a&1&&(F(0,"div",24)(1,"p"),R(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."),G()())},Kgb=function(a,b,
c){a=$q(a.slice(b),c,"[()|]","[()|,\\s]");a.idx+=b;return a},$q=function(a,b,c,d){var e=Lgb(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}},Lgb=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},ar=function(a,b){return(b===void 0?0:b)?a.search(/^\d+\+?$/)>-1:a.search(/^\d+$/)>-1},Mgb=function(a){return a.charAt(0)==="-"?{negated:!0,token:a.slice(1)}:{negated:!1,
token:a}},br=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):Ha(q,e):!1});b=b.idx;for(var f=b+e.length,h=l(a),k=h.next();!k.done;k=h.next())k=k.value.completionCfg,k.startIdx=b,k.endIdx=f,k.matchingString=e;return a},cr=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}}},Pgb=function(a,b){if(a&1){var c=u();F(0,"div",9)(1,"div",10);M("click",function(d){var e=v(c).$implicit,f=O();e=e.key;if(d=d===void 0?null:d)d.preventDefault(),d.stopPropagation();d=f.options.propertyValues[e];d.value=!d.value;Ngb(f);Ogb(f);f.optionsChange.emit(f.options);return x()});F(2,"mat-checkbox",11);M("change",function(d){var e=v(c).$implicit,f=O();e.value.value=d.checked;Ngb(f);Ogb(f);f.optionsChange.emit(f.options);
return x()})("click",function(d){v(c);return x(d.stopPropagation())});R(3);G()()()}a&2&&(a=b.$implicit,Bf("aria-checked",a.value.value),z(2),D("checked",a.value.value),z(),S(" ",a.value.displayString," "))},Qgb=function(a){a&1&&(F(0,"div",12),R(1),G());a&2&&(a=O(),z(),S(" ",a.errorString," "))},Sgb=function(a){if(a&1){var b=u();F(0,"span",4)(1,"input",5);pg("ngModelChange",function(c){v(b);var d=O(2);og(d.businessDayString,c)||(d.businessDayString=c);return x(c)});M("ngModelChange",function(){v(b);
var c=O(2);return x(Rgb(c))});G();F(2,"span",8);R(3,"days,");G()()}a&2&&(a=O(2),z(),Kf("ng-invalid",!!a.errorString),ng("ngModel",a.businessDayString))},Ugb=function(a,b){a&1&&(F(0,"mat-option",9),R(1),G());a&2&&(a=b.$implicit,b=O(2),D("value",a),z(),S(" ",Tgb(b,a)," "))},Zgb=function(a){if(a&1){var b=u();F(0,"span",2);C(1,Sgb,4,3,"span",3);F(2,"span",4)(3,"input",5);pg("ngModelChange",function(c){v(b);var d=O();og(d.intervalString,c)||(d.intervalString=c);return x(c)});M("ngModelChange",function(){v(b);
var c=O();return x(Rgb(c))});G();F(4,"mat-select",6);pg("ngModelChange",function(c){v(b);var d=O();og(d.intervalUnit,c)||(d.intervalUnit=c);return x(c)});M("selectionChange",function(){v(b);var c=O();Vgb(c);Wgb(c);return x()});C(5,Ugb,2,2,"mat-option",7);G()()()}a&2&&(a=O(),z(),D("ngIf",Xgb(a)),z(2),Kf("invalid",!!a.errorString),ng("ngModel",a.intervalString),z(),ng("ngModel",a.intervalUnit),z(),D("ngForOf",Xgb(a)?[dr,er]:[dr,er,Ygb]))},$gb=function(a){a&1&&(F(0,"span",13),R(1),G());a&2&&(a=O(2),
z(),mg(" ",a.objectiveBusinessDays," day",a.objectiveBusinessDays!=1?"s":""," "))},ahb=function(a){a&1&&(F(0,"span"),R(1,", "),G())},bhb=function(a){a&1&&(F(0,"span"),C(1,ahb,2,0,"span",12),F(2,"span"),R(3),G()());a&2&&(a=O(2),z(),D("ngIf",a.objectiveBusinessDays),z(2),mg("",a.intervalString," ",Tgb(a,a.intervalUnit),""))},chb=function(a){a&1&&(F(0,"span",10),C(1,$gb,2,2,"span",11)(2,bhb,4,3,"span",12),G());a&2&&(a=O(),z(),D("ngIf",a.objectiveBusinessDays),z(),D("ngIf",a.intervalString&&a.intervalString!=
"0"))},ehb=function(a){if(a&1){var b=u();F(0,"b-icon",23);M("click",function(){v(b);var c=O(2);return x(dhb(c,0))});G()}a&2&&D("name","add")("size","small")},ghb=function(a){if(a&1){var b=u();F(0,"span",18)(1,"span",19)(2,"span",20);C(3,ehb,1,2,"b-icon",21);G();F(4,"span",20)(5,"b-icon",22);M("click",function(c){v(b);var d=O();return x(fhb(d,c))});G()()()()}a&2&&(a=O(),z(3),D("ngIf",a.canPerformActions),z(2),D("name","delete")("size","small"))},hhb=function(a){a&1&&H(0,"td",43)},ihb=function(a){if(a&
1){var b=u();F(0,"td",44)(1,"slo-element-property-picker",45);pg("optionsChange",function(c){v(b);var d=O().$implicit;og(d.typePickerValues,c)||(d.typePickerValues=c);return x(c)});G()()}a&2&&(a=O().$implicit,z(),D("selectAllText","Any type")("validator",a.validateTypePicker),ng("options",a.typePickerValues))},jhb=function(a){if(a&1){var b=u();F(0,"td",46)(1,"slo-element-property-picker",47);pg("optionsChange",function(c){v(b);var d=O().$implicit;og(d.priorityPickerValues,c)||(d.priorityPickerValues=
c);return x(c)});G()()}a&2&&(a=O().$implicit,z(),D("selectAllText","Any priority")("validator",a.validatePriorityPicker),ng("options",a.priorityPickerValues))},khb=function(a){if(a&1){var b=u();F(0,"td",48)(1,"slo-element-property-picker",49);pg("optionsChange",function(d){v(b);var e=O().$implicit;og(e.postmortemPickerValues,d)||(e.postmortemPickerValues=d);return x(d)});G()()}if(a&2){a=O().$implicit;var c=O(2);z();D("selectAllText",c.postmortemAllSummaryValue)("validator",a.validatePostmortemPicker);
ng("options",a.postmortemPickerValues)}},mhb=function(a,b){a&1&&(F(0,"mat-option",54),R(1),G());a&2&&(a=b.$implicit,O(4),D("value",a),z(),S(" ",lhb(a)," "))},nhb=function(a){if(a&1){var b=u();F(0,"td",50)(1,"mat-form-field",51)(2,"mat-select",52);pg("ngModelChange",function(d){v(b);var e=O().$implicit;og(e.selectedMetric,d)||(e.selectedMetric=d);return x(d)});C(3,mhb,2,2,"mat-option",53);G()()()}if(a&2){a=O().$implicit;var c=O(2);z(2);ng("ngModel",a.selectedMetric);D("customValidators",a.metricValidators);
z();D("ngForOf",c.metricChoices)}},ohb=function(a){if(a&1){var b=u();F(0,"td",55)(1,"slo-objective-selector",56);pg("objectiveDurationChange",function(c){v(b);var d=O().$implicit;og(d.selectedObjectiveDuration,c)||(d.selectedObjectiveDuration=c);return x(c)})("objectiveBusinessDaysChange",function(c){v(b);var d=O().$implicit;og(d.selectedObjectiveBusinessDays,c)||(d.selectedObjectiveBusinessDays=c);return x(c)});G()()}a&2&&(a=O().$implicit,z(),D("dayType",a.selectedDayType),ng("objectiveDuration",
a.selectedObjectiveDuration)("objectiveBusinessDays",a.selectedObjectiveBusinessDays),D("validator",a.validateObjective)("isDisabled",!1))},qhb=function(a,b){a&1&&(F(0,"mat-option",54),R(1),G());a&2&&(a=b.$implicit,O(4),D("value",a),z(),S(" ",phb.get(a||"CALENDAR")," "))},rhb=function(a){if(a&1){var b=u();F(0,"td",57)(1,"mat-form-field",51)(2,"mat-select",58);pg("ngModelChange",function(d){v(b);var e=O().$implicit;og(e.selectedDayType,d)||(e.selectedDayType=d);return x(d)});M("selectionChange",function(){v(b);
var d=O().$implicit;d.selectedDayType==="BUSINESS"?d.selectedObjectiveDuration.seconds%86400===0&&(d.selectedObjectiveBusinessDays=d.selectedObjectiveDuration.seconds/86400,d.selectedObjectiveDuration.seconds=0):(d.selectedObjectiveDuration.seconds===0&&(d.selectedObjectiveDuration.seconds=d.selectedObjectiveBusinessDays*86400),d.selectedObjectiveBusinessDays=0);return x()});C(3,qhb,2,2,"mat-option",53);G()()()}if(a&2){a=O().$implicit;var c=O(2);z(2);ng("ngModel",a.selectedDayType);z();D("ngForOf",
c.dayTypes)}},vhb=function(a){if(a&1){var b=u();F(0,"td",59)(1,"span",19)(2,"span",20)(3,"b-icon",60);M("click",function(){v(b);var c=O(3);if(c.openRow)if(c.openRow.isValid())shb(c.openRow.typePickerValues)&&shb(c.openRow.priorityPickerValues)&&shb(c.openRow.postmortemPickerValues)?c.confirmationDialogService.open({title:"SLO validation error",content:wh("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}):thb(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:wh('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()});G()();F(4,"span",20)(5,"b-icon",61);M("click",function(){v(b);var c=O().$implicit,d=O(2);return x(uhb(d,c))});G()()()()}a&2&&(z(3),D("name","done")("size","small"),z(2),D("name","delete")("size","small"))},whb=function(a){a&1&&H(0,"td",62)},xhb=function(a){a&1&&(F(0,"div"),R(1),G());a&2&&(a=O(2).$implicit,z(),S("ERROR: ",a.parseResult.error,""))},yhb=function(a,b){a&1&&(F(0,"span",68)(1,"span",69),R(2),G()());a&2&&(a=b.$implicit,z(2),lg(a))},Ahb=function(a){a&1&&
(F(0,"span",66),C(1,yhb,3,1,"span",67),G());if(a&2){a=O(2).$implicit;z();if(a.parseResult.types.length===0)a=["Any"];else{for(var b=[],c=l(a.controllerReference.sloParseService.enumTypeToString.keys()),d=c.next();!d.done;d=c.next())d=d.value,a.parseResult.types.includes(d)&&b.push(zhb(a.controllerReference,d));a=b}D("ngForOf",a)}},Bhb=function(a){a&1&&(F(0,"td",63),C(1,xhb,2,1,"div",64)(2,Ahb,2,1,"span",65),G());a&2&&(a=O().$implicit,z(),D("ngIf",a.parseResult.error),z(),D("ngIf",!a.parseResult.error))},
Chb=function(a){a&1&&(F(0,"div"),R(1),G());a&2&&(a=O(2).$implicit,z(),S("ERROR: ",a.parseResult.error,""))},Dhb=function(a,b){a&1&&(F(0,"span",68)(1,"span",69),R(2),G()());a&2&&(a=b.$implicit,z(2),lg(a))},Fhb=function(a){a&1&&(F(0,"span",66),C(1,Dhb,3,1,"span",67),G());if(a&2){a=O(2).$implicit;z();if(a.parseResult.priorities.length===0)a=["Any"];else{for(var b=[],c=l(a.controllerReference.sloParseService.enumPriorityToString.keys()),d=c.next();!d.done;d=c.next())d=d.value,a.parseResult.priorities.includes(d)&&
b.push(Ehb(a.controllerReference,d));a=b}D("ngForOf",a)}},Ghb=function(a){a&1&&(F(0,"td",70),C(1,Chb,2,1,"div",64)(2,Fhb,2,1,"span",65),G());a&2&&(a=O().$implicit,z(),D("ngIf",a.parseResult.error),z(),D("ngIf",!a.parseResult.error))},Hhb=function(a){a&1&&(F(0,"div"),R(1),G());a&2&&(a=O(2).$implicit,z(),S("ERROR: ",a.parseResult.error,""))},Ihb=function(a,b){a&1&&(F(0,"span",68)(1,"span",69),R(2),G()());a&2&&(a=b.$implicit,z(2),lg(a))},Jhb=function(a){a&1&&(F(0,"span",66),C(1,Ihb,3,1,"span",67),G());
if(a&2){a=O(2).$implicit;z();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])];D("ngForOf",a)}},Khb=function(a){a&1&&(F(0,"td",71),C(1,Hhb,2,1,"div",64)(2,Jhb,2,1,"span",65),G());a&2&&(a=O().$implicit,z(),D("ngIf",a.parseResult.error),z(),D("ngIf",!a.parseResult.error))},Lhb=function(a){a&1&&(F(0,"td",72),R(1),G());a&2&&(a=O().$implicit,O(2),z(),
S(" ",lhb(a.sloElement.metric)," "))},Mhb=function(a){if(a&1){var b=u();F(0,"td",73)(1,"slo-objective-selector",74);pg("objectiveDurationChange",function(c){v(b);var d=O().$implicit;og(d.selectedObjectiveDuration,c)||(d.selectedObjectiveDuration=c);return x(c)})("objectiveBusinessDaysChange",function(c){v(b);var d=O().$implicit;og(d.selectedObjectiveBusinessDays,c)||(d.selectedObjectiveBusinessDays=c);return x(c)});G()()}a&2&&(a=O().$implicit,z(),D("dayType",a.selectedDayType),ng("objectiveDuration",
a.selectedObjectiveDuration)("objectiveBusinessDays",a.selectedObjectiveBusinessDays),D("isDisabled",!a.isEditingInternal))},Nhb=function(a){a&1&&(F(0,"td",75),R(1),G());a&2&&(a=O().$implicit,O(2),z(),S(" ",phb.get(a.sloElement.dayType||"CALENDAR")," "))},Phb=function(a){if(a&1){var b=u();F(0,"b-icon",84);M("click",function(c){v(b);var d=O(2).$implicit,e=O(2);return x(Ohb(e,d,c))});G()}a&2&&D("name","edit")("size","small")},Qhb=function(a){a&1&&H(0,"b-icon",85);a&2&&(O(),a=Q(8),D("name","more-settings-vertical")("size",
"small")("matMenuTriggerFor",a))},Shb=function(a){if(a&1){var b=u();F(0,"button",86);M("click",function(){v(b);var c=O(2).$implicit,d=O(2);return x(Rhb(d,c,1))});R(1," Move row down ");G()}},Thb=function(a){if(a&1){var b=u();F(0,"button",87);M("click",function(){v(b);var c=O(2).$implicit,d=O(2);return x(Rhb(d,c,-1))});R(1," Move row up ");G()}},Vhb=function(a){if(a&1){var b=u();F(0,"td",76)(1,"span",19)(2,"span",20);C(3,Phb,1,2,"b-icon",77);G();F(4,"span",20)(5,"span");C(6,Qhb,1,3,"b-icon",78);G();
F(7,"mat-menu",null,0);C(9,Shb,2,0,"button",79)(10,Thb,2,0,"button",80);F(11,"button",81);M("click",function(){v(b);var d=O().$implicit,e=O(2);dhb(e,e.collection.indexOf(d)+1);return x()});R(12," Add row below ");G();F(13,"button",82);M("click",function(){v(b);var d=O().$implicit,e=O(2);dhb(e,e.collection.indexOf(d));return x()});R(14," Add row above ");G();F(15,"button",83);M("click",function(){v(b);var d=O().$implicit,e=O(2);return x(uhb(e,d))});R(16," Remove ");G()()()()()}if(a&2){a=O().$implicit;
var c=O(2);z(3);D("ngIf",a.canEdit);z(3);D("ngIf",a.canEdit);z(3);D("ngIf",Uhb(c,a,1).valid);z();D("ngIf",Uhb(c,a,-1).valid)}},Whb=function(a,b){a&1&&(F(0,"tr",26),C(1,hhb,1,0,"td",27)(2,ihb,2,3,"td",28)(3,jhb,2,3,"td",29)(4,khb,2,3,"td",30)(5,nhb,4,3,"td",31)(6,ohb,2,5,"td",32)(7,rhb,4,2,"td",33)(8,vhb,6,4,"td",34)(9,whb,1,0,"td",35)(10,Bhb,3,2,"td",36)(11,Ghb,3,2,"td",37)(12,Khb,3,2,"td",38)(13,Lhb,2,1,"td",39)(14,Mhb,2,4,"td",40)(15,Nhb,2,1,"td",41)(16,Vhb,17,4,"td",42),G());a&2&&(a=b.$implicit,
b=O(2),Kf("draggable",!b.isDisabled&&b.openRow==null),z(),D("ngIf",a.isEditingInternal),z(),D("ngIf",a.isEditingInternal),z(),D("ngIf",a.isEditingInternal),z(),D("ngIf",a.isEditingInternal),z(),D("ngIf",a.isEditingInternal),z(),D("ngIf",a.isEditingInternal),z(),D("ngIf",a.isEditingInternal),z(),D("ngIf",a.isEditingInternal),z(),D("ngIf",!a.isEditingInternal),z(),D("ngIf",!a.isEditingInternal),z(),D("ngIf",!a.isEditingInternal),z(),D("ngIf",!a.isEditingInternal),z(),D("ngIf",!a.isEditingInternal),
z(),D("ngIf",!a.isEditingInternal),z(),D("ngIf",!a.isEditingInternal),z(),D("ngIf",!a.isEditingInternal))},Xhb=function(a){if(a&1){var b=u();F(0,"tbody",24);M("cdkDropListDropped",function(c){v(b);var d=O();return x(d.onDrop(c))});C(1,Whb,17,18,"tr",25);G()}a&2&&(a=O(),D("cdkDropListData",a.collection)("cdkDropListDisabled",a.isDisabled||a.openRow!=null),z(),D("ngForOf",a.collection))},Yhb=function(a){a&1&&(F(0,"div",88),R(1," There are currently no rules for this SLO "),G())},Zhb=function(a,b){if(a&
1){var c=u();F(0,"tr",7);M("click",function(){var e=v(c).$implicit,f=O();return x(f.editSlo(e))})("focus",function(){var e=v(c).index,f=O();return x(f.setFocusOnIndex(e))});H(1,"td",2);F(2,"td",8)(3,"a",9);R(4);G()();F(5,"td",10);R(6);G()()}if(a&2){a=b.$implicit;b=b.index;var d=O();Kf("grid-focus",d.isFocused(b));Bf("aria-selected",d.isFocused(b))("aria-label",d.renderRowLabel(b));z(3);D("href",zo.editSlo.makeHref(a.sloId),Qe);z();S(" ",a.name," ");z(2);S(" ",a.description," ")}},$hb=function(a){if(a)return(Array.isArray(a)?
a.map(function(b){return vi(b)}):[vi(a)]).filter(function(b){return!isNaN(b)})},aib=function(a,b){if(b&&!Array.isArray(b))return a.find(function(c){return!fr(c,b)})},bib=function(a,b){typeof a==="string"&&(a=a.trim())&&b(tm(a))},cib=function(a,b){if(!a)return[];a=l(typeof a==="string"?a.split(","):a);for(var c=a.next();!c.done;c=a.next())bib(c.value,function(d){return b.push(d)});return Dta(b)},dib=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("jf");}},eib=function(a){a&1&&(F(0,"a",3),R(1),T(2,"async"),G());if(a&2){var b;a=O();D("href",a.manageComponentLink,Qe);z();lg((b=V(2,2,a.component$))==null?null:b.name)}},fib=function(a){a&1&&(F(0,"output"),R(1),G());a&2&&(a=O(),z(),lg(a.componentId))},gib=function(a){a&1&&Sf(0)},hib=function(a){a&1&&C(0,gib,1,0,"ng-container",4);a&2&&(O(),a=Q(6),D("ngTemplateOutlet",a))},iib=function(a){a&1&&Sf(0)},jib=function(a){a&
1&&C(0,iib,1,0,"ng-container",4);a&2&&(O(),a=Q(8),D("ngTemplateOutlet",a))},kib=function(a){a&1&&(F(0,"li")(1,"label"),R(2,"Component"),G(),H(3,"b-async-component",8),G());a&2&&(a=O(2),z(3),D("componentId",a.issueComponentId))},lib=function(a){a&1&&(F(0,"li")(1,"label"),R(2,"Team"),G(),H(3,"b-team-display",9),G());a&2&&(a=O(2),z(3),D("teamId",a.issueTeamId))},mib=function(a){a&1&&(F(0,"ol",5)(1,"li")(2,"label"),R(3,"ID"),G(),F(4,"output"),R(5),G()(),F(6,"li")(7,"label"),R(8,"Type"),G(),F(9,"output"),
R(10),G()(),F(11,"li")(12,"label"),R(13,"Priority"),G(),H(14,"b-issue-priority-display",6),G(),F(15,"li")(16,"label"),R(17,"Severity"),G(),F(18,"output"),R(19),G()(),F(20,"li")(21,"label"),R(22,"Status"),G(),F(23,"output"),R(24),G()(),F(25,"li")(26,"label"),R(27,"Last modified"),G(),F(28,"output"),R(29),T(30,"date"),G()(),F(31,"li")(32,"label"),R(33,"Issue access limit"),G(),F(34,"output"),R(35),F(36,"a",7),R(37,"Learn more"),G()()(),C(38,kib,4,1,"li")(39,lib,4,1,"li"),G());a&2&&(a=O(),z(5),lg(a.issueId),
z(5),lg(a.issueType),z(4),D("issuePriority",a.issuePriority),z(5),lg(a.issueSeverity),z(5),lg(a.issueStatus),z(5),lg(xg(30,10,a.issueLastModified,"medium")),z(6),S("",a.accessLimitLevel," "),z(),D("href",a.documentationLinks.getIssueAccessLimit(),Qe),z(2),Of(a.issueComponentId?38:-1),z(),Of(a.issueTeamId?39:-1))},nib=function(a){if(a&1){var b=u();F(0,"button",11);M("click",function(){v(b);O(2).loginRedirector.redirect();return x()});R(1,"Sign in");G()}},oib=function(a){a&1&&(F(0,"h3"),R(1,"Access to this issue may be resolved by signing in."),
G(),C(2,nib,2,0,"button",10));a&2&&(a=O(),z(2),Of(a.enableSignInAnonymousAccessDenied?2:-1))},pib=function(a){return a.startsWith('"')&&a.endsWith('"')||a.startsWith("'")&&a.endsWith("'")?a.toLowerCase().substr(1,a.length-2):a.toLowerCase()},qib=function(a){a.label||(a=qi(a),a.label={customFieldId:void 0,field:"_TEXT_"});return a},sib=function(a){return{type:rib[a.getType()],value:a.getValue()}},uib=function(a){var b,c=tib[a.getType()],d=((b=a.getValuesList())!=null?b:[]).map(uib);a=xj(a,vib,3,yj());
return{type:c,values:d,simpleValues:(a!=null?a:[]).map(sib)}},zib=function(a){var b,c=wib[a.getType()],d=((b=a.getValuesList())!=null?b:[]).map(uib);b=Hj(a,3);if(a.hasLabel()){var e=a.getLabel();e={field:xib[e.getField()],customFieldId:Number(e.getCustomFieldId_asString())}}else e=void 0;return{type:c,values:d,negated:b,label:e,operator:yib[fj(a,5,0)]}},Eib=function(a){switch(a.getKindCase()){case 2:return{syntaxErrorResponse:{syntaxError:Kh(Bj(a,Aib,2,Bib),1)},queryBuilderResponse:void 0};case 1:a=
Bj(a,gr,1,Bib);var b;return{syntaxErrorResponse:void 0,queryBuilderResponse:{type:Cib[a.getType()],expressions:((b=xj(a,Dib,2,yj()))!=null?b:[]).map(zib)}};default:return{syntaxErrorResponse:void 0,queryBuilderResponse:void 0}}},Fib=function(a){a&1&&(F(0,"span",11),R(1," > "),G())},Iib=function(a,b){if(a&1){var c=u();F(0,"span")(1,"a",9);M("click",function(d){var e=v(c).$implicit,f=O(2);e=new Gib(e.pathIds,e.pathNames);f.onTeamSelect.emit(e);d.stopPropagation();d.preventDefault();Hib(f.autocompleteTrigger);
return x()});R(2);G();C(3,Fib,2,0,"span",10);G()}a&2&&(a=b.$implicit,b=b.last,z(),D("matTooltip",a.pathNameText),z(),lg(a.name),z(),D("ngIf",!b))},Jib=function(a,b){a&1&&(F(0,"mat-option",6)(1,"div"),C(2,Iib,4,3,"span",7),G(),F(3,"span",8),R(4),T(5,"slice"),G()());a&2&&(a=b.$implicit,D("value",a),z(2),D("ngForOf",a.teamPath),z(),D("matTooltip",a.description),z(),S("",pma(5,4,a.description,100)," "))},Kib=function(a,b){a&1&&(F(0,"mat-option",5)(1,"div",6),R(2),G()());a&2&&(a=b.$implicit,D("value",
a),z(2),S(" ",a.name," "))},Lib=function(a,b){a&1&&(F(0,"mat-option",14),R(1),G());a&2&&(a=b.$implicit,D("value",a.key),z(),S(" ",a.value," "))},Mib=function(a){if(a&1){var b=u();F(0,"mat-form-field",11)(1,"mat-select",12);pg("ngModelChange",function(c){v(b);var d=O(2);og(d.expressionType,c)||(d.expressionType=c);return x(c)});C(2,Lib,2,2,"mat-option",13);T(3,"keyvalue");G()()}a&2&&(a=O(2),z(),ng("ngModel",a.expressionType),z(),D("ngForOf",V(3,2,a.globalTypeLabels)))},Nib=function(a,b){a&1&&(F(0,
"mat-option",14),R(1),G());a&2&&(a=b.$implicit,D("value",a[0]),z(),S(" ",a[1]," "))},Oib=function(a,b){a&1&&(F(0,"mat-option",14),R(1),G());if(a&2){a=b.$implicit;b=O(2).$implicit;var c=O(2);D("value",a);z();S(" ",c.getTypeLabel(b,a)," ")}},Pib=function(a){if(a&1){var b=u();F(0,"mat-form-field",11)(1,"mat-select",22);pg("ngModelChange",function(c){v(b);var d=O().$implicit;og(d.type,c)||(d.type=c);return x(c)});C(2,Oib,2,2,"mat-option",13);G()()}a&2&&(a=O().$implicit,z(),ng("ngModel",a.type),z(),D("ngForOf",
a.getLegalTypes()))},Rib=function(a){if(a&1){var b=u();F(0,"div",35);M("click",function(){v(b);var c=O(2).$implicit,d=O(5);return x(Qib(d,c))});F(1,"span",36);R(2);G()()}a&2&&(a=O(2).$implicit,O(5),D("title",a.value),z(2),S(" ",a.value.replace(/"/g,"")," "))},Sib=function(a){if(a&1){var b=u();F(0,"div",37)(1,"b-custom-repeated-enum-picker",38);M("onValueChange",function(e){v(b);var f=O(7);f.chipUnderEdit.value='"'+e+'"';hr(f);return x()});G()()}if(a&2){a=O(2).$implicit;var c=O(3).$implicit,d=O(2);
z();D("showPlaceholder",!0)("customFieldTitle",d.getCustomFieldName(c))("currentInputValue",a.value.replace(/"/g,""))("allowedValues",c.getOptions())}},Tib=function(a){if(a&1){var b=u();F(0,"div",31);C(1,Rib,3,2,"div",32)(2,Sib,2,4,"div",33);F(3,"button",34);M("click",function(){v(b);var d=O().$implicit,e=O(3).$implicit,f=O(2);return x(ir(f,e,d))});G()()}if(a&2){a=O().$implicit;var c=O(5);z();D("ngIf",c.chipUnderEdit!==a);z();D("ngIf",c.chipUnderEdit===a)}},Uib=function(a,b){a&1&&(K(0),C(1,Tib,4,
2,"div",30),L());a&2&&(a=b.$implicit,b=O(5),z(),D("ngIf",b.chipUnderEdit===a||a.value))},Vib=function(a){if(a&1){var b=u();F(0,"button",39);M("click",function(){v(b);var c=O(3).$implicit,d=O(2);return x(jr(d,c))});R(1);G()}a&2&&(a=O(3).$implicit,z(),S(" + ",a.type=="OR"||a.type=="NAND"?"OR":"AND"," "))},Wib=function(a){a&1&&(F(0,"div",27),C(1,Uib,2,1,"ng-container",28)(2,Vib,2,1,"button",29),G());a&2&&(a=O(2).$implicit,z(),D("ngForOf",a.values),z(),D("ngIf",a.type))},Xib=function(a,b){if(a&1){var c=
u();F(0,"div",42)(1,"mat-checkbox",43);M("change",function(d){var e=v(c).$implicit,f=O(3).$implicit;return x(f.enumValues[e.id]=d.checked)});R(2);G()()}a&2&&(a=b.$implicit,b=O(3).$implicit,z(),D("checked",b.enumValues[a.id]),z(),S(" ",a.label||a.id," "))},Yib=function(a){a&1&&(F(0,"div",40),C(1,Xib,3,2,"div",41),G());a&2&&(a=O(2).$implicit,z(),D("ngForOf",a.getOptions()))},Zib=function(a){if(a&1){var b=u();F(0,"div")(1,"input",44);pg("ngModelChange",function(c){v(b);var d=O(3).$implicit;og(d.csv,
c)||(d.csv=c);return x(c)});G()()}a&2&&(a=O(3).$implicit,z(),ng("ngModel",a.csv),D("bContactAutocomplete","MULTI"))},$ib=function(a){if(a&1){var b=u();F(0,"div",23)(1,"input",45);pg("ngModelChange",function(c){v(b);var d=O(3).$implicit;og(d.csv,c)||(d.csv=c);return x(c)});G()()}a&2&&(a=O(3).$implicit,z(),ng("ngModel",a.csv))},ajb=function(a){if(a&1){var b=u();F(0,"div",23)(1,"input",46);pg("ngModelChange",function(c){v(b);var d=O(3).$implicit;og(d.csv,c)||(d.csv=c);return x(c)});G()()}a&2&&(a=O(3).$implicit,
z(),ng("ngModel",a.csv))},bjb=function(a){if(a&1){var b=u();F(0,"div",23)(1,"input",47);pg("ngModelChange",function(c){v(b);var d=O(3).$implicit;og(d.csv,c)||(d.csv=c);return x(c)});G()()}a&2&&(a=O(3).$implicit,z(),ng("ngModel",a.csv))},cjb=function(a){a&1&&(F(0,"div"),C(1,Zib,2,2,"div",26)(2,$ib,2,1,"div",18)(3,ajb,2,1,"div",18)(4,bjb,2,1,"div",18),G());a&2&&(a=O(2).$implicit,z(),D("ngIf",a.getWidgetType()=="user"),z(),D("ngIf",a.getWidgetType()=="csv"),z(),D("ngIf",a.getWidgetType()=="id"),z(),
D("ngIf",a.getWidgetType()=="number"))},djb=function(a,b){if(a&1){var c=u();F(0,"div",49)(1,"div",37)(2,"input",47);pg("ngModelChange",function(d){var e=v(c).$implicit;og(e.value,d)||(e.value=d);return x(d)});G()();F(3,"button",50);M("click",function(){var d=v(c).$implicit,e=O(3).$implicit,f=O(2);return x(ir(f,e,d))});G()()}a&2&&(a=b.$implicit,z(2),ng("ngModel",a.value))},ejb=function(a){if(a&1){var b=u();F(0,"button",39);M("click",function(){v(b);var c=O(3).$implicit,d=O(2);return x(jr(d,c))});R(1);
G()}a&2&&(a=O(3).$implicit,z(),S(" + ",a.type=="OR"||a.type=="NOR"?"OR":"AND"," "))},fjb=function(a){a&1&&(F(0,"div",27),C(1,djb,4,1,"div",48)(2,ejb,2,1,"button",29),G());a&2&&(a=O(2).$implicit,z(),D("ngForOf",a.values),z(),D("ngIf",a.type))},hjb=function(a){if(a&1){var b=u();F(0,"div",35);M("click",function(){v(b);var d=O(2).$implicit,e=O(5);return x(gjb(e,d))});F(1,"span",36);R(2);G()()}if(a&2){a=O(2).$implicit;var c=O(5);D("title",c.getComponentPath(c.components[a.value]));z(2);S(" ",c.getComponentPath(c.components[a.value]),
" ")}},ijb=function(a){if(a&1){var b=u();F(0,"div",37)(1,"b-team-component-picker",55);M("selectedComponentChange",function(c){v(b);var d=O(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;hr(d);return x()});G()()}a&2&&(a=O(7),z(),D("selectedComponent",a.componentUnderEdit)("placeholder","Choose Component")("isRequired",!0))},
jjb=function(a){if(a&1){var b=u();F(0,"div",52);C(1,hjb,3,2,"div",32)(2,ijb,2,3,"div",33);F(3,"button",53);M("click",function(){v(b);var d=O().$implicit;O(5);d.includeSubs=!d.includeSubs;return x()});H(4,"mat-icon",54);G();F(5,"button",34);M("click",function(){v(b);var d=O().$implicit,e=O(3).$implicit,f=O(2);return x(ir(f,e,d))});G()()}if(a&2){a=O().$implicit;var c=O(5);z();D("ngIf",c.chipUnderEdit!==a);z();D("ngIf",c.chipUnderEdit===a);z();D("title",a.includeSubs?"Subcomponents are included":"Subcomponents are not included");
Bf("aria-checked",a.includeSubs);z();D("svgIcon",a.includeSubs?"child-components-24px":"child-components-hide-24px")}},kjb=function(a,b){a&1&&(K(0),C(1,jjb,6,5,"div",51),L());a&2&&(a=b.$implicit,b=O(5),z(),D("ngIf",b.chipUnderEdit===a||a.value))},ljb=function(a){if(a&1){var b=u();F(0,"button",39);M("click",function(){v(b);var c=O(3).$implicit,d=O(2);return x(jr(d,c))});R(1);G()}a&2&&(a=O(3).$implicit,z(),S(" + ",a.type=="OR"||a.type=="NAND"?"OR":"AND"," "))},mjb=function(a){a&1&&(F(0,"div",27),C(1,
kjb,2,1,"ng-container",28)(2,ljb,2,1,"button",29),G());a&2&&(a=O(2).$implicit,z(),D("ngForOf",a.values),z(),D("ngIf",a.type))},ojb=function(a){if(a&1){var b=u();F(0,"div",35);M("click",function(){v(b);var d=O(2).$implicit,e=O(5);return x(njb(e,d))});F(1,"span",36);R(2);G()()}if(a&2){a=O(2).$implicit;var c=O(5);D("title",c.trackers[a.value]==null?null:c.trackers[a.value].name);z(2);S(" ",c.trackers[a.value]==null?null:c.trackers[a.value].name," ")}},pjb=function(a){if(a&1){var b=u();F(0,"div",37)(1,
"b-tracker-picker",58);M("onTrackerSelect",function(c){v(b);var d=O(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;hr(d);return x()});G()()}a&2&&(a=O(7),z(),D("selectedTracker",a.trackerUnderEdit))},qjb=function(a){if(a&1){var b=u();F(0,"div",57);C(1,ojb,3,2,"div",32)(2,pjb,2,1,"div",33);F(3,"button",34);M("click",function(){v(b);var d=O().$implicit,
e=O(3).$implicit,f=O(2);return x(ir(f,e,d))});G()()}if(a&2){a=O().$implicit;var c=O(5);z();D("ngIf",c.chipUnderEdit!==a);z();D("ngIf",c.chipUnderEdit===a)}},rjb=function(a,b){a&1&&(K(0),C(1,qjb,4,2,"div",56),L());a&2&&(a=b.$implicit,b=O(5),z(),D("ngIf",b.chipUnderEdit===a||a.value))},sjb=function(a){if(a&1){var b=u();F(0,"button",39);M("click",function(){v(b);var c=O(3).$implicit,d=O(2);return x(jr(d,c))});R(1);G()}a&2&&(a=O(3).$implicit,z(),S(" + ",a.type=="OR"||a.type=="NAND"?"OR":"AND"," "))},
tjb=function(a){a&1&&(F(0,"div",27),C(1,rjb,2,1,"ng-container",28)(2,sjb,2,1,"button",29),G());a&2&&(a=O(2).$implicit,z(),D("ngForOf",a.values),z(),D("ngIf",a.type))},vjb=function(a){if(a&1){var b=u();F(0,"div",35);T(1,"teamPath");M("click",function(){v(b);var d=O(2).$implicit,e=O(6);return x(ujb(e,d))});F(2,"span",36);R(3);T(4,"teamPath");G()()}if(a&2){a=O(2).$implicit;var c=O(6);D("title",V(1,2,c.teams[a.value]));z(3);S(" ",V(4,4,c.teams[a.value])," ")}},xjb=function(a){if(a&1){var b=u();F(0,"div",
37)(1,"b-team-picker",62);M("onTeamSelect",function(c){v(b);var d=O(8);return x(wjb(d,c))});G()()}a&2&&(a=O(8),z(),D("teamSelected",a.teamUnderEdit))},yjb=function(a){if(a&1){var b=u();F(0,"div",60);C(1,vjb,5,6,"div",32)(2,xjb,2,1,"div",33);F(3,"button",61);M("click",function(){v(b);var d=O().$implicit;O(6);d.includeSubs=!d.includeSubs;return x()});H(4,"mat-icon",54);G();F(5,"button",34);M("click",function(){v(b);var d=O().$implicit,e=O(4).$implicit,f=O(2);return x(ir(f,e,d))});G()()}if(a&2){a=O().$implicit;
var c=O(6);z();D("ngIf",c.chipUnderEdit!==a);z();D("ngIf",c.chipUnderEdit===a);z();D("title",a.includeSubs?"Subteams are included":"Subteams are not included");Bf("aria-checked",a.includeSubs);z();D("svgIcon",a.includeSubs?"child-teams-24px":"child-teams-hide-24px")}},zjb=function(a,b){a&1&&(K(0),C(1,yjb,6,5,"div",59),L());a&2&&(a=b.$implicit,b=O(6),z(),D("ngIf",b.chipUnderEdit===a||a.value))},Ajb=function(a){if(a&1){var b=u();F(0,"button",39);M("click",function(){v(b);var c=O(4).$implicit,d=O(2);
return x(jr(d,c))});R(1);G()}a&2&&(a=O(4).$implicit,z(),S(" + ",a.type=="OR"||a.type=="NAND"?"OR":"AND"," "))},Bjb=function(a){a&1&&(K(0),C(1,zjb,2,1,"ng-container",28)(2,Ajb,2,1,"button",29),L());a&2&&(a=O(3).$implicit,z(),D("ngForOf",a.values),z(),D("ngIf",a.type))},Cjb=function(a){a&1&&(F(0,"div",27),C(1,Bjb,3,2,"ng-container",26),G());a&2&&(a=O(4),z(),D("ngIf",a.sessionIsInternal))},Ejb=function(a){if(a&1){var b=u();F(0,"div")(1,"bv2-input-date-picker",63);M("boundValueChange",function(d){v(b);
O(3).$implicit.dateFrom=Djb(d);return x()});G();R(2," and ");F(3,"bv2-input-date-picker",63);M("boundValueChange",function(d){v(b);O(3).$implicit.dateTo=Djb(d);return x()});G()()}if(a&2){a=O(3).$implicit;var c=O(2);z();D("boundValue",c.getDateValue(a.dateFrom))("isRequired",!0);z(2);D("boundValue",c.getDateValue(a.dateTo))("isRequired",!0)}},Fjb=function(a){if(a&1){var b=u();F(0,"div");R(1," the last ");F(2,"input",64);pg("ngModelChange",function(c){v(b);var d=O(3).$implicit;og(d.duration,c)||(d.duration=
c);return x(c)});G();R(3," days. ");G()}a&2&&(a=O(3).$implicit,z(2),ng("ngModel",a.duration))},Gjb=function(a){if(a&1){var b=u();F(0,"div")(1,"bv2-input-date-picker",63);M("boundValueChange",function(d){v(b);O(3).$implicit.dateFrom=Djb(d);return x()});G()()}if(a&2){a=O(3).$implicit;var c=O(2);z();D("boundValue",c.getDateValue(a.dateFrom))("isRequired",!0)}},Hjb=function(a){a&1&&(F(0,"div"),C(1,Ejb,4,4,"div",26)(2,Fjb,4,1,"div",26)(3,Gjb,2,2,"div",26),G());a&2&&(a=O(2).$implicit,z(),D("ngIf",a.type==
"RANGE"||a.type=="NRANGE"),z(),D("ngIf",a.type=="DURATION"||a.type=="NDURATION"),z(),D("ngIf",a.type=="LE"||a.type=="LT"||a.type=="GE"||a.type=="GT"||a.type=="OR"))},Ijb=function(a){if(a&1){var b=u();F(0,"div",35);M("click",function(){v(b);var d=O(2).$implicit,e=O(5);return x(kr(e,d))});F(1,"span",36);R(2);G()()}if(a&2){a=O(2).$implicit;var c=O(5);D("title",(c.hotlists[a.value]==null?null:c.hotlists[a.value].name)||a.value);z(2);S(" ",(c.hotlists[a.value]==null?null:c.hotlists[a.value].name)||a.value,
" ")}},Jjb=function(a,b){a&1&&(F(0,"mat-option",14),R(1),G());a&2&&(a=b.$implicit,D("value",a.hotlistId),z(),S(" ",a.name," "))},Kjb=function(a){if(a&1){var b=u();F(0,"mat-form-field",68)(1,"mat-select",69);pg("ngModelChange",function(d){v(b);var e=O(2).$implicit;og(e.value,d)||(e.value=d);return x(d)});M("selectionChange",function(){v(b);var d=O(7);return x(hr(d))});C(2,Jjb,2,2,"mat-option",13);G()()}if(a&2){a=O(2).$implicit;var c=O(5);z();ng("ngModel",a.value);z();D("ngForOf",c.userHotlists)}},
Ljb=function(a){if(a&1){var b=u();F(0,"div",66);C(1,Ijb,3,2,"div",32)(2,Kjb,3,2,"mat-form-field",67);F(3,"button",34);M("click",function(){v(b);var d=O().$implicit,e=O(3).$implicit,f=O(2);return x(ir(f,e,d))});G()()}if(a&2){a=O().$implicit;var c=O(5);z();D("ngIf",c.chipUnderEdit!==a);z();D("ngIf",c.chipUnderEdit===a)}},Mjb=function(a,b){a&1&&(K(0),C(1,Ljb,4,2,"div",65),L());a&2&&(a=b.$implicit,b=O(5),z(),D("ngIf",b.chipUnderEdit===a||a.value))},Njb=function(a){if(a&1){var b=u();F(0,"button",39);M("click",
function(){v(b);var c=O(3).$implicit,d=O(2);return x(jr(d,c))});R(1);G()}a&2&&(a=O(3).$implicit,z(),S(" + ",a.type=="OR"||a.type=="NAND"?"OR":"AND"," "))},Ojb=function(a){a&1&&(F(0,"div",27),C(1,Mjb,2,1,"ng-container",28)(2,Njb,2,1,"button",29),G());a&2&&(a=O(2).$implicit,z(),D("ngForOf",a.values),z(),D("ngIf",a.type))},Pjb=function(a){if(a&1){var b=u();F(0,"div",35);M("click",function(){v(b);var d=O(2).$implicit,e=O(5);return x(kr(e,d))});F(1,"span",36);R(2);G()()}if(a&2){a=O(2).$implicit;var c=
O(5);D("title",(c.savedSearches[a.value]==null?null:c.savedSearches[a.value].name)||a.value);z(2);S(" ",(c.savedSearches[a.value]==null?null:c.savedSearches[a.value].name)||a.value," ")}},Qjb=function(a,b){a&1&&(F(0,"mat-option",14),R(1),G());a&2&&(a=b.$implicit,D("value",a.searchId),z(),S(" ",a.name," "))},Rjb=function(a){if(a&1){var b=u();F(0,"mat-form-field",68)(1,"mat-select",70);pg("ngModelChange",function(d){v(b);var e=O(2).$implicit;og(e.value,d)||(e.value=d);return x(d)});M("selectionChange",
function(){v(b);var d=O(7);return x(hr(d))});C(2,Qjb,2,2,"mat-option",13);G()()}if(a&2){a=O(2).$implicit;var c=O(5);z();ng("ngModel",a.value);z();D("ngForOf",c.userSavedSearches)}},Sjb=function(a){if(a&1){var b=u();F(0,"div",66);C(1,Pjb,3,2,"div",32)(2,Rjb,3,2,"mat-form-field",67);F(3,"button",34);M("click",function(){v(b);var d=O().$implicit,e=O(3).$implicit,f=O(2);return x(ir(f,e,d))});G()()}if(a&2){a=O().$implicit;var c=O(5);z();D("ngIf",c.chipUnderEdit!==a);z();D("ngIf",c.chipUnderEdit===a)}},
Tjb=function(a,b){a&1&&(K(0),C(1,Sjb,4,2,"div",65),L());a&2&&(a=b.$implicit,b=O(5),z(),D("ngIf",b.chipUnderEdit===a||a.value))},Ujb=function(a){if(a&1){var b=u();F(0,"button",39);M("click",function(){v(b);var c=O(3).$implicit,d=O(2);return x(jr(d,c))});R(1);G()}a&2&&(a=O(3).$implicit,z(),S(" + ",a.type=="OR"||a.type=="NAND"?"OR":"AND"," "))},Vjb=function(a){a&1&&(F(0,"div",27),C(1,Tjb,2,1,"ng-container",28)(2,Ujb,2,1,"button",29),G());a&2&&(a=O(2).$implicit,z(),D("ngForOf",a.values),z(),D("ngIf",
a.type))},Wjb=function(a){a&1&&(F(0,"div",23),C(1,Wib,3,2,"div",24)(2,Yib,2,1,"div",25)(3,cjb,5,4,"div",26)(4,fjb,3,2,"div",24)(5,mjb,3,2,"div",24)(6,tjb,3,2,"div",24)(7,Cjb,2,1,"div",24)(8,Hjb,4,3,"div",26)(9,Ojb,3,2,"div",24)(10,Vjb,3,2,"div",24),G());if(a&2){a=O().$implicit;var b=O(2);z();D("ngIf",a.getWidgetType()==="repeated-enum");z();D("ngIf",a.getWidgetType()==="enum");z();D("ngIf",a instanceof lr);z();D("ngIf",a.getWidgetType()=="text");z();D("ngIf",a.getWidgetType()=="component");z();D("ngIf",
b.isTrackerSearchEnabled&&a.getWidgetType()=="tracker");z();D("ngIf",a.getWidgetType()=="team");z();D("ngIf",a.getWidgetType()==="date");z();D("ngIf",a.getWidgetType()=="hotlist");z();D("ngIf",a.getWidgetType()=="savedsearch")}},Xjb=function(a){a&1&&(F(0,"div",71),R(1),G());if(a&2){a=O().$implicit;var b=O(2);z();S(" ",b.getCustomFieldName(a)," ")}},$jb=function(a){if(a&1){var b=u();F(0,"div",72)(1,"b-custom-field-picker",73);M("fieldSelected",function(c){v(b);var d=O().index,e=O(2),f=c.customFieldId;
e.customFields[f]=c;e.expressions[d]=Yjb(e.searchRuleFactory,"CUSTOM_FIELD",e.customFields[f]);Zjb(e,e.expressions[d]);return x()});G()()}},bkb=function(a,b){if(a&1){var c=u();F(0,"div",15)(1,"div",16)(2,"mat-form-field",11)(3,"mat-select",17);pg("ngModelChange",function(d){var e=v(c).$implicit;og(e.label.field,d)||(e.label.field=d);return x(d)});M("selectionChange",function(){var d=v(c).index,e=O(2);return x(akb(e,d))});C(4,Nib,2,2,"mat-option",13);G()();C(5,Pib,3,2,"mat-form-field",5);G();C(6,Wjb,
11,10,"div",18)(7,Xjb,2,1,"div",19)(8,$jb,2,0,"div",20);F(9,"button",21);M("click",function(){var d=v(c).$implicit,e=O(2);return x(e.removeExpression(d))});G()()}a&2&&(a=b.$implicit,b=O(2),z(3),ng("ngModel",a.label.field),z(),D("ngForOf",b.availableLabels),z(),D("ngIf",!a.isPendingCustomField),z(),D("ngIf",!a.isPendingCustomField),z(),D("ngIf",a.label.customFieldId),z(),D("ngIf",a.isPendingCustomField))},ckb=function(a,b){if(a&1){var c=u();F(0,"button",74);M("click",function(){var d=v(c).$implicit,
e=O(2);e.expressions.push({label:{field:d[0]}});akb(e,e.expressions.length-1);return x()});R(1);G()}a&2&&(a=b.$implicit,z(),S(" ",a[1]," "))},dkb=function(a){a&1&&(F(0,"div",2)(1,"div",3)(2,"span",4),R(3,"Advanced search query builder"),G(),C(4,Mib,4,4,"mat-form-field",5),G(),C(5,bkb,10,6,"div",6),F(6,"div",7)(7,"button",8),R(8),G(),F(9,"mat-menu",9,0),C(11,ckb,2,1,"button",10),G()()());if(a&2){a=Q(10);var b=O();z(4);D("ngIf",b.expressions.length);z();D("ngForOf",b.expressions)("ngForTrackBy",b.trackByIndex);
z(2);D("matMenuTriggerFor",a);z();S(" ",b.expressionType," ... ");z(3);D("ngForOf",b.availableLabels)}},ekb=function(a){a&1&&H(0,"div",3)},fkb=function(a){a&1&&H(0,"div",4)},hkb=function(a){if(a&1){var b=u();F(0,"button",2);M("click",function(){v(b);var c=O();return x(gkb(c))});H(1,"mat-icon",3);R(2);G()}a&2&&(a=O(),D("matTooltip","Open release notes"),z(),D("svgIcon",a.alertMode?"release-notes-alert":"release-notes-default"),z(),S(" ",a.buttonLabel," "))},ikb=function(a){if(a&1){var b=u();F(0,"button",
4);M("click",function(){v(b);var c=O();return x(gkb(c))});R(1);G()}a&2&&(a=O(),z(),S(" ",a.buttonLabel," "))},jkb=function(a){if(a&1){var b=u();F(0,"button",9);M("click",function(c){v(b);var d=O();return x(d.manageSlos(c))});R(1,"Manage SLOs");G()}},kkb=function(a){a&1&&(F(0,"a",13),R(1,"Early Access "),H(2,"b-feature-stage-label",14),G())},lkb=function(a){a&1&&(K(0),H(1,"mat-divider")(2,"b-whats-new-button",15),L());a&2&&(z(2),D("menuMode",!0))},mkb=function(a){a&1&&H(0,"b-whats-new-button",4);a&
2&&(a=O(),D("alertMode",a.majorReleaseNotesUpdated))},nkb=function(a){if(a&1){var b=u();F(0,"button",5);M("click",function(){v(b);var c=O();return x(c.openFeedbackDialog())});H(1,"mat-icon",6);G()}},okb=function(a){if(a&1){var b=u();F(0,"button",5);M("click",function(){v(b);var c=O();return x(c.clickMenu.emit())});H(1,"mat-icon",6);G()}},skb=function(a,b){a&1&&(F(0,"output",7),R(1),G());a&2&&(a=b.$implicit,D("ngClass",a.color?ug(2,pkb,a.color):tg(4,rkb)),z(),lg(a.name))},tkb=function(a){a&1&&(F(0,
"span"),R(1," Currently selected hotlist: "),F(2,"strong"),R(3),G()());a&2&&(a=O(3),z(3),lg(a.header.hotlist.name))},ukb=function(a){a&1&&R(0," Showing your subscribed hotlists. Start typing a hotlist name or ID to filter. ")},vkb=function(a){a&1&&(K(0),C(1,tkb,4,1,"span",11)(2,ukb,1,0,"ng-template",null,0,yg),L());if(a&2){a=Q(3);var b=O(2);z();D("ngIf",b.header.hotlist)("ngIfElse",a)}},wkb=function(a){a&1&&(F(0,"span"),R(1,"Currently selected saved search: "),F(2,"strong"),R(3),G()());a&2&&(a=O(3),
z(3),lg(a.header.savedSearch.name))},xkb=function(a){a&1&&R(0," Showing your saved searches. Start typing a saved search name or ID to filter. ")},ykb=function(a){a&1&&(K(0),C(1,wkb,4,1,"span",11)(2,xkb,1,0,"ng-template",null,1,yg),L());if(a&2){a=Q(3);var b=O(2);z();D("ngIf",b.header.savedSearch)("ngIfElse",a)}},zkb=function(a){a&1&&(F(0,"span"),R(1," and "),F(2,"strong"),R(3,"subcomponents"),G()())},Akb=function(a){a&1&&(F(0,"span"),R(1," Currently selected component: "),F(2,"strong",12),R(3),G(),
H(4,"b-component-access-level-indicator",13)(5,"b-tracker-chip-smart",14),C(6,zkb,4,0,"span",10),G());if(a&2){a=O(3);z(3);var b=a.header.component,c=mr(a.trackerHelpers,b.componentPathInfo);lg(c&&c.componentPathName?c.componentPathName.join(" > "):b.name);z();D("accessLevel",a.header.component.accessLimit==null?null:a.header.component.accessLimit.accessLevel);z();D("trackerId",a.header.component.trackerId);z();D("ngIf",a.header.includeChildren)}},Bkb=function(a){a&1&&R(0," Start typing a component name or ID to see auto-complete suggestions. ")},
Ckb=function(a){a&1&&(K(0),C(1,Akb,7,4,"span",11)(2,Bkb,1,0,"ng-template",null,2,yg),L());if(a&2){a=Q(3);var b=O(2);z();D("ngIf",b.header.component)("ngIfElse",a)}},Dkb=function(a){a&1&&(F(0,"span"),R(1," Currently selected tracker: "),F(2,"strong"),R(3),G()());a&2&&(a=O(3),z(3),lg(a.header.tracker.name))},Ekb=function(a){a&1&&R(0," Start typing a tracker name or ID to see auto-complete suggestions. ")},Fkb=function(a){a&1&&(K(0),C(1,Dkb,4,1,"span",11)(2,Ekb,1,0,"ng-template",null,3,yg),L());if(a&
2){a=Q(3);var b=O(2);z();D("ngIf",b.header.tracker)("ngIfElse",a)}},Gkb=function(a){a&1&&(F(0,"span"),R(1," and "),F(2,"strong"),R(3,"subteams"),G()())},Hkb=function(a){a&1&&(F(0,"span"),R(1," Currently selected team: "),F(2,"strong"),R(3),G(),C(4,Gkb,4,0,"span",10),G());a&2&&(a=O(3),z(3),lg(a.header.team.name),z(),D("ngIf",a.header.includeChildren))},Ikb=function(a){a&1&&R(0," Start typing a team name or ID to see auto-complete suggestions. ")},Jkb=function(a){a&1&&(K(0),C(1,Hkb,5,2,"span",11)(2,
Ikb,1,0,"ng-template",null,4,yg),L());if(a&2){a=Q(3);var b=O(2);z();D("ngIf",b.header.team)("ngIfElse",a)}},Kkb=function(a,b){a&1&&(F(0,"span"),R(1," Currently selected custom field: "),F(2,"strong"),R(3),G(),R(4," of type "),F(5,"strong"),R(6),T(7,"lowercase"),G(),R(8,". "),G());a&2&&(a=b.$implicit,z(3),lg(a.name),z(3),lg(V(7,2,a.type)))},Lkb=function(a){a&1&&R(0," Start typing a custom field name or ID to see auto-complete suggestions. ")},Mkb=function(a){a&1&&(K(0),C(1,Kkb,9,4,"span",11)(2,Lkb,
1,0,"ng-template",null,5,yg),L());if(a&2){a=Q(3);var b=O(2);z();D("ngIf",b.header.customField)("ngIfElse",a)}},Nkb=function(a){a&1&&(F(0,"div",9),C(1,vkb,4,2,"ng-container",10)(2,ykb,4,2,"ng-container",10)(3,Ckb,4,2,"ng-container",10)(4,Fkb,4,2,"ng-container",10)(5,Jkb,4,2,"ng-container",10)(6,Mkb,4,2,"ng-container",10),G());a&2&&(a=O(),z(),D("ngIf",a.header.type==="hotlist"),z(),D("ngIf",a.header.type==="savedsearch"),z(),D("ngIf",a.header.type==="component"),z(),D("ngIf",a.header.type==="tracker"),
z(),D("ngIf",a.header.type==="team"),z(),D("ngIf",a.header.type==="customfield"))},Okb=function(a){a&1&&(F(0,"span"),R(1),G());a&2&&(a=O().$implicit,z(),mg(" ",a.id,": ",a.name," "))},Pkb=function(a){a&1&&(F(0,"span"),R(1),F(2,"span"),R(3),G()());a&2&&(a=O().$implicit,z(),S(" Hotlist ",a.id,": "),z(2),lg(a.name))},Qkb=function(a){a&1&&(F(0,"span"),R(1),F(2,"span"),R(3),G(),H(4,"br"),F(5,"span",16),R(6),G()());a&2&&(a=O().$implicit,z(),S(" Saved search ",a.id,": "),z(2),lg(a.name),z(3),lg(a.query))},
Rkb=function(a){a&1&&(F(0,"span"),R(1),G());a&2&&(a=O().$implicit,z(),S(" ",a.name," "))},Skb=function(a){a&1&&(F(0,"span"),R(1," > "),G())},Ukb=function(a,b){if(a&1){var c=u();K(0);F(1,"span",19);M("click",function(d){var e=v(c).$implicit;Tkb(e);return x(d.stopPropagation())});R(2);G();C(3,Skb,2,0,"span",10);L()}a&2&&(a=b.$implicit,b=b.last,z(),ag("title","",a.id,": ",a.name,""),z(),lg(a.name),z(),D("ngIf",!b))},Vkb=function(a){a&1&&(F(0,"span"),R(1," Component "),F(2,"strong",12),R(3),G(),H(4,"b-component-access-level-indicator",
13)(5,"b-tracker-chip-smart",14),F(6,"span",17),C(7,Ukb,4,5,"ng-container",18),G()());a&2&&(a=O().$implicit,z(3),lg(a.id),z(),D("accessLevel",a.accessLimit==null?null:a.accessLimit.accessLevel),z(),D("trackerId",a.trackerId),z(2),D("ngForOf",a.componentPath))},Wkb=function(a){a&1&&(F(0,"span"),R(1),F(2,"span"),R(3),G()());a&2&&(a=O().$implicit,z(),S(" Tracker ",a.id,": "),z(2),lg(a.name))},Xkb=function(a){a&1&&(F(0,"span"),R(1," > "),G())},Ykb=function(a,b){if(a&1){var c=u();K(0);F(1,"span",19);M("click",
function(d){var e=v(c).$implicit;Tkb(e);return x(d.stopPropagation())});R(2);G();C(3,Xkb,2,0,"span",10);L()}a&2&&(a=b.$implicit,b=b.last,z(),ag("title","",a.id,": ",a.name,""),z(),lg(a.name),z(),D("ngIf",!b))},Zkb=function(a){a&1&&(F(0,"span"),R(1," Team "),F(2,"strong"),R(3),G(),F(4,"span",17),C(5,Ykb,4,5,"ng-container",18),G()());a&2&&(a=O().$implicit,z(3),lg(a.id),z(2),D("ngForOf",a.teamPath))},$kb=function(a){a&1&&(F(0,"span"),R(1," > "),G())},alb=function(a,b){a&1&&(K(0),F(1,"span"),R(2),G(),
C(3,$kb,2,0,"span",10),L());a&2&&(a=b.$implicit,b=b.last,z(2),lg(a),z(),D("ngIf",!b))},blb=function(a){a&1&&(F(0,"span"),R(1),F(2,"span"),R(3),G(),F(4,"span",20),C(5,alb,4,2,"ng-container",18),G()());a&2&&(a=O().$implicit,z(),S(" Custom Field ",a.id,": "),z(2),lg(a.name),z(2),D("ngForOf",a.componentPathNames))},clb=function(a){a&1&&(F(0,"span"),R(1),G());a&2&&(a=O().$implicit,z(),mg(" ",a.label,": ",a.name," "))},elb=function(a,b){if(a&1){var c=u();F(0,"b-app-search-auto-complete-option",15);M("optionClicked",
function(e){v(c);var f=O();e>=0&&e<f.items.length&&(e=f.items[e],e.id&&e.completionCfg&&dlb(e),f.itemSelected.emit(e));return x()});C(1,Okb,2,2,"span",10)(2,Pkb,4,2,"span",10)(3,Qkb,7,3,"span",10)(4,Rkb,2,1,"span",10)(5,Vkb,8,4,"span",10)(6,Wkb,4,2,"span",10)(7,Zkb,6,2,"span",10)(8,blb,6,3,"span",10)(9,clb,2,2,"span",10);G()}if(a&2){a=b.$implicit;b=b.index;var d=O();Df("id","b-app-search-option-",b,"");D("index",b)("isActive",b>=0&&b<d.items.length?b===d.activeItemIndex:!1);z();D("ngIf",a.completionCfg.type===
"issue");z();D("ngIf",a.completionCfg.type==="hotlist");z();D("ngIf",a.completionCfg.type==="savedsearch");z();D("ngIf",a.completionCfg.type==="atom");z();D("ngIf",a.completionCfg.type==="component");z();D("ngIf",a.completionCfg.type==="tracker");z();D("ngIf",a.completionCfg.type==="team");z();D("ngIf",a.completionCfg.type==="customField");z();D("ngIf",!d.SPECIAL_ITEM_TYPES.includes(a.completionCfg.type))}},glb=function(a){if(a&1){var b=u();F(0,"div",22)(1,"input",23,2);pg("ngModelChange",function(c){v(b);
var d=O();og(d.searchName,c)||(d.searchName=c);return x(c)});M("keydown.Tab",function(){v(b);var c=O();return x(flb(c))})("keydown.enter",function(){v(b);var c=O();return x(c.saveSearch())});G();F(3,"button",24);M("click",function(){v(b);var c=O();return x(c.saveSearch())});H(4,"mat-icon",25);G()()}a&2&&(a=O(),z(),ng("ngModel",a.searchName),z(2),D("disabled",!a.searchName))},hlb=function(a){a&1&&(K(0),F(1,"span",10),R(2),G(),L());a&2&&(a=O(),z(),Kf("muted",a.disabled),z(),lg(a.cardTitle))},ilb=function(a){a&
1&&H(0,"mat-icon",11)},jlb=function(a){a&1&&H(0,"mat-icon",12)},klb=function(a){a&1&&(F(0,"mat-select-trigger"),H(1,"mat-icon",20),F(2,"span"),R(3),G()());a&2&&(a=O(3),z(),D("svgIcon",a.selectedOption.icon),z(2),lg(a.selectedOption.displayText))},llb=function(a){a&1&&H(0,"mat-icon",20);a&2&&(a=O().$implicit,D("svgIcon",a.icon))},mlb=function(a,b){a&1&&(F(0,"mat-option",21),C(1,llb,1,1,"mat-icon",22),R(2),G());a&2&&(a=b.$implicit,D("value",a),z(),D("ngIf",a.icon),z(),S("",a.displayText," "))},nlb=
function(a){if(a&1){var b=u();F(0,"mat-form-field",16)(1,"mat-label");R(2," Choose type... ");G();F(3,"mat-select",17);pg("valueChange",function(c){v(b);var d=O(2);og(d.selectedOption,c)||(d.selectedOption=c);return x(c)});M("selectionChange",function(c){v(b);O(2).dropdownSelectionChanged.emit(c.value);return x()});C(4,klb,4,2,"mat-select-trigger",18)(5,mlb,3,3,"mat-option",19);G()()}a&2&&(a=O(2),z(3),D("disabled",a.disabled),ng("value",a.selectedOption),z(),D("ngIf",a.selectedOption&&a.selectedOption.icon),
z(),D("ngForOf",a.dropdownOptions))},olb=function(a){if(a&1){var b=u();F(0,"mat-form-field",13)(1,"input",14);M("ngModelChange",function(c){v(b);var d=O();return x(d.cardTitleChange.emit(c))});G()();C(2,nlb,6,4,"mat-form-field",15)}a&2&&(a=O(),z(),Kf("muted",a.disabled||!a.selected),D("placeholder",a.placeholderForCardTitle)("disabled",a.disabled||!a.selected)("ngModel",a.cardTitle),Bf("aria-label",a.ariaLabelForCardTitle),z(),D("ngIf",a.dropdownOptions.length))},plb=function(a){a&1&&(F(0,"div",23),
Yf(1),G())},qlb=function(a){a&1&&(F(0,"button",31),H(1,"mat-icon",32),G());a&2&&(a=O(2),D("disabled",a.disabled))},rlb=function(a){a&1&&H(0,"mat-divider",33);a&2&&D("vertical",!0)},slb=function(a){a&1&&(F(0,"mat-slide-toggle",34),R(1," Required "),G());a&2&&(a=O(2),D("disabled",a.disabled))},tlb=function(a){if(a&1){var b=u();F(0,"mat-slide-toggle",35);M("change",function(c){v(b);var d=O(2);return x(d.isInheritedChange.emit(c))});R(1," Inherited ");G()}a&2&&(a=O(2),D("checked",a.isInherited)("disabled",
a.inheritedDisabled)("matTooltip",a.inheritedDisabledTooltipText)("matTooltipDisabled",!a.inheritedDisabled))},ulb=function(a){if(a&1){var b=u();F(0,"div",24)(1,"button",25);M("click",function(){v(b);var c=O();return x(c.onSave())});R(2," Save ");G();F(3,"button",26);M("click",function(){v(b);var c=O();return x(c.onCancel())});R(4," Cancel ");G();C(5,qlb,2,1,"button",27)(6,rlb,1,1,"mat-divider",28)(7,slb,2,1,"mat-slide-toggle",29)(8,tlb,2,4,"mat-slide-toggle",30);G()}a&2&&(a=O(),z(),D("disabled",
a.isSaveButtonDisabled),z(2),D("disabled",a.disabled),z(2),D("ngIf",a.showDeleteButton),z(),D("ngIf",a.showDeleteButton&&a.showRequiredToggle),z(),D("ngIf",a.showRequiredToggle),z(),D("ngIf",a.showInheritedToggle))},vlb=function(a,b){a&1&&(F(0,"mat-option",9),R(1),G());a&2&&(a=b.$implicit,D("value",a),z(),lg(a.name))},wlb=function(a){if(a&1){var b=u();F(0,"mat-form-field")(1,"mat-select",8);pg("valueChange",function(c){v(b);var d=O();og(d.selected,c)||(d.selected=c);return x(c)});Qf(2,vlb,2,2,"mat-option",
9,Pf);G()()}a&2&&(a=O(),z(),ng("value",a.selected),z(),Rf(a.options))},xlb=function(a){a&1&&R(0,"All the available shared fields have been activated.")},ylb=function(a){a&1&&(F(0,"div"),R(1," Once activated, the shared field will appear in the right panel of all issues. This only affects the visibility of the shared field in Buganizer UI. "),F(2,"a",10),R(3,"Learn more"),G()())},zlb=function(a){return Ywa(a.getIt())},Alb=function(a){a&1&&(F(0,"h3"),R(1),G());a&2&&(a=O(2),z(),S(" Edit Custom Field ",
a.editableField.customFieldId," "))},Blb=function(a){a&1&&(F(0,"h3"),R(1," Create Custom Field "),G())},Clb=function(a){a&1&&(F(0,"div",43),R(1),G());a&2&&(a=O(2),z(),S(" ",a.serverError," "))},Elb=function(a,b){a&1&&(F(0,"button",44),R(1),T(2,"enumToHuman"),G());a&2&&(a=b.$implicit,O(),b=Q(32),D("matMenuTriggerFor",b)("matMenuTriggerData",ug(5,Dlb,a)),z(),S(" ",V(2,3,a)," "))},Flb=function(a,b){if(a&1){var c=u();F(0,"button",46);M("click",function(){var d=v(c).$implicit,e=O().type,f=O(2);return x(f.setType(e,
d==="Multiple"))});R(1);G()}a&2&&(a=b.$implicit,z(),S(" ",a," "))},Glb=function(a){a&1&&C(0,Flb,2,1,"button",45);a&2&&(a=O(2),D("ngForOf",a.secondaryTypes))},Ilb=function(a){if(a&1){var b=u();F(0,"td",15)(1,"label",47);R(2," Allowed Values: ");G();F(3,"b-list-field",48);M("valuesChange",function(c){v(b);var d=O(2);return x(Hlb(d,c.values))});G()()}a&2&&(a=O(2),z(3),D("defaultLineCount",3)("type",a.ListFieldType.REPEATED_TEXT)("values",a.editableField.allowedValue||null)("listFieldDisabled",a.isSaving)("preventDuplicates",
!0)("isDefaultOrAllowedValues",!0)("truncate",!0))},Jlb=function(a){a&1&&(F(0,"label",49),R(1," Default Value: "),G())},Mlb=function(a,b){if(a&1){var c=u();F(0,"b-edit-field",50);M("valueChange",function(d){v(c);var e=O(2);Klb(e,d);return x()});G()}a&2&&(a=b.ngIf,b=O(2),D("name","Default")("type",a)("tooltip","Set default value")("value",Llb(b))("choices",b.allowedValues)("showEnumTitle",!0)("disabled",b.isSaving)("truncate",!0)("clearable",!0))},Nlb=function(a){a&1&&(F(0,"label",51),R(1," Default Values: "),
G())},Olb=function(a,b){if(a&1){var c=u();F(0,"b-list-field",52);M("valuesChange",function(d){v(c);var e=O(2);Klb(e,d.values);return x()});G()}a&2&&(a=b.ngIf,b=O(2),D("defaultLineCount",3)("type",a)("tooltip","Set default values")("values",b.getListFieldValues())("enumChoices",b.allowedValues)("isDefaultOrAllowedValues",!0)("listFieldDisabled",b.isSaving)("truncate",!0))},Plb=function(a,b){if(a&1){var c=u();F(0,"button",53);M("click",function(){var d=v(c).$implicit,e=O(2);return x(e.setFieldSignificance(d))});
R(1);T(2,"enumToHuman");G()}a&2&&(a=b.$implicit,z(),S(" ",V(2,1,a)," "))},Qlb=function(a){if(a&1){var b=u();F(0,"div",12);C(1,Alb,2,1,"h3",11)(2,Blb,2,0,"h3",11)(3,Clb,2,1,"div",13);F(4,"form",14)(5,"div",15)(6,"label",16);R(7,"Name:");G();F(8,"input",17);pg("ngModelChange",function(h){v(b);var k=O();og(k.editableField.name,h)||(k.editableField.name=h);return x(h)});G()();F(9,"div",15)(10,"label",18);R(11,"Description:");G();F(12,"textarea",19);pg("ngModelChange",function(h){v(b);var k=O();og(k.editableField.description,
h)||(k.editableField.description=h);return x(h)});G()();F(13,"table",20)(14,"tr")(15,"td",15)(16,"div",21)(17,"label",22);R(18," Type: ");G();F(19,"onedev-hovercard",null,0)(21,"div",23)(22,"div",24);R(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. ");G()()()();F(24,"button",25);R(25);T(26,"enumToHuman");H(27,"b-icon",26);G();F(28,"mat-menu",null,1);C(30,Elb,3,7,"button",27);G();F(31,"mat-menu",null,2);C(33,
Glb,1,1,"ng-template",28);G()();C(34,Ilb,4,7,"td",29);F(35,"td",15);C(36,Jlb,2,0,"label",30)(37,Mlb,1,9,"b-edit-field",31)(38,Nlb,2,0,"label",32)(39,Olb,1,8,"b-list-field",33);G();F(40,"td",15)(41,"label",34);R(42," Required: ");G();F(43,"b-edit-field",35);M("valueChange",function(h){v(b);var k=O();return x(k.editableField.required=!!h)});G()();F(44,"td",15)(45,"div",21)(46,"label",36);R(47," Field Significance: ");G();F(48,"onedev-hovercard",null,3)(50,"div",37)(51,"div",24);R(52," This affects whether users will receive notifications when changes are made to this field. ");
H(53,"br");R(54," See\u00a0 ");F(55,"a",38);R(56,"Email Settings ");G()()()()();F(57,"button",39);R(58);T(59,"enumToHuman");H(60,"b-icon",26);G();F(61,"mat-menu",null,4);C(63,Plb,3,3,"button",40);G()()()();F(64,"button",41);M("click",function(){v(b);var h=O();return x(h.save())});R(65," Save ");G();F(66,"button",42);M("click",function(){v(b);var h=O();return x(h.cancel())});R(67," Cancel ");G()()()}if(a&2){a=Q(20);var c=Q(29),d=Q(49),e=Q(62),f=O();z();D("ngIf",!!f.editableField.customFieldId);z();
D("ngIf",!f.editableField.customFieldId);z();D("ngIf",f.serverError);z(5);D("bFocus",f.editableField&&!f.isLoading);ng("ngModel",f.editableField.name);D("disabled",f.isSaving);z(4);ng("ngModel",f.editableField.description);D("disabled",f.isSaving);z(5);D("onedevHovercardTrigger",a);z(7);D("matMenuTriggerFor",c)("disabled",!!f.editableField.customFieldId);z();S(" ",V(26,28,f.editableField.type)," ");z(5);D("ngForOf",f.typeChoices);z(4);D("ngIf",["REPEATED_ENUM","ENUM"].includes(f.editableField.type));
z(2);D("ngIf",!f.isRepeated(f.editableField));z();D("ngIf",f.getSingleEditFieldType(f.editableField));z();D("ngIf",f.isRepeated(f.editableField));z();D("ngIf",f.getListFieldType(f.editableField));z(4);D("name","Required")("type",f.FieldType.BOOL)("tooltip","Whether the field is required")("value",f.editableField.required);z(3);D("onedevHovercardTrigger",d);z(9);D("href",f.documentationLinks.baseDocumentationUrl+"/concepts/settings#email",Qe);z(2);D("matMenuTriggerFor",e);z();S(" ",V(59,30,f.editableField.fieldSignificance),
" ");z(5);D("ngForOf",f.significanceChoices);z();D("disabled",!f.hasUnsavedChanges()||!f.editableField.name)}},Rlb=function(a){a&1&&(F(0,"div",54),H(1,"b-spinner",55),G());a&2&&(z(),D("large",!0))},Slb=function(a){a&1&&(F(0,"th"),R(1,"Actions"),G())},Ulb=function(a){if(a&1){var b=u();F(0,"td",62)(1,"button",63);M("click",function(){v(b);var c=O().index,d=O(2);return x(d.editField(c))});R(2,"Edit");G();F(3,"button",63);M("click",function(){v(b);var c=O().index,d=O(2);return x(Tlb(d,c))});R(4,"Delete");
G()()}},Vlb=function(a,b){a&1&&(F(0,"tr",59)(1,"td"),R(2),G(),F(3,"td"),R(4),G(),F(5,"td"),R(6),T(7,"enumToHuman"),G(),F(8,"td"),R(9),G(),F(10,"td"),R(11),T(12,"yesNo"),G(),F(13,"td"),H(14,"b-custom-field-value-display",60),G(),F(15,"td"),R(16),T(17,"arrayToHuman"),G(),F(18,"td"),R(19),T(20,"enumToHuman"),G(),C(21,Ulb,5,0,"td",61),G());a&2&&(a=b.$implicit,b=O(2),D("ngClass",a.enabledOnIssues?"enabled-field":"disabled-field"),z(2),lg(a.name),z(2),lg(a.customFieldId),z(2),lg(V(7,10,a.type)),z(3),lg(a.description),
z(2),lg(V(12,12,a.required)),z(3),D("customFieldValue",a.typedDefaultValue),z(2),lg(V(17,14,a.allowedValue)),z(3),lg(V(20,16,a.fieldSignificance)),z(2),D("ngIf",b.editMode))},Wlb=function(a){a&1&&(F(0,"tr")(1,"td",64),R(2," There are no custom fields defined on this component. "),G()())},Xlb=function(a){a&1&&(F(0,"tr")(1,"td",65)(2,"strong"),R(3,"Fields inherited from parent components"),G()()())},Ylb=function(a){a&1&&(K(0),H(1,"b-component-card",71,6),L());if(a&2){a=Q(2);var b=O().$implicit;z();
D("onedevIsHovercardReady",a.init)("componentId",b.componentId.toString())}},$lb=function(a){if(a&1){var b=u();F(0,"b-field-state-menu",72,7);M("fieldStateChange",function(d){v(b);var e=O(),f=e.$implicit;e=e.index;var h=O(3);return x(h.updateCustomFieldState(f,d,e))});G()}if(a&2){a=O().$implicit;var c=O(3);D("fieldName",a.name)("fieldState",a.stateOnIssues)("enabledOnParent",Zlb(c,a.customFieldId))("disabled",!c.editMode)("matTooltip",c.msgFieldStateTip);Bf("aria-label",c.msgFieldStateTip)}},amb=
function(a,b){if(a&1){var c=u();F(0,"tr",59)(1,"td");R(2);G();F(3,"td");R(4);G();F(5,"td");R(6);T(7,"enumToHuman");G();F(8,"td");R(9);G();F(10,"td");R(11);T(12,"yesNo");G();F(13,"td");H(14,"b-custom-field-value-display",60);G();F(15,"td");R(16);T(17,"arrayToHuman");G();F(18,"td");R(19);T(20,"enumToHuman");G();F(21,"td",62)(22,"div",66)(23,"div",67);R(24,"Inherited From");G();F(25,"a",68);M("click",function(){v(c);var e=O(3);return x(e.trackClick("parentCustomFields"))});R(26);G();F(27,"onedev-hovercard",
null,5);C(29,Ylb,3,2,"ng-container",69);G()();C(30,$lb,2,6,"b-field-state-menu",70);G()()}if(a&2){a=b.$implicit;b=Q(28);var d=O(3);D("ngClass",a.enabledOnIssues?"enabled-field":"disabled-field");z(2);lg(a.name);z(2);lg(a.customFieldId);z(2);lg(V(7,13,a.type));z(3);lg(a.description);z(2);lg(V(12,15,a.required));z(3);D("customFieldValue",a.typedDefaultValue);z(2);lg(V(17,17,a.allowedValue));z(3);lg(V(20,19,a.fieldSignificance));z(6);D("onedevHovercardTrigger",b)("href",d.ROUTES.editComponentFields.makeHref(a.componentId),
Qe);z();S(" ",d.componentIdsToNames[a.componentId]," ");z(4);D("ngIf",d.editMode)}},bmb=function(a){a&1&&(K(0),C(1,amb,31,21,"tr",57),L());a&2&&(a=O(2),z(),D("ngForOf",a.inheritedCustomFields))},cmb=function(a){a&1&&(F(0,"tr")(1,"td",65)(2,"strong"),R(3,"Shared fields"),G()()())},emb=function(a){if(a&1){var b=u();F(0,"div",62)(1,"button",75);M("click",function(){v(b);var d=O().$implicit,e=O(3);return x(dmb(e,d.customFieldId))});R(2," Deactivate ");G()()}if(a&2){a=O().$implicit;var c=O(3);z();D("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.":"")}},fmb=function(a,b){a&1&&(F(0,"tr",74)(1,"td"),R(2),G(),F(3,"td"),R(4),G(),F(5,"td"),R(6),T(7,"enumToHuman"),G(),F(8,"td"),R(9),G(),F(10,"td"),R(11),T(12,"yesNo"),G(),F(13,"td"),H(14,"b-custom-field-value-display",60),G(),
F(15,"td"),R(16),T(17,"arrayToHuman"),G(),F(18,"td"),R(19),T(20,"enumToHuman"),G(),F(21,"td"),C(22,emb,3,2,"div",61),G()());a&2&&(a=b.$implicit,b=O(3),z(2),lg(a.name),z(2),lg(a.customFieldId),z(2),lg(V(7,9,a.type)),z(3),lg(a.description),z(2),lg(V(12,11,a.required)),z(3),D("customFieldValue",a.typedDefaultValue),z(2),lg(V(17,13,a.allowedValue)),z(3),lg(V(20,15,a.fieldSignificance)),z(3),D("ngIf",b.editMode))},gmb=function(a){a&1&&(K(0),C(1,fmb,23,17,"tr",73),L());a&2&&(a=O(2),z(),D("ngForOf",a.sharedFields))},
hmb=function(a){a&1&&(F(0,"tfoot")(1,"tr")(2,"td",65),R(3," Custom fields in this table are sorted alphabetically. To see or modify field ordering, go to the "),F(4,"a",76),R(5,"Field Ordering"),G(),R(6," tab."),H(7,"br"),R(8," Before removing custom fields or adding/changing required state, ensure that no automation depends on them. "),G()()())},kmb=function(a){if(a&1){var b=u();F(0,"button",80);M("click",function(){v(b);var c=O(3);return x(imb(c))});R(1," Activate a Shared Field ");G()}a&2&&(a=
O(3),D("disabled",jmb(a).length==0))},mmb=function(a){if(a&1){var b=u();F(0,"div",77)(1,"button",78);M("click",function(){v(b);var c=O(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=qi(c.editableField);c.setType("TEXT");c.allowedValues=[];c.serverError=null;return x()});R(2," Add a Custom Field ");
G();C(3,kmb,2,1,"button",79);G()}a&2&&(a=O(2),z(3),D("ngIf",lmb(a)))},nmb=function(a){a&1&&(F(0,"div")(1,"table",56)(2,"tr")(3,"th"),R(4,"Name"),G(),F(5,"th"),R(6,"ID"),G(),F(7,"th"),R(8,"Type"),G(),F(9,"th"),R(10,"Description"),G(),F(11,"th"),R(12,"Required?"),G(),F(13,"th"),R(14,"Default Value"),G(),F(15,"th"),R(16,"Allowed Values"),G(),F(17,"th"),R(18,"Field Significance"),G(),C(19,Slb,2,0,"th",11),G(),C(20,Vlb,22,18,"tr",57)(21,Wlb,3,0,"tr",11)(22,Xlb,4,0,"tr",11)(23,bmb,2,1,"ng-container",11)(24,
cmb,4,0,"tr",11)(25,gmb,2,1,"ng-container",11)(26,hmb,9,0,"tfoot",11),G(),C(27,mmb,4,1,"div",58),G());a&2&&(a=O(),z(19),D("ngIf",a.editMode),z(),D("ngForOf",a.customFields),z(),D("ngIf",!a.customFields.length),z(),D("ngIf",a.inheritedCustomFields.length),z(),D("ngIf",a.inheritedCustomFields.length),z(),D("ngIf",a.sharedFields.length),z(),D("ngIf",a.sharedFields.length),z(),D("ngIf",a.customFields.length),z(),D("ngIf",a.editMode))},omb=function(a){if(a&1){var b=u();F(0,"button",18);M("click",function(){v(b);
var c=O().index,d=O();return x(d.removeAtIndex.emit(c))});H(1,"mat-icon",19);G()}a&2&&(a=O().$implicit,Bf("aria-label","Delete row "+a.label))},pmb=function(a,b){if(a&1){var c=u();F(0,"div",11)(1,"div",12);H(2,"mat-icon",13);F(3,"div",3)(4,"mat-form-field",14)(5,"input",15,0);M("change",function(d){var e=v(c).index,f=O();f.options[e].label=d.target.value;f.optionsChange.emit(f.options);return x()});G()()();F(7,"div",3)(8,"mat-form-field",14)(9,"input",16,1);M("change",function(d){var e=v(c).index,
f=O();return x(f.valueChange(d,e))});G()()();C(11,omb,2,1,"button",17);G()()}a&2&&(a=b.$implicit,b=O(),z(4),D("appearance","outline"),z(),Kf("muted",b.disabled),D("value",a.label)("placeholder",a.label==null?"Dropdown value":"")("disabled",b.disabled),z(3),D("appearance","outline"),z(),Kf("muted",b.disabled),D("value",a.value)("placeholder",a.value==null?"Average days":"")("disabled",b.disabled),z(2),D("ngIf",!b.disabled))},qmb=function(a){if(a&1){var b=u();F(0,"button",20);M("click",function(){v(b);
var c=O();return x(c.addRow.emit())});R(1," Add row\n");G()}},rmb=function(a){a&1&&Sf(0)},smb=function(a){a&1&&(K(0),C(1,rmb,1,0,"ng-container",5),L());a&2&&(O(),a=Q(7),z(),D("ngTemplateOutlet",a))},tmb=function(a){if(a&1){var b=u();K(0);F(1,"b-numeric-config",6);pg("valueChange",function(c){v(b);var d=O();og(d.numericSpecMultiplier,c)||(d.numericSpecMultiplier=c);return x(c)});G();L()}a&2&&(a=O(),z(),D("disabled",a.disabled),ng("value",a.numericSpecMultiplier))},umb=function(a){a&1&&Sf(0)},vmb=function(a){if(a&
1){var b=u();F(0,"div",7)(1,"label",8);R(2,"Aggregation Rule");G();F(3,"a",9);H(4,"mat-icon",10);G();H(5,"br");F(6,"mat-form-field",11)(7,"mat-select",12);pg("valueChange",function(c){v(b);var d=O();og(d.selectedAggregationRule,c)||(d.selectedAggregationRule=c);return x(c)});F(8,"mat-select-trigger");R(9);T(10,"aggregationRuleText");G();F(11,"mat-option",13)(12,"div",14);R(13);T(14,"aggregationRuleText");G();F(15,"div",15);R(16,"All parents and children are added to the total");G()();F(17,"mat-option",
13)(18,"div",14);R(19);T(20,"aggregationRuleText");G();F(21,"div",15);R(22,"Take the assigned estimate if larger than total of all immediate children");G()()()()()}a&2&&(a=O(),z(7),ng("value",a.selectedAggregationRule),D("disabled",a.disabled),z(2),S(" ",V(10,7,a.selectedAggregationRule)," "),z(2),D("value",a.aggregationRules.SUM),z(2),lg(V(14,9,a.aggregationRules.SUM)),z(4),D("value",a.aggregationRules.MAX),z(2),lg(V(20,11,a.aggregationRules.MAX)))},wmb=function(a){if(a&1){var b=u();F(0,"b-config-grid",
16);pg("optionsChange",function(c){v(b);var d=O();og(d.enumSpecOptions,c)||(d.enumSpecOptions=c);return x(c)});M("addRow",function(){v(b);var c=O();return x(c.addRow())})("removeAtIndex",function(c){v(b);O().enumSpecOptions.splice(c,1);return x()});G()}a&2&&(a=O(),ng("options",a.enumSpecOptions),D("disabled",a.disabled||a.inherit))},xmb=function(a){a&1&&(F(0,"div",8),H(1,"b-team-warning",9),G());a&2&&(a=O().ngIf,z(),D("warningType",a)("messageOnly",!0))},ymb=function(a,b){a&1&&(K(0),C(1,xmb,2,2,"div",
7),L());a&2&&(a=b.ngIf,b=O(),z(),D("ngIf",b.isAdmin&&(a==="MISSING"||a==="DELETED")))},zmb=function(a){if(a&1){var b=u();F(0,"div",10)(1,"mat-checkbox",11);M("change",function(c){v(b);var d=O();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()});R(2," Override the inherited team ");G()()}a&2&&(a=O(),z(),D("disabled",!a.isAdmin)("checked",!a.inherit))},Bmb=function(a){if(a&
1){var b=u();F(0,"a",13);M("click",function(){v(b);O(2);Gn("component","navigate","to-internal-team-page");return x()});H(1,"mat-icon",14);G()}a&2&&(a=O(2),D("routerLink",Amb(a)?"/teams/"+a.model.id+"/edit":null)("target",a.anchorTarget))},Cmb=function(a){a&1&&(K(0),C(1,Bmb,2,2,"a",12),L());a&2&&(a=O(),z(),D("ngIf",Amb(a)))},Dmb=function(a){if(a&1){var b=u();F(0,"a",16);M("click",function(){v(b);var c=O(2);Gn("component","linkout-moma","team",Number(c.model.id));return x()});H(1,"mat-icon",14);G()}a&
2&&(a=O(2),Bf("href",a.getMomaTeamLink(),Qe))},Emb=function(a){a&1&&C(0,Dmb,2,1,"a",15);a&2&&(a=O(),D("ngIf",Amb(a)))},Hmb=function(a,b){if(a&1){var c=u();F(0,"li",11);M("keydown",function(e){var f=v(c).index,h=O();return x(h.onKeyDown(e,f))})("focus",function(){var e=v(c).index,f=O();return x(f.onFocus(e))});H(1,"mat-icon",12);F(2,"span");R(3);G();F(4,"div",13)(5,"button",14);M("click",function(){var e=v(c).index,f=O();return x(Fmb(f,e))});H(6,"mat-icon",15);G();F(7,"button",16);M("click",function(){var e=
v(c).index,f=O();return x(Gmb(f,e))});H(8,"mat-icon",17);G()()()}if(a&2){a=b.$implicit;b=b.index;var d=O();Bf("aria-label",a.name)("aria-grabbed",b===d.grabbedIndex);z(3);lg(a.name);z(2);Kf("invisible",b===0);z(2);Kf("invisible",b===d.fields.length-1)}},Imb=function(a){a&1&&(F(0,"th",14),R(1," Order"),G())},Jmb=function(a,b){a&1&&(F(0,"td",15),R(1),G());a&2&&(a=b.index,z(),S(" ",a+1," "))},Kmb=function(a){a&1&&(F(0,"th",14),R(1," Name"),G())},Lmb=function(a,b){a&1&&(F(0,"td",15),R(1),G());a&2&&(a=
b.$implicit,z(),S(" ",a.name," "))},Mmb=function(a){a&1&&(F(0,"th",14),R(1," Type"),G())},Nmb=function(a,b){a&1&&(F(0,"td",15),R(1),T(2,"toCustomFieldTypeDisplayValue"),G());a&2&&(a=b.$implicit,z(),S(" ",V(2,1,a.type)," "))},Omb=function(a){a&1&&(F(0,"th",14),R(1," Required"),G())},Pmb=function(a,b){a&1&&(F(0,"td",15),R(1),G());a&2&&(a=b.$implicit,z(),S(" ",a.required?"Yes":"No"," "))},Qmb=function(a){a&1&&(F(0,"th",14),R(1," ID"),G())},Rmb=function(a,b){a&1&&(F(0,"td",15),R(1),G());a&2&&(a=b.$implicit,
z(),S(" ",a.customFieldId," "))},Smb=function(a){a&1&&H(0,"tr",16)},Tmb=function(a){a&1&&H(0,"tr",17)},Umb=function(a){a&1&&(F(0,"div",18),R(1," There are no custom fields defined on this component. "),G())},Xmb=function(a){if(a&1){var b=u();F(0,"div",19)(1,"div")(2,"button",20);M("click",function(){v(b);var c=O();return x(Vmb(c))});R(3," Reorder fields ");G();F(4,"button",20);M("click",function(){v(b);var c=O();return x(Wmb(c))});R(5," Reset ordering ");G()()()}a&2&&(a=O(),z(2),D("disabled",a.fields.length===
0),z(2),D("disabled",a.fieldOrdering!=="CUSTOMIZED"))},Ymb=function(a){a&1&&(F(0,"span"),R(1),G());a&2&&(a=O(),z(),a=a.lineNumbers.length,S(" (",a+(a==1?" TODO":" TODOs"),") "))},$mb=function(a,b){if(a&1){var c=u();F(0,"li",5)(1,"a",6);M("click",function(){v(c);var d=O(2);return x(d.trackClick("lineNumber"))});R(2);G()()}a&2&&(a=b.$implicit,b=O(2),z(),D("href",Zmb(b,a),Qe),z(),lg(a))},anb=function(a){a&1&&(F(0,"span"),R(1," ("),F(2,"ul",3),C(3,$mb,3,2,"li",4),G(),R(4,") "),G());a&2&&(a=O(),z(3),D("ngForOf",
a.lineNumbers))},bnb=function(a){a&1&&(F(0,"a",10),R(1," Create Component "),G());a&2&&(a=O(),D("href",a.createComponentPath,Qe))},cnb=function(a){if(a&1){var b=u();F(0,"xap-dialog-layout",11)(1,"xap-dialog-layout-content")(2,"b-team-component-picker",12);T(3,"async");M("selectedComponentChange",function(d){v(b);var e=O();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(zo.editComponent.makeHref(d.componentId)));
return x()});G()()()}if(a&2){var c;a=O();z(2);D("includeArchived",(c=V(3,4,a.includeArchived$))!==null&&c!==void 0?c:!1)("placeholder","Choose Component to navigate to that component")("shouldFocus",!0)("isRequired",!1)}},enb=function(a){if(a&1){var b=u();F(0,"div",13)(1,"b-slide-toggle",14);T(2,"async");M("modelChange",function(d){v(b);var e=O();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&&dnb(e,d,(0,W.firstValueFrom)(e.topLevelComponents$));return x()});G()()}if(a&2){var c;a=O();z();D("model",(c=V(2,2,a.includeArchived$))!==null&&c!==void 0?c:!1)("tooltip",a.includeArchived?"Show archived components.":"Hide archived components.")}},fnb=function(a){a&1&&(F(0,"div",15),H(1,"b-spinner",16),G())},gnb=function(a){a&1&&(F(0,"p",3),R(1),G());a&2&&(a=O(),z(),lg(a.packageMentionSet.packageName))},hnb=function(a,b){a&1&&(F(0,"li"),H(1,"b-file-mention",4),
G());a&2&&(a=b.$implicit,b=O(),z(),D("issueId",b.issueId)("packageName",b.packageMentionSet.packageName)("filename",a.filename)("lineNumbers",a.lineNumber)("changeNumber",a.changeNumber))},knb=function(a){a&1&&(F(0,"span"),R(1),F(2,"b"),R(3),G(),R(4," on "),F(5,"b"),R(6),T(7,"date"),G(),R(8,". "),G());a&2&&(a=O(4),z(),S(" Currently, the ",a.contentType," is scheduled for deletion in "),z(2),lg(inb(jnb(a).getTime(),!0)),z(3),lg(xg(7,3,jnb(a),"longDate")))},lnb=function(a){a&1&&(F(0,"span")(1,"b"),
R(2,"Retention:"),G(),R(3),F(4,"b"),R(5),G(),R(6," from the last modification of the issue. "),C(7,knb,9,6,"span",11),G());if(a&2){a=O(3);var b=Q(10);z(3);S(" This ",a.contentType," has a retention period of ");z(2);lg(a.getRetentionPeriod());z(2);D("ngIf",!(jnb(a).getTime()<(new ui).getTime()))("ngIfElse",b)}},mnb=function(a){a&1&&(R(0),F(1,"b"),R(2,"overridden"),G(),R(3," retention period set to match the issue retention period. "));a&2&&(a=O(3),S(" The ",a.contentType," has an "))},nnb=function(a){a&
1&&(F(0,"p",10),C(1,lnb,8,4,"span",11)(2,mnb,4,1,"ng-template",12),G());if(a&2){a=O(2);var b=Q(8);D("ngSwitch",a.retention);z();D("ngIf",!(a.retentionState&&!a.retentionState.scheduledDeletionTime))("ngIfElse",b);z();D("ngSwitchCase",a.retentionModel.INDEFINITE)}},onb=function(a){a&1&&(F(0,"div",7)(1,"p")(2,"b"),R(3,"Restricted Access:"),G(),R(4),F(5,"a",8),R(6," Learn More "),G()(),C(7,nnb,3,4,"p",9),G());a&2&&(a=O(),z(4),S(" This ",a.contentType," is only available to users with the appropriate permissions. "),
z(),D("rel",a.EXTERNAL_LINK_REL),Bf("href",a.documentationLinks.getRestrictedAccessHelpLink(),Qe),z(2),D("ngIf",a.retentionState))},pnb=function(a){a&1&&(F(0,"b"),R(1,"Retention:"),G(),R(2));a&2&&(a=O(),z(2),S(" This ",a.contentType," has an indefinite retention period. "))},qnb=function(a){a&1&&(R(0," The retention has "),F(1,"b"),R(2,"expired"),G(),R(3),F(4,"b"),R(5),T(6,"date"),G(),R(7,". "));a&2&&(a=O(),z(3),S(" and the ",a.contentType," was scheduled for deletion on "),z(2),lg(xg(6,2,jnb(a),
"longDate")))},rnb=function(a){a&1&&(F(0,"div",5),R(1),G());a&2&&(a=O(),z(),S(" Signed in as ",a.activeSession.getUserEmail()," "))},snb=function(a){a&1&&(F(0,"span",6),R(1," Select at least one tracker "),G())},tnb=function(a,b){if(a&1){var c=u();F(0,"div",7)(1,"mat-checkbox",8);M("change",function(d){var e=v(c).$implicit,f=O();return x(f.trackerCheckboxValues[e.trackerId]=d.checked)});R(2);G()()}a&2&&(a=b.$implicit,b=O(),z(),D("checked",b.trackerCheckboxValues[a.trackerId]||!1),z(),S(" ",a.name,
" "))},unb=function(a){a&1&&(H(0,"b-tracker-search",6),T(1,"async"));a&2&&(a=O(),D("currentTrackerId",a.currentTracker.trackerId)("availableTrackers",V(1,2,a.availableTrackers$)))},vnb=function(a){a&1&&(F(0,"div",7),H(1,"b-spinner"),F(2,"span"),R(3,"Initializing query builder..."),G()())},wnb=function(a){a&1&&(F(0,"div",10),H(1,"mat-icon",11),F(2,"p"),R(3," The query is too complex to show in the query builder. You can still perform the search or save the search. "),G()())},xnb=function(a){a&1&&(F(0,
"div"),R(1," We cannot understand your query because it seems to be incorrect (syntactically). Make sure all parentheses are balanced and all labels have values. "),G())},ynb=function(a){a&1&&(F(0,"div",8),C(1,wnb,4,0,"div",9)(2,xnb,2,0,"div",5),G());a&2&&(a=O(),z(),D("ngIf",(a.advancedSearchCtrl==null?null:a.advancedSearchCtrl.getState())==="NOT_REPRESENTABLE"),z(),D("ngIf",(a.advancedSearchCtrl==null?null:a.advancedSearchCtrl.getState())==="SYNTAX_ERROR"))},znb=function(a){a&1&&(F(0,"div",8),R(1,
" We encountered a problem while retrieving the interpretation of the search query from the server. Please try again. "),G())},Anb=function(a){a&1&&H(0,"b-tracker-account-menu-hack")},Bnb=function(a){a&1&&(F(0,"span"),R(1),H(2,"span",16),G());a&2&&(a=O(2).$implicit,z(),S(" ",a.diff.oldValue," "))},Cnb=function(a){a&1&&(F(0,"span")(1,"label"),R(2),G(),C(3,Bnb,3,1,"span",15),R(4),G());a&2&&(a=O().$implicit,z(2),S("",a.fieldName,":"),z(),D("ngIf",a.diff.oldValue),z(),S(" ",a.diff.newValue," "))},Dnb=
function(a,b){a&1&&(F(0,"div")(1,"label"),R(2),G(),R(3),G());a&2&&(a=b.$implicit,b=O(3).$implicit,z(2),S("-",b.fieldName,":"),z(),S(" ",a," "))},Enb=function(a){a&1&&(K(0),C(1,Dnb,4,2,"div",17),L());a&2&&(a=O(2).$implicit,z(),D("ngForOf",a.diff.removed))},Fnb=function(a,b){a&1&&(F(0,"div")(1,"label"),R(2),G(),R(3),G());a&2&&(a=b.$implicit,b=O(3).$implicit,z(2),S("+",b.fieldName,":"),z(),S(" ",a," "))},Gnb=function(a){a&1&&(K(0),C(1,Fnb,4,2,"div",17),L());a&2&&(a=O(2).$implicit,z(),D("ngForOf",a.diff.added))},
Hnb=function(a){a&1&&(F(0,"div"),C(1,Enb,2,1,"ng-container",15)(2,Gnb,2,1,"ng-container",15),G());a&2&&(a=O().$implicit,z(),D("ngIf",a.diff.removed),z(),D("ngIf",a.diff.added))},Inb=function(a,b){a&1&&(F(0,"div",14),C(1,Cnb,5,3,"span",15)(2,Hnb,3,2,"div",15),G());a&2&&(a=b.$implicit,b=O(2),z(),D("ngIf",a.diffType==b.DiffType.SINGLE_VALUE),z(),D("ngIf",a.diffType==b.DiffType.COLLECTION))},Jnb=function(a,b){a&1&&(F(0,"li",5)(1,"div",6),H(2,"b-user-image",7),G(),F(3,"div",8)(4,"h4"),H(5,"b-user-display-name",
9),F(6,"span",10),H(7,"b-formatted-date-time",11),G()(),F(8,"div",12),C(9,Inb,3,2,"div",13),G()()());a&2&&(a=b.$implicit,b=O(),z(2),D("email",b.userToDisplay(a.author)),z(3),D("email",b.userToDisplay(a.author)),z(2),D("timestamp",a.timestamp),z(2),D("ngForOf",a.diffs))},Knb=function(a,b){for(a.has(b)&&a.delete(b);a.size>=50;)a.delete(a.keys().next().value);a.set(b,void 0)},Lnb=function(a,b){var c;b=(c=b==null?void 0:b.split(","))!=null?c:[];a.clear();c=l(b);for(b=c.next();!b.done;b=c.next())a.set(b.value,
void 0)},Mnb=function(a){a.stack&&(a.stack=a.stack.replace(/ \[angular\]/g,""))},Nnb=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"},Onb=function(a,b){a&1&&(F(0,"mat-option",3),R(1),
H(2,"br"),F(3,"span",4),R(4),G()());a&2&&(a=b.$implicit,D("value",a),z(),S(" ",a.title,""),z(3),lg(a.description))},Pnb=function(a,b){a&1&&(K(0),Sf(1,5),L());a&2&&(a=b.$implicit,O(),b=Q(2),z(),D("ngTemplateOutlet",b)("ngTemplateOutletContext",ug(2,nr,a)))},Qnb=function(a){a&1&&(K(0),Sf(1,5),L());if(a&2){a=O().question;O();var b=Q(4);z();D("ngTemplateOutlet",b)("ngTemplateOutletContext",ug(2,nr,a))}},Rnb=function(a){a&1&&(K(0),Sf(1,5),L());if(a&2){a=O().question;O();var b=Q(6);z();D("ngTemplateOutlet",
b)("ngTemplateOutletContext",ug(2,nr,a))}},Snb=function(a){a&1&&(K(0),Sf(1,5),L());if(a&2){a=O().question;O();var b=Q(8);z();D("ngTemplateOutlet",b)("ngTemplateOutletContext",ug(2,nr,a))}},Tnb=function(a,b){a&1&&(K(0,6),C(1,Qnb,2,4,"ng-container",7)(2,Rnb,2,4,"ng-container",7)(3,Snb,2,4,"ng-container",7),L());a&2&&(a=b.question,b=O(),D("ngSwitch",a.type),z(),D("ngSwitchCase",b.CustomQuestionType.INPUT),z(),D("ngSwitchCase",b.CustomQuestionType.TEXT),z(),D("ngSwitchCase",b.CustomQuestionType.SELECT))},
Vnb=function(a,b){if(a&1){var c=u();H(0,"h4",8);F(1,"mat-form-field",9)(2,"input",10);M("ngModelChange",function(d){var e=v(c).question,f=O();e.response=d;return x(Unb(f))});G()()}a&2&&(a=b.question,D("innerHtml",a.question,Pe),z(2),D("ngModel",a.response),Bf("aria-label",a.question))},Wnb=function(a,b){if(a&1){var c=u();H(0,"h4",8);F(1,"mat-form-field",11)(2,"textarea",10);M("ngModelChange",function(d){var e=v(c).question,f=O();e.response=d;return x(Unb(f))});R(3,"    ");G()()}a&2&&(a=b.question,
D("innerHtml",a.question,Pe),z(2),D("ngModel",a.response),Bf("aria-label",a.question))},Ynb=function(a,b){a&1&&(F(0,"mat-option",15),R(1),G());a&2&&(a=b.$implicit,O(2),D("value",a),z(),S(" ",Xnb(a)?a.text:a," "))},Znb=function(a){a&1&&Sf(0,5);if(a&2){a=O().question;O();var b=Q(2);D("ngTemplateOutlet",b)("ngTemplateOutletContext",ug(2,nr,a.response.child))}},$nb=function(a,b){if(a&1){var c=u();H(0,"h4",8);F(1,"mat-form-field",9)(2,"mat-select",12);M("valueChange",function(d){var e=v(c).question,f=
O();e.response=d;return x(Unb(f))});C(3,Ynb,2,2,"mat-option",13);G()();C(4,Znb,1,4,"ng-container",14)}a&2&&(a=b.question,O(),D("innerHtml",a.question,Pe),z(),Bf("aria-label",a.question),z(),D("value",a.response),z(),D("ngForOf",a.options),z(),D("ngIf",Xnb(a.response)))},aob=function(a){a&1&&Yf(0)},bob=function(a){a&1&&Sf(0,2);a&2&&(a=O(),D("ngTemplateOutlet",a.iconOverrides[a.state])("ngTemplateOutletContext",a._getIconContext()))},cob=function(a){a&1&&(F(0,"span",7),R(1),G());a&2&&(a=O(2),z(),lg(a._getDefaultTextForState(a.state)))},
dob=function(a){a&1&&(F(0,"span",8),R(1),G());a&2&&(a=O(3),z(),lg(a._intl.completedLabel))},eob=function(a){a&1&&(F(0,"span",8),R(1),G());a&2&&(a=O(3),z(),lg(a._intl.editableLabel))},fob=function(a){a&1&&(C(0,dob,2,1,"span",8)(1,eob,2,1,"span",8),F(2,"mat-icon",7),R(3),G());a&2&&(a=O(2),Of(a.state==="done"?0:a.state==="edit"?1:-1),z(3),lg(a._getDefaultTextForState(a.state)))},gob=function(a){a&1&&C(0,cob,2,1,"span",7)(1,fob,4,2,"mat-icon",7);a&2&&(a=O(),Of(a.state==="number"?0:1))},hob=function(a,
b){a&1&&(F(0,"div",4),Sf(1,9),G());a&2&&(z(),D("ngTemplateOutlet",b.template))},iob=function(a){a&1&&(F(0,"div",4),R(1),G());a&2&&(a=O(),z(),lg(a.label))},job=function(a){a&1&&(F(0,"div",5),R(1),G());a&2&&(a=O(),z(),lg(a._intl.optionalLabel))},kob=function(a){a&1&&(F(0,"div",6),R(1),G());a&2&&(a=O(),z(),lg(a.errorMessage))},lob=function(){},mob=function(a){a&1&&(Yf(0),C(1,lob,0,0,"ng-template",0));a&2&&(a=O(),z(),D("cdkPortalOutlet",a._portal))},nob=function(a){a&1&&Yf(0)},oob=function(a){a&1&&H(0,
"div",6)},qob=function(a,b){a&1&&(Sf(0,5),C(1,oob,1,0,"div",6));if(a&2){a=b.$implicit;var c=b.$index;b=b.$count;O(2);var d=Q(4);D("ngTemplateOutlet",d)("ngTemplateOutletContext",vg(3,pob,a,c));z();Of(c!==b-1?1:-1)}},tob=function(a,b){if(a&1){var c=u();F(0,"div",7);M("@horizontalStepTransition.done",function(e){v(c);var f=O(2);return x(f._animationDone.next(e))});Sf(1,8);G()}if(a&2){a=b.$implicit;b=b.$index;var d=O(2);Kf("mat-horizontal-stepper-content-inactive",d.selectedIndex!==b);D("@horizontalStepTransition",
vg(8,rob,d._getAnimationDirection(b),ug(6,sob,d._getAnimationDuration())))("id",d._getStepContentId(b));Bf("aria-labelledby",d._getStepLabelId(b));z();D("ngTemplateOutlet",a.content)}},uob=function(a){a&1&&(F(0,"div",1)(1,"div",2),Qf(2,qob,2,6,null,null,Pf),G(),F(4,"div",3),Qf(5,tob,2,11,"div",4,Pf),G()());a&2&&(a=O(),z(2),Rf(a.steps),z(3),Rf(a.steps))},vob=function(a,b){if(a&1){var c=u();F(0,"div",9);Sf(1,5);F(2,"div",10)(3,"div",11);M("@verticalStepTransition.done",function(h){v(c);var k=O(2);return x(k._animationDone.next(h))});
F(4,"div",12);Sf(5,8);G()()()()}if(a&2){a=b.$implicit;var d=b.$index;b=b.$count;var e=O(2),f=Q(4);z();D("ngTemplateOutlet",f)("ngTemplateOutletContext",vg(10,pob,a,d));z();Kf("mat-stepper-vertical-line",d!==b-1);z();Kf("mat-vertical-stepper-content-inactive",e.selectedIndex!==d);D("@verticalStepTransition",vg(15,rob,e._getAnimationDirection(d),ug(13,sob,e._getAnimationDuration())))("id",e._getStepContentId(d));Bf("aria-labelledby",e._getStepLabelId(d));z(2);D("ngTemplateOutlet",a.content)}},wob=function(a){a&
1&&Qf(0,vob,6,18,"div",9,Pf);a&2&&(a=O(),Rf(a.steps))},xob=function(a,b){if(a&1){var c=u();F(0,"mat-step-header",13);M("click",function(){var e=v(c).step;return x(e.select())})("keydown",function(e){v(c);var f=O();return x(f._onKeydown(e))});G()}if(a&2){a=b.step;b=b.i;var d=O();Kf("mat-horizontal-stepper-header",d.orientation==="horizontal")("mat-vertical-stepper-header",d.orientation==="vertical");D("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);Bf("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)}},yob=function(a){a&1&&(K(0),F(1,"li"),R(2,"I have read "),F(3,"a",53),R(4,"Chrome Security FAQ"),G(),R(5,"."),G(),F(6,"li"),R(7,"I have read "),F(8,"a",54),R(9,"Reporting Security Bugs"),G(),R(10,"."),G(),F(11,"li"),R(12,"I understand reports may be eligible for reward payments under the "),F(13,"a",55),R(14,"Chrome VRP"),G(),R(15,"."),G(),F(16,"li"),R(17,"I understand issues are normally publicized once a fix has been widely deployed."),G(),
L())},Aob=function(a){if(a&1){var b=u();K(0);F(1,"h4",6);R(2,"Which of the following best describes the issue that you are reporting?");G();F(3,"wizard-category-select",49);pg("categoryChange",function(c){v(b);var d=O();og(d.model.category,c)||(d.model.category=c);return x(c)});G();F(4,"mat-card",50)(5,"mat-card-header");R(6," Ensure quality of issue reports: ");G();F(7,"mat-card-content")(8,"mat-checkbox",51);pg("ngModelChange",function(c){v(b);var d=O();og(d.ackIssueQuality,c)||(d.ackIssueQuality=
c);return x(c)});R(9," By checking this box, I'm acknowledging that: ");F(10,"ul")(11,"li");R(12,"I have searched for ");F(13,"a",52);R(14,"existing issues");G();R(15," that already report this problem.");G();C(16,yob,18,0,"ng-container",26);G()()()();F(17,"div",33)(18,"button",36);R(19," Next ");H(20,"mat-icon",37);G()();L()}a&2&&(a=O(),z(3),D("persona",a.model.persona),ng("category",a.model.category),z(5),ng("ngModel",a.ackIssueQuality),z(5),D("href",a.existingIssuesLink,Qe),z(3),D("ngIf",a.model.persona===
a.Persona.VULN_REPORTER),z(2),D("disabled",!zob(a,0)))},Cob=function(a){a&1&&(F(0,"div")(1,"h3"),R(2,"Prefer to file an issue manually?"),G(),F(3,"p"),R(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. "),G(),F(5,"p"),R(6," However, if you are a Chromium contributor and none of the other options apply, you may use the regular issue entry "),F(7,
"a",52),R(8,"form"),G(),R(9,". "),G()());a&2&&(a=O(),z(7),D("href",a.paths.createIssue(tg(1,Bob)),Qe))},Dob=function(a){a&1&&(F(0,"mat-error"),R(1," Summary is required "),G())},Eob=function(a){a&1&&(F(0,"mat-error"),R(1," Steps to reproduce are required "),G())},Fob=function(a){a&1&&(F(0,"mat-error"),R(1," Issue description is required "),G())},Gob=function(a){if(a&1){var b=u();F(0,"wizard-custom-questions",56);M("responses",function(c){v(b);var d=O();return x(d.model.customQuestionResponses=c)});
G()}a&2&&(a=O(),D("category",a.model.category.value))},Hob=function(a){if(a&1){var b=u();F(0,"div",57)(1,"b-recaptcha",58);M("onUpdate",function(c){v(b);var d=O();return x(d.recaptchaResponse=c)});G()()}},Iob=function(){},Job=function(){},Kob=function(){},Lob=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},Nob=function(a){return a.length?"# Custom Questions\n"+
Mob(a).map(function(b){var c;return"#### "+((c=b.answerPrefix)!=null?c:b.question)+"\n"+b.response}).join("\n\n"):""},Mob=function(a){var b=[];a=l(a);for(var c=a.next();!c.done;c=a.next())c=c.value,Xnb(c.response)?(b.push({type:c.type,question:c.question,response:c.response.text}),b.push.apply(b,r(Mob([c.response.child])))):b.push(c);return b},Oob=function(a){a&1&&(F(0,"a",17),R(1," Create Component "),G())},Pob=function(a){a&1&&(F(0,"p",21),R(1," None found. "),F(2,"a",22),R(3,"Learn More"),G()())},
Qob=function(a){a&1&&(K(0),H(1,"b-component-path-card",32,1),L());if(a&2){a=Q(2);var b=O().$implicit;z();D("onedevIsHovercardReady",a.init)("componentId",b.componentId)}},Rob=function(a,b){a&1&&(F(0,"li")(1,"a",23)(2,"div",24)(3,"span",25),R(4),H(5,"b-component-access-level-indicator",26)(6,"b-tracker-chip-smart",27),G(),F(7,"p",28),R(8),G()(),F(9,"div",29)(10,"a",30),R(11," Edit "),G(),F(12,"a",30),R(13," Create Issue "),G()()(),F(14,"onedev-hovercard",null,0),C(16,Qob,3,2,"ng-container",31),G()());
if(a&2){a=b.$implicit;b=Q(15);var c=O(2);z();D("routerLinkObj",c.viewIssues(a.componentId));z();D("onedevHovercardTrigger",b);z(2);S(" ",a.name||a.componentId," ");z();D("accessLevel",a.accessLimit==null?null:a.accessLimit.accessLevel)("labelOnlyMode",!0);z();D("trackerId",a.trackerId)("showHovercard",!1);z(2);lg(a.description);z(2);D("routerLinkObj",c.componentSettings(a.componentId));z(2);D("routerLinkObj",c.createIssue(a.componentId))}},Sob=function(a,b){a&1&&(K(0),C(1,Pob,4,0,"p",18),F(2,"ol",
19),C(3,Rob,17,10,"li",20),G(),L());a&2&&(a=b.$implicit,z(),D("ngIf",a.length===0),z(2),D("ngForOf",a))},Uob=function(a){a&1&&(F(0,"a",25),R(1," Learn more "),G());a&2&&(O(),D("href",Tob(),Qe))},Vob=function(a){a&1&&(K(0),R(1),T(2,"async"),L());a&2&&(a=O(2),z(),S(" ",V(2,1,a.suggestedTitle$)," "))},Wob=function(a,b){if(a&1){var c=u();F(0,"button",20);M("click",function(){var d=v(c).$implicit;O();var e=Q(18),f=O();f.llmSuggestTitleService.generatedTitle.next(null);f.analytics.trackEvent("llm","reject",
"title-"+String(d));Ap(f.butterBar,"Thanks for the feedback!",3E3);var h;(h=e.trigger)==null||h.close();return x()});F(1,"span");R(2);G()()}a&2&&(a=b.$implicit,b=O(2),z(2),lg(b.REJECT_REASON_TO_DISPLAY.get(a)))},Xob=function(a){if(a&1){var b=u();F(0,"div",3)(1,"div",4)(2,"div",5)(3,"span",6);R(4,"Suggested title");G();F(5,"div",7)(6,"button",8);M("click",function(){v(b);O().llmSuggestTitleService.suggestTitleRequested.next();return x()});H(7,"mat-icon",9);G();F(8,"button",10);M("click",function(){v(b);
var d=O();return x(d.close())});H(9,"mat-icon",11);G()()();F(10,"div",12);C(11,Vob,3,3,"ng-container",13);T(12,"async");G();F(13,"div",14)(14,"button",15);T(15,"async");M("click",function(){v(b);var d=O(),e=fo(or(d.llmSuggestTitleService.generatedTitle));e&&(d.analytics.trackEvent("llm","accept","title"),d.suggestionAccepted.emit(e),d.llmSuggestTitleService.generatedTitle.next(null));return x()});R(16," Accept ");G();F(17,"split-button",16,1);T(19,"async");F(20,"button",17);T(21,"async");M("click",
function(){v(b);var d=O();d.llmSuggestTitleService.generatedTitle.next(null);d.analytics.trackEvent("llm","reject","title");return x()});R(22," Reject ");G();F(23,"div",18);C(24,Wob,3,1,"button",19);G()()()()()}if(a&2){a=O();var c=Q(3);z(11);D("ngIf",!V(12,7,a.isGeneratingTitle$))("ngIfElse",c);z(3);D("disabled",V(15,9,a.isGeneratingTitle$));z(3);D("size","small")("disabled",!!V(19,11,a.isGeneratingTitle$));z(3);D("disabled",V(21,13,a.isGeneratingTitle$));z(4);D("ngForOf",a.suggestedTitleRejectionReasons)}},
Yob=function(a){a&1&&H(0,"b-spinner")},Zob=function(a){a&1&&(F(0,"a",6),H(1,"mat-icon",7),G())},$ob=function(a){a&1&&H(0,"b-spinner")},apb=function(a,b){a&1&&H(0,"b-issues-table",5);a&2&&(a=O(),D("issueIds",b)("tableColumns",a.tableColumns)("options",a.tableOptions))},bpb=function(a){var b=a.similarIssues;var c=a.scores;return b.filter(function(d,e){return c[e]>=.65})},cpb=function(a){a&1&&Sf(0)},epb=function(a){a&1&&(K(0),C(1,cpb,1,0,"ng-container",9),L());a&2&&(a=O(),z(),D("ngTemplateOutlet",a.valueTemplate)("ngTemplateOutletContext",
ug(2,dpb,a.value)))},fpb=function(a){a&1&&R(0);a&2&&(a=O(),lg(a.value||"--"))},gpb=function(a){a&1&&(Gd(),F(0,"svg",10),H(1,"path",11),G());a&2&&(a=O(),Kf("centered",a.centerEditIcon))},hpb=function(a){a&1&&H(0,"textarea",15);a&2&&(a=O(3),D("formControl",a.editingValue)("cdkAutosizeMaxRows",a.multilineMaxLines))},ipb=function(a){a&1&&H(0,"input",16);a&2&&(a=O(3),D("formControl",a.editingValue))},jpb=function(a){a&1&&(K(0),F(1,"div",13),C(2,hpb,1,2,"textarea",14)(3,ipb,1,1,"ng-template",null,4,yg),
G(),L());if(a&2){a=Q(4);var b=O(2);z(2);D("ngIf",b.allowMultipleLines)("ngIfElse",a)}},kpb=function(a){a&1&&Sf(0)},mpb=function(a){a&1&&(K(0),C(1,kpb,1,0,"ng-container",9),L());a&2&&(a=O(2),z(),D("ngTemplateOutlet",a.editorTemplate)("ngTemplateOutletContext",ug(2,lpb,a.editingValue)))},npb=function(a){a&1&&C(0,jpb,5,2,"ng-container",12)(1,mpb,2,4,"ng-container",12);a&2&&(a=O(),D("ngIf",!a.editorTemplate),z(),D("ngIf",a.editorTemplate))},opb=function(){},ppb=function(a){a&1&&(F(0,"span",1),Gd(),F(1,
"svg",2),H(2,"path",3),G()());a&2&&(a=O(),D("@indicatorRotate",a._getExpandedState()))},qpb=function(a){if(a&1){var b=u();F(0,"b-hotlist-picker",28);M("onApply",function(c){v(b);var d=O();return x(d.handleHotlistPickerSave(c))})("onLoad",function(c){v(b);var d=O();return x(d.loadHotlist(c))})("onCreate",function(c){v(b);var d=O();return x(d.createHotlist(c))});G()}a&2&&(a=O(),D("selectedHotlistIds",a.selectedHotlistIds)("choices",a.hotlists))},rpb=function(a,b){a&1&&(F(0,"a",12),R(1,"View recent issues"),
G());a&2&&(a=O(),D("routerLinkObj",a.recentIssuesInComponent(b)))},wpb=function(a){a&1&&(F(0,"div",29),H(1,"b-icon",30),F(2,"span"),R(3),G(),F(4,"a",31),R(5,"View access settings"),G()());a&2&&(a=O(),D("ngClass",vg(5,spb,tpb(a),upb(a))),z(),D("name","alert")("size","small"),z(2),S("",vpb(a),"\u00a0"),z(),D("href",a.selectedComponent?zo.editComponentAccess.makeHref(a.selectedComponent.componentId):"",Qe))},zpb=function(a){a&1&&(F(0,"div",34),R(1),G());a&2&&(a=O(2),z(),S(" Error: The following required field(s) have not been filled: ",
xpb(a).concat(ypb(a)).join(", ")," "))},Apb=function(a){a&1&&(F(0,"li"),R(1),G());if(a&2){a=O(3);z();var b=[];a.isBlockedByIssueIdValid||b.push('"Blocked by"');a.isBlockingIssueIdValid||b.push('"Blocking"');a.isParentIssueIdsValid||b.push('"Parents"');lg(b?b.join(" & ")+" must be"+((b.length<=1?" a":"")+" comma separated list")+((b.length>1?"s":"")+" of issue IDs"):"")}},Bpb=function(a){a&1&&(F(0,"li"),R(1),G());a&2&&(a=O(3),z(),S(" Collaborators: you cannot add ",a.invalidCollaboratorsInput.join(", "),
" "))},Cpb=function(a){a&1&&(F(0,"div",34),R(1," Error: The following field(s) have invalid values: "),F(2,"ul"),C(3,Apb,2,1,"li",27)(4,Bpb,2,1,"li",27),G()());a&2&&(a=O(2),z(3),D("ngIf",!a.isBlockedByIssueIdValid||!a.isBlockingIssueIdValid||!a.isParentIssueIdsValid),z(),D("ngIf",!a.isCollaboratorsValid))},Dpb=function(a){a&1&&(F(0,"div",34),R(1," Error: There is at least one upload ongoing. Please cancel or wait for it to be finished. "),G())},Fpb=function(a){a&1&&(F(0,"div",32),C(1,zpb,2,1,"div",
33)(2,Cpb,5,2,"div",33)(3,Dpb,2,0,"div",33),G());a&2&&(a=O(),z(),D("ngIf",xpb(a).length!==0||ypb(a).length!==0),z(),D("ngIf",!a.isBlockedByIssueIdValid||!a.isBlockingIssueIdValid||!a.isParentIssueIdsValid||!a.isCollaboratorsValid),z(),D("ngIf",Epb(a.comment)))},Gpb=function(a,b){if(a&1){var c=u();F(0,"div",37)(1,"b-hotlist-chip",38);M("removeHotlist",function(){var d=v(c).$implicit,e=O(2);return x(e.removeHotlist(d.hotlistId))});G()()}a&2&&(a=b.$implicit,z(),D("hotlist",a))},Hpb=function(a){a&1&&
(F(0,"div",35),C(1,Gpb,2,1,"div",36),G());a&2&&(a=O(),z(),D("ngForOf",a.selectedHotlists))},Ipb=function(a,b){if(a&1){var c=u();F(0,"button",46);M("click",function(){var d=v(c).$implicit;O(2).selectedTemplate=d;return x()});R(1);G()}a&2&&(a=b.$implicit,z(),lg(a.name))},Jpb=function(a){if(a&1){var b=u();F(0,"button",46);M("click",function(){v(b);var c=O(2);c.selectedTemplate=c.availableExistingIssueTemplate;return x()});R(1);G()}a&2&&(a=O(2),z(),lg(a.availableExistingIssueTemplate.name))},Kpb=function(a){a&
1&&(F(0,"div",39)(1,"div",21)(2,"label",40),R(3,"Template"),G()(),F(4,"button",41),R(5),H(6,"mat-icon",42),G(),F(7,"mat-menu",43,2),C(9,Ipb,2,1,"button",44)(10,Jpb,2,1,"button",45),G()());if(a&2){var b;a=Q(8);var c=O();z(4);D("matMenuTriggerFor",a);z();S("",(b=c.selectedTemplate==null?null:c.selectedTemplate.name)!==null&&b!==void 0?b:""," ");z(2);D("overlapTrigger",!0);z(2);D("ngForOf",c.availablePredefinedTemplates);z();D("ngIf",c.availableExistingIssueTemplate)}},Lpb=function(a){a&1&&(F(0,"div",
47)(1,"div",34),R(2," You do not have permission to create issues in this component. "),G()())},Mpb=function(a){a&1&&H(0,"llm-suggest-title-button",71);a&2&&(a=O(2),D("description",a.comment))},Opb=function(a){if(a&1){var b=u();F(0,"llm-suggest-title-preview",72);M("suggestionAccepted",function(c){v(b);var d=O(2);d.setTitle(c);return x(Npb(d))});G()}},Ppb=function(a){a&1&&(F(0,"p",73),R(1),F(2,"a",74),R(3," Learn more "),G()());a&2&&(a=O(2),z(),S(" Your title contains restricted words: ",rq(a.titleBannedWordsChecker),
". Review your title before posting. "))},Qpb=function(a,b){if(a&1){var c=u();F(0,"button",77);M("click",function(){var d=v(c).$implicit,e=O(3);return x(e.setPriority(d.value))});R(1);G()}a&2&&(a=b.$implicit,z(),lg(a.displayText))},Rpb=function(a){if(a&1){var b=u();F(0,"div",39)(1,"div",21)(2,"label",75);R(3,"Priority");G()();F(4,"button",76);R(5);H(6,"mat-icon",42);G();F(7,"mat-menu",43,3)(9,"button",77);M("click",function(){v(b);var d=O(2);return x(d.setPriority())});R(10,"--");G();C(11,Qpb,2,1,
"button",78);G()()}if(a&2){a=Q(8);var c=O(2);z(4);D("matMenuTriggerFor",a);Bf("aria-label","Priority, required"+(c.issue.priority?", "+c.issue.priority:""));z();S("",c.issue.priority?c.issue.priority:"--"," ");z(2);D("overlapTrigger",!0);z(4);D("ngForOf",c.priorityChoices)}},Spb=function(a,b){if(a&1){var c=u();F(0,"button",81);M("click",function(){var d=v(c).$implicit,e=O(3);return x(e.setIssueType(d.value))});R(1);G()}a&2&&(a=b.$implicit,$f("title",a.altText||""),z(),lg(a.displayText))},Tpb=function(a){if(a&
1){var b=u();F(0,"div",39)(1,"div",21)(2,"label",79);R(3,"Type");G()();F(4,"button",76);T(5,"enumToHuman");R(6);T(7,"enumToHuman");H(8,"mat-icon",42);G();F(9,"mat-menu",43,4)(11,"button",77);M("click",function(){v(b);var d=O(2);return x(d.setIssueType())});R(12,"--");G();C(13,Spb,2,2,"button",80);G()()}if(a&2){a=Q(10);var c=O(2);z(4);D("matMenuTriggerFor",a);Bf("aria-label","Type, required"+(c.issue.type?V(5,5,", "+c.issue.type):""));z(2);S("",V(7,7,c.issue.type||"--")," ");z(3);D("overlapTrigger",
!0);z(4);D("ngForOf",c.issueTypeChoices)}},Upb=function(a){if(a&1){var b=u();F(0,"div",82)(1,"div",21)(2,"label",83);R(3,"Assignee");G()();F(4,"div",84)(5,"input",85);pg("ngModelChange",function(c){v(b);var d=O(2);og(d.assigneeText,c)||(d.assigneeText=c);return x(c)});G()()()}a&2&&(a=O(2),z(5),ng("ngModel",a.assigneeText),D("bContactAutocomplete","SINGLE"))},Vpb=function(a){a&1&&(F(0,"mat-error"),R(1," Collaborators only accepts individual users. "),G())},Xpb=function(a){if(a&1){var b=u();F(0,"div",
86)(1,"div",21)(2,"label",87);R(3,"Collaborators");G();H(4,"mat-icon",88);G();F(5,"div",84)(6,"input",89);M("ngModelChange",function(c){v(b);var d=O(2);return x(d.collaboratorsText=Wpb(c))});G()();C(7,Vpb,2,0,"mat-error",27);G()}a&2&&(a=O(2),z(6),Kf("invalid",!a.isCollaboratorsValid),D("ngModel",pr(a.collaboratorsText))("bContactAutocomplete","MULTI"),z(),D("ngIf",!a.isCollaboratorsValid&&a.submitRequested))},Ypb=function(a){if(a&1){var b=u();F(0,"div",90)(1,"div",21)(2,"label",91);R(3,"CC");G()();
F(4,"div",84)(5,"input",92);M("ngModelChange",function(c){v(b);var d=O(2);return x(d.ccsText=Wpb(c))});G()()()}a&2&&(a=O(2),z(5),D("ngModel",pr(a.ccsText))("bContactAutocomplete","MULTI"))},Zpb=function(a){a&1&&(F(0,"p",93),R(1),F(2,"a",74),R(3," Learn more "),G()());a&2&&(a=O(2),z(),S(" Your description contains restricted words: ",rq(a.descriptionBannedWordsChecker),". Review your description before posting. "))},$pb=function(a){a&1&&Sf(0)},aqb=function(a){a&1&&(K(0),F(1,"div",20)(2,"div",21)(3,
"label",97),R(4," Collaborator Groups "),G(),H(5,"mat-icon",98),G(),C(6,$pb,1,0,"ng-container",99),G(),L());if(a&2){a=O(3);var b=Q(30);z(5);$f("matTooltip",a.COLLABORATOR_GROUPS_TOOLTIP);z();D("ngTemplateOutlet",b)}},bqb=function(a){if(a&1){var b=u();F(0,"div",94)(1,"div",20)(2,"div",21)(3,"label",95);R(4," Issue access level ");G()();F(5,"b-issue-access-limits-dropdown",96);M("updatedAccessLimitLevel",function(c){v(b);var d=O(2);return x(d.onAccessLimitLevelSelected(c))});G()();C(6,aqb,7,2,"ng-container",
27);G()}a&2&&(a=O(2),z(5),D("disabled",!1)("implicitAccessEnabled",a.componentHasExpandedAccessEnabled)("defaultAccessLimitLevel",a.selectedAccessLimitLevel),z(),D("ngIf",a.trackerCollaboratorGroups.length>0))},cqb=function(a,b){if(a&1){var c=u();F(0,"button",77);M("click",function(){var d=v(c).$implicit,e=O(3);return x(e.issue.severity=e.toIssueSeverity(d.value))});R(1);G()}a&2&&(a=b.$implicit,z(),lg(a.displayText))},dqb=function(a){a&1&&(F(0,"span"),R(1,"*"),G())},eqb=function(a){a&1&&(F(0,"span"),
R(1,"*"),G())},fqb=function(a){a&1&&(F(0,"span"),R(1,"*"),G())},hqb=function(a){if(a&1){var b=u();F(0,"div",108)(1,"div",21)(2,"label",126);R(3," Parents ");C(4,fqb,2,0,"span",27);G()();F(5,"input",127);M("ngModelChange",function(c){v(b);var d=O(3);d.parentIssueIds=gqb(d,c).map(to);d.isParentIssueIdsValid=d.ISSUE_ID_LIST_PATTERN.test(pr(d.parentIssueIds));return x()});G()()}a&2&&(a=O(3),z(4),D("ngIf",!a.isParentIssueIdsValid),z(),D("ngModel",pr(a.parentIssueIds)))},iqb=function(a){a&1&&(F(0,"span"),
R(1,"*"),G())},jqb=function(a){if(a&1){var b=u();F(0,"div",108)(1,"div",21)(2,"label",128);R(3," Children ");C(4,iqb,2,0,"span",27);G()();F(5,"input",129);M("ngModelChange",function(c){v(b);var d=O(3);d.childrenIssueIds=gqb(d,c).map(to);d.isChildIssueIdsValid=d.ISSUE_ID_LIST_PATTERN.test(pr(d.childrenIssueIds));return x()});G()()}a&2&&(a=O(3),z(4),D("ngIf",!a.isChildIssueIdsValid),z(),D("ngModel",pr(a.childrenIssueIds)))},kqb=function(a){if(a&1){var b=u();F(0,"div",108)(1,"div",21)(2,"label",95);
R(3," Issue access level ");G()();F(4,"b-issue-access-limits-dropdown",130);M("updatedAccessLimitLevel",function(c){v(b);var d=O(3);return x(d.onAccessLimitLevelSelected(c))});G()()}a&2&&(a=O(3),z(4),D("disabled",!1)("defaultAccessLimitLevel",a.selectedAccessLimitLevel)("implicitAccessEnabled",a.componentHasExpandedAccessEnabled))},lqb=function(a){a&1&&Sf(0)},mqb=function(a){a&1&&(K(0),F(1,"div",20)(2,"div",21)(3,"label",97),R(4," Collaborator Groups "),G(),H(5,"mat-icon",98),G(),C(6,lqb,1,0,"ng-container",
99),G(),L());if(a&2){a=O(3);var b=Q(30);z(5);$f("matTooltip",a.COLLABORATOR_GROUPS_TOOLTIP);z();D("ngTemplateOutlet",b)}},nqb=function(a){if(a&1){var b=u();F(0,"onedev-text-field",134);M("valueChange",function(d){v(b);var e=O(2).$implicit,f=O(3);return x(f.setCustomFieldValue(e,d))});G()}if(a&2){a=O(2).$implicit;var c=O(3);Zf("id","bv2-custom-field-",a.customFieldId,"");D("value",a.textValue);Bf("required",c.isCustomFieldRequired(a))("aria-labelledby","bv2-custom-field-"+a.customFieldId+"-label")}},
oqb=function(a){if(a&1){var b=u();F(0,"onedev-numeric-field",134);M("valueChange",function(d){v(b);var e=O(2).$implicit,f=O(3);return x(f.setCustomFieldValue(e,d))});G()}if(a&2){a=O(2).$implicit;var c=O(3);Zf("id","bv2-custom-field-",a.customFieldId,"");D("value",a.numericValue);Bf("required",c.isCustomFieldRequired(a))("aria-labelledby","bv2-custom-field-"+a.customFieldId+"-label")}},pqb=function(a){if(a&1){var b=u();F(0,"div")(1,"bv2-input-date-picker",135);M("boundValueChange",function(d){v(b);
var e=O(2).$implicit,f=O(3);return x(f.setCustomFieldValue(e,d))});G()()}if(a&2){a=O(2).$implicit;var c=O(3);z();$f("bv2AriaLabelledby","bv2-custom-field-"+a.customFieldId+"-label");D("boundValue",a.dateValue)("isRequired",c.isCustomFieldRequired(a))("bv2Id","bv2-custom-field-"+a.customFieldId)}},qqb=function(a){if(a&1){var b=u();F(0,"onedev-single-select",136);M("valueChange",function(d){v(b);var e=O(2).$implicit,f=O(3);return x(f.setCustomFieldValue(e,d))});G()}if(a&2){a=O(2).$implicit;var c=O(3);
D("value",a.enumValue)("options",c.getCustomFieldAllowedValues(a))("includeEmptyOption",!0);Bf("aria-labelledby","bv2-custom-field-"+a.customFieldId+"-label")}},rqb=function(a,b){a&1&&(F(0,"div"),C(1,nqb,1,5,"onedev-text-field",132)(2,oqb,1,5,"onedev-numeric-field",132)(3,pqb,2,4,"div",27)(4,qqb,1,4,"onedev-single-select",133),G());a&2&&(a=b.ngIf,b=O(4),z(),D("ngIf",a===b.FieldType.TEXT),z(),D("ngIf",a===b.FieldType.NUMERIC),z(),D("ngIf",a===b.FieldType.DATE),z(),D("ngIf",a===b.FieldType.ENUM))},
sqb=function(a,b){if(a&1){var c=u();F(0,"div")(1,"b-list-field",137);M("valuesChange",function(e){v(c);var f=O().$implicit,h=O(3);return x(h.setCustomFieldValue(f,e.values))});G()()}if(a&2){a=b.ngIf;b=O().$implicit;var d=O(3);z();D("defaultLineCount",2)("type",a)("values",d.getListFieldValues(b))("enumChoices",d.customFieldAllowedValuesMap[b.customFieldId]||null)("truncate",!0);Bf("aria-labelledby","bv2-custom-field-"+b.customFieldId+"-label")}},uqb=function(a,b){a&1&&(F(0,"div",108)(1,"div",21)(2,
"label",131),R(3),G()(),C(4,rqb,5,4,"div",27)(5,sqb,2,6,"div",27),G());if(a&2){a=b.$implicit;b=O(3);z(2);Zf("id","bv2-custom-field-",a.customFieldId,"-label");var c=b.customFieldMap[a.customFieldId];$f("title",(c&&c.description?c.description:"Custom Field")+" [ID: "+a.customFieldId+"]");D("ngClass",ug(8,tqb,b.isCustomFieldRequired(a)));var d=(c=b.customFieldMap[a.customFieldId])?c.name:"";c&&b.canEditIssuesInComponent&&b.customFieldMap[a.customFieldId].required&&(d+=", required field");Bf("aria-label",
d);z();S(" ",b.getCustomFieldName(a)," ");z();D("ngIf",b.getSingleEditFieldType(b.customFieldMap[a.customFieldId]));z();D("ngIf",b.getListFieldType(b.customFieldMap[a.customFieldId]))}},vqb=function(a){if(a&1){var b=u();F(0,"mat-expansion-panel",100)(1,"mat-expansion-panel-header")(2,"mat-panel-title")(3,"span",101);R(4,"Advanced fields (Required fields marked with");F(5,"span",102);R(6,"*");G();R(7,")");G()()();F(8,"div",103)(9,"div",104)(10,"div",21)(11,"label",105);R(12," Severity ");G()();F(13,
"button",106);R(14);H(15,"b-icon",107);G();F(16,"mat-menu",43,5);C(18,cqb,2,1,"button",78);G()();F(19,"div",108)(20,"div",21)(21,"label",109);R(22," Found in ");G()();F(23,"input",110);M("ngModelChange",function(d){v(b);var e=O(2);return x(e.issue.foundInVersion=Wpb(d))});G()();F(24,"div",111)(25,"div",21)(26,"label",112);R(27," In prod ");G()();F(28,"mat-slide-toggle",113);pg("ngModelChange",function(d){v(b);var e=O(2);og(e.issue.inProd,d)||(e.issue.inProd=d);return x(d)});G()();H(29,"div",63);F(30,
"div",108)(31,"div",21)(32,"label",114);R(33," Reporter ");G()();F(34,"input",115);pg("ngModelChange",function(d){v(b);var e=O(2);og(e.reporterText,d)||(e.reporterText=d);return x(d)});G()();F(35,"div",108)(36,"div",21)(37,"label",116);R(38," Verifier ");G()();F(39,"input",117);pg("ngModelChange",function(d){v(b);var e=O(2);og(e.verifierText,d)||(e.verifierText=d);return x(d)});G()();F(40,"div",108)(41,"div",21)(42,"label",118);R(43," Targeted to ");G()();F(44,"input",119);M("ngModelChange",function(d){v(b);
var e=O(2);return x(e.issue.targetedToVersion=Wpb(d))});G()();H(45,"div",63);F(46,"div",108)(47,"div",21)(48,"label",120);R(49," Blocked by ");C(50,dqb,2,0,"span",27);G()();F(51,"input",121);M("ngModelChange",function(d){v(b);var e=O(2);e.issue.blockedByIssueId=gqb(e,d);e.isBlockedByIssueIdValid=e.ISSUE_ID_LIST_PATTERN.test(pr(e.issue.blockedByIssueId));return x()});G()();F(52,"div",108)(53,"div",21)(54,"label",122);R(55," Blocking ");C(56,eqb,2,0,"span",27);G()();F(57,"input",123);M("ngModelChange",
function(d){v(b);var e=O(2);e.issue.blockingIssueId=gqb(e,d);e.isBlockingIssueIdValid=e.ISSUE_ID_LIST_PATTERN.test(pr(e.issue.blockingIssueId));return x()});G()();C(58,hqb,6,2,"div",124)(59,jqb,6,2,"div",124);H(60,"div",63);C(61,kqb,5,3,"div",124)(62,mqb,7,2,"ng-container",27);H(63,"div",63);C(64,uqb,6,10,"div",125);G()()}if(a&2){a=Q(17);var c=O(2);z(13);D("matMenuTriggerFor",a);Bf("aria-label","Severity"+(c.issue.severity?", "+c.issue.severity:""));z();lg(c.issue.severity);z(2);D("overlapTrigger",
!0);z(2);D("ngForOf",c.severityChoices);z(5);D("ngModel",pr(c.originalIssueCopy.foundInVersion));z(5);ng("ngModel",c.issue.inProd);z(6);ng("ngModel",c.reporterText);D("bContactAutocomplete","SINGLE");z(5);ng("ngModel",c.verifierText);D("bContactAutocomplete","SINGLE");z(5);D("ngModel",pr(c.originalIssueCopy.targetedToVersion));z(6);D("ngIf",!c.isBlockedByIssueIdValid);z();D("ngModel",pr(c.issue.blockedByIssueId));z(5);D("ngIf",!c.isBlockingIssueIdValid);z();D("ngModel",pr(c.issue.blockingIssueId));
z();D("ngIf",!c.sessionIsExternal);z();D("ngIf",!c.sessionIsExternal);z(2);D("ngIf",!cq(c.selectedComponent));z();D("ngIf",c.trackerCollaboratorGroups.length>0&&!cq(c.selectedComponent));z(2);D("ngForOf",c.issue.customField)}},wqb=function(a,b){a&1&&H(0,"similar-issues",138);a&2&&(a=O(3),D("context",b)("componentId",a.issue.componentId))},xqb=function(a){a&1&&(C(0,wqb,1,2,"similar-issues",138),T(1,"async"));if(a&2){var b;a=O(2);Of((b=V(1,1,a.similarIssuesSearchString$))?0:-1,b)}},yqb=function(a){a&
1&&(F(0,"div",29),H(1,"b-icon",30),F(2,"span"),R(3),G(),F(4,"a",31),R(5,"View access settings"),G()());a&2&&(a=O(2),D("ngClass",vg(5,spb,tpb(a),upb(a))),z(),D("name","alert")("size","small"),z(2),S("",vpb(a),"\u00a0"),z(),D("href",a.selectedComponent?zo.editComponentAccess.makeHref(a.selectedComponent.componentId):"",Qe))},zqb=function(a){if(a&1){var b=u();F(0,"div",139)(1,"b-recaptcha",140);M("onUpdate",function(c){v(b);var d=O(2);return x(d.recaptchaResponse=c)});G()()}},Eqb=function(a){if(a&1){var b=
u();F(0,"div")(1,"div",19)(2,"div",20)(3,"div",21)(4,"label",48);R(5,"Title");G()();F(6,"div",49)(7,"input",50);M("ngModelChange",function(c){v(b);var d=O();return x(d.setTitle(c))})("blur",function(){v(b);var c=O();return x(Npb(c))});G();C(8,Mpb,1,1,"llm-suggest-title-button",51);G();C(9,Opb,1,0,"llm-suggest-title-preview",52)(10,Ppb,4,1,"p",53);G();C(11,Rpb,12,5,"div",25)(12,Tpb,14,9,"div",25);G();K(13);F(14,"div",19);C(15,Upb,6,2,"div",54)(16,Xpb,8,5,"div",55);G();F(17,"div",19);C(18,Ypb,6,2,"div",
56);G();L();F(19,"div",57)(20,"div",19)(21,"div",20)(22,"div",21)(23,"label",58);R(24,"Description");G()();F(25,"b-comment-box",59);pg("commentChange",function(c){v(b);var d=O();og(d.comment,c)||(d.comment=c);return x(c)});M("onChange",function(){v(b);var c=O();return x(c.saveCommentDraft())})("onSubmit",function(c){v(b);var d=O();return x(Aqb(d,c,!c.shiftKey))})("onRestrict",function(){v(b);var c=O();return x(c.showNewContentJudgementDialog())});C(26,Zpb,4,1,"p",60);F(27,"b-markdown-toggle",61);
M("change",function(c){v(b);var d=O();return x(d.comment.formattingMode=c)});G()()()();C(28,bqb,7,4,"div",62);H(29,"div",63);F(30,"div",64);C(31,vqb,65,21,"mat-expansion-panel",65);G();C(32,xqb,2,3)(33,yqb,6,8,"div",16)(34,zqb,2,0,"div",66);F(35,"div",67)(36,"b-button",68);M("onAction",function(c){v(b);var d=O();return x(Aqb(d,c,!0))});R(37);G();F(38,"b-button",69);M("onAction",function(c){v(b);var d=O();return x(Aqb(d,c,!1))});R(39);G();F(40,"b-button",70);M("onAction",function(){v(b);var c=O();
c.draftStore.$window.sessionStorage.removeItem(lo("0"));Bqb(c.reloadService);return x()});R(41," Discard ");G()()()()}a&2&&(a=O(),z(7),Kf("invalid",a.titleBannedWordsChecker.showWarning()),D("ngModel",a.issue.title)("bFocus",a.newIssueStarted),z(),D("ngIf",a.enableSuggestTitle),z(),D("ngIf",a.enableSuggestTitle),z(),D("ngIf",a.titleBannedWordsChecker.showWarning()),z(),D("ngIf",a.canEditIssuesInComponent),z(),D("ngIf",a.canEditIssuesInComponent),z(3),D("ngIf",a.canEditIssuesInComponent),z(),D("ngIf",
a.canEditIssuesInComponent),z(2),D("ngIf",a.canEditIssuesInComponent),z(7),D("supportsPreview",!0),ng("comment",a.comment),D("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",ug(37,Cqb,Epb(a.comment)))("warn",a.descriptionBannedWordsChecker.showWarning()),
z(),D("ngIf",a.descriptionBannedWordsChecker.showWarning()),z(),D("initialValue",a.comment.formattingMode),z(),D("ngIf",a.canEditIssuesInComponent&&!!cq(a.selectedComponent)),z(3),D("ngIf",a.canEditIssuesInComponent),z(),Of(a.shouldShowSimilarIssues&&a.issue.componentId&&!a.submitRequested?32:-1),z(),D("ngIf",tpb(a)||upb(a)),z(),D("ngIf",a.enableRecaptcha),z(2),D("disabled",Dqb(a))("color",a.titleBannedWordsChecker.showWarning()||a.descriptionBannedWordsChecker.showWarning()?"warn":"primary"),z(),
S(" ",a.titleBannedWordsChecker.showWarning()||a.descriptionBannedWordsChecker.showWarning()?"Create Anyway":"Create"," "),z(),D("disabled",Dqb(a))("color",a.titleBannedWordsChecker.showWarning()||a.descriptionBannedWordsChecker.showWarning()?"warn":"primary"),z(),S(" ",a.titleBannedWordsChecker.showWarning()||a.descriptionBannedWordsChecker.showWarning()?"Create Anyway & Start Another":"Create & Start Another"," "),z(),D("disabled",Dqb(a)))},Fqb=function(a,b){a&1&&(F(0,"h2",141),R(1,"This component has a default description"),
G(),F(2,"mat-dialog-content"),R(3," You have already entered a description, but the component you chose has a default description: "),F(4,"div",142),R(5),G()(),F(6,"mat-dialog-actions")(7,"button",143),R(8,"Use component description"),G(),F(9,"button",144),R(10,"Keep my description"),G()());a&2&&(a=b.$implicit,z(5),lg(a),z(2),D("mat-dialog-close",!0))},Gqb=function(a,b){a&1&&(F(0,"mat-option",148),R(1),G());a&2&&(a=b.$implicit,$f("value",a),z(),S(" ",a," "))},Iqb=function(a){if(a&1){var b=u();F(0,
"mat-form-field",145)(1,"mat-select",146);pg("ngModelChange",function(c){v(b);var d=O();og(d.collaboratorGroupsText,c)||(d.collaboratorGroupsText=c);return x(c)});F(2,"mat-select-trigger");R(3);G();C(4,Gqb,2,2,"mat-option",147);G()()}a&2&&(a=O(),z(),ng("ngModel",a.collaboratorGroupsText),D("ngModelOptions",tg(4,Hqb)),z(2),lg(a.getCollaboratorGroupsString()),z(),D("ngForOf",a.trackerCollaboratorGroups))},Jqb=function(a,b){b.assigneeText=pm(a.assigneeUser);b.reporterText=pm(a.reporterUser);b.verifierText=
pm(a.verifierUser);b.collaboratorsText=qm(a.collaboratorsUsers);b.ccsText=qm(a.ccUsers)},Kqb=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=tm(a.assigneeText));a.reporterText!=null&&(b.reporterUser=tm(a.reporterText));a.verifierText!=null&&(b.verifierUser=tm(a.verifierText));a.collaboratorsText&&(c=nza(a.collaboratorsText),c.length?b.collaboratorsUsers=c:b.collaboratorsUsers=void 0);a.ccsText&&
(a=nza(a.ccsText),a.length?b.ccUsers=a:b.ccUsers=void 0)},Mqb=function(a,b){for(var c=l(Object.keys(b)),d=c.next();!d.done;d=c.next()){d=d.value;var e=b[d],f=Lqb[d];d==="customField"||pi(e,f)||(Array.isArray(e)?a[d]?(e=Dta([].concat(r(e),r(a[d]))),a[d]=e):a[d]=e:e!==""&&(a[d]=e))}},Nqb=function(a){a=Object.assign({},a);return delete a.hotlistId,a},Oqb=function(a){var b={};a=l(a);for(var c=a.next();!c.done;c=a.next())c=c.value,c.allowedValue&&(b[c.customFieldId]=c.allowedValue.map(function(d){return{value:d,
displayText:d}}));return b},Pqb=function(a){return function(b){var c=zwa(b.snapshot.customField,function(k){return k.customFieldId}),d=[],e,f,h=(f=(e=a.componentPathInfo)==null?void 0:e.allCustomField)!=null?f:[];e=l(h);for(f=e.next();!f.done;f=e.next())f=f.value,h=f.customFieldId,f.enabledOnIssues&&(c.has(h)?d.push(c.get(h)):f.typedDefaultValue?d.push(f.typedDefaultValue):d.push({customFieldId:h}));return Object.assign({},b,{snapshot:Object.assign({},b.snapshot,{customField:d})})}},Qqb=function(a){if(a&
1){var b=u();F(0,"b-star-toggle",12);M("starClicked",function(){v(b);var c=O(2);return x(c.toggleStar())});G()}a&2&&(a=O(2),D("starMessage","Star this bookmark group")("unStarMessage","Un-star this bookmark group")("starred",a.isStarred))},Rqb=function(a){a&1&&H(0,"b-star-toggle",13);a&2&&D("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)},Sqb=function(a){if(a&
1){var b=u();F(0,"div")(1,"div",7);C(2,Qqb,1,3,"b-star-toggle",8)(3,Rqb,1,4,"b-star-toggle",9);F(4,"span",10);R(5);F(6,"span")(7,"button",11);M("click",function(){v(b);var c=O();return x(c.editBookmarkGroup())});G()()()()()}a&2&&(a=O(),z(2),D("ngIf",!a.isAdmin),z(),D("ngIf",a.isAdmin),z(2),S("",a.bookmarkGroup.name," "))},Vqb=function(a){if(a&1){var b=u();F(0,"b-saved-search-panel",17);M("focusedRowIndexChange",function(f){v(b);var h=O().$implicit,k=O();return x(Tqb(k,h,f))})("selectionChange",function(f){v(b);
var h=O(2);return x(Uqb(h,f))})("resultsLoaded",function(f){v(b);var h=O(2);return x(h.loadHotlists(f))});G()}if(a&2){var c=O();a=c.$implicit;var d=c.first;c=c.last;var e=O();D("panel",a)("isDashboardEditable",e.isAdmin)("focusedRowIndex",a.focusedRowIndex)("savedSearchId",a.resourceId)("first",d)("last",c)}},Wqb=function(a){if(a&1){var b=u();F(0,"b-hotlist-panel",18);M("focusedRowIndexChange",function(f){v(b);var h=O().$implicit,k=O();return x(Tqb(k,h,f))})("selectionChange",function(f){v(b);var h=
O(2);return x(Uqb(h,f))})("resultsLoaded",function(f){v(b);var h=O(2);return x(h.loadHotlists(f))});G()}if(a&2){var c=O();a=c.$implicit;var d=c.first;c=c.last;var e=O();D("panel",a)("isDashboardEditable",e.isAdmin)("focusedRowIndex",a.focusedRowIndex)("hotlistId",a.resourceId)("first",d)("last",c)}},Xqb=function(a,b){a&1&&(F(0,"div",14),C(1,Vqb,1,6,"b-saved-search-panel",15)(2,Wqb,1,6,"b-hotlist-panel",16),G());a&2&&(D("ngSwitch",b.$implicit.type),z(),D("ngSwitchCase","SAVED_SEARCH"),z(),D("ngSwitchCase",
"HOTLIST"))},Yqb=function(a){if(a&1){var b=u();F(0,"button",12);M("click",function(){v(b);var c=O();return x(c.archive())});R(1," Archive bookmark group ");G()}a&2&&(a=O(),D("disabled",a.hasUnsavedChanges()||a.isSaving()))},Zqb=function(a){if(a&1){var b=u();F(0,"button",12);M("click",function(){v(b);var c=O();return x(c.unarchive())});R(1," Unarchive bookmark group ");G()}a&2&&(a=O(),D("disabled",a.hasUnsavedChanges()||a.isSaving()))},$qb=function(a){a&1&&(F(0,"span",34),R(1," (archived) "),G())},
brb=function(a,b){if(a&1){var c=u();F(0,"div")(1,"b-hotlist-chip-smart",49);M("removeHotlist",function(){var d=v(c).ngIf,e=O(4);return x(arb(e,d))});G()()}a&2&&(a=b.ngIf,z(),D("id",a))},drb=function(a,b){if(a&1){var c=u();F(0,"div",50)(1,"a",51);R(2);G();F(3,"span",52);M("click",function(){var e=v(c).ngIf,f=O(4);return x(crb(f,e))})("keydown.enter",function(){var e=v(c).ngIf,f=O(4);return x(crb(f,e))})("keydown.space",function(){var e=v(c).ngIf,f=O(4);return x(crb(f,e))});R(4," \u00d7 ");G()()}if(a&
2){a=b.ngIf;b=O().$implicit;var d=O(3);z();D("href",d.paths.viewSavedSearch(a),Qe)("matTooltip","Go to saved search: "+d.getDisplayName(b));z();S(" S: ",d.getDisplayName(b)," ");z();D("matTooltip","Remove item: "+d.getDisplayName(b));Bf("aria-label","Remove item: "+d.getDisplayName(b))}},erb=function(a){a&1&&(F(0,"span",53),R(1,"<None>"),G())},frb=function(a,b){a&1&&(F(0,"div",46),C(1,brb,2,1,"div",11)(2,drb,5,5,"div",47)(3,erb,2,0,"span",48),G());if(a&2){a=b.$implicit;b=O(3);z();var c;var d=a.resourceType===
"HOTLIST"?(c=a.hotlistId)==null?void 0:c.toString():void 0;D("ngIf",d);z();D("ngIf",a.resourceType==="SAVED_SEARCH"?a.savedSearchId:void 0);z();D("ngIf",!(b.bookmarkGroupUnderEdit.item==null?0:b.bookmarkGroupUnderEdit.item.length))}},hrb=function(a,b){if(a&1){var c=u();F(0,"button",61);M("click",function(){var d=v(c).$implicit,e=O(5);return x(grb(e,d))});R(1);G()}a&2&&(a=b.$implicit,z(),S("",a.name," "))},irb=function(a){a&1&&C(0,hrb,2,1,"button",60);a&2&&(a=O(4),D("ngForOf",a.savedSearchChoices))},
jrb=function(a){a&1&&(F(0,"div",54)(1,"label",55),R(2,"Add from saved searches:"),G(),F(3,"button",56)(4,"span",57),R(5,"Select"),G(),H(6,"mat-icon",58),G(),F(7,"mat-menu",null,3),C(9,irb,1,1,"ng-template",59),G()());a&2&&(a=Q(8),z(3),D("matMenuTriggerFor",a))},orb=function(a){if(a&1){var b=u();K(0);F(1,"div",32)(2,"label",35)(3,"span",22);R(4,"Selected items");G()();F(5,"div",36,2);C(7,frb,4,3,"div",37);G()();F(8,"div",38)(9,"div",39)(10,"label",40);R(11,"Add hotlist from favorites:");G();F(12,"b-hotlist-picker",
41);M("onApply",function(c){v(b);var d=O(2);return x(krb(d,c))})("onCreate",function(c){v(b);var d=O(2);return x(lrb(d,c))})("onLoad",function(c){v(b);var d=O(2);return x(mrb(d,c))});G()();F(13,"div",42)(14,"label",43);R(15,"Add hotlist by query:");G();F(16,"b-hotlist-search",44);M("itemSelect",function(c){v(b);var d=O(2);"hotlistId"in c&&!d.selectedHotlistIds[0].includes(c.hotlistId)&&(nrb(d,c.hotlistId),d.bookmarkGroupUnderEdit.item.push({name:c.name,resourceType:"HOTLIST",hotlistId:c.hotlistId}));
return x()});G()();C(17,jrb,10,1,"div",45);G();L()}a&2&&(a=O(2),z(7),D("ngForOf",a.bookmarkGroupUnderEdit.item),z(5),D("selectedHotlistIds",a.selectedHotlistIds)("choices",a.userHotlists)("checkEditAcl",!1),z(4),D("showGroups",!1)("allowStarring",!1),z(),D("ngIf",a.savedSearchChoices.length>0))},qrb=function(a){a&1&&(F(0,"span"),R(1),F(2,"a",65),R(3),G()());if(a&2){a=O().$implicit;var b=O(3);z();S(" Hotlist ",a.hotlistId,": ");z();D("href",prb(b,a),Qe);z();S(" ",a.name||"(name not available)"," ")}},
rrb=function(a){a&1&&(F(0,"span"),R(1),F(2,"a",65),R(3),G()());if(a&2){a=O().$implicit;var b=O(3);z();S(" Saved search ",a.savedSearchId,": ");z();D("href",prb(b,a),Qe);z();S(" ",a.name||"(name not available)"," ")}},srb=function(a,b){a&1&&(F(0,"li"),C(1,qrb,4,3,"span",11)(2,rrb,4,3,"span",11),G());a&2&&(a=b.$implicit,z(),D("ngIf",a.resourceType==="HOTLIST"),z(),D("ngIf",a.resourceType==="SAVED_SEARCH"))},trb=function(a){a&1&&(F(0,"div",62)(1,"label")(2,"span",22),R(3,"Items"),G()(),F(4,"div",63)(5,
"ul"),C(6,srb,3,2,"li",64),G()()());a&2&&(a=O(2),z(6),D("ngForOf",a.bookmarkGroup.item))},urb=function(a){if(a&1){var b=u();F(0,"div",66)(1,"button",67);M("click",function(){v(b);var c=O(2);return x(c.saveMetadata())});R(2," Update ");G();F(3,"button",68);M("click",function(){v(b);var c=O(2);return x(c.revertMetadataChanges())});R(4," Revert changes ");G()()}a&2&&(a=O(2),z(),D("disabled",!a.hasUnsavedMetadataChanges()||a.isSaving()))},vrb=function(a){if(a&1){var b=u();F(0,"div",66)(1,"button",67);
M("click",function(){v(b);var c=O(2);return x(c.saveAccessPolicy())});R(2," Update ");G();F(3,"button",68);M("click",function(){v(b);var c=O(2);return x(c.revertAccessPolicyChanges())});R(4," Revert changes ");G()()}a&2&&(a=O(2),z(),D("disabled",!a.hasUnsavedAccessPolicyChanges()||a.isSaving()||!a.isAdminsFieldValid||!a.isReaderFieldValid))},zrb=function(a){if(a&1){var b=u();K(0);F(1,"div",13)(2,"h2");R(3);G();C(4,$qb,2,0,"span",14);F(5,"a",15);R(6," (View Dashboard)");G()();F(7,"mat-tab-group",16);
pg("selectedIndexChange",function(d){v(b);var e=O();og(e.selectedTabIndex,d)||(e.selectedTabIndex=d);return x(d)});M("selectedIndexChange",function(d){v(b);var e=O();return x(e.tabChange(d))});F(8,"mat-tab",17)(9,"div",18);H(10,"b-error-banner",19);F(11,"div",20)(12,"label",21)(13,"span",22);R(14,"Name");G()();F(15,"input",23,0);pg("ngModelChange",function(d){v(b);var e=O();og(e.bookmarkGroupUnderEdit.name,d)||(e.bookmarkGroupUnderEdit.name=d);return x(d)});G()();F(17,"div",20)(18,"label",24)(19,
"span",22);R(20,"Description");G()();F(21,"textarea",25);pg("ngModelChange",function(d){v(b);var e=O();og(e.bookmarkGroupUnderEdit.description,d)||(e.bookmarkGroupUnderEdit.description=d);return x(d)});G()();C(22,orb,18,7,"ng-container",26)(23,trb,7,1,"ng-template",null,1,yg)(25,urb,5,1,"div",27);G()();F(26,"mat-tab",28)(27,"div",18)(28,"div",20)(29,"label")(30,"span",22);R(31,"Admins");G();F(32,"p",29);R(33," Edit access controls, edit name and description, reorder items, add/remove items ");G()();
F(34,"b-multi-user-input",30);M("usersChange",function(d){v(b);var e=O();return x(e.accessPolicyUnderEdit.admins=d)})("isValid",function(d){v(b);var e=O();return x(e.isAdminsFieldValid=d)});G()();F(35,"div",20)(36,"label")(37,"span",22);R(38,"View only");G();F(39,"p",29);R(40," View the bookmark group ");G();F(41,"b-multi-user-input",31);M("usersChange",function(d){v(b);var e=O();return x(e.accessPolicyUnderEdit.readers=d)})("isValid",function(d){v(b);var e=O();return x(e.isReaderFieldValid=d)});
G()()();F(42,"div",32);R(43," See ");F(44,"a",33);R(45,"access control documentation");G();R(46," for an explanation of the settings. ");G();C(47,vrb,5,1,"div",27);G()()();L()}if(a&2){a=Q(24);var c=O();z(3);mg(" Bookmark group ",c.bookmarkGroup.bookmarkGroupId,": ",c.bookmarkGroup.name," ");z();D("ngIf",c.isArchived());z();D("href",Bo(zo.viewDashboard.routeDeclarationPath,{id:c.bookmarkGroup.bookmarkGroupId}),Qe);z(2);ng("selectedIndex",c.selectedTabIndex);z(3);D("error",c.error);z();D("ngClass",
ug(28,wrb,c.isEditDisabled()));z(4);ng("ngModel",c.bookmarkGroupUnderEdit.name);D("disabled",c.isEditDisabled());z(2);D("ngClass",ug(30,wrb,c.isEditDisabled()));z(4);ng("ngModel",c.bookmarkGroupUnderEdit.description);D("disabled",c.isEditDisabled());z();D("ngIf",c.isAdmin)("ngIfElse",a);z(3);D("ngIf",c.isAdmin);z(3);D("ngClass",ug(32,wrb,c.isEditDisabled()));z(6);Kf("disabled",c.isEditDisabled());D("users",c.accessPolicyUnderEdit.admins);z();D("ngClass",ug(34,wrb,c.isEditDisabled()));z(6);Kf("disabled",
c.isEditDisabled());D("users",c.accessPolicyUnderEdit.readers)("includeAliases",!0)("includeViewAliases",!0)("containerChips",ug(38,xrb,ug(36,yrb,c.accessPolicyUnderEdit.admins)));z(3);D("href",Do(c.documentationLinks)+"#bookmark-groups",Qe);z(3);D("ngIf",c.isAdmin)}},Arb=function(a){if(a&1){var b=u();F(0,"button",9);M("click",function(){v(b);var c=O();return x(c.delete())});R(1," Delete saved search ");G()}a&2&&(a=O(),D("disabled",a.hasUnsavedChanges()||a.isSaving()))},Brb=function(a){a&1&&(K(0),
F(1,"div",10)(2,"h2"),R(3," Saved search not found "),G()(),L())},Crb=function(a){if(a&1){var b=u();F(0,"div",34)(1,"button",35);M("click",function(){v(b);var c=O(2);return x(c.saveMetadata())});R(2," Update ");G();F(3,"button",36);M("click",function(){v(b);var c=O(2);return x(c.revertMetadataChanges())});R(4," Revert changes ");G()()}a&2&&(a=O(2),z(),D("disabled",!a.hasUnsavedMetadataChanges()||a.isSaving()))},Drb=function(a){if(a&1){var b=u();F(0,"div",34)(1,"button",35);M("click",function(){v(b);
var c=O(2);return x(c.saveAccessPolicy())});R(2," Update ");G();F(3,"button",36);M("click",function(){v(b);var c=O(2);return x(c.revertAccessPolicyChanges())});R(4," Revert changes ");G()()}a&2&&(a=O(2),z(),D("disabled",!a.hasUnsavedAccessPolicyChanges()||a.isSaving()||!a.isAdminsFieldValid||!a.isReaderFieldValid))},Hrb=function(a){if(a&1){var b=u();K(0);F(1,"div",10)(2,"h2");R(3);G();F(4,"a",11);R(5," (View Issues)");G()();F(6,"mat-tab-group",12);pg("selectedIndexChange",function(c){v(b);var d=O();
og(d.selectedTabIndex,c)||(d.selectedTabIndex=c);return x(c)});M("selectedIndexChange",function(c){v(b);var d=O();return x(d.tabChange(c))});F(7,"mat-tab",13)(8,"div",14);H(9,"b-error-banner",15);F(10,"div",16)(11,"label",17)(12,"span",18);R(13,"Name");G()();F(14,"input",19,0);pg("ngModelChange",function(c){v(b);var d=O();og(d.savedSearchUnderEdit.name,c)||(d.savedSearchUnderEdit.name=c);return x(c)});G()();F(16,"div",16)(17,"label",20)(18,"span",18);R(19,"Description");G()();F(20,"textarea",21);
pg("ngModelChange",function(c){v(b);var d=O();og(d.savedSearchUnderEdit.description,c)||(d.savedSearchUnderEdit.description=c);return x(c)});R(21,"            ");G()();F(22,"div",22)(23,"label",23)(24,"span",18);R(25,"Query");G();F(26,"p",24);R(27," To modify query and display preferences, run the saved search and modify its parameters ");G();F(28,"div",25);R(29);G()()();C(30,Crb,5,1,"div",26);G()();F(31,"mat-tab",27)(32,"div",14)(33,"div",16)(34,"label",28)(35,"span",18);R(36,"Admins");G();F(37,
"p",24);R(38," Edit access controls, edit name and description, edit query ");G()();F(39,"b-multi-user-input",29);M("usersChange",function(c){v(b);var d=O();return x(d.accessPolicyUnderEdit.admins=c)})("isValid",function(c){v(b);var d=O();return x(d.isAdminsFieldValid=c)});G()();F(40,"div",16)(41,"label",30)(42,"span",18);R(43,"View and execute search");G()();F(44,"b-multi-user-input",31);M("usersChange",function(c){v(b);var d=O();return x(d.accessPolicyUnderEdit.readers=c)})("isValid",function(c){v(b);
var d=O();return x(d.isReaderFieldValid=c)});G()();F(45,"div",32);R(46," See ");F(47,"a",33);R(48,"access control documentation");G();R(49," for an explanation of the settings. ");G();C(50,Drb,5,1,"div",26);G()()();L()}a&2&&(a=O(),z(3),mg(" Saved search ",a.savedSearch.searchId,": ",a.savedSearch.name," "),z(),D("href",a.paths.viewSavedSearch(a.savedSearch.searchId),Qe),z(2),ng("selectedIndex",a.selectedTabIndex),z(3),D("error",a.error),z(),D("ngClass",ug(26,Erb,a.isEditDisabled())),z(4),ng("ngModel",
a.savedSearchUnderEdit.name),D("disabled",a.isEditDisabled()),z(2),D("ngClass",ug(28,Erb,a.isEditDisabled())),z(4),ng("ngModel",a.savedSearchUnderEdit.description),D("disabled",a.isEditDisabled()),z(9),S(" ",a.savedSearch.query," "),z(),D("ngIf",a.isAdmin),z(3),D("ngClass",ug(30,Erb,a.isEditDisabled())),z(6),Kf("disabled",a.isEditDisabled()),D("users",a.accessPolicyUnderEdit.admins),z(),D("ngClass",ug(32,Erb,a.isEditDisabled())),z(4),Kf("disabled",a.isEditDisabled()),D("users",a.accessPolicyUnderEdit.readers)("includeAliases",
!0)("includeViewAliases",!0)("containerChips",ug(36,Frb,ug(34,Grb,a.accessPolicyUnderEdit.admins))),z(3),D("href",Do(a.documentationLinks)+"#saved-searches",Qe),z(3),D("ngIf",a.isAdmin))},Irb=function(a){a&1&&(F(0,"div",8),H(1,"b-spinner"),G())},Jrb=function(a){if(a&1){var b=u();F(0,"div",39)(1,"span",40)(2,"mat-checkbox",41);M("change",function(c){v(b);var d=O(2);return x(d.alertState.setValue(c.checked))});G()();F(3,"div")(4,"strong",42);R(5,"SLO Notifications");G();F(6,"div",43);R(7," When checked, admins will be notified when any component that would be automatically assigned this SLO overrides their SLO settings. ");
G()()()}a&2&&(a=O(2),Kf("bv2-edit-resource-readonly",a.isEditDisabled()),z(2),D("checked",a.alertState.getValue())("disabled",a.isEditDisabled()))},Krb=function(a){a&1&&(F(0,"div",44),R(1," Action is required to keep your SLO definitions in Buganizer and BugScope in sync. "),F(2,"a",45),R(3," Learn more "),G()())},Mrb=function(a){if(a&1){var b=u();F(0,"b-button",50);M("onAction",function(){v(b);var c=O(3);return x(Lrb(c,!0))});R(1," Archive ");G()}a&2&&(a=O(3),D("disabled",a.hasUnsavedMetadataChanges()||
a.isSaving()))},Nrb=function(a){if(a&1){var b=u();F(0,"b-button",51);M("onAction",function(){v(b);var c=O(3);return x(Lrb(c,!1))});R(1," Unarchive ");G()}a&2&&(a=O(3),D("disabled",a.hasUnsavedMetadataChanges()||a.isSaving()))},Orb=function(a){if(a&1){var b=u();F(0,"div",26)(1,"b-button",46);M("onAction",function(){v(b);var d=O(2);return x(d.saveMetadata())});R(2," Update ");G();F(3,"b-button",47);M("onAction",function(){v(b);var d=O(2);return x(d.revertMetadataChanges())});R(4," Revert changes ");
G();C(5,Mrb,2,1,"b-button",48)(6,Nrb,2,1,"b-button",49);G()}if(a&2){O();a=Q(9);var c=O();z();D("disabled",!c.hasUnsavedMetadataChanges()||c.isSaving()||!c.elementPickerIsValid||!!a.pending||!!a.invalid);z(2);D("disabled",!c.hasUnsavedMetadataChanges()||c.isSaving()||!!a.pending||!!a.invalid);z(2);D("ngIf",c.slo&&!c.slo.isArchived);z();D("ngIf",c.slo&&c.slo.isArchived)}},Prb=function(a){if(a&1){var b=u();F(0,"div",25)(1,"b-button",52);M("onAction",function(){v(b);var c=O(2);return x(c.saveAccessPolicy())});
R(2," Update ");G();F(3,"b-button",53);M("onAction",function(){v(b);var c=O(2);return x(c.revertAccessPolicyChanges())});R(4," Revert changes ");G()()}a&2&&(a=O(2),z(),D("disabled",!a.hasUnsavedAccessPolicyChanges()||a.isSaving()||a.isInvalid()))},Qrb=function(a){if(a&1){var b=u();F(0,"div")(1,"div",9)(2,"h2")(3,"span",10);R(4);G()()();F(5,"mat-tab-group",11);pg("selectedIndexChange",function(c){v(b);var d=O();og(d.selectedTabIndex,c)||(d.selectedTabIndex=c);return x(c)});M("selectedIndexChange",
function(c){v(b);var d=O();return x(d.tabChange(c))});F(6,"mat-tab",12)(7,"div",13)(8,"form",14,0)(10,"div",15)(11,"label",16)(12,"span",17);R(13,"Name");G()();F(14,"input",18);M("ngModelChange",function(c){v(b);var d=O();return x(d.editableCopy.name=c)});G()();F(15,"div",15)(16,"label",19)(17,"span",17);R(18,"Description");G()();F(19,"textarea",20);M("ngModelChange",function(c){v(b);var d=O();return x(d.editableCopy.description=c)});R(20,"              ");G()();C(21,Jrb,8,4,"div",21);G();C(22,Krb,
4,0,"div",22);F(23,"div",15)(24,"slo-elements-picker",23);M("onCollectionUpdate",function(c){v(b);var d=O();return x(d.updateCollection(c))})("onValidation",function(c){v(b);var d=O();return x(d.elementPickerIsValid=c)});G()();F(25,"div",24)(26,"div",25)(27,"div",26)(28,"b-button",27);M("onAction",function(){v(b);var c=O();return x(c.showUpdateHistoryModal())});R(29," View history ");G()()();F(30,"div",25);C(31,Orb,7,4,"div",28);G()()()();F(32,"mat-tab",29)(33,"div",30)(34,"form",31)(35,"div",15)(36,
"label",32)(37,"span",17);R(38,"Admins");G();F(39,"p",33);R(40," Edit name, description and metrics ");G()();F(41,"b-multi-user-input",34);M("usersChange",function(c){v(b);var d=O();return x(d.editableAccessPolicy.admins=c)})("isValid",function(c){v(b);var d=O();return x(d.validity.admins=c)});G()();F(42,"div",15)(43,"label",35)(44,"span",17);R(45,"Readers");G();F(46,"p",33);R(47," View the SLO definition (this is not required to see an issue's SLO status) ");G()();F(48,"b-multi-user-input",36);M("usersChange",
function(c){v(b);var d=O();return x(d.editableAccessPolicy.readers=c)})("isValid",function(c){v(b);var d=O();return x(d.validity.readers=c)});G()()();F(49,"div",15);R(50," See ");F(51,"a",37);R(52,"access control documentation");G();R(53," for an explanation of the settings. ");G();C(54,Prb,5,1,"div",38);G()()()()}a&2&&(a=O(),z(4),mg(" SLO ",a.slo.sloId,": ",a.slo.name," "),z(),ng("selectedIndex",a.selectedTabIndex),z(5),Kf("bv2-edit-resource-readonly",a.isEditDisabled()),z(4),D("required",!0)("ngModel",
a.editableCopy.name)("disabled",a.isEditDisabled()),z(),Kf("bv2-edit-resource-readonly",a.isEditDisabled()),z(4),D("ngModel",a.editableCopy.description)("disabled",a.isEditDisabled()),z(2),D("ngIf",a.isImportedFromBugScope||a.alertState.getSavedValue()),z(),D("ngIf",a.isUneditedFromBugScope&&a.isAdmin()),z(),Kf("bv2-edit-resource-readonly",a.isEditDisabled()),z(),D("isDisabled",a.isEditDisabled())("collection",a.editableCopy.elements),z(7),D("ngIf",a.isAdmin()),z(4),Kf("bv2-edit-resource-readonly",
a.isEditDisabled()),z(6),D("users",a.editableAccessPolicy.admins),Bf("disabled",a.isEditDisabled()?!0:null),z(),Kf("bv2-edit-resource-readonly",a.isEditDisabled()),z(6),D("users",a.editableAccessPolicy.readers)("includeAliases",!0)("includeViewAliases",!0),Bf("disabled",a.isEditDisabled()?!0:null),z(3),Zf("href","",Do(a.documentationLinks),"#slos",Qe),z(3),D("ngIf",a.isAdmin()))},Rrb=function(a){if(a&1){var b=u();F(0,"div",7);H(1,"img",8)(2,"img",9);F(3,"p",10);R(4," This issue is not blocking anything \u00a0\ud83e\udd73 ");
G();F(5,"p",11);R(6,' If this issue blocked another, it would mean that it should be resolved first, and it would show up in the "Blockers" list for that issue. ');F(7,"a",12);R(8,"Learn more");G()();F(9,"button",13);M("click",function(){v(b);var c=O(2);return x(c.onClickAdd())});R(10," Add ");G()()}a&2&&(a=O(2),z(),D("src",a.TEA_LIGHT,Qe),z(),D("src",a.TEA_DARK,Qe))},Srb=function(a,b){a&1&&H(0,"b-issues-table",18);a&2&&(a=b.ngIf,b=O(6),D("issueIds",a)("menuItemFactory",b.getMenuItems))},Trb=function(a){a&
1&&(K(0),C(1,Srb,1,2,"b-issues-table",17),T(2,"async"),L());a&2&&(a=O(5),z(),D("ngIf",V(2,1,a.blockedAndOpenIds$)))},Urb=function(a){a&1&&(F(0,"p",19),R(1,"Not blocking any open issues \ud83e\udd73"),G())},Vrb=function(a,b){a&1&&(K(0),F(1,"h4",16),R(2),G(),C(3,Trb,3,3,"ng-container",14)(4,Urb,2,0,"ng-template",null,2,yg),L());a&2&&(a=b.$implicit,b=Q(5),z(2),S("Open (",a.length,")"),z(),D("ngIf",a.length>0)("ngIfElse",b))},Wrb=function(a,b){a&1&&H(0,"b-issues-table",18);a&2&&(a=b.ngIf,b=O(6),D("issueIds",
a)("menuItemFactory",b.getMenuItems))},Xrb=function(a){a&1&&(K(0),F(1,"h4",16),R(2),G(),C(3,Wrb,1,2,"b-issues-table",17),T(4,"async"),L());if(a&2){a=O().$implicit;var b=O(4);z(2);S("Closed (",a.length,")");z();D("ngIf",V(4,2,b.blockedAndClosedIds$))}},Yrb=function(a,b){a&1&&(K(0),C(1,Xrb,5,4,"ng-container",4),L());a&2&&(a=b.$implicit,z(),D("ngIf",a.length>0))},Zrb=function(a){a&1&&(K(0),C(1,Vrb,6,3,"ng-container",4),T(2,"async"),C(3,Yrb,2,1,"ng-container",4),T(4,"async"),L());a&2&&(a=O(3),z(),D("ngIf",
V(2,2,a.blockedAndOpen$)),z(2),D("ngIf",V(4,4,a.blockedAndClosed$)))},$rb=function(a,b){a&1&&(F(0,"li")(1,"a",22)(2,"span",11),R(3),G(),F(4,"aside",23),H(5,"button",24),G()()());a&2&&(a=b.$implicit,z(),Df("aria-label","Issue ",a,""),Zf("routerLink","/issues/",a,""),z(2),S("b/",a,""))},asb=function(a){a&1&&(F(0,"h4",16),R(1,"Loading..."),G(),F(2,"ol",20),C(3,$rb,6,5,"li",21),G());a&2&&(a=O(2).$implicit,z(3),D("ngForOf",a))},bsb=function(a,b){a&1&&(K(0),F(1,"a",25),R(2," View as search results "),G(),
L());a&2&&(a=b.ngIf,z(),D("routerLink",a.path)("queryParams",a.params))},csb=function(a){if(a&1){var b=u();C(0,Zrb,5,6,"ng-container",14);T(1,"async");C(2,asb,4,1,"ng-template",null,1,yg);F(4,"aside",15)(5,"button",13);M("click",function(){v(b);var d=O(2);return x(d.onClickAdd())});R(6," Add ");G();C(7,bsb,3,2,"ng-container",4);T(8,"async");G()}if(a&2){a=Q(3);var c=O(2);D("ngIf",V(1,3,c.issuesBeingBlocked$))("ngIfElse",a);z(7);D("ngIf",V(8,5,c.searchUrl$))}},dsb=function(a,b){a&1&&(K(0),C(1,Rrb,11,
2,"div",6)(2,csb,9,7,"ng-template",null,0,yg),L());a&2&&(a=b.$implicit,b=Q(3),z(),D("ngIf",a.length===0)("ngIfElse",b))},esb=function(a){a&1&&(F(0,"aside",26),H(1,"b-spinner"),G())},gsb=function(){return function(a){return{response:a.getMutableResponse().getText(),citationResources:fsb(a.getMutableResponse())}}},fsb=function(a){return xj(a,hsb,13,yj()).filter(function(b){return Qj(b,isb,6,jsb)}).flatMap(function(b){var c;if(b==null)b=void 0;else{var d;(c=Bj(b,isb,6,jsb))==null?d=void 0:d=xj(c,ksb,
1,yj());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:Hj(b,6))!=null?f:!1}})},lsb=function(a){a&1&&H(0,"mat-icon",3)},msb=function(a){a&1&&H(0,"img",4);a&2&&(a=O().$implicit,D("src",a.iconUrl,Qe))},nsb=function(a,b){a&1&&(F(0,"div",2),C(1,lsb,1,0,"mat-icon",3)(2,msb,1,1,"img",4),F(3,"a",5),R(4),G()());a&
2&&(a=b.$implicit,z(),Of(a.isExternalDocument?1:2),z(2),D("href",a.url,Qe),z(),S(" ",a.citationTitle," "))},osb=function(a){a&1&&(F(0,"div",1),R(1,"Sources"),G(),Qf(2,nsb,5,3,"div",2,Pf));a&2&&(a=O(2),z(2),Rf(a.citations))},psb=function(a,b){a&1&&(H(0,"b-markdown-format-presenter",0),C(1,osb,4,0));a&2&&(a=O(),D("content",b),z(),Of(a.citations&&a.citations.length>0?1:-1))},qsb=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}},rsb=function(a){a&1&&H(0,"mat-icon",3)},ssb=function(a){a&1&&H(0,"img",4);a&2&&(a=O().$implicit,D("src",a.iconUrl,Qe))},tsb=function(a,b){a&1&&(F(0,"div",2),C(1,rsb,1,0,"mat-icon",3)(2,ssb,1,1,"img",4),F(3,"a",5),R(4),G()());a&2&&(a=b.$implicit,z(),Of(a.isExternalDocument?1:2),z(2),D("href",a.url,Qe),z(),S(" ",a.citationTitle," "))},
usb=function(a){a&1&&(F(0,"div",1),R(1,"Sources"),G(),Qf(2,tsb,5,3,"div",2,Pf));a&2&&(a=O(2),z(2),Rf(a.citations))},vsb=function(a,b){a&1&&(H(0,"b-markdown-format-presenter",0),C(1,usb,4,0));a&2&&(a=O(),D("content",b),z(),Of(a.citations&&a.citations.length>0?1:-1))},xsb=function(a){a&1&&(F(0,"p",4),R(1,"Related fixed issues"),G(),Sf(2,5));if(a&2){a=O();O();var b=Q(3);z(2);D("ngTemplateOutletContext",ug(2,wsb,a))("ngTemplateOutlet",b)}},ysb=function(a,b){a&1&&C(0,xsb,3,4);a&2&&Of(b.length>0?0:-1)},
zsb=function(a){a&1&&H(0,"b-issue-card",11,2);if(a&2){a=Q(1);var b=O(3).$implicit;D("onedevIsHovercardReady",a.init)("issueId",b.issue.issueId)}},Asb=function(a){a&1&&H(0,"b-changelist-card",16,2);if(a&2){a=Q(1);var b=O(2).$implicit,c=O(5);D("onedevIsHovercardReady",a.init)("changelistId",c.Number(b))}},Bsb=function(a){if(a&1){var b=u();F(0,"div",12);H(1,"mat-icon",13);F(2,"a",14);M("onedevHovercardShown",function(){v(b);O(6).analytics.trackEvent("helpMeFix","hover","relatedChangelist");return x()})("click",
function(){v(b);var h=O(6);return x(h.trackClick("relatedChangelist"))});R(3);G();F(4,"onedev-hovercard",null,3);C(6,Asb,2,2,"b-changelist-card",15);G()()}if(a&2){a=Q(5);var c=O(),d=c.$implicit;c=c.$index;var e=O(3).$implicit,f=O(2);z(2);Zf("href","https://critique.corp.google.com/cl/",d,"",Qe);D("onedevHovercardTrigger",a)("onedevHovercardConfig",f.hovercardConfig);z();S(" ",e.changelists[c].firstInterestingLine," ")}},Csb=function(a,b){a&1&&C(0,Bsb,7,5,"div",12);a&2&&(a=b.$index,b=O(3).$implicit,
Of(b.changelists[a].isInteresting?0:-1))},Dsb=function(a){if(a&1){var b=u();F(0,"div",6)(1,"div",7);H(2,"img",8);F(3,"a",9);M("onedevHovercardShown",function(){v(b);O(4).analytics.trackEvent("helpMeFix","hover","relatedIssue");return x()})("click",function(){v(b);var f=O(4);return x(f.trackClick("relatedIssue"))});R(4);G();F(5,"onedev-hovercard",null,1);C(7,zsb,2,2,"b-issue-card",10);G()();Qf(8,Csb,1,1,null,null,Fla);G()}if(a&2){a=Q(6);var c=O(),d=O().$implicit,e=O(2);z(2);D("src",e.BUGANIZER_LOGO_URL,
Qe);z();Zf("href","/issues/",d.issue.issueId,"",Qe);D("onedevHovercardTrigger",a)("onedevHovercardConfig",e.hovercardConfig);z();S(" ",c.title," ");z(4);Rf(d.issue.snapshot[0].changelist.slice(0,3))}},Esb=function(a){a&1&&C(0,Dsb,10,6,"div",6);a&2&&(a=O().$implicit,Of(a.changelists&&a.changelists.length>0?0:-1))},Fsb=function(a,b){a&1&&C(0,Esb,1,1);if(a&2){var c;a=b.$implicit;Of((c=a.issue.snapshot&&a.issue.snapshot[0])?0:-1,c)}},Hsb=function(a,b){a&1&&Qf(0,Fsb,1,1,null,null,Gsb);a&2&&Rf(b.issuesAndChangelists)},
Isb=function(a){a&1&&H(0,"mat-icon",14)},Jsb=function(a){a&1&&H(0,"mat-icon",15)},Ksb=function(a){if(a&1){var b=u();F(0,"b-callout",19)(1,"b-callout-body");R(2," Feature only visible for some components. Join group to see it on all issues with stack traces. ");G();F(3,"b-callout-actions")(4,"button",20);M("click",function(){v(b);O(3).hasDismissedBanner=!0;Gl("isHMFAllComponentsOptInBannerDismissed")(!0);return x()});R(5,"Dismiss");G();F(6,"button",21);M("click",function(){v(b);O(3).domSafe.openInNewTab("https://groups.google.com/a/google.com/g/help-me-fix-opt-in-all-components/members");
return x()});R(7,"Join");G()()()}},Lsb=function(a){a&1&&C(0,Ksb,8,0,"b-callout",19);a&2&&(a=O(2),Of(a.isEnabledOnAllComponents||a.hasDismissedBanner?-1:0))},Msb=function(a){a&1&&(F(0,"span",17),H(1,"b-spinner"),R(2," Analyzing the issue"),G())},Osb=function(a){if(a&1){var b=u();F(0,"duckie-response",22);M("dataReady",function(){v(b);var c=O(2);return x(Nsb(c))});G()}},Psb=function(a){if(a&1){var b=u();F(0,"duckie-response-with-similar-issues",22);M("dataReady",function(){v(b);var c=O(2);return x(Nsb(c))});
G()}},Qsb=function(a){a&1&&(F(0,"div",18),T(1,"async"),H(2,"related-fixed-issues"),G());a&2&&(a=O(2),D("hidden",!V(1,1,a.isLlmDataReady$)))},Rsb=function(a){a&1&&(F(0,"div",31),R(1," Enjoying this feature? Join "),F(2,"a",32),R(3,"this group"),G(),R(4," to see it on all issues with exception stack traces! "),G());a&2&&(a=O(4),z(2),D("href",a.allComponentsOptInLink,Qe))},Ssb=function(a){a&1&&C(0,Rsb,5,1,"div",31);a&2&&(a=O(3),Of(!a.isEnabledOnAllComponents&&a.hasDismissedBanner?0:-1))},Tsb=function(a){if(a&
1){var b=u();F(0,"div",23)(1,"span");R(2);G();F(3,"div",24)(4,"button",25);M("click",function(){v(b);var d=O(2);d.votedThumbsUp=!0;var e=fo(d.contextSensitiveRegistry.getIssueId());d.analytics.trackEvent("helpMeFix","click","thumbsUp",Number(e));return x()});H(5,"mat-icon",26);G();F(6,"button",27);M("click",function(){v(b);var d=O(2);d.votedThumbsDown=!0;var e=fo(d.contextSensitiveRegistry.getIssueId());d.analytics.trackEvent("helpMeFix","click","thumbsDown",Number(e));return x()});H(7,"mat-icon",
28);G()()();F(8,"div",29)(9,"div");R(10," AI may generate code in the response. Please review ");F(11,"a",30);R(12," go/code-ai-policy ");G();R(13," before using it. ");G();C(14,Ssb,1,1);G()}if(a&2){a=O();var c=O();z(2);S(" ",c.votedThumbsUp||c.votedThumbsDown?"Thanks for the feedback!":"Was this helpful?"," ");z(2);Kf("voted",c.votedThumbsUp);D("disabled",c.votedThumbsUp||c.votedThumbsDown);z(2);Kf("voted",c.votedThumbsDown);D("disabled",c.votedThumbsUp||c.votedThumbsDown);z(8);Of(a.issueCategory===
c.IssueCategory.EXCEPTION?14:-1)}},Usb=function(a,b){a&1&&(F(0,"div",12),C(1,Lsb,1,1),F(2,"div",16),C(3,Msb,3,0,"span",17),T(4,"async"),C(5,Osb,1,0,"duckie-response")(6,Psb,1,0,"duckie-response-with-similar-issues"),G(),C(7,Qsb,3,3,"div",18)(8,Tsb,15,8),T(9,"async"),G());a&2&&(a=O(),z(),Of(b.issueCategory===a.IssueCategory.EXCEPTION?1:-1),z(2),Of(V(4,5,a.isLlmDataReady$)?-1:3),z(2),Of(b.displayedModules.includes(a.DisplayModule.DUCKIE_RESPONSE)?5:b.displayedModules.includes(a.DisplayModule.DUCKIE_RESPONSE_WITH_SIMILAR_ISSUES)?
6:-1),z(2),Of(b.displayedModules.includes(a.DisplayModule.RELATED_FIXED_ISSUES)?7:-1),z(),Of(V(9,7,a.isLlmDataReady$)?8:-1))},Vsb=function(a){a&1&&(F(0,"div",13),R(1,"View an issue details to gain AI insights."),G())},Wsb=function(a){a&1&&(F(0,"div",3),H(1,"mat-icon",4),F(2,"span",5),R(3),T(4,"async"),G()());if(a&2){var b;a=O();z(3);S("",(b=V(4,1,a.issues$))==null?null:b.length," parent issues")}},Xsb=function(a){a&1&&(F(0,"div",3),H(1,"mat-icon",6),F(2,"span",5),R(3),T(4,"async"),G()());if(a&2){var b;
a=O();z(3);S("Blocked by ",(b=V(4,1,a.issues$))==null?null:b.length," issues")}},Ysb=function(a,b){a&1&&(F(0,"span"),R(1),G());a&2&&(a=b.$implicit,b=O(4),Nf("chippy status-",a," margin-s-left"),z(),S(" ",b.STATUS_JS_TERSE[a]," "))},Zsb=function(a){a&1&&(K(0),F(1,"a",8)(2,"div",9)(3,"div",10)(4,"div",11),R(5),G(),F(6,"div",12),R(7),G()(),F(8,"div",10)(9,"div",13),R(10),G(),C(11,Ysb,2,4,"span",14),G()()(),L());if(a&2){var b=O();a=b.$implicit;b=b.last;var c=O(2);z();Zf("routerLink","/issues/",a.issueId,
"");z();Kf("border-bottom",!b);z(3);lg(a.issueId);z(2);lg(a.snapshot[0].title);z(2);D("ngClass",c.priorityClass(a.snapshot[0].priority));z();lg(a.snapshot[0].priority);z();D("ngIf",a.snapshot[0].status)}},$sb=function(a,b){a&1&&(K(0),C(1,Zsb,12,9,"ng-container",2),L());a&2&&(a=b.index,z(),D("ngIf",a<5))},btb=function(a){if(a&1){var b=u();K(0);F(1,"div",15)(2,"button",16);M("click",function(){v(b);var c=O(2);return x(atb(c))});R(3,"View all parent issues");G()();L()}},ctb=function(a){if(a&1){var b=
u();K(0);F(1,"div",15)(2,"button",16);M("click",function(){v(b);var c=O(2),d;(d=c.hovercardInstance)==null||d.closeHovercard$.next();qr(c.router,"/issues/"+c.currentIssueId+"/dependencies");return x()});R(3,"View all blockers");G()();L()}},dtb=function(a,b){a&1&&(F(0,"div"),C(1,$sb,2,1,"ng-container",7)(2,btb,4,0,"ng-container",2)(3,ctb,4,0,"ng-container",2),G());a&2&&(a=b.$implicit,b=O(),z(),D("ngForOf",a),z(),D("ngIf",a.length>5&&b.mode===b.ListIssuesHovercardMode.PARENT_ISSUES),z(),D("ngIf",a.length>
5&&b.mode===b.ListIssuesHovercardMode.BLOCKED_BY_ISSUES))},etb=function(a){a&1&&H(0,"mat-icon",8)},ftb=function(a){a&1&&(K(0),H(1,"b-list-issues-card",9,1),L());if(a&2){a=Q(2);O();var b=Q(5),c=O();z();D("onedevIsHovercardReady",a.init)("hovercardInstance",b)("currentIssueId",c.issueId)("issueIds",c.multiParentIssueIds)("mode",c.ListIssuesHovercardMode.PARENT_ISSUES)}},gtb=function(a){a&1&&(K(0),F(1,"a",5),R(2),G(),C(3,etb,1,0,"mat-icon",6),F(4,"onedev-hovercard",null,0),C(6,ftb,3,5,"ng-container",
7),G(),L());if(a&2){a=Q(5);var b=O();z();Zf("title","",b.multiParentIssueIds.length," parents at this position");D("onedevHovercardTrigger",a);z();S("",b.multiParentIssueIds.length," Parents\u2026");z();D("ngIf",b.multiParentIssueIds.length>1)}},htb=function(a,b){a&1&&(K(0),F(1,"b-issue-reference-widget",10),R(2),G(),H(3,"mat-icon",8),L());if(a&2){a=b.$implicit;b=b.last;var c=O();z();D("href",c.getIssueLink(a))("issueId",a);z();c.issueIdToTitle.has(a)?(a=c.issueIdToTitle.get(a),a=iHa(a)):a=String(a);
lg(a);z();Kf("last",b)}},jtb=function(a,b){if(a&1){var c=u();F(0,"button",1);T(1,"async");M("click",function(){v(c);var d=O();return x(itb(d))});R(2);G()}a&2&&(a=b.ngIf,b=O(),D("disabled",b.disabled||b.fridge.isSaving(b.internalIssueId)||V(1,3,b.canEdit$)===!1)("title",a.isDupe?b.TOOLTIP_UNMARK_DUPE:b.TOOLTIP_MARK_DUPE),z(2),S(" ",a.isDupe?"Unmark Duplicate":"Mark as Duplicate"," "))},ktb=function(a){a&1&&Sf(0)},ltb=function(a){a&1&&(K(0),C(1,ktb,1,0,"ng-container",5),L());a&2&&(a=O(),z(),D("ngTemplateOutlet",
a.content))},mtb=function(a,b){if(a&1){var c=u();F(0,"button",13);M("click",function(e){var f=v(c).$implicit;return x(f.action(e))});H(1,"mat-icon",14);R(2);G()}if(a&2){var d;a=b.$implicit;D("disabled",a.disabled)("title",a.title);Bf("aria-label",a.title);z();D("svgIcon",(d=a.icon)!==null&&d!==void 0?d:"");z();S(" ",a.label," ")}},ntb=function(a){if(a&1){var b=u();K(0);F(1,"button",15);M("click",function(d){v(b);var e=O(2);d.stopPropagation();d.preventDefault();var f;(f=e.helpHover)==null||f.toggle();
return x()});H(2,"mat-icon",16);R(3," Retention: ");H(4,"retention-text",17);R(5," \u00a0 ");H(6,"help-hover",18);G();L()}if(a&2){a=O().ngIf;var c=Q(14);z(4);D("retentionState",a.retentionState);z(2);D("content",c)}},otb=function(a){a&1&&(K(0),H(1,"retention-help-text",19),L());a&2&&(a=O(2).ngIf,z(),D("retentionState",a.retentionState)("modifiedTime",a.modifiedTimeMilliseconds))},ptb=function(a){a&1&&C(0,otb,2,2,"ng-container",3);a&2&&(a=O().ngIf,D("ngIf",a.retentionState&&a.modifiedTimeMilliseconds))},
qtb=function(a,b){if(a&1){var c=u();K(0);H(1,"b-app-vote-button",4)(2,"hotlist-picker-btn",5);F(3,"smart-dupe-btn",6,0);M("onHotkey",function(){v(c);var e=Q(4);return x(itb(e))});G();F(5,"b-notification-menu",7);M("subscriptionChange",function(e){v(c);var f=O();return x(f.updateSubscription(e))})("showNotificationSettings",function(e){v(c);var f=O();return x(f.showNotificationSettings(e))});G();H(6,"insights-graph-menu-smart",8);F(7,"button",9);H(8,"mat-icon",10);G();F(9,"mat-menu",11,1);C(11,mtb,
3,5,"button",12)(12,ntb,7,2,"ng-container",3);G();C(13,ptb,1,1,"ng-template",null,2,yg);L()}if(a&2){a=b.ngIf;b=Q(10);var d=O();z();D("issueId",a.issueId)("voteCount",a.voteCount)("upvoted",a.voted);z();D("issueId",a.issueId);z();D("issueId",a.issueId)("hotkey",d.HOTKEYS.TOGGLE_MARK_AS_DUPLICATE);z(2);D("subscription",a.notificationSubscription)("issueId",a.issueId)("iconOnly",!0);z();D("iconOnly",!0);z();D("matMenuTriggerFor",b);z(4);D("ngForOf",a.menuItems);z();D("ngIf",d.retentionEnabled)}},rtb=
function(a){a&1&&(F(0,"h3",7,0),R(2),G());a&2&&(a=O(),Bf("title",a.isLongTitle?a.titlePlain:""),z(2),S(" ",a.titleTruncated," "))},ttb=function(a){if(a&1){var b=u();F(0,"mat-form-field",8)(1,"input",9,1);M("keyup",function(c){v(b);var d=O();return x(stb(d,c))})("blur",function(){v(b);var c=O();return x(c.bannedWordsChecker.showWarning()?"":stb(c))});G()()}a&2&&(a=O(),Jf("width",a.editModeWidth,"px"),Kf("banned-words-warning",a.bannedWordsChecker.showWarning()),z(),D("value",a.titlePlain))},vtb=function(a){if(a&
1){var b=u();F(0,"button",10);M("click",function(){v(b);var c=O();return x(c.isEditMode?stb(c):utb(c))});H(1,"mat-icon",11);G()}a&2&&(a=O(),D("disabled",a.disabled))},wtb=function(a){a&1&&(F(0,"p",12),R(1),F(2,"a",13),R(3," Learn more "),G()());a&2&&(a=O(),z(),S(" ",rq(a.bannedWordsChecker)," is restricted. Press 'Esc' to cancel or 'Enter' to skip check and save title. "))},xtb=function(){},ytb=function(a){a&1&&(F(0,"output"),R(1),T(2,"async"),G());if(a&2){a=O().ngIf;var b=O();z();mg(" ",a," of ",
V(2,2,b.currentSearchResults.totalText$)," ")}},Ctb=function(a,b){if(a&1){var c=u();K(0);C(1,ytb,3,4,"output",0);F(2,"span",1)(3,"button",2);T(4,"async");M("onHotkey",function(){v(c);var d=O();return x(ztb(d.currentSearchResults))})("click",function(){v(c);var d=O();return x(ztb(d.currentSearchResults))});H(5,"mat-icon",3);G();F(6,"button",4);T(7,"async");M("onHotkey",function(){v(c);var d=O();return x(Atb(d.currentSearchResults))})("click",function(){v(c);var d=O();return x(Atb(d.currentSearchResults))});
H(8,"mat-icon",5);G()();L()}a&2&&(a=b.ngIf,b=O(),z(),D("ngIf",a!==-1),z(),D("ngClass",ug(10,Btb,a===-1)),z(),D("hotkey",b.HOTKEYS.GO_TO_PREVIOUS_ISSUE)("disabled",!V(4,6,b.currentSearchResults.hasPreviousIssue$)),z(3),D("hotkey",b.HOTKEYS.GO_TO_NEXT_ISSUE)("disabled",!V(7,8,b.currentSearchResults.hasNextIssue$)))},Dtb=function(a){a&1&&H(0,"b-issue-visibility-chip",6);a&2&&(a=O(3).$implicit,D("issueId",a.issueId))},Etb=function(a){a&1&&C(0,Dtb,1,1,"b-issue-visibility-chip",6);a&2&&(a=O(2).$implicit,
Of(a.hasAccessIndicator?0:-1))},Ftb=function(a){a&1&&H(0,"b-component-access-level-indicator",3);a&2&&(a=O(2).$implicit,D("accessLevel",a.accessLevel))},Gtb=function(a){a&1&&H(0,"b-access-limits-chip",7);a&2&&(a=O(2).$implicit,D("issueId",a.issueId)("componentId",a.componentId)("accessLimitLevel",a.issueAccessLimitLevel))},Htb=function(a){a&1&&H(0,"b-retention-chip",8);a&2&&(a=O(2).$implicit,D("retentionState",a.retentionState)("compactMode",!1)("modifiedTime",a.modifiedTime))},Itb=function(a){a&
1&&(F(0,"div",2),C(1,Etb,1,1)(2,Ftb,1,1,"b-component-access-level-indicator",3)(3,Gtb,1,3,"b-access-limits-chip",4)(4,Htb,1,3,"b-retention-chip",5),G());if(a&2){a=O().$implicit;var b=O();z();Of(b.enableNewVisibilityChips?1:a.isShowingPublicPartner?2:-1);z(2);D("ngIf",a.isAccessLimited);z();D("ngIf",a.isShowingRetention)}},Jtb=function(a,b){a&1&&(K(0),C(1,Itb,5,3,"div",1),L());a&2&&(a=b.$implicit,z(),D("ngIf",a.isShowingPublicPartner||a.isShowingRetention||a.isAccessLimited))},Ktb=function(a){a&1&&
(F(0,"div",4),H(1,"mat-icon",5),R(2),T(3,"async"),G());if(a&2){a=O();var b=Q(4);D("onedevHovercardTrigger",b);z(2);S("",V(3,2,a.teamName$)," ")}},Ltb=function(a){a&1&&Sf(0)},Mtb=function(a){a&1&&(K(0),C(1,Ltb,1,0,"ng-container",22),L());a&2&&(O(),a=Q(12),z(),D("ngTemplateOutlet",a))},Ntb=function(a,b){a&1&&H(0,"ancestors-breadcrumbs",29);a&2&&(a=b.ngIf,b=O(3),D("ancestors",a)("issueId",b.issueId))},Otb=function(a){a&1&&(K(0),H(1,"b-component-breadcrumb-chip",25),T(2,"async"),F(3,"div",26),C(4,Ntb,
1,2,"ancestors-breadcrumbs",27),T(5,"async"),H(6,"b-issue-id-picker",28),T(7,"async"),T(8,"async"),T(9,"async"),G(),L());a&2&&(a=O(2),z(),D("componentId",V(2,8,a.componentId$))("compactMode",!0)("issueId",a.issueId),z(3),D("ngIf",V(5,10,a.ancestors$)),z(2),D("issueId",a.issueId)("componentId",V(7,12,a.componentId$))("issueTitle",V(8,14,a.issueTitle$))("isExternalIssue",!!V(9,16,a.isWithinExternalComponent$)))},Ptb=function(a){if(a&1){var b=u();F(0,"b-team-chip",23);T(1,"async");T(2,"async");M("onTeamLoaded",
function(){v(b);var c=O();return x(c.isTeamLoaded=!0)});G();C(3,Otb,10,18,"ng-container",24)}a&2&&(a=O(),D("componentId",V(1,3,a.componentId$))("teamId",V(2,5,a.teamId$)),z(3),D("ngIf",a.isTeamLoaded))},Qtb=function(a){a&1&&(K(0),H(1,"b-component-breadcrumb-chip",30),T(2,"async"),F(3,"div",31),H(4,"b-issue-id-picker",32),T(5,"async"),T(6,"async"),T(7,"async"),G(),L());a&2&&(a=O(2),z(),D("componentId",V(2,6,a.componentId$))("issueId",a.issueId),z(3),D("issueId",a.issueId)("componentId",V(5,8,a.componentId$))("issueTitle",
V(6,10,a.issueTitle$))("isExternalIssue",!!V(7,12,a.isWithinExternalComponent$)))},Rtb=function(a){if(a&1){var b=u();F(0,"b-team-chip",23);T(1,"async");T(2,"async");M("onTeamLoaded",function(){v(b);var c=O();return x(c.isTeamLoaded=!0)});G();C(3,Qtb,8,14,"ng-container",24)}a&2&&(a=O(),D("componentId",V(1,3,a.componentId$))("teamId",V(2,5,a.teamId$)),z(3),D("ngIf",a.isTeamLoaded))},Stb=function(a){a&1&&(K(0),R(1),L());a&2&&(a=O().$implicit,z(),S(" ",a," "))},Ttb=function(a,b){a&1&&(F(0,"div",33),H(1,
"mat-icon",34),C(2,Stb,2,1,"ng-container",24),G());a&2&&(a=b.$implicit,O(),b=Q(37),D("onedevHovercardTrigger",b),z(2),D("ngIf",a>=2))},Utb=function(a){a&1&&(K(0),H(1,"b-list-issues-card",35,3),T(3,"async"),L());if(a&2){a=Q(2);var b=O(),c=Q(37);z();D("onedevIsHovercardReady",a.init)("hovercardInstance",c)("currentIssueId",b.issueId)("issueIds",V(3,5,b.blockedByids$))("mode",b.ListIssuesHovercardMode.BLOCKED_BY_ISSUES)}},Vtb=function(a){return a===1?"Blocked":"Blocked by "+a+" issues"},Wtb=function(a){if(a.length!==
0)return a.length===1?zo.viewIssue.makeHref(a[0]):zo.listIssues.makeHref()},Xtb=function(a,b){a&1&&(F(0,"div",1),H(1,"img",2),F(2,"h3"),R(3),G(),F(4,"a",3),T(5,"async"),R(6),G()());a&2&&(a=b.$implicit,b=O(),z(),D("src",a.branding==null?null:a.branding.logoUrl,Qe),z(2),S("This issue is a part of the ",a.name," tracker."),z(),D("href",V(5,4,b.trackerRedirectUrl$),Qe),z(2),S(" View in ",a.name," Tracker "))},Ytb=function(a){a&1&&(F(0,"div")(1,"ol")(2,"li")(3,"label"),R(4,"Issue ID"),G(),F(5,"output"),
R(6),G()(),F(7,"li")(8,"label"),R(9,"Type"),G(),F(10,"output"),R(11),G()(),F(12,"li")(13,"label"),R(14,"Status"),G(),F(15,"output"),R(16),G()()()());a&2&&(a=O(2),z(6),lg(a.issueId),z(5),lg(a.issueType),z(5),lg(a.issueStatus))},Ztb=function(a){a&1&&(F(0,"div",1)(1,"div",2),H(2,"img",3),T(3,"async"),H(4,"mat-icon",4)(5,"img",3),T(6,"async"),G(),F(7,"h3",5),R(8),T(9,"async"),G(),C(10,Ytb,17,3,"div",6),F(11,"div",7)(12,"a",8),T(13,"async"),R(14,"Continue"),G()()());a&2&&(a=O(),z(2),D("src",V(3,5,a.currentTrackerLogo$),
Qe),z(3),D("src",V(6,7,a.trackerLogo$),Qe),z(3),S(" Redirecting to ",V(9,9,a.trackerName$)," "),z(2),D("ngIf",a.issue!=null),z(2),D("href",V(13,11,a.trackerRedirectUrl$),Qe))},$tb=function(a,b){if(a instanceof Element){var c=ij(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)}}},aub=function(a,b){a&1&&(F(0,"h2",8),R(1),G());a&2&&(a=b.ngIf,z(),S("Issue ",
a,""))},bub=function(a){a&1&&Sf(0,9);a&2&&(O(2),a=Q(5),D("ngTemplateOutlet",a))},cub=function(a){a&1&&Sf(0,9);a&2&&(O(3),a=Q(13),D("ngTemplateOutlet",a))},eub=function(a){a&1&&Sf(0,10);if(a&2){a=O(2);O(2);var b=Q(11);D("ngTemplateOutlet",b)("ngTemplateOutletContext",ug(2,dub,a.monorailRedirectUrl))}},fub=function(a){a&1&&C(0,eub,1,4,"ng-container",10);a&2&&(a=O(),Of(a.monorailRedirectUrl?0:-1))},gub=function(a,b){a&1&&C(0,cub,1,1,"ng-container",9)(1,fub,1,1);if(a&2){var c;Of((c=b.status)===403?0:
c===404?1:-1)}},hub=function(a,b){a&1&&(C(0,bub,1,1,"ng-container",9)(1,gub,2,1),T(2,"async"));if(a&2){var c;a=O();Of(b.success?0:-1);z();Of((c=V(2,2,a.mainIssueLoadError$))?1:-1,c)}},iub=function(a){a&1&&Sf(0)},jub=function(a){a&1&&(F(0,"mat-sidenav-container",11)(1,"mat-sidenav-content"),C(2,iub,1,0,"ng-container",12),G(),F(3,"mat-sidenav",13),T(4,"async"),H(5,"help-me-fix-sidebar"),G()());if(a&2){a=O(2);var b=Q(7);z(2);D("ngTemplateOutlet",b);z();D("autoFocus",!0)("opened",V(4,4,a.isHelpMeFixSidebarOpen$))("disableClose",
!0)}},kub=function(a){a&1&&Sf(0)},lub=function(a){a&1&&C(0,kub,1,0,"ng-container",12);a&2&&(O(2),a=Q(7),D("ngTemplateOutlet",a))},mub=function(a){a&1&&(C(0,jub,6,6,"mat-sidenav-container",11),T(1,"async"),C(2,lub,1,1,"ng-container"));a&2&&(a=O(),Of(V(1,1,a.enableHelpMeFixSidebar$)?0:2))},nub=function(a){a&1&&(F(0,"a",26),R(1,"Learn more"),G())},oub=function(a){if(a&1){var b=u();F(0,"button",27);M("click",function(){var c=v(b).ngIf,d=O(4);return x(d.editIssueService.unarchive(c))});R(1," Unarchive ");
G()}},pub=function(a){a&1&&(F(0,"b-callout",23)(1,"b-callout-body"),R(2,"This issue has been archived. "),C(3,nub,2,0,"a",24),G(),F(4,"b-callout-actions"),C(5,oub,2,0,"button",25),T(6,"async"),G()());a&2&&(a=O(3),D("messageType","caution")("format","app")("iconOverride","archive_24px"),z(3),D("ngIf",a.activeSession.isInternalSession()),z(2),D("ngIf",V(6,5,a.id$)))},qub=function(a){a&1&&(F(0,"a",30),R(1,"Learn more"),G())},rub=function(a){a&1&&(F(0,"b-callout",28)(1,"b-callout-body"),R(2," This issue is in an archived component. "),
C(3,qub,2,0,"a",29),G()());a&2&&(a=O(3),D("format","app")("iconOverride","archive_24px"),z(3),D("ngIf",a.activeSession.isInternalSession()))},sub=function(a,b){a&1&&(K(0),R(1," Reason: "),F(2,"code"),R(3),G(),R(4,". "),L());a&2&&(a=b.$implicit,z(3),lg(a))},tub=function(a){a&1&&(F(0,"a",35),R(1,"Learn more"),G())},vub=function(a){if(a&1){var b=u();F(0,"button",36);T(1,"async");T(2,"async");M("click",function(){var d=v(b).ngIf,e=O(4);return x(uub(e.editIssueService,d))});R(3," Undelete ");G()}if(a&
2){var c;a=O(4);D("matTooltip",(c=V(1,2,a.undeleteButtonTooltip$))!==null&&c!==void 0?c:"")("disabled",!V(2,4,a.permissions.canUndeleteIssue$))}},wub=function(a){a&1&&(F(0,"b-callout",31)(1,"b-callout-body"),R(2," This issue has been deleted. "),C(3,sub,5,1,"ng-container",32),T(4,"async"),C(5,tub,2,0,"a",33),G(),F(6,"b-callout-actions"),C(7,vub,4,6,"button",34),T(8,"async"),G()());if(a&2){var b;a=O(3);z(3);D("ngIf",(b=V(4,3,a.snapshot$))==null?null:b.deletionReason);z(2);D("ngIf",a.activeSession.isInternalSession());
z(2);D("ngIf",V(8,5,a.id$))}},xub=function(a,b){a&1&&(F(0,"output",44),R(1),G());a&2&&(a=b.$implicit,z(),S(" ",a," "))},zub=function(a,b){a&1&&(F(0,"a",42,6),R(2),C(3,xub,2,1,"output",43),T(4,"async"),G());a&2&&(a=b.$implicit,b=Q(1),D("routerLink",a.link)("active",b.isActive)("routerLinkActiveOptions",tg(7,yub)),z(2),S(" ",a.title," "),z(),D("ngIf",V(4,5,a.count$)))},Aub=function(a,b){a&1&&(F(0,"header",37),H(1,"b-tracker-banner",38),T(2,"async"),T(3,"async"),H(4,"issue-header",39),F(5,"nav",40),
C(6,zub,5,8,"a",41),G(),H(7,"mat-tab-nav-panel",null,5),G());if(a&2){a=b.$implicit;b=Q(8);var c=O(3);z();D("issueId",V(2,5,c.id$))("trackerId",V(3,7,c.issueTrackerId$));z(3);D("issueId",a);z();D("tabPanel",b);z();D("ngForOf",c.tabs)}},Bub=function(a,b){a&1&&H(0,"issue-metadata-sidebar",39);a&2&&D("issueId",b.ngIf)},Cub=function(a){a&1&&(F(0,"div",15),T(1,"async"),C(2,pub,7,7,"b-callout",16),T(3,"async"),C(4,rub,4,3,"b-callout",17),T(5,"async"),C(6,wub,9,7,"b-callout",18),T(7,"async"),C(8,Aub,9,9,
"header",19),T(9,"async"),F(10,"div",20)(11,"article",21),H(12,"router-outlet"),G(),C(13,Bub,1,1,"issue-metadata-sidebar",22),T(14,"async"),G()());a&2&&(a=O(2),Kf("issue-editor-false",!V(1,7,a.permissions.hasAclToEdit$)),z(2),D("ngIf",V(3,9,a.archived$)),z(2),D("ngIf",V(5,11,a.inArchivedComponent$)),z(2),D("ngIf",V(7,13,a.deleted$)),z(2),D("ngIf",V(9,15,a.id$)),z(5),D("ngIf",V(14,17,a.id$)))},Dub=function(a){a&1&&(C(0,Cub,15,19,"div",14),T(1,"async"));if(a&2){a=O();var b=Q(9);D("ngIf",!V(1,2,a.showTrackerRedirect$))("ngIfElse",
b)}},Eub=function(a){a&1&&(F(0,"div",45),H(1,"b-tracker-redirect",46),T(2,"async"),G());a&2&&(a=O(),z(),D("issue",V(2,1,a.issue$)))},Fub=function(a,b){a&1&&(F(0,"h3"),R(1," Redirecting to "),F(2,"a",47),R(3),G()());a&2&&(a=b.monorailRedirectUrl,z(2),D("href",a,Qe),z(),S(" ",a," "))},Gub=function(a){a&1&&(H(0,"b-access-denied-metadata",48),T(1,"async"));a&2&&(a=O(2),D("issueMetadata",V(1,1,a.issueMetadata$)))},Hub=function(a){a&1&&H(0,"b-access-denied-metadata",49)},Iub=function(a){a&1&&(F(0,"div",
45),C(1,Gub,2,3,"b-access-denied-metadata",48)(2,Hub,1,0,"b-access-denied-metadata",49),G());a&2&&(a=O(),z(),Of(a.activeSession.isInternalSession()?1:2))},Jub=function(a,b){a&1&&(K(0),H(1,"b-issues-table",1),L());a&2&&(a=b.ngIf,b=O(),z(),D("issueIds",a)("menuItemFactory",b.getMenuItems)("tableColumns",b.tableColumns)("initialSort",b.initialSort))},Lub=function(a){if(a&1){var b=u();F(0,"div",5);H(1,"img",6);F(2,"p",7);R(3," This issue has no duplicates ");G();F(4,"p",8);R(5," A duplicate is an issue with similar content. ");
G();F(6,"p",8);R(7,' Any issue added here will be closed as a duplicate of this one, making this the "canonical issue". ');F(8,"a",9);R(9,"Learn more");G()();F(10,"button",10);M("click",function(){v(b);var c=O(2);return x(Kub(c))});R(11," Add ");G()()}a&2&&(a=O(2),z(),D("src",a.ROBOT_SLEEPING,Qe))},Mub=function(a,b){a&1&&H(0,"b-duplicates-table",15);a&2&&(a=b.$implicit,b=O(2).$implicit,D("issueId",a)("duplicateIds",b))},Nub=function(a,b){a&1&&(K(0),F(1,"a",16),R(2," View as search results "),G(),
L());a&2&&(a=b.ngIf,z(),D("routerLink",a.path)("queryParams",a.params))},Oub=function(a){if(a&1){var b=u();F(0,"h4",11);R(1);T(2,"async");F(3,"button",12);M("click",function(){v(b);var c=O(2);return x(Kub(c))});R(4," Add ");G()();C(5,Mub,1,2,"b-duplicates-table",13);T(6,"async");F(7,"aside",14);C(8,Nub,3,2,"ng-container",2);T(9,"async");G()}a&2&&(a=O(2),z(),S("Duplicates ",V(2,3,a.counts.countDuplicateDisplay$)," "),z(4),D("ngIf",V(6,5,a.id$)),z(3),D("ngIf",V(9,7,a.dupeUrl$)))},Pub=function(a){a&
1&&(K(0),C(1,Lub,12,1,"div",4),T(2,"async"),C(3,Oub,10,9,"ng-template",null,0,yg),L());if(a&2){a=Q(4);var b=O();z();D("ngIf",!V(2,2,b.showTable$))("ngIfElse",a)}},Qub=function(a){a&1&&(F(0,"aside",17),H(1,"b-spinner"),G())},Rub=function(a){a&1&&(F(0,"span"),R(1),G());a&2&&(a=O(),Kf("muted",a.isGreyedOut),z(),S(" ",a.displayName,""))},Sub=function(a){if(a&1){var b=u();F(0,"a",2);M("click",function(c){v(b);var d=O();return x(d.handleClick(c))});R(1);G()}a&2&&(a=O(),D("href",a.linkUrl,Qe)("rel",a.EXTERNAL_LINK_REL),
z(),S(" ",a.displayName,""))},Tub=function(a){a&1&&H(0,"b-restricted-chip",10);a&2&&(a=O(),D("label",a.getRestrictedLabel())("retentionState",a.attachment==null?null:a.attachment.piiRetentionState)("contentType","attachment"))},Uub=function(a){a&1&&(F(0,"span",11),H(1,"b-actions-menu",12),G());a&2&&(a=O(),z(),D("menuItems",a.actionMenuItems)("buttonLabel","Attachment actions")("matTooltip","Attachment actions"))},Yub=function(a){if(a&1){var b=u();F(0,"span")(1,"b-conditional-link",13);M("customHandler",
function(){v(b);var c=O();c.isRestricted()?Vub(c,!1):c.domSafe.openInNewTab(Wub(c,!1));return x()});G()()}a&2&&(a=O(),Nf("bv2-issue-attachment-link ",Xub(a),""),z(),D("isGreyedOut",!a.hasViewAccess)("displayName","View")("linkUrl",Wub(a,!1))("linkEnabled",!0)("useCustomHandler",!0))},Zub=function(a){if(a&1){var b=u();F(0,"span")(1,"b-conditional-link",13);M("customHandler",function(){v(b);var c=O();c.isRestricted()?Vub(c,!0):c.domSafe.openInNewTab(Wub(c,!0));return x()});G()()}a&2&&(a=O(),Nf("bv2-issue-attachment-link ",
Xub(a),""),z(),D("isGreyedOut",!a.hasViewAccess)("displayName","Download")("linkUrl",Wub(a,!0))("linkEnabled",!0)("useCustomHandler",!0))},$ub=function(a){a&1&&(F(0,"span",14)(1,"a",15),H(2,"mat-icon",16),G()());a&2&&(a=O(),z(),D("href",a.documentationLinks.getRestrictedAccessHelpLink(),Qe)("disableRipple",!0),z(),D("svgIcon","help-outline"))},avb=function(a){a&1&&(F(0,"div",17),R(1," You do not have access to this restricted attachment. "),F(2,"a",18),R(3,"Learn more"),G()());a&2&&(a=O(),z(2),D("href",
a.documentationLinks.getRestrictedAccessHelpLink(),Qe))},bvb=function(a){if(a&1){var b=u();F(0,"button",1);M("click",function(){v(b);var c=O();return x(c.openHelpMeFixSidebar())});H(1,"mat-icon",2);R(2," Help me fix ");G()}},dvb=function(a){if(a&1){var b=u();F(0,"button",19,3);M("click",function(){v(b);var c=O(2);return x(cvb(c))});R(2," Edit ");G()}},evb=function(a,b){a&1&&(K(0),H(1,"b-user-display",20),F(2,"onedev-hovercard",null,4),H(4,"b-issue-person-card",21),T(5,"async"),G(),R(6," created issue "),
L());if(a&2){var c;a=b.ngIf;b=Q(3);var d=O(2);z();D("onedevHovercardTrigger",b)("model",a);z(3);D("email",(c=V(5,3,d.originalAuthorEmail$))!==null&&c!==void 0?c:"")}},fvb=function(a,b){a&1&&(K(0),R(1," on behalf of "),H(2,"b-user-display-name",22),L());a&2&&(a=b.ngIf,z(2),D("email",a)("showEmail",!1))},gvb=function(a){a&1&&(K(0),C(1,fvb,3,2,"ng-container",14),T(2,"async"),L());a&2&&(a=O(2),z(),D("ngIf",V(2,1,a.onBehalfOfEmail$)))},hvb=function(a,b){if(a&1){var c=u();F(0,"a",23);M("click",function(d){var e=
v(c).$implicit;O(2).issueReferenceResolver.visit({issueId:e,elementId:"comment1",event:d});return x()});R(1);G()}a&2&&(a=b.$implicit,b=O().$implicit,O(),D("routerLinkObj",qo(a,{comment:1})),Bf("aria-label","Comment number"+b.commentNumber),z(),S(" #",b.commentNumber,""))},jvb=function(a){a&1&&(K(0),F(1,"span",24),R(2," \u2022 Edited"),G(),L());if(a&2){a=O().$implicit;var b=O();z();D("matTooltip",ivb(b,a))}},kvb=function(a){a&1&&(K(0),F(1,"p",25),R(2," Description has been deleted. "),G(),L())},lvb=
function(a){if(a&1){var b=u();F(0,"b-restricted-comment-placeholder",27);T(1,"async");M("onConfirm",function(){v(b);var c=O().ngIf,d=O(3).$implicit,e=O();return x(e.loadRestrictedComment(c,d))});G()}a&2&&(a=O(5),D("disabled",!V(1,1,a.mayReadPii$)))},mvb=function(a){a&1&&(K(0),C(1,lvb,2,3,"b-restricted-comment-placeholder",26),T(2,"async"),L());a&2&&(a=O(4),z(),D("ngIf",V(2,1,a.shouldShowRestrictedPlaceholder$)))},nvb=function(a){a&1&&(K(0),C(1,mvb,3,3,"ng-container",14),T(2,"async"),L());a&2&&(a=
O(3),z(),D("ngIf",V(2,1,a.id$)))},ovb=function(a,b){a&1&&(H(0,"b-note-container",30),T(1,"async"));if(a&2){a=b.$implicit;b=O().ngIf;var c=O(4);D("issueId",b)("issueAccessLevel",V(1,4,c.accessLevel$))("note",a)("formattingMode",c.formattingMode)}},pvb=function(a){a&1&&(K(0),C(1,ovb,2,6,"b-note-container",29),T(2,"async"),L());if(a&2){a=O(3).$implicit;var b=O();z();D("ngIf",a.unlinkifiedComment!==""&&V(2,1,b.firstNote$))}},qvb=function(a){a&1&&(K(0),R(1," Add one."),L())},rvb=function(a){a&1&&(F(0,
"p",31),R(1," No description yet."),C(2,qvb,2,0,"ng-container",14),G());a&2&&(a=O(4),z(2),D("ngIf",a.canEditComment()))},svb=function(a){a&1&&(H(0,"smart-help-me-fix-button"),C(1,pvb,3,3,"ng-container",14),T(2,"async"),C(3,rvb,3,1,"p",28));if(a&2){a=O(2).$implicit;var b=O();z();D("ngIf",V(2,2,b.id$));z(2);D("ngIf",a.unlinkifiedComment==="")}},tvb=function(a){a&1&&(C(0,nvb,3,3,"ng-container",18),T(1,"async"),C(2,svb,4,4,"ng-template",null,5,yg));if(a&2){a=Q(3);var b=O(2);D("ngIf",V(1,2,b.isRedacted$))("ngIfElse",
a)}},uvb=function(a,b){a&1&&(K(0),H(1,"b-attachment-viewer",36),T(2,"async"),L());if(a&2){var c;a=b.ngIf;b=O().$implicit;var d=O(4);z();D("issueId",a)("attachment",b)("attachmentUploader",(c=V(2,3,d.originalAuthorEmail$))!==null&&c!==void 0?c:"")}},vvb=function(a,b){a&1&&(F(0,"div",35),C(1,uvb,3,5,"ng-container",14),T(2,"async"),G());a&2&&(a=b.$implicit,b=O(4),Zf("id","attachment",a.attachmentId,""),z(),D("ngIf",V(2,3,b.id$)))},wvb=function(a){a&1&&(F(0,"div",33),C(1,vvb,3,5,"div",34),G());a&2&&(a=
O().ngIf,z(),D("ngForOf",a))},xvb=function(a,b){a&1&&(K(0),C(1,wvb,2,1,"div",32),L());a&2&&(a=b.ngIf,z(),D("ngIf",a.length))},zvb=function(a,b){a&1&&(F(0,"div",7),H(1,"mat-icon",8),F(2,"div",9)(3,"div",10)(4,"div",11)(5,"h4",12),R(6,"Description"),G(),C(7,dvb,3,0,"button",13)(8,evb,7,5,"ng-container",14),T(9,"async"),C(10,gvb,3,3,"ng-container",14),T(11,"async"),C(12,hvb,2,3,"a",15),T(13,"async"),C(14,jvb,3,1,"ng-container",14),T(15,"async"),G(),F(16,"div"),H(17,"b-formatted-date-time",16)(18,"b-actions-menu",
17,1),T(20,"async"),G()(),C(21,kvb,3,0,"ng-container",18),T(22,"async"),C(23,tvb,4,4,"ng-template",null,2,yg)(25,xvb,2,1,"ng-container",14),T(26,"async"),G()());if(a&2){var c;a=b.$implicit;b=Q(24);var d=O();z(7);D("ngIf",d.canEditComment());z();D("ngIf",V(9,11,d.originalAuthor$));z(2);D("ngIf",V(11,13,d.isAuthorNotReporter$));z(2);D("ngIf",a.commentNumber&&V(13,15,d.id$));z(2);D("ngIf",V(15,17,d.isShowCommentHistoryActionInMenu$));z(3);D("timestamp",a.modifiedDate);z();D("buttonLabel","Description actions")("menuItems",
(c=V(20,19,d.commentActionMenuItems$))!==null&&c!==void 0?c:tg(25,yvb));z(3);D("ngIf",V(22,21,d.isDeleted$))("ngIfElse",b);z(4);D("ngIf",V(26,23,d.attachments$))}},Avb=function(a){a&1&&H(0,"b-spinner")},Bvb=function(a){a&1&&H(0,"mat-icon",3)},Cvb=function(a){a&1&&H(0,"b-spinner")},Dvb=function(a,b){a&1&&(F(0,"span",12),R(1," of "),F(2,"a",13),R(3),G()());a&2&&(a=b.$implicit,O(2),b=Q(12),z(2),Zf("routerLink","/issues/",a,""),D("onedevHovercardTrigger",b),z(),S(" ",a," "))},Evb=function(a,b){a&1&&(F(0,
"div")(1,"div",10),T(2,"async"),R(3),G(),C(4,Dvb,4,4,"span",11),T(5,"async"),G());a&2&&(a=b.$implicit,b=O(),z(),Nf("chippy ",V(2,6,b.statusCssClass$),""),D("title",b.STATUS_JS_FULL_TEXT[a]),z(2),S(" ",b.STATUS_JS_TERSE[a]," "),z(),D("ngIf",V(5,8,b.canonicalId$)))},Fvb=function(a,b){a&1&&(F(0,"span"),R(1),G());a&2&&(a=b.$implicit,b=O(),Nf("b-chip squared issue-type-",a,""),z(),S(" ",b.issueTypeToDisplay(a)," "))},Hvb=function(a,b){if(a&1){var c=u();F(0,"b-hotlist-chip-smart",18);M("removeHotlist",
function(){var d=v(c).$implicit,e=O(2);return x(Gvb(e,d))});G()}a&2&&D("id",b.$implicit)},Jvb=function(a,b){if(a&1){var c=u();F(0,"div",14)(1,"button",15);M("onHotkey",function(){v(c);var d=O();return x(Ivb(d))})("click",function(){v(c);var d=O();return x(Ivb(d))});H(2,"mat-icon",16);R(3);T(4,"async");G();C(5,Hvb,1,1,"b-hotlist-chip-smart",17);G()}a&2&&(a=b.$implicit,b=O(),z(),D("hotkey",b.HOTKEYS.OPEN_HOTLIST_PICKER),z(2),S(" ",V(4,3,b.textOfHotlistBtn$)," "),z(2),D("ngForOf",a))},Kvb=function(a){a&
1&&(F(0,"div",19),H(1,"smart-full-history-btn"),G())},Lvb=function(a){a&1&&(H(0,"b-issue-card",20,1),T(2,"async"));if(a&2){a=Q(1);var b=O();D("onedevIsHovercardReady",a.init)("issueId",V(2,2,b.canonicalId$))}},Mvb=function(a){return a==null?void 0:a.snapshot[0].hotlistId},Nvb=function(a){if(a&1){var b=u();F(0,"div",2);H(1,"mat-icon",3);F(2,"button",4);M("click",function(){v(b);var c=O(3);c.llmIssueSummaryService.trackEvent("click","issueDetailsPage");c.llmIssueSummaryService.generateSummaryRequested$.next();
return x()});R(3," Summarize ");G()()}},Ovb=function(a){a&1&&(K(0),C(1,Nvb,4,0,"div",1),T(2,"async"),L());a&2&&(a=O(2),z(),D("ngIf",V(2,1,a.summaryExists$)))},Pvb=function(a){a&1&&(K(0),C(1,Ovb,3,3,"ng-container",0),T(2,"async"),L());a&2&&(a=O(),z(),D("ngIf",V(2,1,a.isSummarizable$)))},Qvb=function(a,b){a&1&&(F(0,"mat-option",9)(1,"div",10),R(2),G(),F(3,"div",11),R(4),G()());a&2&&(a=b.$implicit,D("value",a),z(2),lg(a.name),z(2),lg(a.description))},Rvb=function(a){if(a&1){var b=u();F(0,"mat-form-field",
6)(1,"mat-select",7);pg("valueChange",function(c){v(b);var d=O();og(d.selectedFilter,c)||(d.selectedFilter=c);return x(c)});M("selectionChange",function(c){v(b);var d=O();c=c.value;d.preferences.save({commentFilterPreferences:{commentFilter:c.commentFilterType}}).pipe(qf(d.destroyed$)).subscribe();d.analytics.trackEvent("editIssue","click",c.commentFilterType);return x()});F(2,"mat-select-trigger");R(3);G();C(4,Qvb,5,3,"mat-option",8);G()()}a&2&&(a=O(),z(),ng("value",a.selectedFilter),z(2),lg(a.selectedFilter==
null?null:a.selectedFilter.displayName),z(),D("ngForOf",a.filters))},Svb=function(a){a&1&&(K(0),H(1,"mat-icon",12),F(2,"span"),R(3,"Oldest first"),G(),L())},Tvb=function(a){a&1&&(K(0),H(1,"mat-icon",13),F(2,"span"),R(3,"Newest first"),G(),L())},Xvb=function(a){switch(a){case "FULL_HISTORY":return Uvb;case "ALL_COMMENTS":return rr;case "HUMAN_ONLY":return Vvb;case "TEAM_AND_ASSIGNEE":return Wvb;default:return rr}},Yvb=function(a){a&1&&(K(0),R(1,", "),H(2,"br"),L())},Zvb=function(a){a&1&&(K(0),R(1,
" reacted"),L())},$vb=function(a,b){a&1&&(K(0),F(1,"div"),R(2),C(3,Yvb,3,0,"ng-container",3)(4,Zvb,2,0,"ng-container",3),G(),L());a&2&&(a=b.$implicit,b=b.last,z(2),S(" ",a,""),z(),D("ngIf",!b),z(),D("ngIf",b))},awb=function(a){a&1&&(K(0),R(1),L());a&2&&(a=O(2),z(),S(" by ",pm(a.event.lastCommentEditorUser),""))},bwb=function(a){a&1&&(K(0)(1),R(2,"Message last modified"),L(),C(3,awb,2,1,"ng-container",0),K(4),R(5," on "),H(6,"b-formatted-date-time",1),L()());a&2&&(a=O(),z(3),D("ngIf",a.event.version===
0&&!!a.event.lastCommentEditorUser),z(3),D("timestamp",a.event.commentLastModifiedAtDate))},cwb=function(a){a&1&&H(0,"b-user-email",5);a&2&&(a=O().$implicit,D("email",a.text)("withProfile",!0))},dwb=function(a){a&1&&(F(0,"b-issue-reference-widget",6),K(1),R(2),L(),G());if(a&2){a=O().$implicit;var b=O();D("href",zo.viewIssue.makeHref(a.text))("issueId",b.getIssueId(a));z(2);lg(a.text)}},ewb=function(a){a&1&&(K(0),R(1),L());a&2&&(a=O().$implicit,z(),lg(a.text))},fwb=function(a,b){a&1&&(K(0)(1,1),C(2,
cwb,1,2,"b-user-email",2)(3,dwb,3,3,"b-issue-reference-widget",3)(4,ewb,2,1,"ng-container",4),L()());a&2&&(a=b.$implicit,z(),D("ngSwitch",a.tag),z(),D("ngSwitchCase","user"),z(),D("ngSwitchCase","bug"))},gwb=function(a){a&1&&(K(0),H(1,"b-component-card",4,1),L());if(a&2){a=Q(2);var b=O();z();D("onedevIsHovercardReady",a.init)("componentId",b.id)}},hwb=function(a){a&1&&(F(0,"span"),R(1),G());if(a&2){var b;a=O(5);z();lg((b=a.effortSpecName)!==null&&b!==void 0?b:"Estimated Effort")}},iwb=function(a){a&
1&&(F(0,"label"),C(1,hwb,2,1,"span",14),R(2,":\u200b "),G());if(a&2){a=O(4);var b=Q(5);z();D("ngIf",a.effortEnabled)("ngIfElse",b)}},jwb=function(a){a&1&&(F(0,"label"),R(1),G());a&2&&(a=O(3).$implicit,z(),S("",a.displayName,":\u200b"))},kwb=function(a){a&1&&(F(0,"span"),H(1,"b-user-display-name",16),G());a&2&&(a=O().$implicit,z(),D("email",a)("showEmail",!0))},lwb=function(a){a&1&&(K(0),H(1,"plain-component-path",17),L());a&2&&(a=O(4).$implicit,z(),D("id",a.oldValue))},mwb=function(a){a&1&&H(0,"b-formatted-date-time",
19);if(a&2){a=O(2).$implicit;var b=O(4);D("timestamp",b.asNumber(a)*1E3)}},nwb=function(a){a&1&&(F(0,"span"),R(1,"[Issue creation date]"),G())},owb=function(a){a&1&&(F(0,"span"),C(1,mwb,1,1,"b-formatted-date-time",18)(2,nwb,2,0,"span",8),G());a&2&&(a=O().$implicit,z(),D("ngIf",a!=="<none>"),z(),D("ngIf",a==="<none>"))},pwb=function(a){a&1&&H(0,"b-formatted-date-time",19);if(a&2){a=O(2).$implicit;var b=O(4);D("timestamp",b.asNumber(a)*1E3)}},qwb=function(a){a&1&&(F(0,"span"),R(1,"[Unset]"),G())},rwb=
function(a){a&1&&(F(0,"span"),C(1,pwb,1,1,"b-formatted-date-time",18)(2,qwb,2,0,"span",8),G());a&2&&(a=O().$implicit,z(),D("ngIf",a!=="<none>"),z(),D("ngIf",a==="<none>"))},swb=function(a){a&1&&(K(0),F(1,"span"),R(2),G(),L());a&2&&(a=O().$implicit,O(4),z(2),lg(oq(a)))},twb=function(a){a&1&&(F(0,"span"),R(1),G());a&2&&(a=O().$implicit,z(),lg(a))},uwb=function(a){a&1&&(K(0),C(1,kwb,2,2,"span",8)(2,lwb,2,1,"ng-container",8)(3,owb,3,2,"span",8)(4,rwb,3,2,"span",8)(5,swb,3,1,"ng-container",8)(6,twb,2,
1,"span",8),R(7," \u00a0 "),H(8,"span",15),R(9," \u00a0 "),L());a&2&&(a=O(3).$implicit,z(),D("ngIf",a.isUser),z(),D("ngIf",a.name==="component"),z(),D("ngIf",a.name=="sloStartTime"),z(),D("ngIf",a.name=="sloEndTime"),z(),D("ngIf",a.name==="access_limit"),z(),D("ngIf",!a.isUser&&a.name!=="component"&&a.name!=="sloStartTime"&&a.name!=="sloEndTime"&&a.name!=="access_limit"))},vwb=function(a){a&1&&H(0,"b-user-display-name",16);a&2&&(a=O().$implicit,D("email",a)("showEmail",!0))},wwb=function(a){a&1&&
(F(0,"span"),H(1,"plain-component-path",17),G());a&2&&(a=O(4).$implicit,z(),D("id",a.newValue))},xwb=function(a){a&1&&H(0,"b-formatted-date-time",19);if(a&2){a=O(2).$implicit;var b=O(4);D("timestamp",b.asNumber(a)*1E3)}},ywb=function(a){a&1&&(F(0,"span"),R(1,"[Issue creation date]"),G())},zwb=function(a){a&1&&(F(0,"span"),C(1,xwb,1,1,"b-formatted-date-time",18)(2,ywb,2,0,"span",8),G());a&2&&(a=O().$implicit,z(),D("ngIf",a!=="<none>"),z(),D("ngIf",a==="<none>"))},Awb=function(a){a&1&&H(0,"b-formatted-date-time",
19);if(a&2){a=O(2).$implicit;var b=O(4);D("timestamp",b.asNumber(a)*1E3)}},Bwb=function(a){a&1&&(F(0,"span"),R(1,"[Unset]"),G())},Cwb=function(a){a&1&&(F(0,"span"),C(1,Awb,1,1,"b-formatted-date-time",18)(2,Bwb,2,0,"span",8),G());a&2&&(a=O().$implicit,z(),D("ngIf",a!=="<none>"),z(),D("ngIf",a==="<none>"))},Dwb=function(a){a&1&&(K(0),F(1,"span"),R(2),G(),L());a&2&&(a=O().$implicit,O(4),z(2),lg(oq(a)))},Fwb=function(a){a&1&&(F(0,"span",22),R(1),G());if(a&2){a=O().$implicit;var b=O(3).$implicit;D("ngClass",
ug(2,Ewb,b.oldValue&&b.name=="title"));z();lg(a)}},Gwb=function(a){a&1&&(K(0),C(1,vwb,1,2,"b-user-display-name",20)(2,wwb,2,1,"span",8)(3,zwb,3,2,"span",8)(4,Cwb,3,2,"span",8)(5,Dwb,3,1,"ng-container",8)(6,Fwb,2,4,"span",21),L());a&2&&(a=O(3).$implicit,z(),D("ngIf",a.isUser),z(),D("ngIf",a.name==="component"),z(),D("ngIf",a.name==="sloStartTime"),z(),D("ngIf",a.name==="sloEndTime"),z(),D("ngIf",a.name==="access_limit"),z(),D("ngIf",!a.isUser&&a.name!="component"&&a.name!="sloStartTime"&&a.name!="sloEndTime"&&
a.name!="access_limit"))},Hwb=function(a){a&1&&(F(0,"div",13),C(1,iwb,3,2,"label",14)(2,jwb,2,1,"ng-template",null,2,yg)(4,uwb,10,6,"ng-container",8)(5,Gwb,7,6,"ng-container",8),G());if(a&2){a=Q(3);var b=O(2).$implicit;z();D("ngIf",b.name==="effort")("ngIfElse",a);z(3);D("ngIf",b.oldValue);z();D("ngIf",b.newValue)}},Iwb=function(a){a&1&&(F(0,"span"),R(1,", "),G())},Jwb=function(a,b){a&1&&(F(0,"span"),H(1,"b-user-display-name",16),C(2,Iwb,2,0,"span",8),G());a&2&&(a=b.$implicit,b=b.last,z(),D("email",
a)("showEmail",!0),z(),D("ngIf",!b))},Kwb=function(a){a&1&&(F(0,"span"),C(1,Jwb,3,3,"span",23),G());a&2&&(a=O(4).$implicit,z(),D("ngForOf",a.added))},Lwb=function(a){a&1&&(F(0,"span"),R(1,", "),G())},Mwb=function(a,b){a&1&&(F(0,"span")(1,"span"),R(2),G(),C(3,Lwb,2,0,"span",8),G());a&2&&(a=b.$implicit,b=b.last,z(2),lg(a),z(),D("ngIf",!b))},Nwb=function(a){a&1&&(F(0,"span"),C(1,Mwb,4,2,"span",23),G());a&2&&(a=O(4).$implicit,z(),D("ngForOf",a.added))},Owb=function(a){a&1&&(F(0,"div")(1,"label"),R(2),
G(),C(3,Kwb,2,1,"span",8)(4,Nwb,2,1,"span",8),G());a&2&&(a=O(3).$implicit,z(2),S("+",a.displayName,":\u200b"),z(),D("ngIf",a.isUser),z(),D("ngIf",!a.isUser))},Pwb=function(a){a&1&&(F(0,"span"),R(1,", "),G())},Qwb=function(a,b){a&1&&(F(0,"span"),H(1,"b-user-display-name",16),C(2,Pwb,2,0,"span",8),G());a&2&&(a=b.$implicit,b=b.last,z(),D("email",a)("showEmail",!0),z(),D("ngIf",!b))},Rwb=function(a){a&1&&(F(0,"span"),C(1,Qwb,3,3,"span",23),G());a&2&&(a=O(4).$implicit,z(),D("ngForOf",a.removed))},Swb=
function(a){a&1&&(F(0,"span"),R(1,", "),G())},Twb=function(a,b){a&1&&(F(0,"span")(1,"span"),R(2),G(),C(3,Swb,2,0,"span",8),G());a&2&&(a=b.$implicit,b=b.last,z(2),lg(a),z(),D("ngIf",!b))},Uwb=function(a){a&1&&(F(0,"span"),C(1,Twb,4,2,"span",23),G());a&2&&(a=O(4).$implicit,z(),D("ngForOf",a.removed))},Vwb=function(a){a&1&&(F(0,"div")(1,"label"),R(2),G(),C(3,Rwb,2,1,"span",8)(4,Uwb,2,1,"span",8),G());a&2&&(a=O(3).$implicit,z(2),S("-",a.displayName,":\u200b"),z(),D("ngIf",a.isUser),z(),D("ngIf",!a.isUser))},
Wwb=function(a){a&1&&(F(0,"div",13),C(1,Owb,5,3,"div",8)(2,Vwb,5,3,"div",8),G());if(a&2){a=O(2).$implicit;var b=O();z();D("ngIf",a.added&&a.added.length&&b.isStringArray(a.added));z();D("ngIf",a.removed&&a.removed.length&&b.isStringArray(a.removed))}},Xwb=function(a){a&1&&Sf(0)},Zwb=function(a,b){a&1&&(F(0,"span"),C(1,Xwb,1,0,"ng-container",24),G());if(a&2){a=b.$implicit;b=b.last;var c=O(4).$implicit;O();var d=Q(3);z();D("ngTemplateOutlet",d)("ngTemplateOutletContext",wg(2,Ywb,c,a,b))}},$wb=function(a){a&
1&&(F(0,"div")(1,"label"),R(2),G(),C(3,Zwb,2,6,"span",23),G());a&2&&(a=O(3).$implicit,z(2),S("+",a.displayName,":\u200b"),z(),D("ngForOf",a.added))},axb=function(a){a&1&&Sf(0)},bxb=function(a,b){a&1&&(F(0,"span"),C(1,axb,1,0,"ng-container",24),G());if(a&2){a=b.$implicit;b=b.last;var c=O(4).$implicit;O();var d=Q(3);z();D("ngTemplateOutlet",d)("ngTemplateOutletContext",wg(2,Ywb,c,a,b))}},cxb=function(a){a&1&&(F(0,"div")(1,"label"),R(2),G(),C(3,bxb,2,6,"span",23),G());a&2&&(a=O(3).$implicit,z(2),S("-",
a.displayName,":\u200b"),z(),D("ngForOf",a.removed))},dxb=function(a){a&1&&(F(0,"div",13),C(1,$wb,4,2,"div",8)(2,cxb,4,2,"div",8),G());if(a&2){a=O(2).$implicit;var b=O();z();D("ngIf",a.added&&a.added.length&&b.isLinkedItemArray(a.added));z();D("ngIf",a.removed&&a.removed.length&&b.isLinkedItemArray(a.removed))}},exb=function(a){a&1&&H(0,"b-formatted-date-time",19);a&2&&(a=O().$implicit,D("timestamp",a))},fxb=function(a){a&1&&(F(0,"span"),R(1," - "),G())},gxb=function(a,b){a&1&&(F(0,"span"),H(1,"b-formatted-date-time",
19),C(2,fxb,2,0,"span",8),G());a&2&&(a=b.$implicit,b=b.last,z(),D("timestamp",a),z(),D("ngIf",!b))},hxb=function(a){a&1&&(F(0,"span"),C(1,gxb,3,2,"span",23),G());a&2&&(a=O(4).$implicit,z(),D("ngForOf",a.oldValue.split(", ")))},ixb=function(a){a&1&&(F(0,"span"),R(1),G());a&2&&(a=O().$implicit,z(),lg(a))},lxb=function(a){a&1&&(K(0),C(1,exb,1,1,"b-formatted-date-time",18)(2,hxb,2,1,"span",8)(3,ixb,2,1,"span",8),R(4," \u00a0 "),H(5,"span",15),R(6," \u00a0 "),L());if(a&2){a=O(3).$implicit;var b=O();z();
D("ngIf",jxb(b,a,"oldValue"));z();D("ngIf",kxb(b,a,"oldValue"));z();D("ngIf",!jxb(b,a,"oldValue")&&!kxb(b,a,"oldValue"))}},mxb=function(a){a&1&&H(0,"b-formatted-date-time",19);a&2&&(a=O().$implicit,D("timestamp",a))},nxb=function(a){a&1&&(F(0,"span"),R(1," - "),G())},oxb=function(a,b){a&1&&(F(0,"span"),H(1,"b-formatted-date-time",19),C(2,nxb,2,0,"span",8),G());a&2&&(a=b.$implicit,b=b.last,z(),D("timestamp",a),z(),D("ngIf",!b))},pxb=function(a){a&1&&(F(0,"span"),C(1,oxb,3,2,"span",23),G());a&2&&(a=
O(4).$implicit,z(),D("ngForOf",a.newValue.split(", ")))},qxb=function(a){a&1&&(F(0,"span"),R(1),G());a&2&&(a=O().$implicit,z(),lg(a))},rxb=function(a){a&1&&(K(0),C(1,mxb,1,1,"b-formatted-date-time",18)(2,pxb,2,1,"span",8)(3,qxb,2,1,"span",8),L());if(a&2){a=O(3).$implicit;var b=O();z();D("ngIf",jxb(b,a,"newValue"));z();D("ngIf",kxb(b,a,"newValue"));z();D("ngIf",!jxb(b,a,"newValue")&&!kxb(b,a,"newValue"))}},sxb=function(a){a&1&&(F(0,"div",13)(1,"label"),R(2),G(),C(3,lxb,7,3,"ng-container",8)(4,rxb,
4,3,"ng-container",8),G());if(a&2){a=O(2).$implicit;var b=O();z();Bf("title",b.customFieldName(a));z();S("",b.customFieldName(a),":\u200b");z();D("ngIf",a.oldValue);z();D("ngIf",a.newValue)}},txb=function(a){a&1&&(F(0,"span",28),R(1,"Updated"),G())},uxb=function(a){a&1&&(F(0,"span"),R(1,"Deleted"),G())},vxb=function(a){a&1&&(F(0,"span"),R(1),G());a&2&&(a=O().$implicit,z(),S("Edited (unknown status '",a.status,"')"))},wxb=function(a,b){a&1&&(K(0)(1,10),C(2,txb,2,0,"span",25)(3,uxb,2,0,"span",26)(4,
vxb,2,1,"span",27),L()());a&2&&(a=b.$implicit,z(),D("ngSwitch",a.status),z(),D("ngSwitchCase","ACTIVE"),z(),D("ngSwitchCase","DELETED"))},xxb=function(a){a&1&&(F(0,"div",13)(1,"label"),R(2),G(),C(3,wxb,5,3,"ng-container",8),G());a&2&&(a=O(2).$implicit,z(2),S("",a.displayName,":\u200b"),z(),D("ngIf",a.statusUpdateDiff==null?null:a.statusUpdateDiff.entityStatus))},yxb=function(a){a&1&&(F(0,"div",13)(1,"label"),R(2),G(),F(3,"pre",29),R(4),T(5,"json"),G()());a&2&&(a=O(2).$implicit,z(2),S("",a.displayName,
":\u200b"),z(2),lg(V(5,2,a)))},zxb=function(a){a&1&&(K(0),H(1,"b-formatted-date-time",9),K(2,10),C(3,Hwb,6,4,"div",11)(4,Wwb,3,2,"div",11)(5,dxb,3,2,"div",11)(6,sxb,5,4,"div",11)(7,xxb,4,2,"div",11)(8,yxb,6,4,"div",12),L()());if(a&2){a=O().$implicit;var b=O();z();D("timestamp",a.timestamp);z();D("ngSwitch",!0);z();D("ngSwitchCase",a.type===b.DiffType.SINGLE_VALUE);z();D("ngSwitchCase",a.type===b.DiffType.COLLECTION||a.type===b.DiffType.USER_COLLECTION);z();D("ngSwitchCase",a.type===b.DiffType.LINKED_COLLECTION);
z();D("ngSwitchCase",a.type===b.DiffType.CUSTOM_FIELD);z();D("ngSwitchCase",a.type===b.DiffType.STATUS_UPDATE)}},Axb=function(a,b){a&1&&(F(0,"div",7),C(1,zxb,9,7,"ng-container",8),G());a&2&&(a=b.$implicit,b=O(),z(),D("ngIf",(a==null?void 0:a.name)==="sloStartTime"||(a==null?void 0:a.name)==="sloEndTime"?b.activeSession.isInternalSession():!0))},Bxb=function(a){a&1&&(F(0,"span"),R(1,", "),G())},Cxb=function(a){a&1&&(F(0,"span")(1,"b-issue-reference-widget",30),R(2),G(),C(3,Bxb,2,0,"span",8),G());if(a&
2){a=O().$implicit;var b=O(),c=b.change;b=b.isLast;z();D("href",c.href)("issueId",a);z();lg(a);z();D("ngIf",!b)}},Dxb=function(a){a&1&&(F(0,"span"),R(1,", "),G())},Exb=function(a){a&1&&(K(0),H(1,"hotlist-link",17),C(2,Dxb,2,0,"span",8),L());if(a&2){a=O(2).$implicit;var b=O().isLast;z();D("id",a);z();D("ngIf",!b)}},Fxb=function(a){a&1&&(F(0,"span"),R(1,", "),G())},Gxb=function(a){a&1&&(F(0,"a",31),R(1),G(),C(2,Fxb,2,0,"span",8));if(a&2){a=O(2).$implicit;var b=O(),c=b.isLast;D("href",b.change.href,
Qe);z();lg(a);z();D("ngIf",!c)}},Hxb=function(a){a&1&&C(0,Exb,3,2,"ng-container",14)(1,Gxb,3,3,"ng-template",null,4,yg);if(a&2){a=Q(2);var b=O(2).diff,c=O();D("ngIf",c.isHotlistDiff(b))("ngIfElse",a)}},Ixb=function(a){a&1&&(K(0),C(1,Cxb,4,4,"span",14)(2,Hxb,3,2,"ng-template",null,3,yg),L());if(a&2){a=Q(3);var b=O().diff,c=O();z();D("ngIf",c.isIssueDiff(b))("ngIfElse",a)}},Jxb=function(a,b){a&1&&C(0,Ixb,4,2,"ng-container",8);a&2&&D("ngIf",b.change.value)},Kxb=function(a){a&1&&(F(0,"span"),R(1,"Estimated Effort (disabled)"),
G())},Lxb=function(a,b){a&1&&(H(0,"b-user-membership-chip",10),T(1,"async"),T(2,"async"));if(a&2){var c;a=O(2);D("user",a.event.userPerformingActionUser)("email",b)("teamId",(c=V(1,4,a.teamId$))!==null&&c!==void 0?c:"");Bf("aria-label",V(2,6,a.ariaLabelHeading$))}},Mxb=function(a){a&1&&(H(0,"b-user-display",11),T(1,"async"));a&2&&(a=O(2),D("model",a.event.userPerformingActionUser),Bf("aria-label",V(1,2,a.ariaLabelHeading$)))},Nxb=function(a){a&1&&Sf(0)},Oxb=function(a){a&1&&(K(0),F(1,"span",33),C(2,
Nxb,1,0,"ng-container",34),G(),F(3,"onedev-hovercard",null,1),H(5,"b-issue-person-card",35),G(),L());if(a&2){a=Q(4);O();var b=Q(9),c=O();z();D("onedevHovercardTrigger",a);z();D("ngTemplateOutlet",b);z(3);D("email",sm(c.event.userPerformingActionUser))}},Pxb=function(a){a&1&&(F(0,"span",36),R(1),G());a&2&&(a=O(2),z(),S(" <",pm(a.event.userPerformingActionUser),"> "))},Qxb=function(a){if(a&1){var b=u();F(0,"span")(1,"a",37);M("click",function(c){v(b);var d=O(2);return x(d.scrollCommentIntoView(c,d.event.commentNumber))});
R(2);G()()}a&2&&(a=O(2),z(),D("routerLinkObj",a.getCommentNumberLink(a.event.commentNumber)),Bf("aria-label","Comment number"+a.event.commentNumber),z(),S(" #",a.event.commentNumber,""))},Rxb=function(a){if(a&1){var b=u();F(0,"button",38);M("click",function(){v(b);var c=O(2);return x(sr(c.issueCommentDialogsService,c.issueId,c.deobfuscatedEvent||c.event))});G()}},Sxb=function(a){a&1&&H(0,"b-restricted-chip",39);if(a&2){var b,c;a=O(2);D("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)}},Uxb=function(a){a&1&&(H(0,"b-actions-menu",40,2),T(2,"async"));if(a&2){var b;a=O(2);D("buttonLabel","Comment actions")("menuItems",(b=V(2,2,a.commentActionMenuItems$))!==null&&b!==void 0?b:tg(4,Txb))}},Vxb=function(a){a&1&&(F(0,"div",41),H(1,"b-tagged-text",42),G());a&2&&(a=O(2),z(),D("texts",a.event.taggedSummary))},Wxb=function(a){a&1&&(H(0,"b-issue-event-details",43),T(1,"async"),T(2,"async"),
T(3,"async"));if(a&2){var b,c;a=O().ngIf;var d=O();D("diffs",(b=V(1,4,d.preEventDiffs$))!==null&&b!==void 0?b:tg(10,Txb))("customFieldMap",a.customFieldMap)("effortSpecName",(c=V(2,6,d.effortSpec$))==null?null:c.name)("effortEnabled",!!V(3,8,d.isEffortEnabled$))}},Xxb=function(a){a&1&&(F(0,"div",44),R(1," Comment has been deleted. "),G())},Yxb=function(a){if(a&1){var b=u();F(0,"b-restricted-comment-placeholder",45);T(1,"async");M("onConfirm",function(){v(b);var c=O(2);return x(c.loadRestrictedComment())});
G()}a&2&&(a=O(2),D("disabled",!V(1,1,a.mayReadPii$)))},Zxb=function(a){a&1&&H(0,"b-note-container",46);a&2&&(a=O(2),D("issueId",a.issueId)("issueAccessLevel",a.issueAccessLevel)("note",a.deobfuscatedEvent||a.event)("formattingMode",a.formattingMode))},$xb=function(a){if(a&1){var b=u();K(0);H(1,"b-summarized-note-container",46);F(2,"button",47);M("click",function(){v(b);var c=O(2);c.wasSummarized=!0;c.isSummarized=!c.isSummarized;return x()});H(3,"mat-icon",48);R(4,"Expand details");G();L()}a&2&&(a=
O(2),z(),D("issueId",a.issueId)("issueAccessLevel",a.issueAccessLevel)("note",a.deobfuscatedEvent||a.event)("formattingMode",a.formattingMode))},ayb=function(a){if(a&1){var b=u();K(0);F(1,"button",47);M("click",function(){v(b);var c=O(2);c.wasSummarized=!0;c.isSummarized=!c.isSummarized;return x()});H(2,"mat-icon",49);R(3,"Collapse details");G();L()}},byb=function(a){a&1&&H(0,"b-formatted-date-time",50);a&2&&(a=O(2),D("timestamp",a.event.modifiedDate))},cyb=function(a){a&1&&H(0,"mat-icon",56)},dyb=
function(a){a&1&&H(0,"mat-icon",57)},eyb=function(a,b){a&1&&(F(0,"span"),R(1),G());a&2&&(a=b.ngIf,z(),lg(a))},fyb=function(a){a&1&&H(0,"b-comment-reaction-responders-card",58);a&2&&(a=O(3),D("reactionState",a.event.commentReactions==null?null:a.event.commentReactions.get(a.ReactionType.UPVOTE))("issueId",a.issueId)("commentNumber",a.event.commentNumber))},kyb=function(a){if(a&1){var b=u();F(0,"div",51)(1,"button",52,3);T(3,"async");T(4,"async");T(5,"async");M("click",function(){v(b);var d=O(2);return x(gyb(d))});
C(6,cyb,1,0,"mat-icon",53)(7,dyb,1,0,"mat-icon",54)(8,eyb,2,1,"span",5);T(9,"async");G();F(10,"onedev-hovercard",null,4);C(12,fyb,1,3,"b-comment-reaction-responders-card",55);T(13,"async");G()()}if(a&2){a=Q(11);var c=O(2);z();D("ariaLabel",hyb(c,c.ReactionType.UPVOTE))("ngClass",ug(20,iyb,V(3,10,c.noUpvoteReactions$)))("onedevHovercardTrigger",a)("onedevHovercardConfig",c.commentReactionsHovercardConfig)("onedevHovercardActive",!!V(4,12,c.showCommentReactionHovercard$));Bf("aria-disabled",!V(5,14,
c.hasAclToUpvoteReact$)||c.commentReactionIsSaving);z(5);D("ngIf",!jyb(c,c.ReactionType.UPVOTE));z();D("ngIf",jyb(c,c.ReactionType.UPVOTE));z();D("ngIf",V(9,16,c.upvoteReactionCountDisplayString$));z(4);D("ngIf",!V(13,18,c.noUpvoteReactions$))}},lyb=function(a){if(a&1){var b=u();F(0,"a",62);M("click",function(){v(b);var c=O(3);return x(c.showCommentHistoryDialog(c.event.commentNumber))});R(1," Show History ");G()}},myb=function(a){a&1&&(F(0,"div",59),H(1,"b-comment-edit-timestamp-message",60),C(2,
lyb,2,0,"a",61),G());a&2&&(a=O(2),z(),D("event",a.event),z(),D("ngIf",a.commentHistoryEnabled))},nyb=function(a){a&1&&(H(0,"b-issue-event-details",43),T(1,"async"),T(2,"async"),T(3,"async"));if(a&2){var b,c;a=O().ngIf;var d=O();D("diffs",(b=V(1,4,d.postEventDiffs$))!==null&&b!==void 0?b:tg(10,Txb))("customFieldMap",a.customFieldMap)("effortSpecName",(c=V(2,6,d.effortSpec$))==null?null:c.name)("effortEnabled",!!V(3,8,d.isEffortEnabled$))}},oyb=function(a,b){a&1&&(F(0,"div",65),H(1,"b-attachment-viewer",
66),G());a&2&&(a=b.$implicit,b=O(3),Zf("id","attachment",a.attachmentId,""),z(),D("issueId",b.issueId)("attachment",a)("attachmentUploader",sm(b.event.userPerformingActionUser)))},pyb=function(a){a&1&&(F(0,"div",63),C(1,oyb,2,5,"div",64),G());a&2&&(a=O(2),z(),D("ngForOf",a.event.attachments))},ryb=function(a){a&1&&(K(0),F(1,"div",6),H(2,"b-user-image",7),G(),F(3,"div",8)(4,"h4",9),C(5,Lxb,3,8,"b-user-membership-chip",10)(6,Mxb,2,4,"b-user-display",11)(7,Oxb,6,3,"ng-container",12)(8,Pxb,2,1,"ng-template",
null,0,yg)(10,Qxb,3,3,"span",5)(11,Rxb,1,0,"button",13),T(12,"async"),F(13,"span",14),C(14,Sxb,1,3,"b-restricted-chip",15),H(15,"b-formatted-date-time",16),C(16,Uxb,3,5,"b-actions-menu",17),G()(),H(17,"div",18),C(18,Vxb,2,1,"div",19)(19,Wxb,4,11,"b-issue-event-details",20),T(20,"async"),H(21,"div",18),F(22,"div",21)(23,"div",22),C(24,Xxb,2,0,"div",23)(25,Yxb,2,3,"b-restricted-comment-placeholder",24),F(26,"div",25),C(27,Zxb,1,4,"b-note-container",26)(28,$xb,5,4,"ng-container",5)(29,ayb,4,0,"ng-container",
5),G(),F(30,"div",27)(31,"div",28),C(32,byb,1,1,"b-formatted-date-time",29),T(33,"async"),G(),C(34,kyb,14,22,"div",30),G()(),C(35,myb,3,2,"div",31),G(),C(36,nyb,4,11,"b-issue-event-details",20),T(37,"async"),H(38,"div",18),C(39,pyb,2,1,"div",32),H(40,"div",18),G(),L());if(a&2){var b,c=Q(9);a=O();z(2);D("email",sm(a.event.userPerformingActionUser));z(3);Of((b=a.enableTeamAnnotations&&sm(a.event.userPerformingActionUser))?5:6,b);z(2);D("ngIf",a.isNonObfuscatedEmail(sm(a.event.userPerformingActionUser)))("ngIfElse",
c);z(3);D("ngIf",a.isCommentEvent(a.event));z();D("ngIf",V(12,21,a.canEditComment$)&&!tr(a));z(3);D("ngIf",a.isRestricted());z();D("timestamp",a.event.modifiedDate);z();D("ngIf",a.isCommentEvent(a.event));z(2);D("ngIf",a.event.taggedSummary&&a.event.taggedSummary.length);z();D("ngIf",V(20,23,a.showFullHistoryFromFiltering$)==="FULL_HISTORY");z(5);D("ngIf",a.isDeleted());z();D("ngIf",tr(a)&&!a.isDeleted());z(2);D("ngIf",qyb(a)&&!tr(a)&&!a.isDeleted()&&!a.isSummarized);z();D("ngIf",qyb(a)&&!tr(a)&&
!a.isDeleted()&&a.isSummarized);z();D("ngIf",a.wasSummarized&&!a.isSummarized);z(3);D("ngIf",V(33,25,a.isShowingCommentTimestamp$));z(2);var d;b=a.ReactionType.UPVOTE;var e;c=!a.issuePermissionService.hasAclToComment()&&((d=a.event.commentReactions)==null?void 0:(e=d.get(b))==null?void 0:e.count)===0;d=a.isInternalSession&&a.commentReactionsEnabled&&qyb(a)&&!a.isDeleted()&&!tr(a)&&!c;D("ngIf",d);z();D("ngIf",a.isCommentEvent(a.event)&&(a.event.commentVersion||0)>0&&!tr(a));z();D("ngIf",V(37,27,a.showFullHistoryFromFiltering$)===
"FULL_HISTORY");z(3);D("ngIf",a.event==null?null:a.event.attachments==null?null:a.event.attachments.length)}},syb=function(a){a&1&&(F(0,"aside",3),H(1,"b-spinner"),G())},tyb=function(a){a&1&&(K(0),R(1,"s"),L())},uyb=function(a){if(a&1){var b=u();K(0);F(1,"div",6)(2,"button",7);M("click",function(){v(b);var f=O().index,h=O(),k,q,t=(q=(k=h.foldedCommentsCounts.get(f))==null?void 0:k.eventFoldedCount)!=null?q:0;for(k=0;k<t&&((xn(h.internalEvents[f-k])||yn(h.internalEvents[f-k]))&&h.eventDisplayMode.set(f-
k,"full"),f-k!==0);k++);h.foldedCommentsCounts.delete(f);return x()});R(3);C(4,tyb,2,0,"ng-container",4);G();H(5,"div",8);G();L()}if(a&2){var c,d;a=O().index;var e=O();z(3);S(" ",(c=e.foldedCommentsCounts.get(a))==null?null:c.commentFoldedCount," update");z();D("ngIf",((d=(d=e.foldedCommentsCounts.get(a))==null?null:d.commentFoldedCount)!==null&&d!==void 0?d:1)>1)}},vyb=function(a){a&1&&(F(0,"div",9),H(1,"b-history-event",10),G());if(a&2){var b=O();a=b.$implicit;b=b.index;var c=O();z();D("issueId",
c.internalIssueId)("issueAccessLevel",c.issueAccessLevel)("event",a)("isSummarized",c.eventDisplayMode.get(b)===c.eventDisplayModes.SUMMARIZED)}},xyb=function(a,b){a&1&&(K(0),C(1,uyb,6,2,"ng-container",4)(2,vyb,2,4,"div",5),L());if(a&2){var c;a=b.$implicit;b=b.index;var d=O();z();D("ngIf",d.enableCommentFiltering&&d.foldedCommentsCounts.has(b)&&((c=(c=d.foldedCommentsCounts.get(b))==null?null:c.commentFoldedCount)!==null&&c!==void 0?c:0)>0);z();if(c=d.internalIssueId)if(d.enableCommentFiltering)c=
wyb(d.eventDisplayMode.get(b));else{var e,f;c=(d.showFullHistory||a.isMajorEvent)&&(xn(a)&&!!a.unlinkifiedComment||yn(a)||((e=a.preDiffs)==null?void 0:e.length)>0||((f=a.postDiffs)==null?void 0:f.length)>0)}D("ngIf",c)}},yyb=function(a){a&1&&(F(0,"aside",3),H(1,"b-spinner"),G())},Ayb=function(a,b){a&1&&Sf(0,14);a&2&&(a=b.ngIf,O(3),b=Q(5),D("ngTemplateOutlet",b)("ngTemplateOutletContext",ug(2,zyb,a)))},Byb=function(a){a&1&&(K(0),C(1,Ayb,1,4,"ng-container",13),T(2,"async"),L());a&2&&(a=O(2),z(),D("ngIf",
V(2,1,a.stage$)))},Cyb=function(a){a&1&&(F(0,"div",8),H(1,"mat-icon",9),F(2,"div",10),Sf(3,11),C(4,Byb,3,3,"ng-container",12),G()());if(a&2){a=O();var b=Q(3);D("ngClass",a.enableNoButton?"main-div":"legacy-main-div");z(3);D("ngTemplateOutlet",b);z();D("ngIf",a.isIssueSummaryExpanded)}},Dyb=function(a){a&1&&(F(0,"div"),R(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. "),
G())},Eyb=function(a){a&1&&H(0,"mat-icon",23)},Fyb=function(a){a&1&&H(0,"mat-icon",24)},Gyb=function(a){if(a&1){var b=u();F(0,"button",20);M("click",function(){v(b);var c=O(2);return x(c.isIssueSummaryExpanded=!c.isIssueSummaryExpanded)});C(1,Eyb,1,0,"mat-icon",21)(2,Fyb,1,0,"mat-icon",22);G()}a&2&&(a=O(2),D("matTooltipShowDelay",1E3),Bf("aria-expanded",a.isIssueSummaryExpanded),z(),D("ngIf",!a.isIssueSummaryExpanded),z(),D("ngIf",a.isIssueSummaryExpanded))},Hyb=function(a){a&1&&(F(0,"span",15)(1,
"h4",16),R(2," AI-generated summary "),F(3,"xap-bubble",17)(4,"xap-icon-trigger"),H(5,"mat-icon",18),G(),C(6,Dyb,2,0,"ng-template",null,5,yg),G()(),C(8,Gyb,3,4,"button",19),G());if(a&2){a=Q(7);var b=O();z(3);D("panelTemplate",a);z(5);D("ngIf",b.enableNoButton)}},Jyb=function(a){if(a&1){var b=u();F(0,"button",28);M("click",function(){v(b);var c=O(3);return x(Iyb(c))});R(1," Experiment with prompt ");G()}},Lyb=function(a){if(a&1){var b=u();K(0);F(1,"div",25)(2,"button",26);M("click",function(){v(b);
var c=O(2);return x(Kyb(c))});R(3," Summarize for me ");G();C(4,Jyb,2,0,"button",27);G();L()}a&2&&(a=O(2),z(4),D("ngIf",a.enableLlmDogfood))},Nyb=function(a,b){a&1&&(K(0),Sf(1,14),L());if(a&2){a=b.ngIf;b=O(2).stage;O();var c=Q(11);z();D("ngTemplateOutlet",c)("ngTemplateOutletContext",vg(2,Myb,a,b))}},Oyb=function(a){a&1&&(K(0),C(1,Nyb,2,5,"ng-container",29),T(2,"async"),L());if(a&2){a=O(2);var b=Q(7);z();D("ngIf",V(2,2,a.summaryResponse$))("ngIfElse",b)}},Qyb=function(a,b){a&1&&(K(0),Sf(1,14),L());
a&2&&(a=b.ngIf,O(3),b=Q(9),z(),D("ngTemplateOutlet",b)("ngTemplateOutletContext",ug(2,Pyb,a.issueSummary)))},Ryb=function(a){if(a&1){var b=u();K(0);C(1,Qyb,2,4,"ng-container",29);T(2,"async");F(3,"div",25)(4,"button",28);M("click",function(){v(b);var d=O(2);return x(Iyb(d))});R(5," Experiment with prompt ");G()();L()}if(a&2){a=O(2);var c=Q(7);z();D("ngIf",V(2,2,a.summaryResponse$))("ngIfElse",c)}},Syb=function(a,b){a&1&&C(0,Lyb,5,1,"ng-container",12)(1,Oyb,3,4,"ng-container",12)(2,Ryb,6,4,"ng-container",
12);a&2&&(a=b.stage,b=O(),D("ngIf",a===b.INITIAL),z(),D("ngIf",a===b.SHORT||a===b.LONG),z(),D("ngIf",a===b.CUSTOM))},Tyb=function(a){a&1&&H(0,"b-spinner")},Uyb=function(a){a&1&&H(0,"b-markdown-format-presenter",31);a&2&&(a=O().summary,D("content",a.formattedSummary))},Vyb=function(a){a&1&&(F(0,"div",32),R(1),G());a&2&&(a=O().summary,z(),S(" ",a.summary," "))},Wyb=function(a,b){a&1&&C(0,Uyb,1,1,"b-markdown-format-presenter",30)(1,Vyb,2,1,"ng-template",null,6,yg);a&2&&(a=b.summary,b=Q(2),D("ngIf",a.formattedSummary)("ngIfElse",
b))},Xyb=function(a){if(a&1){var b=u();F(0,"button",28);M("click",function(){v(b);var c=O(3);return x(Kyb(c))});R(1," Tell me more ");G()}},Yyb=function(a){a&1&&(F(0,"span"),R(1," Summary will disappear upon page refresh. "),G())},$yb=function(a){if(a&1){var b=u();K(0);Sf(1,14);F(2,"div",25);C(3,Xyb,2,0,"button",27);G();F(4,"div",33)(5,"span",34);C(6,Yyb,2,0,"span",12);G();F(7,"div",25)(8,"button",35);M("click",function(){v(b);var f=O().response,h=O();return x(h.copySummary(f.issueSummary))});H(9,
"mat-icon",36);G();F(10,"button",37);M("click",function(){v(b);var f=O().response,h=O();return x(h.openFeedbackDialog(f.issueSummary))});H(11,"mat-icon",38);G();F(12,"button",39);M("click",function(){v(b);var f=O().response,h=O();return x(h.trackThumbsUp(f.issueSummary))});H(13,"mat-icon",40);G();F(14,"button",41);M("click",function(){v(b);var f=O().response,h=O();return x(h.trackThumbsDown(f.issueSummary))});H(15,"mat-icon",42);G()()();L()}if(a&2){var c=O();a=c.response;c=c.stage;var d=O(),e=Q(9);
z();D("ngTemplateOutlet",e)("ngTemplateOutletContext",ug(8,Pyb,a.issueSummary));z(2);D("ngIf",c===d.SHORT);z(3);D("ngIf",!d.enableNoButton);z(6);D("disabled",d.hasReacted);z();D("ngClass",ug(10,Zyb,d.thumbsUpClicked));z();D("disabled",d.hasReacted);z();D("ngClass",ug(12,Zyb,d.thumbsDownClicked))}},azb=function(a){a&1&&(F(0,"span"),R(1,"Please try again later. "),G())},bzb=function(a){if(a&1){var b=u();K(0);F(1,"div",33)(2,"div",43);R(3," Issue can not be summarized for now. ");C(4,azb,2,0,"span",
12);G();F(5,"div",25)(6,"button",44);M("click",function(){v(b);var c=O().response,d=O();return x(d.openFeedbackDialog(c.issueSummary))});H(7,"mat-icon",38);G()()();L()}a&2&&(a=O(2),z(4),D("ngIf",!a.enableNoButton))},czb=function(a){a&1&&(F(0,"span"),R(1,"Please try again later. "),G())},dzb=function(a){a&1&&(K(0),F(1,"div",33)(2,"div",43),R(3," Summarization could not be performed. "),C(4,czb,2,0,"span",12),G()(),L());a&2&&(a=O(2),z(4),D("ngIf",!a.enableNoButton))},ezb=function(a,b){a&1&&C(0,$yb,
16,14,"ng-container",12)(1,bzb,8,1,"ng-container",12)(2,dzb,5,1,"ng-container",12);if(a&2){a=b.response;O();var c;b=!((c=a.issueSummary)==null||!c.summary);D("ngIf",b);z();D("ngIf",!!a.issueSummary&&!a.issueSummary.summary);z();D("ngIf",!!a.error)}},fzb=function(a){switch(a){case "initial":return"short";case "short":return"long";case "long":return"long";case "custom":return"custom";default:Dc(a,"nextStage")}},gzb=function(a){switch(a){case "initial":return"COMMENTS_SHORT";case "short":return"COMMENTS_SHORT";
case "long":return"COMMENTS_LONG";case "custom":return"COMMENTS_LONG";default:Dc(a,"summaryTypeForStage")}},hzb=function(a,b){a&1&&(F(0,"div",2),H(1,"llm-summary",3),G());a&2&&(a=b.$implicit,z(),D("issueId",a))},izb=function(a){a&1&&(F(0,"p",15),R(1),F(2,"a",16),R(3," Learn more "),G()());a&2&&(a=O(4),z(),S(" Your comment contains restricted words: ",rq(a.bannedWordsChecker),". Review your comment before posting. "))},jzb=function(a){if(a&1){var b=u();F(0,"div",17)(1,"b-recaptcha",18);M("onUpdate",
function(c){v(b);var d=O(4);return x(d.recaptchaResponse$.next(c))});G()()}},lzb=function(a){if(a&1){var b=u();F(0,"span")(1,"mat-checkbox",19);T(2,"async");T(3,"async");M("change",function(){v(b);var c=O(4);return x(kzb(c))});R(4," CC Me ");G()()}a&2&&(a=O(4),z(),D("checked",!!V(2,2,a.autoCcOnComment$))("disabled",!!V(3,4,a.isCurrentUserCCd$)))},mzb=function(a){a&1&&(F(0,"mat-checkbox",22),R(1," CC Me "),G());a&2&&D("checked",!0)("disabled",!0)},nzb=function(a){a&1&&(F(0,"span",20),C(1,mzb,2,2,"mat-checkbox",
21),T(2,"async"),G());a&2&&(a=O(4),z(),D("ngIf",V(2,1,a.isCurrentUserCCd$)))},ozb=function(a){if(a&1){var b=u();F(0,"b-markdown-toggle",23);M("change",function(c){v(b);var d=O().ngIf;return x(d.formattingMode=c)});G()}a&2&&(a=O().ngIf,D("initialValue",a.formattingMode))},pzb=function(a){a&1&&(H(0,"b-access-limits-chip",24),T(1,"async"));a&2&&(a=O(4),D("issueId",a.issueId)("componentId",a.componentIdString)("accessLimitLevel",V(1,3,a.issueAccessLimitLevel$)))},qzb=function(a){a&1&&H(0,"b-issue-visibility-chip",
13);a&2&&(a=O(4),D("issueId",a.issueId))},rzb=function(a){a&1&&(H(0,"b-component-access-level-indicator",14),T(1,"async"));a&2&&(a=O(4),D("accessLevel",V(1,1,a.accessLevel$)))},tzb=function(a,b){if(a&1){var c=u();K(0);F(1,"b-comment-box",4,0);T(3,"async");T(4,"async");T(5,"async");T(6,"async");M("onHotkey",function(){v(c);var k=Q(2);return x(szb(k,"editpage-hotkey"))})("onChange",function(){v(c);var k=O(3);return x(k.saveCommentDraft())})("onFocusEvent",function(){v(c);var k=O(3);return x(k.wasFocused=
!0)})("onSubmit",function(k){v(c);var q=O(3);return x(q.submitCommentBox(k))})("onRestrict",function(){v(c);var k=O(3);return x(k.showNewContentJudgementDialog())})("onPlusOneTextEntered",function(k){v(c);var q=O(3);q.commentButtonStyle=q.isPlusOneCalloutEnabled()&&k?"hairline":"fill";return x()});C(7,izb,4,1,"p",5)(8,jzb,2,0,"div",6);T(9,"async");F(10,"div",7)(11,"b-button",8);T(12,"async");M("onAction",function(k){v(c);var q=O(3);return x(q.submitCommentBox(k))})("click",function(k){v(c);var q=
O(3);return x(q.submitCommentBox(k))});R(13);G();F(14,"div",9);C(15,lzb,5,6,"span",1);T(16,"async");T(17,"async");C(18,nzb,3,3,"span",10);T(19,"async");T(20,"async");C(21,ozb,1,1,"b-markdown-toggle",11);T(22,"async");C(23,pzb,2,5,"b-access-limits-chip",12);T(24,"async");G();C(25,qzb,1,1,"b-issue-visibility-chip",13)(26,rzb,2,3,"b-component-access-level-indicator",14);G()();L()}if(a&2){var d,e,f;a=b.ngIf;b=O(2).ngIf;var h=O();z();D("hotkey",h.HOTKEYS.FOCUS_COMMENT_BOX)("supportsPreview",!0)("issueId",
b.issueId)("comment",a)("componentId",b.componentId)("placeholder",(d=V(3,22,h.commentPlaceholderText$))!==null&&d!==void 0?d:void 0)("judgementForNewContent",(e=V(4,24,h.judgementForNewContent$))!==null&&e!==void 0?e:void 0)("audience",(f=V(5,26,h.audience$))!==null&&f!==void 0?f:void 0)("disabled",V(6,28,h.commentBoxEnabled$)===!1)("isPlusOneCalloutEnabled",h.isPlusOneCalloutEnabled())("warn",h.bannedWordsChecker.showWarning());z(6);D("ngIf",h.bannedWordsChecker.showWarning());z();D("ngIf",V(9,
30,h.showRecaptcha$));z(3);D("format",h.commentButtonStyle)("disabled",V(12,32,h.commentButtonEnabled$)===!1)("color",h.bannedWordsChecker.showWarning()?"warn":"primary");z(2);S(" ",h.bannedWordsChecker.showWarning()?"Comment Anyway":"Comment"," ");z(2);D("ngIf",!V(16,34,h.isCurrentUserCCd$)&&V(17,36,h.hasAclToEdit$));z(3);D("ngIf",V(19,38,h.isCurrentUserCCd$)||!V(20,40,h.hasAclToEdit$));z(3);D("ngIf",V(22,42,h.hasAclToComment$));z(2);D("ngIf",V(24,44,h.isAccessLimited$));z(2);Of(h.enableNewVisibilityChips?
25:26)}},vzb=function(a){a&1&&(K(0),F(1,"h3",2),R(2,"Add comment"),G(),F(3,"div",3),T(4,"async"),C(5,tzb,27,46,"ng-container",1),T(6,"async"),G(),L());a&2&&(a=O(2),z(3),D("ngClass",vg(6,uzb,V(4,2,a.empty$),!a.wasFocused)),z(2),D("ngIf",V(6,4,a.comment$)))},wzb=function(a,b){a&1&&(K(0),C(1,vzb,7,9,"ng-container",1),L());a&2&&(a=b.ngIf,z(),D("ngIf",!a.isDeleted))},xzb=function(a,b){a&1&&H(0,"b-issue-person-card",7);a&2&&D("email",b.ngIf)},yzb=function(a,b){a&1&&(K(0),F(1,"span",5),R(2),T(3,"shortenEmail"),
G(),F(4,"onedev-hovercard",null,0),C(6,xzb,1,1,"b-issue-person-card",6),G(),L());if(a&2){a=b.ngIf;b=Q(5);var c=O(2);z();D("onedevHovercardTrigger",b);z();S(" ",xg(3,3,c.userToString(a),30)," ");z(4);D("ngIf",a.emailAddress)}},zzb=function(a,b){if(a&1){var c=u();F(0,"a",8);M("click",function(d){var e=v(c).ngIf,f=O(2);return x(f.scrollCommentIntoView(d,e))});R(1);G()}a&2&&(a=b.ngIf,b=O(2),Df("aria-label","Comment number ",a,""),D("routerLinkObj",b.getCommentNumberLink(a)),z(),S(" #",a,""))},Azb=function(a){a&
1&&(K(0),R(1,","),L())},Bzb=function(a,b){a&1&&(F(0,"span",2),C(1,yzb,7,6,"ng-container",3),F(2,"span"),C(3,zzb,2,4,"a",4)(4,Azb,2,0,"ng-container",3),G()());a&2&&(a=b.$implicit,b=b.last,z(),D("ngIf",a.userPerformingActionUser),z(2),D("ngIf",a.commentNumber),z(),D("ngIf",!b))},Czb=function(a,b){a&1&&(F(0,"div",5)(1,"a",6),T(2,"removePngExtension"),H(3,"b-secure-image-widget",7),G(),H(4,"comments-info",8),G());a&2&&(a=b.$implicit,b=O(3),z(),$f("href",V(2,5,a.src),Qe),z(2),D("showByDefault",!0)("src",
b.enableSnipItCorpEndpoint?a.srcCorp:a.src),z(),D("issueId",b.issueId)("comments",a.comments))},Dzb=function(a){if(a&1){var b=u();F(0,"button",10);M("click",function(){v(b);var c=O(2).ngIf,d=O(2);c=c.length;var e=fo(d.maxImagesInOneRow$);e&&d.lastRenderedImageIndex$.next((Math.floor(c/e)+4)*e);return x()});R(1," Load more ");G()}},Ezb=function(a){if(a&1){var b=u();F(0,"button",11);M("click",function(){v(b);var c=O(4);return x(c.goToResourcesTab())});R(1," See all screenshots ");G()}},Fzb=function(a){a&
1&&(K(0),C(1,Dzb,2,0,"button",9)(2,Ezb,2,0,"ng-template",null,1,yg),L());if(a&2){a=Q(3);var b=O(3);z();D("ngIf",b.paginate)("ngIfElse",a)}},Gzb=function(a,b){a&1&&(K(0),F(1,"div",3),C(2,Czb,5,7,"div",4),T(3,"async"),G(),C(4,Fzb,4,2,"ng-container",2),L());if(a&2){a=b.ngIf;b=O().ngIf;var c=O();z();Kf("show-all-images",c.paginate);z();D("ngForOf",V(3,4,c.imagesToRender$));z(2);D("ngIf",b.length!==a.length)}},Hzb=function(a){a&1&&(K(0),C(1,Gzb,5,6,"ng-container",2),T(2,"async"),L());a&2&&(a=O(),z(),D("ngIf",
V(2,1,a.imagesToRender$)))},Izb=function(a){var b=new Map;a=l(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=void 0,e=(d=b.get(c.src))!=null?d:[];e.push(c.comment);b.set(c.src,e)}return Array.from(b.entries()).map(function(f){var h=l(f);f=h.next().value;h=h.next().value;return{src:f,comments:Sm(h)}})},Jzb=function(a){a&1&&(F(0,"span",6),R(1),T(2,"reverse"),G());a&2&&(a=O(),z(),lg(V(2,1,a.leftText)))},Kzb=function(a){a&1&&(K(0),F(1,"b-external-hyperlink-widget",7),R(2),G(),L());a&2&&(a=
O(),z(),D("href",a.redirectedHref)("originalHref",a.originalHref),z(),lg(a.linkText))},Lzb=function(a){a&1&&(F(0,"b-issue-reference-widget",9),R(1),G());a&2&&(a=O(2),D("href",a.redirectedHref)("issueId",a.issueId),z(),lg(a.linkText))},Mzb=function(a){a&1&&(F(0,"a",10),R(1),G());a&2&&(a=O(2),$f("href",a.redirectedHref,Qe),z(),lg(a.linkText))},Nzb=function(a){a&1&&C(0,Lzb,2,3,"b-issue-reference-widget",8)(1,Mzb,2,2,"ng-template",null,1,yg);if(a&2){a=Q(2);var b=O();D("ngIf",b.issueId)("ngIfElse",a)}},
Ozb=function(a){a&1&&(F(0,"span",11),R(1),G());a&2&&(a=O(),z(),lg(a.rightText))},Pzb=function(a){var b=document.createElement("div");a&&(b.nodeType===1&&nea(b),b.innerHTML=xh(a));return b},Qzb=function(a){a&1&&(K(0),F(1,"td"),H(2,"b-issue-priority-display",3),G(),F(3,"td",4)(4,"span",5),R(5),G(),H(6,"mentioned-link-with-context",6),G(),F(7,"td"),H(8,"comments-info",7),T(9,"toComments"),G(),L());if(a&2){var b;a=O().$implicit;var c=O(3);z(2);D("matTooltip",a.hasViewAccess?"":"Access is denied to this issue")("issuePriority",
a.priority);z(2);D("matTooltip",a.hasViewAccess?"":"Access is denied to this issue");z();S(" ",(b=a.title)!==null&&b!==void 0?b:"--"," ");z();D("sourceComment",a.sourceComments[0].issueEvent)("relatedLink",a.relatedLinks[0]);z(2);D("issueId",c.issueId)("comments",V(9,8,a.sourceComments))}},Rzb=function(a,b){a&1&&(F(0,"tr"),C(1,Qzb,10,10,"ng-container",1),G());a&2&&(a=b.$implicit,z(),D("ngIf",a.sourceComments&&a.relatedLinks))},Szb=function(a){if(a&1){var b=u();F(0,"button",9);M("click",function(){v(b);
var c=O(4);c.lastRenderedMentionedIssueIndex$.next(c.lastRenderedMentionedIssueIndex$.value+100);return x()});R(1," Load more ");G()}},Tzb=function(a){if(a&1){var b=u();F(0,"button",10);M("click",function(){v(b);var c=O(4);return x(c.goToResourcesTab())});R(1," See all mentioned issues ");G()}},Uzb=function(a){a&1&&(F(0,"div"),C(1,Szb,2,0,"button",8)(2,Tzb,2,0,"ng-template",null,0,yg),G());if(a&2){a=Q(3);var b=O(3);z();D("ngIf",b.paginate)("ngIfElse",a)}},Vzb=function(a,b){a&1&&(K(0),F(1,"section")(2,
"table"),C(3,Rzb,2,1,"tr",2),G(),C(4,Uzb,4,2,"div",1),G(),L());a&2&&(a=b.ngIf,b=O().ngIf,z(3),D("ngForOf",b),z(),D("ngIf",a.length!==b.length))},Wzb=function(a){a&1&&(K(0),C(1,Vzb,5,2,"ng-container",1),T(2,"async"),L());a&2&&(a=O(),z(),D("ngIf",V(2,1,a.allMentionedIssues$)))},Xzb=function(a,b){a&1&&(F(0,"div",3),H(1,"mentioned-link-with-context",4)(2,"comments-info",5),T(3,"toComments"),G());a&2&&(a=b.$implicit,b=O(3),z(),D("sourceComment",a[0].comment)("relatedLink",a[0]),z(),D("issueId",b.issueId)("comments",
V(3,4,a)))},Yzb=function(a){if(a&1){var b=u();F(0,"button",7);M("click",function(){v(b);var c=O(4);c.lastRenderedRelatedLinkIndex$.next(c.lastRenderedRelatedLinkIndex$.value+100);return x()});R(1," Load more ");G()}},Zzb=function(a){if(a&1){var b=u();F(0,"button",8);M("click",function(){v(b);var c=O(4);return x(c.goToResourcesTab())});R(1," See all related links ");G()}},$zb=function(a){a&1&&(F(0,"div"),C(1,Yzb,2,0,"button",6)(2,Zzb,2,0,"ng-template",null,0,yg),G());if(a&2){a=Q(3);var b=O(3);z();
D("ngIf",b.paginate)("ngIfElse",a)}},aAb=function(a,b){a&1&&(K(0),C(1,Xzb,4,6,"div",2)(2,$zb,4,2,"div",1),L());if(a&2){a=b.ngIf;b=O().ngIf;var c=O();z();D("ngForOf",a)("ngForTrackBy",c.trackByHref);z();D("ngIf",b.length!==a.length)}},bAb=function(a){a&1&&(K(0),C(1,aAb,3,3,"ng-container",1),T(2,"async"),L());a&2&&(a=O(),z(),D("ngIf",V(2,1,a.linkGroupsToRender$)))},dAb=function(a,b){var c=a.filter(function(d){return rIa(d[0])});a=a.filter(function(d){return!rIa(d[0])});return cAb([].concat(r(c),r(a)).slice(0,
b),"asc")},eAb=function(a){a&1&&(F(0,"div"),H(1,"b-spinner"),G())},gAb=function(a){a&1&&(K(0),H(1,"mat-icon",12),Sf(2,13),L());if(a&2){a=O().$implicit;O();var b=Q(10);z(2);D("ngTemplateOutlet",b)("ngTemplateOutletContext",ug(2,fAb,a))}},hAb=function(){},iAb=function(a){a&1&&C(0,hAb,0,0,"ng-template")},jAb=function(a){a&1&&(K(0),C(1,iAb,1,0,null,14),L());a&2&&(a=O(2).$implicit,z(),D("ngTemplateOutlet",a.tabIconTemplate))},kAb=function(a){a&1&&(C(0,jAb,2,1,"ng-container",7),Sf(1,13));if(a&2){a=O().$implicit;
O();var b=Q(10);D("ngIf",a.tabIconTemplate);z();D("ngTemplateOutlet",b)("ngTemplateOutletContext",ug(3,fAb,a))}},lAb=function(a,b){if(a&1){var c=u();F(0,"button",10);T(1,"async");T(2,"async");T(3,"async");M("click",function(){var e=v(c).$implicit,f=O();e=e.key;f.internalExpandedTabs.has(e)?f.internalExpandedTabs.delete(e):f.internalExpandedTabs.add(e);f.expandedTabsChanged.emit(new Set(f.internalExpandedTabs));return x()});C(4,gAb,3,4,"ng-container",11);T(5,"async");C(6,kAb,2,5,"ng-template",null,
1,yg);G()}if(a&2){a=b.$implicit;b=Q(7);var d=O();Kf("expanded",!!V(1,9,sp(d.internalExpandedTabs,a.key)));Df("aria-controls","expandable-tabs-",a.key,"-content");Bf("aria-label",a.ariaLabel)("aria-expanded",!!V(2,11,sp(d.internalExpandedTabs,a.key)))("aria-selected",!!V(3,13,sp(d.internalExpandedTabs,a.key)));z(4);D("ngIf",V(5,15,sp(d.internalExpandedTabs,a.key)))("ngIfElse",b)}},nAb=function(a,b){if(a&1){var c=u();K(0);F(1,"button",15);M("click",function(){v(c);var d=O();return x(mAb(d))});R(2);
G();L()}a&2&&(a=b.ngIf,b=O(),z(),Kf("expandable-tabs-hide-all",a.allTabsExpanded)("expandable-tabs-show-all",!a.allTabsExpanded),Bf("aria-label",(a.allTabsExpanded?"Hide all":"Show all")+" "+b.ariaLabel),z(),S(" ",a.allTabsExpanded?"Hide all":"Show all"," "))},oAb=function(){},pAb=function(a){a&1&&C(0,oAb,0,0,"ng-template")},qAb=function(a){a&1&&(K(0),C(1,pAb,1,0,null,14),L());a&2&&(a=O(3).$implicit,z(),D("ngTemplateOutlet",a.tabIconTemplate))},rAb=function(a){a&1&&(F(0,"h4"),C(1,qAb,2,1,"ng-container",
7),Sf(2,13),G());if(a&2){a=O(2).$implicit;O();var b=Q(10);z();D("ngIf",a.tabIconTemplate);z();D("ngTemplateOutlet",b)("ngTemplateOutletContext",ug(3,fAb,a))}},sAb=function(a){a&1&&H(0,"span",18)},tAb=function(){},uAb=function(a){a&1&&C(0,tAb,0,0,"ng-template")},vAb=function(a){a&1&&(K(0),C(1,uAb,1,0,null,14),L());a&2&&(a=O(2).$implicit,z(),D("ngTemplateOutlet",a.tabContentTemplate))},xAb=function(a){a&1&&(F(0,"div",17),C(1,rAb,3,5,"h4",11),T(2,"async"),C(3,sAb,1,0,"ng-template",null,2,yg)(5,vAb,2,
1,"ng-container",7),G());if(a&2){var b;a=Q(4);var c=O().$implicit,d=O();Nf("expandable-tab-content ",c.key,"");Zf("id","expandable-tabs-",c.key,"-content");z();D("ngIf",((b=V(2,8,d.visibleExpandedTabs$))!==null&&b!==void 0?b:tg(10,wAb)).length>1)("ngIfElse",a);z(4);D("ngIf",c.tabContentTemplate)}},yAb=function(a,b){a&1&&(K(0),C(1,xAb,6,11,"div",16),T(2,"async"),L());a&2&&(a=b.$implicit,b=O(),z(),D("ngIf",V(2,1,sp(b.internalExpandedTabs,a.key))))},zAb=function(){},AAb=function(a){a&1&&C(0,zAb,0,0,
"ng-template")},BAb=function(a){a&1&&(K(0),C(1,AAb,1,0,null,14),L());a&2&&(a=O().tab,z(),D("ngTemplateOutlet",a.tabHeaderTemplate))},CAb=function(a){a&1&&R(0);a&2&&(a=O().tab,lg(a.key))},DAb=function(a,b){a&1&&C(0,BAb,2,1,"ng-container",11)(1,CAb,1,1,"ng-template",null,3,yg);a&2&&(a=b.tab,b=Q(2),D("ngIf",a.tabHeaderTemplate)("ngIfElse",b))},EAb=function(a){a&1&&H(0,"mat-icon",10)},FAb=function(a){a&1&&(R(0),T(1,"async"));if(a&2){var b;a=O(2);S("Screenshots (",(b=V(1,1,a.distinctImageLinksCount$))!==
null&&b!==void 0?b:0,")")}},IAb=function(a,b){if(a&1){var c=u();F(0,"inline-images-summary",12);T(1,"async");M("click",function(){v(c);var e=O(3);GAb(e.issueSummaryTracking,e.issueId,e.TabKeys.IMAGES);return x()});G()}if(a&2){var d;a=b.ngIf;b=O(3);D("issueId",a)("imageLinks",(d=V(1,2,b.imageLinks$))!==null&&d!==void 0?d:tg(4,HAb))}},JAb=function(a){a&1&&(C(0,IAb,2,5,"inline-images-summary",11),T(1,"async"));a&2&&(a=O(2),D("ngIf",V(1,1,a.issueId$)))},KAb=function(a){a&1&&H(0,"mat-icon",13)},LAb=function(a){a&
1&&(R(0),T(1,"async"));if(a&2){var b;a=O(2);S("Mentioned issues (",(b=V(1,1,a.distinctIssuesCount$))!==null&&b!==void 0?b:0,")")}},MAb=function(a,b){if(a&1){var c=u();F(0,"b-mentioned-issues",15);M("click",function(){v(c);var d=O(3);GAb(d.issueSummaryTracking,d.issueId,d.TabKeys.MENTIONED_ISSUES);return x()});G()}a&2&&(a=b.ngIf,b=O(3),D("issueReferences",a)("currentIssueId",b.issueId))},NAb=function(a){a&1&&(C(0,MAb,1,2,"b-mentioned-issues",14),T(1,"async"));a&2&&(a=O(2),D("ngIf",V(1,1,a.issues$)))},
OAb=function(a){a&1&&H(0,"mat-icon",16)},PAb=function(a){a&1&&(R(0),T(1,"async"));if(a&2){var b;a=O(2);S("Links (",(b=V(1,1,a.distinctOtherLinksCount$))!==null&&b!==void 0?b:0,")")}},QAb=function(a){if(a&1){var b=u();F(0,"related-links-widget",17);T(1,"async");M("click",function(){v(b);var d=O(2);GAb(d.issueSummaryTracking,d.issueId,d.TabKeys.LINKS);return x()});G()}if(a&2){var c;a=O(2);D("links",(c=V(1,2,a.otherLinks$))!==null&&c!==void 0?c:tg(4,HAb))("issueId",a.issueId)}},RAb=function(a){a&1&&
H(0,"mat-icon",18)},SAb=function(a){a&1&&R(0,"Similar issues")},TAb=function(a,b){if(a&1){var c=u();F(0,"suggested-similar-issues",20);M("click",function(){v(c);var d=O(3);GAb(d.issueSummaryTracking,d.issueId,d.TabKeys.SIMILAR_ISSUES);return x()});G()}a&2&&(a=b.ngIf,b=O(3),D("issueId",b.issueId)("similarIssueIds",a))},UAb=function(a){a&1&&(C(0,TAb,1,2,"suggested-similar-issues",19),T(1,"async"));a&2&&(a=O(2),D("ngIf",V(1,1,a.similarIssueIds$)))},WAb=function(a,b){if(a&1){var c=u();F(0,"expandable-tabs",
2);M("expandedTabsChanged",function(d){var e=v(c).ngIf,f=O();return x(f.onTabExpanded$.emit({expandedTabKeys:d,allTabKeys:e}))})("contentShownChanged",function(d){v(c);var e=O(),f=e.issueSummaryTracking;e=e.issueId;for(var h=l(VAb),k=h.next();!k.done;k=h.next())k=k.value,d.has(k)?(ur(f.issueInteractionsTracking,e,k+"-content-shown"),f.issueInteractionsTracking.getState(e).variations.delete(k+"-content-not-shown")):(ur(f.issueInteractionsTracking,e,k+"-content-not-shown"),f.issueInteractionsTracking.getState(e).variations.delete(k+
"-content-shown"));d.size>0?(f.recordImpressionOnce(),ur(f.issueInteractionsTracking,e,"SW-content-shown"),f.issueInteractionsTracking.getState(e).variations.delete("SW-content-not-shown")):(ur(f.issueInteractionsTracking,e,"SW-content-not-shown"),f.issueInteractionsTracking.getState(e).variations.delete("SW-content-shown"));return x()});F(1,"expandable-tab",3);C(2,EAb,1,0,"ng-template",4)(3,FAb,2,3,"ng-template",5)(4,JAb,2,3,"ng-template",6);G();F(5,"expandable-tab",7);C(6,KAb,1,0,"ng-template",
4)(7,LAb,2,3,"ng-template",5)(8,NAb,2,3,"ng-template",6);G();F(9,"expandable-tab",8);C(10,OAb,1,0,"ng-template",4)(11,PAb,2,3,"ng-template",5)(12,QAb,2,5,"ng-template",6);G();F(13,"expandable-tab",9);C(14,RAb,1,0,"ng-template",4)(15,SAb,1,0,"ng-template",5)(16,UAb,2,3,"ng-template",6);G()()}a&2&&(a=b.ngIf,b=O(),D("tabKeys",a)("expandedTabs",b.initiallyExpandedTabs),z(),D("key",b.TabKeys.IMAGES),z(4),D("key",b.TabKeys.MENTIONED_ISSUES),z(4),D("key",b.TabKeys.LINKS),z(4),D("key",b.TabKeys.SIMILAR_ISSUES))},
XAb=function(a,b){a&1&&(F(0,"li",6)(1,"div",7),H(2,"b-user-image",8),G(),F(3,"div",9),H(4,"b-user-display",10)(5,"b-formatted-date-time",11),F(6,"p",12),R(7," Formatting: "),F(8,"code",13),R(9),G()(),H(10,"br"),F(11,"span",14)(12,"b-person-hovercard",15),T(13,"omitObfuscatedEmail"),R(14),T(15,"appendDomain"),G()(),R(16),G(),F(17,"pre"),R(18),G()());a&2&&(a=b.$implicit,b=b.index+1,z(2),D("email",a.author==null?null:a.author.emailAddress),z(2),D("model",a.author),z(),D("timestamp",a.updateTime),z(4),
S(" ",a.formattingMode," "),z(3),D("email",V(13,8,a.author==null?null:a.author.emailAddress)),z(2),S(" <",V(15,10,a.author==null?null:a.author.emailAddress),"> "),z(2),S(" #",b," "),z(2),lg(a.updateText))},YAb=function(a){if(a&1){var b=u();F(0,"button",9);M("click",function(){v(b);var c=O(3);return x(c.editStatusUpdate())});R(1," Edit ");G()}},ZAb=function(a){a&1&&(K(0),F(1,"header",5)(2,"h4",6),R(3,"Status Update"),G(),F(4,"p",7),R(5,"No update yet."),G(),C(6,YAb,2,0,"button",8),T(7,"async"),G(),
L());a&2&&(a=O(2),z(6),Of(V(7,1,a.showEditButton$)?6:-1))},aBb=function(a){if(a&1){var b=u();F(0,"button",18);M("click",function(){v(b);var c=O(4);return x($Ab(c))});R(1," Mark as fresh ");G()}},bBb=function(a){if(a&1){var b=u();F(0,"button",16);M("click",function(){v(b);var c=O(3);return x(c.editStatusUpdate())});R(1," Edit ");G();C(2,aBb,2,0,"button",17);T(3,"async")}a&2&&(a=O(3),z(2),D("ngIf",V(3,1,a.freshnessIndicator$)===a.Freshness.STALE))},cBb=function(a){a&1&&H(0,"mat-icon",23)},dBb=function(a,
b){a&1&&(K(0),C(1,cBb,1,0,"mat-icon",19),T(2,"async"),R(3," Updated by "),F(4,"span",20),R(5),T(6,"shortenEmail"),G(),H(7,"b-formatted-date-time",21),F(8,"onedev-hovercard",null,0),H(10,"b-issue-person-card",22),G(),L());if(a&2){var c,d;a=b.ngIf;b=Q(9);var e=O(3);z();D("ngIf",V(2,5,e.freshnessIndicator$)===e.Freshness.FRESH);z(3);D("onedevHovercardTrigger",b);z();S(" ",V(6,7,(c=a.author==null?null:a.author.emailAddress)!==null&&c!==void 0?c:"")," ");z(2);D("timestamp",a.updateTime);z(3);D("email",
(d=a.author==null?null:a.author.emailAddress)!==null&&d!==void 0?d:"")}},eBb=function(a,b){a&1&&H(0,"b-actions-menu",24);a&2&&(a=b.ngIf,D("buttonLabel","Status Update actions")("menuItems",a))},fBb=function(a,b){a&1&&(H(0,"b-note-container",28),T(1,"async"),T(2,"async"));if(a&2){var c;a=b.ngIf;b=O().ngIf;var d=O(3);D("issueId",b.issueId)("issueAccessLevel",V(1,4,d.accessLevel$))("note",a)("formattingMode",(c=V(2,6,d.formattingMode$))!==null&&c!==void 0?c:d.FormattingMode.PLAIN)}},gBb=function(a){if(a&
1){var b=u();F(0,"button",29);M("click",function(){v(b);var c=O(4);return x(c.isCollapsed=!1)});R(1," Show More ");G()}},hBb=function(a){a&1&&(K(0),F(1,"div",25)(2,"div",null,1),C(4,fBb,3,8,"b-note-container",26),T(5,"async"),G(),C(6,gBb,2,0,"button",27),G(),L());a&2&&(a=O(3),z(2),Kf("collapsed",a.isCollapsed),z(2),D("ngIf",V(5,4,a.statusUpdateAsNote$)),z(2),D("ngIf",a.isCollapsed))},iBb=function(a){a&1&&(K(0),F(1,"div",10)(2,"header",11)(3,"div",12)(4,"h4",13),R(5,"Status Update"),G(),C(6,bBb,4,
3),T(7,"async"),G(),F(8,"div",14),C(9,dBb,11,9,"ng-container",4),T(10,"async"),C(11,eBb,1,2,"b-actions-menu",15),T(12,"async"),G()(),C(13,hBb,7,6,"ng-container",4),T(14,"async"),G(),L());a&2&&(a=O(2),z(6),Of(V(7,4,a.showEditButton$)?6:-1),z(3),D("ngIf",V(10,6,a.statusUpdate$)),z(2),D("ngIf",V(12,8,a.menuItems$)),z(2),D("ngIf",V(14,10,a.statusUpdate$)))},kBb=function(a,b){a&1&&(F(0,"div"),T(1,"async"),H(2,"mat-icon",3),C(3,ZAb,8,3,"ng-container",4)(4,iBb,15,12,"ng-container",4),G());a&2&&(a=b.ngIf,
b=O(),Nf("carded margin-s-sides margin-s-bottom bg-main highlighted-left flex-kids-x ",V(1,9,b.semanticClass$),""),Kf("display-none",ug(11,jBb,b.UiState.LOADING).includes(a))("short-height",b.UiState.EMPTY===a),z(3),D("ngIf",a===b.UiState.EMPTY),z(),D("ngIf",a===b.UiState.NORMAL))},lBb=function(a){switch(a){case 1:return"noUpdate";case 2:return"hasUpdate";case 0:return"";default:return""}},mBb=function(a){a=a.getReadonlyResponse();return{outputs:xj(a,vr,1,yj()).map(function(b){return b.getContent()}),
outputBlocked:Hj(a,2)}},pBb=function(a){return nBb(oBb(),a.paths.map(function(b){var c=new wr;return rj(c,1,b)}))},qBb=function(a){return{content:new Map(a.getResponsesList().map(function(b){return[Kh(b.getReadonlySourceFileId(),1),yua(b.getContent())]})),revisionNumber:new Map(a.getResponsesList().map(function(b){return[Kh(b.getReadonlySourceFileId(),1),b.getReadonlySourceFileId().getRevisionNumber()]}))}},rBb=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:""}},sBb=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}},tBb=function(a){var b=new xr,c=a.sourceFile,d=new yr,e=d.setSourceFileId;var f=
c.sourceFileId;var h=new wr;f=rj(h,1,f.depotPath).setRevisionNumber(f.revisionNumber);d=e.call(d,f);c.fileOperation&&sl(d,2,sBb(c.fileOperation));return oj(b,yr,1,d).setContent(a.content)},uBb=function(a){return a.filter(function(b){return b.indexOf("+")!==0}).map(function(b){return b.substring(1)})},vBb=function(a){return a.filter(function(b){return b.indexOf("-")!==0}).map(function(b){return b.substring(1)})},wBb=function(a,b,c){return uBb(c).every(function(d,e){return d.trim()===a[b+e].trim()})},
xBb=function(a,b,c){for(var d=[],e=uBb(b).length,f=a.length-e;c<=f;c++)wBb(a,c,b)&&d.push(c);if(d.length===0)throw Error("tf");a=d[0];return{startRange:a,endRange:a+e}},yBb=function(a,b){if(b.length===0)return"";a=a.split("\n");var c=b.split(/\r?\n?@@\r?\n/).filter(function(k){return k.length>0});b=[];var d=0,e=0,f=0;c=l(c);for(e=c.next();!e.done;e=c.next()){var h=e.value;d=xBb(a,h.split("\n"),d);e=d.startRange;d=f=d.endRange;h=vBb(h.split("\n"));b.push([e,f,h])}d=e=c=0;b=l(b);for(e=b.next();!e.done;e=
b.next())e=l(e.value),f=e.next().value,c=e.next().value,e=e.next().value,f+=d,c+=d,a.splice.apply(a,[f,c-f].concat(r(e))),c-=f,e=e.length-c,d+=e;return a.join("\n")},zBb=function(a){a&1&&H(0,"mat-icon",15)},ABb=function(a){a&1&&H(0,"mat-icon",16)},BBb=function(a){a&1&&H(0,"mat-icon",17)},CBb=function(a){if(a&1){var b=u();K(0);F(1,"div",21)(2,"label");R(3,"File path");G()();F(4,"div",21)(5,"input",22);M("keyup",function(c){v(b);var d=O(2).$implicit;O();d.type==="text-input"&&(d.value=c.target.value);
return x()});G()();F(6,"div",21)(7,"button",23);M("click",function(){v(b);var c=O(2).$implicit;O();if(c.type==="text-input"){var d;(d=c.callback)==null||d.call(c)}return x()});R(8," Continue ");G()();L()}a&2&&(a=O(2).$implicit,z(5),D("disabled",a.state=="complete"),z(2),D("disabled",a.state=="complete"))},DBb=function(a,b){a&1&&(F(0,"div",28),R(1),G());a&2&&(a=b.$implicit,Kf("remove",a.indexOf("-")==0)("add",a.indexOf("+")==0),z(),S(" ",a[0]=="-"||a[0]=="+"?a.substr(1):a," "))},EBb=function(a,b){a&
1&&(F(0,"div",25)(1,"div",26),C(2,DBb,2,5,"div",27),G()());a&2&&(a=b.$implicit,z(2),D("ngForOf",a.lines))},FBb=function(a){a&1&&(K(0),R(1),C(2,EBb,3,1,"div",24),L());if(a&2){a=O(2).$implicit;var b=O();z();S(" ",a.description," ");z();D("ngForOf",b.blocks(a))}},GBb=function(a){if(a&1){var b=u();K(0);F(1,"div",29);R(2);G();F(3,"button",30);M("click",function(){v(b);var c=O(2).$implicit,d=O();return x(d.patch(c))});R(4," Patch changelist into new workspace ");G();L()}a&2&&(a=O(2).$implicit,z(2),S(" ",
a.description," "),z(),D("disabled",a.state!=="in-progress"))},HBb=function(a){a&1&&(K(0),R(1),L());a&2&&(a=O(2).$implicit,z(),S(" ",a.description," "))},IBb=function(a){a&1&&(F(0,"section",18),C(1,CBb,9,2,"ng-container",19)(2,FBb,3,2,"ng-container",19)(3,GBb,5,2,"ng-container",19)(4,HBb,2,1,"ng-container",20),R(5),G());a&2&&(a=O().$implicit,Lf(a.type),D("ngSwitch",a.type),z(),D("ngSwitchCase","text-input"),z(),D("ngSwitchCase","diff-preview"),z(),D("ngSwitchCase","changelist-create"),z(2),S(" ",
a.error," "))},JBb=function(a,b){a&1&&(F(0,"div",9)(1,"header")(2,"div",10),C(3,zBb,1,0,"mat-icon",11)(4,ABb,1,0,"mat-icon",12)(5,BBb,1,0,"mat-icon",13),G(),F(6,"span"),R(7),G()(),C(8,IBb,6,7,"section",14),G());a&2&&(a=b.$implicit,z(2),D("ngSwitch",a.state),z(),D("ngSwitchCase","error"),z(),D("ngSwitchCase","complete"),z(3),lg(a.title),z(),D("ngIf",a.type!=="complete"))},KBb=function(a){a=encodeURIComponent(a).replace(/%([0-9A-F]{2})/g,function(b,c){return String.fromCharCode(Number("0x"+c))});return btoa(a)},
LBb=function(a){if(a&1){var b=u();F(0,"div",3);H(1,"mat-icon",4);F(2,"div",5);Sf(3,6);F(4,"div",7)(5,"button",8);M("click",function(){v(b);var c=O();return x(c.openDialog())});R(6," Suggest a fix for me ");G()()()()}a&2&&(O(),a=Q(3),z(3),D("ngTemplateOutlet",a))},MBb=function(a){a&1&&(F(0,"div"),R(1," AI-generated code changes may inaccurate or offensive information that doesn't represent Google's views. Please review all suggested changes. "),G())},NBb=function(a){a&1&&(F(0,"h4",9),R(1," AI-generated code change "),
F(2,"xap-bubble",10)(3,"xap-icon-trigger"),H(4,"mat-icon",11),G(),C(5,MBb,2,0,"ng-template",null,1,yg),G(),F(7,"a",12),H(8,"mat-icon",13),G()());a&2&&(a=Q(6),z(2),D("panelTemplate",a))},OBb=function(a){a&1&&(K(0),H(1,"llm-summary",6),L());a&2&&(a=O().$implicit,z(),D("issueId",a))},PBb=function(a){a&1&&(K(0),H(1,"llm-suggested-bug-fix",6),L());a&2&&(a=O().$implicit,z(),D("issueId",a))},QBb=function(a,b){a&1&&(K(0),H(1,"issue-description-area",5)(2,"status-update",6),C(3,OBb,2,1,"ng-container",2)(4,
PBb,2,1,"ng-container",2),H(5,"b-issue-description",7),L());a&2&&(a=b.$implicit,b=O(),z(),D("id",a),z(),D("issueId",a),z(),D("ngIf",b.enableLlmSummarization),z(),D("ngIf",b.enableGoosePrompting||b.enableGoosePromptingSupportedIssues),z(),D("id",a))},RBb=function(a,b){a&1&&(H(0,"issue-summary-card",8,0),T(2,"async"));a&2&&(a=b.$implicit,b=Q(1),Kf("hidden",!V(2,3,b.shouldShowSummaryCard$)),D("issueId",a))},SBb=function(a){a&1&&H(0,"issue-event-list",11);a&2&&(a=O().$implicit,D("id",a))},TBb=function(a){a&
1&&H(0,"issue-event-list",11);a&2&&(a=O().$implicit,D("id",a))},UBb=function(a,b){a&1&&(F(0,"div",9),H(1,"b-event-stream-header"),C(2,SBb,1,1,"issue-event-list",10),H(3,"b-post-comment",6),C(4,TBb,1,1,"issue-event-list",10),G());a&2&&(a=b.$implicit,b=O(),Kf("recent-first",b.showRecentEventsFirst),z(2),D("ngIf",!b.showRecentEventsFirst),z(),D("issueId",a),z(),D("ngIf",b.showRecentEventsFirst))},VBb=function(a){a&1&&(F(0,"section")(1,"h4"),H(2,"mat-icon",2),R(3),G(),H(4,"inline-images-summary",3)(5,
"br")(6,"hr",4),G());if(a&2){a=O(2).ngIf;var b=O().ngIf;z(3);S(" Screenshots (",a.length,") ");z();D("issueId",b.issueId)("imageLinks",a)("paginate",!0)}},WBb=function(a){a&1&&(K(0),C(1,VBb,7,4,"section",1),L());a&2&&(a=O().ngIf,z(),D("ngIf",a.length))},XBb=function(a){a&1&&(K(0),C(1,WBb,2,1,"ng-container",1),L());a&2&&(a=O(2),z(),D("ngIf",a.isInternalSession))},YBb=function(a){a&1&&(F(0,"section")(1,"h4"),H(2,"mat-icon",5),R(3),G(),H(4,"b-mentioned-issues",6)(5,"br")(6,"hr",4),G());if(a&2){a=O().ngIf;
var b=O().ngIf;z(3);S(" Mentioned issues (",a.length,") ");z();D("issueReferences",a)("currentIssueId",b.issueId)("paginate",!0)}},ZBb=function(a,b){a&1&&(K(0),C(1,YBb,7,4,"section",1),L());a&2&&(a=b.ngIf,z(),D("ngIf",a.length))},$Bb=function(a){a&1&&(F(0,"section")(1,"h4"),H(2,"mat-icon",7),R(3),G(),H(4,"related-links-widget",8),G());if(a&2){a=O().ngIf;var b=O().ngIf;z(3);S(" Links (",a.length,") ");z();D("links",a)("issueId",b.issueId)("paginate",!0)}},aCb=function(a,b){a&1&&(K(0),C(1,$Bb,5,4,"section",
1),L());a&2&&(a=b.ngIf,z(),D("ngIf",a.length))},bCb=function(a){a&1&&(K(0),C(1,XBb,2,1,"ng-container",1),T(2,"async"),C(3,ZBb,2,1,"ng-container",1),T(4,"async"),C(5,aCb,2,1,"ng-container",1),T(6,"async"),L());a&2&&(a=O(),z(),D("ngIf",V(2,3,a.imageLinks$)),z(2),D("ngIf",V(4,5,a.issueReferences$)),z(2),D("ngIf",V(6,7,a.otherLinks$)))},cCb=function(a){a&1&&(F(0,"div",4),H(1,"img",5),F(2,"p",6),R(3," This issue has no TODOs "),G(),F(4,"p",7),R(5," Buganizer uses a separate service to look for TODOs in the codebase. It didn't find any. "),
F(6,"a",8),R(7,"Learn more"),G()()());a&2&&(a=O(3),z(),D("src",a.ROBOT_SLEEPING,Qe))},dCb=function(a,b){a&1&&H(0,"b-package-mentions-listing",12);if(a&2){a=b.$implicit;b=O(3).ngIf;var c=O().ngIf,d=O();D("issueId",c)("packageMentionSet",a)("displayPackageName",d.displayPackageNames(b))}},eCb=function(a){if(a&1){var b=u();K(0);C(1,dCb,1,3,"b-package-mentions-listing",9);F(2,"p",10)(3,"a",11);M("click",function(){v(b);var c=O(4);return x(c.trackSqueegeeClick())});R(4,"View in Squeegee");G()();L()}a&
2&&(a=O(2).ngIf,z(),D("ngForOf",a.mentions.packageMentionSet),z(2),D("href",a.link,Qe))},fCb=function(a){a&1&&C(0,eCb,5,2,"ng-container",2);a&2&&(a=O().ngIf,D("ngIf",a.mentions))},gCb=function(a,b){a&1&&(K(0),C(1,cCb,8,1,"div",3)(2,fCb,1,1,"ng-template",null,0,yg),L());a&2&&(a=b.ngIf,b=Q(3),O(2),z(),D("ngIf",!(a.mentions&&a.mentions.totalMentions>0))("ngIfElse",b))},hCb=function(a){a&1&&(K(0),C(1,gCb,4,2,"ng-container",2),T(2,"async"),L());a&2&&(a=O(),z(),D("ngIf",V(2,1,a.codeMentionsState$)))},iCb=
function(a){a&1&&H(0,"b-spinner",6);a&2&&D("large",!0)},jCb=function(a){a&1&&H(0,"b-hotlist-grid",7);a&2&&(a=O(),D("hotlists",a.hotlists))},nCb=function(a){if(a&1){var b=u();F(0,"button-toggle",12);pg("valueChange",function(c){v(b);var d=O(2);og(d.viewMode,c)||(d.viewMode=c);return x(c)});G()}a&2&&(a=O(2),ng("value",a.viewMode),D("choices",vg(4,kCb,tg(2,lCb),tg(3,mCb))))},oCb=function(a,b){a&1&&C(0,nCb,1,7,"button-toggle",11);a&2&&(a=O(),Of(a.viewModesEnabled&&(a.viewMode||b<=500)?0:-1))},pCb=function(a){a&
1&&(F(0,"div",13),H(1,"b-spinner"),F(2,"span"),R(3),G()());a&2&&(a=O(),z(3),S(" Searching",a.query?" for "+a.query:"","..."))},qCb=function(a){a&1&&(K(0),R(1," No issues match your search. "),L())},rCb=function(a){a&1&&R(0," Use search box to find issues. ")},tCb=function(a){a&1&&(F(0,"a",18),R(1," Click to see all open issues"),G());a&2&&D("queryParams",tg(1,sCb))},uCb=function(a){a&1&&(F(0,"a",19),R(1,"Learn more about searching"),G())},vCb=function(a){a&1&&(F(0,"div",14),H(1,"img",15),C(2,qCb,
2,0,"ng-container",16)(3,rCb,1,0,"ng-template",null,0,yg)(5,tCb,2,2,"a",17)(6,uCb,2,0,"ng-template",null,1,yg),G());if(a&2){a=Q(4);var b=Q(7),c=O();D("bFocus",!0);z();D("src",c.SPACE_EMPTY_STATE,Qe);z();D("ngIf",c.query)("ngIfElse",a);z(3);D("ngIf",c.currentTracker)("ngIfElse",b)}},wCb=function(a){a&1&&H(0,"one-work-area-list",22)(1,"recent-events",23);a&2&&(a=O(2),D("searchString",a.query)("prefKey",a.query),z(),D("query",a.query)("numEvents",12))},yCb=function(a){if(a&1){var b=u();F(0,"b-issues-grid",
24);M("init",function(c){v(b);var d=O(2);return x(d.resultsGrid=c)});pg("columnsChange",function(c){v(b);var d=O(2);og(d.issueColumns,c)||(d.issueColumns=c);return x(c)});M("columnsChange",function(){v(b);O(2);xCb();return x()})("sortChange",function(c){v(b);var d=O(2);return x(d.setSort(c.field,c.direction))})("rowClick",function(c){v(b);var d=O(2);return x(d.goToIssue(c.id,c.isRead,c.event))})("onNextPage",function(){v(b);var c=O(2);return x(zr(c,c.page,1))})("onPrevPage",function(){v(b);var c=
O(2);return x(zr(c,c.page,-1))});G()}a&2&&(a=O(2),D("searchResults",a.searchResults)("focusedRowIndex",a.focusedRowIndex),ng("columns",a.issueColumns),D("enableColumnSaving",!!a.isColumnSaveEnabled)("sort",a.getSort())("enableSidebar",!0))},zCb=function(a){a&1&&(F(0,"div",20),C(1,wCb,2,4)(2,yCb,1,6,"b-issues-grid",21),G());a&2&&(a=O(),z(),Of(a.viewModesEnabled&&a.viewMode==="adv"?1:2))},ACb=function(a){a&1&&(F(0,"div",6)(1,"h2"),R(2,"Manage SLOs"),G(),F(3,"p",7),R(4,"You have admin rights for all SLOs listed below."),
G()())},BCb=function(a){a&1&&H(0,"b-spinner",8);a&2&&D("large",!0)},CCb=function(a){a&1&&(F(0,"div",11),R(1,"You have no Active SLOs"),G())},DCb=function(a){a&1&&H(0,"b-slo-grid",12);a&2&&(a=O(2),D("slos",a.activeSlos))},ECb=function(a){a&1&&(K(0),C(1,CCb,2,0,"div",9)(2,DCb,1,1,"b-slo-grid",10),L());a&2&&(a=O(),z(),D("ngIf",!a.activeSlos.length),z(),D("ngIf",a.activeSlos.length))},FCb=function(a){a&1&&(F(0,"p",19),R(1," You have no archived SLOs. "),G())},GCb=function(a){a&1&&H(0,"b-slo-grid",12);
a&2&&(a=O(3),D("slos",a.archivedSlos))},HCb=function(a){a&1&&(F(0,"div",17),C(1,FCb,2,0,"p",18)(2,GCb,1,1,"b-slo-grid",10),G());a&2&&(a=O(2),z(),D("ngIf",!a.archivedSlos.length),z(),D("ngIf",a.archivedSlos.length))},ICb=function(a){if(a&1){var b=u();K(0);F(1,"button",13);M("click",function(){v(b);var c=O();c.areArchivedSlosExpanded=!c.areArchivedSlosExpanded;return x()});F(2,"h4",14);H(3,"mat-icon",15);R(4);G()();C(5,HCb,3,2,"div",16);L()}a&2&&(a=O(),z(3),Kf("rotate-180",a.areArchivedSlosExpanded),
D("svgIcon","arrow-dropdown"),z(),S(" Archived SLOs (",a.archivedSlos.length,") "),z(),D("ngIf",a.areArchivedSlosExpanded))},JCb=function(a){a&1&&(K(0),F(1,"p"),R(2,"Team inheritance path:"),G(),H(3,"b-team-breadcrumb",1),L());a&2&&(a=O(),z(3),D("teamPath",a.teamPath))},KCb=function(a){a&1&&(K(0),F(1,"p"),R(2,"Component inheritance path:"),G(),H(3,"b-component-breadcrumb",2),L());a&2&&(a=O(),z(3),D("componentPathInfo",a.componentPath))},LCb=function(a){var b={};a=l(a.groupMetadata);for(var c=a.next();!c.done;c=
a.next())c=c.value,b[c.groupEmail]=c;return b},OCb=function(a){return{approximateSize:ej(a,2),groupEmail:Kh(a,1),sizeCategory:MCb[fj(a,3,0)],permissionCategory:NCb[fj(a,5,0)]}},QCb=function(a){a=xj(a,PCb,1,yj());return{groupMetadata:(a!=null?a:[]).map(OCb)}},SCb=function(a,b){var c=[];if(!b||!a)return c;for(var d=l(RCb),e=d.next();!e.done;e=d.next()){e=e.value;var f=yi(e.accessor(b)||[],e.accessor(a)||[]);f.length&&c.push({field:e.field,addedPrincipals:f})}return c},UCb=function(a,b){if(!a.appenders||
!b||pi(b.appenders,a.appenders))return!1;a=l(a.appenders||[]);for(var c=a.next();!c.done;c=a.next())if(c=c.value,TCb.has(c)&&!b.appenders.includes(c))return!0;return!1},VCb=function(a){var b=new Map;a=l(a);for(var c=a.next();!c.done;c=a.next())switch(c=c.value,c.sizeCategory){case "LARGE":case "HUGE":case "ENORMOUS":b.set(c.groupEmail,c)}return b},WCb=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"},XCb=function(a){if(a.size===0)return Ar;for(var b=a.size===1?zh("p",{},"The following large group is added: "):zh("p",{},"The following large groups are added: "),c=[],d=l(a.keys()),e=d.next();!e.done;e=d.next()){e=e.value;var f=a.get(e).approximateSize;c.push(zh("p",{},yh([zh("b",{},e)," has approximately ",zh("b",{},f)," Googlers."])))}return yh([b].concat(r(c)))},YCb=function(a){if(a.size===0)return Ar;
var b=a.size===1?zh("p",{},"The following open group is added: "):zh("p",{},"The following open groups are added: "),c=[];a=l(a.keys());for(var d=a.next();!d.done;d=a.next())c.push(zh("p",{},zh("b",{},d.value)));return yh([b].concat(r(c)))},ZCb=function(a){var b=new Map;a=l(a);for(var c=a.next();!c.done;c=a.next())c=c.value,c.permissionCategory==="OPEN_TO_JOIN"&&b.set(c.groupEmail,c);return b},$Cb=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},aDb=function(a,b,c){a="USER:"+a;b=b.admins.concat(b.inheritedAdmins);var d=c.admins.concat(c.inheritedAdmins);c=b.filter(function(f){return!d.includes(f)});b=c.filter(function(f){return f.startsWith("GROUP:")});var e=c.filter(function(f){return f.startsWith("USER:")});return d.includes(a)||c.length===0?!1:e.includes(a)?!0:b.length?!0:!1},Br=function(a){var b=a.split(":");a=b[0];return a==="ALIAS"?(b=b[1],{value:b,displayText:Sta(b),principalType:a,detailedUserType:null}):{value:b[1],displayText:b[1],
principalType:a,detailedUserType:null}},bDb=function(a,b){a&1&&H(0,"b-contact-chip",6);a&2&&(a=b.$implicit,b=O(2),D("value",a.value)("detailedUserType",a.detailedUserType)("principalType",a.principalType)("accessLevel",b.accessLevel)("displayText",a.displayText))},cDb=function(a,b){a&1&&(K(0),F(1,"tr",3)(2,"th",4),R(3),G(),F(4,"td"),C(5,bDb,1,5,"b-contact-chip",5),G()(),L());a&2&&(a=b.$implicit,z(3),lg(a.permission),z(2),D("ngForOf",a.principals))},gDb=function(a){var b="minimal";b=b===void 0?"expanded":
b;a=dDb(a);a=Bwa(a,function(c){c=eDb(c);return fDb(c,b)});return dDb(a)},iDb=function(a){a=dDb(a);a=Bwa(a,function(b){b=hDb(b);return eDb(b)});return dDb(a)},fDb=function(a,b){var c=b==="expanded"?jDb:kDb;return new Set([].concat(r(a)).flatMap(function(d){return[].concat(r(c.get(d)))}))},hDb=function(a){return new Set(Cr.filter(function(b){return Ata(a,kDb.get(b))}))},eDb=function(a){a=fDb(a,"expanded");var b=hDb(a);return new Set([].concat(r(b)).filter(function(c){return[].concat(r(lDb.get(c))).every(function(d){return!b.has(d)})}))},
dDb=function(a){var b=new Map;a=l(a.entries());for(var c=a.next();!c.done;c=a.next()){var d=l(c.value);c=d.next().value;d=d.next().value;d=l(d);for(var e=d.next();!e.done;e=d.next()){e=e.value;var f=void 0;b.set(e,((f=b.get(e))!=null?f:new Set).add(c))}}return b},nDb=function(){function a(f,h){c.has(f)||c.set(f,new Set);var k=c.get(f);k.add(h);var q;h=l((q=b.get(h))!=null?q:[]);for(q=h.next();!q.done;q=h.next())q=q.value,k.has(q)||a(f,q)}var b=mDb,c=new Map,d=[].concat(r(b.values())).flatMap(function(f){return[].concat(r(f))});
d=l(new Set([].concat(r(b.keys()),r(d))));for(var e=d.next();!e.done;e=d.next())e=e.value,a(e,e);return c},oDb=function(a){var b=gDb(new Map([["componentAdmin",new Set(a.componentAdmin)],["issueAdmin",new Set(a.issueAdmin)],["issueEditor",new Set(a.editor)],["issueContributor",new Set(a.contributor)],["componentAdminOnly",new Set(a.componentAdminOnly)],["issueCreator",new Set(a.createIssuesOnly)],["issueAdminOnly",new Set(a.issueAdminOnly)],["issueEditorExisting",new Set(a.editExistingIssuesOnly)],
["issueCommenter",new Set(a.commentOnly)],["restrictedPlusViewer",new Set(a.viewRestrictedPlus)],["restrictedViewer",new Set(a.viewRestricted)],["issueViewer",new Set(a.viewer)]])),c=function(d){var e;return[].concat(r((e=b.get(d))!=null?e:[])).sort()};return{componentPermissions:{inheritedAdmins:a.inheritedComponentAdmin,admins:c("componentAdmin"),appenders:c("componentAppender")},issuesPermissions:{admins:c("issueAdmin"),editors:c("issueEditor"),appenders:c("issueAppender"),readers:c("issueReader"),
restrictedReaders:c("issueRestrictedReader"),restrictedPlusReaders:c("issueRestrictedPlusReader")}}},pDb=function(a){var b=a.componentAccessPolicy;a=a.issueAccessPolicy;return Sm([].concat(r(b?[].concat(r(b.inheritedAdmins||[]),r(b.admins||[]),r(b.appenders||[])):[]),r(a?[].concat(r(a.admins||[]),r(a.editors||[]),r(a.appenders||[]),r(a.readers||[]),r(a.restrictedReaders||[]),r(a.restrictedPlusReaders||[])):[]))).sort()},rDb=function(a){function b(e){var f;return[].concat(r((f=d.get(e))!=null?f:[])).sort()}
if(!a)return qDb;var c=a.issueAccessPolicy;a=a.componentAccessPolicy;var d=iDb(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}},sDb=function(a,b){var c;(c=!b)||(c=!(!pi([].concat(r(b.admins)).sort(),[].concat(r(a.admins)).sort())||
!pi([].concat(r(b.appenders)).sort(),[].concat(r(a.appenders)).sort())||!pi(b.implicitAccess,a.implicitAccess)));return!c},tDb=function(a,b){return b&&a?!pi([].concat(r(a.admins)).sort(),[].concat(r(b.admins)).sort())||!pi([].concat(r(a.editors)).sort(),[].concat(r(b.editors)).sort())||!pi([].concat(r(a.appenders)).sort(),[].concat(r(b.appenders)).sort())||!pi([].concat(r(a.readers)).sort(),[].concat(r(b.readers)).sort())||!pi([].concat(r(a.restrictedReaders)).sort(),[].concat(r(b.restrictedReaders)).sort())||
!pi([].concat(r(a.restrictedPlusReaders)).sort(),[].concat(r(b.restrictedPlusReaders)).sort()):!1},uDb=function(a,b){var c=Object.keys(a);c=l(c);for(var d=c.next();!d.done;d=c.next())if(d=d.value,!FAa(a[d],b[d]))return!0;return!1},vDb=function(a){if(a&1){var b=u();F(0,"input",16);pg("ngModelChange",function(c){v(b);var d=O(2);og(d.rolesEditor.component.accessLimit.accessLevel,c)||(d.rolesEditor.component.accessLimit.accessLevel=c);return x(c)});G()}a&2&&(a=O(2),D("disabled",!a.rolesEditor.isAdmin),
ng("ngModel",a.rolesEditor.component.accessLimit.accessLevel))},wDb=function(a){if(a&1){var b=u();F(0,"input",17);pg("ngModelChange",function(c){v(b);var d=O(2);og(d.rolesEditor.component.accessLimit.accessLevel,c)||(d.rolesEditor.component.accessLimit.accessLevel=c);return x(c)});G()}a&2&&(a=O(2),D("disabled",!a.rolesEditor.isAdmin||!a.isParentPartner()),ng("ngModel",a.rolesEditor.component.accessLimit.accessLevel))},xDb=function(a){if(a&1){var b=u();F(0,"input",18);pg("ngModelChange",function(c){v(b);
var d=O(2);og(d.rolesEditor.component.accessLimit.accessLevel,c)||(d.rolesEditor.component.accessLimit.accessLevel=c);return x(c)});G()}a&2&&(a=O(2),D("disabled",!a.rolesEditor.isAdmin||!a.isParentPublic()),ng("ngModel",a.rolesEditor.component.accessLimit.accessLevel))},yDb=function(a,b){a&1&&(F(0,"p",19)(1,"a",20),R(2," Learn more "),G()());a&2&&(a=b.$implicit,z(),D("href",a,Qe))},zDb=function(a){a&1&&(F(0,"div",3)(1,"div",4)(2,"span",5),R(3,"Component visibility: "),G()(),F(4,"div",6)(5,"div",7),
C(6,vDb,1,2,"input",8),F(7,"label",9),R(8),G()(),F(9,"div",7),C(10,wDb,1,2,"input",10),F(11,"label",11),R(12),G()(),F(13,"div",12),C(14,xDb,1,2,"input",13),F(15,"label",14),R(16),G()()(),C(17,yDb,3,1,"p",15),G());a&2&&(a=O(),z(6),D("ngIf",a.rolesEditor.component&&a.rolesEditor.component.accessLimit),z(2),S(" ",G4a(a.AccessLevelStrings.INTERNAL)," "),z(2),D("ngIf",a.rolesEditor.component&&a.rolesEditor.component.accessLimit),z(2),S(" ",G4a(a.AccessLevelStrings.EXTERNAL_PARTNER)," "),z(2),D("ngIf",
a.rolesEditor.component&&a.rolesEditor.component.accessLimit),z(2),S(" ",G4a(a.AccessLevelStrings.EXTERNAL_PUBLIC)," "),z(),D("ngIf",JLa(a.documentationLinks)))},EDb=function(a,b){if(a&1){var c=u();K(0);F(1,"tr")(2,"td")(3,"div",2)(4,"div",3)(5,"label",4);R(6);G();F(7,"button",5);H(8,"mat-icon",6);G()();F(9,"b-multi-user-input",7);M("usersChange",function(e){var f=v(c).$implicit,h=O();return x(h.updateRolesMap(f.roleType,e))})("isValid",function(e){var f=v(c).$implicit,h=O();h.aclFormValidity.set(f.roleType,
e);e=[].concat(r(h.aclFormValidity.values())).every(Boolean);h.formIsValid.emit(e);return x()});G()()();F(10,"td");H(11,"b-icon",8);G();F(12,"td");H(13,"b-icon",8);G();F(14,"td");H(15,"b-icon",8);G();F(16,"td");H(17,"b-icon",8);G();F(18,"td");H(19,"b-icon",8);G();F(20,"td");H(21,"b-icon",8);G();F(22,"td");H(23,"b-icon",8);G();F(24,"td");H(25,"b-icon",8);G()();L()}if(a&2){var d;a=b.$implicit;b=O();z(3);Kf("bv2-edit-resource-readonly",b.canEdit);z(2);D("htmlFor",a.roleType);z();lg(a.label);z();D("matTooltip",
a.tooltip);z(2);D("idForInputBox",a.roleType)("users",a.users)("ariaLabel",a.ariaLabel)("accessLevel",b.accessLevel)("customValidators",(d=a.customValidators)!==null&&d!==void 0?d:tg(22,ADb))("includeAliases",a.includeAliases)("includeViewAliases",a.includeViewAliases)("containerChips",(a.chips==null?0:a.chips.values)&&a.chips.values.length>0?ug(26,BDb,vg(23,CDb,a.chips.displayText,a.chips.values)):tg(28,DDb));Bf("disabled",b.canEdit?null:!0);z(2);D("name",b.getIconName(a,"componentAdmin"));z(2);
D("name",b.getIconName(a,"createIssues"));z(2);D("name",b.getIconName(a,"issueAdmin"));z(2);D("name",b.getIconName(a,"issueEditor"));z(2);D("name",b.getIconName(a,"issueCommenter"));z(2);D("name",b.getIconName(a,"issueReader"));z(2);D("name",b.getIconName(a,"restrictedReader"));z(2);D("name",b.getIconName(a,"restrictedPlusReader"))}},FDb=function(a){a&1&&(F(0,"div",2),H(1,"b-spinner"),G())},HDb=function(a){if(a&1){var b=u();F(0,"div")(1,"div",3)(2,"mat-tab-group",4);M("selectedIndexChange",function(c){v(b);
var d=O();return x(d.tabChange(c))});F(3,"mat-tab",5)(4,"roles-view",6);M("saveRolesMap",function(c){v(b);var d=O();GDb(d.rolesEditor,c);return x()});G()();F(5,"mat-tab",7);H(6,"permissions-view",8);G()()()()}a&2&&(a=O(),z(2),D("selectedIndex",a.selectedTabIndex),z(2),D("rolesMap",a.rolesEditor.rolesMap)("isSaving",a.isSaving())("component",a.rolesEditor.component)("rolesEditor",a.rolesEditor),z(2),D("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))},JDb=function(a){if(a&1){var b=u();F(0,"b-button",24,2);M("onAction",function(){v(b);var c=O(3);return x(IDb(c))});R(2);G()}a&2&&(a=O(3),D("disabled",a.isSaving()),z(2),S(" ",a.archiveAction," Component "))},KDb=function(a){if(a&1){var b=u();F(0,"b-button",25);M("onAction",function(){v(b);var c=O(3);return x(c.createIssue())});
R(1," Create Issue ");G()}a&2&&(a=O(3),D("tooltip",a.isArchived()?"Cannot create issue in archived component":"")("disabled",a.isArchived()))},LDb=function(a){a&1&&(K(0),F(1,"a",21),R(2," Browse Components "),G(),C(3,JDb,3,2,"b-button",22)(4,KDb,2,2,"b-button",23),L());a&2&&(a=O(2),z(),D("routerLinkObj",a.componentListRoute(a.component.componentId)),z(2),D("ngIf",a.isAdmin()),z(),D("ngIf",!a.isAnonymous))},MDb=function(a){a&1&&(F(0,"div",26),H(1,"b-spinner"),G())},NDb=function(a){a&1&&(F(0,"span",
42),R(1," (archived) "),G())},ODb=function(a){a&1&&Sf(0)},PDb=function(a){a&1&&Sf(0)},QDb=function(a){a&1&&Sf(0)},RDb=function(a){a&1&&Sf(0)},SDb=function(a){a&1&&Sf(0)},UDb=function(a){if(a&1){var b=u();F(0,"div",81)(1,"div",51)(2,"label",82)(3,"span",48);R(4,"Parent Component");G()();F(5,"span",53)(6,"div",83)(7,"strong");R(8,"Careful!");G();R(9," Moving this component can have significant consequences. If this component has custom fields that are defined on the parent or ancestor components, those fields will be lost, and issues in this component will no longer display those fields. ");
F(10,"div",55);H(11,"div",56)(12,"div",57);G()()()();F(13,"b-team-component-picker",84);M("selectedComponentChange",function(c){v(b);var d=O(4);return x(d.parentComponent=c!==null&&c!==void 0?c:null)});G()()}a&2&&(a=O(4),z(2),Kf("required",a.isParentComponentRequired&&!TDb(a)),z(11),D("selectedComponent",a.parentComponent)("placeholder","Choose Component")("isRequired",a.isParentComponentRequired&&!TDb(a)))},VDb=function(a){a&1&&(F(0,"a",85),R(1," Learn more "),G());a&2&&(O(4),D("href",Tob(),Qe))},
WDb=function(a){if(a&1){var b=u();F(0,"div",86)(1,"label",87)(2,"span",48);R(3,"Retention Settings");G()();F(4,"div",88)(5,"p");R(6,"Please choose a period of time to retain the data stored in this component.");H(7,"br");F(8,"a",89);R(9," Learn more ");G()()();F(10,"div",90)(11,"b-retention-settings-form",91);M("modelChange",function(c){v(b);var d=O(4);return x(d.component.retentionSettings=c)})("validChange",function(c){v(b);O(4).retentionIsValid=c;return x()});G()()()}a&2&&(a=O(4),Kf("bv2-edit-resource-readonly",
!a.isAdmin()),z(8),D("href",Dr(),Qe),z(3),D("issueRetentionDisabled",a.isAccessEditDisabled())("isExternal",a.isExternal())("componentPathInfo",a.component.componentPathInfo)("componentId",a.component.componentId)("initialModel",a.component.retentionSettings))},YDb=function(a){if(a&1){var b=u();F(0,"div",95)(1,"b-component-team-picker",96);M("modelChange",function(c){v(b);var d=O(5);d.component.team=c;d.componentTeam$.next(d.component.team);d.component.slo.inherit&&XDb(d);return x()});G()()}a&2&&
(a=O(5),z(),$f("anchorTarget",a.hasUnsavedChanges()?"_blank":"_self"),D("isAdmin",a.isAdmin())("isTopLevel",!a.isParentComponentRequired)("parentModel",a.parentComponent==null?null:a.parentComponent.team)("useInternalLink",!0)("model",a.component.team))},ZDb=function(a){a&1&&(F(0,"div",92)(1,"label",93)(2,"span",48),R(3,"Team Configuration"),G()(),C(4,YDb,2,6,"div",94),G());a&2&&(a=O(4),Kf("bv2-edit-resource-readonly",!a.isAdmin()),z(4),D("ngIf",a.component.team))},$Db=function(a){a&1&&(F(0,"a",108),
R(1),G());if(a&2){var b;a=O().ngIf;var c=O(5);D("routerLinkObj",c.getSloManagementLink(a.id));z();S(" ",(b=a.slo==null?null:a.slo.name)!==null&&b!==void 0?b:a.id," ")}},aEb=function(a){a&1&&R(0," None ")},bEb=function(a,b){a&1&&(F(0,"div",106),R(1," Inherited SLO Policy: "),C(2,$Db,2,2,"a",107)(3,aEb,1,0,"ng-template",null,9,yg),G());a&2&&(a=b.ngIf,b=Q(4),z(2),D("ngIf",a.id!=="0")("ngIfElse",b))},cEb=function(a){a&1&&(F(0,"a",112),R(1),T(2,"titlecase"),G());a&2&&(a=O().ngIf,D("routerLinkObj",a.link),
z(),mg(" (",V(2,3,a.type),") ",a.name," "))},dEb=function(a){a&1&&R(0," None ")},eEb=function(a){a&1&&(F(0,"div",114),H(1,"slo-inheritance-breadcrumbs",115),G());a&2&&(a=O().ngIf,z(),D("componentPath",a.componentPath)("teamPath",a.teamPath))},fEb=function(a){a&1&&(K(0),C(1,eEb,2,2,"div",113),L());a&2&&(a=O(6),z(),D("ngIf",a.showSloInheritancePath))},gEb=function(a,b){if(a&1){var c=u();F(0,"div",109);R(1," Policy Source: ");C(2,cEb,3,5,"a",110)(3,dEb,1,0,"ng-template",null,10,yg);F(5,"button",111);
M("click",function(){v(c);var e=O(5);return x(e.showSloInheritancePath=!e.showSloInheritancePath)});R(6);G();C(7,fEb,2,1,"ng-container",18);T(8,"async");G()}if(a&2){a=b.ngIf;b=Q(4);var d=O(5);z(2);D("ngIf",a.link)("ngIfElse",b);z(3);Bf("aria-expanded",d.showSloInheritancePath);z();S(" ",d.showSloInheritancePath?"Hide":"Show"," full path ");z();D("ngIf",V(8,5,d.policySourcePath$))}},hEb=function(a){a&1&&(K(0),R(1,", "),F(2,"a",117),R(3,"Team Leads"),G(),L());a&2&&(a=O(7),z(2),D("routerLinkObj",{path:"/teams/"+
a.component.team.id+"/edit",fragment:a.tabsService.Tab.ACCESS}))},iEb=function(a){a&1&&(K(0),R(1," SLO Admins: "),F(2,"a",117),R(3,"Component Admins"),G(),C(4,hEb,4,1,"ng-container",18),L());a&2&&(a=O(6),z(2),D("routerLinkObj",a.componentPermissions(a.componentId)),z(2),D("ngIf",a.component.team&&a.component.team.id!=="0"))},jEb=function(a){a&1&&(F(0,"div",116),C(1,iEb,5,2,"ng-container",18),G());a&2&&(a=O(5),z(),D("ngIf",a.enableTeamLeadSloEditingUi))},kEb=function(a){a&1&&(K(0),H(1,"mat-icon",118),
R(2," on "),L())},lEb=function(a){a&1&&(H(0,"mat-icon",119),R(1," off "))},mEb=function(a){a&1&&(K(0),R(1," Lock: "),C(2,kEb,3,0,"ng-container",12),T(3,"async"),C(4,lEb,2,0,"ng-template",null,11,yg),L());if(a&2){a=Q(5);var b=O(5);z(2);D("ngIf",V(3,2,b.sloLocked$))("ngIfElse",a)}},oEb=function(a){if(a&1){var b=u();F(0,"div",120)(1,"mat-checkbox",121);M("change",function(c){v(b);var d=O(5);c=c.checked;d.component.slo.inherit=!c;c||XDb(d);return x()});F(2,"span");R(3,"Override the inherited SLO policy");
G()()()}a&2&&(a=O(5),z(),D("checked",!a.component.slo.inherit)("disabled",!nEb(a)))},pEb=function(a){if(a&1){var b=u();F(0,"div",128)(1,"label",129);R(2," Justification ");G();H(3,"mat-icon",130);F(4,"textarea",131);pg("ngModelChange",function(c){v(b);var d=O(6);og(d.component.slo.comment,c)||(d.component.slo.comment=c);return x(c)});G()()}a&2&&(a=O(6),z(4),ng("ngModel",a.component.slo.comment),D("disabled",!Er(a)))},qEb=function(a){a&1&&(F(0,"a",132),H(1,"mat-icon",133),G());a&2&&(a=O(6),$f("target",
a.hasUnsavedChanges()?"_blank":"_self"),D("routerLinkObj",a.getSloManagementLink(a.component.slo.id)))},uEb=function(a){if(a&1){var b=u();K(0);C(1,pEb,5,2,"div",122);F(2,"mat-slide-toggle",123);pg("ngModelChange",function(c){v(b);var d=O(5);og(d.isEnableSloChecked,c)||(d.isEnableSloChecked=c);return x(c)});M("change",function(c){v(b);var d=O(5);c=c.checked;d.isEnableSloChecked=c;c||(d.component.slo.id="0");return x()});R(3," Enable SLO ");G();F(4,"div",124)(5,"label",125);R(6,"SLO policy");G();F(7,
"slo-picker",126);M("onSloSelect",function(c){v(b);var d=O(5);return x(d.onSloChange(c))});G();C(8,qEb,2,2,"a",127);G();L()}a&2&&(a=O(5),z(),D("ngIf",rEb(a)),z(),Kf("indented",sEb(a)),ng("ngModel",a.isEnableSloChecked),D("disabled",!tEb(a)),z(5),D("bv2Disabled",!a.isEnableSloChecked||!tEb(a))("boundId",a.component.slo.id)("bv2Placeholder",a.isEnableSloChecked&&tEb(a)?"Type to search for an SLO":"SLO disabled"),z(),D("ngIf",a.component.slo.id&&a.component.slo.id!=="0"))},vEb=function(a){a&1&&(F(0,
"div",97)(1,"div",51)(2,"label",98)(3,"span",48),R(4,"SLO Configuration"),G()(),F(5,"span",53)(6,"div",99)(7,"strong"),R(8,"Careful!"),G(),R(9," Changing the SLO (service level objective) of a component has the potential to impact the Buganizer SLO compliance status of every issue under that component. "),F(10,"div",55),H(11,"div",56)(12,"div",57),G()()()(),F(13,"div",100),C(14,bEb,5,2,"div",101),T(15,"async"),C(16,gEb,9,7,"div",102),T(17,"async"),C(18,jEb,2,1,"div",103),F(19,"div",104),C(20,mEb,
6,4,"ng-container",18),G()(),C(21,oEb,4,2,"div",105)(22,uEb,9,9,"ng-container",18),G());if(a&2){a=O(4);Kf("bv2-edit-resource-readonly",!Er(a));z(14);D("ngIf",V(15,8,a.inheritedSlo$));z(2);D("ngIf",V(17,10,a.sloPolicySource$));z(2);D("ngIf",a.sessionIsInternal);z(2);D("ngIf",a.enableSloLockingUi);z();D("ngIf",sEb(a));z();if(a.component&&a.component.slo){var b=!!a.component.team&&a.component.team.id!=="0",c=!a.component.slo.inherit;a=a.component.parentComponentId===0&&!b||c}else a=!1;D("ngIf",a)}},
wEb=function(a){if(a&1){var b=u();F(0,"mat-slide-toggle",134);M("change",function(c){v(b);O(4).component.spamProtection=c.checked?"ALL_PROTECTIONS":"NO_PROTECTIONS";return x()});R(1," Enable Spam Protections ");G()}a&2&&(a=O(4),D("checked",a.sessionIsInternal&&a.getComponentAccessLevel()==="EXTERNAL_PUBLIC"?a.component.spamProtection==="ALL_PROTECTIONS"||a.component.spamProtection==="SPAM_PROTECTION_UNSPECIFIED":!1)("disabled",a.isAccessEditDisabled()))},xEb=function(a){if(a&1){var b=u();F(0,"div",
77)(1,"b-button",135);M("onAction",function(){v(b);var c=O(4);return x(c.saveMetadata())});R(2," Update ");G();F(3,"b-button",136);M("onAction",function(){v(b);var c=O(4);return x(c.revertMetadataChanges())});R(4," Revert Changes ");G();F(5,"b-button",136);M("onAction",function(){v(b);var c=O(4);return x(c.createChild())});R(6," Create Child Component ");G()()}a&2&&(a=O(4),z(),D("disabled",a.isSaving()||!a.hasUnsavedMetadataChanges()),z(2),D("disabled",a.isSaving()||!a.hasUnsavedMetadataChanges()),
z(2),D("disabled",a.hasUnsavedMetadataChanges()))},yEb=function(a){if(a&1){var b=u();F(0,"b-button",137);M("onAction",function(){v(b);var c=O(4);return x(c.showUpdateHistoryModal())});R(1," View History ");G()}},zEb=function(a){a&1&&H(0,"b-spinner")},AEb=function(a){if(a&1){var b=u();F(0,"b-component-children-list",138);M("onVisit",function(){v(b);var c=O(4);return x(c.trackClick("openChildComponent"))});G()}a&2&&(a=O(4),D("children",a.childComponents))},BEb=function(a){a&1&&(F(0,"span"),R(1," No child components. "),
G())},CEb=function(a){if(a&1){var b=u();F(0,"div",43)(1,"form",44,8);H(3,"b-error-banner",45);F(4,"div",46)(5,"label",47)(6,"span",48);R(7,"Name");G()();F(8,"input",49);pg("ngModelChange",function(c){v(b);var d=O(3);og(d.component.name,c)||(d.component.name=c);return x(c)});G()();F(9,"div",50)(10,"div",51)(11,"label",52)(12,"span",48);R(13,"Description");G()();F(14,"span",53)(15,"div",54);R(16," The description will be used during component searches. You can add previous project names or keywords that will help users search for your component. ");
F(17,"div",55);H(18,"div",56)(19,"div",57);G()()()();F(20,"textarea",58);pg("ngModelChange",function(c){v(b);var d=O(3);og(d.component.description,c)||(d.component.description=c);return x(c)});R(21,"              ");G()();C(22,UDb,14,5,"div",59);F(23,"div",60)(24,"div",61)(25,"mat-checkbox",62);M("change",function(c){v(b);var d=O(3);return x(d.setCommentEditState(c.checked))});G()();F(26,"div")(27,"strong",63);R(28,"Editable Comments");G();F(29,"div",64);R(30," When checked, users with comment access can modify their own issue comments, and editors can modify the first issue comment. ");
H(31,"br");C(32,VDb,2,1,"a",65);G()()();C(33,WDb,12,8,"div",66)(34,ZDb,5,3,"div",67)(35,vEb,23,12,"div",68);F(36,"div",69)(37,"div",51)(38,"label",70)(39,"span",48);R(40,"Component Alias");G()();F(41,"span",53)(42,"div",71);R(43," You can create a new issue in this component by sending an email to this alias. ");H(44,"br");F(45,"a",72);R(46," Learn more ");G();F(47,"div",55);H(48,"div",56)(49,"div",57);G()()()();F(50,"div")(51,"a",73);R(52);G()()();C(53,wEb,2,2,"mat-slide-toggle",74);F(54,"div",75);
C(55,xEb,7,3,"div",76);F(56,"div",77);C(57,yEb,2,0,"b-button",78);G()();F(58,"div",79)(59,"label")(60,"span",48);R(61,"Child Components");G()();C(62,zEb,1,0,"b-spinner",18)(63,AEb,1,1,"b-component-children-list",80)(64,BEb,2,0,"span",18);G()()()}a&2&&(a=O(3),z(),Kf("show-errors",a.error),z(2),D("error",a.error),z(),Kf("bv2-edit-resource-readonly",Fr(a)),z(4),ng("ngModel",a.component.name),D("disabled",Fr(a)),z(),Kf("bv2-edit-resource-readonly",Fr(a)),z(11),ng("ngModel",a.component.description),D("disabled",
Fr(a)),z(2),D("ngIf",a.isAdmin()),z(),Kf("bv2-edit-resource-readonly",a.isAccessEditDisabled()),z(2),D("checked",a.commentEditsEnabled)("disabled",Fr(a)),z(7),D("ngIf",!a.sessionIsExternal),z(),D("ngIf",!a.sessionIsExternal),z(),D("ngIf",a.sessionIsInternal),z(),D("ngIf",a.component.slo&&a.sessionIsInternal),z(10),D("href",a.documentationLinks.baseDocumentationUrl+"/guides/create-issue-email",Qe),z(6),Zf("href","mailto:",a.component.emailAlias,"",Qe),Bf("aria-label","Component Alias -"+a.component.emailAlias),
z(),lg(a.component.emailAlias),z(),D("ngIf",a.sessionIsInternal&&a.getComponentAccessLevel()==="EXTERNAL_PUBLIC"),z(2),D("ngIf",a.isEditorInternal||Er(a)),z(2),D("ngIf",a.componentHistoryUiEnabled),z(5),D("ngIf",a.childComponents===void 0),z(),D("ngIf",a.childComponents&&a.childComponents.length>0),z(),D("ngIf",a.childComponents&&a.childComponents.length===0))},DEb=function(a){a&1&&(F(0,"div",143),R(1," Standard Fields "),G())},FEb=function(a){if(a&1){var b=u();F(0,"b-component-standard-fields",144);
M("updateComponent",function(c){v(b);var d=O(4);return x(EEb(d,c))});G()}a&2&&(a=O(4),D("effortSpec",a.component.effortSpec)("parentEffortSpec",a.parentComponent==null?null:a.parentComponent.effortSpec)("disabled",!a.isEditorInternal))},GEb=function(a){a&1&&(F(0,"div",145),R(1," Custom Fields "),G())},HEb=function(a){a&1&&(C(0,DEb,2,0,"div",139)(1,FEb,1,3,"b-component-standard-fields",140)(2,GEb,2,0,"div",141),H(3,"b-component-custom-fields",142));a&2&&(a=O(3),D("ngIf",a.sessionIsInternal&&!a.isExternal()),
z(),D("ngIf",a.sessionIsInternal&&!a.isExternal()),z(),D("ngIf",a.sessionIsInternal&&!a.isExternal()),z(),D("editMode",a.isEditorInternal)("isSaving",a.isSaving())("component",a.component)("parentComponent",a.parentComponent))},JEb=function(a){a&1&&(F(0,"a",149),R(1," Learn more "),G());a&2&&(O(4),D("href",IEb(),Qe))},LEb=function(a){if(a&1){var b=u();F(0,"div",43)(1,"div",146);R(2," Field ordering will be applied to all issues and templates in this component, including the right panel on the Issue Detail page. ");
C(3,JEb,2,1,"a",147);G();F(4,"b-field-reorder",148);M("onReload",function(){v(b);var c=O(3);return x(KEb(c))});G()()}a&2&&(a=O(3),z(3),D("ngIf",a.sessionIsInternal),z(),D("fields",a.effectiveCustomFields)("componentId",a.componentId)("fieldOrdering",a.component.fieldOrdering)("isAdmin",a.isAdmin()))},MEb=function(a){a&1&&H(0,"b-edit-templates",151);a&2&&(a=O(4),D("componentId",a.componentId)("supportCustomFields",!0))},NEb=function(a){a&1&&(F(0,"div"),R(1),G());a&2&&(a=O().$implicit,z(),lg(a.description))},
OEb=function(a,b){a&1&&(F(0,"div",153)(1,"label"),R(2),G(),C(3,NEb,2,1,"div",18),F(4,"div")(5,"a",73),R(6),G()()());a&2&&(a=b.$implicit,z(2),lg(a.name),z(),D("ngIf",a.description),z(2),D("href",a.url,Qe),Bf("aria-label","Click to open the template "+a.name),z(),lg(a.url))},PEb=function(a){a&1&&(K(0),C(1,OEb,7,5,"div",152),L());a&2&&(a=O(4),z(),D("ngForOf",a.templates))},QEb=function(a){a&1&&(F(0,"div",43),C(1,MEb,1,2,"b-edit-templates",150)(2,PEb,2,1,"ng-container",18),G());a&2&&(a=O(3),z(),D("ngIf",
a.isEditorInternal),z(),D("ngIf",!a.isEditorInternal))},SEb=function(a){if(a&1){var b=u();F(0,"role-based-permissions",154);M("onTabChange",function(c){v(b);var d=O(3).tabsService;d.selectedAccessSubTabIndex=c;REb(d);return x()});G()}a&2&&(a=O(3),D("tabIndex",a.tabsService.selectedAccessSubTabIndex))},TEb=function(a){if(a&1){var b=u();F(0,"div")(1,"div",27)(2,"h2");R(3);G();C(4,NDb,2,0,"span",28);F(5,"a",29);M("click",function(){v(b);var k=O(2);return x(k.trackClick("recentIssues"))});R(6," (Recent Issues)");
G();H(7,"b-component-access-level-indicator",30)(8,"b-tracker-chip-smart",31);G();F(9,"div",32);H(10,"b-component-breadcrumb",33)(11,"div",34);G();F(12,"mat-tab-group",35);M("selectedIndexChange",function(k){v(b);var q=O(2);return x(q.tabsService.tabChange(k))});F(13,"mat-tab",36);C(14,ODb,1,0,"ng-container",37);G();F(15,"mat-tab",38);C(16,PDb,1,0,"ng-container",37);G();F(17,"mat-tab",39);C(18,QDb,1,0,"ng-container",37);G();F(19,"mat-tab",40);C(20,RDb,1,0,"ng-container",37);G();F(21,"mat-tab",41);
C(22,SDb,1,0,"ng-container",37);G()();C(23,CEb,65,31,"ng-template",null,3,yg)(25,HEb,4,7,"ng-template",null,4,yg)(27,LEb,5,5,"ng-template",null,5,yg)(29,QEb,3,2,"ng-template",null,6,yg)(31,SEb,1,1,"ng-template",null,7,yg);G()}if(a&2){a=Q(24);var c=Q(26),d=Q(28),e=Q(30),f=Q(32),h=O(2);z(3);mg(" Component ",h.component.componentId,": ",h.currentName," ");z();D("ngIf",h.isArchived());z();D("routerLinkObj",h.getRecentIssuesLink());z(2);D("accessLevel",h.getComponentAccessLevel());z();D("trackerId",h.component.trackerId);
z(2);D("componentPathInfo",h.component.componentPathInfo)("isArchived",h.isArchived())("label","Parent Component");z(2);D("selectedIndex",h.tabsService.selectedTabIndex);z();D("id",h.tabsService.Tab.BASIC);z();D("ngTemplateOutlet",a);z();D("id",h.tabsService.Tab.CUSTOM_FIELDS)("label",h.sessionIsInternal&&!h.isExternal()?"Fields":"Custom Fields");z();D("ngTemplateOutlet",c);z();D("id",h.tabsService.Tab.FIELD_ORDERING);z();D("ngTemplateOutlet",d);z();D("id",h.tabsService.Tab.TEMPLATES);z();D("ngTemplateOutlet",
e);z();D("id",h.tabsService.Tab.ACCESS);z();D("ngTemplateOutlet",f)}},UEb=function(a){a&1&&(F(0,"span")(1,"p"),R(2," Archiving a component causes it and its subcomponents and all issues in those components to be hidden from normal use."),H(3,"br"),F(4,"a",159),R(5," Learn more "),G()(),F(6,"p"),R(7," If you no longer have a reason to retain the data stored in these components, please change the retention period as needed "),H(8,"br"),R(9," so they can be scheduled for deletion. "),F(10,"a",160),R(11,
" Learn more "),G()()());a&2&&(O(3),z(4),D("href","http://go/archived-components",Qe),z(6),D("href",Dr(),Qe))},VEb=function(a){a&1&&(F(0,"span")(1,"p"),R(2," Unarchiving a component will NOT cause its subcomponents to be unarchived."),H(3,"br"),R(4," If you need to recursively unarchive subcomponents please use the buganizer_admin tool. "),F(5,"a",161),R(6," Learn more "),G()()());a&2&&(O(3),z(5),D("href","http://go/buganizer-admin",Qe))},WEb=function(a,b){a&1&&(F(0,"span")(1,"span"),R(2),G(),F(3,
"span"),R(4," : "),F(5,"b"),R(6),G()(),H(7,"br"),G());a&2&&(a=b.$implicit,b=O(4),z(2),lg(a.componentPath),z(),Kf("b-archive-warning-indef",!a.retentionSettings.retentionPeriodDays),z(3),lg(b.getRetentionPeriod(a)))},XEb=function(a){a&1&&(F(0,"span"),C(1,WEb,8,4,"span",162),G());a&2&&(a=O(3),z(),D("ngForOf",a.descendants))},YEb=function(a){a&1&&(F(0,"span")(1,"span"),R(2),G()());a&2&&(a=O(3),z(2),lg(a.descendants[0].componentPath))},ZEb=function(a){if(a&1){var b=u();F(0,"h2",155);R(1);G();F(2,"mat-dialog-content");
C(3,UEb,12,2,"span",18)(4,VEb,7,1,"span",18);F(5,"p");R(6," The following components will be affected: ");G();F(7,"div",156);C(8,XEb,2,1,"span",18)(9,YEb,3,1,"span",18);G()();F(10,"mat-dialog-actions")(11,"button",157);M("click",function(){v(b);var c=O(2);c.archive();c.isArchiving=!1;return x()});R(12," Yes ");G();F(13,"button",158);M("click",function(){v(b);O(2).isArchiving=!1;return x()});R(14," No ");G()()}a&2&&(a=O(2),z(),lg(a.component&&a.archiveAction?"Are you sure you want to "+a.archiveAction.toLowerCase()+
' "'+a.component.name+'"'+(a.archiveAction==="Archive"?" and its subcomponents?":"?"):""),z(2),D("ngIf",a.archiveAction==="Archive"),z(),D("ngIf",a.archiveAction==="Unarchive"),z(4),D("ngIf",a.archiveAction==="Archive"),z(),D("ngIf",a.archiveAction==="Unarchive"))},$Eb=function(a){if(a&1){var b=u();K(0);F(1,"div",13)(2,"div",14)(3,"div",15)(4,"b-button",16);M("onAction",function(){v(b);var c=O();return x(c.back())});H(5,"b-icon",17);G();C(6,LDb,5,3,"ng-container",18);G()()();F(7,"div",19);C(8,MDb,
2,0,"div",20)(9,TEb,33,21,"div",18);G();C(10,ZEb,15,5,"ng-template",null,1,yg);L()}a&2&&(a=O(),z(6),D("ngIf",a.component),z(2),D("ngIf",a.isLoading),z(),D("ngIf",!a.isLoading&&a.component&&a.component.componentId))},aFb=function(a){a&1&&(F(0,"div",163),H(1,"b-tracker-redirect",164),G());a&2&&(a=O(),z(),D("component",a.component))},bFb=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}},
cFb=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}},dFb=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},eFb=function(a,b){a&1&&(F(0,"div",
44),H(1,"b-team-breadcrumb",45),G());a&2&&(a=b.ngIf,z(),D("teamPath",a))},fFb=function(a,b){a&1&&(K(0),R(1),L());a&2&&(a=b.ngIf,z(),lg(a.trim()))},gFb=function(a){a&1&&R(0," No description ")},hFb=function(a,b){a&1&&(K(0),H(1,"b-multi-user-input",46),L());a&2&&(a=b.ngIf,z(),D("users",a),Bf("disabled",!0))},iFb=function(a){a&1&&(K(0),F(1,"p"),R(2,"No child teams"),G(),L())},jFb=function(a,b){a&1&&(K(0),H(1,"br"),F(2,"a",48),R(3),G(),L());a&2&&(a=b.$implicit,z(2),Zf("routerLink","/teams/",a.id,"/edit"),
z(),lg(a.name))},kFb=function(a){a&1&&C(0,jFb,4,3,"ng-container",47);a&2&&(a=O().ngIf,D("ngForOf",a))},lFb=function(a,b){a&1&&(K(0),C(1,iFb,3,0,"ng-container",24)(2,kFb,1,1,"ng-template",null,2,yg),L());a&2&&(a=b.ngIf,b=Q(3),z(),D("ngIf",a.length===0)("ngIfElse",b))},mFb=function(a){a&1&&(F(0,"a",51),R(1),G());if(a&2){var b;a=O().ngIf;D("routerLinkObj",a.link);z();S(" ",(b=a.slo==null?null:a.slo.name)!==null&&b!==void 0?b:a.id," ")}},nFb=function(a){a&1&&R(0," None ")},oFb=function(a,b){a&1&&(F(0,
"div",49),R(1," Inherited SLO Policy: "),C(2,mFb,2,2,"a",50)(3,nFb,1,0,"ng-template",null,3,yg),G());a&2&&(a=b.ngIf,b=Q(4),z(2),D("ngIf",a.link)("ngIfElse",b))},pFb=function(a,b){a&1&&(F(0,"a",52),R(1),G());a&2&&(a=b.ngIf,D("routerLinkObj",a.link),z(),S(" ",a.name," "))},qFb=function(a){a&1&&R(0," None ")},rFb=function(a){a&1&&(K(0),H(1,"mat-icon",53),R(2," on "),L())},sFb=function(a){a&1&&(H(0,"mat-icon",54),R(1," off "))},tFb=function(a){a&1&&(K(0),R(1," Lock: "),C(2,rFb,3,0,"ng-container",24)(3,
sFb,2,0,"ng-template",null,4,yg),L());if(a&2){a=Q(4);var b=O(2);z(2);D("ngIf",b.originalSloLock)("ngIfElse",a)}},uFb=function(a){if(a&1){var b=u();F(0,"div",56)(1,"mat-checkbox",57);M("change",function(c){v(b);var d=O(3);d.isSloInheritEnabled=!c.checked;d.isSloInheritEnabled&&(d.sloId=d.parentTeam.slo.sloId);return x()});F(2,"span");R(3,"Override the inherited SLO");G()()()}a&2&&(a=O(3),z(),D("disabled",!a.hasEditAccess)("checked",!a.isSloInheritEnabled))},vFb=function(a){if(a&1){var b=u();F(0,"div",
62)(1,"label",63);R(2," Justification to override the org SLO ");G();H(3,"mat-icon",64);F(4,"textarea",65);T(5,"async");M("ngModelChange",function(c){v(b);var d=O(4);return x(d.sloJustification$.next(c))});G()()}a&2&&(a=O(4),z(3),D("matTooltip",a.justificationRequiredText),Bf("aria-label",a.justificationRequiredText),z(),D("ngModel",V(5,4,a.sloJustification$))("disabled",!a.hasEditAccess))},wFb=function(a,b){a&1&&(F(0,"a",66),T(1,"async"),H(2,"mat-icon",15),G());a&2&&(a=b.ngIf,b=O(4),$f("target",
V(1,2,b.hasUnsavedChanges$)?"_blank":"_self"),D("routerLinkObj",a))},xFb=function(a){if(a&1){var b=u();K(0);C(1,vFb,6,6,"div",58);F(2,"div",20)(3,"mat-slide-toggle",59);pg("ngModelChange",function(d){v(b);var e=O(3);og(e.enableSloChecked,d)||(e.enableSloChecked=d);return x(d)});M("change",function(d){v(b);var e=O(3);return x(e.enableSloChecked=d.checked)});R(4," Enable SLO ");G();F(5,"slo-picker",60);M("onSloSelect",function(d){v(b);var e=O(3);return x(e.onSloChange(d))});G();C(6,wFb,3,4,"a",61);
T(7,"async");G();L()}if(a&2){a=O().ngIf;var c=O(2);z();D("ngIf",!a.value);z(2);Kf("indented",!a.value);ng("ngModel",c.enableSloChecked);D("disabled",!c.hasEditAccess);z(2);D("boundId",c.sloId)("bv2Disabled",!c.hasEditAccess||!c.enableSloChecked||c.isSloInheritEnabled)("bv2Placeholder",c.enableSloChecked?"Type to search for an SLO":"SLO disabled");z();D("ngIf",V(7,9,c.sloPickerLink$))}},yFb=function(a,b){a&1&&(K(0),C(1,uFb,4,2,"div",55)(2,xFb,8,11,"ng-container",12),L());a&2&&(a=b.ngIf,b=O(2),z(),
D("ngIf",!a.value),z(),D("ngIf",!b.isSloInheritEnabled))},zFb=function(a){if(a&1){var b=u();F(0,"div",20)(1,"mat-checkbox",67);M("change",function(c){v(b);var d=O(2);return x(d.sloLocked=c.checked)});F(2,"span");R(3,"Lock for all child teams");G()()()}a&2&&(a=O(2),z(),D("checked",a.sloLocked)("disabled",!a.canEditSloLock))},CFb=function(a){if(a&1){var b=u();F(0,"div",68)(1,"div",69)(2,"button",70);T(3,"async");M("click",function(){v(b);var c=O().ngIf,d=O();return x(AFb(d,c))});R(4," Update ");G();
F(5,"button",71);T(6,"async");M("click",function(){v(b);var c=O(2);return x(BFb(c))});R(7," Revert changes ");G()()()}a&2&&(a=O(2),z(2),D("disabled",!V(3,2,a.hasUnsavedChanges$)),z(3),D("disabled",!V(6,4,a.hasUnsavedChanges$)))},DFb=function(a){a&1&&(K(0),F(1,"p"),R(2,"No mapped components"),G(),L())},EFb=function(a,b){a&1&&(F(0,"ul")(1,"li")(2,"a",48),R(3),G()()());a&2&&(a=b.$implicit,z(2),Zf("routerLink","/components/",a.componentId,"/edit"),z(),S(" ",a.name," "))},FFb=function(a){a&1&&(C(0,EFb,
4,3,"ul",47),T(1,"async"));a&2&&(a=O(3),D("ngForOf",V(1,1,a.associatedComponents$)))},GFb=function(a,b){a&1&&(K(0),C(1,DFb,3,0,"ng-container",24)(2,FFb,2,3,"ng-template",null,5,yg),L());a&2&&(a=b.ngIf,b=Q(3),z(),D("ngIf",a.length===0)("ngIfElse",b))},KFb=function(a,b){if(a&1){var c=u();K(0);F(1,"div",13)(2,"h2");R(3);F(4,"a",14);R(5);H(6,"mat-icon",15);G()()();C(7,eFb,2,1,"div",16);T(8,"async");F(9,"mat-tab-group",17);pg("selectedIndexChange",function(f){v(c);var h=O();og(h.selectedTabIndex,f)||(h.selectedTabIndex=
f);return x(f)});M("selectedIndexChange",function(f){v(c);var h=O();return x(h.tabChange(f))});F(10,"mat-tab",18)(11,"div",19);R(12," Team information on this page comes from ");F(13,"a",14);R(14," Team Graph ");H(15,"mat-icon",15);G();R(16," and is view only. ");F(17,"div",20)(18,"div",21)(19,"label")(20,"span",22);R(21,"Description");G()();F(22,"div",23);C(23,fFb,2,1,"ng-container",24)(24,gFb,1,0,"ng-template",null,0,yg);G()()();F(26,"div",20)(27,"div",25)(28,"label",26)(29,"span",22);R(30," Team admins ");
G();F(31,"span",27)(32,"div",28);R(33," Team admins are team leads from Team Graph. ");F(34,"div",29);H(35,"div",30)(36,"div",31);G()()()();C(37,hFb,2,2,"ng-container",12);T(38,"async");G()();F(39,"div",20)(40,"div",21)(41,"label")(42,"span",22);R(43,"Child team(s)");G()();C(44,lFb,4,2,"ng-container",12);T(45,"async");G()()()();F(46,"mat-tab",32)(47,"div",19)(48,"div",25)(49,"label",26)(50,"span",22);R(51,"SLO configuration");G()();F(52,"span",27)(53,"div",33)(54,"strong");R(55,"Careful!");G();R(56,
" Changing the SLO (service level objective) of a component has the potential to impact the compliance status of every issue under this team's components. ");F(57,"div",29);H(58,"div",30)(59,"div",31);G()()()();F(60,"div",34);C(61,oFb,5,2,"div",35);T(62,"async");F(63,"div",36);R(64," Policy Source: ");C(65,pFb,2,2,"a",37);T(66,"async");C(67,qFb,1,0,"ng-template",null,1,yg);G();F(69,"div",38);C(70,tFb,5,2,"ng-container",12);G()();H(71,"b-error-banner",39);C(72,yFb,3,2,"ng-container",12);T(73,"async");
C(74,zFb,4,2,"div",40);F(75,"div",20)(76,"div",25)(77,"label",26)(78,"span",22);R(79," SLO lead ");G()();F(80,"span",27)(81,"div",28);R(82," Single team lead receiving SLO reports of unassigned issues. ");F(83,"div",29);H(84,"div",30)(85,"div",31);G()()()();F(86,"div");K(87);F(88,"b-multi-user-input",41);M("usersChange",function(f){v(c);var h=O();f.length>1||(h.sloLead=f.length===1?f[0]:"");return x()})("isValid",function(f){v(c);var h=O();return x(h.isSloLeadValid=f)});G();L();G()();C(89,CFb,8,6,
"div",42);G()();F(90,"mat-tab",43)(91,"div",19)(92,"div",20)(93,"div",21)(94,"label")(95,"span",22);R(96," Component(s) that have mapped to this team ");G()()();C(97,GFb,4,2,"ng-container",12);T(98,"async");G()()()();L()}if(a&2){a=b.ngIf;b=Q(25);var d=Q(68),e=O();z(3);S(" Team ",a.teamId,": ");z();Zf("href","https://moma.corp.google.com/team/",a.teamId,"",Qe);z();S(" ",a.name," ");z(2);D("ngIf",V(8,29,e.teamPath$));z(2);ng("selectedIndex",e.selectedTabIndex);z();D("id",e.Tab.BASIC);z(3);Zf("href",
"https://moma.corp.google.com/team/",a.teamId,"",Qe);z(10);D("ngIf",a.description)("ngIfElse",b);z(14);D("ngIf",V(38,31,e.adminsAndLeads$));z(7);D("ngIf",V(45,33,e.childTeams$));z(2);D("id",e.Tab.SLO);z(15);D("ngIf",V(62,35,e.inheritedSlo$));z(4);D("ngIf",V(66,37,e.sloPolicySource$))("ngIfElse",d);z(5);D("ngIf",e.enableSloLockingUi);z();D("error",e.error);z();D("ngIf",ug(43,HFb,V(73,39,e.isRootTeam$)));z(2);D("ngIf",e.enableSloLockingUi);z(14);D("users",e.sloLead?ug(45,IFb,e.sloLead):tg(47,JFb))("customValidators",
e.sloLeadUserValidators)("detailedUserValidators",e.sloLeadGooglerValidators)("maxUserAllowed",1);Bf("disabled",e.hasEditAccess?null:!0);z();D("ngIf",e.hasEditAccess);z();D("id",e.Tab.MAPPINGS);z(7);D("ngIf",V(98,41,e.associatedComponents$))}},QFb=function(a,b){return a.results.map(function(c){var d=c.task,e=LFb(c.signals,b);if(d&&e){var f,h,k,q,t=d.taskId,w=d.taskResourceType,B=d.title,E=MFb(e);c=NFb(c,e);if(d.issueResource){var I=d.issueResource.priority;I=I==="P0"||I==="P1"?I:null}else I=null;
return{id:t,type:w,description:B,lastAlertTimestamp:E,signals:c,link:d.externalLink,icon:pDa(d),priority:I,accessLevel:(k=(f=d.issueResource)==null?void 0:f.accessLevel)!=null?k:null,hotlistIds:d.issueResource?d.issueResource.hotlistIds:[],issueId:nHa(d.taskId).length===1?nHa(d.taskId)[0]:null,futureAvailability:OFb(e),reviewEstimate:PFb(e),lastMentionLink:((h=d.driveResource)==null?0:h.lastMentionLink)&&d.driveResource.lastMentionLink!==""?d.driveResource.lastMentionLink:void 0,isStaleTask:(q=d.isStaleTask)!=
null?q:!1}}}).filter(lj)},LFb=function(a,b){return a.filter(function(c){return c.signalStatus===b})},NFb=function(a,b){return RFb(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})},RFb=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"})},MFb=function(a){return a.sort(function(b,c){var d,e;return((d=Fm(c.timestamp))!=null?d:0)-((e=Fm(b.timestamp))!=null?e:0)})[0].timestamp},Gr=function(a){switch(a.type){case "NEEDS_ATTENTION":case "GERRIT_CHANGE_NEEDS_ATTENTION":case "MENTIONED_NEEDS_RESPONSE":case "THREAD_MENTIONS_ME":case "TAGGED_IN_COMMENT":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":return 1;default:return 2}},SFb=function(a){var b=a[0],c=Gr(b);a=l(a);for(var d=a.next();!d.done;d=a.next())d=d.value,Gr(d)<c&&(b=d,c=Gr(b));return b},OFb=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(lj)},
PFb=function(a){return a.map(function(b){var c;return(c=b.changelistAlert)==null?void 0:c.reviewEstimate}).find(lj)},TFb=function(a){if(a&1){var b=u();F(0,"a",5);M("click",function(){v(b);O(2).analytics.trackEvent("mentionsCard","navigate","comment");return x()});R(1," a comment ");G()}a&2&&(a=O(2),D("href",a.lastMentionLink,Qe))},UFb=function(a){a&1&&R(0," a comment ")},VFb=function(a,b){a&1&&(F(0,"div",0)(1,"div",1)(2,"span"),H(3,"b-user-display",2),R(4," mentioned you in "),C(5,TFb,2,1,"a",3)(6,
UFb,1,0),G(),F(7,"span"),H(8,"b-formatted-date-time",4),G()(),F(9,"div"),R(10),G()());a&2&&(a=O(),z(3),D("model",{emailAddress:b.authorDisplayName}),z(2),Of(a.lastMentionLink?5:6),z(3),D("timestamp",b.lastModifiedTimestamp),z(2),lg(b.content))},WFb=function(a,b){if(a&1){var c=u();F(0,"a",8);M("click",function(){v(c);O(4).analytics.trackEvent("mentionsCard","navigate","commentNumber");return x()});R(1);G()}a&2&&(a=b.ngIf,b=O(4),D("routerLinkObj",b.getCommentNumberLink(b.issueId,a)),z(),S(" comment #",
a," "))},YFb=function(a){if(a&1){var b=u();F(0,"div",11)(1,"span",12);R(2," Was this 'Needs Response' alert accurate? ");G();F(3,"button",13);M("click",function(){v(b);var c=O(5);return x(c.trackThumbsUp())});H(4,"mat-icon",14);G();F(5,"button",15);M("click",function(){v(b);var c=O(5);return x(c.trackThumbsDown())});H(6,"mat-icon",16);G()()}a&2&&(a=O(5),z(3),D("disabled",a.hasReacted),z(),D("ngClass",ug(4,XFb,a.thumbsUpClicked)),z(),D("disabled",a.hasReacted),z(),D("ngClass",ug(6,XFb,a.thumbsDownClicked)))},
ZFb=function(a,b){a&1&&(F(0,"div"),H(1,"b-note-container",9),C(2,YFb,7,8,"div",10),G());if(a&2){a=b.ngIf;b=O(2).$implicit;var c=O(2);z();D("issueId",c.issueId)("note",a)("formattingMode",b.formattingMode);z();D("ngIf",c.needsResponse&&!b.commentRedacted)}},aGb=function(a){a&1&&(F(0,"div",2)(1,"div",3)(2,"span",4),H(3,"b-user-display",5),F(4,"span"),R(5," mentioned you in "),C(6,WFb,2,2,"a",6),G()(),F(7,"span"),H(8,"b-formatted-date-time",7),G()(),C(9,ZFb,3,4,"div",0),G());if(a&2){var b=O();a=b.$implicit;
var c=b.$index;b=b.$count;O(2);D("ngClass",ug(5,$Fb,c!==b-1));z(3);D("model",a.lastCommentEditorUser);z(3);D("ngIf",a.commentNumber);z(2);D("timestamp",a.commentLastModifiedAtDate);z();if(a.unlinkifiedComment){var d;c={commentNumber:(d=a.commentNumber)!=null?d:void 0,unlinkifiedComment:a.commentRedacted?"Comment access restricted. Please reach out to the issue owner to view.":a.unlinkifiedComment,formattedComment:a.commentRedacted?void 0:a.formattedComment}}else c=null;D("ngIf",c)}},bGb=function(a,
b){a&1&&C(0,aGb,10,7,"div",2);a&2&&Of(b.$implicit.unlinkifiedComment!=null?0:-1)},dGb=function(a,b){a&1&&(K(0),F(1,"div",1),Qf(2,bGb,1,1,null,null,cGb),F(4,"div"),Sf(5),G()(),L());a&2&&(a=b.ngIf,z(2),Rf(a))},eGb=function(a){return a===void 0||a===null?[]:Object.keys(a).filter(function(b){return a.hasOwnProperty(b)})},fGb=function(a){a&1&&Sf(0)},hGb=function(a){a&1&&C(0,fGb,1,0,"ng-container",5);if(a&2){a=O().$implicit;O(2);var b=Q(3);D("ngTemplateOutlet",b)("ngTemplateOutletContext",ug(2,gGb,a))}},
iGb=function(a,b){a&1&&C(0,hGb,1,4,"ng-container");a&2&&(a=b.$implicit,b=O(2),Of(b.SIGNAL_TO_DISPLAY_TEXT.has(a.type)?0:-1))},kGb=function(a){a&1&&(F(0,"div",4),Qf(1,iGb,1,1,null,null,jGb),G());a&2&&(a=O(),z(),Rf(a.signals))},lGb=function(a){a&1&&Sf(0)},nGb=function(a,b){a&1&&(F(0,"div",6),C(1,lGb,1,0,"ng-container",5),F(2,"div",7),R(3),G()());if(a&2){a=O(2);var c=Q(3);z();D("ngTemplateOutlet",c)("ngTemplateOutletContext",ug(4,gGb,b));z();D("matTooltip",mGb(a.signals,b));z();S(" and ",a.signals.length-
1," more ")}},oGb=function(a){a&1&&C(0,nGb,4,6,"div",6);if(a&2){var b;a=O();Of((b=a.getHighestPrioritySignal(a.signals))?0:-1,b)}},sGb=function(a,b){if(a&1){var c=u();F(0,"div",11,2);M("mouseenter",function(){var f=v(c).xapLet,h=Q(1);return x(f?h.disabled=!0:null)})("mouseleave",function(){var f=v(c).xapLet,h=Q(1);return x(f?h.disabled=!1:null)});R(2);G()}if(a&2){a=b.xapLet;b=O().signal;var d=Q(2),e=O();Nf("signal-chip type-button urgent-",e.getSignalUrgency(b),"");Kf("keep-focus-ring",a);D("onedevHovercardActive",
a)("onedevHovercardTrigger",d)("matTooltip",pGb(e,b)||qGb(b)?'Press "Alt/Option + Right Arrow Key" to show comment':rGb.get(b.type));Bf("tabindex",a?"0":"-1");z(2);S(" ",e.SIGNAL_TO_DISPLAY_TEXT.get(b.type)," ")}},uGb=function(a){a&1&&H(0,"mentioned-issue-comments-card",9,3);if(a&2){var b;a=Q(1);var c=O(2).signal,d=O();D("onedevIsHovercardReady",a.contentReady$)("issueId",d.issueId)("commentNumbers",(b=c.commentNumbers)!==null&&b!==void 0?b:tg(4,tGb))("needsResponse",c.type==="MENTIONED_NEEDS_RESPONSE")}},
vGb=function(a){a&1&&C(0,uGb,2,5,"mentioned-issue-comments-card",12)},wGb=function(a){a&1&&H(0,"mentioned-drive-comments-card",10,3);if(a&2){a=Q(1);var b=O(2).signal;D("onedevIsHovercardReady",a.contentReady$)("fileId",b.driveFileId)("commentId",b.driveCommentId)("lastMentionLink",b.driveCommentLink)}},xGb=function(a){a&1&&C(0,wGb,2,4,"mentioned-drive-comments-card",13)},yGb=function(a,b){a&1&&(C(0,sGb,3,10,"div",8),F(1,"onedev-hovercard",null,1),C(3,vGb,1,0,"mentioned-issue-comments-card",9)(4,xGb,
1,0,"mentioned-drive-comments-card",10),G());a&2&&(a=b.signal,b=O(),D("xapLet",pGb(b,a)||qGb(a)),z(3),Of(pGb(b,a)?3:-1),z(),Of(qGb(a)?4:-1))},zGb=function(a,b){a&1&&(F(0,"mat-chip-option",3)(1,"span",4),R(2),G()());if(a&2){a=b.$implicit;b=O().$implicit;var c=O();D("value",b)("selected",c.selectedSources.includes(b));z();D("matTooltip",a.tooltipText);z();S(" ",a.displayName," ")}},AGb=function(a,b){a&1&&(K(0),C(1,zGb,3,4,"mat-chip-option",2),L());a&2&&(a=b.$implicit,b=O(),z(),D("ngIf",b.DEFINITIONS[a]))},
BGb=function(a,b){if(a&1){var c=u();F(0,"button",7);M("click",function(){var d=v(c).$implicit,e=O();d=d.numberOfDays;e.selectedTimeBoundary=d;e.change.emit(d);return x()});R(1);G()}a&2&&(a=b.$implicit,b=O(),D("disabled",a.numberOfDays===b.selectedTimeBoundary),z(),S(" ",a.label," "))},CGb=function(a){if(a&1){var b=u();K(0);F(1,"div",1)(2,"span",2)(3,"a",3);M("click",function(){v(b);O().onChipClicked.emit();return x()});R(4,"DMA");G()()();L()}a&2&&(a=O(),z(),D("matTooltip",a.DMA_TOOLTIP_TEXT))},DGb=
function(a){a&1&&(F(0,"label",10),R(1),G());a&2&&(a=O().$implicit,D("matTooltip",a.description),z(),lg(a.label))},EGb=function(a){a&1&&(F(0,"mat-tab"),C(1,DGb,2,2,"ng-template",9),G())},FGb=function(a){if(a&1){var b=u();F(0,"mat-tab-group",7);M("selectedIndexChange",function(c){v(b);var d=O();return x(d.onTabIndexChange(c))});C(1,EGb,2,0,"mat-tab",8);G()}a&2&&(a=O(),D("selectedIndex",0),z(),D("ngForOf",a.tabData))},GGb=function(a,b){if(a&1){var c=u();K(0);F(1,"source-filter-chips",11);M("change",
function(d){v(c);var e=O().missionControlPrefs;d=d.map(iOa);e.prefs.needsAttentionSources=d;Bp(e,{needsAttentionSources:d,isNeedsAttentionSourcesConfigured:!0});return x()});G();L()}a&2&&(a=b.ngIf,b=O(),z(),D("sourceFilterKeys",b.ALL_NEEDS_ATTENTION_SOURCE_FILTERS)("selectedSources",a))},HGb=function(a,b){if(a&1){var c=u();K(0);F(1,"time-boundary-filter",12);M("change",function(d){v(c);var e=O().missionControlPrefs;e.prefs.needsAttentionDaysOld=d;Bp(e,{needsAttentionDaysOld:d});return x()});G();L()}a&
2&&(a=b.ngIf,z(),D("selectedTimeBoundary",a))},IGb=function(a){a&1&&(F(0,"p",14),R(1," No alerts "),G())},KGb=function(a){if(a&1){var b=u();F(0,"th",31)(1,"mat-checkbox",32);M("change",function(d){v(b);var e=O(2).$implicit,f=O(2);return x(d?JGb(f,e):null)});G()()}if(a&2){a=O(2).$implicit;var c=O(2);z();D("checked",c.selection.hasValue()&&c.selection.selected.length===a.length)("indeterminate",c.selection.hasValue()&&c.selection.selected.length!==a.length)}},LGb=function(a,b){if(a&1){var c=u();F(0,
"td",33)(1,"mat-checkbox",34);M("click",function(d){v(c);return x(d.stopPropagation())})("change",function(d){var e=v(c).$implicit,f=O(4);return x(d?f.selection.toggle(e.id):null)});G()()}a&2&&(a=b.$implicit,b=O(4),z(),D("checked",b.selection.isSelected(a.id)))},MGb=function(a){a&1&&(F(0,"th",31),R(1),G());a&2&&(a=O(4),z(),lg(a.selection.hasValue()?"":"Type"))},NGb=function(a,b){a&1&&(F(0,"td",33),H(1,"mat-icon",35),G());a&2&&(a=b.$implicit,z(),Nf("product-icon ",a.icon,""),D("matTooltip",a.type)("svgIcon",
a.icon))},OGb=function(a){a&1&&(F(0,"span"),R(1,"Description"),G())},QGb=function(a){if(a&1){var b=u();F(0,"button",37);M("click",function(){v(b);var c=O(5);return x(PGb(c))});R(1);G()}a&2&&(a=O(5),z(),lg(fo(a.signalStatusFilter$)===0?"Dismiss":"Un-dismiss"))},RGb=function(a){a&1&&(F(0,"th",31),C(1,OGb,2,0,"span",5)(2,QGb,2,1,"button",36),G());a&2&&(a=O(4),z(),D("ngIf",!a.selection.hasValue()),z(),D("ngIf",a.selection.hasValue()))},SGb=function(a){a&1&&H(0,"b-issue-visibility-chip",40);if(a&2){a=
O(2).$implicit;var b=O(4);D("issueId",b.extractLastDigits(a.id))}},TGb=function(a){a&1&&H(0,"b-component-access-level-indicator",41);a&2&&(a=O(2).$implicit,D("accessLevel",a.accessLevel)("compactMode",!0))},UGb=function(a){if(a&1){var b=u();F(0,"div",48);M("click",function(){v(b);O(2);O(4).analytics.trackEvent("missionControl","click","stalenessChip-{{row.type}}");return x()});R(1," Slow reply ");G()}},VGb=function(a){a&1&&(F(0,"div",49),T(1,"futureAvailability"),H(2,"mat-icon",50),G());a&2&&(a=O(2).$implicit,
D("matTooltip",V(1,1,a.futureAvailability)))},WGb=function(a){a&1&&(F(0,"div",51),R(1),T(2,"number"),G());a&2&&(a=O(2).$implicit,z(),S(" <",xg(2,1,a.reviewEstimate.seconds/60,"1.0-0"),"m "))},XGb=function(a){a&1&&H(0,"b-issue-priority-display",52);a&2&&(a=O(2).$implicit,D("issuePriority",a.priority))},YGb=function(a){if(a&1){var b=u();F(0,"div",39);C(1,SGb,1,1,"b-issue-visibility-chip",40)(2,TGb,1,2,"b-component-access-level-indicator",41)(3,UGb,2,0,"div",42)(4,VGb,3,3,"div",43)(5,WGb,3,4,"div",44)(6,
XGb,1,1,"b-issue-priority-display",45);F(7,"a",46);M("auxclick",function(){v(b);var d=O().$implicit,e=O(2).$implicit,f=O(2);return x(f.sendClickAnalytics(d,e.slice(0,f.numDisplayedRows)))});R(8);G();F(9,"onedev-dma-chip",47);M("onChipClicked",function(){v(b);var d=O(5);return x(d.sendDmaAnalytics())});G()()}if(a&2){a=O().$implicit;var c=O(4);z();Of(c.enableNewVisibilityChips&&a.type===c.TaskResourceType.ISSUE?1:2);z(2);D("ngIf",c.enableStaleTasks&&a.isStaleTask);z();D("ngIf",(a.futureAvailability==
null?null:a.futureAvailability.futureOooTimestamp)&&(a.futureAvailability==null?null:a.futureAvailability.comeBackTimestamp));z();D("ngIf",a.reviewEstimate&&a.reviewEstimate.seconds>=60);z();D("ngIf",a.priority);z();D("href",a.type==="ISSUE"?"/issues/"+a.issueId:a.lastMentionLink?a.lastMentionLink:a.link,Qe);Bf("target",a.type!==c.TaskResourceType.ISSUE?"_blank":null);z();S(" ",a.description," ");z();D("hotlistIds",a.hotlistIds)}},ZGb=function(a){a&1&&(F(0,"span",53),R(1,"No access to linked file"),
G())},$Gb=function(a,b){a&1&&(F(0,"td",33),C(1,YGb,10,9,"div",38)(2,ZGb,2,0,"ng-template",null,1,yg),G());a&2&&(a=b.$implicit,b=Q(3),z(),D("ngIf",a.description&&a.description!=="")("ngIfElse",b))},aHb=function(a){a&1&&(F(0,"th",31),R(1),G());a&2&&(a=O(4),z(),lg(a.selection.hasValue()?"":"Most recent alert"))},bHb=function(a){a&1&&H(0,"b-formatted-date-time",55);a&2&&(a=O().$implicit,D("timestamp",a.lastAlertTimestamp)("paddingLeftPx",0))},cHb=function(a,b){a&1&&(F(0,"td",33),C(1,bHb,1,2,"b-formatted-date-time",
54),G());a&2&&(a=b.$implicit,z(),D("ngIf",a.lastAlertTimestamp))},dHb=function(a){a&1&&(F(0,"th",31),R(1),G());a&2&&(a=O(4),z(),S(" ",a.selection.hasValue()?"":"Alert"," "))},eHb=function(a,b){a&1&&(F(0,"td",33),H(1,"needs-attention-signals-cell",56),G());a&2&&(a=b.$implicit,z(),D("issueId",a.issueId)("signals",a.signals))},fHb=function(a){a&1&&(F(0,"th",31),R(1),G());a&2&&(a=O(4),z(),lg(a.selection.hasValue()?"":"Action"))},gHb=function(a,b){a&1&&(F(0,"td",33)(1,"a",57),R(2),G()());a&2&&(a=b.$implicit,
b=O(4),z(2),S(" ",b.SIGNAL_TO_ACTION_TEXT.get(b.getHighestPrioritySignal(a.signals).type)," "))},hHb=function(a){a&1&&H(0,"td",58)},iHb=function(a,b){if(a&1){var c=u();F(0,"td",33)(1,"button",59);M("click",function(d){var e=v(c).$implicit,f=O(4);d.preventDefault();return x(f.copyIdOrLink(e))});H(2,"mat-icon",60);G()()}a&2&&(a=b.$implicit,b=O(4),z(),D("matTooltip",a.type===b.TaskResourceType.ISSUE?"Copy ID to clipboard":"Copy link to clipboard"),Bf("aria-label",a.type===b.TaskResourceType.ISSUE?"Copy ID to clipboard":
"Copy link to clipboard"))},jHb=function(a){a&1&&H(0,"td",58)},mHb=function(a){if(a&1){var b=u();F(0,"td",33)(1,"button",61);M("click",function(c){var d=v(b).$implicit,e=O(4);c.preventDefault();return x(kHb(e,d))});H(2,"mat-icon",62);G()()}a&2&&(a=O(4),z(),D("ariaLabel",lHb(a))("matTooltip",lHb(a)))},nHb=function(a){a&1&&H(0,"tr",63)},oHb=function(a){if(a&1){var b=u();F(0,"tr",64);M("click",function(c){var d=v(b).$implicit,e=O(2).$implicit,f=O(2);return x(f.navigateToResource(c,d,e.slice(0,f.numDisplayedRows)))});
G()}},pHb=function(a){a&1&&(F(0,"tr",65)(1,"td",66),R(2," No alerts found "),G()())},qHb=function(a){a&1&&H(0,"mat-icon",70)},rHb=function(a){a&1&&H(0,"mat-icon",71)},sHb=function(a){if(a&1){var b=u();F(0,"button",67);M("click",function(){v(b);var d=O(2).$implicit,e=O(2);return x(e.setNumDisplayedRows(d))});R(1);C(2,qHb,1,0,"mat-icon",68)(3,rHb,1,0,"mat-icon",69);G()}if(a&2){a=O(2).$implicit;var c=O(2);z();S(" ",a.length>c.numDisplayedRows?"Show more":"Show less"," ");z();D("ngIf",a.length>c.numDisplayedRows);
z();D("ngIf",a.length===c.numDisplayedRows)}},tHb=function(a){a&1&&(K(0),F(1,"table",15),K(2,16),C(3,KGb,2,2,"th",17)(4,LGb,2,1,"td",18),L(),K(5,19),C(6,MGb,2,1,"th",17)(7,NGb,2,5,"td",18),L(),K(8,20),C(9,RGb,3,2,"th",17)(10,$Gb,4,2,"td",18),L(),K(11,21),C(12,aHb,2,1,"th",17)(13,cHb,2,1,"td",18),L(),K(14,22),C(15,dHb,2,1,"th",17)(16,eHb,2,2,"td",18),L(),K(17,23),C(18,fHb,2,1,"th",17)(19,gHb,3,1,"td",18),L(),K(20,24),C(21,hHb,1,0,"td",25)(22,iHb,3,2,"td",18),L(),K(23,26),C(24,jHb,1,0,"td",25)(25,mHb,
3,2,"td",18),L(),C(26,nHb,1,0,"tr",27)(27,oHb,1,0,"tr",28)(28,pHb,3,0,"tr",29),G(),C(29,sHb,4,3,"button",30),L());if(a&2){a=O().$implicit;var b=O(2);z();D("dataSource",a.slice(0,b.numDisplayedRows));z(25);D("matHeaderRowDef",b.displayedColumns);z();D("matRowDefColumns",b.displayedColumns);z(2);D("ngIf",a.length>b.DEFAULT_NUM_ROWS_DISPLAYED)}},uHb=function(a,b){a&1&&(K(0),C(1,IGb,2,0,"p",13)(2,tHb,30,4,"ng-container",5),L());a&2&&(a=b.$implicit,z(),D("ngIf",a.length===0),z(),D("ngIf",a.length>0))},
vHb=function(a){a&1&&(K(0),C(1,uHb,3,2,"ng-container",5),T(2,"async"),L());a&2&&(a=O(),z(),D("ngIf",V(2,1,a.allNeedsAttention$)))},wHb=function(a){a&1&&(F(0,"div",72),H(1,"b-spinner",73),G());a&2&&(z(),D("ariaLabel","loading needs attention alerts"))},xHb=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=Sm(a).filter(function(d){return!c.includes(d)}).sort();return[c.join(","),a.join(",")]},yHb=function(a,b){a&
1&&(F(0,"div",8)(1,"span",9),R(2),G()());a&2&&(a=b.ngIf,z(2),lg(a))},zHb=function(a){a&1&&(F(0,"div",10),H(1,"b-needs-attention-table",11),G());a&2&&(a=O(),z(),D("refreshTable",a.refreshData))},AHb=function(a){return{label:"Viewed",description:"Issues you recently viewed",issues:a.watchMany({custom:"viewed",pageSize:50}).pipe(y(function(b){return b.results})),loading:!1}},BHb=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"},CHb=function(a){a&1&&(F(0,"label",16),R(1),G());a&2&&(a=O().$implicit,D("matTooltip",a.description),z(),lg(a.label))},DHb=function(a,b){if(a&1){var c=u();K(0);F(1,"source-filter-chips",18);M("change",function(d){v(c);var e=O(4).prefsService;d=d.map(iOa);e.prefs.myTasksSources=d;Bp(e,{myTasksSources:d,isMyTasksSourcesConfigured:!0});return x()});G();L()}a&2&&(a=b.ngIf,b=O(4),z(),D("sourceFilterKeys",b.ALL_MY_TASK_FILTERS)("selectedSources",a))},EHb=function(a,b){if(a&
1){var c=u();K(0);F(1,"time-boundary-filter",19);M("change",function(d){v(c);var e=O(4).prefsService;e.prefs.myTasksDaysOld=d;Bp(e,{myTasksDaysOld:d});return x()});G();L()}a&2&&(a=b.ngIf,z(),D("selectedTimeBoundary",a))},FHb=function(a){a&1&&(F(0,"div",14)(1,"span",5),R(2,"Sources"),G(),C(3,DHb,2,2,"ng-container",17),T(4,"async"),C(5,EHb,2,1,"ng-container",17),T(6,"async"),G());a&2&&(a=O(3),z(3),D("ngIf",V(4,2,a.sources$)),z(2),D("ngIf",V(6,4,a.timeBoundary$)))},GHb=function(a,b){a&1&&H(0,"b-issues-table",
20);a&2&&(a=O(4),D("issueIds",a.getIds(b))("tableColumns",a.tableColumns)("options",a.tableOptions))},HHb=function(a,b){a&1&&(K(0),F(1,"p",21),R(2),G(),L());a&2&&(a=b.ngIf,z(2),S(" ",a.length===0?"Enable source filters to see tasks":"No tasks"," "))},IHb=function(a){a&1&&(K(0),C(1,HHb,3,1,"ng-container",17),T(2,"async"),L());a&2&&(a=O(5),z(),D("ngIf",V(2,1,a.sources$)))},JHb=function(a){a&1&&(F(0,"th",38),R(1,"Type"),G())},KHb=function(a,b){a&1&&(F(0,"td",39),H(1,"mat-icon",40),G());a&2&&(a=b.$implicit,
b=O(6),z(),Nf("product-icon ",b.taskResourceTypeToIcon(a),""),D("matTooltip",a.taskResourceType)("svgIcon",b.taskResourceTypeToIcon(a)))},LHb=function(a){a&1&&(F(0,"th",38),R(1,"Description"),G())},MHb=function(a){a&1&&H(0,"b-issue-visibility-chip",45);a&2&&(a=O(3).$implicit,D("issueId",a.issueId)("compactMode",!0))},NHb=function(a){a&1&&C(0,MHb,1,2,"b-issue-visibility-chip",45);a&2&&(a=O(2).$implicit,Of(a.issueId?0:-1))},OHb=function(a){a&1&&H(0,"b-component-access-level-indicator",41);a&2&&(a=O(3).$implicit,
D("accessLevel",a.issueResource.accessLevel)("compactMode",!0))},PHb=function(a){a&1&&C(0,OHb,1,2,"b-component-access-level-indicator",46);a&2&&(a=O(2).$implicit,D("ngIf",a.issueResource&&a.issueResource.accessLevel))},QHb=function(a){a&1&&H(0,"b-issue-priority-display",47);a&2&&(a=O(2).$implicit,D("issuePriority",a.issueResource.priority))},RHb=function(a){if(a&1){var b=u();F(0,"onedev-dma-chip",48);M("onChipClicked",function(){v(b);var c=O(8);return x(c.sendDmaAnalytics())});G()}a&2&&(a=O(2).$implicit,
D("hotlistIds",a.issueResource.hotlistIds))},THb=function(a){if(a&1){var b=u();K(0);C(1,NHb,1,1)(2,PHb,1,1,"b-component-access-level-indicator",41)(3,QHb,1,1,"b-issue-priority-display",42);F(4,"a",43);M("auxclick",function(){v(b);var d=O().$implicit,e=O(6);return x(e.sendClickAnalytics(d))});R(5);G();C(6,RHb,1,1,"onedev-dma-chip",44);L()}if(a&2){a=O().$implicit;var c=O(6);z();Of(c.enableNewVisibilityChips?1:2);z(2);D("ngIf",a.issueResource&&a.issueResource.priority&&SHb(a.issueResource.priority));
z();D("href",a.taskResourceType===c.TaskResourceType.ISSUE?"/issues/"+c.extractLastDigits(a.taskId):a.externalLink,Qe);Bf("target",a.taskResourceType!==c.TaskResourceType.ISSUE?"_blank":null);z();lg(a.title);z();D("ngIf",a.issueResource&&a.issueResource.hotlistIds)}},UHb=function(a){a&1&&(F(0,"span",49),R(1,"No access to linked file"),G())},VHb=function(a,b){a&1&&(F(0,"td",39),C(1,THb,7,6,"ng-container",15)(2,UHb,2,0,"ng-template",null,2,yg),G());a&2&&(a=b.$implicit,b=Q(3),z(),D("ngIf",a.title&&a.title!==
"")("ngIfElse",b))},WHb=function(a){a&1&&(F(0,"th",38),R(1,"Last modified"),G())},XHb=function(a){a&1&&H(0,"b-formatted-date-time",51);a&2&&(a=O().$implicit,D("timestamp",a.lastModifiedTimestamp)("paddingLeftPx",0))},YHb=function(a,b){a&1&&(F(0,"td",39),C(1,XHb,1,2,"b-formatted-date-time",50),G());a&2&&(a=b.$implicit,z(),D("ngIf",a.lastModifiedTimestamp))},ZHb=function(a){a&1&&(F(0,"th",38),R(1,"My role"),G())},$Hb=function(a,b){a&1&&(F(0,"td",39),R(1),G());a&2&&(a=b.$implicit,z(),lg(a.resourceRelationships[0].roleName))},
aIb=function(a){a&1&&(F(0,"th",38),R(1,"Creation date"),G())},bIb=function(a){a&1&&(K(0),H(1,"b-formatted-date-time",51),L());a&2&&(a=O().$implicit,z(),D("timestamp",a.createdTimestamp)("paddingLeftPx",0))},cIb=function(a,b){a&1&&(F(0,"td",39),C(1,bIb,2,2,"ng-container",15),G());a&2&&(a=b.$implicit,O(6),b=Q(11),z(),D("ngIf",a.createdTimestamp)("ngIfElse",b))},dIb=function(a){a&1&&H(0,"td",52)},eIb=function(a,b){if(a&1){var c=u();F(0,"td",39)(1,"button",53);M("click",function(d){var e=v(c).$implicit,
f=O(6);d.preventDefault();return x(f.copyIdOrLink(e))});H(2,"mat-icon",54);G()()}a&2&&(a=b.$implicit,b=O(6),z(),D("matTooltip",a.taskResourceType===b.TaskResourceType.ISSUE?"Copy ID to clipboard":"Copy link to clipboard"),Bf("aria-label",a.taskResourceType===b.TaskResourceType.ISSUE?"Copy ID to clipboard":"Copy link to clipboard"))},fIb=function(a){a&1&&H(0,"tr",55)},gIb=function(a){if(a&1){var b=u();F(0,"tr",56);M("click",function(c){var d=v(b).$implicit,e=O(6);return x(e.navigateToResource(c,d))});
G()}},hIb=function(a){a&1&&H(0,"mat-icon",62)},iIb=function(a){a&1&&H(0,"mat-icon",63)},jIb=function(a){if(a&1){var b=u();F(0,"button",59);M("click",function(){v(b);var d=O(3).ngIf,e=O(4);return x(e.setNumDisplayedRows(d))});R(1);C(2,hIb,1,0,"mat-icon",60)(3,iIb,1,0,"mat-icon",61);G()}if(a&2){a=O(3).ngIf;var c=O(4);z();S(" ",a.length>c.numDisplayedRows?"Show more":"Show less"," ");z();D("ngIf",a.length>c.numDisplayedRows);z();D("ngIf",a.length===c.numDisplayedRows)}},kIb=function(a){a&1&&(F(0,"td",
57),C(1,jIb,4,3,"button",58),G());if(a&2){a=O(2).ngIf;var b=O(4);z();D("ngIf",a.length>b.DEFAULT_NUM_ROWS_DISPLAYED)}},lIb=function(a){a&1&&H(0,"tr",64);if(a&2){a=O(2).ngIf;var b=O(4);D("hidden",!(a.length>b.DEFAULT_NUM_ROWS_DISPLAYED))}},mIb=function(a,b){a&1&&(F(0,"td",67),R(1),G());a&2&&(a=b.ngIf,z(),S(" ",a.length===0?"Enable source filters to see tasks":"No tasks found"," "))},nIb=function(a){a&1&&(F(0,"tr",65),C(1,mIb,2,1,"td",66),T(2,"async"),G());a&2&&(a=O(6),z(),D("ngIf",V(2,1,a.sources$)))},
qIb=function(a){a&1&&(K(0),F(1,"table",22),K(2,23),C(3,JHb,2,0,"th",24)(4,KHb,2,5,"td",25),L(),K(5,26),C(6,LHb,2,0,"th",24)(7,VHb,4,2,"td",25),L(),K(8,27),C(9,WHb,2,0,"th",24)(10,YHb,2,1,"td",25),L(),K(11,28),C(12,ZHb,2,0,"th",24)(13,$Hb,2,1,"td",25),L(),K(14,29),C(15,aIb,2,0,"th",24)(16,cIb,2,2,"td",25),L(),K(17,30),C(18,dIb,1,0,"td",31)(19,eIb,3,2,"td",25),L(),C(20,fIb,1,0,"tr",32)(21,gIb,1,0,"tr",33),K(22,34),C(23,kIb,2,1,"td",35),L(),C(24,lIb,1,1,"tr",36)(25,nIb,3,3,"tr",37),G(),L());if(a&2){a=
O().ngIf;var b=O(2).$implicit,c=O(2);z();Nf("table-",b.label,"");D("dataSource",a.slice(0,c.numDisplayedRows)||tg(7,oIb));z(19);D("matHeaderRowDef",c.displayColumns);z();D("matRowDefColumns",c.displayColumns);z(3);D("matFooterRowDef",tg(8,pIb))}},rIb=function(a,b){a&1&&(K(0),C(1,IHb,3,3,"ng-container",17)(2,qIb,26,9,"ng-container",17),L());a&2&&(a=b.ngIf,z(),D("ngIf",a.length===0),z(),D("ngIf",a.length>0))},sIb=function(a){a&1&&(K(0),C(1,GHb,1,3,"b-issues-table",20),T(2,"async"),C(3,rIb,3,2,"ng-container",
17),T(4,"async"),L());if(a&2){var b;a=O().$implicit;z();Of((b=V(2,2,a.issues))?1:-1,b);z(2);D("ngIf",V(4,4,a.liteTasks))}},tIb=function(a,b){a&1&&(F(0,"mat-tab"),C(1,CHb,2,2,"ng-template",13)(2,FHb,7,6,"div",14)(3,sIb,5,6,"ng-container",15),G());a&2&&(a=b.$implicit,O(2),b=Q(9),z(2),Of(a.liteTasks?2:-1),z(),D("ngIf",!a.loading)("ngIfElse",b))},uIb=function(a){if(a&1){var b=u();F(0,"div",10)(1,"mat-tab-group",11);M("selectedIndexChange",function(c){v(b);var d=O();return x(d.onTabIndexChange(c))});C(2,
tIb,4,3,"mat-tab",12);G()()}a&2&&(a=O(),z(),D("selectedIndex",a.INITIAL_TAB_INDEX),z(),D("ngForOf",a.tabData))},vIb=function(a){a&1&&(F(0,"div",68),H(1,"b-spinner",69),G());a&2&&(z(),D("ariaLabel","loading tasks"))},wIb=function(a){a&1&&R(0,"--")},xIb=function(a,b){return a.lastModifiedTimestamp?b.lastModifiedTimestamp?Fm(b.lastModifiedTimestamp)-Fm(a.lastModifiedTimestamp):1:-1},yIb=function(a){a&1&&(F(0,"mat-option",26),R(1),G());a&2&&(a=O().$implicit,D("value",a),z(),S(" ",a.name," "))},zIb=function(a,
b){a&1&&(K(0),C(1,yIb,2,2,"mat-option",25),L());a&2&&(a=b.$implicit,z(),D("ngIf",a.shouldDisplay()))},AIb=function(a,b){a&1&&(F(0,"mat-option",29),R(1),G());a&2&&(a=b.$implicit,D("value",a.id),z(),S(" ",a.name," "))},CIb=function(a){if(a&1){var b=u();F(0,"mat-form-field",5)(1,"mat-select",27);pg("ngModelChange",function(c){v(b);var d=O();og(d.preferredHomepage.selectedOptionId,c)||(d.preferredHomepage.selectedOptionId=c);return x(c)});M("selectionChange",function(){v(b);var c=O();return x(BIb(c.preferredHomepage))});
C(2,AIb,2,2,"mat-option",28);G()()}a&2&&(a=O(),z(),ng("ngModel",a.preferredHomepage.selectedOptionId),z(),D("ngForOf",a.preferredHomepage.selectedMainOption.options))},DIb=function(a){if(a&1){var b=u();F(0,"div")(1,"mat-slide-toggle",30);M("change",function(c){v(b);var d=O();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()});R(2,' Show red "attention" badge in left navigation ');G()()}a&2&&(a=O(),z(),D("checked",!a.hideBadgeInNav))},EIb=function(a,b){a&1&&(F(0,"mat-option",31),R(1),G());a&2&&(a=b.$implicit,D("value",a.value),z(),S(" ",a.label," "))},FIb=function(a,b){a&1&&(F(0,"mat-option",31),R(1),G());a&2&&(a=b.$implicit,D("value",a.value),z(),S(" ",a.label," "))},GIb=function(a,b){a&1&&(F(0,"mat-option",31),R(1),G());a&2&&(a=b.$implicit,D("value",a.value),z(),S(" ",a.label," "))},HIb=function(a){if(a&
1){var b=u();F(0,"div",21)(1,"mat-slide-toggle",32);M("change",function(c){v(b);var d=O();c=c.checked;d.userPreferences.showInlineImages=c;d.save("showInlineImages",c.toString());return x()});R(2," Show SnipIt images inline in comments ");G()()}a&2&&(a=O(),z(),D("checked",a.getShowInlineImages()))},IIb=function(a){if(a&1){var b=u();K(0);F(1,"div",0)(2,"div",1)(3,"p",2);R(4,"Other");G()();F(5,"div")(6,"div")(7,"mat-slide-toggle",33);M("change",function(c){v(b);var d=O();d.userPreferences.bugScreensaverPreferences.enableBugScreensaver=
c.checked;return x(d.save("saveBugScreensaverPreferences"))});R(8," Enable bug screensaver ");G()()()();L()}a&2&&(a=O(),z(7),D("checked",a.userPreferences.bugScreensaverPreferences.enableBugScreensaver))},JIb=function(a,b){a&1&&(F(0,"mat-option",20),R(1),T(2,"toNewEmailPreference"),G());a&2&&(a=b.$implicit,D("value",a),z(),S(" ",V(2,2,a)," "))},KIb=function(a,b){a&1&&(F(0,"mat-option",20),R(1),T(2,"toNewEmailPreference"),G());a&2&&(a=b.$implicit,D("value",a),z(),S(" ",V(2,2,a)," "))},LIb=function(a,
b){a&1&&(F(0,"mat-option",20),R(1),T(2,"toNewEmailPreference"),G());a&2&&(a=b.$implicit,D("value",a),z(),S(" ",V(2,2,a)," "))},MIb=function(a,b){a&1&&(F(0,"mat-option",20),R(1),T(2,"toNewEmailPreference"),G());a&2&&(a=b.$implicit,D("value",a),z(),S(" ",V(2,2,a)," "))},NIb=function(a,b){a&1&&(F(0,"mat-option",20),R(1),T(2,"toNewEmailPreference"),G());a&2&&(a=b.$implicit,D("value",a),z(),S(" ",V(2,2,a)," "))},OIb=function(a,b){a&1&&(F(0,"mat-option",20),R(1),T(2,"toNewEmailPreference"),G());a&2&&(a=
b.$implicit,D("value",a),z(),S(" ",V(2,2,a)," "))},PIb=function(a,b){a&1&&(F(0,"mat-option",3),R(1),G());a&2&&(a=b.$implicit,D("value",a.id),z(),S(" ",a.displayName," "))},QIb=function(a,b){return a.gmt===b.gmt?a.id>b.id?1:-1:a.gmt>b.gmt?1:-1},RIb=function(a){a&1&&(K(0),H(1,"b-spinner"),L())},SIb=function(a){a&1&&(F(0,"mat-hint"),R(1,"This field is read-only"),G())},TIb=function(a,b){a&1&&(F(0,"mat-option",21),R(1),G());a&2&&(a=b.$implicit,D("value",a.frequency),z(),S(" ",a.display," "))},UIb=function(a,
b){a&1&&(F(0,"mat-option",21),R(1),G());a&2&&(a=b.$implicit,D("value",a.ordinal),z(),S(" ",a.display," "))},VIb=function(a){if(a&1){var b=u();F(0,"div")(1,"mat-form-field",15)(2,"mat-label");R(3," Repeat on ");G();F(4,"mat-select",17);M("ngModelChange",function(d){v(b);var e=O(2).ngIf,f=O(2);Hr(f,Object.assign({},e,{ordinal:d}));return x()});C(5,UIb,2,2,"mat-option",18);G()()()}if(a&2){a=O(2).ngIf;var c=O(2);z(4);D("ngModel",a.ordinal);z();D("ngForOf",c.repeatOnOptions.get(a.frequency))}},WIb=function(a,
b){a&1&&(F(0,"mat-option",21),R(1),G());a&2&&(a=b.$implicit,D("value",a.timeOfDay),z(),S(" ~",a.display," "))},XIb=function(a,b){if(a&1){var c=u();K(0);F(1,"div")(2,"mat-form-field",15)(3,"mat-label");R(4," Repeat at ");G();F(5,"mat-select",22);M("ngModelChange",function(e){v(c);var f=O(2).ngIf,h=O(2);Hr(h,Object.assign({},f,{timeOfDay:e}));return x()});C(6,WIb,2,2,"mat-option",18);G()()();L()}if(a&2){a=b.ngIf;b=O(2).ngIf;var d=O(2);z(5);D("ngModel",b.timeOfDay)("compareWith",d.compareTimeOfDay);
z();D("ngForOf",a)}},YIb=function(a,b){a&1&&(F(0,"mat-option",21),R(1),G());a&2&&(a=b.$implicit,D("value",a.value),z(),lg(a.displayText))},$Ib=function(a,b){if(a&1){var c=u();F(0,"div",28)(1,"a",29);R(2);G();F(3,"button",30);M("click",function(){var d=v(c).$implicit,e=O(3).ngIf,f=O(2);return x(ZIb(f,e,d))});H(4,"mat-icon",31);G()()}a&2&&(a=b.$implicit,z(),D("href","/slos/"+a,Qe),z(),lg(a),z(),D("matTooltip","Remove SLO ID "+a))},bJb=function(a){if(a&1){var b=u();K(0);F(1,"div")(2,"mat-form-field",
23)(3,"mat-label");R(4,"Days remaining");G();F(5,"input",24);pg("ngModelChange",function(d){v(b);var e=O(4);og(e.inputDaysRemaining,d)||(e.inputDaysRemaining=d);return x(d)});M("blur",function(){v(b);var d=O(2).ngIf,e=O(2);return x(e.setDaysRemaining(d))})("keydown.enter",function(){v(b);var d=O(2).ngIf,e=O(2);return x(e.setDaysRemaining(d))});G()()();F(6,"div")(7,"mat-form-field",23)(8,"mat-label");R(9,"Types");G();F(10,"mat-select",25);M("ngModelChange",function(d){v(b);var e=O(2).ngIf,f=O(2);return x(f.setIssueType(d,
e))});Qf(11,YIb,2,2,"mat-option",21,Pf);G()()();F(13,"div",9)(14,"mat-form-field",26)(15,"mat-label");R(16,"Add SLO ID");G();F(17,"input",27);pg("ngModelChange",function(d){v(b);var e=O(4);og(e.newSloId,d)||(e.newSloId=d);return x(d)});M("keydown.enter",function(){v(b);var d=O(2).ngIf,e=O(2);return x(aJb(e,d))})("blur",function(){v(b);var d=O(2).ngIf,e=O(2);return x(aJb(e,d))});G()();Qf(18,$Ib,5,3,"div",28,Pf);G();L()}if(a&2){a=O(2).ngIf;var c=O(2);z(5);ng("ngModel",c.inputDaysRemaining);z(5);D("ngModel",
a.types);z();Rf(c.typeChoices);z(6);ng("ngModel",c.newSloId);z();Rf(a.sloIds)}},cJb=function(a){a&1&&(F(0,"div",32),R(1),G());a&2&&(a=O(2).ngIf,z(),S(" Subscription ID: ",a.id," "))},dJb=function(a){if(a&1){var b=u();K(0);F(1,"div")(2,"mat-form-field",15)(3,"mat-label");R(4," Frequency ");G();F(5,"mat-select",17);M("ngModelChange",function(d){v(b);var e=O().ngIf,f=O(2);return x(f.setFrequency(d,e))});C(6,TIb,2,2,"mat-option",18);G()()();C(7,VIb,6,2,"div",2)(8,XIb,7,3,"ng-container",2);T(9,"async");
F(10,"div")(11,"b-timezone-picker",19);M("timezoneIdChange",function(d){v(b);var e=O().ngIf,f=O(2);return x(f.setTimeZone(d,e))});G()();C(12,bJb,20,3,"ng-container",2)(13,cJb,2,1,"div",20);L()}if(a&2){a=O().ngIf;var c=O(2);z(5);D("ngModel",a.frequency);z();D("ngForOf",c.frequencyOptions);z();D("ngIf",a.frequency!==c.DAILY);z();D("ngIf",V(9,8,c.repeatAtOptions$));z(3);D("timezoneId",a.timeZone.id)("fullWidth",!0);z();D("ngIf",c.enableSloReportFiltering);z();D("ngIf",a.id)}},fJb=function(a,b){if(a&
1){var c=u();K(0);F(1,"div")(2,"div",9)(3,"mat-slide-toggle",14);T(4,"async");M("change",function(){v(c);var d=O(2);return x(eJb(d))});R(5," Subscribe to your own reports ");C(6,RIb,2,0,"ng-container",2);T(7,"async");G()();F(8,"div")(9,"mat-form-field",15)(10,"mat-label");R(11,"Scope");G();F(12,"input",16);M("focus",function(){v(c);var d=O(2);return x(d.inputHasFocus=!0)})("blur",function(){v(c);var d=O(2);return x(d.inputHasFocus=!1)});G();C(13,SIb,2,0,"mat-hint",2);G()();C(14,dJb,14,10,"ng-container",
2);G();L()}a&2&&(a=b.ngIf,b=O(2),z(3),D("disabled",V(4,6,b.isThinking$))("checked",a.id!==0),z(3),D("ngIf",V(7,8,b.isThinking$)),z(6),D("ngModel",b.currentUser.email),z(),D("ngIf",b.inputHasFocus),z(),D("ngIf",a.id!==0))},gJb=function(a){a&1&&(K(0),F(1,"div",3)(2,"div",4)(3,"p",5),R(4,"Frequency settings"),G(),F(5,"p",11),R(6," Choose when to receive your own reports. "),F(7,"a",12),R(8,"Learn more"),G()()(),C(9,fJb,15,10,"ng-container",2),T(10,"async"),G(),H(11,"hr",13),L());a&2&&(a=O(),z(9),D("ngIf",
V(10,1,a.userSubscription$)))},hJb=function(a){a&1&&(K(0),H(1,"b-spinner"),L())},iJb=function(a){a&1&&(F(0,"th",41),R(1,"Scope"),G())},jJb=function(a,b){a&1&&(F(0,"td",42),R(1),G());a&2&&(a=b.$implicit,z(),S(" ",a.lead.emailAddress," "))},kJb=function(a){a&1&&(F(0,"th",41),R(1,"Frequency"),G())},nJb=function(a,b){a&1&&(F(0,"td",42),R(1),T(2,"async"),T(3,"async"),G());if(a&2){var c;a=b.$implicit;b=O(2);z();cma(" ",b.frequencyDisplayMap.get(a.frequency)," ",a.ordinal?a.frequency==="weekly"?"- "+lJb[a.ordinal-
1].display:a.frequency==="monthly"?"- "+mJb(a.ordinal):"":""," - ",(c=V(2,4,b.hourOfDayDisplayMap$))==null?null:c.get(a.timeOfDay.hours)," - ",(c=V(3,6,b.timeZoneDisplayMap$))==null?null:c.get(a.timeZone.id)," ")}},oJb=function(a){a&1&&H(0,"th",41)},qJb=function(a){if(a&1){var b=u();F(0,"td",42)(1,"button",43);H(2,"mat-icon",44);G();F(3,"mat-menu",null,1)(5,"button",45);M("click",function(){var c=v(b).$implicit,d=O(2);return x(d.openDialog(c))});R(6," Edit subscription ");G();F(7,"button",46);M("click",
function(){var c=v(b).$implicit,d=O(2);return x(pJb(d,c))});R(8," Delete subscription ");G()()()}a&2&&(a=Q(4),z(),D("matMenuTriggerFor",a))},rJb=function(a){a&1&&H(0,"tr",47)},sJb=function(a,b){a&1&&H(0,"tr",48);a&2&&(a=b.$implicit,Bf("aria-label","Subscription with ID "+a.id+" and scoped to "+a.lead.emailAddress))},tJb=function(a){a&1&&(K(0),F(1,"table",33),K(2,34),C(3,iJb,2,0,"th",35)(4,jJb,2,1,"td",36),L(),K(5,37),C(6,kJb,2,0,"th",35)(7,nJb,4,8,"td",36),L(),K(8,38),C(9,oJb,1,0,"th",35)(10,qJb,
9,1,"td",36),L(),C(11,rJb,1,0,"tr",39)(12,sJb,1,1,"tr",40),G(),L());a&2&&(a=O(),z(),D("dataSource",a.subscriptions$),z(10),D("matHeaderRowDef",a.columns),z(),D("matRowDefColumns",a.columns))},uJb=function(a){a&1&&(F(0,"mat-error"),R(1,"Please select a valid, single user"),G())},vJb=function(a){a&1&&(F(0,"mat-error"),R(1,"Report for sundar@ cannot be generated"),G())},wJb=function(a,b){a&1&&(F(0,"mat-option",21),R(1),G());a&2&&(a=b.$implicit,D("value",a.frequency),z(),S(" ",a.display," "))},xJb=function(a,
b){a&1&&(F(0,"mat-option",21),R(1),G());a&2&&(a=b.$implicit,D("value",a.ordinal),z(),S(" ",a.display," "))},yJb=function(a){if(a&1){var b=u();F(0,"div")(1,"mat-form-field",15)(2,"mat-label");R(3," Repeat on ");G();F(4,"mat-select",17);pg("ngModelChange",function(d){v(b);var e=O().$implicit;og(e.ordinal,d)||(e.ordinal=d);return x(d)});C(5,xJb,2,2,"mat-option",18);G()()()}if(a&2){a=O().$implicit;var c=O();z(4);ng("ngModel",a.ordinal);z();D("ngForOf",c.repeatOnOptions.get(a.frequency))}},zJb=function(a,
b){a&1&&(F(0,"mat-option",21),R(1),G());a&2&&(a=b.$implicit,D("value",a.timeOfDay),z(),S(" ~",a.display," "))},AJb=function(a,b){if(a&1){var c=u();K(0);F(1,"div")(2,"mat-form-field",15)(3,"mat-label");R(4," Repeat at ");G();F(5,"mat-select",22);pg("ngModelChange",function(e){v(c);var f=O().$implicit;og(f.timeOfDay,e)||(f.timeOfDay=e);return x(e)});C(6,zJb,2,2,"mat-option",18);G()()();L()}if(a&2){a=b.ngIf;b=O().$implicit;var d=O();z(5);ng("ngModel",b.timeOfDay);D("compareWith",d.compareTimeOfDay);
z();D("ngForOf",a)}},BJb=function(a,b){a&1&&(F(0,"mat-option",21),R(1),G());a&2&&(a=b.$implicit,D("value",a.value),z(),lg(a.displayText))},DJb=function(a,b){if(a&1){var c=u();F(0,"div",28)(1,"a",29);R(2);G();F(3,"button",30);M("click",function(){var d=v(c).$implicit,e=O(2).$implicit;O();return x(CJb(e,d))});H(4,"mat-icon",31);G()()}a&2&&(a=b.$implicit,z(),D("href","/slos/"+a,Qe),z(),lg(a),z(),D("matTooltip","Remove SLO ID "+a))},FJb=function(a){if(a&1){var b=u();K(0);F(1,"div")(2,"mat-form-field",
15)(3,"mat-label");R(4,"Days remaining");G();F(5,"input",56);pg("ngModelChange",function(d){v(b);var e=O().$implicit;og(e.daysRemaining,d)||(e.daysRemaining=d);return x(d)});G()()();F(6,"div")(7,"mat-form-field",15)(8,"mat-label");R(9,"Types");G();F(10,"mat-select",25);pg("ngModelChange",function(d){v(b);var e=O().$implicit;og(e.types,d)||(e.types=d);return x(d)});Qf(11,BJb,2,2,"mat-option",21,Pf);G()()();F(13,"div",9)(14,"mat-form-field",57)(15,"mat-label");R(16,"Add SLO ID");G();F(17,"input",27);
pg("ngModelChange",function(d){v(b);var e=O(2);og(e.newSloId,d)||(e.newSloId=d);return x(d)});M("keydown.enter",function(){v(b);var d=O().$implicit,e=O();return x(EJb(e,d))})("blur",function(){v(b);var d=O().$implicit,e=O();return x(EJb(e,d))});G()();Qf(18,DJb,5,3,"div",28,Pf);G();L()}if(a&2){a=O().$implicit;var c=O();z(5);ng("ngModel",a.daysRemaining);z(5);ng("ngModel",a.types);z();Rf(c.typeChoices);z(6);ng("ngModel",c.newSloId);z();Rf(a.sloIds)}},GJb=function(a){a&1&&(F(0,"div",32),R(1),G());a&
2&&(a=O().$implicit,z(),S(" Subscription ID: ",a.id," "))},JJb=function(a,b){if(a&1){var c=u();F(0,"h1",49);R(1,"Add report subscription");G();F(2,"mat-dialog-content")(3,"p",50);R(4," Select the user (scope) and frequency of the report you wish to receive. ");G();F(5,"div")(6,"mat-form-field",51)(7,"mat-label");R(8,"Scope");G();F(9,"input",52);M("ngModelChange",function(e){var f=v(c).$implicit,h=O();return x(f.lead=h.emailToUser(e))});G();C(10,uJb,2,0,"mat-error",2)(11,vJb,2,0,"mat-error",2);G()();
F(12,"div")(13,"mat-form-field",15)(14,"mat-label");R(15," Frequency ");G();F(16,"mat-select",17);pg("ngModelChange",function(e){var f=v(c).$implicit;og(f.frequency,e)||(f.frequency=e);return x(e)});M("ngModelChange",function(e){var f=v(c).$implicit;O();return x(HJb(e,f))});C(17,wJb,2,2,"mat-option",18);G()()();C(18,yJb,6,2,"div",2)(19,AJb,7,3,"ng-container",2);T(20,"async");F(21,"div")(22,"b-timezone-picker",19);M("timezoneIdChange",function(e){var f=v(c).$implicit;return x(f.timeZone.id=e)});G()();
C(23,FJb,20,3,"ng-container",2)(24,GJb,2,1,"div",20);F(25,"p",53);R(26," You are the only recipient of your subscription. Anyone else wishing to receive this report will need to subscribe for themselves. ");G();F(27,"a",54);R(28,"Learn more");G()();F(29,"mat-dialog-actions")(30,"button",55);R(31,"Cancel");G();F(32,"button",10);M("click",function(){var e=v(c).$implicit,f=O();return x(IJb(f,e))});R(33);G()()}if(a&2){var d;a=b.$implicit;b=O();z(9);D("ngModel",(d=a.lead==null?null:a.lead.emailAddress)!==
null&&d!==void 0?d:"")("bContactAutocomplete","SINGLE");z();D("ngIf",b.dialogInvalidEmailFormat);z();D("ngIf",b.ceoSelected);z(5);ng("ngModel",a.frequency);z();D("ngForOf",b.frequencyOptions);z();D("ngIf",a.frequency!==b.DAILY);z();D("ngIf",V(20,14,b.repeatAtOptions$));z(3);D("timezoneId",a.timeZone.id)("fullWidth",!0);z();D("ngIf",b.enableSloReportFiltering);z();D("ngIf",a.id);z(8);D("disabled",!a.lead||!a.lead.emailAddress);z();S(" ",a.id===0?"Add":"Update"," ")}},mJb=function(a){var b=a%10,c=a%
100;return b===1&&c!==11?String(a)+"st":b===2&&c!==12?String(a)+"nd":b===3&&c!==13?String(a)+"rd":String(a)+"th"},KJb=function(a){a&1&&(F(0,"mat-tab",6)(1,"div",3),H(2,"b-slo-reports-settings"),G()())},LJb=function(a){if(a&1){var b=u();F(0,"b-star-toggle",13);M("starClicked",function(){v(b);var c=O(2);return x(c.toggleStar())});G()}a&2&&(a=O(2),D("starMessage","Star this bookmark group")("unStarMessage","Un-star this bookmark group")("starred",a.isStarred))},MJb=function(a){a&1&&H(0,"b-star-toggle",
14);a&2&&D("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)},NJb=function(a,b){a&1&&(F(0,"li")(1,"a",15),R(2),G()());a&2&&(a=b.$implicit,b=O(2),z(),D("href",b.getUrl(a),Qe),z(),lg(b.getDisplayName(a)))},OJb=function(a){if(a&1){var b=u();F(0,"div")(1,"div",4)(2,"div",5);C(3,LJb,1,3,"b-star-toggle",6)(4,MJb,1,4,"b-star-toggle",7);F(5,"span",8);R(6);
G();F(7,"button",9);M("click",function(){v(b);var c=O();return x(c.openEditBookmarkGroup())});G()();F(8,"div",10);R(9);G()();F(10,"ul",11);C(11,NJb,3,2,"li",12);G()()}a&2&&(a=O(),z(3),D("ngIf",!a.userIsAdmin),z(),D("ngIf",a.userIsAdmin),z(2),S("Bookmark Group: ",a.bookmarkGroup.name," "),z(3),lg(a.bookmarkGroup.description),z(2),D("ngForOf",a.bookmarkGroup.item))},SJb=function(a){if(a&1){var b=u();F(0,"button-toggle",11);pg("valueChange",function(c){v(b);var d=O(2);og(d.viewMode,c)||(d.viewMode=c);
return x(c)});G()}a&2&&(a=O(2),ng("value",a.viewMode),D("choices",vg(4,PJb,tg(2,QJb),tg(3,RJb))))},TJb=function(a){if(a&1){var b=u();F(0,"button",12);M("click",function(){v(b);var c=O(2);return x(c.addToMissionControl(c.hotlistId))});R(1," Hotlist insights in Home ");G()}},UJb=function(a,b){a&1&&C(0,SJb,1,7,"button-toggle",9)(1,TJb,2,0,"button",10);a&2&&(a=O(),Of(a.viewModesEnabled&&(a.viewMode||b<=500)?0:a.showAddToMcButton(b)?1:-1))},VJb=function(a){if(a&1){var b=u();F(0,"b-star-toggle",20);M("starClicked",
function(){v(b);var c=O(2);return x(c.toggleStar())})("keydown.space",function(c){v(b);return x(c.stopPropagation())})("keydown.enter",function(c){v(b);return x(c.stopPropagation())});G()}a&2&&(a=O(2),D("starMessage","Star this hotlist")("unStarMessage","Un-star this hotlist")("starred",a.isStarred))},WJb=function(a){a&1&&H(0,"b-star-toggle",21);a&2&&D("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)},XJb=function(a){a&1&&H(0,"b-star-toggle",21);a&2&&D("starMessage","")("unStarMessage","")("starred",!1)("disabled",!0)},YJb=function(a){a&1&&(F(0,"div",22),R(1," Hotlist not found. "),G());a&2&&D("bFocus",!0)},ZJb=function(a){a&1&&(F(0,"div"),R(1," Loading details... "),G())},$Jb=function(a){a&1&&(F(0,"span",29),R(1," (archived) "),G())},aKb=function(a){a&1&&(F(0,"span",30),R(1," \u00a0(changed) "),G())},bKb=function(a){if(a&1){var b=u();F(0,"div")(1,"span",23);R(2," Hotlist: ");
F(3,"span",24);R(4);G()();C(5,$Jb,2,0,"span",25);F(6,"div",26)(7,"button",27);M("click",function(){v(b);var c=O(2);return x(c.openEditHotlist())});G()();C(8,aKb,2,0,"span",28);G()}a&2&&(a=O(2),z(3),D("matTooltip",a.hotlist.description),z(),S(" ",a.hotlist.name," "),z(),D("ngIf",a.hotlist.archived),z(3),D("ngIf",a.hasParamChanges()))},cKb=function(a){if(a&1){var b=u();F(0,"div",31)(1,"button",32);M("click",function(){v(b);var c=O(2);return x(c.save())});R(2,"Save ");G();F(3,"button",33);M("click",
function(){v(b);var c=O(2);return x(c.discardChanges())});R(4,"Discard changes ");G()()}},dKb=function(a){a&1&&(F(0,"div",13),C(1,VJb,1,3,"b-star-toggle",14)(2,WJb,1,4,"b-star-toggle",15)(3,XJb,1,4,"b-star-toggle",15),F(4,"div",16),C(5,YJb,2,1,"div",17)(6,ZJb,2,0,"div",18)(7,bKb,9,4,"div",18),G(),C(8,cKb,5,0,"div",19),G());a&2&&(a=O(),z(),D("ngIf",!a.isDirectAdmin()&&a.hotlist&&!a.hotlist.archived),z(),D("ngIf",a.isDirectAdmin()&&a.hotlist&&!a.hotlist.archived),z(),D("ngIf",!a.hotlist),z(2),D("ngIf",
!a.hotlist&&!a.hotlistLoading),z(),D("ngIf",a.hotlistLoading),z(),D("ngIf",a.hotlist&&!a.hotlistLoading),z(),D("ngIf",a.hasParamChanges()))},eKb=function(a){a&1&&(F(0,"div",34),H(1,"b-spinner"),F(2,"span"),R(3),G()());a&2&&(a=O(),z(3),S(" Loading hotlist: ",a.hotlistId,""))},fKb=function(a){a&1&&(F(0,"div",35),R(1),G());a&2&&(a=O(),D("bFocus",!0),z(),S(" No issues in hotlist ",a.hotlistId,". "))},gKb=function(a){a&1&&H(0,"one-work-area",37);a&2&&(a=O(2),Zf("reference","hotlist/",a.hotlistId,""),D("numRecentActivityEvents",
12))},hKb=function(a){if(a&1){var b=u();F(0,"b-issues-grid",39);M("init",function(c){v(b);var d=O(2);return x(d.resultsGrid=c)});pg("focusedRowIndexChange",function(c){v(b);var d=O(2);og(d.focusedRowIndex,c)||(d.focusedRowIndex=c);return x(c)})("columnsChange",function(c){v(b);var d=O(2);og(d.issueColumns,c)||(d.issueColumns=c);return x(c)});M("sortChange",function(c){v(b);var d=O(2);return x(d.setSort(c.field,c.direction))})("rowClick",function(c){v(b);var d=O(2);return x(d.goToIssue(c.id,c.isRead,
c.event))})("onRowDragDrop",function(c){v(b);var d=O(2);return x(d.repositionIssue(c.srcIndex,c.destIndex))})("onNextPage",function(){v(b);var c=O(2);return x(zr(c,c.page,1))})("onPrevPage",function(){v(b);var c=O(2);return x(zr(c,c.page,-1))});G()}a&2&&(a=O(2),D("searchResults",a.searchResults),ng("focusedRowIndex",a.focusedRowIndex)("columns",a.issueColumns),D("enableColumnSaving",!!a.isColumnSaveEnabled)("sort",a.getSort())("enableSidebar",!0))},iKb=function(a){a&1&&(F(0,"div",36),C(1,gKb,1,3,
"one-work-area",37)(2,hKb,1,6,"b-issues-grid",38),G());a&2&&(a=O(),z(),Of(a.viewModesEnabled&&a.viewMode==="adv"?1:2))},mKb=function(a){if(a&1){var b=u();F(0,"button-toggle",11);pg("valueChange",function(c){v(b);var d=O(2);og(d.viewMode,c)||(d.viewMode=c);return x(c)});G()}a&2&&(a=O(2),ng("value",a.viewMode),D("choices",vg(4,jKb,tg(2,kKb),tg(3,lKb))))},nKb=function(a){if(a&1){var b=u();F(0,"button",12);M("click",function(){v(b);var c=O(2);return x(c.addToMissionControl(c.savedSearchId))});R(1," Saved Search insights in Home ");
G()}},oKb=function(a,b){a&1&&C(0,mKb,1,7,"button-toggle",9)(1,nKb,2,0,"button",10);a&2&&(a=O(),Of(a.viewModesEnabled&&(a.viewMode||b<=500)?0:a.showAddToMcButton(b)?1:-1))},pKb=function(a){a&1&&(F(0,"div"),R(1," Loading details... "),G())},qKb=function(a){a&1&&(F(0,"div"),R(1," Saved search not found. "),G())},rKb=function(a){a&1&&(F(0,"span",19),R(1," \u00a0(changed) "),G())},sKb=function(a){if(a&1){var b=u();F(0,"div",15);R(1," Saved search: ");F(2,"span",16);R(3);G();F(4,"button",17);M("click",
function(){v(b);var c=O(2);return x(c.openEditSavedSearch())});G();C(5,rKb,2,0,"span",18);G()}a&2&&(a=O(2),z(2),D("matTooltip",a.savedSearch.description),z(),S(" ",a.savedSearch.name," "),z(2),D("ngIf",a.hasParamChanges()))},tKb=function(a){a&1&&(F(0,"div",13),C(1,pKb,2,0,"div",8)(2,qKb,2,0,"div",8)(3,sKb,6,3,"div",14),G());a&2&&(a=O(),z(),D("ngIf",!a.savedSearch&&a.isLoading),z(),D("ngIf",!a.savedSearch&&!a.isLoading),z(),D("ngIf",a.savedSearch))},uKb=function(a){if(a&1){var b=u();F(0,"button",25);
M("click",function(){v(b);var c=O(2);return x(c.save())});R(1,"Save ");G()}},vKb=function(a){if(a&1){var b=u();F(0,"div",20);C(1,uKb,2,0,"button",21);F(2,"button",22);M("click",function(){v(b);var c=O();return x(c.discardChanges())});R(3,"Discard changes ");G();F(4,"span",23)(5,"a",24);M("click",function(){v(b);var c=O();c.analytics.trackEvent(c.ANALYTICS_CATEGORY,"backToNormalSearch");return x()});R(6," Back to normal search");G()()()}a&2&&(a=O(),z(),D("ngIf",a.isEditable()),z(4),D("href",a.exitLink,
Qe))},wKb=function(a){a&1&&(F(0,"span"),R(1),G());a&2&&(a=O(3),z(),S(" Searching",a.searchParams.query?" for "+a.searchParams.query:"","..."))},xKb=function(a){a&1&&(F(0,"div",29),H(1,"b-spinner"),C(2,wKb,2,1,"span",8),G());a&2&&(a=O(2),z(2),D("ngIf",a.searchParams))},yKb=function(a){a&1&&(F(0,"div",30),R(1," No issues in saved search. "),G());a&2&&D("bFocus",!0)},zKb=function(a){a&1&&H(0,"one-work-area",32);a&2&&(a=O(3),Zf("reference","savedsearch/",a.savedSearchId,""),D("numRecentActivityEvents",
12))},AKb=function(a){if(a&1){var b=u();F(0,"b-issues-grid",34);M("init",function(c){v(b);var d=O(3);return x(d.resultsGrid=c)});pg("focusedRowIndexChange",function(c){v(b);var d=O(3);og(d.focusedRowIndex,c)||(d.focusedRowIndex=c);return x(c)})("columnsChange",function(c){v(b);var d=O(3);og(d.issueColumns,c)||(d.issueColumns=c);return x(c)});M("sortChange",function(c){v(b);var d=O(3);return x(d.setSort(c.field,c.direction))})("rowClick",function(c){v(b);var d=O(3);return x(d.goToIssue(c.id,c.isRead,
c.event))})("onNextPage",function(){v(b);var c=O(3);return x(zr(c,c.page,1))})("onPrevPage",function(){v(b);var c=O(3);return x(zr(c,c.page,-1))});G()}a&2&&(a=O(3),D("searchResults",a.searchResults),ng("focusedRowIndex",a.focusedRowIndex)("columns",a.issueColumns),D("enableColumnSaving",!!a.isColumnSaveEnabled)("sort",a.getSort())("enableSidebar",!0))},BKb=function(a){a&1&&(F(0,"div",31),C(1,zKb,1,3,"one-work-area",32)(2,AKb,1,6,"b-issues-grid",33),G());a&2&&(a=O(2),z(),Of(a.viewModesEnabled&&a.viewMode===
"adv"?1:2))},CKb=function(a){a&1&&(F(0,"div"),C(1,xKb,3,1,"div",26)(2,yKb,2,1,"div",27)(3,BKb,3,1,"div",28),G());a&2&&(a=O(),z(),D("ngIf",a.isLoading),z(),D("ngIf",!a.isLoading&&!a.hasResults()),z(),D("ngIf",!a.isLoading&&a.hasResults()))},EKb=function(a,b){return DKb(function(){return qn(a)},b)},DKb=function(a,b){return a()?[b]:[]},FKb=function(){var a=Yc(Ir).getEnvironmentType(),b={};return(b.DEV="Dev",b.NIGHTLY="Autopush",b.QA="Dev",b.PROD="Prod",b)[a]},GKb=function(a){a=a.internal;var b,c,d;(b=
a.getFeatures())==null?d=void 0:d=nl(b,1,yj(Pi)).sort().join("-");b=(c=d)!=null?c:"";var e,f,h;(e=a.getFeatures())==null?h=void 0:h=nl(e,2,yj(Pi)).sort().join("-");c=(f=h)!=null?f:"";return Kh(a,10,"all_features")+(":enabled-"+b)+(":disabled-"+c)},Jr=function(a,b){return a.querySelector('[peoplekit-id="'+b+'"]')},HKb=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"))})},IKb=function(a){return a.closest('[class~="aU4VQc"]')},JKb=function(a){var b=new Image;b.src=a;a=b.complete;b.src="";return a},Kr=function(a,b,c,d,e,f){e=e===void 0?new KKb:e;f=f===void 0?"":f;b=ap(LKb,{imageUrls:b.map(function(h){return h||"https://lh3.googleusercontent.com/a/default-user"}),backupUrl:f||"https://lh3.googleusercontent.com/a/default-user",size:c,preloadSize:d,pixelRatio:MKb()});e=new NKb(b,e);a.appendChild(b);return e},PKb=function(a,b){var c="",d=0;b=
l(b);for(var e=b.next();!e.done;e=b.next())e=e.value,c=c+a.substring(d,e.getStart())+"#\ufe0f\u20e3\u20e31\ufe0f\u20e3\u20e3"+a.substring(e.getStart(),e.getEnd())+"2\ufe0f\u20e3\u20e3*\ufe0f\u20e3\u20e3",d=e.getEnd();c+=a.substring(d,a.length);return OKb(OKb(Dp(c),"#\ufe0f\u20e3\u20e31\ufe0f\u20e3\u20e3","<b>"),"2\ufe0f\u20e3\u20e3*\ufe0f\u20e3\u20e3","</b>")},QKb=function(a){var b=a.getDisplayName();return b?PKb(b,a.getMatchInfo().getDisplayNameMatches()):""},RKb=function(a){var b=a.getDisplayValue();
return b?PKb(b,a.getMatchInfo().getDisplayValueMatches()):""},SKb=function(a,b){var c=b?QKb(a):Dp(a.getDisplayName());b=b?RKb(a):Dp(a.getDisplayValue());c=c||b;b=b||Dp(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()]}},TKb=function(a){var b=a.result();b=SKb(b,!1);a=a.getDisplayNameWithOverrideApplied();return{label:Dp(a)||b.sublabel,sublabel:b.sublabel,name:a,
photos:b.photos,hovercardId:b.hovercardId}},UKb=function(a){var b;switch(((b=a.statefulChipConfig)==null?void 0:b.chipState)||0){case 3:return"isError";default:return""}},XKb=function(a,b,c,d){var e="",f=Dp(a.getDescription()),h=!1,k=a.getMemberList().length;if(k>1||a.getDisplayName())e=a.getMemberList().map(function(q){var t=q.getPrimaryTarget().getName(),w="";if(t){if(b){var B;var E=(t=(E=q.getPrimaryTarget())==null?void 0:(B=E.getName())==null?void 0:B.getGivenName())?PKb(t,q.getMatchInfo().getGivenNameMatches()):
""}else E=Dp(t.getGivenName());(w=E)||(w=b?QKb(q):Dp(q.getDisplayName()))}w||(w=b?RKb(q):Dp(q.getDisplayValue()));return w}),c&&(e=e.reverse()),e=b?QKb(a)||VKb({memberNames:e}):Dp(a.getDisplayName())||VKb({memberNames:e}),f||d||a.getTotalMemberCount()===null||(f=WKb({memberCount:Number(a.getTotalMemberCount())}),h=!0);else if(k===1)return f=a.getMemberList()[0],h=SKb(f,b),Object.assign({},h,{type:a.getPrimaryTarget().getTargetType(),flatResult:f,allowSublabelTranslation:!1});c=a.getPhotoUrl();c=a.getDisplayName()&&
c?[c]:a.getMemberList().map(function(q){return q.getPhotoUrl()});return{hovercardId:"",label:e,sublabel:f,type:a.getPrimaryTarget().getTargetType(),photos:c,allowSublabelTranslation:h}},Mr=function(a){return new Lr(a)},YKb=function(a,b){b=b.ownerDocument.createEvent("CustomEvent");b.initEvent(a,!0,!0);return b},ZKb=function(a){return a.resultType===4||a.resultType===5},eLb=function(a){$Kb.addCoreFactory({type:0,configurationKey:a,factory:{create:function(b){var c=b.chipConfig;var d=b.chipCustomization,
e=b.isRightToLeft;e=XKb(b.selection.result(),!1,e,!1);if(e.flatResult){var f=Object,h=f.assign,k=e.flatResult,q=k.getPrimaryTarget(),t=c.getWarnForExternalSelections()&&q.getOrgState()===2;q=c.getShouldDisplayExternalSelectionIcon()&&t&&q.getDataSource()!==1?["https://www.gstatic.com/people/peoplekit/icons/light_theme/out_of_domain_yellow500.svg"]:e.photos;d=UKb(d);c={id:Nr(aLb),label:e.label,name:k.getDisplayName(),photos:q,hovercardId:e.hovercardId,stateClass:d,isWarning:t,isDeletionDisabled:!c.getAllowChipDeletion()};
c=h.call(f,{},c,{type:e.type})}else c=Object.assign({},{id:Nr(bLb),isDeletionDisabled:!c.getAllowChipDeletion(),stateClass:"",isWarning:!1,name:e.label},e);e=ap(cLb,c);Kr(Jr(e,"d6MZcd"),c.photos,b.avatarSize,b.resultListItemAvatarSize,b.appearanceConfig);b.parent.appendChild(e);return{chip:new dLb(e,b.selection,b.selectionsState),root:e,state:0}},shouldCreate:ZKb}})},fLb=function(a){return 0===a.resultType},iLb=function(a){$Kb.addCoreFactory({type:1,configurationKey:a,factory:{create:function(b){var c=
b.selection;var d=b.chipConfig;var e=b.chipCustomization,f=TKb(c),h=c.result().getPrimaryTarget();c=d.getWarnForExternalSelections()&&h.getOrgState()===2;h=d.getShouldDisplayExternalSelectionIcon()&&c&&h.getDataSource()!==1?["https://www.gstatic.com/people/peoplekit/icons/light_theme/out_of_domain_yellow500.svg"]:f.photos;e=UKb(e);d={id:Nr(aLb),label:f.label,name:f.name,photos:h,hovercardId:f.hovercardId,stateClass:e,isWarning:c,isDeletionDisabled:!d.getAllowChipDeletion()};d=ap(gLb,Object.assign({},
d,{avatarSize:b.avatarSize}));b.parent.appendChild(d);return{chip:new hLb(d,b.selection,b.selectionsState),root:d,state:0}},shouldCreate:fLb}})},pLb=function(a,b,c,d,e){var f=jLb(c),h=Or(a),k=Pr(a);k&&h.intersection(kLb(k));lLb(h,$o(a),$o(c));a=mLb(a,b);b=h.left;a&4?b+=h.width:a&2&&(b+=h.width/2);h=new Qr(b,h.top+(a&1?h.height:0));h=nLb(h,f);a=mLb(c,d);h=oLb(h,Rr(c),a).rect;c=Pr(c);c.top-=f.y;c.right-=f.x;c.bottom-=f.y;c.left-=f.x;f=h;f.left<c.left?f.left=c.left:f.left+f.width>c.right&&(f.left=c.right-
f.width);h=f;e&&(e=h,d&1?e.top<c.top&&(d=c.top-e.top,e.top+=d,e.height-=d):(d=e.top+e.height,d>c.bottom&&(e.height-=d-c.bottom)),h=e);return h},sLb=function(a,b){Sr(a,new Qr(b.left,b.top));b=b.getSize();qLb(Rr(a),b)||rLb(a,b)},tLb=function(a,b){return new Tr(a,b)},wLb=function(a,b,c){b=ap(uLb,{label:c.label,id:b,ariaLabel:c.ariaLabel});a.appendChild(b);a=c.showDelayMs;c=c.hideDelayMs;c=new Ur(b,a===void 0?500:a,c===void 0?300:c);return new vLb(b,c)},xLb=function(a){return!a.chipCustomization.statefulChipConfig||
a.chipCustomization.statefulChipConfig.chipState===0||a.chipConfig.getWarnForExternalSelections()&&a.chipCustomization.statefulChipConfig.chipState!==3?!1:!0},yLb=function(a){$Kb.addDecoratorFactory({type:0,factory:{create:function(b,c){return{chip:new Vr(c.chip,b.chipCustomization.statefulChipConfig.tooltipLabel,b.chipCustomization.statefulChipConfig.ariaLabel),root:c.root,state:b.chipCustomization.statefulChipConfig.chipState}},shouldCreate:xLb},configurationKey:a})},ALb=function(a,b,c){return new Rq(new zLb(a===
void 0?0:a,b!=null?b:[],c!=null?c:null))},Wr=function(a){return(a||"").trim()},Xr=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)},Yr=function(a){return YKb("pcw-click",a)},CLb=function(a){var b;return Object.freeze({id:"ENOWEf",iconUrl:(b=
BLb.get(a))==null?void 0:b.get("ENOWEf"),label:"Hide suggestion",keyboardShortcut:[],veid:181476})},DLb=function(a){return a.map(function(b){if(Zr)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)}})},GLb=function(a,b){var c=Nr($r.getInstance()),d=Object,e=d.assign;c=c+":"+a.id;var f=DLb(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=ap(ELb,e.call(d,{},a,{id:c,keyboardShortcut:f,densityClass:b}));a.veid&&Xr({element:d,veid:a.veid,actions:["impression","pcw-click"],componentId:"peoplekitweb"});return new FLb(d,a)},ILb=function(a){var b=new HLb([]);return new as(a,b)},JLb=function(a,b,c){var d=Math.max(b,c);return a>Math.min(b,c)&&a<d},LLb=function(a,
b){return new KLb(a,b)},OLb=function(a,b,c,d){var e=ap(MLb);Xr({element:e,veid:28041,actions:["impression"],componentId:"peoplekitweb"});var f=new NLb(e);a.appendChild(e);return new bs(e,b,c,f,d)},RLb=function(a,b){b=ap(PLb,{label:b.label});a.appendChild(b);return new QLb(b)},TLb=function(a,b){for(var c=l(SLb.values()),d=c.next();!d.done;d=c.next())a.classList.remove(d.value);(b=SLb.get(b))&&a.classList.add(b)},VLb=function(a,b){for(var c=l(["peoplekitThemeLight","peoplekitThemeDark"]),d=c.next();!d.done;d=
c.next())a.classList.remove(d.value);(b=ULb.get(b))&&a.classList.add(b)},YLb=function(a,b,c,d){b=ap(WLb,{content:b,header:d});a.appendChild(b);a=Jr(b,"Sx9Kwc");d=RLb(Jr(b,"IbE0S"),{label:"Close"});VLb(b,c.getTheme());TLb(a,c.getStyle());return new XLb(b,d)},$Lb=function(a,b){var c=ZLb({header:"Couldn't hide suggestion"});var d=cs("<div>There was a problem and this person could not be hidden</div>");a=YLb(a,d,b,c);Xr({element:a.getRoot(),veid:131913,actions:["impression"],componentId:"peoplekitweb"});
return a},aMb=function(a,b){var c=ZLb({header:"Couldn't hide suggestion"});var d=cs("<div>Groups of 2 or more people can't be hidden</div>");a=YLb(a,d,b,c);Xr({element:a.getRoot(),veid:166230,actions:["impression"],componentId:"peoplekitweb"});return a},bMb=function(a,b){var c=ZLb({header:"Couldn't show suggestion"});var d=cs("<div>There was a problem and this person could not be shown in suggestions</div>");a=YLb(a,d,b,c);Xr({element:a.getRoot(),veid:184760,actions:["impression"],componentId:"peoplekitweb"});
return a},dMb=function(a,b,c,d){var e=b.result().getMemberList();e.length===1?(b=SKb(e[0],!1),b={hovercardId:b.hovercardId,label:b.label,sublabel:b.sublabel,name:"",photos:b.photos}):b=TKb(b);var f=b.hovercardId,h=b.name;var k=b.label;var q=b.sublabel;e=cs;f='<div peoplekit-id="'+ds("tJHJj")+'" class="'+ds("peoplekitComponentsDialogImplAvatarHeader")+'" data-hovercard-id="'+ds(f)+'" data-name="'+ds(h)+'"><div class="'+ds("peoplekitComponentsDialogImplHeaderRow")+'"><div class="'+ds("peoplekitComponentsDialogImplLeft")+
'">';h=cs('<div class="'+ds("peoplekitComponentsDialogImplAvatar")+'"><div class="'+ds("peoplekitComponentsDialogImplAvatarContainer")+'" peoplekit-id="'+ds("d6MZcd")+'"></div></div>');f=f+h+'</div><div class="'+ds("peoplekitComponentsDialogImplCenter")+'">';k=cs('<div class="'+ds("peoplekitComponentsDialogImplLabelContainer")+'"><div peoplekit-id="'+ds("E0kCZc")+'" class="'+ds("peoplekitComponentsDialogImplLabel")+" "+ds("peoplekitComponentsDialogImplLabelRow")+'" translate="no">'+es(fs(k))+"</div>"+
(q?'<div class="'+ds("peoplekitComponentsDialogImplSublabel")+" "+ds("peoplekitComponentsDialogImplLabelRow")+'" translate="no">'+es(fs(q))+"</div>":"")+"</div>");k=e(f+k+"</div></div></div>");e=d===0?"Hide":"Show";q='<div peoplekit-id="'+ds("bN97Pc")+'"><div class="'+ds("peoplekitComponentsHideconfirmationdialogImplHeadline")+'">';q=(d===0?q+"Hide Suggestion?":q+"Show Suggestion?")+('</div><div class="'+ds("peoplekitComponentsHideconfirmationdialogImplDescription")+'">');d=cs((d===0?q+"This person won't be suggested again unless you search for them in Photos.":
q+"Suggest this person when showing people results.")+"</div></div>");d=ap(WLb,{content:d,header:k,confirmAction:!0});a.appendChild(d);k=Jr(d,"Sx9Kwc");a=RLb(Jr(d,"IbE0S"),{label:"Cancel"});q=q={confirmButtonText:e};q=q.confirmButtonText;f="";switch($a(q)?q.toString():q){case "Confirm":f+="Confirm";break;case "Hide":f+="Hide";break;case "Show":f+="Show";break;default:f+="Apply"}q=RLb(Jr(d,"McfNlf"),{label:f});VLb(d,c.getTheme());TLb(k,c.getStyle());k={element:q.getRoot(),veid:0,actions:["pcw-click",
"impression"],componentId:"peoplekitweb"};switch(e){case "Hide":k.veid=131909;Xr(k);break;case "Show":k.veid=131910,Xr(k)}a=new cMb(d,a,q);d=Jr(a.getRoot(),"d6MZcd");Kr(d,b.photos,36,36,c);return new gs(a)},eMb=function(a){hs.addDecoratorFactory({type:0,factory:{create:function(b,c){return new is(c,b.appearanceConfig,b.clientConfig,b.result,b.ariaParent)},shouldCreate:function(b){var c=b.result.getMemberList().length>=2;c=b.result.getResultType()!==7&&!c;var d=!!(new js).filterResult(b.result);return Hj(b.clientConfig.internal,
7,!1)&&!d&&c}},configurationKey:a})},iMb=function(a,b){var c=ap(fMb,{icon:b.icon,tooltipLabel:b.tooltipLabel,ariaLabel:b.ariaLabel});a.appendChild(c);var d=c.classList,e=d.add;a:{var f=b.density||0;switch(f){case 0:f="googleMaterialDefaultDensity";break a;case 1:f="workspaceMaterialComfortableDensity";break a;case 2:f="workspaceMaterialCompactDensity";break a;default:throw Error("Ff`"+f);}}e.call(d,f);if(b.tooltipLabel){d=c.getAttribute("data-tooltip-id")||"";var h=wLb(a,d,{label:b.tooltipLabel,ariaLabel:b.ariaLabel});
gMb(h,c)}return new hMb(c,b.icon,b.disabledIcon,h,b.disableDomNavigation,b.onClick)},kMb=function(a,b,c,d){var e=Object.assign({},c);e.onClick=function(f){d.select(a.getSelection(),1);var h;(h=c.onClick)==null||h.call(c,f)};return new jMb(a,b,e)},mMb=function(a){hs.addDecoratorFactory({type:2,factory:{create:function(b,c){return new lMb(c,b.appearanceConfig,b.clientConfig,b.interactions)},shouldCreate:function(b){return Hj(b.clientConfig.internal,7,!1)&&!!(new js).filterResult(b.result)}},configurationKey:a})},
nMb=function(a){hs.addDecoratorFactory({type:1,factory:{create:function(b,c){return kMb(c,b.appearanceConfig,b.resultCustomizationConfig.secondaryActionButtonConfig,b.interactions)},shouldCreate:function(b){return!!b.resultCustomizationConfig.secondaryActionButtonConfig&&!(Hj(b.clientConfig.internal,7,!1)&&(new js).filterResult(b.result))}},configurationKey:a})},oMb=function(a){a=GKb(a);iLb(a);yLb(a);eLb(a);eMb(a);mMb(a);nMb(a)},ks=function(a,b,c){b=[b,c].map(function(d){return d!=null?d:""}).join(";");
a.setAttribute("pkd-ac-state",String(wh(b)))},pMb=function(a,b){b=[String(b.getId()),b.getValue()].join(";");a.setAttribute("pkd-target",String(wh(b)))},qMb=function(a,b){a.setAttribute("pkd-ps-state",String(wh("1")));b.warmUpCache().then(function(){a.setAttribute("pkd-ps-state",String(wh("2")))},function(){a.setAttribute("pkd-ps-state",String(wh("3")))})},uMb=function(a){var b=ap(rMb,{id:Nr(sMb)});a.appendChild(b);return new tMb(b)},xMb=function(a){if(ls){var b=vMb(a);wMb(a,b)}else a.scrollIntoView({block:"nearest"})},
yMb=function(a){switch(a){case 0:return 40;case 1:return 32;case 2:return 28;default:throw Error("Ff`"+a);}},zMb=function(a){switch(a){case 0:return"googleMaterialDefaultDensity";case 1:return"workspaceMaterialComfortableDensity";case 2:return"workspaceMaterialCompactDensity";default:throw Error("Ff`"+a);}},AMb=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},BMb=function(a){var b,c=(b=a.getClient())==
null?void 0:b.getApplication();a=a.getRequestType();return c&&a?[c,a]:null},CMb=function(a){return(a=BMb(a))?JSON.stringify(a):null},DMb=function(a,b){b=b===void 0?null:b;b=a.getProfileId()||b;return b?(a=BMb(a))?JSON.stringify([a,b]):null:null},FMb=function(a){return EMb.map(function(b){return new ms(a,b)})},GMb=function(a){var b=new ns;if(a instanceof os)switch(b.setErrorType(a.type),a.type){case 2:b.setErrorMessage("Failed to load flags from service");break;case 3:b.setErrorMessage("Failed to retrieve flags from cache");
break;case 4:b.setErrorMessage("Operation failed to complete before timeout");break;case 6:b.setErrorMessage("Operation failed because of invalid keys.")}else b.setErrorType(5),b.setErrorMessage(a.message);return b},rs=function(a){a=a===void 0?null:a;var b=(new ps).setExperimentFlags(new qs).setSource(3);a&&b.setError(GMb(a));return b},PMb=function(a){var b=b===void 0?new HMb:b;if(IMb)return IMb;var c=new JMb(a),d=new KMb(a),e;(b.cachedIsStorageAvailable_=LMb(b.storage_))?e=new ss(a,b):e=new ts(a);
b=e;try{b.clean()}catch(f){}c=new MMb(new NMb(b,c),d);return IMb=new OMb(a,c)},RMb=function(a){var b=a.resultCustomizationConfig,c=SKb(a.result,!0);a=QMb(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}},QMb=function(a,b){var c=a.result,
d=a.resultConfig;a=zMb(a.appearanceConfig.getDensity());var e=[];Hj(SMb.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:Nr(TMb),hovercardId:b.hovercardId,label:b.label,sublabel:b.sublabel,photos:b.photos,densityClass:a,tags:e,allowSublabelTranslation:!1}},VMb=function(a){var b=a.result,c=a.resultCustomizationConfig,
d=a.appearanceConfig,e=a.isRightToLeft,f=Hj(a.clientConfig.internal,6,!1);d=zMb(d.getDensity());b=XKb(b,!0,e,f);if(b.flatResult)return d=Object.assign({},a,{result:b.flatResult}),d=QMb(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:Nr(UMb),hovercardId:b.hovercardId,label:b.label,sublabel:c.shouldHideSublabel?"":a,type:b.type,photos:b.photos,densityClass:d,tags:[],allowSublabelTranslation:e}},XMb=function(a,b,c,d,e,f){return new WMb(a,b,c,d,e,f)},YMb=function(a){return a.resultCustomizationConfig.shouldDisable?2:a.selectionsState.get(a.result.getPrimaryTarget().getId())&&!a.resultConfig.getAllowResultDeselection()?
1:0},$Mb=function(a,b){return new ZMb(a,b===void 0?"":b)},aNb=function(a){var b=-1;(a=us(a))&&Zk(a,2)&&(b=gj(a,2,0));return"index:"+b},cNb=function(a,b,c,d,e,f,h,k,q){a={result:a,selectionsState:c,resultConfig:d,appearanceConfig:e,clientConfig:f,isRightToLeft:h,interactions:k,resultCustomizationConfig:d.getResultCustomizationCallback()(a,b),ariaParent:q};f=GKb(f);f=f===void 0?"\ud83c\udf68":f;return(new bNb(f===void 0?"\ud83c\udf68":f)).create(a)},fNb=function(a){var b=Nr($r.getInstance());b=ap(dNb,
{id:b,header:a});return new eNb(b,a)},gNb=function(a,b,c){return new vs(a,b,c)},hNb=function(a,b,c){return(b=b.getGroupName(c))?new ws(a,b):a},iNb=function(a,b,c,d){var e=b.getGroupName(c);b=b.getResultListGroupConfig(c);return e&&b.infoGroupConfig?new xs(a,b.infoGroupConfig,d):a},jNb=function(a,b,c){var d=b.getGroupName(c);b=b.getResultListGroupConfig(c);return d&&b.collapsibleGroupConfig?new ys(a,b.collapsibleGroupConfig):a},mNb=function(a,b,c,d,e,f,h,k,q){h=ap(kNb,{header:h||""});a.appendChild(h);
a=uMb(Jr(h,"tjneg"));return{resultList:new lNb(a,b,c,d,e,f,k,q),list:a}},pNb=function(a,b,c,d,e,f,h,k,q,t){a=mNb(a,b,c,d,e,k,q,f,t);b=a.resultList;b=new nNb(b,a.list,h);return new oNb(b,f)},rNb=function(a,b,c,d,e,f,h,k,q,t){q=ap(kNb,{header:q||""});a.appendChild(q);a=uMb(Jr(q,"tjneg"));b=new qNb(a,b,c,d,e,f,h,k,t);return new oNb(b,f)},sNb=function(){return"https://support.google.com/contacts/answer/7345608"},uNb=function(a){return tNb.some(function(b){return a instanceof b})},vNb=function(a){return a.getAttribute("peoplekit-id")===
"XLuqBd"},xNb=function(a,b){return new wNb(a,b)},yNb=function(a){return a.map(function(b){return b.getLoggingToken()}).filter(Boolean)},zs=function(a){return a.filter(function(b){return!b.isPlaceholder()}).map(function(b){return b.selectionToken().getLoggingToken()}).filter(Boolean)},As=function(a,b,c,d){var e;d=l(d);for(var f=d.next();!f.done;f=d.next()){f=f.value;try{f(a,b,c)}catch(h){e||(e=h)}}if(e)throw e;},zNb=function(a,b,c,d,e){e=l(e);for(var f=e.next();!f.done;f=e.next())f=f.value,f(a,b,c,
d)},BNb=function(a){if(ANb.has(a))return ANb.get(a);throw Error("Tf`"+a);},DNb=function(a){if(CNb.has(a))return CNb.get(a);throw Error("Uf`"+a);},ENb=function(a){for(var b=new Map,c=l(Object.keys(a)),d=c.next();!d.done;d=c.next())d=d.value,b.set(a[d].string,a[d].xid);return b},GNb=function(a){return a?a.__owner?a.__owner:a.parentNode&&a.parentNode.nodeType===11?a.parentNode.host:FNb(a):null},HNb=function(a,b,c){for(c||(a=GNb(a));a&&!b(a);)a=GNb(a)},JNb=function(a,b,c,d,e,f){var h=c.beginSession(function(){},
f.sessionOptions||new Bs);return INb(a,b,c,h,d,e,f)},INb=function(a,b,c,d,e,f,h){var k=f.internal,q=e.getEnvironmentConfig(),t=q.experimentsConfig_.getProfileId();if(t)if(k.getExperiments().getIsEnabled()){var w=Tb(KNb||(KNb=LNb('[null,null,null,null,null,null,null,"AIzaSyBAMHkvD9gqERVdYmGsYLnAtfzigZdAqJQ"]')));w=new MNb(w,7)}else w=new Cs;else w=new Cs;k=k.getExperiments();q=w.loadExperiments(k.getApplication(),(new Ds).setPeopleApiEnv(q.apiEnv_),t);SMb=new NNb(k,q);oMb&&oMb(f);f.internal.getClearcut().setInterfaceType(4);
f.internal.getClearcut().setComponentFlow(7);q=ap(ONb,{classes:"aU4VQc"});a.appendChild(q);Hj(f.internal,14,!0)&&e.setStyle(1);VLb(q,e.getTheme());Xr({element:q,veid:64611,actions:["impression"],componentId:"peoplekitweb"});a=new Es;t=e.getEntryPoint();t=new PNb(d,a,t);w=e.getEntryPoint();k=f.internal.getClearcut();w=new QNb(k,w);w=Fs(w);k=k.getInterfaceType();k=new RNb(new SNb(w,k));var B=new TNb(h.intelligence);h=ap(UNb);TLb(h,e.getStyle());q.appendChild(h);w=ap(VNb);Xr({element:w,veid:85843,actions:["impression"],
componentId:"peoplekitweb"});TLb(w,e.getStyle());h.appendChild(w);var E=Jr(w,"tjneg");a:{var I=e.getAutocompleteHeader(),J=e.getAutocompleteCustomGrouping();if(f.internal.getEnableAutocompleteLegalese()){var N=e.getAutocompleteGroupingType()===4||e.getAutocompleteGroupingType()===5,P=J&&uNb(J);B=rNb(E,e,e,f,a,t,N&&P?J:new Gs,B,I,b)}else{switch(e.getAutocompleteGroupingType()){case 1:B=rNb(E,e,e,f,a,t,new Gs,B,I,b);break a;case 2:B=pNb(E,e,e,f,a,t,new Hs(e.getAutocompleteGroupingLabel()),B,I,b);break a;
case 3:B=pNb(E,e,e,f,a,t,new Is(e.getAutocompleteGroupingLabel()),B,I,b);break a;case 4:if(!J)break;B=Hj(f.internal,7,!1)?rNb(E,e,e,f,a,t,J,B,I,b):pNb(E,e,e,f,a,t,J,B,I,b);break a;case 5:if(J){B=rNb(E,e,e,f,a,t,J,B,I,b);break a}}B=mNb(E,e,e,f,a,B,I,t,b);B=new oNb(B.resultList,t)}}E=Jr(E,"rymPhb");b.setAttribute("aria-owns",E.id);b.setAttribute("aria-controls",E.id);E.setAttribute("aria-labelledby",b.id);I=e.getNoResultsMessage();E=ap(WNb);I?I.display?I=new XNb(E,I):(I=ap(YNb,I),E.appendChild(I),I=
new ZNb):I=new $Nb;w.appendChild(E);k=new aOb(w,b,B,d,k,e,I,f);Hj(f.internal,7,!1)&&(k=new Js(k,c,d,f,e,b));b=new bOb(h,b,k,a,e);qMb(b.getRoot(),c);c=f.internal.getClearcut();k=e.getEntryPoint();f=new Ks;d=rMa();k=(new cOb).setClientId(c.getClientId()).setApplication(c.getSocialApplicationOrUndefined()).setEntryPoint(k).setVersionName("1.0").setBaselineCl(639987384);f=new Ls(f,1394,d,void 0,void 0,void 0,new dOb(k));f.setClientSideLogOnlyForDevelopment(!c.getEnableClearcut()||!1);c=new EMa;d=SMb.getExperimentIds();
c=jc(c,3,d,Hb);f.clearcut_.setClearExperimentIds(c);f.setComponentID("peoplekitweb");c=new eOb(q,f);c.start(fOb);return new gOb(q,b,a,t,c,e)},iOb=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&&hOb(b,d.substring(c+1));a=a.substring(0,c+1)}if(a==="@")return b;hOb(b,a);return b},hOb=function(a,b){a.push(b);var c=b.length+1;jOb.lastIndex=0;for(var d=jOb.exec(b);d&&d.index<c;d=jOb.exec(b))a.push(b.substring(Number(jOb.lastIndex)))},
nOb=function(a){a=Array.from(a).flatMap(function(f){return(f||"").split(kOb)}).filter(Boolean);if(!a.length)return a;var b=new Set;a=l(a);for(var c=a.next();!c.done;c=a.next()){c=Ms(lOb(c.value)).replace(mOb,"").toUpperCase().toLowerCase();c=l(iOb(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})},pOb=function(a){var b;return oOb(function(c){c.nextAddress==1&&(b=0);if(c.nextAddress!=
3)return b<a?he(c,b,3):c.jumpTo(0);b++;return c.jumpTo(2)})},qOb=function(a,b){return isFinite(a.fieldAffinity)?a.fieldAffinity:b&&Ns(a.id)&&a.id.getType()!==9?isFinite(a.itemAffinity)?a.itemAffinity:-Infinity:-Infinity},tOb=function(a,b,c){if(Ns(a.id)||Ns(b.id)){var d=rOb.has(a.id.getType()),e=rOb.has(b.id.getType());if(d!==e)return d?-1:1;if(Ns(a.id)&&Ns(b.id))return sOb(a,b,c,!1)}d=qOb(a,c);c=qOb(b,c);(c=d!==c?d>c?-1:1:0)||(c=a.dataSource===1,c=c!==(b.dataSource===1)?c?-1:1:0);c||(a=!!a.isPrimary,
c=a!==!!b.isPrimary?a?-1:1:0);return c},sOb=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?tOb(a,b,c):0},yOb=function(a,b,c){var d=Os(b.getTargetType(),b.getValue()),e=[].concat(r(b.getProfileIdList().map(uOb)),r(b.getContactIdList().map(vOb)),r(b.getCustomSourceIdList().map(wOb)));xOb.includes(d.getType())&&e.push(d);return{id:d,containerIds:e,dataSource:b.getContactIdList().length?1:2,isMe:!!b.getIsMe(),
isPrimary:a.getTargetList()[0]===b,itemAffinity:a.hasAffinity()?a.getAffinity().getValue():-Infinity,fieldAffinity:b.hasAffinity()?b.getAffinity().getValue():-Infinity,provenance:c,resultExtendedData:a.hasExtendedData()?a.getExtendedData():void 0,targetData:b,resultData:a}},zOb=function(a){return(a||"").trim()},IOb=function(a){var b=a.resultData,c=a.targetData,d=AOb(Ps(a.id).setDataSource(a.dataSource||0),!!a.isMe);a.containerIds&&(d.sourceIds_=a.containerIds||[]);b.hasResultType()&&(d.resultType_=
b.getResultType());c.hasValue()&&d.setValue(zOb(c.getValue()));$k(c,2)&&d.setCanonicalValue(zOb(c.getCanonicalValue()));c.hasDescription()&&d.setDescription(c.getDescription());if(c.hasName()){var e=c.getName();d.setName((new BOb).setDisplayName(e.getDisplayName()).setGivenName(e.getGivenName()).setFamilyName(e.getFamilyName()).setSourceType(e.getSourceType()))}c.hasPhoto()&&(e=c.getPhoto(),d.setPhoto((new Qs).setUrl(e.getUrl()).setType(e.getType()).setSourceType(e.getSourceType()).setGlyph(e.getGlyph())));
if(b.hasTotalMemberCount()){var f;a.totalMemberCount=(f=b.getTotalMemberCount())!=null?f:void 0}b.hasAffinity()&&d.setPersonLoggingId(b.getAffinity().getLoggingId()||"");c.hasAffinity()&&d.setFieldLoggingId(c.getAffinity().getLoggingId()||"");c.hasOrgState()&&(d.orgState_=c.getOrgState());c.hasDataSource()&&d.setDataSource(c.getDataSource());c.getTagList().length&&COb(d,c.getTagList().map(function(h){return DOb(h.altText_).setIconUrl(h.getIconUrl())}));c.hasExtendedData()&&(d.extendedData_=c.getExtendedData());
c.hasEmailSecurityInfo()&&(a=c.getEmailSecurityInfo(),EOb(d,FOb(a.certificateStatus_,a.getCertificateExpirySec_asLegacyNumberOrString(),a.getEncryptionSupport()==4||a.getEncryptionSupport()==2)));c.hasReachabilityInfo()&&(c=c.getReachabilityInfo(),GOb(d,new HOb(c.reachabilityStatus,c.getClientData())));return d},KOb=function(a){return a?JOb.get(a)||0:0},OOb=function(a){switch(a.getValueCase()){case 2:return Rs(a.getEmail().getValue()||"");case 3:var b=a.getPhone();return b.getOriginalValue()&&b.getCanonicalValue()?
(a=LOb(b.getOriginalValue()||""),b=LOb(b.getCanonicalValue()||""),!a.equals(b)&&a.getValue().startsWith(b.getValue())?a:b):LOb(b.getCanonicalValue()||b.getDisplayValue()||b.getOriginalValue()||"");case 4:a=Bj(a,MOb,4,Ss);if(a.hasProfileId())return a=a.getProfileId()||"",new Ts(8,Uo(a).toLowerCase(),a);switch(Ri(a,Us)){case 2:return a=a.getEmail()||"",new Ts(6,Uo(a).toLowerCase(),a);case 3:return NOb(a.getPhone()||"")}}return Vs},QOb=function(a){return xj(a,POb,5,yj()).map(function(b){switch(b.getIdCase()){case 1:return uOb(b.getProfileId()||
"");case 2:return vOb(b.getContactId()||"");default:return null}}).filter(Boolean)},ROb=function(a,b){return dk(a,Ws,3)&&$i(a,Ws,3).getIsPlaceholder()?3:Xs(b,8)?1:0},SOb=function(a){return a&&a.hasAffinity()?Number(a.getAffinity().getValue_legacyNullable()):-Infinity},TOb=function(a){return a.hasAffinity()?Number(a.getAffinity().getValue_legacyNullable()):-Infinity},UOb=function(a){return!!a&&!!a.getPrimary()},WOb=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"+VOb(a):""},$Ob=function(a){var b=void 0;if($i(a,Ws,3)){var c;b=(c=b)!=null?c:new XOb;Ys(b,YOb,$i(a,Ws,3))}if($i(a,Zs,5)){var d;b=(d=b)!=null?d:new XOb;Ys(b,ZOb,$i(a,Zs,5))}return b},cPb=function(a){var b=void 0;if($i(a,aPb,9)){var c;b=(c=b)!=null?c:new XOb;Ys(b,bPb,$i(a,aPb,9))}return b},ePb=function(a){var b=
new $s,c=a?2:1;dPb(b.setEventType(4),c).setToken(a);return b},gPb=function(a,b){var c=new at;c=(new $s).setLookupInfo(c);bt(c.setEventType(6),9).setItemCount(a.length).setQueryScope(fPb.get(b)||0);return c},hPb=function(){var a=new $s;bt(a.setEventType(6),10);return a},iPb=function(){var a=new $s;bt(a.setEventType(6),2);return a},jPb=function(a,b){var c=new $s;bt(c.setEventType(6),6).setQueryLength(a.length).setQueryScope(fPb.get(b)||0);return c},kPb=function(a){var b=new $s;bt(b.setEventType(6),
5).setQueryScope(fPb.get(a)||0);return b},lPb=function(a,b){switch(a){case 8:case 3:case 17:return(new ct).setProfileId(b);case 1:case 6:return(new ct).setEmail(b);case 7:case 2:return(new ct).setPhone(b);case 13:case 14:return a=new ct,Wi(a,4,dt,b);default:return null}},oPb=function(a){return((a=xj(a,mPb,2,yj()).find(function(b){return et(b,1)===1}))?nPb.get(et(a,2)):0)||0},ft=function(a){return(a||"").trim()},rPb=function(a,b){b.hasAffinity()&&a.setFieldLoggingId(pPb(ft(Zqa(Qq(b.getAffinity(),1)))));
if(b.hasName()){var c=b.getName(),d=a.setName,e=(new BOb).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 Qs).setUrl(b.getUrl()).setGlyph(b.getGlyph()).setType(qPb.get(b.getType())||0)))},tPb=function(a,b){if(b.hasProfileId())switch(Ri(b,Us)){case 2:var c=ft(b.getEmail());return sPb(Ps(a.id).setValue(ft(b.getProfileId())),
(new gt).setType(1).setValue(c));case 3:return c=ft(b.getPhone()),sPb(Ps(a.id).setValue(ft(b.getProfileId())),(new gt).setType(2).setValue(c));default:return b=ft(b.getProfileId()),Ps(a.id).setValue(b)}switch(Ri(b,Us)){case 2:return b=ft(b.getEmail()),sPb(Ps(a.id).setValue(b),(new gt).setType(1).setValue(b));case 3:return b=ft(b.getPhone()),sPb(Ps(a.id).setValue(b),(new gt).setType(2).setValue(b));default:return b=ft(b.getProfileId()),Ps(a.id).setValue(b)}},wPb=function(a,b){var c=AOb(Ps(a.id),!!a.isMe);
a.containerIds&&(c.sourceIds_=a.containerIds||[]);b&&rPb(c,b);a.group&&((b=xj(a.group,uPb,6,yj()).find(function(d){return Un(d,1,vPb)!=null}))?c.setValue(ft(Un(b,1,vPb))):a.group.hasGroupId()&&c.setValue(ft(a.group.getGroupId())));a.targetExtendedData&&(c.extendedData_=a.targetExtendedData);a.target=c},yPb=function(a){return new xPb(a)},BPb=function(a){if(a.getTargetType()===8){var b=a.getOriginatingField();if(b&&(b=b.getType(),b=zPb.get(b)))return b}return(b=APb.get(a.getTargetType()))?b:Ns(a.getId())?
8:0},DPb=function(a,b,c){var d=new ht,e=new it;oj(d,it,2,e);e.setProvenance(b);b=new jt;oj(d,jt,1,b);pl(b,9,c===1);b.setProfileId(a.getProfileId()||null);b.setContactId(a.getContactId()||null);c=BPb(a)===8?8:a.getProfileId()?3:4;sl(b,8,c);c=null;a.getTargetType()===8&&(e=a.getOriginatingField())&&zPb.has(e.getType())&&(c=e.getValue());c||(c=a.getValue());c&&b.setFieldValue(c);Ns(a.getId())||b.setName(a.getName()?a.getName().getDisplayName():null);c=BPb(a);sl(b,7,c);b.setFieldLoggingId(a.getFieldLoggingId()||
null);b.setPersonLoggingId(a.getPersonLoggingId()||null);b.setIsPlaceholder(a.getDataSource()===3);et(b,7)===8&&b.setGroupId(a.getId().getValue());return new CPb(a,d)},FPb=function(a){a=EPb.indexOf(a.provenance);return a<0?EPb.length:a},GPb=function(a){return a.containerIds&&a.containerIds.some(function(b){return b.getType()===3})},IPb=function(a,b){b.useOriginalDisplayValue_&&(a=new Map(Array.from(a,function(c){var d=l(c);c=d.next().value;d=d.next().value;if(c.equals(d.getPrimaryTarget().getId())&&
c.getOriginalValue()!==d.getDisplayValue()&&d.getPrimaryTarget().getValue()===d.getDisplayValue()){var e=c.getOriginalValue(),f=d.getPrimaryTarget();d=N9a(d,new HPb(f,e))}return[c,d]})));return a},LPb=function(a){return Hj(a,21,!1)?new JPb:KPb},MPb=function(a){return a!==0&&a!==12},NPb=function(a,b){return new Promise(function(c){b>0?setTimeout(function(){return c(a)},b):c(a)})},OPb=function(a,b,c){b=NPb(b,c);return Promise.race([a,b])},PPb=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)}}},SPb=function(a,b,c,d){b=QPb(a,b).map(function(e){var f=l(e);e=f.next().value;f=f.next().value;return new kt(e,f)});c=QPb(a,c).map(function(e){var f=l(e);e=f.next().value;f=f.next().value;return new kt(e,f)});a=QPb(a,d).map(function(e){var f=l(e);e=f.next().value;f=f.next().value;return new kt(e,f)});return new RPb(b,c,a)},
TPb=function(a){switch(a.getType()){case 1:case 6:return 1;case 2:case 7:return 2;case 17:case 3:case 8:return 3;case 13:case 14:return 13;default:return 0}},UPb=function(a){return a.reduce(function(b,c){var d=TPb(c);if(b.has(d)){var e;(e=b.get(d))==null||e.push(c)}else b.set(d,[c]);return b},new Map)},VPb=function(a,b){b=b===void 0?new lt:b;var c=new Map;a=l(a);for(var d=a.next();!d.done;d=a.next()){d=d.value;for(var e=l(d.data.keys()),f=e.next();!f.done;f=e.next())f=f.value,c.set(f,d.data.get(f))}return{data:c,
metadata:b}},XPb=function(a,b){return!a||a instanceof WPb?a:new WPb(a,b)},YPb=function(a){var b=new mt,c=b.setQueryId(nt(a,3)).setSelectionId(nt(a,4)),d=nt(a,5);yl(c,3,d).setInstanceId(a.getInstanceIdOrUndefined()).setAffinityVersion(a.getAffinityVersionOrUndefined());return b},$Pb=function(a){var b=new ZPb,c;if(a=(c=$i(a,ot,18))==null?void 0:c.getSessionState())c=YPb(a),oj(b,mt,2,c);return b},bQb=function(a){return aQb.get(a)||0},dQb=function(a,b){var c=cQb(pt(new qt,"PeopleStore").setLogSource(fj(a,
4,574)).setApplication(a.getSocialApplication()).setEnvironment(b.getPeopleApiEnv()).setVersion("1004").setBaselineCl(639987384).setEnableClearcut(a.getEnableClearcut()),[].concat(r(b.getExperiments().getExperimentIdsList()),r(rt?rt.getExperimentIds():[]))).setClientAgent(2);b.getClearcutUrl()&&c.setClearcutUrl(b.getClearcutUrl());if(a=xj(a,st,5,yj()).find(function(d){return d.getEntryPoint()===0}))c.setEventSource(tt(a,4)),c.setEventSourceId(tt(a,4));return c},eQb=function(a,b){return new ut(a,b)},
fQb=function(a){return(dk(a,vt,12)?$i($i(a,vt,12),st,2):a.getSources())||new st},gQb=function(a){return(dk(a,vt,12)?$i($i(a,vt,12),st,3):a.getSources())||new st},hQb=function(a){return a.filter(function(b){var c,d=(c=us(b))==null?void 0:fj(c,4,0),e;return((e=$i(b,jt,1))==null?void 0:fj(e,8,0))!==3||d!==2&&d!==1?!0:!1})},jQb=function(a){return a.filter(function(b){var c;return(b=(c=$i(b,jt,1))==null?void 0:c.getFieldType())&&iQb.has(b)?!1:!0})},kQb=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)},lQb=function(a){if(!a.hasSessionState())return"";a=a.getSessionState();return ej(a,3,0)+":"+ej(a,4,0)+":"+ej(a,5,0)+":"+a.getInstanceId()},mQb=function(a){return dk(a,it,2)?us(a).getContext()||0:0},nQb=function(a){var b=new Map;a=l(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=c.getSessionState();d=d?ej(d,3,0)+"-"+ej(d,4,0)+"-"+ej(d,5,0)+"-"+d.getInstanceId():"";b.has(d)?b.get(d).push(c):b.set(d,[c])}return Array.from(b.values())},
xt=function(a,b,c,d){d=d===void 0?!1:d;a=a.filter(function(h){return!Hj(h,4,!1)});if(d){d=l(a);for(var e=d.next();!e.done;e=d.next())pl(e.value,4,!0)}if(c)for(d=a.filter(function(h){return h&&!h.hasSessionState()}),d=l(d),e=d.next();!e.done;e=d.next())e.value.setSessionState(c.clone());a=nQb(a);c=[];a=l(a);for(d=a.next();!d.done;d=a.next())if(d=d.value,e=d.find(function(h){return h&&h.hasSessionState()})){e=e.getSessionState();var f=new wt;f.setSessionState(e);f.setEventType(b);gk(f,3,d);f.setEventSources(e.getSources());
c.push(f)}return c},oQb=function(a){var b;a=a.getMetadata();a.hasCacheState()&&(a=a.getCacheState(),a.hasSource()&&(b=a.getSource()));return b||new yt},pQb=function(a,b){var c={};return zh("a",(c.href=b,c.target="_blank",c.rel="noopener noreferrer nofollow",c),a)},sQb=function(){return Yc(Ir).getEnvironmentType()==="QA"?qQb:rQb},vQb=function(){return Yc(Ir).getEnvironmentType()==="QA"?tQb:uQb},yQb=function(){return Yc(Ir).getEnvironmentType()==="QA"?wQb:xQb},zQb=function(a){var b=0;return function(){return b<
a.length?{done:!1,value:a[b++]}:{done:!0}}},AQb=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},BQb=function(a){a=["object"==typeof globalThis&&globalThis,a,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var b=0;b<a.length;++b){var c=a[b];if(c&&c.Math==Math)return c}throw Error("a");},ea=BQb(this),At=function(a,b){if(b)a:{var c=ea;a=a.split(".");
for(var d=0;d<a.length-1;d++){var e=a[d];if(!(e in c))break a;c=c[e]}a=a[a.length-1];d=c[a];b=b(d);b!=d&&b!=null&&AQb(c,a,{configurable:!0,writable:!0,value:b})}};
At("Symbol",function(a){if(a)return a;var b=function(f,h){this.$jscomp$symbol$id_=f;AQb(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});
At("Symbol.iterator",function(a){if(a)return a;a=Symbol("c");for(var b="Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array".split(" "),c=0;c<b.length;c++){var d=ea[b[c]];typeof d==="function"&&typeof d.prototype[a]!="function"&&AQb(d.prototype,a,{configurable:!0,writable:!0,value:function(){return CQb(zQb(this))}})}return a});At("Symbol.asyncIterator",function(a){return a?a:Symbol("d")});
var CQb=function(a){a={next:a};a[Symbol.iterator]=function(){return this};return a},Bt=function(a){return a.raw=a},DQb=function(a,b){a.raw=b;return a},l=function(a){var b=typeof Symbol!="undefined"&&Symbol.iterator&&a[Symbol.iterator];if(b)return b.call(a);if(typeof a.length=="number")return{next:zQb(a)};throw Error("e`"+String(a));},pk=function(a){for(var b,c=[];!(b=a.next()).done;)c.push(b.value);return c},r=function(a){return a instanceof Array?a:pk(l(a))},Ct=function(a,b){return Object.prototype.hasOwnProperty.call(a,
b)},EQb=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)Ct(d,e)&&(a[e]=d[e])}return a};At("Object.assign",function(a){return a||EQb});
var FQb=typeof Object.create=="function"?Object.create:function(a){var b=function(){};b.prototype=a;return new b},GQb=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=FQb(e.prototype||Object.prototype);return Function.prototype.apply.call(c,
e,d)||e}}(),HQb;if(typeof Object.setPrototypeOf=="function")HQb=Object.setPrototypeOf;else{var IQb;a:{var JQb={a:!0},KQb={};try{KQb.__proto__=JQb;IQb=KQb.a;break a}catch(a){}IQb=!1}HQb=IQb?function(a,b){a.__proto__=b;if(a.__proto__!==b)throw new TypeError("f`"+a);return a}:null}
var Dt=HQb,X=function(a,b){a.prototype=FQb(b.prototype);a.prototype.constructor=a;if(Dt)Dt(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},Et=function(){this.isRunning_=!1;this.yieldAllIterator_=null;this.yieldResult=void 0;this.nextAddress=1;this.finallyAddress_=this.catchAddress_=0;this.finallyContexts_=this.abruptCompletion_=null};
Et.prototype.start_=function(){if(this.isRunning_)throw new TypeError("h");this.isRunning_=!0};Et.prototype.next_=function(a){this.yieldResult=a};Et.prototype.throw_=function(a){this.abruptCompletion_={exception:a,isException:!0};this.nextAddress=this.catchAddress_||this.finallyAddress_};Et.prototype.return=function(a){this.abruptCompletion_={return:a};this.nextAddress=this.finallyAddress_};var he=function(a,b,c){a.nextAddress=c;return{value:b}};Et.prototype.jumpTo=function(a){this.nextAddress=a};
var le=function(a){a.nextAddress=0},ge=function(a,b,c){a.catchAddress_=b;c!=void 0&&(a.finallyAddress_=c)},Ft=function(a,b){a.nextAddress=b;a.catchAddress_=0},ke=function(a){a.catchAddress_=0;var b=a.abruptCompletion_.exception;a.abruptCompletion_=null;return b},ie=function(a,b,c,d){d?a.finallyContexts_[d]=a.abruptCompletion_:a.finallyContexts_=[a.abruptCompletion_];a.catchAddress_=b||0;a.finallyAddress_=c||0},je=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},LQb=function(a){this.context_=new Et;this.program_=a};LQb.prototype.next_=function(a){this.context_.start_();if(this.context_.yieldAllIterator_)return MQb(this,this.context_.yieldAllIterator_.next,a,this.context_.next_);this.context_.next_(a);return Gt(this)};
var NQb=function(a,b){a.context_.start_();var c=a.context_.yieldAllIterator_;if(c)return MQb(a,"return"in c?c["return"]:function(d){return{value:d,done:!0}},b,a.context_.return);a.context_.return(b);return Gt(a)};LQb.prototype.throw_=function(a){this.context_.start_();if(this.context_.yieldAllIterator_)return MQb(this,this.context_.yieldAllIterator_["throw"],a,this.context_.next_);this.context_.throw_(a);return Gt(this)};
var MQb=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),Gt(a)}a.context_.yieldAllIterator_=null;d.call(a.context_,f);return Gt(a)},Gt=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}},OQb=function(a){this.next=function(b){return a.next_(b)};this.throw=function(b){return a.throw_(b)};this.return=function(b){return NQb(a,b)};this[Symbol.iterator]=function(){return this}},oOb=function(a){var b=pOb;a=new OQb(new LQb(a));Dt&&b.prototype&&Dt(a,
b.prototype);return a},PQb=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())})},fe=function(a){return PQb(new OQb(new LQb(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))};a["throw"]!==void 0&&(this["throw"]=function(b){return Promise.resolve(a["throw"](b))});
a["return"]!==void 0&&(this["return"]=function(b){return Promise.resolve(a["return"](b))})},kd=function(){for(var a=Number(this),b=[],c=a;c<arguments.length;c++)b[c-a]=arguments[c];return b};At("Reflect",function(a){return a?a:{}});At("Reflect.construct",function(){return GQb});At("Reflect.setPrototypeOf",function(a){return a?a:Dt?function(b,c){try{return Dt(b,c),!0}catch(d){return!1}}:null});
At("Promise",function(a){function b(){this.batch_=null}function c(h){return h instanceof e?h:new e(function(k){k(h)})}if(a)return a;b.prototype.asyncExecute=function(h){if(this.batch_==null){this.batch_=[];var k=this;this.asyncExecuteFunction(function(){k.executeBatch_()})}this.batch_.push(h)};var d=ea.setTimeout;b.prototype.asyncExecuteFunction=function(h){d(h,0)};b.prototype.executeBatch_=function(){for(;this.batch_&&this.batch_.length;){var h=this.batch_;this.batch_=[];for(var k=0;k<h.length;++k){var q=
h[k];h[k]=null;try{q()}catch(t){this.asyncThrow_(t)}}}this.batch_=null};b.prototype.asyncThrow_=function(h){this.asyncExecuteFunction(function(){throw h;})};var e=function(h){this.state_=0;this.result_=void 0;this.onSettledCallbacks_=[];this.isRejectionHandled_=!1;var k=this.createResolveAndReject_();try{h(k.resolve,k.reject)}catch(q){k.reject(q)}};e.prototype.createResolveAndReject_=function(){function h(t){return function(w){q||(q=!0,t.call(k,w))}}var k=this,q=!1;return{resolve:h(this.resolveTo_),
reject:h(this.reject_)}};e.prototype.resolveTo_=function(h){if(h===this)this.reject_(new TypeError("i"));else if(h instanceof e)this.settleSameAsPromise_(h);else{a:switch(typeof h){case "object":var k=h!=null;break a;case "function":k=!0;break a;default:k=!1}k?this.resolveToNonPromiseObj_(h):this.fulfill_(h)}};e.prototype.resolveToNonPromiseObj_=function(h){var k=void 0;try{k=h.then}catch(q){this.reject_(q);return}typeof k=="function"?this.settleSameAsThenable_(k,h):this.fulfill_(h)};e.prototype.reject_=
function(h){this.settle_(2,h)};e.prototype.fulfill_=function(h){this.settle_(1,h)};e.prototype.settle_=function(h,k){if(this.state_!=0)throw Error("j`"+h+"`"+k+"`"+this.state_);this.state_=h;this.result_=k;this.state_===2&&this.scheduleUnhandledRejectionCheck_();this.executeOnSettledCallbacks_()};e.prototype.scheduleUnhandledRejectionCheck_=function(){var h=this;d(function(){if(h.notifyUnhandledRejection_()){var k=ea.console;typeof k!=="undefined"&&k.error(h.result_)}},1)};e.prototype.notifyUnhandledRejection_=
function(){if(this.isRejectionHandled_)return!1;var h=ea.CustomEvent,k=ea.Event,q=ea.dispatchEvent;if(typeof q==="undefined")return!0;typeof h==="function"?h=new h("unhandledrejection",{cancelable:!0}):typeof k==="function"?h=new k("unhandledrejection",{cancelable:!0}):(h=ea.document.createEvent("CustomEvent"),h.initCustomEvent("unhandledrejection",!1,!0,h));h.promise=this;h.reason=this.result_;return q(h)};e.prototype.executeOnSettledCallbacks_=function(){if(this.onSettledCallbacks_!=null){for(var h=
0;h<this.onSettledCallbacks_.length;++h)f.asyncExecute(this.onSettledCallbacks_[h]);this.onSettledCallbacks_=null}};var f=new b;e.prototype.settleSameAsPromise_=function(h){var k=this.createResolveAndReject_();h.callWhenSettled_(k.resolve,k.reject)};e.prototype.settleSameAsThenable_=function(h,k){var q=this.createResolveAndReject_();try{h.call(k,q.resolve,q.reject)}catch(t){q.reject(t)}};e.prototype.then=function(h,k){function q(E,I){return typeof E=="function"?function(J){try{t(E(J))}catch(N){w(N)}}:
I}var t,w,B=new e(function(E,I){t=E;w=I});this.callWhenSettled_(q(h,t),q(k,w));return B};e.prototype.catch=function(h){return this.then(void 0,h)};e.prototype.callWhenSettled_=function(h,k){function q(){switch(t.state_){case 1:h(t.result_);break;case 2:k(t.result_);break;default:throw Error("k`"+t.state_);}}var t=this;this.onSettledCallbacks_==null?f.asyncExecute(q):this.onSettledCallbacks_.push(q);this.isRejectionHandled_=!0};e.resolve=c;e.reject=function(h){return new e(function(k,q){q(h)})};e.race=
function(h){return new e(function(k,q){for(var t=l(h),w=t.next();!w.done;w=t.next())c(w.value).callWhenSettled_(k,q)})};e.all=function(h){var k=l(h),q=k.next();return q.done?c([]):new e(function(t,w){function B(J){return function(N){E[J]=N;I--;I==0&&t(E)}}var E=[],I=0;do E.push(void 0),I++,c(q.value).callWhenSettled_(B(E.length-1),w),q=k.next();while(!q.done)})};return e});var Ht=function(a,b,c){if(a==null)throw new TypeError("l`"+c);if(b instanceof RegExp)throw new TypeError("m`"+c);return a+""};
At("String.prototype.startsWith",function(a){return a?a:function(b,c){var d=Ht(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}});At("Object.setPrototypeOf",function(a){return a||Dt});
At("WeakMap",function(a){function b(){}function c(q){var t=typeof q;return t==="object"&&q!==null||t==="function"}function d(q){if(!Ct(q,f)){var t=new b;AQb(q,f,{value:t})}}function e(q){var t=Object[q];t&&(Object[q]=function(w){if(w instanceof b)return w;Object.isExtensible(w)&&d(w);return t(w)})}if(function(){if(!a||!Object.seal)return!1;try{var q=Object.seal({}),t=Object.seal({}),w=new a([[q,2],[t,3]]);if(w.get(q)!=2||w.get(t)!=3)return!1;w.delete(q);w.set(t,4);return!w.has(q)&&w.get(t)==4}catch(B){return!1}}())return a;
var f="$jscomp_hidden_"+Math.random();e("freeze");e("preventExtensions");e("seal");var h=0,k=function(q){this.id_=(h+=Math.random()+1).toString();if(q){q=l(q);for(var t;!(t=q.next()).done;)t=t.value,this.set(t[0],t[1])}};k.prototype.set=function(q,t){if(!c(q))throw Error("n");d(q);if(!Ct(q,f))throw Error("o`"+q);q[f][this.id_]=t;return this};k.prototype.get=function(q){return c(q)&&Ct(q,f)?q[f][this.id_]:void 0};k.prototype.has=function(q){return c(q)&&Ct(q,f)&&Ct(q[f],this.id_)};k.prototype.delete=
function(q){return c(q)&&Ct(q,f)&&Ct(q[f],this.id_)?delete q[f][this.id_]:!1};return k});
At("Map",function(a){if(function(){if(!a||typeof a!="function"||!a.prototype.entries||typeof Object.seal!="function")return!1;try{var k=Object.seal({x:4}),q=new a(l([[k,"s"]]));if(q.get(k)!="s"||q.size!=1||q.get({x:4})||q.set({x:4},"t")!=q||q.size!=2)return!1;var t=q.entries(),w=t.next();if(w.done||w.value[0]!=k||w.value[1]!="s")return!1;w=t.next();return w.done||w.value[0].x!=4||w.value[1]!="t"||!t.next().done?!1:!0}catch(B){return!1}}())return a;var b=new WeakMap,c=function(k){this[0]={};this[1]=
f();this.size=0;if(k){k=l(k);for(var q;!(q=k.next()).done;)q=q.value,this.set(q[0],q[1])}};c.prototype.set=function(k,q){k=k===0?0:k;var t=d(this,k);t.list||(t.list=this[0][t.id]=[]);t.entry?t.entry.value=q:(t.entry={next:this[1],previous:this[1].previous,head:this[1],key:k,value:q},t.list.push(t.entry),this[1].previous.next=t.entry,this[1].previous=t.entry,this.size++);return this};c.prototype.delete=function(k){k=d(this,k);return k.entry&&k.list?(k.list.splice(k.index,1),k.list.length||delete this[0][k.id],
k.entry.previous.next=k.entry.next,k.entry.next.previous=k.entry.previous,k.entry.head=null,this.size--,!0):!1};c.prototype.clear=function(){this[0]={};this[1]=this[1].previous=f();this.size=0};c.prototype.has=function(k){return!!d(this,k).entry};c.prototype.get=function(k){return(k=d(this,k).entry)&&k.value};c.prototype.entries=function(){return e(this,function(k){return[k.key,k.value]})};c.prototype.keys=function(){return e(this,function(k){return k.key})};c.prototype.values=function(){return e(this,
function(k){return k.value})};c.prototype.forEach=function(k,q){for(var t=this.entries(),w;!(w=t.next()).done;)w=w.value,k.call(q,w[1],w[0],this)};c.prototype[Symbol.iterator]=c.prototype.entries;var d=function(k,q){var t=q&&typeof q;t=="object"||t=="function"?b.has(q)?t=b.get(q):(t=""+ ++h,b.set(q,t)):t="p_"+q;var w=k[0][t];if(w&&Ct(k[0],t))for(k=0;k<w.length;k++){var B=w[k];if(q!==q&&B.key!==B.key||q===B.key)return{id:t,list:w,index:k,entry:B}}return{id:t,list:w,index:-1,entry:void 0}},e=function(k,
q){var t=k[1];return CQb(function(){if(t){for(;t.head!=k[1];)t=t.previous;for(;t.next!=t.head;)return t=t.next,{done:!1,value:q(t)};t=null}return{done:!0,value:void 0}})},f=function(){var k={};return k.previous=k.next=k.head=k},h=0;return c});
At("Set",function(a){if(function(){if(!a||typeof a!="function"||!a.prototype.entries||typeof Object.seal!="function")return!1;try{var c=Object.seal({x:4}),d=new a(l([c]));if(!d.has(c)||d.size!=1||d.add(c)!=d||d.size!=1||d.add({x:4})!=d||d.size!=2)return!1;var e=d.entries(),f=e.next();if(f.done||f.value[0]!=c||f.value[1]!=c)return!1;f=e.next();return f.done||f.value[0]==c||f.value[0].x!=4||f.value[1]!=f.value[0]?!1:e.next().done}catch(h){return!1}}())return a;var b=function(c){this.map_=new Map;if(c){c=
l(c);for(var d;!(d=c.next()).done;)this.add(d.value)}this.size=this.map_.size};b.prototype.add=function(c){c=c===0?0:c;this.map_.set(c,c);this.size=this.map_.size;return this};b.prototype.delete=function(c){c=this.map_.delete(c);this.size=this.map_.size;return c};b.prototype.clear=function(){this.map_.clear();this.size=0};b.prototype.has=function(c){return this.map_.has(c)};b.prototype.entries=function(){return this.map_.entries()};b.prototype.values=function(){return this.map_.values()};b.prototype.keys=
b.prototype.values;b.prototype[Symbol.iterator]=b.prototype.values;b.prototype.forEach=function(c,d){var e=this;this.map_.forEach(function(f){return c.call(d,f,f,e)})};return b});At("Array.from",function(a){return a?a:function(b,c,d){c=c!=null?c:function(k){return k};var e=[],f=typeof Symbol!="undefined"&&Symbol.iterator&&b[Symbol.iterator];if(typeof f=="function"){b=f.call(b);for(var h=0;!(f=b.next()).done;)e.push(c.call(d,f.value,h++))}else for(f=b.length,h=0;h<f;h++)e.push(c.call(d,b[h],h));return e}});
At("Object.entries",function(a){return a?a:function(b){var c=[],d;for(d in b)Ct(b,d)&&c.push([d,b[d]]);return c}});At("Number.isFinite",function(a){return a?a:function(b){return typeof b!=="number"?!1:!isNaN(b)&&b!==Infinity&&b!==-Infinity}});At("Number.MAX_SAFE_INTEGER",function(){return 9007199254740991});At("Number.isInteger",function(a){return a?a:function(b){return Number.isFinite(b)?b===Math.floor(b):!1}});
At("Number.isSafeInteger",function(a){return a?a:function(b){return Number.isInteger(b)&&Math.abs(b)<=Number.MAX_SAFE_INTEGER}});At("String.prototype.endsWith",function(a){return a?a:function(b,c){var d=Ht(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}});At("Object.is",function(a){return a?a:function(b,c){return b===c?b!==0||1/b===1/c:b!==b&&c!==c}});
At("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}});At("String.prototype.includes",function(a){return a?a:function(b,c){return Ht(this,b,"includes").indexOf(b,c||0)!==-1}});
var QQb=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};At("Array.prototype.entries",function(a){return a?a:function(){return QQb(this,function(b,c){return[b,c]})}});At("Array.prototype.keys",function(a){return a?a:function(){return QQb(this,function(b){return b})}});At("globalThis",function(a){return a||ea});
At("Object.getOwnPropertySymbols",function(a){return a?a:function(){return[]}});var RQb=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}};At("Array.prototype.find",function(a){return a?a:function(b,c){return RQb(this,b,c).v}});At("Object.values",function(a){return a?a:function(b){var c=[],d;for(d in b)Ct(b,d)&&c.push(b[d]);return c}});
At("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}});At("Array.prototype.values",function(a){return a?a:function(){return QQb(this,function(b,c){return c})}});At("Number.isNaN",function(a){return a?a:function(b){return typeof b==="number"&&isNaN(b)}});
At("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 It=function(a){return a?a:Array.prototype.fill};At("Int8Array.prototype.fill",It);At("Uint8Array.prototype.fill",It);At("Uint8ClampedArray.prototype.fill",It);At("Int16Array.prototype.fill",It);At("Uint16Array.prototype.fill",It);At("Int32Array.prototype.fill",It);
At("Uint32Array.prototype.fill",It);At("Float32Array.prototype.fill",It);At("Float64Array.prototype.fill",It);At("String.prototype.repeat",function(a){return a?a:function(b){var c=Ht(this,null,"repeat");if(b<0||b>1342177279)throw new RangeError("p");b|=0;for(var d="";b;)if(b&1&&(d+=c),b>>>=1)c+=c;return d}});At("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}});
At("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}});At("Array.prototype.findIndex",function(a){return a?a:function(b,c){return RQb(this,b,c).i}});
At("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}});
At("String.prototype.matchAll",function(a){return a?a:function(b){if(b instanceof RegExp&&!b.global)throw new TypeError("q");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}});
At("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 SQb=function(a){a=Math.trunc(a)||0;a<0&&(a+=this.length);if(!(a<0||a>=this.length))return this[a]};At("Array.prototype.at",function(a){return a?a:SQb});var Jt=function(a){return a?a:SQb};At("Int8Array.prototype.at",Jt);At("Uint8Array.prototype.at",Jt);
At("Uint8ClampedArray.prototype.at",Jt);At("Int16Array.prototype.at",Jt);At("Uint16Array.prototype.at",Jt);At("Int32Array.prototype.at",Jt);At("Uint32Array.prototype.at",Jt);At("Float32Array.prototype.at",Jt);At("Float64Array.prototype.at",Jt);At("String.prototype.at",function(a){return a?a:SQb});
At("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;})})}});At("Reflect.isExtensible",function(a){return a?a:typeof Object.isExtensible=="function"?Object.isExtensible:function(){return!0}});At("Reflect.getOwnPropertyDescriptor",function(a){return a||Object.getOwnPropertyDescriptor});At("Reflect.getPrototypeOf",function(a){return a||Object.getPrototypeOf});
var TQb=function(a,b){for(;a;){var c=Reflect.getOwnPropertyDescriptor(a,b);if(c)return c;a=Reflect.getPrototypeOf(a)}};At("Reflect.set",function(a){return a?a:function(b,c,d,e){var f=TQb(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}});At("Reflect.get",function(a){return a?a:function(b,c,d){if(arguments.length<=2)return b[c];var e=TQb(b,c);if(e)return e.get?e.get.call(d):e.value}});
At("String.prototype.padEnd",function(a){return a?a:function(b,c){var d=Ht(this,null,"padStart");b-=d.length;c=c!==void 0?String(c):" ";c=b>0&&c?c.repeat(Math.ceil(b/c.length)).substring(0,b):"";return d+c}});At("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}});
At("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)}});
At("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("u`"+e);e<=65535?c+=String.fromCharCode(e):(e-=65536,c+=String.fromCharCode(e>>>10&1023|55296),c+=String.fromCharCode(e&1023|56320))}return c}});
At("String.prototype.codePointAt",function(a){return a?a:function(b){var c=Ht(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}}});At("Array.of",function(a){return a?a:function(b){return Array.from(arguments)}});var UQb=UQb||{},Aa=this||self,VQb=function(a){var b=So("WIZ_global_data.oxN3nb");a=b&&b[a];return a!=null?a:!1},WQb=Aa._F_toggles||[],So=function(a,b){a=a.split(".");b=b||Aa;for(var c=0;c<a.length;c++)if(b=b[a[c]],b==null)return null;return b},Db=function(a){var b=typeof a;return b!="object"?b:a?Array.isArray(a)?"array":b:"null"},Za=function(a){var b=Db(a);return b=="array"||b=="object"&&typeof a.length=="number"},$a=function(a){var b=typeof a;return b=="object"&&a!=null||b=="function"},ab=function(a){return Object.prototype.hasOwnProperty.call(a,
XQb)&&a[XQb]||(a[XQb]=++YQb)},XQb="closure_uid_"+(Math.random()*1E9>>>0),YQb=0,ZQb=function(a,b,c){return a.call.apply(a.bind,arguments)},$Qb=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)}},Kt=function(a,b,c){Kt=Function.prototype.bind&&Function.prototype.bind.toString().indexOf("native code")!=
-1?ZQb:$Qb;return Kt.apply(null,arguments)},Lt=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)}},aRb=function(a){(0,eval)(a)},bRb=function(a,b){a=a.split(".");var c=Aa;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},Mt=function(a,b){function c(){}c.prototype=b.prototype;
a.superClass_=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.base=function(d,e,f){for(var h=Array(arguments.length-2),k=2;k<arguments.length;k++)h[k-2]=arguments[k];return b.prototype[e].apply(d,h)}},cRb=function(a){return a};var Qma=aa(function(a){return typeof a==="number"}),cna=aa(function(a){return typeof a==="string"}),Rma=aa(function(a){return typeof a==="boolean"}),Xnb=aa(function(a){return!!a&&(typeof a==="object"||typeof a==="function")}),baa=aa(function(a){return Array.isArray(a)});var ca=globalThis;var fa=Object.getOwnPropertyDescriptor,maa=Object.defineProperty,paa=Object.getPrototypeOf,Faa=Object.create,Gaa=Array.prototype.slice,$aa=da("addEventListener"),aba=da("removeEventListener"),ra=da(""),dRb=typeof window!=="undefined",pa=dRb?window:void 0,ja=dRb&&pa||globalThis,eRb=typeof WorkerGlobalScope!=="undefined"&&self instanceof WorkerGlobalScope,yaa=!("nw"in ja)&&typeof ja.process!=="undefined"&&ja.process.toString()==="[object process]",Haa=!yaa&&!eRb&&!(!dRb||!pa.HTMLElement),Iaa=typeof ja.process!==
"undefined"&&ja.process.toString()==="[object process]"&&!eRb&&!(!dRb||!pa.HTMLElement),kaa={},laa=function(a){if(a=a||ja.event){var b=kaa[a.type];b||(b=kaa[a.type]=da("ON_PROPERTY"+a.type));var c=this||a.target||ja;b=c[b];Haa&&c===pa&&a.type==="error"?(c=a,c=b&&b.call(this,c.message,c.filename,c.lineno,c.colno,c.error),c===!0&&a.preventDefault()):(c=b&&b.apply(this,arguments),c==void 0||c||a.preventDefault());return c}},ka=da("originalInstance"),raa=!1,saa=!1;var ta=!1;if(typeof window!=="undefined")try{var fRb=Object.defineProperty({},"passive",{get:function(){ta=!0}});window.addEventListener("test",fRb,fRb);window.removeEventListener("test",fRb,fRb)}catch(a){ta=!1}var Aaa={useG:!0},sa={},zaa={},Caa=new RegExp("^"+ra+"(\\w+)(true|false)$"),xaa=da("propagationStopped");var Kaa,Laa,Maa,Naa,wa;var Vaa=[].concat(r("abort animationcancel animationend animationiteration auxclick beforeinput blur cancel canplay canplaythrough change compositionstart compositionupdate compositionend cuechange click close contextmenu curechange dblclick drag dragend dragenter dragexit dragleave dragover drop durationchange emptied ended error focus focusin focusout gotpointercapture input invalid keydown keypress keyup load loadstart loadeddata loadedmetadata lostpointercapture mousedown mouseenter mouseleave mousemove mouseout mouseover mouseup mousewheel orientationchange pause play playing pointercancel pointerdown pointerenter pointerleave pointerlockchange mozpointerlockchange webkitpointerlockerchange pointerlockerror mozpointerlockerror webkitpointerlockerror pointermove pointout pointerover pointerup progress ratechange reset resize scroll seeked seeking select selectionchange selectstart show sort stalled submit suspend timeupdate volumechange touchcancel touchmove touchstart touchend transitioncancel transitionend waiting wheel".split(" ")),
r(["webglcontextrestored","webglcontextlost","webglcontextcreationerror"]),r(["autocomplete","autocompleteerror"]),r(["toggle"]),r("afterscriptexecute beforescriptexecute DOMContentLoaded freeze fullscreenchange mozfullscreenchange webkitfullscreenchange msfullscreenchange fullscreenerror mozfullscreenerror webkitfullscreenerror msfullscreenerror readystatechange visibilitychange resume".split(" ")),r("absolutedeviceorientation afterinput afterprint appinstalled beforeinstallprompt beforeprint beforeunload devicelight devicemotion deviceorientation deviceorientationabsolute deviceproximity hashchange languagechange message mozbeforepaint offline online paint pageshow pagehide popstate rejectionhandled storage unhandledrejection unload userproximity vrdisplayconnected vrdisplaydisconnected vrdisplaypresentchange".split(" ")),
r("beforecopy beforecut beforepaste copy cut paste dragstart loadend animationstart search transitionrun transitionstart webkitanimationend webkitanimationiteration webkitanimationstart webkittransitionend".split(" ")),r("activate afterupdate ariarequest beforeactivate beforedeactivate beforeeditfocus beforeupdate cellchange controlselect dataavailable datasetchanged datasetcomplete errorupdate filterchange layoutcomplete losecapture move moveend movestart propertychange resizeend resizestart rowenter rowexit rowsdelete rowsinserted command compassneedscalibration deactivate help mscontentzoom msmanipulationstatechanged msgesturechange msgesturedoubletap msgestureend msgesturehold msgesturestart msgesturetap msgotpointercapture msinertiastart mslostpointercapture mspointercancel mspointerdown mspointerenter mspointerhover mspointerleave mspointermove mspointerout mspointerover mspointerup pointerout mssitemodejumplistitemremoved msthumbnailclick stop storagecommit".split(" ")));var Zaa=da("zoneTask");Mt(za,Error);za.prototype.name="CustomError";var gRb;Mt(dba,za);dba.prototype.name="AssertionError";var eba=function(a,b){a.__closure__error__context__984382||(a.__closure__error__context__984382={});a.__closure__error__context__984382.severity=b};var hRb;var kba=void 0,iba,jba,iRb=typeof TextDecoder!=="undefined",oba,nba=typeof String.prototype.isWellFormed==="function",mba=typeof TextEncoder!=="undefined";var Nt=function(a,b){var c=a.length-b.length;return c>=0&&a.indexOf(b,c)==c},fMa=function(a){return fr("@ldap.google.com",a.slice(a.length-16))==0},Hp=function(a){return/^[\s\xa0]*$/.test(a)},zi=String.prototype.trim?function(a){return a.trim()}:function(a){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(a)[1]},fr=function(a,b){a=String(a).toLowerCase();b=String(b).toLowerCase();return a<b?-1:a==b?0:1},qRb=function(a){if(!jRb.test(a))return a;a.indexOf("&")!=-1&&(a=a.replace(kRb,"&amp;"));a.indexOf("<")!=
-1&&(a=a.replace(lRb,"&lt;"));a.indexOf(">")!=-1&&(a=a.replace(mRb,"&gt;"));a.indexOf('"')!=-1&&(a=a.replace(nRb,"&quot;"));a.indexOf("'")!=-1&&(a=a.replace(oRb,"&#39;"));a.indexOf("\x00")!=-1&&(a=a.replace(pRb,"&#0;"));return a},kRb=/&/g,lRb=/</g,mRb=/>/g,nRb=/"/g,oRb=/'/g,pRb=/\x00/g,jRb=/[\x00&<>"']/,Ha=function(a,b){return a.indexOf(b)!=-1},sRb=function(a,b){var c=0;a=zi(String(a)).split(".");b=zi(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=rRb(f[1].length==0?0:parseInt(f[1],10),h[1].length==0?0:parseInt(h[1],10))||rRb(f[2].length==0,h[2].length==0)||rRb(f[2],h[2]);f=f[3];h=h[3]}while(c==0)}return c},rRb=function(a,b){return a<b?-1:a>b?1:0};var tRb=!!(WQb[0]&512),uRb=!!(WQb[0]&1024),vRb=!!(WQb[0]&8);var Fa=tRb?uRb:VQb(610401301),nca=tRb?vRb:VQb(188588736);var Ga,wRb=Aa.navigator;Ga=wRb?wRb.userAgentData||null:null;var Eba=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},Sa=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)},xRb=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,k=0;k<d;k++)if(k in h){var q=h[k];b.call(c,q,k,a)&&(e[f++]=q)}return e},yRb=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},zRb=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 ARb=function(a){ARb[" "](a);return a};ARb[" "]=function(){};var BRb=function(a,b){try{return ARb(a[b]),!0}catch(c){}return!1};var CRb=rba(),ls=sba(),DRb=Ia("Edge"),Ot=Ia("Gecko")&&!(Ha(Ea().toLowerCase(),"webkit")&&!Ia("Edge"))&&!(Ia("Trident")||Ia("MSIE"))&&!Ia("Edge"),Pt=Ha(Ea().toLowerCase(),"webkit")&&!Ia("Edge"),ERb=Pt&&Ia("Mobile"),Zr=Bba(),FRb=La()?Ga.platform==="Windows":Ia("Windows"),GRb=(La()?Ga.platform==="Linux":Ia("Linux"))||(La()?Ga.platform==="Chrome OS":Ia("CrOS")),HRb=zba(),IRb=Aba(),JRb=Ia("iPad"),KRb=Ia("iPod"),LRb=Ma();Ha(Ea().toLowerCase(),"kaios");var MRb;
a:{var NRb="",ORb=function(){var a=Ea();if(Ot)return/rv:([^\);]+)(\)|;)/.exec(a);if(DRb)return/Edge\/([\d\.]+)/.exec(a);if(ls)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(Pt)return/WebKit\/(\S+)/.exec(a);if(CRb)return/(?:Version)[ \/]?(\S+)/.exec(a)}();ORb&&(NRb=ORb?ORb[1]:"");if(ls){var PRb,QRb=Aa.document;PRb=QRb?QRb.documentMode:void 0;if(PRb!=null&&PRb>parseFloat(NRb)){MRb=String(PRb);break a}}MRb=NRb}var RRb=MRb;var SRb=tba(),TRb=Aba()||Ia("iPod"),URb=Ia("iPad"),VRb=wba(),WRb=uba(),XRb=vba()&&!Ma();var YRb={},Qt=null,ZRb=Ot||Pt||!XRb&&typeof Aa.atob=="function",Qba=function(a,b){b===void 0&&(b=0);$Rb();b=YRb[b];for(var c=Array(Math.floor(a.length/3)),d=b[64]||"",e=0,f=0;e<a.length-2;e+=3){var h=a[e],k=a[e+1],q=a[e+2],t=b[h>>2];h=b[(h&3)<<4|k>>4];k=b[(k&15)<<2|q>>6];q=b[q&63];c[f++]=t+h+k+q}t=0;q=d;switch(a.length-e){case 2:t=a[e+1],q=b[(t&15)<<2]||d;case 1:a=a[e],c[f]=b[a>>2]+b[(a&3)<<4|t>>4]+q+d}return c.join("")},pPb=function(a){if(ZRb)return Aa.atob(a);var b="";aSb(a,function(c){b+=String.fromCharCode(c)});
return b},bSb=function(a){var b=[];aSb(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):Ha("=.",a[b-1])&&(c=Ha("=.",a[b-2])?c-2:c-1);var d=new Uint8Array(c),e=0;aSb(a,function(f){d[e++]=f});return e!==c?d.subarray(0,e):d},aSb=function(a,b){function c(q){for(;d<a.length;){var t=a.charAt(d++),w=Qt[t];if(w!=null)return w;if(!Hp(t))throw Error("M`"+t);}return q}$Rb();for(var d=0;;){var e=c(-1),f=c(0),h=c(64),k=c(64);if(k===64&&e===-1)break;b(e<<2|f>>4);h!=
64&&(b(f<<4&240|h>>2),k!=64&&b(h<<6&192|k))}},$Rb=function(){if(!Qt){Qt={};for(var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),b=["+/=","+/","-_=","-_.","-_"],c=0;c<5;c++){var d=a.concat(b[c].split(""));YRb[c]=d;for(var e=0;e<d.length;e++){var f=d[e];Qt[f]===void 0&&(Qt[f]=e)}}}};var Xba=typeof Uint8Array!=="undefined",Pba=!ls&&typeof btoa==="function",Vba=/[-_.]/g,Sba={"-":"+",_:"/",".":"="},Yba,mb={};var cSb,lb=function(a,b){if(b!==mb)throw Error("N");this.value_=a;if(a!=null&&a.length===0)throw Error("O");},kb=function(){return cSb||(cSb=new lb(null,mb))},zda=function(a){var b=a.value_;return b==null?"":typeof b==="string"?b:a.value_=Rba(b)},J8a=function(a){return(a=Ch(a))?new Uint8Array(a):Zba()};lb.prototype.isEmpty=function(){return this.value_==null};lb.prototype.sizeBytes=function(){var a=Ch(this);return a?a.length:0};
var yua=function(a){var b={};b=b.parsingErrorsAreFatal===void 0?!0:b.parsingErrorsAreFatal;if(a=Ch(a)){var c=a.length;b=iRb?lba(a,0,c,b):hba(a,0,c,b)}else b="";return b},dSb=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=
Ch(a);b=Ch(b);return $ba(c,b)},Ch=function(a){if(mb!==mb)throw Error("N");var b=a.value_;b==null||bb(b)||(typeof b==="string"?b=Wba(b):(Db(b),b=null));return b==null?b:a.value_=b},pda=function(a,b){if(typeof b==="string")b=b?new lb(b,mb):kb();else if(b instanceof Uint8Array)b=new lb(b,mb);else if(!(b instanceof lb))return!1;return dSb(a,b)};var Rt=bca(),Tca=bca("0di"),eSb=bca("2ex"),Ida=bca("0dg");var cca=Rt?function(a,b){a[Rt]|=b}:function(a,b){a.internalArrayState!==void 0?a.internalArrayState|=b:Object.defineProperties(a,{internalArrayState:{value:b,configurable:!0,writable:!0,enumerable:!1}})},gc=Rt?function(a,b){a[Rt]&=~b}:function(a,b){a.internalArrayState!==void 0&&(a.internalArrayState&=~b)},eb=Rt?function(a){return a[Rt]|0}:function(a){return a.internalArrayState|0},Yb=Rt?function(a){return a[Rt]}:function(a){return a.internalArrayState},ib=Rt?function(a,b){a[Rt]=b;return a}:function(a,
b){a.internalArrayState!==void 0?a.internalArrayState=b:Object.defineProperties(a,{internalArrayState:{value:b,configurable:!0,writable:!0,enumerable:!1}});return a};var ica={},jca={},fSb,mda,gSb=[];ib(gSb,55);mda=Object.freeze(gSb);var St=function(a,b,c){this.idx_=0;this.arr_=a;this.mapper=b;this.thisArg=c};St.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}};St.prototype[Symbol.iterator]=function(){return new St(this.arr_,this.mapper,this.thisArg)};var tb,qca,Wb=0,hSb=function(){},Pi=Object.freeze(new function(){});Object.freeze(new hSb);
var Pda=Object.freeze(new hSb);var iSb=typeof Uint8Array.prototype.slice==="function",vb=0,yb=0;var Aca=/^-?([1-9][0-9]*|0)(\.[0-9]+)?$/;var hda={},jSb=function(){try{var a=function(){return GQb(Map,[],this.constructor)};X(a,Map);ARb(new a);return!1}catch(b){return!0}}(),Tt=function(){this.map_=new Map};g=Tt.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)};Tt.prototype[Symbol.iterator]=function(){return this.entries()};
var Ut=function(){if(jSb)return Object.setPrototypeOf(Tt.prototype,Map.prototype),Object.defineProperties(Tt.prototype,{size:{value:0,configurable:!0,enumerable:!0,writable:!0}}),Tt;var a=function(){return GQb(Map,[],this.constructor)};X(a,Map);return a}(),Ub=function(a,b,c,d){c=c===void 0?Xca:c;d=d===void 0?Xca:d;var e=Ut.call(this)||this;var f=eb(a);f|=64;ib(a,f);e.arrayState=f;e.valueCtor=b;e.keyToApi=c;e.valueToApi=e.valueCtor?Yca:d;for(var h=0;h<a.length;h++){var k=a[h],q=c(k[0],!1,!0),t=k[1];
b?t===void 0&&(t=null):t=d(k[1],!1,!0,void 0,void 0,f);Ut.prototype.set.call(e,q,t)}return e};X(Ub,Ut);var kSb=function(a){if(a.arrayState&2)throw Error("R");},Ada=function(a,b){b=b===void 0?Zca:b;if(a.size!==0)return Hda(a,b)},Hda=function(a,b){b=b===void 0?Zca:b;var c=[];a=Ut.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=Ub.prototype;g.clear=function(){kSb(this);Ut.prototype.clear.call(this)};
g.delete=function(a){kSb(this);return Ut.prototype.delete.call(this,this.keyToApi(a,!0,!1))};g.entries=function(){var a=Array.from(Ut.prototype.keys.call(this));return new St(a,fda,this)};g.keys=function(){return Ut.prototype.keys.call(this)};g.values=function(){var a=Array.from(Ut.prototype.keys.call(this));return new St(a,Ub.prototype.get,this)};g.forEach=function(a,b){var c=this;Ut.prototype.forEach.call(this,function(d,e){a.call(b,c.get(e),e,c)})};
g.set=function(a,b){kSb(this);a=this.keyToApi(a,!0,!1);return a==null?this:b==null?(Ut.prototype.delete.call(this,a),this):Ut.prototype.set.call(this,a,this.valueToApi(b,!0,!0,this.valueCtor,!1,this.arrayState))};g.has=function(a){return Ut.prototype.has.call(this,this.keyToApi(a,!1,!1))};
g.get=function(a){a=this.keyToApi(a,!1,!1);var b=Ut.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&&Ut.prototype.set.call(this,a,c),c):b}};var oda=function(a,b,c){return b instanceof Ub?bda(a,b,c):dda(a,b,c)};Ub.prototype[Symbol.iterator]=function(){return this.entries()};Ub.prototype.toJSON=void 0;Ub.prototype.mapPrototypeMarker=jca;var gda;var Vb=void 0;var tda,uda,vda;var Vt=function(a,b){a=a.internalArray_;return bc(a,Yb(a),b)},bc=function(a,b,c,d){if(c===-1)return null;var e=gca(b);if(c>=e){if(b&256)return a[a.length-1][c]}else{var f=a.length;if(d&&b&256&&(d=a[f-1][c],d!=null)){if(Kda(a,b,e,c)&&eSb!=null){var h;a=(h=hRb)!=null?h:hRb={};h=a[eSb]||0;h>=4||(a[eSb]=h+1,fba())}return d}return Kda(a,b,e,c)}},oo=function(a,b,c,d){var e=a.internalArray_,f=Yb(e);rb(f);$b(e,f,b,c,d);return a},dk=function(a,b,c,d){return Rda(a,b,c,d===void 0?!1:d)!==void 0},Qj=function(a,
b,c,d){return Rda(a,b,Ti(a,d,c))!==void 0},lSb=function(a,b){a=a.internalArray_;return Sda(a,Yb(a),Wt,b,3,!1,!0).length},Xt=function(a,b,c,d,e){Tda(a,b,c,e,d,!1,1);return a},Pq=function(a,b){a=a.internalArray_;var c=Yb(a),d=bc(a,c,b),e=xca(d);e!=null&&e!==d&&$b(a,c,b,e);return e},Qq=function(a,b){a=a.internalArray_;var c=Yb(a),d=bc(a,c,b),e=pb(d,!0,!0,!!(c&34));e!=null&&e!==d&&$b(a,c,b,e);return e},yj=function(a,b){return b&&a!==Pi?4:2},no=function(a,b){a=Qq(a,b);return a==null?kb():a},wj=function(a,
b,c,d){var e=a.internalArray_,f=Yb(e);rb(f);(c=Qda(e,f,c))&&c!==b&&d!=null&&(f=$b(e,f,c));$b(e,f,b,d);return a},Ti=function(a,b,c){a=a.internalArray_;return Qda(a,Yb(a),b)===c?c:-1},Ri=function(a,b){a=a.internalArray_;return Qda(a,Yb(a),b)},Yt=function(a,b,c){a=a.internalArray_;var d=Yb(a);rb(d);var e=bc(a,d,c);b=Tb(Pb(e,b,!0,d));e!==b&&$b(a,d,c,b);return b},mSb=function(a,b,c,d){var e=Yb(a);rb(e);var f=bc(a,e,c,d),h;if(f!=null&&nb(f))return b=Tb(f),b!==f&&$b(a,e,c,b,d),b.internalArray_;if(Array.isArray(f)){var k=
eb(f);k&2?h=Zb(f,k,!1):h=f;h=m(h,b[0],b[1])}else h=m(void 0,b[0],b[1]);h!==f&&$b(a,e,c,h,d);return h},Co=function(a,b,c){return(a=Rda(a,b,c,!1))?a:Sca(b)},$i=function(a,b,c,d){d=d===void 0?!1:d;b=Rda(a,b,c,d);if(b==null)return b;a=a.internalArray_;var e=Yb(a);if(!(e&2)){var f=Tb(b);f!==b&&(b=f,$b(a,e,c,b,d))}return b},xj=function(a,b,c,d){a=a.internalArray_;var e=Yb(a);return Sda(a,e,b,c,d,void 0,!1,!(2&e))},oj=function(a,b,c,d,e){d==null&&(d=void 0);return oo(a,c,d,e)},Gj=function(a,b,c,d){d==null&&
(d=void 0);return wj(a,b,c,d)},gk=function(a,b,c){var d=a.internalArray_,e=Yb(d);rb(e);if(c==null)return $b(d,e,b),a;for(var f=eb(c),h=f,k=!!(2&f)||!!(2048&f),q=k||Object.isFrozen(c),t=!q&&(void 0===Pda||!1),w=!0,B=!0,E=0;E<c.length;E++){var I=c[E];k||(I=fb(I.internalArray_),w&&(w=!I),B&&(B=I))}k||(f=db(f,5,!0),f=db(f,8,w),f=db(f,16,B));if(t||q&&f!==h)c=cb(c),h=0,f=cc(f,e),f=ec(f,e,!0);f!==h&&ib(c,f);$b(d,e,b,c);return a},Mq=function(a,b,c,d,e){Tda(a,b,c,d,e);return a},Zt=function(a,b,c,d){a=a.internalArray_;
var e=Yb(a);rb(e);b=Sda(a,e,c,b,2,!1,!0);a=c=0;if(Array.isArray(d))for(e=0;e<d.length;e++){var f=d[e];b.push(f);(f=fb(f.internalArray_))&&!c++&&gc(b,8);f||a++||gc(b,16)}else for(d=l(d),e=d.next();!e.done;e=d.next())e=e.value,b.push(e),(e=fb(e.internalArray_))&&!c++&&gc(b,8),e||a++||gc(b,16)},$t=function(a,b){return Oca(Vt(a,b))},dl=function(a,b){return Mb(Vt(a,b))},au=function(a,b){var c;a=Vt(a,b);a==null?c=a:Fb(a)?typeof a==="number"?c=Lca(a):c=Nca(a):c=void 0;return c},I8a=function(a,b){a=Vt(a,
b);var c=c===void 0?!1:c;c=a==null?a:Fb(a)?typeof a==="string"?Nca(a):c?Mca(a):Lca(a):void 0;return c},Nk=function(a,b,c,d,e){return fc(a,b,Oca,c,d,e,0)},Fk=function(a,b){return fc(a,b,Uda,1,void 0,void 0,4096)},nSb=function(a,b){return fc(a,b,Mb,yj(),void 0,void 0,0)},Xs=function(a,b){return zca(Vt(a,b))},bu=function(a,b){return Ib(Vt(a,b))},sj=function(a,b){return Rca(Vt(a,b))},et=function(a,b){return Cca(Vt(a,b))},Hj=function(a,b,c){c=c===void 0?!1:c;return pc(Xs(a,b),c)},gj=function(a,b,c){c=
c===void 0?0:c;return pc(bu(a,b),c)},ej=function(a,b,c){c=c===void 0?0:c;return pc($t(a,b),c)},oSb=function(a){var b=b===void 0?0:b;return pc(au(a,23),b)},cu=function(a,b,c){c=c===void 0?"0":c;return pc(dl(a,b),c)},Aj=function(a,b,c){c=c===void 0?0:c;return pc(Pq(a,b),c)},Kh=function(a,b,c){c=c===void 0?"":c;return pc(sj(a,b),c)},fj=function(a,b,c){c=c===void 0?0:c;return pc(et(a,b),c)},du=function(a,b){var c=c===void 0?"0":c;return pc(Mb(Vt(a,b),!0),c)},el=function(a,b){var c=c===void 0?"0":c;return pc(Mb(Vt(a,
b),!0),c)},Ek=function(a,b,c,d,e){return fc(a,b,Ib,c,d,e)},eu=function(a,b,c){a=Ek(a,b,3,void 0,!0);sb(a,c);return a[c]},pSb=function(a,b){a=Nk(a,b,3,void 0,!0);sb(a);return a[void 0]},qSb=function(a,b,c,d,e){return fc(a,b,xca,c,d,e)},Ij=function(a,b,c,d,e){return fc(a,b,Rca,c,d,e)},fu=function(a,b,c){a=Ij(a,b,3,void 0,!0);sb(a,c);return a[c]},nl=function(a,b,c,d,e){return fc(a,b,Cca,c,d,e)},rSb=function(a,b){a=nl(a,b,3,void 0,!0);sb(a);return a[void 0]},Un=function(a,b,c){return sj(a,Ti(a,c,b))},
Bj=function(a,b,c,d){return $i(a,b,Ti(a,d,c))},gu=function(a,b){a=bu(a,b);return a==null?void 0:a},nt=function(a,b){a=$t(a,b);return a==null?void 0:a},hu=function(a,b){a=sj(a,b);return a==null?void 0:a},tt=function(a,b){a=et(a,b);return a==null?void 0:a},pl=function(a,b,c){return oo(a,b,Eb(c))},Kj=function(a,b,c){return lc(a,b,Eb(c),!1)},ql=function(a,b,c){return oo(a,b,c==null?c:Hb(c))},Gi=function(a,b,c){return lc(a,b,c==null?c:Hb(c),0)},yl=function(a,b,c){return oo(a,b,Lb(c))},bj=function(a,b,
c){return lc(a,b,Lb(c),"0")},xl=function(a,b,c){return oo(a,b,Lb(c))},lk=function(a,b,c){return lc(a,b,Bb(c),0)},rj=function(a,b,c){return oo(a,b,Qca(c))},cj=function(a,b,c){return lc(a,b,Qca(c),"")},Wi=function(a,b,c,d){return wj(a,b,c,Qca(d))},nj=function(a,b,c){return lc(a,b,pb(c,!1,!0,!1),kb())},sl=function(a,b,c){return oo(a,b,Bca(c))},dj=function(a,b,c){return lc(a,b,Bca(c),0)},iu=function(a,b,c){return oc(a,b,Hb,c,void 0,Ek)},Al=function(a,b,c){return jc(a,b,c,Kb)},Lj=function(a,b,c){return jc(a,
b,c,Ob)},zl=function(a,b,c){return jc(a,b,c,Gb)},Yk=function(a,b){return Xs(a,b)!=null},Zk=function(a,b){return bu(a,b)!=null},il=function(a,b){return $t(a,b)!=null},$k=function(a,b){return sj(a,b)!=null},al=function(a,b){return et(a,b)!=null};var Y=function(a,b,c){this.internalArray_=m(a,b,c)};Y.prototype.toJSON=function(){return fSb?Wda(this,this.internalArray_,!1):Wda(this,Cda(this.internalArray_,Eda,void 0,void 0,!1),!0)};Y.prototype.serialize=function(){fSb=!0;try{return JSON.stringify(this.toJSON(),yda)}finally{fSb=!1}};var dra=function(a,b){if(b==null||b=="")return new a;b=JSON.parse(b);if(!Array.isArray(b))throw Error("Y");return Xb(a,dca(b))};
Y.prototype.getExtension=function(a){return a.ctor?a.isRepeated?a.getExtensionFn(this,a.ctor,a.fieldIndex,yj(void 0,!0),!0):a.getExtensionFn(this,a.ctor,a.fieldIndex,!0):a.isRepeated?a.getExtensionFn(this,a.fieldIndex,yj(void 0,!0),!0):a.getExtensionFn(this,a.fieldIndex,a.defaultValue,!0)};var sSb=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};
Y.prototype.hasExtension=function(a){return a.ctor?dk(this,a.ctor,a.fieldIndex,!0):sSb(this,a)!==void 0};Y.prototype.clone=function(){var a=this.internalArray_;return Xb(this.constructor,Zb(a,Yb(a),!1))};Y.prototype.isMutable=function(){return!fb(this.internalArray_)};Y.prototype.isImmutable=function(){return fb(this.internalArray_)};
var Ys=function(a,b,c){b.ctor?b.isRepeated?b.setExtensionFn(a,b.ctor,b.fieldIndex,c,void 0,!0):b.setExtensionFn(a,b.ctor,b.fieldIndex,c,!0):b.isRepeated?b.setExtensionFn(a,b.fieldIndex,c,void 0,!0):b.setExtensionFn(a,b.fieldIndex,c,!0)},Bta=0;Y.prototype.messagePrototypeMarker=ica;Y.prototype.toString=function(){return Wda(this,this.internalArray_,!1).toString()};var eea="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");var tSb,uSb=function(){if(tSb===void 0){var a=null,b=Aa.trustedTypes;if(b&&b.createPolicy){try{a=b.createPolicy("goog#html",{createHTML:cRb,createScript:cRb,createScriptURL:cRb})}catch(c){Aa.console&&Aa.console.error(c.message)}tSb=a}else tSb=a}return tSb};var ju=function(a,b){this.stringConstValueWithSecurityContract__googStringSecurityPrivate_=a===vSb&&b||"";this.STRING_CONST_TYPE_MARKER__GOOG_STRING_SECURITY_PRIVATE_=wSb};ju.prototype.toString=function(){return this.stringConstValueWithSecurityContract__googStringSecurityPrivate_};
var xSb=function(a){return a instanceof ju&&a.constructor===ju&&a.STRING_CONST_TYPE_MARKER__GOOG_STRING_SECURITY_PRIVATE_===wSb?a.stringConstValueWithSecurityContract__googStringSecurityPrivate_:"type_error:Const"},wSb={},vSb={};var ku=function(a){this.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_=a};ku.prototype.toString=function(){return this.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_+""};var Ec=function(a){if(a instanceof ku&&a.constructor===ku)return a.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_;Db(a);return"type_error:TrustedResourceUrl"},ySb={},Ah=function(a){var b=uSb();a=b?b.createScriptURL(a):a;return new ku(a,ySb)};var zSb=Bt([""]),ASb=DQb(["\x00"],["\\0"]),BSb=DQb(["\n"],["\\n"]),CSb=DQb(["\x00"],["\\u0000"]);hea(function(a){return a(zSb)})||hea(function(a){return a(ASb)})||hea(function(a){return a(BSb)})||hea(function(a){return a(CSb)});var wc=function(a){this.privateDoNotAccessOrElseWrappedUrl=a};wc.prototype.toString=function(){return this.privateDoNotAccessOrElseWrappedUrl};var kea=new wc("about:invalid#zClosurez");var iea=function(a){this.isValid=a},jea=[yc("data"),yc("http"),yc("https"),yc("mailto"),yc("ftp"),new iea(function(a){return/^[^:]*([/?#]|$)/.test(a)})],lea=/^\s*(?!javascript:)(?:[\w+.-]+:|[^:/?#]*(?:[/?#]|$))/i;var DSb=function(a){this.privateDoNotAccessOrElseSafeStyleWrappedValue_=a};DSb.prototype.toString=function(){return this.privateDoNotAccessOrElseSafeStyleWrappedValue_.toString()};var ESb=function(a){this.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_=a};ESb.prototype.toString=function(){return this.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_.toString()};var FSb={},Bc=function(a){this.privateDoNotAccessOrElseSafeHtmlWrappedValue_=a};Bc.prototype.toString=function(){return this.privateDoNotAccessOrElseSafeHtmlWrappedValue_.toString()};
var xh=function(a){if(a instanceof Bc&&a.constructor===Bc)return a.privateDoNotAccessOrElseSafeHtmlWrappedValue_;Db(a);return"type_error:SafeHtml"},XMa=function(a){return a instanceof Bc?a:vh(qRb(String(a)))},vh=function(a){var b=uSb();a=b?b.createHTML(a):a;return new Bc(a,FSb)},Ar=new Bc(Aa.trustedTypes&&Aa.trustedTypes.emptyHTML||"",FSb);var GSb="alternate author bookmark canonical cite help icon license modulepreload next prefetch dns-prefetch prerender preconnect preload prev search subresource".split(" ");var ISb=function(a){var b=So("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||Aa.$googDebugFname||b}catch(h){e="Not available",c=!0}b=HSb(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,lu[c])c=lu[c];else{c=String(c);if(!lu[c]){var f=/function\s+([^\(]+)/m.exec(c);lu[c]=f?f[1]:"[Anonymous]"}c=lu[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}},HSb=function(a,b){b||(b={});b[JSb(a)]=!0;var c=a.stack||"";(a=a.cause)&&!b[JSb(a)]&&(c+="\nCaused by: ",a.stack&&a.stack.indexOf(a.toString())==0||(c+=typeof a==="string"?a:a.message+"\n"),c+=HSb(a,b));return c},JSb=function(a){var b="";typeof a.toString==="function"&&(b=""+a);return b+a.stack},lu={};var KSb=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")},LSb=function(a){return a.replace(/[\s\xa0]+/g," ").replace(/^\s+|\s+$/g,"")},ho=function(a){return!/[^0-9]/.test(a)},Dp=function(a){return a=qRb(a)},MSb=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},OKb=function(a,b,c){return a.replace(new RegExp(so(b),
"g"),c.replace(/\$/g,"$$$$"))},so=function(a){return String(a).replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08")},NSb=String.prototype.repeat?function(a,b){return a.repeat(b)}:function(a,b){return Array(b+1).join(a)},mu=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+NSb("0",Math.max(0,b-c))+a},Gp=function(a){return a==null?"":String(a)},nu=function(){return Math.floor(Math.random()*
2147483648).toString(36)+Math.abs(Math.floor(Math.random()*2147483648)^Date.now()).toString(36)},bk=function(a){var b=Number(a);return b==0&&Hp(a)?NaN:b},OSb=function(a){return String(a).replace(/([A-Z])/g,"-$1").toLowerCase()},Ai=function(a){return a.replace(RegExp("(^|[\\s]+)([a-z])","g"),function(b,c,d){return c+d.toUpperCase()})},vi=function(a){isFinite(a)&&(a=String(a));return typeof a==="string"?/^\s*-?0x/i.test(a)?parseInt(a,16):parseInt(a,10):NaN},PSb=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 ou=function(a,b){this.key_=a;this.value_=b},QSb=function(a){throw Error("ca`"+a.key_);};ou.prototype.string=function(a){if(this.value_==null)return arguments.length==0&&QSb(this),a;if(typeof this.value_==="string")return this.value_;throw new TypeError("da`"+this.key_+"`"+this.value_+"`"+typeof this.value_);};
ou.prototype.bool=function(a){if(this.value_==null)return arguments.length==0&&QSb(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("fa`"+this.key_+"`"+this.value_+"`"+typeof this.value_);};
var SSb=function(){var a=RSb;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("ga`"+a.key_+"`"+a.value_+"`"+typeof a.value_);};
ou.prototype.number=function(a){if(this.value_==null)return arguments.length==0&&QSb(this),a;if(typeof this.value_==="number")return this.value_;if(typeof this.value_==="string"){var b=Number(this.value_);if(!isNaN(b)&&!Hp(this.value_))return b}throw new TypeError("ha`"+this.key_+"`"+this.value_+"`"+typeof this.value_);};ou.prototype.isDefined=function(){return this.value_!=null};
ou.prototype.toString=function(){if(this.value_==null)var a=null;else if(typeof this.value_==="string")a=this.value_;else throw new TypeError("ea`"+this.key_+"`"+this.value_+"`"+typeof this.value_);a===null&&QSb(this);return a};ou.prototype.array=function(a){if(this.value_==null){if(arguments.length==0)throw Error("ca`"+this.key_);return a}return TSb(this,Za(this.value_)?this.value_:typeof this.value_!=="string"?[this.value_]:USb(this))};
var TSb=function(a,b){return yRb(b,function(c,d){return new ou(this.key_+"["+d+"]",c)},a)},USb=function(a){a=a.string();return a.trim()==""?[]:a.split(",").map(function(b){return b.trim()})};ou.prototype.object=function(a){if(this.value_==null){if(arguments.length==0)throw Error("ca`"+this.key_);return a}if(!Za(this.value_)&&$a(this.value_))return Xda(this.value_,function(b,c){return new ou(this.key_+"."+c,b)},this);throw new TypeError("ia`"+this.key_+"`"+this.value_+"`"+typeof this.value_);};var VSb;if(!(VSb=typeof window==="undefined")){var RSb,WSb,XSb=WSb=WSb===void 0?window:WSb;XSb=XSb===void 0?window:XSb;var YSb,ZSb=XSb;ZSb=ZSb===void 0?window:ZSb;YSb=ZSb.WIZ_global_data;RSb=new ou("mXaIFf",YSb&&"mXaIFf"in YSb?YSb.mXaIFf:null);var $Sb=SSb();VSb=$Sb===null?!0:$Sb}
if(VSb){var pu=globalThis,aTb=pu[da("forceDuplicateZoneCheck")]===!0;if(pu.Zone&&(aTb||typeof pu.Zone.__symbol__!=="function"))throw Error("ma");pu.Zone!=null||(pu.Zone=faa());var va=pu.Zone;rea();sea();tea();Jaa();Xaa();bba();cba()};var uea=Gc({"\u0275prov":Gc}),yea=Gc({"\u0275inj":Gc}),vea=Gc({ngInjectableDef:Gc}),zea=Gc({ngInjectorDef:Gc});var Lc=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};X(Lc,Error);var cd=Gc({"\u0275cmp":Gc}),lfa=Gc({"\u0275dir":Gc}),pfa=Gc({"\u0275pipe":Gc}),bTb=Gc({"\u0275mod":Gc}),rfa=Gc({"\u0275fac":Gc}),Id=Gc({__NG_ELEMENT_ID__:Gc}),cTb=Gc({__NG_ENV_ID__:Gc});var Nc=null,Pc=!1,Lea=1,Rc=Symbol("oa"),dTb={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:function(){return!1},producerRecomputeValue:function(){},consumerMarkedDirty:function(){},consumerOnSignalRead:function(){}};var eTb=Symbol("pa"),fTb=Symbol("qa"),gTb=Symbol("ra");Object.assign({},dTb,{value:eTb,dirty:!0,error:null,equal:Dea,producerMustRecompute:function(a){return a.value===eTb||a.value===fTb},producerRecomputeValue:function(a){if(a.value===fTb)throw Error("sa");var b=a.value;a.value=fTb;var c=Hea(a);try{var d=a.computation()}catch(e){d=gTb,a.error=e}finally{Jea(a,c)}b!==eTb&&b!==gTb&&d!==gTb&&a.equal(b,d)?a.value=b:(a.value=d,a.version++)}});var Sea=function(){throw Error();};var Qea=Object.assign({},dTb,{equal:Dea,value:void 0});var Vea=function(){},Uea=Object.assign({},dTb,{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:function(a){a.schedule!==null&&a.schedule(a.ref)},hasRun:!1,cleanupFn:Vea});var Sc;var Zea=Gc({__forward_ref__:Gc});var md=function(a,b){this._desc=a;this.\u0275prov=void 0;typeof b=="number"?this.__NG_ELEMENT_ID__=b:b!==void 0&&(this.\u0275prov=Hc({token:this,providedIn:b.providedIn||"root",factory:b.factory}))};md.prototype.toString=function(){return"InjectionToken "+this._desc};ea.Object.defineProperties(md.prototype,{multi:{configurable:!0,enumerable:!0,get:function(){return this}}});var xe=globalThis;var hTb={},iTb=/\n/gm,Wc=void 0;var Bfa=new md("");var jTb=new md("",-1);var Afa=new md("");var Ffa=function(){};Ffa.prototype.get=function(a,b){b=b===void 0?hTb:b;if(b===hTb)throw a=Error("ua`"+Kc(a)),a.name="NullInjectorError",a;return b};var ed={},bd=[];var Cfa=Gc({provide:String,useValue:Gc});var Dma=new md("");var Kfa={},kTb={},Efa=void 0,qu=function(){},pd=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;Mfa(a,function(f){return lTb(e,f)});this.records.set(jTb,nd(void 0,this));d.has("environment")&&this.records.set(qu,nd(void 0,this));a=this.records.get(Dma);a!=null&&typeof a.value==="string"&&this.scopes.add(a.value);this.injectorDefTypes=new Set(this.get(Afa,bd,2))};X(pd,qu);
pd.prototype.destroy=function(){Nfa(this);this._destroyed=!0;var a=Oc(null);try{for(var b=l(this._ngOnDestroyHooks),c=b.next();!c.done;c=b.next())c.value.ngOnDestroy();var d=this._onDestroyHooks;this._onDestroyHooks=[];for(var e=l(d),f=e.next();!f.done;f=e.next()){var h=f.value;h()}}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),Oc(a)}};
pd.prototype.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)}};
pd.prototype.get=function(a,b,c){b=b===void 0?hTb:b;c=c===void 0?0:c;Nfa(this);if(a.hasOwnProperty(cTb))return a[cTb](this);c=afa(c);var d=Xc(this),e=Tc();try{if(!(c&4)){var f=this.records.get(a);if(f===void 0){var h=(typeof a==="function"||typeof a==="object"&&a instanceof md)&&wea(a),k;if(k=h)if(h.providedIn){var q=Vc(h.providedIn);k=typeof q==="string"?q==="any"||this.scopes.has(q):this.injectorDefTypes.has(q)}else k=!1;k?f=nd(Ifa(a),Kfa):f=null;this.records.set(a,f)}if(f!=null){a:{b=f;var t=Oc(null);
try{b.value===Kfa&&(b.value=kTb,b.value=b.factory());var w;if(w=typeof b.value==="object"&&b.value){var B=b.value;w=B!==null&&typeof B==="object"&&typeof B.ngOnDestroy==="function"}w&&this._ngOnDestroyHooks.add(b.value);var E=b.value;break a}finally{Oc(t)}E=void 0}return E}}var I=c&2?Gfa():this.parent;b=c&8&&b===hTb?null:b;return I.get(a,b)}catch(ya){if(ya.name==="NullInjectorError"){(ya.ngTempTokenPath=ya.ngTempTokenPath||[]).unshift(Kc(a));if(d)throw ya;E=ya;var J=this.source,N=E.ngTempTokenPath;
a.__source&&N.unshift(a.__source);var P="\n"+E.message;a=J;a=a===void 0?null:a;P=P&&P.charAt(0)==="\n"&&P.charAt(1)=="\u0275"?P.slice(2):P;var U=Kc(N);if(Array.isArray(N))U=N.map(Kc).join(" -> ");else if(typeof N==="object"){J=[];for(var ba in N)if(N.hasOwnProperty(ba)){var ma=N[ba];J.push(ba+":"+(typeof ma==="string"?JSON.stringify(ma):Kc(ma)))}U="{"+J.join(", ")+"}"}var na="R3InjectorError"+(a?"("+a+")":"")+"["+U+"]: "+P.replace(iTb,"\n  ");E.message=na;E.ngTokenPath=N;E.ngTempTokenPath=null;throw E;
}throw ya;}finally{Tc(e),Xc(d)}};var yga=function(a){var b=Oc(null),c=Xc(a),d=Tc();try{for(var e=a.get(Bfa,bd,2),f=l(e),h=f.next();!h.done;h=f.next()){var k=h.value;k()}}finally{Xc(c),Tc(d),Oc(b)}};pd.prototype.toString=function(){for(var a=[],b=l(this.records.keys()),c=b.next();!c.done;c=b.next())a.push(Kc(c.value));return"R3Injector["+a.join(", ")+"]"};
var Nfa=function(a){if(a._destroyed)throw new Lc(205,!1);},lTb=function(a,b){b=Vc(b);var c=ld(b)?b:Vc(b&&b.provide),d=Lfa(b);if(!ld(b)&&b.multi===!0){var e=a.records.get(c);e||(e=nd(void 0,Kfa,!0),e.factory=function(){return bfa(e.multi)},a.records.set(c,e));c=b;e.multi.push(b)}a.records.set(c,d)};ea.Object.defineProperties(pd.prototype,{destroyed:{configurable:!0,enumerable:!0,get:function(){return this._destroyed}}});var Sfa=function(a,b,c){this.previousValue=a;this.currentValue=b;this.firstChange=c};Sfa.prototype.isFirstChange=function(){return this.firstChange};td.ngInherit=!0;var Ad=$fa(null),Zia=null,gia=!1,yf=!0;var Md=function(a,b){var c=A;this.factory=a;this.resolving=!1;this.canSeeViewProviders=b;this.injectImpl=c};var hga=!0,jga=0,Kd={},Nd=function(a,b){this._tNode=a;this._lView=b};Nd.prototype.get=function(a,b,c){return sga(this._tNode,this._lView,a,afa(c),b)};(new md("")).__NG_ELEMENT_ID__=function(a){var b=Bd();if(b===null)throw new Lc(204,!1);if(b.type&2)return b.value;if(a&8)return null;throw new Lc(204,!1);};var mTb=Zc(Pd(function(a){return{token:a}}),-1),ru=Zc(Pd(),8);Zc(Pd(),2);var su=Zc(Pd(),4);Zc(Pd(),1);Gc({provide:String,useValue:Gc});var Ae=function(){},Fg=function(a){if(Array.isArray(a))return zga({name:""},void 0,a,"");var b,c=(b=a.name)!=null?b:"";return zga({name:c},a.parent,a.providers,c)},nTb=new Ffa;Ae.\u0275prov=Hc({token:Ae,providedIn:"any",factory:function(){return n(jTb)}});Ae.__NG_ELEMENT_ID__=-1;var tu=function(){};var uu=function(){},jta=function(){};var oTb=function(){},pTb=new md("",{providedIn:"root",factory:function(){return!1}});new md("",{providedIn:"root",factory:function(){return!1}});var wma=new md("");var Aga=void 0;var Cga=new Map,Xia=0;var qTb=new md("",{providedIn:"root",factory:function(){return"ng"}}),Fma=new md(""),Be=new md("",{providedIn:"platform",factory:function(){return"unknown"}});new md("");
var vu=new md(""),rTb=new md("",{providedIn:"root",factory:function(){var a,b;return((a=Bga().body)==null?void 0:(b=a.querySelector("[ngCspNonce]"))==null?void 0:b.getAttribute("ngCspNonce"))||null}}),sTb={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],placeholderResolution:30,disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1};new md("",{providedIn:"root",factory:function(){return sTb}});var tTb=function(){},uTb=function(){};var Rd=function(a){this.nativeElement=a};Rd.__NG_ELEMENT_ID__=function(){return Sd(Bd(),u())};var vTb=function(){},wu=function(){this.destroyNode=null};wu.__NG_ELEMENT_ID__=function(){var a=u(),b=wd(Bd().index,a);return(rd(b)?b:a)[11]};var wTb=this,Ue=function(){this._console=console};Ue.prototype.handleError=function(a){var b=this._findOriginalError(a);this._console.error("ERROR",a);b&&this._console.error("ORIGINAL ERROR",b)};Ue.prototype._findOriginalError=function(a){for(a=a&&a.ngOriginalError;a&&a.ngOriginalError;)a=a.ngOriginalError;return a||null};var uma=new md("",{providedIn:"root",factory:function(){return Yc(Ue).handleError.bind(wTb)}});var Ee=function(){};Ee.__NG_ELEMENT_ID__=Fga;Ee.__NG_ENV_ID__=function(a){return a};var Td=function(a){this._lView=a};X(Td,Ee);Td.__NG_ENV_ID__=Ee.__NG_ENV_ID__;Td.__NG_ELEMENT_ID__=Ee.__NG_ELEMENT_ID__;Td.prototype.onDestroy=function(a){var b=this;Vfa(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 Hga=new Set;var xTb=!1,yTb=!1,Xd={onUnhandledError:null,quietBadConfig:!1,Promise:void 0,set useDeprecatedSynchronousErrorHandling(a){this.quietBadConfig||(a?console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+Error().stack):xTb&&console.log("RxJS: Back to a better error behavior. Thank you. <3"));xTb=a},get useDeprecatedSynchronousErrorHandling(){return xTb},set useDeprecatedNextContext(a){this.quietBadConfig||(a?console.warn("DEPRECATED! RxJS was set to use deprecated next context. This will result in deoptimizations when creating any new subscription. \n"+
Error().stack):yTb&&console.log("RxJS: back to more optimized subscription creation. Thank you. <3"));yTb=a},get useDeprecatedNextContext(){return yTb}};var zTb={closed:!0,next:Wd,error:function(a){if(Xd.useDeprecatedSynchronousErrorHandling)throw a;Iga(a)},complete:Wd};var ATb=Yd(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 Zd=function(a){this.initialTeardown=a;this.closed=!1;this._teardowns=this._parentage=null};g=Zd.prototype;
g.unsubscribe=function(){if(!this.closed){this.closed=!0;var a=this._parentage;if(Array.isArray(a))for(var b=l(a),c=b.next();!c.done;c=b.next())c.value.remove(this);else a==null||a.remove(this);b=this.initialTeardown;if(Jga(b))try{b()}catch(f){var d=f instanceof ATb?f.errors:[f]}var e=this._teardowns;if(e)for(this._teardowns=null,b=l(e),c=b.next();!c.done;c=b.next()){c=c.value;try{Lga(c)}catch(f){c=void 0,d=(c=d)!=null?c:[],f instanceof ATb?d=[].concat(r(d),r(f.errors)):d.push(f)}}if(d)throw new ATb(d);
}};g.add=function(a){if(a&&a!==this)if(this.closed)Lga(a);else{if(a instanceof Zd){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)&&(a=b.indexOf(a),0<=a&&b.splice(a,1))};g.remove=function(a){var b=this._teardowns;if(b){var c=b.indexOf(a);c>=0&&b.splice(c,1)}a instanceof Zd&&a._removeParent(this)};var BTb=new Zd;BTb.closed=!0;Zd.EMPTY=BTb;var xu=function(a,b,c){Zd.call(this);this.isStopped=!1;switch(arguments.length){case 0:this.destination=zTb;break;case 1:if(!a){this.destination=zTb;break}if(typeof a==="object"){a instanceof xu?(this.destination=a,a.add(this)):this.destination=new yu(this,a);break}default:this.destination=new yu(this,a,b,c)}};X(xu,Zd);xu.EMPTY=Zd.EMPTY;xu.create=function(a,b,c){return new xu(a,b,c)};g=xu.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,Zd.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 yu=function(a,b,c,d){xu.call(this);this._parentSubscriber=a;if(Jga(b))var e=b;else if(b&&(e=b.next,c=b.error,d=b.complete,b!==zTb)){if(Xd.useDeprecatedNextContext){var f=Object.create(b);f.unsubscribe=this.unsubscribe.bind(this)}else f=b;var h;e=(h=e)==null?void 0:h.bind(f);var k;c=(k=c)==null?void 0:k.bind(f);var q;d=(q=d)==null?void 0:q.bind(f);Kga(b)&&b.add(this.unsubscribe.bind(this))}this._next=e;this._error=c;this._complete=d};X(yu,xu);yu.EMPTY=xu.EMPTY;yu.create=xu.create;g=yu.prototype;
g.next=function(a){if(!this.isStopped&&this._next)try{this._next(a)}catch(b){this._throw(b)}};g.error=function(a){if(!this.isStopped)if(this._error){try{this._error(a)}catch(b){this._throw(b);return}this.unsubscribe()}else this._throw(a)};g._throw=function(a){this.unsubscribe();if(Xd.useDeprecatedSynchronousErrorHandling)throw a;Iga(a)};g.complete=function(){if(!this.isStopped){if(this._complete)try{this._complete()}catch(a){this._throw(a);return}this.unsubscribe()}};
g.unsubscribe=function(){if(!this.closed){var a=this._parentSubscriber;this._parentSubscriber=null;a.unsubscribe();xu.prototype.unsubscribe.call(this)}};var ne=typeof Symbol==="function"&&Symbol.observable||"@@observable";var CTb=function(a){xu.call(this);this.destination=a};X(CTb,xu);CTb.EMPTY=xu.EMPTY;CTb.create=xu.create;var ae=function(a){a&&(this._subscribe=a)};g=ae.prototype;g.lift=function(a){var b=new ae;b.source=this;b.operator=a;return b};g.subscribe=function(a,b,c){a:{if(a){if(a instanceof xu||Nga(a)&&Kga(a))break a;if(Nga(a)){a=new CTb(a);break a}}a=a||b||c?new xu(a,b,c):new xu(zTb)}b=this.operator;c=this.source;a.add(b?b.call(a,c):c||Xd.useDeprecatedSynchronousErrorHandling?this._subscribe(a):this._trySubscribe(a));return a};
g._trySubscribe=function(a){try{return this._subscribe(a)}catch(f){if(Xd.useDeprecatedSynchronousErrorHandling)throw f;var b;a:{for(b=a;b;){var c=b,d=c.destination,e=c.isStopped;if(c.closed||e){b=!1;break a}d&&d instanceof xu?b=d:b=null}b=!0}b?a.error(f):Iga(f)}};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(k){e(k),f&&f.unsubscribe()}},e,d)})};g._subscribe=function(a){var b;return(b=this.source)==null?void 0:b.subscribe(a)};
ae.prototype[ne]=function(){return this};ae.prototype.pipe=function(){var a=kd.apply(0,arguments);return a.length?Mga(a)(this):this};var DTb=function(a){var b=Oga(b);return new b(function(c,d){var e;a.subscribe(function(f){return e=f},function(f){return d(f)},function(){return c(e)})})};ae.create=function(a){return new ae(a)};var zu=function(a,b){Zd.call(this);this.subject=a;this.subscriber=b;this.closed=!1};X(zu,Zd);zu.EMPTY=Zd.EMPTY;zu.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var a=this.subject,b=a.observers;this.subject=null;!b||b.length===0||a.isStopped||a.closed||(a=b.indexOf(this.subscriber),a!==-1&&b.splice(a,1))}};var Au=Yd(function(a){return function(){a(this);this.message="object unsubscribed"}});var lf=function(){this.observers=[];this.hasError=this.isStopped=this.closed=!1;this.thrownError=null};X(lf,ae);g=lf.prototype;g.lift=function(a){var b=new Bu(this,this);b.operator=a;return b};g.next=function(a){if(this.closed)throw new Au;if(!this.isStopped){var b=this.observers,c=b.length;b=b.slice();for(var d=0;d<c;d++)b[d].next(a)}};
g.error=function(a){if(this.closed)throw new Au;this.hasError=!0;this.thrownError=a;this.isStopped=!0;var b=this.observers,c=b.length;b=b.slice();for(var d=0;d<c;d++)b[d].error(a);this.observers.length=0};g.complete=function(){if(this.closed)throw new Au;this.isStopped=!0;var a=this.observers,b=a.length;a=a.slice();for(var c=0;c<b;c++)a[c].complete();this.observers.length=0};g.unsubscribe=function(){this.closed=this.isStopped=!0;this.observers=null};
g._trySubscribe=function(a){if(this.closed)throw new Au;return ae.prototype._trySubscribe.call(this,a)};g._subscribe=function(a){if(this.closed)throw new Au;if(this.hasError)return a.error(this.thrownError),Zd.EMPTY;if(this.isStopped)return a.complete(),Zd.EMPTY;this.observers.push(a);return new zu(this,a)};var or=function(a){var b=new ae;b.source=a;return b};
ea.Object.defineProperties(lf.prototype,{observed:{configurable:!0,enumerable:!0,get:function(){var a;return((a=this.observers)==null?void 0:a.length)>0}}});lf.create=function(a,b){return new Bu(a,b)};var Bu=function(a,b){lf.call(this);this.destination=a;this.source=b};X(Bu,lf);Bu.create=lf.create;Bu.prototype.next=function(a){var b=this.destination;b&&b.next&&b.next(a)};Bu.prototype.error=function(a){this.destination&&this.destination.error(a)};
Bu.prototype.complete=function(){this.destination&&this.destination.complete()};Bu.prototype._subscribe=function(a){return this.source?this.source.subscribe(a):Zd.EMPTY};var Cu=function(){lf.apply(this,arguments);this.value=null;this.hasCompleted=this.hasNext=!1};X(Cu,lf);Cu.create=lf.create;Cu.prototype._subscribe=function(a){return this.hasError?(a.error(this.thrownError),Zd.EMPTY):this.hasCompleted&&this.hasNext?(a.next(this.value),a.complete(),Zd.EMPTY):lf.prototype._subscribe.call(this,a)};Cu.prototype.next=function(a){this.hasCompleted||(this.value=a,this.hasNext=!0)};Cu.prototype.error=function(a){this.hasCompleted||lf.prototype.error.call(this,a)};
Cu.prototype.complete=function(){this.hasCompleted=!0;this.hasNext&&lf.prototype.next.call(this,this.value);lf.prototype.complete.call(this)};var Du=function(a){lf.call(this);this._value=a};X(Du,lf);Du.create=lf.create;Du.prototype._subscribe=function(a){var b=lf.prototype._subscribe.call(this,a);b&&!b.closed&&a.next(this._value);return b};Du.prototype.getValue=function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new Au;return this._value};Du.prototype.next=function(a){lf.prototype.next.call(this,this._value=a)};ea.Object.defineProperties(Du.prototype,{value:{configurable:!0,enumerable:!0,get:function(){return this.getValue()}}});var Eu=new ae(function(a){return a.complete()});var Rga=function(a){return function(b){for(var c=0,d=a.length;c<d&&!b.closed;c++)b.next(a[c]);b.complete()}};var ETb=function(a,b,c){this.kind=a;this.value=b;this.error=c;this.hasValue=a==="N"};ETb.prototype.observe=function(a){switch(this.kind){case "N":var b;(b=a.next)==null||b.call(a,this.value);break;case "E":var c;(c=a.error)==null||c.call(a,this.error);break;case "C":var d;(d=a.complete)==null||d.call(a)}};
ETb.prototype.accept=function(a,b,c){if(a&&typeof a.next==="function")a=this.observe(a);else{switch(this.kind){case "N":a==null||a(this.value);break;case "E":b==null||b(this.error);break;case "C":c==null||c()}a=void 0}return a};var FTb={now:function(){return(FTb.delegate||Date).now()},delegate:void 0};var kf=function(a,b,c){a=a===void 0?Infinity:a;b=b===void 0?Infinity:b;c=c===void 0?FTb:c;lf.call(this);this.timestampProvider=c;this._events=[];this._infiniteTimeWindow=!1;this._bufferSize=a<1?1:a;this._windowTime=b<1?1:b;b===Infinity?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow};X(kf,lf);kf.create=lf.create;g=kf.prototype;
g.nextInfiniteTimeWindow=function(a){if(!this.isStopped){var b=this._events;b.push(a);b.length>this._bufferSize&&b.shift()}lf.prototype.next.call(this,a)};g.nextTimeWindow=function(a){this.isStopped||(this._events.push({time:this._getNow(),value:a}),this._trimBufferThenGetEvents());lf.prototype.next.call(this,a)};
g._subscribe=function(a){var b=this._infiniteTimeWindow,c=b?this._events:this._trimBufferThenGetEvents(),d=c.length;if(this.closed)throw new Au;if(this.isStopped||this.hasError)var e=Zd.EMPTY;else this.observers.push(a),e=new zu(this,a);if(b)for(var f=0;f<d&&!a.closed;f++)a.next(c[f]);else for(f=0;f<d&&!a.closed;f++)a.next(c[f].value);this.hasError?a.error(this.thrownError):this.isStopped&&a.complete();return e};g._getNow=function(){var a=this.timestampProvider;return a?a.now():FTb.now()};
g._trimBufferThenGetEvents=function(){for(var a=this._getNow(),b=this._bufferSize,c=this._windowTime,d=this._events,e=d.length,f=0;f<e&&!(a-d[f].time<c);)f++;e>b&&(f=Math.max(f,e-b));f>0&&d.splice(0,f);return d};var HTb=function(a,b){b=b===void 0?GTb:b;this.SchedulerAction=a;this.now=b};HTb.prototype.schedule=function(a,b,c){b=b===void 0?0:b;return(new this.SchedulerAction(this,a)).schedule(c,b)};var GTb=FTb.now;var ff=Yd(function(a){return function(){a(this);this.message="no elements in sequence"}});var de=function(a,b,c,d,e){xu.call(this,a);this.onUnsubscribe=e;b&&(this._next=function(f){try{b==null||b(f)}catch(h){this.error(h)}});c&&(this._error=function(f){try{c(f)}catch(h){this.destination.error(h)}this.unsubscribe()});d&&(this._complete=function(){try{d()}catch(f){this.destination.error(f)}this.unsubscribe()})};X(de,xu);de.EMPTY=xu.EMPTY;de.create=xu.create;de.prototype.unsubscribe=function(){var a;this.closed||(a=this.onUnsubscribe)!=null&&a.call(this);xu.prototype.unsubscribe.call(this)};var Fu=function(a,b){this.source=a;this.subjectFactory=b;this._refCount=0;this._isComplete=!1};X(Fu,ae);Fu.create=ae.create;Fu.prototype._subscribe=function(a){return this.getSubject().subscribe(a)};Fu.prototype.getSubject=function(){var a=this._subject;if(!a||a.isStopped)this._subject=this.subjectFactory();return this._subject};
Fu.prototype.connect=function(){var a=this._connection;a||(this._isComplete=!1,a=this._connection=new Zd,a.add(this.source.subscribe(new Gu(this.getSubject(),this))),a.closed&&(this._connection=null,a=Zd.EMPTY));return a};Fu.prototype.refCount=function(){return ee()(this)};var pka,Hu=Fu.prototype;
pka={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:Hu._subscribe},_isComplete:{value:Hu._isComplete,writable:!0},getSubject:{value:Hu.getSubject},connect:{value:Hu.connect},refCount:{value:Hu.refCount}};var Gu=function(a,b){xu.call(this);this.destination=a;this.connectable=b};X(Gu,xu);Gu.EMPTY=xu.EMPTY;Gu.create=xu.create;Gu.prototype._error=function(a){this._teardown();xu.prototype._error.call(this,a)};
Gu.prototype._complete=function(){this.connectable._isComplete=!0;this._teardown();xu.prototype._complete.call(this)};Gu.prototype._teardown=function(){var a=this.connectable;if(a){this.connectable=null;var b=a._connection;a._refCount=0;a._subject=null;a._connection=null;b&&b.unsubscribe()}};Gu.prototype.unsubscribe=function(){this.closed||(this._teardown(),xu.prototype.unsubscribe.call(this))};var Xga=function(a,b){this.project=a;this.thisArg=b};Xga.prototype.call=function(a,b){return b.subscribe(new Iu(a,this.project,this.thisArg))};var Iu=function(a,b,c){xu.call(this,a);this.project=b;this.count=0;this.thisArg=c||this};X(Iu,xu);Iu.EMPTY=xu.EMPTY;Iu.create=xu.create;Iu.prototype._next=function(a){try{var b=this.project.call(this.thisArg,a,this.count++)}catch(c){this.destination.error(c);return}this.destination.next(b)};var Yga=Array.isArray;var mha=typeof Symbol==="function"&&Symbol.iterator?Symbol.iterator:"@@iterator";var qha=function(a){return a&&typeof a.length==="number"&&typeof a!=="function"};var ITb=function(a){return function(b){var c=a[mha]();do{var d=void 0;try{d=c.next()}catch(e){b.error(e);return}if(d.done){b.complete();break}b.next(d.value);if(b.closed)break}while(1);typeof c.return==="function"&&b.add(function(){c.return&&c.return()});return b}};var JTb=function(a){return function(b){var c=a[ne]();if(typeof c.subscribe!=="function")throw new TypeError("ya");return c.subscribe(b)}};var KTb=function(a){return function(b){a.then(function(c){b.closed||(b.next(c),b.complete())},function(c){return b.error(c)}).then(null,Iga);return b}};var fha=function(a){if(a&&typeof a[ne]==="function")return JTb(a);if(qha(a))return Rga(a);if(bha(a))return KTb(a);if(a&&typeof a[mha]==="function")return ITb(a);if(Symbol&&Symbol.asyncIterator&&a&&typeof a[Symbol.asyncIterator]==="function")return dha(a);throw new TypeError("za`"+(a!==null&&typeof a==="object"?"an invalid object":"'"+a+"'"));};var Ju=function(a){xu.call(this);this.parent=a};X(Ju,xu);Ju.EMPTY=xu.EMPTY;Ju.create=xu.create;Ju.prototype._next=function(a){this.parent.notifyNext(a)};Ju.prototype._error=function(a){this.parent.notifyError(a);this.unsubscribe()};Ju.prototype._complete=function(){this.parent.notifyComplete();this.unsubscribe()};var Ku=function(a,b,c){xu.call(this);this.parent=a;this.outerValue=b;this.outerIndex=c};X(Ku,xu);Ku.EMPTY=xu.EMPTY;Ku.create=xu.create;
Ku.prototype._next=function(a){this.parent.notifyNext(this.outerValue,a,this.outerIndex)};Ku.prototype._error=function(a){this.parent.notifyError(a);this.unsubscribe()};Ku.prototype._complete=function(){this.parent.notifyComplete(this);this.unsubscribe()};var Lu=function(){xu.apply(this,arguments)};X(Lu,xu);Lu.EMPTY=xu.EMPTY;Lu.create=xu.create;Lu.prototype.notifyNext=function(a){this.destination.next(a)};Lu.prototype.notifyError=function(a){this.destination.error(a)};
Lu.prototype.notifyComplete=function(){this.destination.complete()};var Mu=function(){xu.apply(this,arguments)};X(Mu,xu);Mu.EMPTY=xu.EMPTY;Mu.create=xu.create;Mu.prototype.notifyNext=function(a,b){this.destination.next(b)};Mu.prototype.notifyError=function(a){this.destination.error(a)};Mu.prototype.notifyComplete=function(){this.destination.complete()};var gha=Array.isArray,LTb=Object,hha=LTb.getPrototypeOf,iha=LTb.prototype,jha=LTb.keys;var MTb={},Qja=function(a,b){this.resultSelector=a;this.keys=b};Qja.prototype.call=function(a,b){return b.subscribe(new Nu(a,this.resultSelector,this.keys))};var Nu=function(a,b,c){Mu.call(this,a);this.resultSelector=b;this.keys=c;this.active=0;this.values=[];this.observables=[]};X(Nu,Mu);Nu.EMPTY=Mu.EMPTY;Nu.create=Mu.create;g=Nu.prototype;g._next=function(a){this.values.push(MTb);this.observables.push(a)};
g._complete=function(){var a=this.observables,b=a.length;if(b===0)this.destination.complete();else{this.toRespond=this.active=b;for(var c=0;c<b;c++)this.add(me(a[c],new Ku(this,null,c)))}};g.notifyComplete=function(){--this.active===0&&this.destination.complete()};
g.notifyNext=function(a,b,c){var d=this.values,e=d[c];e=this.toRespond?e===MTb?--this.toRespond:this.toRespond:0;d[c]=b;e===0&&(this.resultSelector?this._tryResultSelector(d):this.destination.next(this.keys?this.keys.reduce(function(f,h,k){return f[h]=d[k],f},{}):d.slice()))};g._tryResultSelector=function(a){try{var b=this.resultSelector.apply(this,a)}catch(c){this.destination.error(c);return}this.destination.next(b)};var sha=function(a,b){b=b===void 0?Infinity:b;this.project=a;this.concurrent=b};sha.prototype.call=function(a,b){return b.subscribe(new Ou(a,this.project,this.concurrent))};var Ou=function(a,b,c){c=c===void 0?Infinity:c;Lu.call(this,a);this.destination=a;this.project=b;this.concurrent=c;this.hasCompleted=!1;this.buffer=[];this.index=this.active=0};X(Ou,Lu);Ou.EMPTY=Lu.EMPTY;Ou.create=Lu.create;
Ou.prototype._next=function(a){if(this.active<this.concurrent){var b=this.index++;try{var c=this.project(a,b)}catch(d){this.destination.error(d);return}this.active++;a=new Ju(this);this.destination.add(a);me(c,a)}else this.buffer.push(a)};Ou.prototype._complete=function(){this.hasCompleted=!0;this.active===0&&this.buffer.length===0&&this.destination.complete();this.unsubscribe()};Ou.prototype.notifyNext=function(a){this.destination.next(a)};
Ou.prototype.notifyComplete=function(){var a=this.buffer;this.active--;a.length>0?this._next(a.shift()):this.active===0&&this.hasCompleted&&this.destination.complete()};var vha=function(a){var b=cancelAnimationFrame,c=requestAnimationFrame(function(d){b=void 0;a(d)});return new Zd(function(){var d;return(d=b)==null?void 0:d(c)})},NTb=function(){return requestAnimationFrame.apply(null,r(kd.apply(0,arguments)))},OTb=function(){cancelAnimationFrame.apply(null,r(kd.apply(0,arguments)))};var uha={now:function(){return(uha.delegate||performance).now()},delegate:void 0};var PTb=wha();var Pu=function(){Zd.call(this)};X(Pu,Zd);Pu.EMPTY=Zd.EMPTY;Pu.prototype.schedule=function(){return this};var QTb=function(a,b){return setInterval.apply(null,[a,b].concat(r(kd.apply(2,arguments))))};var Qu=function(a,b){Zd.call(this);this.scheduler=a;this.work=b;this.pending=!1};X(Qu,Pu);Qu.EMPTY=Pu.EMPTY;g=Qu.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 QTb(a.flush.bind(a,this),c)};
g.recycleAsyncId=function(a,b,c){c=c===void 0?0:c;if(c!=null&&this.delay===c&&this.pending===!1)return b;clearInterval(b)};g.execute=function(a,b){if(this.closed)return Error("Da");this.pending=!1;if(a=this._execute(a,b))return a;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))};g._execute=function(a){var b=!1,c=void 0;try{this.work(a)}catch(d){b=!0,c=!!d&&d||Error(d)}if(b)return this.unsubscribe(),c};
g.unsubscribe=function(){if(!this.closed){var a=this.id,b=this.scheduler,c=b.actions,d=c.indexOf(this);this.state=this.work=null;this.pending=!1;this.scheduler=null;d!==-1&&c.splice(d,1);a!=null&&(this.id=this.recycleAsyncId(b,a,null));this.delay=null;Pu.prototype.unsubscribe.call(this)}};var Ru=function(a,b){b=b===void 0?GTb:b;HTb.call(this,a,b);this.actions=[];this.active=!1;this.scheduled=void 0};X(Ru,HTb);Ru.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 ve=new Ru(Qu);var RTb=new ae(Wd);var Eha=Array.isArray;var se=function(){xu.apply(this,arguments)};X(se,xu);se.EMPTY=xu.EMPTY;se.create=xu.create;se.prototype._error=function(){this.unsubscribe()};se.prototype._complete=function(){this.unsubscribe()};var Iha=function(a,b){this.predicate=a;this.thisArg=b};Iha.prototype.call=function(a,b){return b.subscribe(new Su(a,this.predicate,this.thisArg))};var Su=function(a,b,c){xu.call(this,a);this.predicate=b;this.thisArg=c;this.count=0};X(Su,xu);Su.EMPTY=xu.EMPTY;Su.create=xu.create;Su.prototype._next=function(a){try{var b=this.predicate.call(this.thisArg,a,this.count++)}catch(c){this.destination.error(c);return}b&&this.destination.next(a)};var ue=function(a){Mu.call(this,a);this.hasFirst=!1;this.observables=[];this.subscriptions=[]};X(ue,Mu);ue.EMPTY=Mu.EMPTY;ue.create=Mu.create;g=ue.prototype;g._next=function(a){this.observables.push(a)};g._complete=function(){var a=this.observables,b=a.length;if(b===0)this.destination.complete();else{for(var c=0;c<b&&!this.hasFirst;c++){var d=me(a[c],new Ku(this,null,c));this.subscriptions&&this.subscriptions.push(d);this.add(d)}this.observables=null}};
g.notifyNext=function(a,b,c){if(!this.hasFirst){this.hasFirst=!0;for(var d=0;d<this.subscriptions.length;d++)if(d!==c){var e=this.subscriptions[d];e.unsubscribe();this.remove(e)}this.subscriptions=null}this.destination.next(b)};g.notifyComplete=function(a){this.hasFirst=!0;Mu.prototype.notifyComplete.call(this,a)};g.notifyError=function(a){this.hasFirst=!0;Mu.prototype.notifyError.call(this,a)};var STb=function(a,b,c){this.key=a;this.groupSubject=b;this.refCountSubscription=c};X(STb,ae);STb.create=ae.create;STb.prototype._subscribe=function(a){var b=new Zd,c=this.refCountSubscription,d=this.groupSubject;c&&!c.closed&&b.add(new TTb(c));b.add(d.subscribe(a));return b};var TTb=function(a){Zd.call(this);this.parent=a;a.count++};X(TTb,Zd);TTb.EMPTY=Zd.EMPTY;
TTb.prototype.unsubscribe=function(){var a=this.parent;a.closed||this.closed||(Zd.prototype.unsubscribe.call(this),--a.count,a.count===0&&a.attemptedToUnsubscribe&&a.unsubscribe())};var Qha=Yd(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 UTb=function(a,b){a=a===void 0?Tu:a;b=b===void 0?Infinity:b;Ru.call(this,a,function(){return c.frame});var c=this;this.maxFrames=b;this.frame=0;this.index=-1};X(UTb,Ru);UTb.prototype.flush=function(){for(var a=this.actions,b=this.maxFrames,c,d;(d=a[0])&&d.delay<=b&&!(a.shift(),this.frame=d.delay,c=d.execute(d.state,d.delay)););if(c){for(;d=a.shift();)d.unsubscribe();throw c;}};
var Tu=function(a,b,c){c=c===void 0?a.index+=1:c;Qu.call(this,a,b);this.scheduler=a;this.work=b;this.index=c;this.active=!0;this.index=a.index=c};X(Tu,Qu);Tu.EMPTY=Qu.EMPTY;Tu.prototype.schedule=function(a,b){b=b===void 0?0:b;if(Number.isFinite(b)){if(!this.id)return Qu.prototype.schedule.call(this,a,b);this.active=!1;var c=new Tu(this.scheduler,this.work);this.add(c);return c.schedule(a,b)}return Zd.EMPTY};
Tu.prototype.requestAsyncId=function(a,b,c){this.delay=a.frame+(c===void 0?0:c);a=a.actions;a.push(this);a.sort(VTb);return!0};Tu.prototype.recycleAsyncId=function(){};Tu.prototype._execute=function(a,b){if(this.active===!0)return Qu.prototype._execute.call(this,a,b)};var VTb=function(a,b){return a.delay===b.delay?a.index===b.index?0:a.index>b.index?1:-1:a.delay>b.delay?1:-1};var Uu=function(a,b){Qu.call(this,a,b);this.scheduler=a;this.work=b};X(Uu,Qu);Uu.EMPTY=Qu.EMPTY;Uu.prototype.requestAsyncId=function(a,b,c){c=c===void 0?0:c;if(c!==null&&c>0)return Qu.prototype.requestAsyncId.call(this,a,b,c);a.actions.push(this);return a.scheduled||(a.scheduled=NTb(function(){return a.flush(void 0)}))};
Uu.prototype.recycleAsyncId=function(a,b,c){c=c===void 0?0:c;if(c!=null&&c>0||c==null&&this.delay>0)return Qu.prototype.recycleAsyncId.call(this,a,b,c);a.actions.length===0&&(OTb(b),a.scheduled=void 0)};var WTb=function(){Ru.apply(this,arguments)};X(WTb,Ru);WTb.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 XTb=new WTb(Uu);var YTb=1,ZTb,Rha={},$Tb=function(a){var b=YTb++;Rha[b]=!0;ZTb||(ZTb=Promise.resolve());ZTb.then(function(){return Sha(b)&&a()});return b};var aUb=function(){return $Tb.apply(null,r(kd.apply(0,arguments)))};var Vu=function(a,b){Qu.call(this,a,b);this.scheduler=a;this.work=b};X(Vu,Qu);Vu.EMPTY=Qu.EMPTY;Vu.prototype.requestAsyncId=function(a,b,c){c=c===void 0?0:c;if(c!==null&&c>0)return Qu.prototype.requestAsyncId.call(this,a,b,c);a.actions.push(this);return a.scheduled||(a.scheduled=aUb(a.flush.bind(a,void 0)))};
Vu.prototype.recycleAsyncId=function(a,b,c){c=c===void 0?0:c;if(c!=null&&c>0||c==null&&this.delay>0)return Qu.prototype.recycleAsyncId.call(this,a,b,c);a.actions.length===0&&(Sha(b),a.scheduled=void 0)};var bUb=function(){Ru.apply(this,arguments)};X(bUb,Ru);bUb.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 cUb=new bUb(Vu);var Wu=function(a,b){Qu.call(this,a,b);this.scheduler=a;this.work=b};X(Wu,Qu);Wu.EMPTY=Qu.EMPTY;Wu.prototype.schedule=function(a,b){b=b===void 0?0:b;if(b>0)return Qu.prototype.schedule.call(this,a,b);this.delay=b;this.state=a;this.scheduler.flush(this);return this};Wu.prototype.execute=function(a,b){return b>0||this.closed?Qu.prototype.execute.call(this,a,b):this._execute(a,b)};
Wu.prototype.requestAsyncId=function(a,b,c){c=c===void 0?0:c;return c!=null&&c>0||c==null&&this.delay>0?Qu.prototype.requestAsyncId.call(this,a,b,c):a.flush(this)};var dUb=function(){Ru.apply(this,arguments)};X(dUb,Ru);var eUb=new dUb(Wu);var fUb=Yd(function(a){return function(){a(this);this.message="argument out of range"}});var gUb=Yd(function(a){return function(b){a(this);this.message=b}});var hUb=Yd(function(a){return function(b){a(this);this.message=b}});var W={};W.Observable=ae;W.ConnectableObservable=Fu;W.GroupedObservable=STb;W.observable=ne;W.animationFrames=function(a){return a?wha(a):PTb};W.Subject=lf;W.BehaviorSubject=Du;W.ReplaySubject=kf;W.AsyncSubject=Cu;W.asap=cUb;W.asapScheduler=cUb;W.async=ve;W.asyncScheduler=ve;W.queue=eUb;W.queueScheduler=eUb;W.animationFrame=XTb;W.animationFrameScheduler=XTb;W.VirtualTimeScheduler=UTb;W.VirtualAction=Tu;W.Scheduler=HTb;W.Subscription=Zd;W.Subscriber=xu;W.Notification=ETb;
W.NotificationKind={NEXT:"N",ERROR:"E",COMPLETE:"C"};W.pipe=function(){return Mga(kd.apply(0,arguments))};W.noop=Wd;W.identity=$d;W.isObservable=function(a){return!!a&&(a instanceof ae||typeof a.lift==="function"&&typeof a.subscribe==="function")};W.lastValueFrom=function(a){return new Promise(function(b,c){var d=!1,e;a.subscribe({next:function(f){e=f;d=!0},error:c,complete:function(){d?b(e):c(new ff)}})})};
W.firstValueFrom=function(a){return new Promise(function(b,c){var d=new Zd;d.add(a.subscribe({next:function(e){b(e);d.unsubscribe()},error:c,complete:function(){c(new ff)}}))})};W.ArgumentOutOfRangeError=fUb;W.EmptyError=ff;W.NotFoundError=gUb;W.ObjectUnsubscribedError=Au;W.SequenceError=hUb;W.TimeoutError=Qha;W.UnsubscriptionError=ATb;W.bindCallback=$ga;W.bindNodeCallback=aha;
W.combineLatest=function(){var a=kd.apply(0,arguments),b=void 0,c=void 0;be(a[a.length-1])&&(c=a.pop());typeof a[a.length-1]==="function"&&(b=a.pop());a=kha(a);return ce(Sga(a.args,c),new Qja(b,a.keys))};W.concat=re;W.defer=tha;W.empty=function(a){return a?Pga(a):Eu};W.forkJoin=function(){var a=kd.apply(0,arguments),b;typeof a[a.length-1]==="function"&&(b=a.pop());var c=kha(a);a=c.args;c=c.keys;return b?xha(a,c).pipe(y(function(d){return b.apply(null,r(d))})):xha(a,c)};W.from=oe;W.fromEvent=yha;
W.fromEventPattern=Aha;
W.generate=function(a,b,c,d,e){if(arguments.length==1){var f=a.initialState;b=a.condition;c=a.iterate;var h=a.resultSelector||$d;e=a.scheduler}else d===void 0||be(d)?(f=a,h=$d,e=d):(f=a,h=d);return new ae(function(k){var q=f;if(e)return e.schedule(Bha,0,{subscriber:k,iterate:c,condition:b,resultSelector:h,state:q});do{if(b){var t=void 0;try{t=b(q)}catch(w){k.error(w);break}if(!t){k.complete();break}}t=void 0;try{t=h(q)}catch(w){k.error(w);break}k.next(t);if(k.closed)break;try{q=c(q)}catch(w){k.error(w);
break}}while(1)})};W.iif=function(a,b,c){b=b===void 0?Eu:b;c=c===void 0?Eu:c;return tha(function(){return a()?b:c})};W.interval=function(a,b){a=a===void 0?0:a;b=b===void 0?ve:b;if(!Cha(a)||a<0)a=0;b&&typeof b.schedule==="function"||(b=ve);return new ae(function(c){c.add(b.schedule(Dha,a,{subscriber:c,counter:0,period:a}));return c})};
W.merge=function(){var a=kd.apply(0,arguments),b=Infinity,c=void 0,d=a[a.length-1];be(d)?(c=a.pop(),a.length>1&&typeof a[a.length-1]==="number"&&(b=a.pop())):typeof d==="number"&&(b=a.pop());return!c&&a.length===1&&a[0]instanceof ae?a[0]:qe(b)(Sga(a,c))};W.never=function(){return RTb};W.of=Tga;W.onErrorResumeNext=function(){return Gha(Fha(kd.apply(0,arguments)))(Eu)};
W.pairs=function(a,b){return b?new ae(function(c){var d=Object.keys(a),e=new Zd;e.add(b.schedule(Hha,0,{keys:d,index:0,subscriber:c,subscription:e,obj:a}));return e}):new ae(function(c){for(var d=Object.keys(a),e=0;e<d.length&&!c.closed;e++){var f=d[e];a.hasOwnProperty(f)&&c.next([f,a[f]])}c.complete()})};W.partition=function(a,b,c){return[te(b,c)(new ae(fha(a))),te(Jha(b,c))(new ae(fha(a)))]};W.race=Kha;
W.range=function(a,b,c){a=a===void 0?0:a;return new ae(function(d){b===void 0&&(b=a,a=0);var e=0,f=a;if(c)return c.schedule(Lha,0,{index:e,count:b,start:a,subscriber:d});do{if(e++>=b){d.complete();break}d.next(f++);if(d.closed)break}while(1)})};W.throwError=function(a,b){return b?new ae(function(c){return b.schedule(function(){c.error(typeof a==="function"?a():a)})}):new ae(function(c){return c.error(typeof a==="function"?a():a)})};W.timer=Oha;
W.using=function(a,b){return new ae(function(c){try{var d=a()}catch(h){c.error(h);return}try{var e=b(d)}catch(h){c.error(h);return}var f=(e?oe(e):Eu).subscribe(c);return function(){f.unsubscribe();d&&d.unsubscribe()}})};
W.zip=function(){var a=kd.apply(0,arguments),b=void 0;typeof a[a.length-1]==="function"&&(b=a.pop());return new ae(function(c){for(var d=a.map(function(){return[]}),e=a.map(function(){return!1}),f=new Zd,h=function(){if(d.every(function(w){return w.length>0})){var t=d.map(function(w){return w.shift()});if(b)try{t=b.apply(null,r(t))}catch(w){c.error(w);return}c.next(t);d.some(function(w,B){return w.length===0&&e[B]})&&c.complete()}},k={i$jscomp$243:0};!c.closed&&k.i$jscomp$243<a.length;k={i$jscomp$243:k.i$jscomp$243},
k.i$jscomp$243++){var q=oe(a[k.i$jscomp$243]);f.add(q.subscribe({next:function(t){return function(w){d[t.i$jscomp$243].push(w);h()}}(k),error:function(t){return c.error(t)},complete:function(t){return function(){e[t.i$jscomp$243]=!0;d[t.i$jscomp$243].length===0&&c.complete()}}(k)}))}return f})};W.scheduled=rha;W.EMPTY=Eu;W.NEVER=RTb;W.config=Xd;var Xu=function(a){a=a===void 0?!1:a;W.Subject.call(this);this.__isAsync=a;Sc===void 0&&Wc==null||Yc(Ee,{optional:!0})};X(Xu,W.Subject);Xu.create=W.Subject.create;Xu.prototype.emit=function(a){var b=Oc(null);try{W.Subject.prototype.next.call(this,a)}finally{Oc(b)}};
Xu.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=Tha(b),d&&(d=Tha(d)),c&&(c=Tha(c)));d=W.Subject.prototype.subscribe.call(this,{next:d,error:b,complete:c});a instanceof W.Subscription&&a.add(d);return d};var ze=function(a){var b=a.enableLongStackTrace===void 0?!1:a.enableLongStackTrace;var c=a.shouldCoalesceEventChangeDetection===void 0?!1:a.shouldCoalesceEventChangeDetection;a=a.shouldCoalesceRunChangeDetection===void 0?!1:a.shouldCoalesceRunChangeDetection;this.hasPendingMicrotasks=this.hasPendingMacrotasks=!1;this.isStable=!0;this.onUnstable=new Xu(!1);this.onMicrotaskEmpty=new Xu(!1);this.onStable=new Xu(!1);this.onError=new Xu(!1);if(typeof Zone=="undefined")throw new Lc(908,!1);Zone.assertZonePatched();
this._nesting=0;this._outer=this._inner=Zone.current;Zone.TaskTrackingZoneSpec&&(this._inner=this._inner.fork(new Zone.TaskTrackingZoneSpec));b&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec));this.shouldCoalesceEventChangeDetection=!a&&c;this.shouldCoalesceRunChangeDetection=a;this.callbackScheduled=!1;bia(this)},iUb=function(){return typeof Zone!=="undefined"&&Zone.current.get("isAngularZone")===!0},jUb=function(){if(iUb())throw new Lc(909,!1);};
ze.prototype.run=function(a,b,c){return this._inner.run(a,b,c)};ze.prototype.runTask=function(a,b,c,d){var e=this._inner;a=e.scheduleEventTask("NgZoneEvent: "+d,a,kUb,Wha,Wha);try{return e.runTask(a,b,c)}finally{e.cancelTask(a)}};ze.prototype.runGuarded=function(a,b,c){return this._inner.runGuarded(a,b,c)};ze.prototype.runOutsideAngular=function(a){return this._outer.run(a)};
var kUb={},ye=function(){this.hasPendingMacrotasks=this.hasPendingMicrotasks=!1;this.isStable=!0;this.onUnstable=new Xu;this.onMicrotaskEmpty=new Xu;this.onStable=new Xu;this.onError=new Xu};ye.prototype.run=function(a,b,c){return a.apply(b,c)};ye.prototype.runGuarded=function(a,b,c){return a.apply(b,c)};ye.prototype.runOutsideAngular=function(a){return a()};ye.prototype.runTask=function(a,b,c){return a.apply(b,c)};var dia={destroy:function(){}},eia=function(a,b){this.phase=a;this.callbackFn=b;this.zone=Yc(ze);this.errorHandler=Yc(Ue,{optional:!0});var c;(c=Yc(oTb,{optional:!0}))==null||c.notify(6)};eia.prototype.invoke=function(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(b){var a;(a=this.errorHandler)==null||a.handleError(b)}};var De=function(){this.executingCallbacks=!1;var a={};this.buckets=(a[0]=new Set,a[1]=new Set,a[2]=new Set,a[3]=new Set,a);this.deferredCallbacks=new Set};
De.prototype.register=function(a){(this.executingCallbacks?this.deferredCallbacks:this.buckets[a.phase]).add(a)};De.prototype.unregister=function(a){this.buckets[a.phase].delete(a);this.deferredCallbacks.delete(a)};
De.prototype.execute=function(){this.executingCallbacks=!0;for(var a=l(Object.values(this.buckets)),b=a.next();!b.done;b=a.next()){b=l(b.value);for(var c=b.next();!c.done;c=b.next())c.value.invoke()}this.executingCallbacks=!1;a=l(this.deferredCallbacks);for(b=a.next();!b.done;b=a.next())b=b.value,this.buckets[b.phase].add(b);this.deferredCallbacks.clear()};De.prototype.destroy=function(){for(var a=l(Object.values(this.buckets)),b=a.next();!b.done;b=a.next())b.value.clear();this.deferredCallbacks.clear()};
var Ce=function(){this.handler=null;this.internalCallbacks=[]};Ce.prototype.execute=function(){lUb(this);var a;(a=this.handler)==null||a.execute()};var lUb=function(a){var b=[].concat(r(a.internalCallbacks));a.internalCallbacks.length=0;a=l(b);for(b=a.next();!b.done;b=a.next())b=b.value,b()};Ce.prototype.ngOnDestroy=function(){var a;(a=this.handler)==null||a.destroy();this.handler=null;this.internalCallbacks.length=0};Ce.\u0275prov=Hc({token:Ce,providedIn:"root",factory:function(){return new Ce}});new md("");var mUb=new md("",{providedIn:"root",factory:function(){return!1}});new md("");new md("");new md("");var kia=/^>|^->|\x3c!--|--\x3e|--!>|<!-$/g,lia=/(<|>)/g;var Se={};var Ke=function(a){this.changingThisBreaksApplicationSecurity=a};Ke.prototype.toString=function(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see https://g.co/ng/security#xss)"};var nUb=function(){Ke.apply(this,arguments)};X(nUb,Ke);nUb.prototype.getTypeName=function(){return"HTML"};var oUb=function(){Ke.apply(this,arguments)};X(oUb,Ke);oUb.prototype.getTypeName=function(){return"URL"};var pUb=function(){Ke.apply(this,arguments)};X(pUb,Ke);
pUb.prototype.getTypeName=function(){return"ResourceURL"};var yia;var Jia=function(a){this.inertDocumentHelper=a};Jia.prototype.getInertBodyElement=function(a){a="<body><remove></remove>"+a;try{var b=(new window.DOMParser).parseFromString(Aia(a),"text/html").body;if(b===null)return this.inertDocumentHelper.getInertBodyElement(a);b.removeChild(b.firstChild);return b}catch(c){return null}};var Iia=function(a){this.defaultDoc=a;this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")};
Iia.prototype.getInertBodyElement=function(a){var b=this.inertDocument.createElement("template");b.innerHTML=Aia(a);return b};var Bia=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;var qUb=Ne("area,br,col,hr,img,wbr"),rUb=Ne("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),sUb=Ne("rp,rt"),tUb=Oe(sUb,rUb),uUb=Oe(rUb,Ne("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")),vUb=Oe(sUb,Ne("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")),
Lia=Oe(qUb,uUb,vUb,tUb),Nia=Ne("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),wUb=Ne("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"),
xUb=Ne("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"),
Mia=Oe(Nia,wUb,xUb),Oia=Ne("script,style,template"),Kia=function(){this.buf=[]};Kia.prototype.endElement=function(a){a=Dia(a).toLowerCase();Lia.hasOwnProperty(a)&&!qUb.hasOwnProperty(a)&&(this.buf.push("</"),this.buf.push(a),this.buf.push(">"))};var Eia=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Fia=/([^#-~ |!])/g,Hia;var yUb={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 Qia;var Dja=[],Eja=Object.assign({},dTb,{consumerIsAlwaysLive:!0,consumerMarkedDirty:function(a){Tfa(a.lView)},consumerOnSignalRead:function(){this.lView[23]=this}});var zg=function(a,b,c){this._lView=a;this._cdRefInjectingView=b;this.notifyErrorHandler=c===void 0?!0:c;this._appRef=null;this._attachedToViewContainer=!1};g=zg.prototype;g.destroy=function(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){var a=this._lView[3];if(sd(a)){var b=a[8],c=b?b.indexOf(this):-1;c>-1&&(Je(a,c),tfa(b,c))}this._attachedToViewContainer=!1}ria(this._lView[1],this._lView)};g.onDestroy=function(a){Vfa(this._lView,a)};
g.markForCheck=function(){hia(this._cdRefInjectingView||this._lView,4)};g.detach=function(){this._lView[2]&=-129};g.detectChanges=function(){this._lView[2]|=1024;Bja(this._lView,this.notifyErrorHandler)};
ea.Object.defineProperties(zg.prototype,{rootNodes:{configurable:!0,enumerable:!0,get:function(){var a=this._lView,b=a[1];return zja(b,a,b.firstChild,[])}},context:{configurable:!0,enumerable:!0,get:function(){return this._lView[8]},set:function(a){this._lView[8]=a}},destroyed:{configurable:!0,enumerable:!0,get:function(){return(this._lView[2]&256)===256}}});var zUb=function(){};zUb.\u0275prov=Hc({token:zUb,providedIn:"root",factory:function(){return null}});var AUb={};var BUb=function(a){this.ngModule=a};X(BUb,tu);var CUb=function(a,b){return new Jg(b[cd]||null,a.ngModule)},DUb=function(a,b){this.injector=a;this.parentInjector=b};DUb.prototype.get=function(a,b,c){c=afa(c);var d=this.injector.get(a,AUb,c);return d!==AUb||b===AUb?d:this.parentInjector.get(a,b,c)};
var Jg=function(a,b){this.componentDef=a;this.ngModule=b;this.componentType=a.type;this.selector=a.selectors.map(hfa).join(",");this.ngContentSelectors=a.ngContentSelectors?a.ngContentSelectors:[];this.isBoundToModule=!!b};X(Jg,uTb);
Jg.prototype.create=function(a,b,c,d){var e=Oc(null);try{d=d||this.ngModule;var f,h=d instanceof qu?d:(f=d)==null?void 0:f.injector;h&&this.componentDef.getStandaloneInjector!==null&&(h=this.componentDef.getStandaloneInjector(h)||h);var k=h?new DUb(a,h):a,q=k.get(vTb,null);if(q===null)throw new Lc(407,!1);var t=k.get(zUb,null),w=k.get(Ce,null),B=k.get(oTb,null);a={rendererFactory:q,sanitizer:t,inlineEffectRunner:null,afterRenderEventManager:w,changeDetectionScheduler:B};var E=q.createRenderer(null,
this.componentDef),I=this.componentDef.selectors[0][0]||"div";if(c){var J=this.componentDef.encapsulation,N=k.get(mUb,!1)||J===3;var P=E.selectRootElement(c,N)}else{var U=I.toLowerCase();P=E.createElement(I,U==="svg"?"svg":U==="math"?"math":null)}q=P;I=512;this.componentDef.signals?I|=4096:this.componentDef.onPush||(I|=16);P=null;q!==null&&(P=null);var ba=hja(0,null,null,1,0,null,null,null,null,null,null),ma=Yia(null,ba,null,I,null,null,a,E,k,null,P);Zfa(ma);try{var na=this.componentDef;k=null;if(na.findHostDirectiveDefs){var ya=
[];k=new Map;na.findHostDirectiveDefs(na,ya,k);ya.push(na)}else ya=[na];var Pa=ma[1];ma[25]=q;var ia=Re(Pa,25,2,"#host",null);Pa=ya;for(var qa=ma[1],ua=l(Pa),Oa=ua.next();!Oa.done;Oa=ua.next())ia.mergedAttrs=$c(ia.mergedAttrs,Oa.value.hostAttrs);ia.mergedAttrs!==null&&(yja(ia,ia.mergedAttrs,!0),q!==null&&xia(E,q,ia));ua=null;q!==null&&(ua=null);var Ka=a.rendererFactory.createRenderer(q,na);Oa=16;na.signals?Oa=4096:na.onPush&&(Oa=64);var Cb=Yia(ma,cja(na),null,Oa,ma[ia.index],ia,a,Ka,null,null,ua);
qa.firstCreatePass&&lja(qa,ia,Pa.length-1);dja(ma,Cb);var Qb=ma[ia.index]=Cb;var Rb=ba.data[25];if(q)if(c)cfa(E,q,["ng-version","0.0.0-PLACEHOLDER"]);else{var Wa=na.selectors[0];c=[];ia=[];qa=1;for(Ka=2;qa<Wa.length;){var xb=Wa[qa];if(typeof xb==="string")Ka===2?xb!==""&&c.push(xb,Wa[++qa]):Ka===8&&ia.push(xb);else{if((Ka&1)!==0)break;Ka=xb}qa++}c&&cfa(E,q,c);if(ia&&ia.length>0){var Qa=ia.join(" ");Qa===""?E.removeAttribute(q,"class"):E.setAttribute(q,"class",Qa)}}if(b!==void 0){var hb=this.ngContentSelectors,
Ra=Rb.projection=[];for(E=0;E<hb.length;E++){var Jb=b[E];Ra.push(Jb!=null?Array.from(Jb):null)}}b=ya;hb=k;ya=[Hja];var ac=Bd(),Mc=ma[1],wb=vd(ac,ma);mja(Mc,ma,ac,b,null,hb);for(hb=0;hb<b.length;hb++){var kc=Ld(ma,Mc,ac.directiveStart+hb,ac);Qd(kc,ma)}eja(Mc,ma,ac);wb&&Qd(wb,ma);var Nb=Ld(ma,Mc,ac.directiveStart+ac.componentOffset,ac);Qb[8]=ma[8]=Nb;if(ya!==null)for(var tc=l(ya),od=tc.next();!od.done;od=tc.next()){var Ye=od.value;Ye(Nb,na)}bja(Mc,ac,ma);var Cg=Nb;xja(ba,ma,null)}finally{bga()}return new Yu(this.componentType,
Cg,Sd(Rb,ma),ma,Rb)}finally{Oc(e)}};ea.Object.defineProperties(Jg.prototype,{inputs:{configurable:!0,enumerable:!0,get:function(){var a=this.componentDef,b=a.inputTransforms;a=Gja(a.inputs);if(b!==null)for(var c=l(a),d=c.next();!d.done;d=c.next())d=d.value,b.hasOwnProperty(d.propName)&&(d.transform=b[d.propName]);return a}},outputs:{configurable:!0,enumerable:!0,get:function(){return Gja(this.componentDef.outputs)}}});
var Yu=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 zg(d,void 0,!1);this.componentType=a};X(Yu,tTb);
Yu.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,kja(c[1],c,d,a,b),this.previousInputValues.set(a,b),a=wd(this._tNode.index,c),hia(a,1)))};Yu.prototype.destroy=function(){this.hostView.destroy()};Yu.prototype.onDestroy=function(a){this.hostView.onDestroy(a)};
ea.Object.defineProperties(Yu.prototype,{injector:{configurable:!0,enumerable:!0,get:function(){return new Nd(this._tNode,this._rootLView)}}});var Ve=function(a,b,c){this._parent=b;this._bootstrapComponents=[];this.destroyCbs=[];this.componentFactoryResolver=new BUb(this);var d=(a[bTb]||null).bootstrap;this._bootstrapComponents=d instanceof Function?d():d;this._r3Injector=xga(a,b,[{provide:uu,useValue:this},{provide:tu,useValue:this.componentFactoryResolver}].concat(r(c)),Kc(a),new Set(["environment"]));yga(this._r3Injector);this.instance=this._r3Injector.get(a)};X(Ve,uu);
Ve.prototype.destroy=function(){var a=this._r3Injector;!a.destroyed&&a.destroy();this.destroyCbs.forEach(function(b){return b()});this.destroyCbs=null};Ve.prototype.onDestroy=function(a){this.destroyCbs.push(a)};ea.Object.defineProperties(Ve.prototype,{injector:{configurable:!0,enumerable:!0,get:function(){return this._r3Injector}}});var kta=function(a){this.moduleType=a};X(kta,jta);kta.prototype.create=function(a){return new Ve(this.moduleType,a,[])};
var Jja=function(a){this.componentFactoryResolver=new BUb(this);this.instance=null;var b=new pd([].concat(r(a.providers),[{provide:uu,useValue:this},{provide:tu,useValue:this.componentFactoryResolver}]),a.parent||Gfa(),a.debugName,new Set(["environment"]));this.injector=b;a.runEnvironmentInitializers&&yga(b)};X(Jja,uu);Jja.prototype.destroy=function(){this.injector.destroy()};Jja.prototype.onDestroy=function(a){this.injector.onDestroy(a)};var EUb=new md(""),Zu=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=Yc(EUb,{optional:!0}))!=null?b:[]},FUb=function(a){if(!a.initialized){for(var b=[],c=l(a.appInits),d=c.next(),e={};!d.done;e={initResult:void 0},d=c.next())d=d.value,e.initResult=d(),We(e.initResult)?b.push(e.initResult):Lja(e.initResult)&&(e=new Promise(function(f){return function(h,k){f.initResult.subscribe({complete:h,error:k})}}(e)),
b.push(e));Promise.all(b).then(function(){a.done=!0;a.resolve()}).catch(function(f){a.reject(f)});b.length===0&&(a.done=!0,a.resolve());a.initialized=!0}};Zu.\u0275fac=function(a){return new (a||Zu)};Zu.\u0275prov=Hc({token:Zu,factory:Zu.\u0275fac,providedIn:"root"});var $u=function(){};$u.prototype.log=function(a){console.log(a)};$u.prototype.warn=function(a){console.warn(a)};$u.\u0275fac=function(a){return new (a||$u)};$u.\u0275prov=Hc({token:$u,factory:$u.\u0275fac,providedIn:"platform"});var av=function(){this.taskId=0;this.pendingTasks=new Set;this.hasPendingTasks=new W.BehaviorSubject(!1)};av.prototype.add=function(){this._hasPendingTasks||this.hasPendingTasks.next(!0);var a=this.taskId++;this.pendingTasks.add(a);return a};av.prototype.remove=function(a){this.pendingTasks.delete(a);this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)};av.prototype.ngOnDestroy=function(){this.pendingTasks.clear();this._hasPendingTasks&&this.hasPendingTasks.next(!1)};
ea.Object.defineProperties(av.prototype,{_hasPendingTasks:{configurable:!0,enumerable:!0,get:function(){return this.hasPendingTasks.value}}});av.\u0275fac=function(a){return new (a||av)};av.\u0275prov=Hc({token:av,factory:av.\u0275fac,providedIn:"root"});var GUb=new md(""),HUb=new md(""),bv=function(a,b,c){var d=this;this._ngZone=a;this.registry=b;this._isZoneStable=!0;this._callbacks=[];this.taskTrackingZone=null;IUb||(IUb=c,JUb(b));this._watchAngularEvents();a.run(function(){d.taskTrackingZone=typeof Zone=="undefined"?null:Zone.current.get("TaskTrackingZone")})};
bv.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(){jUb();queueMicrotask(function(){a._isZoneStable=!0;a._runCallbacksIfReady()})}})})};bv.prototype.isStable=function(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks};
bv.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=KUb(this);this._callbacks=this._callbacks.filter(function(c){return c.updateCb&&c.updateCb(b)?(clearTimeout(c.timeoutId),!1):!0})}};
var KUb=function(a){return a.taskTrackingZone?a.taskTrackingZone.macroTasks.map(function(b){return{source:b.source,creationLocation:b.creationLocation,data:b.data}}):[]};g=bv.prototype;g.addCallback=function(a,b,c){var d=this,e=-1;b&&b>0&&(e=setTimeout(function(){d._callbacks=d._callbacks.filter(function(f){return f.timeoutId!==e});a()},b));this._callbacks.push({doneCb:a,timeoutId:e,updateCb:c})};g.whenStable=function(a,b,c){if(c&&!this.taskTrackingZone)throw Error("Ja");this.addCallback(a,b,c);this._runCallbacksIfReady()};
g.registerApplication=function(a){this.registry.registerApplication(a,this)};g.unregisterApplication=function(a){this.registry.unregisterApplication(a)};g.findProviders=function(){return[]};bv.\u0275fac=function(a){return new (a||bv)(n(ze),n(cv),n(HUb))};bv.\u0275prov=Hc({token:bv,factory:bv.\u0275fac});var cv=function(){this._applications=new Map};cv.prototype.registerApplication=function(a,b){this._applications.set(a,b)};cv.prototype.unregisterApplication=function(a){this._applications.delete(a)};
cv.prototype.findTestabilityInTree=function(a,b){var c,d;return(d=(c=IUb)==null?void 0:c.findTestabilityInTree(this,a,b===void 0?!0:b))!=null?d:null};cv.\u0275fac=function(a){return new (a||cv)};cv.\u0275prov=Hc({token:cv,factory:cv.\u0275fac,providedIn:"platform"});var IUb;var Nja=function(a){this.durationSelector=a};Nja.prototype.call=function(a,b){return b.subscribe(new dv(a,this.durationSelector))};var dv=function(a,b){Lu.call(this,a);this.durationSelector=b;this.value=null;this.hasValue=!1;this.throttled=null};X(dv,Lu);dv.EMPTY=Lu.EMPTY;dv.create=Lu.create;
dv.prototype._next=function(a){this.value=a;this.hasValue=!0;if(!this.throttled){try{var b=this.durationSelector;var c=b(a)}catch(d){return this.destination.error(d)}a=me(c,new Ju(this));!a||a.closed?LUb(this):this.add(this.throttled=a)}};var LUb=function(a){var b=a.value,c=a.hasValue,d=a.throttled;d&&(a.remove(d),a.throttled=null,d.unsubscribe());c&&(a.value=null,a.hasValue=!1,a.destination.next(b))};dv.prototype.notifyNext=function(){LUb(this)};dv.prototype.notifyComplete=function(){LUb(this)};var Ze=function(a,b){xu.call(this,a);this.onError=b};X(Ze,xu);Ze.EMPTY=xu.EMPTY;Ze.create=xu.create;Ze.prototype._error=function(a){this.onError(a);this.unsubscribe()};var Uja=function(a){this.durationSelector=a};Uja.prototype.call=function(a,b){return b.subscribe(new ev(a,this.durationSelector))};var ev=function(a,b){Lu.call(this,a);this.durationSelector=b;this.value=null;this.hasValue=!1;this.durationSubscription=null};X(ev,Lu);ev.EMPTY=Lu.EMPTY;ev.create=Lu.create;g=ev.prototype;g._next=function(a){try{var b=this.durationSelector.call(this,a);b&&this._tryNext(a,b)}catch(c){this.destination.error(c)}};g._complete=function(){MUb(this);this.destination.complete()};
g._tryNext=function(a,b){var c=this.durationSubscription;this.value=a;this.hasValue=!0;c&&(c.unsubscribe(),this.remove(c));(c=me(b,new Ju(this)))&&!c.closed&&this.add(this.durationSubscription=c)};g.notifyNext=function(){MUb(this)};g.notifyComplete=function(){MUb(this)};var MUb=function(a){if(a.hasValue){var b=a.value,c=a.durationSubscription;c&&(a.durationSubscription=null,c.unsubscribe(),a.remove(c));a.value=null;a.hasValue=!1;Lu.prototype._next.call(a,b)}};var Wja=function(a,b){this.dueTime=a;this.scheduler=b};Wja.prototype.call=function(a,b){return b.subscribe(new fv(a,this.dueTime,this.scheduler))};var fv=function(a,b,c){xu.call(this,a);this.dueTime=b;this.scheduler=c;this.lastValue=this.debouncedSubscription=null;this.hasValue=!1};X(fv,xu);fv.EMPTY=xu.EMPTY;fv.create=xu.create;fv.prototype._next=function(a){NUb(this);this.lastValue=a;this.hasValue=!0;this.add(this.debouncedSubscription=this.scheduler.schedule(Yja,this.dueTime,this))};
fv.prototype._complete=function(){Xja(this);this.destination.complete()};var Xja=function(a){NUb(a);if(a.hasValue){var b=a.lastValue;a.lastValue=null;a.hasValue=!1;a.destination.next(b)}},NUb=function(a){var b=a.debouncedSubscription;b!==null&&(a.remove(b),b.unsubscribe(),a.debouncedSubscription=null)};var Zja=function(a){this.defaultValue=a};Zja.prototype.call=function(a,b){return b.subscribe(new gv(a,this.defaultValue))};var gv=function(a,b){xu.call(this,a);this.defaultValue=b;this.isEmpty=!0};X(gv,xu);gv.EMPTY=xu.EMPTY;gv.create=xu.create;gv.prototype._next=function(a){this.isEmpty=!1;this.destination.next(a)};gv.prototype._complete=function(){this.isEmpty&&this.destination.next(this.defaultValue);this.destination.complete()};var aka=function(a,b){this.delay=a;this.scheduler=b};aka.prototype.call=function(a,b){return b.subscribe(new hv(a,this.delay,this.scheduler))};var hv=function(a,b,c){xu.call(this,a);this.destination=a;this.delay=b;this.scheduler=c;this.queue=[];this.active=!1};X(hv,xu);hv.EMPTY=xu.EMPTY;hv.create=xu.create;
var OUb=function(a){for(var b=a.source,c=b.queue,d=a.scheduler,e=a.destination;c.length>0&&c[0].time-d.now()<=0;)e.next(c.shift().value);c.length>0?(b=Math.max(0,c[0].time-d.now()),this.schedule(a,b)):(b.isStopped?b.destination.complete():this.unsubscribe(),b.active=!1)};hv.prototype._schedule=function(a){this.active=!0;var b=this.destination;b.add(a.schedule(OUb,this.delay,{source:this,destination:b,scheduler:a}))};
hv.prototype._next=function(a){var b=this.scheduler;a=new PUb(b.now()+this.delay,a);this.queue.push(a);this.active===!1&&this._schedule(b)};hv.prototype._error=function(a){this.queue.length=0;this.destination.error(a);this.unsubscribe()};hv.prototype._complete=function(){this.queue.length===0&&this.destination.complete();this.unsubscribe()};var PUb=function(a,b){this.time=a;this.value=b};var bka=function(a){this.compare=a;this.keySelector=void 0};bka.prototype.call=function(a,b){return b.subscribe(new iv(a,this.compare,this.keySelector))};var iv=function(a,b,c){xu.call(this,a);this.keySelector=c;this.hasKey=!1;typeof b==="function"&&(this.compare=b)};X(iv,xu);iv.EMPTY=xu.EMPTY;iv.create=xu.create;iv.prototype.compare=function(a,b){return a===b};
iv.prototype._next=function(a){try{var b=this.keySelector;var c=b?b(a):a}catch(e){return this.destination.error(e)}b=!1;if(this.hasKey)try{var d=this.compare;b=d(this.key,c)}catch(e){return this.destination.error(e)}else this.hasKey=!0;b||(this.key=c,this.destination.next(a))};var cka=function(){this.count=1};cka.prototype.call=function(a,b){return b.subscribe(new jv(a,this.count))};var jv=function(a,b){xu.call(this,a);this.count=b;this._valueCount=0};X(jv,xu);jv.EMPTY=xu.EMPTY;jv.create=xu.create;jv.prototype._next=function(a){var b=this.count,c=++this._valueCount;c<=b&&(this.destination.next(a),c===b&&(this.destination.complete(),this.unsubscribe()))};var eka=function(a){this.errorFactory=a};eka.prototype.call=function(a,b){return b.subscribe(new kv(a,this.errorFactory))};var kv=function(a,b){xu.call(this,a);this.errorFactory=b;this.hasValue=!1};X(kv,xu);kv.EMPTY=xu.EMPTY;kv.create=xu.create;kv.prototype._next=function(a){this.hasValue=!0;this.destination.next(a)};kv.prototype._complete=function(){if(this.hasValue)return this.destination.complete();try{var a=this.errorFactory()}catch(b){a=b}this.destination.error(a)};var gka=function(a){this.callback=a};gka.prototype.call=function(a,b){a=b.subscribe(a);a.add(this.callback);return a};var hka=function(){};hka.prototype.call=function(a,b){return b.subscribe(new lv(a))};var lv=function(){xu.apply(this,arguments)};X(lv,xu);lv.EMPTY=xu.EMPTY;lv.create=xu.create;lv.prototype._next=function(){};var jka=function(){this.total=1};jka.prototype.call=function(a,b){return b.subscribe(new mv(a,this.total))};var mv=function(a,b){xu.call(this,a);this.total=b;this.ring=[];this.count=0};X(mv,xu);mv.EMPTY=xu.EMPTY;mv.create=xu.create;mv.prototype._next=function(a){var b=this.ring,c=this.total,d=this.count++;b.length<c?b.push(a):b[d%c]=a};
mv.prototype._complete=function(){var a=this.destination,b=this.count;if(b>0)for(var c=this.count>=this.total?this.total:this.count,d=this.ring,e=0;e<c;e++){var f=b++%c;a.next(d[f])}a.complete()};var mka=function(a){this.value=a};mka.prototype.call=function(a,b){return b.subscribe(new nv(a,this.value))};var nv=function(a,b){xu.call(this,a);this.value=b};X(nv,xu);nv.EMPTY=xu.EMPTY;nv.create=xu.create;nv.prototype._next=function(){this.destination.next(this.value)};var nka=function(a,b,c){this.accumulator=a;this.seed=b;this.hasSeed=c===void 0?!1:c};nka.prototype.call=function(a,b){return b.subscribe(new ov(a,this.accumulator,this.seed,this.hasSeed))};var ov=function(a,b,c,d){xu.call(this,a);this.accumulator=b;this._state=c;this._hasState=d;this.index=0};X(ov,xu);ov.EMPTY=xu.EMPTY;ov.create=xu.create;
ov.prototype._next=function(a){var b=this.destination;if(this._hasState){var c=this.index++;try{var d=this.accumulator(this._state,a,c)}catch(e){b.error(e);return}this._state=d;b.next(d)}else this._state=a,this._hasState=!0,b.next(a)};var wka=function(a){this.total=a};wka.prototype.call=function(a,b){return b.subscribe(new pv(a,this.total))};var pv=function(a,b){xu.call(this,a);this.total=b;this.count=0};X(pv,xu);pv.EMPTY=xu.EMPTY;pv.create=xu.create;pv.prototype._next=function(a){++this.count>this.total&&this.destination.next(a)};var xka=function(a){this.project=a};xka.prototype.call=function(a,b){return b.subscribe(new qv(a,this.project))};var qv=function(a,b){Lu.call(this,a);this.destination=a;this.project=b;this.index=0};X(qv,Lu);qv.EMPTY=Lu.EMPTY;qv.create=Lu.create;qv.prototype._next=function(a){var b=this.index++;try{var c=this.project(a,b)}catch(d){this.destination.error(d);return}(a=this.innerSubscription)&&a.unsubscribe();a=new Ju(this);this.destination.add(a);this.innerSubscription=a;me(c,a)};
qv.prototype._complete=function(){var a=this.innerSubscription;a&&!a.closed||Lu.prototype._complete.call(this);this.innerSubscription=void 0;this.unsubscribe()};qv.prototype.notifyComplete=function(){this.innerSubscription=void 0;this.isStopped&&Lu.prototype._complete.call(this)};qv.prototype.notifyNext=function(a){this.destination.next(a)};var zka=function(a,b){this.predicate=a;this.inclusive=b};zka.prototype.call=function(a,b){return b.subscribe(new rv(a,this.predicate,this.inclusive))};var rv=function(a,b,c){xu.call(this,a);this.predicate=b;this.inclusive=c;this.index=0};X(rv,xu);rv.EMPTY=xu.EMPTY;rv.create=xu.create;rv.prototype._next=function(a){var b=this.destination;try{var c=this.predicate(a,this.index++)}catch(d){b.error(d);return}b=this.destination;c?b.next(a):(this.inclusive&&b.next(a),b.complete())};var rf=function(a,b,c,d){xu.call(this,a);this.onNext=b;this.onError=c;this.onComplete=d};X(rf,xu);rf.EMPTY=xu.EMPTY;rf.create=xu.create;rf.prototype._next=function(a){this.onNext(a);xu.prototype._next.call(this,a)};rf.prototype._error=function(a){this.onError(a);xu.prototype._error.call(this,a)};rf.prototype._complete=function(){this.onComplete();xu.prototype._complete.call(this)};var Bka={leading:!0,trailing:!1},Cka=function(a,b,c){this.durationSelector=a;this.leading=b;this.trailing=c};Cka.prototype.call=function(a,b){return b.subscribe(new sv(a,this.durationSelector,this.leading,this.trailing))};var sv=function(a,b,c,d){Lu.call(this,a);this.destination=a;this.durationSelector=b;this._leading=c;this._trailing=d;this._sendValue=null;this._hasValue=!1};X(sv,Lu);sv.EMPTY=Lu.EMPTY;sv.create=Lu.create;
sv.prototype._next=function(a){this._hasValue=!0;this._sendValue=a;this._throttled||(this._leading?this.send():QUb(this,a))};sv.prototype.send=function(){var a=this._sendValue;this._hasValue&&(this.destination.next(a),QUb(this,a));this._hasValue=!1;this._sendValue=null};var QUb=function(a,b){try{var c=a.durationSelector(b)}catch(d){a.destination.error(d);return}a.add(a._throttled=me(c,new Ju(a)))},RUb=function(a){var b=a._throttled,c=a._trailing;b&&b.unsubscribe();a._throttled=null;c&&a.send()};
sv.prototype.notifyNext=function(){RUb(this)};sv.prototype.notifyComplete=function(){RUb(this)};var Eka=function(a,b){this.observables=a;this.project=b};Eka.prototype.call=function(a,b){return b.subscribe(new tv(a,this.observables,this.project))};var tv=function(a,b,c){Mu.call(this,a);this.project=c;this.toRespond=[];a=b.length;this.values=Array(a);for(c=0;c<a;c++)this.toRespond.push(c);for(c=0;c<a;c++)this.add(me(b[c],new Ku(this,void 0,c)))};X(tv,Mu);tv.EMPTY=Mu.EMPTY;tv.create=Mu.create;
tv.prototype.notifyNext=function(a,b,c){this.values[c]=b;b=this.toRespond;b.length>0&&(c=b.indexOf(c),c!==-1&&b.splice(c,1))};tv.prototype.notifyComplete=function(){};tv.prototype._next=function(a){this.toRespond.length===0&&(a=[a].concat(r(this.values)),this.project?this._tryProject(a):this.destination.next(a))};tv.prototype._tryProject=function(a){try{var b=this.project.apply(this,a)}catch(c){this.destination.error(c);return}this.destination.next(b)};var SUb=new md(""),uv=function(){this._bootstrapListeners=[];this._destroyed=this._runningTick=!1;this._destroyListeners=[];this._views=[];this.internalErrorHandler=Yc(uma);this.afterRenderEffectManager=Yc(Ce);this.zonelessEnabled=Yc(pTb);this.externalTestViews=new Set;this.beforeRender=new W.Subject;this.afterTick=new W.Subject;this.componentTypes=[];this.components=[];this.isStable=Yc(av).hasPendingTasks.pipe(y(function(a){return!a}));this._injector=Yc(qu)};
uv.prototype.bootstrap=function(a,b){var c=this,d=a instanceof uTb;if(!this._injector.get(Zu).done)throw new Lc(405,!1);var e;d?e=a:e=CUb(this._injector.get(tu),a);this.componentTypes.push(e.componentType);a=e.isBoundToModule?void 0:this._injector.get(uu);var f=e.create(nTb,[],b||e.selector,a),h=f.location.nativeElement,k=f.injector.get(GUb,null);k==null||k.registerApplication(h);f.onDestroy(function(){c.detachView(f.hostView);Ika(c.components,f);k==null||k.unregisterApplication(h)});this._loadComponent(f);
return f};uv.prototype.tick=function(){this._tick(!0)};uv.prototype._tick=function(a){if(this._runningTick)throw new Lc(101,!1);var b=Oc(null);try{this._runningTick=!0,TUb(this,a)}catch(c){this.internalErrorHandler(c)}finally{this._runningTick=!1,Oc(b),this.afterTick.next()}};
var TUb=function(a,b){var c=null;a._injector.destroyed||(c=a._injector.get(vTb,null,{optional:!0}));for(var d=0,e=a.afterRenderEffectManager;d<10;){var f=d===0;if(b||!f){a.beforeRender.next(f);for(var h=l(a._views),k=h.next();!k.done;k=h.next())k=k.value,Jka(k._lView,k.notifyErrorHandler,f,a.zonelessEnabled)}else k=h=f=void 0,(f=c)==null||(k=(h=f).begin)==null||k.call(h),k=h=f=void 0,(f=c)==null||(k=(h=f).end)==null||k.call(h);d++;lUb(e);if(!a.allViews.some(function(q){return yd(q._lView)})&&(e.execute(),
!a.allViews.some(function(q){return yd(q._lView)})))break}},UUb=function(a,b){a._views.push(b);if(b._attachedToViewContainer)throw new Lc(902,!1);b._appRef=a;a=(b._lView[2]&512)!==0;var c=b._lView[16];c===null||a||oia(c,b._lView);Ufa(b._lView)};g=uv.prototype;g.detachView=function(a){Ika(this._views,a);a._appRef=null;var b=(a._lView[2]&512)!==0,c=a._lView[16];c===null||b||pia(c,a._lView);nia(a._lView[1],a._lView)};
g._loadComponent=function(a){UUb(this,a.hostView);this.tick();this.components.push(a);var b=this._injector.get(SUb,[]);[].concat(r(this._bootstrapListeners),r(b)).forEach(function(c){return c(a)})};g.ngOnDestroy=function(){if(!this._destroyed)try{this._destroyListeners.forEach(function(a){return a()}),this._views.slice().forEach(function(a){return a.destroy()})}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}};
g.onDestroy=function(a){var b=this;this._destroyListeners.push(a);return function(){return Ika(b._destroyListeners,a)}};g.destroy=function(){if(this._destroyed)throw new Lc(406,!1);var a=this._injector;a.destroy&&!a.destroyed&&a.destroy()};
ea.Object.defineProperties(uv.prototype,{allViews:{configurable:!0,enumerable:!0,get:function(){return[].concat(r(this.externalTestViews.keys()),r(this._views))}},destroyed:{configurable:!0,enumerable:!0,get:function(){return this._destroyed}},injector:{configurable:!0,enumerable:!0,get:function(){return this._injector}},viewCount:{configurable:!0,enumerable:!0,get:function(){return this._views.length}}});uv.\u0275fac=function(a){return new (a||uv)};
uv.\u0275prov=Hc({token:uv,factory:uv.\u0275fac,providedIn:"root"});var dg=function(){};dg.__NG_ELEMENT_ID__=Pka;var uf=function(a,b,c){this._lContainer=a;this._hostTNode=b;this._hostLView=c};X(uf,dg);uf.__NG_ELEMENT_ID__=dg.__NG_ELEMENT_ID__;g=uf.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=VUb(a,b||{},e,null);WUb(this,a,d,Mka(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 Jg(a[cd]||null);c=c||this.parentInjector;e||a.ngModule!=null||(f=(f?c:this.parentInjector).get(qu,null))&&(e=f);d=a.create(c,d,null,e);WUb(this,d.hostView,b,Mka(this._hostTNode,null));return d};g.insert=function(a,b){return WUb(this,a,b,!0)};
var WUb=function(a,b,c,d){var e=b._lView;if(sd(e[3])){var f=a.indexOf(b);f!==-1?a.detach(f):(f=e[3],f=new uf(f,f[5],f[3]),f.detach(f.indexOf(b)))}c=a._adjustIndex(c);a=a._lContainer;Nka(a,e,c,d);if(b._appRef)throw new Lc(902,!1);b._attachedToViewContainer=!0;d=Qka(a);c>=d.length?d.push(b):d.splice(c,0,b);return b};g=uf.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=Je(this._lContainer,a);b&&(tfa(Qka(this._lContainer),a),ria(b[1],b))};g.detach=function(a){a=this._adjustIndex(a,-1);var b=Je(this._lContainer,a);return b&&tfa(Qka(this._lContainer),a)!=null?new zg(b):null};g._adjustIndex=function(a,b){return a==null?this.length+(b===void 0?0:b):a};
ea.Object.defineProperties(uf.prototype,{element:{configurable:!0,enumerable:!0,get:function(){return Sd(this._hostTNode,this._hostLView)}},injector:{configurable:!0,enumerable:!0,get:function(){return new Nd(this._hostTNode,this._hostLView)}},parentInjector:{configurable:!0,enumerable:!0,get:function(){var a=nga(this._hostTNode,this._hostLView);if(a!==-1){var b=gga(a,this._hostLView);return new Nd(b[1].data[(a&32767)+8],b)}return new Nd(null,this._hostLView)}},length:{configurable:!0,enumerable:!0,
get:function(){return this._lContainer.length-10}}});var Rka=Ska;var Wka=Yka;new md("DEFER_BLOCK_DEPENDENCY_INTERCEPTOR");new md("");var Ff=0,Gf=0,Hf=0,kla=0,mla=0;var XUb=function(){};XUb.prototype.destroy=function(){};XUb.prototype.updateValue=function(){};var zla=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)};XUb.prototype.move=function(a,b){this.attach(b,this.detach(a))};var Ala=function(){this.kvMap=new Map;this._vMap=void 0};g=Ala.prototype;g.has=function(a){return this.kvMap.has(a)};
g.delete=function(a){if(!this.has(a))return!1;var b=this.kvMap.get(a);this._vMap!==void 0&&this._vMap.has(b)?(this.kvMap.set(a,this._vMap.get(b)),this._vMap.delete(b)):this.kvMap.delete(a);return!0};g.get=function(a){return this.kvMap.get(a)};g.set=function(a,b){if(this.kvMap.has(a)){a=this.kvMap.get(a);this._vMap===void 0&&(this._vMap=new Map);for(var c=this._vMap;c.has(a);)a=c.get(a);c.set(a,b)}else this.kvMap.set(a,b)};
g.forEach=function(a){for(var b=l(this.kvMap),c=b.next();!c.done;c=b.next()){var d=l(c.value);c=d.next().value;d=d.next().value;a(d,c);if(this._vMap!==void 0)for(var e=this._vMap;e.has(d);)d=e.get(d),a(d,c)}};var YUb=function(a,b,c){this.lContainer=a;this.$implicit=b;this.$index=c};ea.Object.defineProperties(YUb.prototype,{$count:{configurable:!0,enumerable:!0,get:function(){return this.lContainer.length-10}}});var Gla=function(a){this.trackByFn=a;this.liveCollection=void 0},Hla=function(a,b,c){this.lContainer=a;this.hostLView=b;this.templateTNode=c;this.operationsCounter=void 0;this.needsIndexUpdate=!1};X(Hla,XUb);g=Hla.prototype;g.at=function(a){return Lka(this.lContainer,a)[8].$implicit};
g.attach=function(a,b){var c=b[6];this.needsIndexUpdate||(this.needsIndexUpdate=a!==this.length);Nka(this.lContainer,b,a,Mka(this.templateTNode,c))};g.detach=function(a){this.needsIndexUpdate||(this.needsIndexUpdate=a!==this.length-1);return Je(this.lContainer,a)};g.create=function(a,b){a=Kka(this.hostLView,this.templateTNode,new YUb(this.lContainer,b,a),{dehydratedView:null});var c;(c=this.operationsCounter)==null||c.recordCreate();return a};
g.destroy=function(a){ria(a[1],a);var b;(b=this.operationsCounter)==null||b.recordDestroy()};g.updateValue=function(a,b){Lka(this.lContainer,a)[8].$implicit=b};g.reset=function(){this.needsIndexUpdate=!1;var a;(a=this.operationsCounter)==null||a.reset()};ea.Object.defineProperties(Hla.prototype,{length:{configurable:!0,enumerable:!0,get:function(){return this.lContainer.length-10}}});var Jla=["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 Kla={};var eg=function(a){this._emitDistinctChangesOnly=a=a===void 0?!1:a;this.dirty=!0;this._onDirty=void 0;this._results=[];this._changesDetected=!1;this._changes=void 0;this.length=0;this.last=this.first=void 0;var b=eg.prototype;b[Symbol.iterator]||(b[Symbol.iterator]=Pla)};g=eg.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 ig=function(a){a._changes===void 0||!a._changesDetected&&a._emitDistinctChangesOnly||a._changes.emit(a)};
eg.prototype.setDirty=function(){this.dirty=!0;var a;(a=this._onDirty)==null||a.call(this)};eg.prototype.destroy=function(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())};ea.Object.defineProperties(eg.prototype,{changes:{configurable:!0,enumerable:!0,get:function(){var a;return(a=this._changes)!=null?a:this._changes=new Xu}}});Symbol.iterator;var cg=function(){};cg.__NG_ELEMENT_ID__=Rla;var bg=function(a,b,c){this._declarationLView=a;this._declarationTContainer=b;this.elementRef=c};X(bg,cg);bg.__NG_ELEMENT_ID__=cg.__NG_ELEMENT_ID__;bg.prototype.createEmbeddedView=function(a,b){return VUb(this,a,b)};var VUb=function(a,b,c,d){a=Kka(a._declarationLView,a._declarationTContainer,b,{embeddedViewInjector:c,dehydratedView:d});return new zg(a)};
ea.Object.defineProperties(bg.prototype,{ssrId:{configurable:!0,enumerable:!0,get:function(){var a;return((a=this._declarationTContainer.tView)==null?void 0:a.ssrId)||null}}});var Vla=function(a){this.queryList=a;this.matches=null};Vla.prototype.clone=function(){return new Vla(this.queryList)};Vla.prototype.setDirty=function(){this.queryList.setDirty()};var Ula=function(a){this.queries=a=a===void 0?[]:a};Ula.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 Ula(c)}return null};
Ula.prototype.detachView=function(a){wja(this,a)};var wja=function(a,b){for(var c=0;c<a.queries.length;c++)b.queries.queries[c].matches!==null&&a.queries[c].setDirty()},Yla=function(a,b,c){this.flags=b;this.read=c===void 0?null:c;typeof a==="string"?this.predicate=Zla(a):this.predicate=a},$la=function(a){this.queries=a=a===void 0?[]:a};g=$la.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 $la(b):null};g.template=function(a,b){for(var c=0;c<this.queries.length;c++)this.queries[c].template(a,b)};g.track=function(a){this.queries.push(a)};ea.Object.defineProperties($la.prototype,{length:{configurable:!0,enumerable:!0,get:function(){return this.queries.length}}});
var hg=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};
hg.prototype.elementStart=function(a,b){if(ZUb(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}$Ub(this,a,b,f);$Ub(this,a,b,uga(b,a,e,!1,!1))}else c===cg?b.type&4&&$Ub(this,a,b,-1):$Ub(this,a,b,uga(b,a,c,!1,!1))}};hg.prototype.elementEnd=function(a){this._declarationNodeIndex===a.index&&(this._appliesToNextNode=!1)};
hg.prototype.template=function(a,b){this.elementStart(a,b)};hg.prototype.embeddedTView=function(a,b){return ZUb(this,a)?(this.crossesNgTemplate=!0,aVb(this,-a.index,b),new hg(this.metadata)):null};
var ZUb=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},$Ub=function(a,b,c,d){if(d!==null){var e=a.metadata.read;e!==null?e===Rd||e===dg||e===cg&&c.type&4?aVb(a,c.index,-2):(b=uga(c,b,e,!1,!1),b!==null&&aVb(a,c.index,b)):aVb(a,c.index,d)}},aVb=function(a,b,c){a.matches===null?a.matches=[b,c]:a.matches.push(b,c)};var rg=function(a){this._injector=a;this.cachedInjectors=new Map};rg.prototype.ngOnDestroy=function(){try{for(var a=l(this.cachedInjectors.values()),b=a.next();!b.done;b=a.next()){var c=b.value;c!==null&&c.destroy()}}finally{this.cachedInjectors.clear()}};rg.\u0275prov=Hc({token:rg,providedIn:"environment",factory:function(){return new rg(n(qu))}});var vv=function(){};vv.\u0275fac=function(a){return new (a||vv)(n(uv))};vv.\u0275mod=dd({type:vv});vv.\u0275inj=Ic({});Object.assign({},Qea,{transformFn:void 0,applyValueToInputSignal:function(a,b){Tea(a,b)}});var Ig=function(){};Ig.__NG_ELEMENT_ID__=rma;var bVb=function(){};bVb.prototype.supports=function(a){return Uka(a)};bVb.prototype.create=function(a){return new cVb(a)};var dVb=function(a,b){return b},cVb=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||dVb};
cVb.prototype.forEachItem=function(a){var b;for(b=this._itHead;b!==null;b=b._next)a(b)};
var eVb=function(a,b){var c=a._itHead;a=a._removalsHead;for(var d=0,e=null;c||a;){var f=!a||c&&c.currentIndex<sma(a,d,e)?c:a,h=sma(f,d,e),k=f.currentIndex;if(f===a)d--,a=a._nextRemoved;else if(c=c._next,f.previousIndex==null)d++;else{e||(e=[]);var q=h-d,t=k-d;if(q!=t){for(var w=0;w<q;w++){var B=w<e.length?e[w]:e[w]=0,E=B+w;t<=E&&E<q&&(e[w]=B+1)}e[f.previousIndex]=t-q}}h!==k&&b(f,h,k)}},fVb=function(a,b){for(a=a._identityChangesHead;a!==null;a=a._nextIdentityChange)b(a)};g=cVb.prototype;
g.diff=function(a){a==null&&(a=[]);if(!Uka(a))throw new Lc(900,!1);return this.check(a)?this:null};g.onDestroy=function(){};
g.check=function(a){var b=this;this._reset();var c=this._itHead,d=!1;if(Array.isArray(a)){this.length=a.length;for(var e=0;e<this.length;e++){var f=a[e];var h=this._trackByFn(e,f);c!==null&&Object.is(c.trackById,h)?(d&&(c=this._verifyReinsertion(c,f,h,e)),Object.is(c.item,f)||this._addIdentityChange(c,f)):(c=this._mismatch(c,f,h,e),d=!0);c=c._next}}else{var k=0;Vka(a,function(q){h=b._trackByFn(k,q);c!==null&&Object.is(c.trackById,h)?(d&&(c=b._verifyReinsertion(c,q,h,k)),Object.is(c.item,q)||b._addIdentityChange(c,
q)):(c=b._mismatch(c,q,h,k),d=!0);c=c._next;k++});this.length=k}this._truncate(c);this.collection=a;return this.isDirty};
g._reset=function(){if(this.isDirty){var a;for(a=this._previousItHead=this._itHead;a!==null;a=a._next)a._nextPrevious=a._next;for(a=this._additionsHead;a!==null;a=a._nextAdded)a.previousIndex=a.currentIndex;this._additionsHead=this._additionsTail=null;for(a=this._movesHead;a!==null;a=a._nextMoved)a.previousIndex=a.currentIndex;this._identityChangesHead=this._identityChangesTail=this._removalsHead=this._removalsTail=this._movesHead=this._movesTail=null}};
g._mismatch=function(a,b,c,d){if(a===null)var e=this._itTail;else e=a._prev,this._remove(a);a=this._unlinkedRecords===null?null:this._unlinkedRecords.get(c,null);a!==null?(Object.is(a.item,b)||this._addIdentityChange(a,b),this._reinsertAfter(a,e,d)):(a=this._linkedRecords===null?null:this._linkedRecords.get(c,d),a!==null?(Object.is(a.item,b)||this._addIdentityChange(a,b),this._moveAfter(a,e,d)):a=this._addAfter(new gVb(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 wv);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 wv);this._unlinkedRecords.put(a);a.currentIndex=null;a._nextRemoved=null;this._removalsTail===null?(this._removalsTail=this._removalsHead=a,a._prevRemoved=null):(a._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=a);return a};
g._addIdentityChange=function(a,b){a.item=b;this._identityChangesTail=this._identityChangesTail===null?this._identityChangesHead=a:this._identityChangesTail._nextIdentityChange=a;return a};ea.Object.defineProperties(cVb.prototype,{isDirty:{configurable:!0,enumerable:!0,get:function(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}}});
var gVb=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},hVb=function(){this._tail=this._head=null};hVb.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)};
hVb.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};hVb.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 wv=function(){this.map=new Map};wv.prototype.put=function(a){var b=a.trackById,c=this.map.get(b);c||(c=new hVb,this.map.set(b,c));c.add(a)};
wv.prototype.get=function(a,b){var c=this.map.get(a);return c?c.get(a,b):null};wv.prototype.remove=function(a){var b=a.trackById;this.map.get(b).remove(a)&&this.map.delete(b);return a};wv.prototype.clear=function(){this.map.clear()};ea.Object.defineProperties(wv.prototype,{isEmpty:{configurable:!0,enumerable:!0,get:function(){return this.map.size===0}}});var iVb=function(){};iVb.prototype.supports=function(a){return a instanceof Map||Tka(a)};iVb.prototype.create=function(){return new jVb};var jVb=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=jVb.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||Tka(a)))throw new Lc(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 kVb(a);this._records.set(a,c);c.currentValue=b;this._addToAdditions(c);return c};
g._reset=function(){if(this.isDirty){var a;for(a=this._previousMapHead=this._mapHead;a!==null;a=a._next)a._nextPrevious=a._next;for(a=this._changesHead;a!==null;a=a._nextChanged)a.previousValue=a.currentValue;for(a=this._additionsHead;a!=null;a=a._nextAdded)a.previousValue=a.currentValue;this._removalsHead=this._additionsHead=this._additionsTail=this._changesHead=this._changesTail=null}};
g._maybeAddToChanges=function(a,b){Object.is(b,a.currentValue)||(a.previousValue=a.currentValue,a.currentValue=b,this._addToChanges(a))};g._addToAdditions=function(a){this._additionsHead===null?this._additionsHead=this._additionsTail=a:this._additionsTail=this._additionsTail._nextAdded=a};g._addToChanges=function(a){this._changesHead===null?this._changesHead=this._changesTail=a:this._changesTail=this._changesTail._nextChanged=a};
g._forEach=function(a,b){a instanceof Map?a.forEach(b):Object.keys(a).forEach(function(c){return b(a[c],c)})};ea.Object.defineProperties(jVb.prototype,{isDirty:{configurable:!0,enumerable:!0,get:function(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}}});var kVb=function(a){this.key=a;this._nextChanged=this._nextRemoved=this._nextAdded=this._prev=this._next=this._nextPrevious=this.currentValue=this.previousValue=null};var xv=function(a){this.factories=a};xv.prototype.find=function(a){var b=this.factories.find(function(c){return c.supports(a)});if(b!=null)return b;throw new Lc(901,!1);};xv.\u0275prov=Hc({token:xv,providedIn:"root",factory:function(){return new xv([new bVb])}});var yv=function(a){this.factories=a};yv.prototype.find=function(a){var b=this.factories.find(function(c){return c.supports(a)});if(b)return b;throw new Lc(901,!1);};yv.\u0275prov=Hc({token:yv,providedIn:"root",factory:function(){return new yv([new iVb])}});var zv=function(){var a=this;this.appRef=Yc(uv);this.taskService=Yc(av);this.ngZone=Yc(ze);this.zonelessEnabled=Yc(pTb);var b;this.disableScheduling=(b=Yc(wma,{optional:!0}))!=null?b:!1;this.zoneIsDefined=typeof Zone!=="undefined"&&!!Zone.root.run;this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];this.subscriptions=new W.Subscription;this.cancelScheduledCallback=null;this.runningTick=this.useMicrotaskScheduler=this.shouldRefreshViews=!1;this.pendingRenderTaskId=null;this.subscriptions.add(this.appRef.afterTick.subscribe(function(){a.runningTick||
a.cleanup()}));this.subscriptions.add(this.ngZone.onUnstable.subscribe(function(){a.runningTick||a.cleanup()}));this.disableScheduling||(this.disableScheduling=!this.zonelessEnabled&&(this.ngZone instanceof ye||!this.zoneIsDefined))};
zv.prototype.notify=function(a){var b=this;if(this.zonelessEnabled||a!==5){switch(a){case 3:case 2:case 0:case 4:case 5:case 1:this.shouldRefreshViews=!0}if(!(this.disableScheduling||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&iUb())){var c=this.useMicrotaskScheduler?Vha:Uha;this.pendingRenderTaskId=this.taskService.add();this.zoneIsDefined?Zone.root.run(function(){b.cancelScheduledCallback=c(function(){b.tick(b.shouldRefreshViews)})}):
this.cancelScheduledCallback=c(function(){b.tick(b.shouldRefreshViews)})}}};zv.prototype.tick=function(a){var b=this;if(!this.runningTick&&!this.appRef.destroyed){var c=this.taskService.add();try{this.ngZone.run(function(){b.runningTick=!0;b.appRef._tick(a)},void 0,this.schedulerTickApplyArgs)}catch(d){throw this.taskService.remove(c),d;}finally{this.cleanup()}this.useMicrotaskScheduler=!0;Vha(function(){b.useMicrotaskScheduler=!1;b.taskService.remove(c)})}};
zv.prototype.ngOnDestroy=function(){this.subscriptions.unsubscribe();this.cleanup()};zv.prototype.cleanup=function(){this.runningTick=this.shouldRefreshViews=!1;var a;(a=this.cancelScheduledCallback)==null||a.call(this);this.cancelScheduledCallback=null;this.pendingRenderTaskId!==null&&(a=this.pendingRenderTaskId,this.pendingRenderTaskId=null,this.taskService.remove(a))};zv.\u0275fac=function(a){return new (a||zv)};zv.\u0275prov=Hc({token:zv,factory:zv.\u0275fac,providedIn:"root"});var Ag=function(){this.zone=Yc(ze);this.changeDetectionScheduler=Yc(oTb);this.applicationRef=Yc(uv)};Ag.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()})}}))};Ag.prototype.ngOnDestroy=function(){var a;(a=this._onMicrotaskEmptySubscription)==null||a.unsubscribe()};
Ag.\u0275fac=function(a){return new (a||Ag)};Ag.\u0275prov=Hc({token:Ag,factory:Ag.\u0275fac,providedIn:"root"});new md("",{factory:function(){return!1}});var Bg=function(){this.subscription=new W.Subscription;this.initialized=!1;this.zone=Yc(ze);this.pendingTasks=Yc(av)};
Bg.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(){jUb();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(!iUb())throw new Lc(909,
!1);b!=null||(b=a.pendingTasks.add())}))}};Bg.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()};Bg.\u0275fac=function(a){return new (a||Bg)};Bg.\u0275prov=Hc({token:Bg,factory:Bg.\u0275fac,providedIn:"root"});var ih=new md("",{providedIn:"root",factory:function(){return Yc(ih,12)||(typeof UQb!=="undefined"?"en-US":typeof $localize!=="undefined"&&$localize.locale||"en-US")}});new md("",{providedIn:"root",factory:function(){return"USD"}});new md("");new md("");var Av=function(){};Av.prototype.getModuleId=function(){};Av.\u0275fac=function(a){return new (a||Av)};Av.\u0275prov=Hc({token:Av,factory:Av.\u0275fac,providedIn:"root"});new md("");var Ema=new md(""),Eg=function(a){this._injector=a;this._modules=[];this._destroyListeners=[];this._destroyed=!1},lVb=function(a,b,c){var d=cia(c==null?void 0:c.ngZone,tma({eventCoalescing:c==null?void 0:c.ngZoneEventCoalescing,runCoalescing:c==null?void 0:c.ngZoneRunCoalescing}));return d.run(function(){var e=Ija(b.moduleType,a.injector,[].concat(r(xma({ngZoneFactory:function(){return d},ignoreChangesOutsideZone:c==null?void 0:c.ignoreChangesOutsideZone})),[{provide:oTb,useExisting:zv}])),f=e.injector.get(Ue,
null);d.runOutsideAngular(function(){var h=d.onError.subscribe({next:function(k){f.handleError(k)}});e.onDestroy(function(){Ika(a._modules,e);h.unsubscribe()})});return Gka(f,d,function(){var h=e.injector.get(Zu);FUb(h);return h.donePromise.then(function(){e.injector.get(ih,"en-US");a._moduleDoBootstrap(e);return e})})})},nVb=function(){var a=mVb(),b=Bv;var c=c===void 0?[]:c;var d=Hka({},c);Promise.resolve(new kta(b)).then(function(e){return lVb(a,e,d)})};
Eg.prototype._moduleDoBootstrap=function(a){var b=a.injector.get(uv);if(a._bootstrapComponents.length>0)a._bootstrapComponents.forEach(function(c){return b.bootstrap(c)});else if(a.instance.ngDoBootstrap)a.instance.ngDoBootstrap(b);else throw new Lc(-403,!1);this._modules.push(a)};Eg.prototype.onDestroy=function(a){this._destroyListeners.push(a)};
Eg.prototype.destroy=function(){if(this._destroyed)throw new Lc(404,!1);this._modules.slice().forEach(function(b){return b.destroy()});this._destroyListeners.forEach(function(b){return b()});var a=this._injector.get(Ema,null);a&&(a.forEach(function(b){return b()}),a.clear());this._destroyed=!0};ea.Object.defineProperties(Eg.prototype,{injector:{configurable:!0,enumerable:!0,get:function(){return this._injector}},destroyed:{configurable:!0,enumerable:!0,get:function(){return this._destroyed}}});
Eg.\u0275fac=function(a){return new (a||Eg)(n(Ae))};Eg.\u0275prov=Hc({token:Eg,factory:Eg.\u0275fac,providedIn:"platform"});var Dg=null,zma=new md("");/*

 Copyright 2024 Google, Inc
 SPDX-License-Identifier: MIT
*/
Symbol.for("propagationStopped");var Hma=new md("",{providedIn:"root",factory:function(){return Yc(oVb)}}),oVb=function(){};oVb.\u0275prov=Hc({token:oVb,providedIn:"root",factory:function(){return new pVb}});var pVb=function(){this.queuedEffectCount=0;this.queues=new Map;this.pendingTasks=Yc(av);this.taskId=null},qVb=function(a,b){a.enqueue(b);if(a.taskId===null){var c=a.taskId=a.pendingTasks.add();queueMicrotask(function(){a.flush();a.pendingTasks.remove(c);a.taskId=null})}};
pVb.prototype.enqueue=function(a){var b=a.creationZone;this.queues.has(b)||this.queues.set(b,new Set);b=this.queues.get(b);b.has(a)||(this.queuedEffectCount++,b.add(a))};pVb.prototype.flush=function(){for(var a=this;this.queuedEffectCount>0;)for(var b=l(this.queues),c=b.next(),d={};!c.done;d={queue$jscomp$5:void 0},c=b.next()){var e=l(c.value);c=e.next().value;e=e.next().value;d.queue$jscomp$5=e;c===null?rVb(this,d.queue$jscomp$5):c.run(function(f){return function(){return rVb(a,f.queue$jscomp$5)}}(d))}};
var rVb=function(a,b){for(var c=l(b),d=c.next();!d.done;d=c.next())d=d.value,b.delete(d),a.queuedEffectCount--,d.run()},Gma=function(a,b,c,d,e,f){var h=this;this.scheduler=a;this.effectFn=b;this.creationZone=c;this.injector=e;this.watcher=Wea(function(k){try{h.effectFn(k)}catch(t){var q;(q=h.injector.get(Ue,null,{optional:!0}))==null||q.handleError(t)}},function(){return h.schedule()},f);this.unregisterOnDestroy=d==null?void 0:d.onDestroy(function(){return h.destroy()})};Gma.prototype.run=function(){this.watcher.run()};
Gma.prototype.schedule=function(){qVb(this.scheduler,this)};Gma.prototype.destroy=function(){this.watcher.destroy();var a;(a=this.unregisterOnDestroy)==null||a.call(this)};var sVb=Cma(null,"core",[]);new md("@ngrx/store Internal Root Guard");new md("@ngrx/store Internal Initial State");new md("@ngrx/store Initial State");new md("@ngrx/store Reducer Factory");new md("@ngrx/store Internal Reducer Factory Provider");new md("@ngrx/store Initial Reducers");new md("@ngrx/store Internal Initial Reducers");new md("@ngrx/store Store Features");new md("@ngrx/store Internal Store Reducers");new md("@ngrx/store Internal Feature Reducers");new md("@ngrx/store Internal Feature Configs");new md("@ngrx/store Internal Store Features");
new md("@ngrx/store Internal Feature Reducers Token");new md("@ngrx/store Feature Reducers");new md("@ngrx/store User Provided Meta Reducers");new md("@ngrx/store Meta Reducers");new md("@ngrx/store Internal Resolved Meta Reducers");new md("@ngrx/store User Runtime Checks Config");new md("@ngrx/store Internal User Runtime Checks Config");new md("@ngrx/store Internal Runtime Checks");new md("@ngrx/store Check if Action types are unique");new md("@ngrx/store Root Store Provider");new md("@ngrx/store Feature State Provider");Object.values({RDL:"rdl",DAPPER:"dapper",SHERLOG:"sherlog",THIRD_EYE:"error_insights"});
var ena={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"},fna=Object.values(ena),Uma=new Set(["site_path"]),Mma={EQUALS:"=",NOT_EQUALS:"!=",REGEX_MATCH:"=~",NOT_REGEX_MATCH:"!~"},Wma="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(" "),
Vma="start_time end_time min_latency max_latency severity status_code task_index task_attempt_uid".split(" "),Xma=["has_traced_sample"];(function(a,b){if(typeof b==="function")return daa(a,function(){return Object.assign({},b.apply(null,r(kd.apply(0,arguments))),{type:a})});switch(b?b._as:"empty"){case "empty":return daa(a,function(){return{type:a}});case "props":return daa(a,function(c){return Object.assign({},c,{type:a})});default:throw Error("Ma");}})("NoopAction");var tVb={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},Cv=tVb;Cv=tVb;var uVb=RegExp("^((?:[-+]\\d*)?\\d{4})(?:(?:-?(\\d{2})(?:-?(\\d{2}))?)|(?:-?(\\d{3}))|(?:-?W(\\d{2})(?:-?([1-7]))?))?$"),vVb=/^(\d{2})(?::?(\d{2})(?::?(\d{2})(\.\d+)?)?)?$/,wVb=/Z|(?:([-+])(\d{2})(?::?(\d{2}))?)$/,xVb=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},yVb=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},Dv=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=Dv.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 Dv(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 ui=function(a,b,c){typeof a==="number"?(this.date=zVb(a,b||0,c||1),AVb(this,c||1)):$a(a)?(this.date=zVb(a.getFullYear(),a.getMonth(),a.getDate()),AVb(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),AVb(this,a))},zVb=function(a,b,c){b=new Date(a,b,c);a>=0&&a<100&&b.setFullYear(b.getFullYear()-1900);return b};g=ui.prototype;g.firstDayOfWeek_=Cv.FIRSTDAYOFWEEK;
g.firstWeekCutOffDay_=Cv.FIRSTWEEKCUTOFFDAY;g.clone=function(){var a=new ui(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 BVb=function(a){return xVb(a.getFullYear(),a.getMonth())};g=ui.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(xVb(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()),AVb(this,a.getDate()))};
g.toIsoString=function(a){var b=this.getFullYear(),c=b<0?"-":b>=1E4?"+":"";return[c+mu(Math.abs(b),c?6:4),mu(this.getMonth()+1,2),mu(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 AVb=function(a,b){a.getDate()!=b&&(b=a.getDate()<b?1:-1,a.date.setUTCHours(a.date.getUTCHours()+b))};ui.prototype.valueOf=function(){return this.date.valueOf()};
var Hm=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())};Mt(Hm,ui);g=Hm.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){ui.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=ui.prototype.toIsoString.call(this,a);return a?b+"T"+mu(this.getHours(),2)+":"+mu(this.getMinutes(),2)+":"+mu(this.getSeconds(),2):b+"T"+mu(this.getHours(),2)+mu(this.getMinutes(),2)+mu(this.getSeconds(),2)};g.equals=function(a){return this.getTime()==a.getTime()};g.toString=function(){return this.toIsoString()};g.clone=function(){var a=new Hm(this.date);a.firstDayOfWeek_=this.getFirstDayOfWeek();a.firstWeekCutOffDay_=this.firstWeekCutOffDay_;return a};var ona={OK:0,CANCELLED:1,UNKNOWN:2,INVALID_ARGUMENT:3,DEADLINE_EXCEEDED:4,NOT_FOUND:5,ALREADY_EXISTS:6,PERMISSION_DENIED:7,UNAUTHENTICATED:16,RESOURCE_EXHAUSTED:8,FAILED_PRECONDITION:9,ABORTED:10,OUT_OF_RANGE:11,UNIMPLEMENTED:12,INTERNAL:13,UNAVAILABLE:14,DATA_LOSS:15},CVb=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}},DVb=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""}};var EVb=/\s+/,FVb=[],Ev=function(a,b){this._ngEl=a;this._renderer=b;this.initialClasses=FVb;this.stateMap=new Map};Ev.prototype.ngDoCheck=function(){for(var a=l(this.initialClasses),b=a.next();!b.done;b=a.next())this._updateState(b.value,!0);a=this.rawClass;if(Array.isArray(a)||a instanceof Set)for(a=l(a),b=a.next();!b.done;b=a.next())this._updateState(b.value,!0);else if(a!=null){b=l(Object.keys(a));for(var c=b.next();!c.done;c=b.next())c=c.value,this._updateState(c,!!a[c])}this._applyStateDiff()};
Ev.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})};Ev.prototype._applyStateDiff=function(){for(var a=l(this.stateMap),b=a.next();!b.done;b=a.next()){var c=b.value;b=c[0];c=c[1];c.changed?(this._toggleClass(b,c.enabled),c.changed=!1):c.touched||(c.enabled&&this._toggleClass(b,!1),this.stateMap.delete(b));c.touched=!1}};
Ev.prototype._toggleClass=function(a,b){var c=this;a=a.trim();a.length>0&&a.split(EVb).forEach(function(d){b?c._renderer.addClass(c._ngEl.nativeElement,d):c._renderer.removeClass(c._ngEl.nativeElement,d)})};ea.Object.defineProperties(Ev.prototype,{klass:{configurable:!0,enumerable:!0,set:function(a){this.initialClasses=a!=null?a.trim().split(EVb):FVb}},ngClass:{configurable:!0,enumerable:!0,set:function(a){this.rawClass=typeof a==="string"?a.trim().split(EVb):a}}});
Ev.\u0275fac=function(a){return new (a||Ev)(A(Rd),A(wu))};Ev.\u0275dir=fd({type:Ev,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"},standalone:!0});var GVb=function(a,b,c,d){this.$implicit=a;this.ngForOf=b;this.index=c;this.count=d};ea.Object.defineProperties(GVb.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 Fv=function(a,b,c){this._viewContainer=a;this._template=b;this._differs=c;this._ngForOf=null;this._ngForOfDirty=!0;this._differ=null};Fv.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)};
Fv.prototype._applyChanges=function(a){var b=this,c=this._viewContainer;eVb(a,function(h,k,q){h.previousIndex==null?c.createEmbeddedView(b._template,new GVb(h.item,b._ngForOf,-1,-1),q===null?void 0:q):q==null?c.remove(k===null?void 0:k):k!==null&&(k=c.get(k),c.move(k,q),k.context.$implicit=h.item)});for(var d=0,e=c.length;d<e;d++){var f=c.get(d).context;f.index=d;f.count=e;f.ngForOf=this._ngForOf}fVb(a,function(h){c.get(h.currentIndex).context.$implicit=h.item})};
ea.Object.defineProperties(Fv.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)}}});Fv.\u0275fac=function(a){return new (a||Fv)(A(dg),A(cg),A(xv))};
Fv.\u0275dir=fd({type:Fv,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0});var Gv=function(a,b){this._viewContainer=a;this._context=new HVb;this._elseViewRef=this._thenViewRef=this._elseTemplateRef=null;this._thenTemplateRef=b};
Gv.prototype._updateView=function(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))};
ea.Object.defineProperties(Gv.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){pna("ngIfThen",a);this._thenTemplateRef=a;this._thenViewRef=null;this._updateView()}},ngIfElse:{configurable:!0,enumerable:!0,set:function(a){pna("ngIfElse",a);this._elseTemplateRef=a;this._elseViewRef=null;this._updateView()}}});Gv.\u0275fac=function(a){return new (a||Gv)(A(dg),A(cg))};
Gv.\u0275dir=fd({type:Gv,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0});var HVb=function(){this.ngIf=this.$implicit=null};var IVb=function(a,b){this._viewContainerRef=a;this._templateRef=b;this._created=!1};IVb.prototype.create=function(){this._created=!0;this._viewContainerRef.createEmbeddedView(this._templateRef)};IVb.prototype.destroy=function(){this._created=!1;this._viewContainerRef.clear()};var Hv=function(){this._defaultViews=[];this._defaultUsed=!1;this._lastCaseCheckIndex=this._caseCount=0;this._lastCasesMatched=!1};Hv.prototype._addCase=function(){return this._caseCount++};Hv.prototype._addDefault=function(a){this._defaultViews.push(a)};
Hv.prototype._matchCase=function(a){a=a==this._ngSwitch;this._lastCasesMatched||(this._lastCasesMatched=a);this._lastCaseCheckIndex++;this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1);return a};
Hv.prototype._updateDefaultCases=function(a){if(this._defaultViews.length>0&&a!==this._defaultUsed){this._defaultUsed=a;for(var b=l(this._defaultViews),c=b.next();!c.done;c=b.next()){c=c.value;var d=a;d&&!c._created?c.create():!d&&c._created&&c.destroy()}}};ea.Object.defineProperties(Hv.prototype,{ngSwitch:{configurable:!0,enumerable:!0,set:function(a){this._ngSwitch=a;this._caseCount===0&&this._updateDefaultCases(!0)}}});Hv.\u0275fac=function(a){return new (a||Hv)};
Hv.\u0275dir=fd({type:Hv,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0});var Iv=function(a,b,c){this.ngSwitch=c;c._addCase();this._view=new IVb(a,b)};Iv.prototype.ngDoCheck=function(){var a=this._view,b=this.ngSwitch._matchCase(this.ngSwitchCase);b&&!a._created?a.create():!b&&a._created&&a.destroy()};Iv.\u0275fac=function(a){return new (a||Iv)(A(dg),A(cg),A(Hv,9))};Iv.\u0275dir=fd({type:Iv,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0});
var Jv=function(a,b,c){c._addDefault(new IVb(a,b))};Jv.\u0275fac=function(a){return new (a||Jv)(A(dg),A(cg),A(Hv,9))};Jv.\u0275dir=fd({type:Jv,selectors:[["","ngSwitchDefault",""]],standalone:!0});var Kv=function(a){this._viewContainerRef=a;this.ngTemplateOutletInjector=this.ngTemplateOutlet=this.ngTemplateOutletContext=this._viewRef=null};Kv.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};
Kv.prototype._shouldRecreateView=function(a){return!!a.ngTemplateOutlet||!!a.ngTemplateOutletInjector};Kv.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)}})};Kv.\u0275fac=function(a){return new (a||Kv)(A(dg))};
Kv.\u0275dir=fd({type:Kv,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[td]});var JVb=function(){};JVb.prototype.createSubscription=function(a,b){return Jma(function(){return a.subscribe({next:b,error:function(c){throw c;}})})};JVb.prototype.dispose=function(a){Jma(function(){return a.unsubscribe()})};var KVb=function(){};KVb.prototype.createSubscription=function(a,b){return a.then(b,function(c){throw c;})};KVb.prototype.dispose=function(){};
var LVb=new KVb,MVb=new JVb,Lv=function(a){this._latestValue=null;this.markForCheckOnValueUpdate=!0;this._strategy=this._obj=this._subscription=null;this._ref=a};g=Lv.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(We(a))return LVb;if(Lja(a))return MVb;throw Ng();};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()}};Lv.\u0275fac=function(a){return new (a||Lv)(A(Ig,16))};Lv.\u0275pipe=gd({name:"async",type:Lv,pure:!1,standalone:!0});var Mv=function(){};Mv.prototype.transform=function(a){if(a==null)return null;if(typeof a!=="string")throw Ng();return a.toLowerCase()};Mv.\u0275fac=function(a){return new (a||Mv)};Mv.\u0275pipe=gd({name:"lowercase",type:Mv,pure:!0,standalone:!0});
var NVb=/(?:[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,Nv=
function(){};Nv.prototype.transform=function(a){if(a==null)return null;if(typeof a!=="string")throw Ng();return a.replace(NVb,function(b){return b[0].toUpperCase()+b.slice(1).toLowerCase()})};Nv.\u0275fac=function(a){return new (a||Nv)};Nv.\u0275pipe=gd({name:"titlecase",type:Nv,pure:!0,standalone:!0});var Pna=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Sg={},Cna=/((?:[^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]*)/,Fna={};var OVb=new md(""),PVb=new md(""),Ov=function(a,b,c){this.locale=a;this.defaultTimezone=b;this.defaultOptions=c};Ov.prototype.transform=function(a,b,c,d){if(a==null||a===""||a!==a)return null;try{var e,f,h=(f=b!=null?b:(e=this.defaultOptions)==null?void 0:e.dateFormat)!=null?f:"mediumDate",k,q,t,w=(t=(q=c!=null?c:(k=this.defaultOptions)==null?void 0:k.timezone)!=null?q:this.defaultTimezone)!=null?t:void 0;return Jna(a,h,d||this.locale,w)}catch(B){throw Ng();}};
Ov.\u0275fac=function(a){return new (a||Ov)(A(ih,16),A(OVb,24),A(PVb,24))};Ov.\u0275pipe=gd({name:"date",type:Ov,pure:!0,standalone:!0});var Pv=function(){};Pv.prototype.transform=function(a){return JSON.stringify(a,null,2)};Pv.\u0275fac=function(a){return new (a||Pv)};Pv.\u0275pipe=gd({name:"json",type:Pv,pure:!1,standalone:!0});var Qv=function(a){this.differs=a;this.keyValues=[];this.compareFn=Rna};Qv.prototype.transform=function(a,b){var c=this;b=b===void 0?Rna:b;if(!a||!(a instanceof Map)&&typeof a!=="object")return null;this.differ!=null||(this.differ=this.differs.find(a).create());a=this.differ.diff(a);var d=b!==this.compareFn;a&&(this.keyValues=[],a.forEachItem(function(e){c.keyValues.push({key:e.key,value:e.currentValue})}));if(a||d)this.keyValues.sort(b),this.compareFn=b;return this.keyValues};
Qv.\u0275fac=function(a){return new (a||Qv)(A(yv,16))};Qv.\u0275pipe=gd({name:"keyvalue",type:Qv,pure:!1,standalone:!0});var Una=/^(\d+)?\.((\d+)(-(\d+))?)?$/;var Rv=function(a){this._locale=a};
Rv.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("eb`"+a);var d=a}else d=Number(a);a=d;var e=Vf(c)[14][0],f=Mg(c,5);f=f===void 0?"-":f;d={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0};var h=e.split(";"),k=h[0],q=h[1],t=k.indexOf(".")!==-1?k.split("."):[k.substring(0,k.lastIndexOf("0")+1),k.substring(k.lastIndexOf("0")+
1)],w=t[0],B=t[1]||"";d.posPre=w.substring(0,w.indexOf("#"));for(e=0;e<B.length;e++){var E=B.charAt(e);E==="0"?d.minFrac=d.maxFrac=e+1:E==="#"?d.maxFrac=e+1:d.posSuf+=E}var I=w.split(",");d.gSize=I[1]?I[1].length:0;d.lgSize=I[2]||I[1]?(I[2]||I[1]).length:0;if(q){var J=k.length-d.posPre.length-d.posSuf.length,N=q.indexOf("#");d.negPre=q.substring(0,N).replace(/'/g,"");d.negSuf=q.slice(N+J).replace(/'/g,"")}else d.negPre=f+d.posPre,d.negSuf=d.posSuf;return Xna(a,d,c,b)}catch(P){throw Ng();}};
Rv.\u0275fac=function(a){return new (a||Rv)(A(ih,16))};Rv.\u0275pipe=gd({name:"number",type:Rv,pure:!0,standalone:!0});var Sv=function(){};Sv.prototype.transform=function(a,b,c){if(a==null)return null;if(!this.supports(a))throw Ng();return a.slice(b,c)};Sv.prototype.supports=function(a){return typeof a==="string"||Array.isArray(a)};Sv.\u0275fac=function(a){return new (a||Sv)};Sv.\u0275pipe=gd({name:"slice",type:Sv,pure:!1,standalone:!0});var Tv=function(){};Tv.\u0275fac=function(a){return new (a||Tv)};Tv.\u0275mod=dd({type:Tv});Tv.\u0275inj=Ic({});var QVb=function(a){return a.src};new md("",{providedIn:"root",factory:function(){return QVb}});var gh=new md("");new md("");new md("NG_OPTIMIZED_PRELOADED_IMAGES",{providedIn:"root",factory:function(){return new Set}});var RVb=null,SVb=function(){};var Uv=function(){};Uv.prototype.historyGo=function(){throw Error("aa");};Uv.\u0275fac=function(a){return new (a||Uv)};Uv.\u0275prov=Hc({token:Uv,factory:function(){return Yc(Vv)},providedIn:"platform"});var TVb=new md(""),Vv=function(){this._doc=Yc(gh);this._location=window.location;this._history=window.history};X(Vv,Uv);Vv.prototype.onPopState=function(a){var b=UVb(this._doc,"window");b.addEventListener("popstate",a,!1);return function(){return b.removeEventListener("popstate",a)}};
var VVb=function(a,b){var c=UVb(a._doc,"window");c.addEventListener("hashchange",b,!1);return function(){return c.removeEventListener("hashchange",b)}};g=Vv.prototype;g.pushState=function(a,b,c){this._history.pushState(a,b,c)};g.replaceState=function(a,b,c){this._history.replaceState(a,b,c)};g.forward=function(){this._history.forward()};g.back=function(){this._history.back()};g.historyGo=function(a){this._history.go(a===void 0?0:a)};g.getState=function(){return this._history.state};
ea.Object.defineProperties(Vv.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}}});Vv.\u0275fac=function(a){return new (a||Vv)};Vv.\u0275prov=Hc({token:Vv,factory:function(){return new Vv},providedIn:"platform"});var Wv=function(){};Wv.prototype.historyGo=function(){throw Error("aa");};Wv.\u0275fac=function(a){return new (a||Wv)};Wv.\u0275prov=Hc({token:Wv,factory:function(){return Yc(Xv)},providedIn:"root"});var WVb=new md(""),Xv=function(a,b){this._platformLocation=a;this._removeListenerFns=[];var c,d,e;this._baseHref=(e=(d=b!=null?b:RVb.getBaseHref())!=null?d:(c=Yc(gh).location)==null?void 0:c.origin)!=null?e:""};X(Xv,Wv);g=Xv.prototype;g.ngOnDestroy=function(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()};
g.onPopState=function(a){this._removeListenerFns.push(this._platformLocation.onPopState(a),VVb(this._platformLocation,a))};g.getBaseHref=function(){return this._baseHref};g.prepareExternalUrl=function(a){return Yna(this._baseHref,a)};g.path=function(a){var b=this._platformLocation.pathname+Ug(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+Ug(d)))};
g.replaceState=function(a,b,c,d){this._platformLocation.replaceState(a,b,this.prepareExternalUrl(c+Ug(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)};Xv.\u0275fac=function(a){return new (a||Xv)(n(Uv),n(WVb,8))};Xv.\u0275prov=Hc({token:Xv,factory:Xv.\u0275fac,providedIn:"root"});var Yv=function(a,b){this._platformLocation=a;this._baseHref="";this._removeListenerFns=[];b!=null&&(this._baseHref=b)};X(Yv,Wv);g=Yv.prototype;g.ngOnDestroy=function(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()};g.onPopState=function(a){this._removeListenerFns.push(this._platformLocation.onPopState(a),VVb(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=Yna(this._baseHref,a);return a.length>0?"#"+a:a};g.pushState=function(a,b,c,d){c=this.prepareExternalUrl(c+Ug(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+Ug(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)};Yv.\u0275fac=function(a){return new (a||Yv)(n(Uv),n(WVb,8))};
Yv.\u0275prov=Hc({token:Yv,factory:Yv.\u0275fac});var Zv=function(a){var b=this;this._subject=new Xu;this._urlChangeListeners=[];this._urlChangeSubscription=null;this._locationStrategy=a;a=this._locationStrategy.getBaseHref();this._basePath=$na(Zna(a.replace(/\/index.html$/,"")));this._locationStrategy.onPopState(function(c){b._subject.emit({url:b.path(!0),pop:!0,state:c.state,type:c.type})})};g=Zv.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 Zna(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+Ug(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+Ug(b)),c)};g.forward=function(){this._locationStrategy.forward()};g.back=function(){this._locationStrategy.back()};
g.historyGo=function(a){var b,c;(c=(b=this._locationStrategy).historyGo)==null||c.call(b,a===void 0?0:a)};g._notifyUrlChangeListeners=function(a,b){a=a===void 0?"":a;this._urlChangeListeners.forEach(function(c){return c(a,b)})};g.subscribe=function(a,b,c){return this._subject.subscribe({next:a,error:b,complete:c})};Zv.\u0275fac=function(a){return new (a||Zv)(n(Wv))};Zv.\u0275prov=Hc({token:Zv,factory:function(){return new Zv(n(Wv))},providedIn:"root"});var XVb=function(){};XVb.\u0275prov=Hc({token:XVb,providedIn:"root",factory:function(){return Yc(Be)==="browser"?new YVb:new ZVb}});var YVb=function(){var a=Yc(gh),b=window;this.document=a;this.window=b;this.offset=function(){return[0,0]}};g=YVb.prototype;g.setOffset=function(a){Array.isArray(a)?this.offset=function(){return a}:this.offset=a};g.getScrollPosition=function(){return[this.window.scrollX,this.window.scrollY]};g.scrollToPosition=function(a){this.window.scrollTo(a[0],a[1])};
g.scrollToAnchor=function(a){a:{var b=this.document,c=b.getElementById(a)||b.getElementsByName(a)[0];if(c)a=c;else{if(typeof b.createTreeWalker==="function"&&b.body&&typeof b.body.attachShadow==="function")for(b=b.createTreeWalker(b.body,NodeFilter.SHOW_ELEMENT),c=b.currentNode;c;){if(c=c.shadowRoot)if(c=c.getElementById(a)||c.querySelector('[name="'+a+'"]')){a=c;break a}c=b.nextNode()}a=null}}if(a){c=a.getBoundingClientRect();b=c.left+this.window.pageXOffset;c=c.top+this.window.pageYOffset;var d=
this.offset();this.window.scrollTo(b-d[0],c-d[1]);a.focus()}};g.setHistoryScrollRestoration=function(a){this.window.history.scrollRestoration=a};var ZVb=function(){};g=ZVb.prototype;g.setOffset=function(){};g.getScrollPosition=function(){return[0,0]};g.scrollToPosition=function(){};g.scrollToAnchor=function(){};g.setHistoryScrollRestoration=function(){};var $Vb=function(){};var aoa,boa="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 Vg;var foa,Xg;var hoa;var aWb;try{aWb=typeof Intl!=="undefined"&&Intl.v8BreakIterator}catch(a){aWb=!1}
var $v=function(a){this.EDGE=(this.isBrowser=(this._platformId=a)?this._platformId==="browser":typeof document==="object"&&!!document)&&/(edge)/i.test(navigator.userAgent);this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent);this.BLINK=this.isBrowser&&!(!window.chrome&&!aWb)&&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};$v.\u0275fac=function(a){return new (a||$v)(n(Be))};$v.\u0275prov=Hc({token:$v,factory:$v.\u0275fac,providedIn:"root"});var ooa=function(a,b){return b.id},bWb=0,cWb=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=bWb++},dWb=1,eWb=Wg({passive:!1,capture:!0}),aw=Wg({passive:!0,capture:!0}),fWb=Wg({passive:!0}),bw=function(a,b){var c=this;this._elementRef=a;this._ngZone=b;this._platform=Yc($v);this._focusActiveCellAfterViewChecked=!1;this.numCols=7;this.activeCell=0;this.isRange=!1;this.cellAspectRatio=
1;this.previewEnd=this.previewStart=null;this.selectedValueChange=new Xu;this.previewChange=new Xu;this.activeDateChange=new Xu;this.dragStarted=new Xu;this.dragEnded=new Xu;this._didDragSinceMouseDown=!1;this._injector=Yc(Ae);this._trackRow=function(d){return d};this._enterHandler=function(d){if(c._skipNextFocus&&d.type==="focus")c._skipNextFocus=!1;else if(d.target&&c.isRange){var e=c._getCellFromElement(d.target);e&&c._ngZone.run(function(){return c.previewChange.emit({value:e.enabled?e:null,event:d})})}};
this._touchmoveHandler=function(d){if(c.isRange){var e=voa(d),f=e?c._getCellFromElement(e):null;e!==d.target&&(c._didDragSinceMouseDown=!0);roa(d.target)&&d.preventDefault();c._ngZone.run(function(){return c.previewChange.emit({value:(f==null?0:f.enabled)?f:null,event:d})})}};this._leaveHandler=function(d){c.previewEnd!==null&&c.isRange&&(d.type!=="blur"&&(c._didDragSinceMouseDown=!0),!d.target||!c._getCellFromElement(d.target)||d.relatedTarget&&c._getCellFromElement(d.relatedTarget)||c._ngZone.run(function(){return c.previewChange.emit({value:null,
event:d})}))};this._mousedownHandler=function(d){if(c.isRange){c._didDragSinceMouseDown=!1;var e=d.target&&c._getCellFromElement(d.target);e&&c._isInRange(e.compareValue)&&c._ngZone.run(function(){c.dragStarted.emit({value:e.rawValue,event:d})})}};this._mouseupHandler=function(d){if(c.isRange){var e=roa(d.target);e?e.closest(".mat-calendar-body")===c._elementRef.nativeElement&&c._ngZone.run(function(){var f=c._getCellFromElement(e),h;c.dragEnded.emit({value:(h=f==null?void 0:f.rawValue)!=null?h:null,
event:d})}):c._ngZone.run(function(){c.dragEnded.emit({value:null,event:d})})}};this._touchendHandler=function(d){(d=voa(d))&&c._mouseupHandler({target:d})};this._id="mat-calendar-body-"+dWb++;this._startDateLabelId=this._id+"-start-date";this._endDateLabelId=this._id+"-end-date";b.runOutsideAngular(function(){var d=a.nativeElement;d.addEventListener("touchmove",c._touchmoveHandler,eWb);d.addEventListener("mouseenter",c._enterHandler,aw);d.addEventListener("focus",c._enterHandler,aw);d.addEventListener("mouseleave",
c._leaveHandler,aw);d.addEventListener("blur",c._leaveHandler,aw);d.addEventListener("mousedown",c._mousedownHandler,fWb);d.addEventListener("touchstart",c._mousedownHandler,fWb);c._platform.isBrowser&&(window.addEventListener("mouseup",c._mouseupHandler),window.addEventListener("touchend",c._touchendHandler))})};g=bw.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,eWb);a.removeEventListener("mouseenter",this._enterHandler,aw);a.removeEventListener("focus",this._enterHandler,aw);a.removeEventListener("mouseleave",this._leaveHandler,aw);a.removeEventListener("blur",this._leaveHandler,aw);a.removeEventListener("mousedown",this._mousedownHandler,fWb);a.removeEventListener("touchstart",this._mousedownHandler,fWb);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;Fe(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 soa(a,this.startValue,this.endValue)};g._isRangeEnd=function(a){return toa(a,this.startValue,this.endValue)};g._isInRange=function(a){return uoa(a,this.startValue,this.endValue,this.isRange)};g._isComparisonStart=function(a){return soa(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 toa(a,this.comparisonStart,this.comparisonEnd)};g._isInComparisonRange=function(a){return uoa(a,this.comparisonStart,this.comparisonEnd,this.isRange)};g._isComparisonIdentical=function(a){return this.comparisonStart===this.comparisonEnd&&a===this.comparisonStart};g._isPreviewStart=function(a){return soa(a,this.previewStart,this.previewEnd)};g._isPreviewEnd=function(a){return toa(a,this.previewStart,this.previewEnd)};
g._isInPreview=function(a){return uoa(a,this.previewStart,this.previewEnd,this.isRange)};g._getDescribedby=function(a){return this.isRange?this.startValue===a&&this.endValue===a?this._startDateLabelId+" "+this._endDateLabelId:this.startValue===a?this._startDateLabelId:this.endValue===a?this._endDateLabelId:null:null};g._getCellFromElement=function(a){var b=roa(a);return b&&(a=b.getAttribute("data-mat-row"),b=b.getAttribute("data-mat-col"),a&&b)?this.rows[parseInt(a)][parseInt(b)]:null};
bw.\u0275fac=function(a){return new (a||bw)(A(Rd),A(ze))};
bw.\u0275cmp=p({type:bw,selectors:[["","mat-calendar-body",""]],hostAttrs:[1,"mat-calendar-body"],inputs:{label:"label",rows:"rows",todayValue:"todayValue",startValue:"startValue",endValue:"endValue",labelMinRequiredCells:"labelMinRequiredCells",numCols:"numCols",activeCell:"activeCell",isRange:"isRange",cellAspectRatio:"cellAspectRatio",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",previewStart:"previewStart",previewEnd:"previewEnd",startDateAccessibleName:"startDateAccessibleName",
endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedValueChange:"selectedValueChange",previewChange:"previewChange",activeDateChange:"activeDateChange",dragStarted:"dragStarted",dragEnded:"dragEnded"},exportAs:["matCalendarBody"],standalone:!0,features:[td,sg],attrs:["mat-calendar-body",""],decls:7,vars:5,consts:[["aria-hidden","true"],["role","row"],[1,"mat-calendar-body-hidden-label",3,"id"],[1,"mat-calendar-body-label"],[1,"mat-calendar-body-label",3,"paddingTop","paddingBottom"],["role",
"gridcell",1,"mat-calendar-body-cell-container",3,"width","paddingTop","paddingBottom"],["role","gridcell",1,"mat-calendar-body-cell-container"],["type","button",1,"mat-calendar-body-cell",3,"click","focus","ngClass","tabindex"],[1,"mat-calendar-body-cell-content","mat-focus-indicator"],["aria-hidden","true",1,"mat-calendar-body-cell-preview"]],template:function(a,b){a&1&&(C(0,loa,3,6,"tr",0),Qf(1,poa,4,1,"tr",1,koa,!0),F(3,"label",2),R(4),G(),F(5,"label",2),R(6),G());a&2&&(Of(b._firstRowOffset<b.labelMinRequiredCells?
0:-1),z(),Rf(b.rows),z(2),D("id",b._startDateLabelId),z(),S(" ",b.startDateAccessibleName,"\n"),z(),D("id",b._endDateLabelId),z(),S(" ",b.endDateAccessibleName,"\n"))},dependencies:[Ev],styles:['.mat-calendar-body{min-width:224px}.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:var(--mat-datepicker-calendar-date-today-outline-color)}.mat-calendar-body-label{height:0;line-height:0;text-align:start;padding-left:4.7142857143%;padding-right:4.7142857143%;font-size:var(--mat-datepicker-calendar-body-label-text-size);font-weight:var(--mat-datepicker-calendar-body-label-text-weight);color:var(--mat-datepicker-calendar-body-label-text-color)}.mat-calendar-body-hidden-label{display:none}.mat-calendar-body-cell-container{position:relative;height:0;line-height:0}.mat-calendar-body-cell{-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);position:absolute;top:0;left:0;width:100%;height:100%;background:none;text-align:center;outline:none;font-family:inherit;margin:0}.mat-calendar-body-cell::-moz-focus-inner{border:0}.mat-calendar-body-cell::before,.mat-calendar-body-cell::after,.mat-calendar-body-cell-preview{content:"";position:absolute;top:5%;left:0;z-index:0;box-sizing:border-box;display:block;height:90%;width:100%}.mat-calendar-body-range-start:not(.mat-calendar-body-in-comparison-range)::before,.mat-calendar-body-range-start::after,.mat-calendar-body-comparison-start:not(.mat-calendar-body-comparison-bridge-start)::before,.mat-calendar-body-comparison-start::after,.mat-calendar-body-preview-start .mat-calendar-body-cell-preview{left:5%;width:95%;border-top-left-radius:999px;border-bottom-left-radius:999px}[dir=rtl] .mat-calendar-body-range-start:not(.mat-calendar-body-in-comparison-range)::before,[dir=rtl] .mat-calendar-body-range-start::after,[dir=rtl] .mat-calendar-body-comparison-start:not(.mat-calendar-body-comparison-bridge-start)::before,[dir=rtl] .mat-calendar-body-comparison-start::after,[dir=rtl] .mat-calendar-body-preview-start .mat-calendar-body-cell-preview{left:0;border-radius:0;border-top-right-radius:999px;border-bottom-right-radius:999px}.mat-calendar-body-range-end:not(.mat-calendar-body-in-comparison-range)::before,.mat-calendar-body-range-end::after,.mat-calendar-body-comparison-end:not(.mat-calendar-body-comparison-bridge-end)::before,.mat-calendar-body-comparison-end::after,.mat-calendar-body-preview-end .mat-calendar-body-cell-preview{width:95%;border-top-right-radius:999px;border-bottom-right-radius:999px}[dir=rtl] .mat-calendar-body-range-end:not(.mat-calendar-body-in-comparison-range)::before,[dir=rtl] .mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-end:not(.mat-calendar-body-comparison-bridge-end)::before,[dir=rtl] .mat-calendar-body-comparison-end::after,[dir=rtl] .mat-calendar-body-preview-end .mat-calendar-body-cell-preview{left:5%;border-radius:0;border-top-left-radius:999px;border-bottom-left-radius:999px}[dir=rtl] .mat-calendar-body-comparison-bridge-start.mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-bridge-end.mat-calendar-body-range-start::after{width:95%;border-top-right-radius:999px;border-bottom-right-radius:999px}.mat-calendar-body-comparison-start.mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-start.mat-calendar-body-range-end::after,.mat-calendar-body-comparison-end.mat-calendar-body-range-start::after,[dir=rtl] .mat-calendar-body-comparison-end.mat-calendar-body-range-start::after{width:90%}.mat-calendar-body-in-preview{color:var(--mat-datepicker-calendar-date-preview-state-outline-color)}.mat-calendar-body-in-preview .mat-calendar-body-cell-preview{border-top:dashed 1px;border-bottom:dashed 1px}.mat-calendar-body-preview-start .mat-calendar-body-cell-preview{border-left:dashed 1px}[dir=rtl] .mat-calendar-body-preview-start .mat-calendar-body-cell-preview{border-left:0;border-right:dashed 1px}.mat-calendar-body-preview-end .mat-calendar-body-cell-preview{border-right:dashed 1px}[dir=rtl] .mat-calendar-body-preview-end .mat-calendar-body-cell-preview{border-right:0;border-left:dashed 1px}.mat-calendar-body-disabled{cursor:default}.mat-calendar-body-disabled>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){color:var(--mat-datepicker-calendar-date-disabled-state-text-color)}.mat-calendar-body-disabled>.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:var(--mat-datepicker-calendar-date-today-disabled-state-outline-color)}.cdk-high-contrast-active .mat-calendar-body-disabled{opacity:.5}.mat-calendar-body-cell-content{top:5%;left:5%;z-index:1;display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:90%;height:90%;line-height:1;border-width:1px;border-style:solid;border-radius:999px;color:var(--mat-datepicker-calendar-date-text-color);border-color:var(--mat-datepicker-calendar-date-outline-color)}.mat-calendar-body-cell-content.mat-focus-indicator{position:absolute}.cdk-high-contrast-active .mat-calendar-body-cell-content{border:none}.cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:var(--mat-datepicker-calendar-date-focus-state-background-color)}@media(hover: hover){.mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:var(--mat-datepicker-calendar-date-hover-state-background-color)}}.mat-calendar-body-selected{background-color:var(--mat-datepicker-calendar-date-selected-state-background-color);color:var(--mat-datepicker-calendar-date-selected-state-text-color)}.mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:var(--mat-datepicker-calendar-date-selected-disabled-state-background-color)}.mat-calendar-body-selected.mat-calendar-body-today{box-shadow:inset 0 0 0 1px var(--mat-datepicker-calendar-date-today-selected-state-outline-color)}.mat-calendar-body-in-range::before{background:var(--mat-datepicker-calendar-date-in-range-state-background-color)}.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range::before{background:var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color)}.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range::before{background:var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color)}.mat-calendar-body-comparison-bridge-start::before,[dir=rtl] .mat-calendar-body-comparison-bridge-end::before{background:linear-gradient(to right, var(--mat-datepicker-calendar-date-in-range-state-background-color) 50%, var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color) 50%)}.mat-calendar-body-comparison-bridge-end::before,[dir=rtl] .mat-calendar-body-comparison-bridge-start::before{background:linear-gradient(to left, var(--mat-datepicker-calendar-date-in-range-state-background-color) 50%, var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color) 50%)}.mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range.mat-calendar-body-in-range::after{background:var(--mat-datepicker-calendar-date-in-overlap-range-state-background-color)}.mat-calendar-body-comparison-identical.mat-calendar-body-selected,.mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:var(--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color)}.cdk-high-contrast-active .mat-datepicker-popup:not(:empty),.cdk-high-contrast-active .mat-calendar-body-cell:not(.mat-calendar-body-in-range) .mat-calendar-body-selected{outline:solid 1px}.cdk-high-contrast-active .mat-calendar-body-today{outline:dotted 1px}.cdk-high-contrast-active .mat-calendar-body-cell::before,.cdk-high-contrast-active .mat-calendar-body-cell::after,.cdk-high-contrast-active .mat-calendar-body-selected{background:none}.cdk-high-contrast-active .mat-calendar-body-in-range::before,.cdk-high-contrast-active .mat-calendar-body-comparison-bridge-start::before,.cdk-high-contrast-active .mat-calendar-body-comparison-bridge-end::before{border-top:solid 1px;border-bottom:solid 1px}.cdk-high-contrast-active .mat-calendar-body-range-start::before{border-left:solid 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-range-start::before{border-left:0;border-right:solid 1px}.cdk-high-contrast-active .mat-calendar-body-range-end::before{border-right:solid 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-range-end::before{border-right:0;border-left:solid 1px}.cdk-high-contrast-active .mat-calendar-body-in-comparison-range::before{border-top:dashed 1px;border-bottom:dashed 1px}.cdk-high-contrast-active .mat-calendar-body-comparison-start::before{border-left:dashed 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-comparison-start::before{border-left:0;border-right:dashed 1px}.cdk-high-contrast-active .mat-calendar-body-comparison-end::before{border-right:dashed 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-comparison-end::before{border-right:0;border-left:dashed 1px}\n'],
encapsulation:2,changeDetection:0});var gWb=new md("cdk-input-modality-detector-options"),hWb={ignoreKeys:[18,17,224,91,16]},cw=Wg({passive:!0,capture:!0}),dw=function(a,b,c,d){var e=this;this._platform=a;this._mostRecentTarget=null;this._modality=new W.BehaviorSubject(null);this._lastTouchMs=0;this._onKeydown=function(f){var h,k;((h=e._options)==null?0:(k=h.ignoreKeys)==null?0:k.some(function(q){return q===f.keyCode}))||(e._modality.next("keyboard"),e._mostRecentTarget=Zg(f))};this._onMousedown=function(f){Date.now()-e._lastTouchMs<
650||(e._modality.next(woa(f)?"keyboard":"mouse"),e._mostRecentTarget=Zg(f))};this._onTouchstart=function(f){xoa(f)?e._modality.next("keyboard"):(e._lastTouchMs=Date.now(),e._modality.next("touch"),e._mostRecentTarget=Zg(f))};this._options=Object.assign({},hWb,d);this.modalityDetected=this._modality.pipe(nf(1));this.modalityDetected.pipe(df());a.isBrowser&&b.runOutsideAngular(function(){c.addEventListener("keydown",e._onKeydown,cw);c.addEventListener("mousedown",e._onMousedown,cw);c.addEventListener("touchstart",
e._onTouchstart,cw)})};dw.prototype.ngOnDestroy=function(){this._modality.complete();this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,cw),document.removeEventListener("mousedown",this._onMousedown,cw),document.removeEventListener("touchstart",this._onTouchstart,cw))};ea.Object.defineProperties(dw.prototype,{mostRecentModality:{configurable:!0,enumerable:!0,get:function(){return this._modality.value}}});
dw.\u0275fac=function(a){return new (a||dw)(n($v),n(ze),n(gh),n(gWb,8))};dw.\u0275prov=Hc({token:dw,factory:dw.\u0275fac,providedIn:"root"});var iWb=new md("cdk-focus-monitor-default-options"),jWb=Wg({passive:!0,capture:!0}),ew=function(a,b,c,d,e){var f=this;this._ngZone=a;this._platform=b;this._inputModalityDetector=c;this._origin=null;this._originFromTouchInteraction=this._windowFocused=!1;this._elementInfo=new Map;this._monitoredElementCount=0;this._rootNodeFocusListenerCount=new Map;this._windowFocusListener=function(){f._windowFocused=!0;f._windowFocusTimeoutId=window.setTimeout(function(){return f._windowFocused=!1})};this._stopInputModalityDetector=
new W.Subject;this._rootNodeFocusAndBlurListener=function(h){for(var k=Zg(h);k;k=k.parentElement)h.type==="focus"?f._onFocus(h,k):f._onBlur(h,k)};this._document=d;this._detectionMode=(e==null?void 0:e.detectionMode)||0};
ew.prototype.monitor=function(a,b){b=b===void 0?!1:b;a=dh(a);if(!this._platform.isBrowser||a.nodeType!==1)return(0,W.of)();var c=ioa(a)||this._getDocument(),d=this._elementInfo.get(a);if(d)return b&&(d.checkChildren=!0),d.subject;b={checkChildren:b,subject:new W.Subject,rootNode:c};this._elementInfo.set(a,b);this._registerGlobalListeners(b);return b.subject};
ew.prototype.stopMonitoring=function(a){a=dh(a);var b=this._elementInfo.get(a);b&&(b.subject.complete(),this._setClasses(a),this._elementInfo.delete(a),this._removeGlobalListeners(b))};var fw=function(a,b,c,d){b=dh(b);b===a._getDocument().activeElement?a._getClosestElementsInfo(b).forEach(function(e){var f=l(e);e=f.next().value;f=f.next().value;return a._originChanged(e,c,f)}):(a._setOrigin(c),typeof b.focus==="function"&&b.focus(d))};g=ew.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=Zg(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,jWb);c.addEventListener("blur",b._rootNodeFocusAndBlurListener,jWb)});this._rootNodeFocusListenerCount.set(c,a+1);++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(function(){b._getWindow().addEventListener("focus",b._windowFocusListener)}),
this._inputModalityDetector.modalityDetected.pipe(qf(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,jWb),a.removeEventListener("blur",this._rootNodeFocusAndBlurListener,jWb),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};ew.\u0275fac=function(a){return new (a||ew)(n(ze),n($v),n(dw),n(gh,8),n(iWb,8))};ew.\u0275prov=Hc({token:ew,factory:ew.\u0275fac,providedIn:"root"});
var gw=function(a,b){this._elementRef=a;this._focusMonitor=b;this._focusOrigin=null;this.cdkFocusChange=new Xu};gw.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)})};gw.prototype.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef);this._monitorSubscription&&this._monitorSubscription.unsubscribe()};
ea.Object.defineProperties(gw.prototype,{focusOrigin:{configurable:!0,enumerable:!0,get:function(){return this._focusOrigin}}});gw.\u0275fac=function(a){return new (a||gw)(A(Rd),A(ew))};gw.\u0275dir=fd({type:gw,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"],standalone:!0});var hw=function(a){this._platform=a};hw.prototype.isDisabled=function(a){return a.hasAttribute("disabled")};hw.prototype.isVisible=function(a){return!!(a.offsetWidth||a.offsetHeight||typeof a.getClientRects==="function"&&a.getClientRects().length)&&getComputedStyle(a).visibility==="visible"};
var kWb=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&&(zoa(c)===-1||!a.isVisible(c)))return!1;c=b.nodeName.toLowerCase();var d=zoa(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};
hw.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")||yoa(a);return c&&!this.isDisabled(a)&&((b==null?void 0:b.ignoreVisibility)||this.isVisible(a))};hw.\u0275fac=function(a){return new (a||hw)(n($v))};hw.\u0275prov=Hc({token:hw,factory:hw.\u0275fac,providedIn:"root"});var kw=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 lWb(h)};this.endAnchorListener=function(){return iw(h)};this._enabled=!0;(e===void 0?0:e)||jw(this)};
kw.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 jw=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))},mWb=function(a){return new Promise(function(b){a._executeOnStable(function(){return b(a.focusInitialElement())})})};
kw.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)};
kw.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 iw(this)};var iw=function(a){(a=a._getRegionBoundary("start"))&&a.focus(void 0);return!!a},lWb=function(a){(a=a._getRegionBoundary("end"))&&a.focus(void 0);return!!a};g=kw.prototype;g.hasAttached=function(){return this._hasAttached};
g._getFirstTabbableElement=function(a){if(this._checker.isFocusable(a)&&kWb(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)&&kWb(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 nWb=function(a,b){a._startAnchor&&a._endAnchor&&(a._toggleAnchorTabIndex(b,a._startAnchor),a._toggleAnchorTabIndex(b,a._endAnchor))};
kw.prototype._executeOnStable=function(a){this._ngZone.isStable?this._injector?Fe(a,{injector:this._injector}):a():this._ngZone.onStable.pipe(ef()).subscribe(a)};ea.Object.defineProperties(kw.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 lw=function(a,b,c){this._checker=a;this._ngZone=b;this._injector=Yc(Ae);this._document=c};lw.prototype.create=function(a,b){return new kw(a,this._checker,this._ngZone,this._document,b===void 0?!1:b,this._injector)};lw.\u0275fac=function(a){return new (a||lw)(n(hw),n(ze),n(gh))};lw.\u0275prov=Hc({token:lw,factory:lw.\u0275fac,providedIn:"root"});
var mw=function(a,b){this._elementRef=a;this._focusTrapFactory=b;this._previouslyFocusedElement=null;Yc($v).isBrowser&&(this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0))};g=mw.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||jw(a);this.autoCapture&&this._captureFocus()};
g.ngDoCheck=function(){this.focusTrap&&!this.focusTrap.hasAttached()&&jw(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=Yg();var a;(a=this.focusTrap)==null||mWb(a)};
ea.Object.defineProperties(mw.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)}}});mw.\u0275fac=function(a){return new (a||mw)(A(Rd),A(lw),A(gh))};
mw.\u0275dir=fd({type:mw,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:[2,"cdkTrapFocus","enabled",Gg],autoCapture:[2,"cdkTrapFocusAutoCapture","autoCapture",Gg]},exportAs:["cdkTrapFocus"],standalone:!0,features:[Af,td]});var oWb=new Set,nw,ow=function(a,b){this._platform=a;this._nonce=b;this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):Aoa};ow.prototype.matchMedia=function(a){if(this._platform.WEBKIT||this._platform.BLINK){var b=this._nonce;if(!oWb.has(a))try{nw||(nw=document.createElement("style"),b&&nw.setAttribute("nonce",b),nw.setAttribute("type","text/css"),document.head.appendChild(nw)),nw.sheet&&(nw.sheet.insertRule("@media "+a+" {body{ }}",0),oWb.add(a))}catch(c){console.error(c)}}return this._matchMedia(a)};
ow.\u0275fac=function(a){return new (a||ow)(n($v),n(rTb,8))};ow.\u0275prov=Hc({token:ow,factory:ow.\u0275fac,providedIn:"root"});var pw=function(a,b){this._mediaMatcher=a;this._zone=b;this._queries=new Map;this._destroySubject=new W.Subject};pw.prototype.ngOnDestroy=function(){this._destroySubject.next();this._destroySubject.complete()};
pw.prototype.observe=function(a){var b=this;a=Boa(ah(a)).map(function(c){return b._registerQuery(c).observable});a=(0,W.combineLatest)(a);a=(0,W.concat)(a.pipe(ef()),a.pipe(nf(1),bf(0)));return a.pipe(y(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}))};
pw.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 W.Observable(function(e){var f=function(h){return b._zone.run(function(){return e.next(h)})};c.addListener(f);return function(){c.removeListener(f)}})).pipe(of(c),y(function(e){return{query:a,matches:e.matches}}),qf(this._destroySubject)),mql:c};this._queries.set(a,d);return d};pw.\u0275fac=function(a){return new (a||pw)(n(ow),n(ze))};
pw.\u0275prov=Hc({token:pw,factory:pw.\u0275fac,providedIn:"root"});var qw=function(a,b){var c=this;this._platform=a;this._document=b;this._breakpointSubscription=Yc(pw).observe("(forced-colors: active)").subscribe(function(){c._hasCheckedHighContrastMode&&(c._hasCheckedHighContrastMode=!1,c._applyBodyHighContrastModeCssClasses())})},pWb=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};qw.prototype.ngOnDestroy=function(){this._breakpointSubscription.unsubscribe()};
qw.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=pWb(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")}};
qw.\u0275fac=function(a){return new (a||qw)(n($v),n(gh))};qw.\u0275prov=Hc({token:qw,factory:qw.\u0275fac,providedIn:"root"});var qWb=new md("liveAnnouncerElement",{providedIn:"root",factory:Coa}),rWb=new md("LIVE_ANNOUNCER_DEFAULT_OPTIONS");var rw=function(){};rw.prototype.create=function(a){return typeof MutationObserver==="undefined"?null:new MutationObserver(a)};rw.\u0275fac=function(a){return new (a||rw)};rw.\u0275prov=Hc({token:rw,factory:rw.\u0275fac,providedIn:"root"});var sw=function(a){this._mutationObserverFactory=a;this._observedElements=new Map;this._ngZone=Yc(ze)};g=sw.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=dh(a);return new W.Observable(function(d){var e=b._observeElement(c).pipe(y(function(f){return f.filter(function(h){return!Doa(h)})}),te(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 W.Subject,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)}};sw.\u0275fac=function(a){return new (a||sw)(n(rw))};sw.\u0275prov=Hc({token:sw,factory:sw.\u0275fac,providedIn:"root"});
var tw=function(a,b){this._contentObserver=a;this._elementRef=b;this.event=new Xu;this._disabled=!1;this._currentSubscription=null};tw.prototype.ngAfterContentInit=function(){this._currentSubscription||this.disabled||this._subscribe()};tw.prototype.ngOnDestroy=function(){this._unsubscribe()};tw.prototype._subscribe=function(){this._unsubscribe();var a=this._contentObserver.observe(this._elementRef);this._currentSubscription=(this.debounce?a.pipe(bf(this.debounce)):a).subscribe(this.event)};
tw.prototype._unsubscribe=function(){var a;(a=this._currentSubscription)==null||a.unsubscribe()};ea.Object.defineProperties(tw.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=eh(a);this._subscribe()}}});tw.\u0275fac=function(a){return new (a||tw)(A(sw),A(Rd))};
tw.\u0275dir=fd({type:tw,selectors:[["","cdkObserveContent",""]],inputs:{disabled:[2,"cdkObserveContentDisabled","disabled",Gg],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"],standalone:!0,features:[Af]});var uw=function(){};uw.\u0275fac=function(a){return new (a||uw)};uw.\u0275mod=dd({type:uw});uw.\u0275inj=Ic({providers:[rw]});var sWb=0,vw=function(a,b,c,d){this._ngZone=b;this._defaultOptions=d;this._document=c;this._liveElement=a||this._createLiveElement()};g=vw.prototype;
g.announce=function(a){var b=kd.apply(1,arguments),c=this,d=this._defaultOptions;if(b.length===1&&typeof b[0]==="number")var e=b[0];else{b=l(b);var f=b.next().value;e=b.next().value}this.clear();clearTimeout(this._previousTimeout);f||(f=d&&d.politeness?d.politeness:"polite");e==null&&d&&(e=d.duration);this._liveElement.setAttribute("aria-live",f);this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id);return this._ngZone.runOutsideAngular(function(){c._currentPromise||(c._currentPromise=
new Promise(function(h){return c._currentResolve=h}));clearTimeout(c._previousTimeout);c._previousTimeout=setTimeout(function(){c._liveElement.textContent=a;typeof e==="number"&&(c._previousTimeout=setTimeout(function(){return c.clear()},e));var h;(h=c._currentResolve)==null||h.call(c);c._currentPromise=c._currentResolve=void 0},100);return c._currentPromise})};g.clear=function(){this._liveElement&&(this._liveElement.textContent="")};
g.ngOnDestroy=function(){clearTimeout(this._previousTimeout);var a;(a=this._liveElement)==null||a.remove();this._liveElement=null;var b;(b=this._currentResolve)==null||b.call(this);this._currentPromise=this._currentResolve=void 0};
g._createLiveElement=function(){for(var a=this._document.getElementsByClassName("cdk-live-announcer-element"),b=this._document.createElement("div"),c=0;c<a.length;c++)a[c].remove();b.classList.add("cdk-live-announcer-element");b.classList.add("cdk-visually-hidden");b.setAttribute("aria-atomic","true");b.setAttribute("aria-live","polite");b.id="cdk-live-announcer-"+sWb++;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)}};vw.\u0275fac=function(a){return new (a||vw)(n(qWb,8),n(ze),n(gh),n(rWb,8))};vw.\u0275prov=Hc({token:vw,factory:vw.\u0275fac,providedIn:"root"});var ww=function(a){a._applyBodyHighContrastModeCssClasses()};ww.\u0275fac=function(a){return new (a||ww)(n(qw))};ww.\u0275mod=dd({type:ww});ww.\u0275inj=Ic({imports:[uw]});var Hoa=0,xw=function(a,b){this._platform=b;this._messageRegistry=new Map;this._messagesContainer=null;this._id=""+Hoa++;this._document=a;this._id=Yc(qTb)+"-"+Hoa++},yw=function(a,b,c,d){if(a._canBeDescribed(b,c)){var e=Goa(c,d);typeof c!=="string"?(Ioa(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)}},zw=function(a,b,c,d){if(c&&a._isElementNode(b)){d=Goa(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=xw.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");Ioa(c,this._id);c.textContent=a;b&&c.setAttribute("role",b);this._createMessagesContainer();this._messagesContainer.appendChild(c);this._messageRegistry.set(Goa(a,b),{messageElement:c,referenceCount:0})};g._deleteMessageElement=function(a){var b,c;(b=this._messageRegistry.get(a))==null||(c=b.messageElement)==null||c.remove();this._messageRegistry.delete(a)};
g._createMessagesContainer=function(){if(!this._messagesContainer){for(var a=this._document.querySelectorAll('.cdk-describedby-message-container[platform="server"]'),b=0;b<a.length;b++)a[b].remove();a=this._document.createElement("div");a.style.visibility="hidden";a.classList.add("cdk-describedby-message-container");a.classList.add("cdk-visually-hidden");this._platform&&!this._platform.isBrowser&&a.setAttribute("platform","server");this._document.body.appendChild(a);this._messagesContainer=a}};
g._removeCdkDescribedByReferenceIds=function(a){var b=Eoa(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);Foa(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--;fh(a,"aria-describedby",b.messageElement.id);a.removeAttribute("cdk-describedby-host")};g._isElementDescribedByMessage=function(a,b){a=Eoa(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};xw.\u0275fac=function(a){return new (a||xw)(n(gh),n($v))};xw.\u0275prov=Hc({token:xw,factory:xw.\u0275fac,providedIn:"root"});var Aw=function(a,b,c,d,e,f,h){kw.call(this,a,b,c,d,h.defer);this._focusTrapManager=e;this._inertStrategy=f;this._focusTrapManager.register(this)};X(Aw,kw);Aw.prototype.destroy=function(){this._focusTrapManager.deregister(this);kw.prototype.destroy.call(this)};Aw.prototype._enable=function(){this._inertStrategy.preventFocus(this);nWb(this,!0)};Aw.prototype._disable=function(){this._inertStrategy.allowFocus(this);nWb(this,!1)};
ea.Object.defineProperties(Aw.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 tWb=function(){this._listener=null};tWb.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)})};tWb.prototype.allowFocus=function(a){this._listener&&(a._document.removeEventListener("focus",this._listener,!0),this._listener=null)};
tWb.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)&&iw(a)})};var uWb=new md("FOCUS_TRAP_INERT_STRATEGY");var Bw=function(){this._focusTrapStack=[]};Bw.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()};Bw.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())};Bw.\u0275fac=function(a){return new (a||Bw)};Bw.\u0275prov=Hc({token:Bw,factory:Bw.\u0275fac,providedIn:"root"});var Cw=function(a,b,c,d,e){this._checker=a;this._ngZone=b;this._focusTrapManager=c;this._document=d;this._inertStrategy=e||new tWb};Cw.prototype.create=function(a,b){b=b===void 0?{defer:!1}:b;var c;typeof b==="boolean"?c={defer:b}:c=b;return new Aw(a,this._checker,this._ngZone,this._document,this._focusTrapManager,this._inertStrategy,c)};Cw.\u0275fac=function(a){return new (a||Cw)(n(hw),n(ze),n(Bw),n(gh),n(uWb,8))};Cw.\u0275prov=Hc({token:Cw,factory:Cw.\u0275fac,providedIn:"root"});var Dw=function(a,b){var c=this;this._items=a;this._activeItemIndex=-1;this._activeItem=null;this._wrap=!1;this._letterKeyStream=new W.Subject;this._typeaheadSubscription=W.Subscription.EMPTY;this._vertical=!0;this._allowedModifierKeys=[];this._homeAndEnd=!1;this._pageUpAndDown={enabled:!1,delta:10};this._skipPredicateFn=function(d){return d.disabled};this._pressedLetters=[];this.tabOut=new W.Subject;this.change=new W.Subject;a instanceof eg?this._itemChangesSubscription=a.changes.subscribe(function(d){return c._itemsChanged(d.toArray())}):
Mja(a)&&(this._effectRef=Ima(function(){return c._itemsChanged(a())},{injector:b}))},Ew=function(a,b){a._skipPredicateFn=b;return a},Fw=function(a){a._wrap=!0;return a},Gw=function(a,b){a._vertical=b===void 0?!0:b;return a},Hw=function(a,b){a._horizontal=b;return a},vWb=function(a){a._allowedModifierKeys=["shiftKey"];return a},wWb=function(a,b){b=b===void 0?200:b;a._typeaheadSubscription.unsubscribe();a._typeaheadSubscription=a._letterKeyStream.pipe(sf(function(c){return a._pressedLetters.push(c)}),
bf(b),te(function(){return a._pressedLetters.length>0}),y(function(){return a._pressedLetters.join("")})).subscribe(function(c){for(var d=a._getItemsArray(),e=1;e<d.length+1;e++){var f=(a._activeItemIndex+e)%d.length,h=d[f];if(!a._skipPredicateFn(h)&&h.getLabel().toUpperCase().trim().indexOf(c)===0){a.setActiveItem(f);break}}a._pressedLetters=[]});return a},Iw=function(a){a._homeAndEnd=!0;return a},xWb=function(a){a._pageUpAndDown={enabled:!0,delta:10};return a};
Dw.prototype.setActiveItem=function(a){var b=this._activeItem;Jw(this,a);this._activeItem!==b&&this.change.next(this._activeItemIndex)};
Dw.prototype.onKeydown=function(a){var b=this,c=a.keyCode,d=["altKey","ctrlKey","metaKey","shiftKey"].every(function(e){return!a[e]||b._allowedModifierKeys.indexOf(e)>-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){yWb(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||$g(a,"shiftKey"))a.key&&a.key.length===1?this._letterKeyStream.next(a.key.toLocaleUpperCase()):(c>=65&&c<=90||c>=48&&c<=57)&&this._letterKeyStream.next(String.fromCharCode(c));return}this._pressedLetters=[];a.preventDefault()};var yWb=function(a){a._setActiveItemByIndex(a._getItemsArray().length-1,-1)};Dw.prototype.setNextItemActive=function(){this._activeItemIndex<0?this._setActiveItemByIndex(0,1):this._setActiveItemByDelta(1)};
Dw.prototype.setPreviousItemActive=function(){this._activeItemIndex<0&&this._wrap?yWb(this):this._setActiveItemByDelta(-1)};var Jw=function(a,b){var c=a._getItemsArray();b=typeof b==="number"?b:c.indexOf(b);c=c[b];a._activeItem=c==null?null:c;a._activeItemIndex=b};g=Dw.prototype;
g.destroy=function(){this._typeaheadSubscription.unsubscribe();var a;(a=this._itemChangesSubscription)==null||a.unsubscribe();var b;(b=this._effectRef)==null||b.destroy();this._letterKeyStream.complete();this.tabOut.complete();this.change.complete();this._pressedLetters=[]};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 Mja(this._items)?this._items():this._items instanceof eg?this._items.toArray():this._items};g._itemsChanged=function(a){this._activeItem&&(a=a.indexOf(this._activeItem),a>-1&&a!==this._activeItemIndex&&(this._activeItemIndex=a))};ea.Object.defineProperties(Dw.prototype,{activeItemIndex:{configurable:!0,enumerable:!0,get:function(){return this._activeItemIndex}},activeItem:{configurable:!0,enumerable:!0,get:function(){return this._activeItem}}});var Kw=function(){Dw.apply(this,arguments)};X(Kw,Dw);Kw.prototype.setActiveItem=function(a){this.activeItem&&this.activeItem.setInactiveStyles();Dw.prototype.setActiveItem.call(this,a);this.activeItem&&this.activeItem.setActiveStyles()};var Lw=function(){Dw.apply(this,arguments);this._origin="program"};X(Lw,Dw);var zWb=function(a,b){a._origin=b;return a};Lw.prototype.setActiveItem=function(a){Dw.prototype.setActiveItem.call(this,a);this.activeItem&&this.activeItem.focus(this._origin)};var Mw=function(){};Mw.prototype.attach=function(a){this._attachedHost=a;return a.attach(this)};Mw.prototype.detach=function(){var a=this._attachedHost;a!=null&&(this._attachedHost=null,a.detach())};ea.Object.defineProperties(Mw.prototype,{isAttached:{configurable:!0,enumerable:!0,get:function(){return this._attachedHost!=null}}});var Nw=function(a,b,c,d,e){this.component=a;this.viewContainerRef=b;this.injector=c;this.componentFactoryResolver=d;this.projectableNodes=e};X(Nw,Mw);
var Ow=function(a,b,c,d){this.templateRef=a;this.viewContainerRef=b;this.context=c;this.injector=d};X(Ow,Mw);Ow.prototype.attach=function(a,b){this.context=b=b===void 0?this.context:b;return Mw.prototype.attach.call(this,a)};Ow.prototype.detach=function(){this.context=void 0;return Mw.prototype.detach.call(this)};ea.Object.defineProperties(Ow.prototype,{origin:{configurable:!0,enumerable:!0,get:function(){return this.templateRef.elementRef}}});var Pw=function(){this._isDisposed=!1};g=Pw.prototype;
g.hasAttached=function(){return!!this._attachedPortal};g.attach=function(a){if(a instanceof Nw)return this._attachedPortal=a,this.attachComponentPortal(a);if(a instanceof Ow)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 Qw=function(a,b,c,d,e){this._isDisposed=!1;this.outletElement=a;this._componentFactoryResolver=b;this._appRef=c;this._defaultInjector=d;this._document=e};X(Qw,Pw);
Qw.prototype.attachComponentPortal=function(a){var b=this,c=CUb(a.componentFactoryResolver||this._componentFactoryResolver,a.component);if(a.viewContainerRef){var d=a.viewContainerRef.createComponent(c,a.viewContainerRef.length,a.injector||a.viewContainerRef.injector,a.projectableNodes||void 0);this.setDisposeFn(function(){return d.destroy()})}else d=c.create(a.injector||this._defaultInjector||nTb),UUb(this._appRef,d.hostView),this.setDisposeFn(function(){b._appRef.viewCount>0&&b._appRef.detachView(d.hostView);
d.destroy()});this.outletElement.appendChild(this._getComponentRootNode(d));this._attachedPortal=a;return d};Qw.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};
Qw.prototype.dispose=function(){Pw.prototype.dispose.call(this);this.outletElement.remove()};Qw.prototype._getComponentRootNode=function(a){return a.hostView.rootNodes[0]};var Rw=function(a,b){Ow.call(this,a,b)};X(Rw,Ow);Rw.\u0275fac=function(a){return new (a||Rw)(A(cg),A(dg))};Rw.\u0275dir=fd({type:Rw,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],standalone:!0,features:[zf]});var Sw=function(a,b,c){this._isDisposed=!1;this._componentFactoryResolver=a;this._viewContainerRef=b;this._isInitialized=!1;this.attached=new Xu;this._document=c};X(Sw,Pw);g=Sw.prototype;g.ngOnInit=function(){this._isInitialized=!0};
g.ngOnDestroy=function(){Pw.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=CUb(a.componentFactoryResolver||this._componentFactoryResolver,a.component),d=b.createComponent(c,b.length,a.injector||b.injector,a.projectableNodes||void 0);b!==this._viewContainerRef&&this._getRootNode().appendChild(d.hostView.rootNodes[0]);Pw.prototype.setDisposeFn.call(this,function(){return d.destroy()});this._attachedPortal=a;this._attachedRef=d;this.attached.emit(d);
return d};g.attachTemplatePortal=function(a){var b=this;a._attachedHost=this;var c=this._viewContainerRef.createEmbeddedView(a.templateRef,a.context,{injector:a.injector});Pw.prototype.setDisposeFn.call(this,function(){return b._viewContainerRef.clear()});this._attachedPortal=a;this._attachedRef=c;this.attached.emit(c);return c};g._getRootNode=function(){var a=this._viewContainerRef.element.nativeElement;return a.nodeType===a.ELEMENT_NODE?a:a.parentNode};
ea.Object.defineProperties(Sw.prototype,{portal:{configurable:!0,enumerable:!0,get:function(){return this._attachedPortal},set:function(a){if(!this.hasAttached()||a||this._isInitialized)this.hasAttached()&&Pw.prototype.detach.call(this),a&&Pw.prototype.attach.call(this,a),this._attachedPortal=a||null}}});Sw.\u0275fac=function(a){return new (a||Sw)(A(tu),A(dg),A(gh))};
Sw.\u0275dir=fd({type:Sw,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],standalone:!0,features:[zf]});var Tw=function(){};Tw.\u0275fac=function(a){return new (a||Tw)};Tw.\u0275mod=dd({type:Tw});Tw.\u0275inj=Ic({});var AWb=new md("cdk-dir-doc",{providedIn:"root",factory:Joa});var BWb=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i,Uw=function(a){this.value="ltr";this.change=new Xu;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)?BWb.test(navigator.language)?"rtl":"ltr":b==="rtl"?"rtl":"ltr"}};Uw.prototype.ngOnDestroy=function(){this.change.complete()};
Uw.\u0275fac=function(a){return new (a||Uw)(n(AWb,8))};Uw.\u0275prov=Hc({token:Uw,factory:Uw.\u0275fac,providedIn:"root"});var Vw=function(){};Vw.\u0275fac=function(a){return new (a||Vw)};Vw.\u0275mod=dd({type:Vw});Vw.\u0275inj=Ic({});var Ww=function(a){this._attachedOverlays=[];this._document=a};Ww.prototype.ngOnDestroy=function(){this.detach()};Ww.prototype.add=function(a){this.remove(a);this._attachedOverlays.push(a)};Ww.prototype.remove=function(a){a=this._attachedOverlays.indexOf(a);a>-1&&this._attachedOverlays.splice(a,1);this._attachedOverlays.length===0&&this.detach()};Ww.\u0275fac=function(a){return new (a||Ww)(n(gh))};Ww.\u0275prov=Hc({token:Ww,factory:Ww.\u0275fac,providedIn:"root"});var Yw=function(a,b){Ww.call(this,a);var c=this;this._ngZone=b;this._keydownListener=function(d){for(var e=c._attachedOverlays,f={},h=e.length-1;h>-1;f={keydownEvents:void 0},h--)if(e[h]._keydownEvents.observers.length>0){f.keydownEvents=e[h]._keydownEvents;c._ngZone?c._ngZone.run(function(k){return function(){return k.keydownEvents.next(d)}}(f)):f.keydownEvents.next(d);break}}};X(Yw,Ww);
Yw.prototype.add=function(a){var b=this;Ww.prototype.add.call(this,a);this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(function(){return b._document.body.addEventListener("keydown",b._keydownListener)}):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)};Yw.prototype.detach=function(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)};
Yw.\u0275fac=function(a){return new (a||Yw)(n(gh),n(ze,8))};Yw.\u0275prov=Hc({token:Yw,factory:Yw.\u0275fac,providedIn:"root"});var Zw=function(a,b,c){Ww.call(this,a);var d=this;this._platform=b;this._ngZone=c;this._cursorStyleIsSet=!1;this._pointerDownListener=function(e){d._pointerDownEventTarget=Zg(e)};this._clickListener=function(e){var f=Zg(e),h=e.type==="click"&&d._pointerDownEventTarget?d._pointerDownEventTarget:f;d._pointerDownEventTarget=null;for(var k=d._attachedOverlays.slice(),q={},t=k.length-1;t>-1;q={outsidePointerEvents:void 0},t--){var w=k[t];if(!(w._outsidePointerEvents.observers.length<1)&&w.hasAttached()){if(w.overlayElement.contains(f)||
w.overlayElement.contains(h))break;q.outsidePointerEvents=w._outsidePointerEvents;d._ngZone?d._ngZone.run(function(B){return function(){return B.outsidePointerEvents.next(e)}}(q)):q.outsidePointerEvents.next(e)}}}};X(Zw,Ww);
Zw.prototype.add=function(a){var b=this;Ww.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}};
Zw.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}};
Zw.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)};Zw.\u0275fac=function(a){return new (a||Zw)(n(gh),n($v),n(ze,8))};Zw.\u0275prov=Hc({token:Zw,factory:Zw.\u0275fac,providedIn:"root"});var $w=function(a,b){this._platform=b;this._document=a};$w.prototype.ngOnDestroy=function(){var a;(a=this._containerElement)==null||a.remove()};var CWb=function(a){a._containerElement||a._createContainer();return a._containerElement};
$w.prototype._createContainer=function(){if(this._platform.isBrowser||joa())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");joa()?a.setAttribute("platform","test"):this._platform.isBrowser||a.setAttribute("platform","server");this._document.body.appendChild(a);this._containerElement=a};
$w.\u0275fac=function(a){return new (a||$w)(n(gh),n($v))};$w.\u0275prov=Hc({token:$w,factory:$w.\u0275fac,providedIn:"root"});var DWb=eoa(),ax=function(a,b){this._viewportRuler=a;this._previousHTMLStyles={top:"",left:""};this._isEnabled=!1;this._document=b};ax.prototype.attach=function(){};
ax.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=ch(-this._previousScrollPosition.left);a.style.top=ch(-this._previousScrollPosition.top);a.classList.add("cdk-global-scrollblock");this._isEnabled=!0}};
ax.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");DWb&&(b.scrollBehavior=c.scrollBehavior="auto");window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top);DWb&&(b.scrollBehavior=d,c.scrollBehavior=e)}};
ax.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 bx=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()})}};bx.prototype.attach=function(a){this._overlayRef=a};
bx.prototype.enable=function(){var a=this;if(!this._scrollSubscription){var b=this._scrollDispatcher.scrolled(0).pipe(te(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)}};bx.prototype.disable=function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)};bx.prototype.detach=function(){this.disable();this._overlayRef=null};var cx=function(){};cx.prototype.enable=function(){};cx.prototype.disable=function(){};cx.prototype.attach=function(){};var dx=function(a,b,c,d){this._scrollDispatcher=a;this._viewportRuler=b;this._ngZone=c;this._config=d;this._scrollSubscription=null};dx.prototype.attach=function(a){this._overlayRef=a};
dx.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;Koa(b,[{width:d,height:c,bottom:c,right:d,top:0,left:0}])&&(a.disable(),a._ngZone.run(function(){return a._overlayRef.detach()}))}}))};
dx.prototype.disable=function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)};dx.prototype.detach=function(){this.disable();this._overlayRef=null};new md("VIRTUAL_SCROLL_STRATEGY");var ex=function(a,b,c){this._ngZone=a;this._platform=b;this._scrolled=new W.Subject;this._globalSubscription=null;this._scrolledCount=0;this.scrollContainers=new Map;this._document=c};ex.prototype.register=function(a){var b=this;this.scrollContainers.has(a)||this.scrollContainers.set(a,a._elementScrolled.subscribe(function(){return b._scrolled.next(a)}))};ex.prototype.deregister=function(a){var b=this.scrollContainers.get(a);b&&(b.unsubscribe(),this.scrollContainers.delete(a))};
ex.prototype.scrolled=function(a){var b=this;a=a===void 0?20:a;return this._platform.isBrowser?new W.Observable(function(c){b._globalSubscription||b._addGlobalListener();var d=a>0?b._scrolled.pipe(Xe(a)).subscribe(c):b._scrolled.subscribe(c);b._scrolledCount++;return function(){d.unsubscribe();b._scrolledCount--;b._scrolledCount||b._removeGlobalListener()}}):(0,W.of)()};
ex.prototype.ngOnDestroy=function(){var a=this;this._removeGlobalListener();this.scrollContainers.forEach(function(b,c){return a.deregister(c)});this._scrolled.complete()};var EWb=function(a,b){var c=[];a.scrollContainers.forEach(function(d,e){a._scrollableContainsElement(e,b)&&c.push(e)});return c};ex.prototype._getWindow=function(){return this._document.defaultView||window};
ex.prototype._scrollableContainsElement=function(a,b){b=dh(b);a=a.elementRef.nativeElement;do if(b==a)return!0;while(b=b.parentElement);return!1};ex.prototype._addGlobalListener=function(){var a=this;this._globalSubscription=this._ngZone.runOutsideAngular(function(){return(0,W.fromEvent)(a._getWindow().document,"scroll").subscribe(function(){return a._scrolled.next()})})};
ex.prototype._removeGlobalListener=function(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)};ex.\u0275fac=function(a){return new (a||ex)(n(ze),n($v),n(gh,8))};ex.\u0275prov=Hc({token:ex,factory:ex.\u0275fac,providedIn:"root"});var fx=function(a,b,c,d){var e=this;this.elementRef=a;this.scrollDispatcher=b;this.ngZone=c;this.dir=d;this._destroyed=new W.Subject;this._elementScrolled=new W.Observable(function(f){return e.ngZone.runOutsideAngular(function(){return(0,W.fromEvent)(e.elementRef.nativeElement,"scroll").pipe(qf(e._destroyed)).subscribe(f)})})};fx.prototype.ngOnInit=function(){this.scrollDispatcher.register(this)};fx.prototype.ngOnDestroy=function(){this.scrollDispatcher.deregister(this);this._destroyed.next();this._destroyed.complete()};
fx.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&&goa()!=0?(a.left!=null&&(a.right=b.scrollWidth-b.clientWidth-a.left),goa()==2?a.left=a.right:goa()==1&&(a.left=a.right?-a.right:a.right)):a.right!=null&&(a.left=b.scrollWidth-b.clientWidth-a.right);this._applyScrollToOptions(a)};
fx.prototype._applyScrollToOptions=function(a){var b=this.elementRef.nativeElement;eoa()?b.scrollTo(a):(a.top!=null&&(b.scrollTop=a.top),a.left!=null&&(b.scrollLeft=a.left))};fx.\u0275fac=function(a){return new (a||fx)(A(Rd),A(ex),A(ze),A(Uw,8))};fx.\u0275dir=fd({type:fx,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]],standalone:!0});var FWb=new md("_ViewRepeater");var GWb=function(){},HWb=function(a,b,c,d){eVb(a,function(e,f,h){if(e.previousIndex==null){var k=c(e,f,h);k=b.createEmbeddedView(k.templateRef,k.context,k.index);f=1}else h==null?(b.remove(f),f=3):(k=b.get(f),b.move(k,h),f=2);if(d){var q;d({context:(q=k)==null?void 0:q.context,operation:f,record:e})}})};GWb.prototype.detach=function(){};var gx=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 W.Subject;b&&b.length&&(a?b.forEach(function(f){return e._markSelected(f)}):this._markSelected(b[0]),this._selectedToEmit.length=0)};g=gx.prototype;
g.select=function(){var a=this;kd.apply(0,arguments).forEach(function(c){return a._markSelected(c)});var b=this._hasQueuedChanges();this._emitChangeEvent();return b};g.deselect=function(){var a=this;kd.apply(0,arguments).forEach(function(c){return a._unmarkSelected(c)});var b=this._hasQueuedChanges();this._emitChangeEvent();return b};g.toggle=function(a){return this.isSelected(a)?this.deselect(a):this.select(a)};
g.clear=function(a){a=a===void 0?!0:a;this._unmarkAll();var b=this._hasQueuedChanges();a&&this._emitChangeEvent();return b};g.isSelected=function(a){return this._selection.has(this._getConcreteValue(a))};g.isEmpty=function(){return this._selection.size===0};g.hasValue=function(){return!this.isEmpty()};g.sort=function(a){this._multiple&&this.selected&&this._selected.sort(a)};
g._emitChangeEvent=function(){this._selected=null;if(this._selectedToEmit.length||this._deselectedToEmit.length)this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[]};g._markSelected=function(a){a=this._getConcreteValue(a);this.isSelected(a)||(this._multiple||this._unmarkAll(),this.isSelected(a)||this._selection.add(a),this._emitChanges&&this._selectedToEmit.push(a))};
g._unmarkSelected=function(a){a=this._getConcreteValue(a);this.isSelected(a)&&(this._selection.delete(a),this._emitChanges&&this._deselectedToEmit.push(a))};g._unmarkAll=function(){var a=this;this.isEmpty()||this._selection.forEach(function(b){return a._unmarkSelected(b)})};g._verifyValueAssignment=function(){};g._hasQueuedChanges=function(){return!(!this._deselectedToEmit.length&&!this._selectedToEmit.length)};
g._getConcreteValue=function(a,b){if(this.compareWith){var c;b=(c=b)!=null?c:this._selection;b=l(b);for(c=b.next();!c.done;c=b.next())if(c=c.value,this.compareWith(a,c))return c}return a};ea.Object.defineProperties(gx.prototype,{selected:{configurable:!0,enumerable:!0,get:function(){this._selected||(this._selected=Array.from(this._selection.values()));return this._selected}}});var hx=function(){this._listeners=[]};hx.prototype.notify=function(a,b){for(var c=l(this._listeners),d=c.next();!d.done;d=c.next())d=d.value,d(a,b)};hx.prototype.listen=function(a){var b=this;this._listeners.push(a);return function(){b._listeners=b._listeners.filter(function(c){return a!==c})}};hx.prototype.ngOnDestroy=function(){this._listeners=[]};hx.\u0275fac=function(a){return new (a||hx)};hx.\u0275prov=Hc({token:hx,factory:hx.\u0275fac,providedIn:"root"});var ix=function(a,b,c){var d=this;this._platform=a;this._change=new W.Subject;this._changeListener=function(e){d._change.next(e)};this._document=c;b.runOutsideAngular(function(){if(a.isBrowser){var e=d._getWindow();e.addEventListener("resize",d._changeListener);e.addEventListener("orientationchange",d._changeListener)}d.change().subscribe(function(){return d._viewportSize=null})})};g=ix.prototype;
g.ngOnDestroy=function(){if(this._platform.isBrowser){var a=this._getWindow();a.removeEventListener("resize",this._changeListener);a.removeEventListener("orientationchange",this._changeListener)}this._change.complete()};g.getViewportSize=function(){this._viewportSize||this._updateViewportSize();var a={width:this._viewportSize.width,height:this._viewportSize.height};this._platform.isBrowser||(this._viewportSize=null);return a};
g.getViewportScrollPosition=function(){if(!this._platform.isBrowser)return{top:0,left:0};var a=this._document,b=this._getWindow(),c=a.documentElement,d=c.getBoundingClientRect();return{top:-d.top||a.body.scrollTop||b.scrollY||c.scrollTop||0,left:-d.left||a.body.scrollLeft||b.scrollX||c.scrollLeft||0}};g.change=function(a){a=a===void 0?20:a;return a>0?this._change.pipe(Xe(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}};ix.\u0275fac=function(a){return new (a||ix)(n($v),n(ze),n(gh,8))};ix.\u0275prov=Hc({token:ix,factory:ix.\u0275fac,providedIn:"root"});new md("VIRTUAL_SCROLLABLE");var jx=function(){};jx.\u0275fac=function(a){return new (a||jx)};jx.\u0275mod=dd({type:jx});jx.\u0275inj=Ic({});var kx=function(){};kx.\u0275fac=function(a){return new (a||kx)};kx.\u0275mod=dd({type:kx});kx.\u0275inj=Ic({imports:[Vw,jx,Vw,jx]});var lx=function(a,b,c,d){var e=this;this._scrollDispatcher=a;this._viewportRuler=b;this._ngZone=c;this.noop=function(){return new cx};this.close=function(f){return new bx(e._scrollDispatcher,e._ngZone,e._viewportRuler,f)};this.block=function(){return new ax(e._viewportRuler,e._document)};this.reposition=function(f){return new dx(e._scrollDispatcher,e._viewportRuler,e._ngZone,f)};this._document=d};lx.\u0275fac=function(a){return new (a||lx)(n(ex),n(ix),n(ze),n(gh))};
lx.\u0275prov=Hc({token:lx,factory:lx.\u0275fac,providedIn:"root"});var mx=function(a){this.scrollStrategy=new cx;this.panelClass="";this.hasBackdrop=!1;this.backdropClass="cdk-overlay-dark-backdrop";this.disposeOnNavigation=!1;if(a){var b=Object.keys(a);b=l(b);for(var c=b.next();!c.done;c=b.next())c=c.value,a[c]!==void 0&&(this[c]=a[c])}};var nx=function(a,b,c,d,e,f,h,k,q,t,w){var B=this;t=t===void 0?!1:t;this._portalOutlet=a;this._host=b;this._pane=c;this._config=d;this._ngZone=e;this._keyboardDispatcher=f;this._document=h;this._location=k;this._outsideClickDispatcher=q;this._animationsDisabled=t;this._injector=w;this._backdropElement=null;this._backdropClick=new W.Subject;this._attachments=new W.Subject;this._detachments=new W.Subject;this._locationChanges=W.Subscription.EMPTY;this._backdropClickHandler=function(E){return B._backdropClick.next(E)};
this._backdropTransitionendHandler=function(E){B._disposeBackdrop(E.target)};this._keydownEvents=new W.Subject;this._outsidePointerEvents=new W.Subject;this._renders=new W.Subject;d.scrollStrategy&&(this._scrollStrategy=d.scrollStrategy,this._scrollStrategy.attach(this));this._positionStrategy=d.positionStrategy;this._afterRenderRef=Jma(function(){return fia(function(){B._renders.next()},{injector:B._injector})})};g=nx.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();Fe(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()){IWb(this);this._togglePointerEvents(!1);this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach();this._scrollStrategy&&this._scrollStrategy.disable();var a=this._portalOutlet.detach();this._detachments.next();this._keyboardDispatcher.remove(this);this._detachContentWhenEmpty();this._locationChanges.unsubscribe();this._outsideClickDispatcher.remove(this);return a}};
g.dispose=function(){var a=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose();this._disposeScrollStrategy();this._disposeBackdrop(this._backdropElement);this._locationChanges.unsubscribe();this._keyboardDispatcher.remove(this);this._portalOutlet.dispose();this._attachments.complete();this._backdropClick.complete();this._keydownEvents.complete();this._outsidePointerEvents.complete();this._outsideClickDispatcher.remove(this);var b;(b=this._host)==null||b.remove();this._previousHostParent=
this._pane=this._host=null;a&&this._detachments.next();this._detachments.complete();this._afterRenderRef.destroy();this._renders.complete()};g.hasAttached=function(){return this._portalOutlet.hasAttached()};g.backdropClick=function(){return this._backdropClick};g.attachments=function(){return this._attachments};g.keydownEvents=function(){return this._keydownEvents};g.outsidePointerEvents=function(){return this._outsidePointerEvents};g.getConfig=function(){return this._config};
g.updatePosition=function(){this._positionStrategy&&this._positionStrategy.apply()};var JWb=function(a,b){b!==a._positionStrategy&&(a._positionStrategy&&a._positionStrategy.dispose(),a._positionStrategy=b,a.hasAttached()&&(b.attach(a),a.updatePosition()))};nx.prototype.updateSize=function(a){this._config=Object.assign({},this._config,a);this._updateElementSize()};nx.prototype.setDirection=function(a){this._config=Object.assign({},this._config,{direction:a});this._updateElementDirection()};
nx.prototype.addPanelClass=function(a){this._pane&&this._toggleClasses(this._pane,a,!0)};nx.prototype.removePanelClass=function(a){this._pane&&this._toggleClasses(this._pane,a,!1)};var KWb=function(a){return(a=a._config.direction)?typeof a==="string"?a:a.value:"ltr"};g=nx.prototype;g._updateElementDirection=function(){this._host.setAttribute("dir",KWb(this))};
g._updateElementSize=function(){if(this._pane){var a=this._pane.style;a.width=ch(this._config.width);a.height=ch(this._config.height);a.minWidth=ch(this._config.minWidth);a.minHeight=ch(this._config.minHeight);a.maxWidth=ch(this._config.maxWidth);a.maxHeight=ch(this._config.maxHeight)}};g._togglePointerEvents=function(a){this._pane.style.pointerEvents=a?"":"none"};
g._attachBackdrop=function(){var a=this;this._backdropElement=this._document.createElement("div");this._backdropElement.classList.add("cdk-overlay-backdrop");this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation");this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0);this._host.parentElement.insertBefore(this._backdropElement,this._host);this._backdropElement.addEventListener("click",this._backdropClickHandler);
this._animationsDisabled||typeof requestAnimationFrame==="undefined"?this._backdropElement.classList.add("cdk-overlay-backdrop-showing"):this._ngZone.runOutsideAngular(function(){requestAnimationFrame(function(){a._backdropElement&&a._backdropElement.classList.add("cdk-overlay-backdrop-showing")})})};g._updateStackingOrder=function(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)};
var IWb=function(a){var b=a._backdropElement;b&&(a._animationsDisabled?a._disposeBackdrop(b):(b.classList.remove("cdk-overlay-backdrop-showing"),a._ngZone.runOutsideAngular(function(){b.addEventListener("transitionend",a._backdropTransitionendHandler)}),b.style.pointerEvents="none",a._backdropTimeout=a._ngZone.runOutsideAngular(function(){return setTimeout(function(){a._disposeBackdrop(b)},500)})))};
nx.prototype._toggleClasses=function(a,b,c){b=ah(b||[]).filter(function(d){return!!d});b.length&&(c?a.classList.add.apply(a.classList,r(b)):a.classList.remove.apply(a.classList,r(b)))};
nx.prototype._detachContentWhenEmpty=function(){var a=this;this._ngZone.runOutsideAngular(function(){var b=a._renders.pipe(qf((0,W.merge)(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())})})};
nx.prototype._disposeScrollStrategy=function(){var a=this._scrollStrategy;a&&(a.disable(),a.detach&&a.detach())};nx.prototype._disposeBackdrop=function(a){a&&(a.removeEventListener("click",this._backdropClickHandler),a.removeEventListener("transitionend",this._backdropTransitionendHandler),a.remove(),this._backdropElement===a&&(this._backdropElement=null));this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)};
ea.Object.defineProperties(nx.prototype,{overlayElement:{configurable:!0,enumerable:!0,get:function(){return this._pane}},hostElement:{configurable:!0,enumerable:!0,get:function(){return this._host}}});var LWb=function(a,b){this.connectionPair=a;this.scrollableViewProperties=b};var Noa=/([A-Za-z%]+)$/,ox=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 W.Subject;this._resizeSubscription=W.Subscription.EMPTY;this._offsetY=this._offsetX=0;this._appliedPanelClasses=[];this.positionChanges=
this._positionChanges;this.setOrigin(a)};ox.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()})};
ox.prototype.apply=function(){if(!this._isDisposed&&this._platform.isBrowser)if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)MWb(this);else{this._clearPanelClasses();this._resetOverlayElementStyles();this._resetBoundingBoxStyles();this._viewportRect=this._getNarrowedViewportRect();this._originRect=this._getOriginRect();this._overlayRect=this._pane.getBoundingClientRect();this._containerRect=CWb(this._overlayContainer).getBoundingClientRect();for(var a=this._originRect,b=this._overlayRect,
c=this._viewportRect,d=this._containerRect,e=[],f,h=l(this._preferredPositions),k=h.next();!k.done;k=h.next()){k=k.value;var q=this._getOriginPoint(a,d,k),t=this._getOverlayPoint(q,b,k),w=this._getOverlayFit(t,b,c,k);if(w.isCompletelyWithinViewport){this._isPushed=!1;this._applyPosition(k,q);return}if(this._canFitWithFlexibleDimensions(w,t,c))e.push({position:k,origin:q,overlayRect:b,boundingBoxRect:this._calculateBoundingBoxRect(q,k)});else if(!f||f.overlayFit.visibleArea<w.visibleArea)f={overlayFit:w,
overlayPoint:t,originPoint:q,position:k,overlayRect:b}}if(e.length){a=null;b=-1;e=l(e);for(c=e.next();!c.done;c=e.next())c=c.value,d=c.boundingBoxRect.width*c.boundingBoxRect.height*(c.position.weight||1),d>b&&(b=d,a=c);this._isPushed=!1;this._applyPosition(a.position,a.origin)}else this._canPush&&(this._isPushed=!0),this._applyPosition(f.position,f.originPoint)}};ox.prototype.detach=function(){this._clearPanelClasses();this._previousPushAmount=this._lastPosition=null;this._resizeSubscription.unsubscribe()};
ox.prototype.dispose=function(){this._isDisposed||(this._boundingBox&&hh(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 MWb=function(a){if(!a._isDisposed&&a._platform.isBrowser){var b=a._lastPosition;b?(a._originRect=a._getOriginRect(),a._overlayRect=a._pane.getBoundingClientRect(),a._viewportRect=a._getNarrowedViewportRect(),a._containerRect=CWb(a._overlayContainer).getBoundingClientRect(),a._applyPosition(b,a._getOriginPoint(a._originRect,a._containerRect,b))):a.apply()}},NWb=function(a,b){a._scrollables=b;return a},px=function(a,b){a._preferredPositions=b;b.indexOf(a._lastPosition)===-1&&(a._lastPosition=null);
return a},qx=function(a,b){a._viewportMargin=b;return a},rx=function(a,b){a._hasFlexibleDimensions=b===void 0?!0:b;return a},OWb=function(a,b){a._growAfterOpen=b===void 0?!0:b;return a},PWb=function(a,b){a._canPush=b===void 0?!0:b;return a},QWb=function(a,b){a._positionLocked=b===void 0?!0:b;return a};ox.prototype.setOrigin=function(a){this._origin=a;return this};var RWb=function(a,b){a._transformOriginSelector=b;return a};g=ox.prototype;
g._getOriginPoint=function(a,b,c){if(c.originX=="center")var d=a.left+a.width/2;else{d=this._isRtl()?a.right:a.left;var e=this._isRtl()?a.left:a.right;d=c.originX=="start"?d:e}b.left<0&&(d-=b.left);a=c.originY=="center"?a.top+a.height/2:c.originY=="top"?a.top:a.bottom;b.top<0&&(a-=b.top);return{x:d,y:a}};
g._getOverlayPoint=function(a,b,c){return{x:a.x+(c.overlayX=="center"?-b.width/2:c.overlayX==="start"?this._isRtl()?-b.width:0:this._isRtl()?0:-b.width),y:a.y+(c.overlayY=="center"?-b.height/2:c.overlayY=="top"?0:-b.height)}};
g._getOverlayFit=function(a,b,c,d){b=Poa(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=Ooa(this._overlayRef.getConfig().minHeight);var e=Ooa(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=Poa(b);var d=this._viewportRect,e=Math.max(a.x+b.width-d.width,0),f=Math.max(a.y+b.height-d.height,0),h=Math.max(d.top-c.top-a.y,0),k=Math.max(d.left-c.left-a.x,0);e=b.width<=d.width?k||-e:a.x<this._viewportMargin?d.left-c.left-a.x:0;c=b.height<=d.height?h||-f:a.y<this._viewportMargin?d.top-c.top-a.y:0;this._previousPushAmount={x:e,y:c};
return{x:a.x+e,y:a.y+c}};
g._applyPosition=function(a,b){this._setTransformOrigin(a);this._setOverlayElementStyles(b,a);this._setBoundingBoxStyles(b,a);a.panelClass&&this._addPanelClasses(a.panelClass);if(this._positionChanges.observers.length){b=this._getScrollVisibility();var c;if(c=a===this._lastPosition&&this._lastScrollVisibility)c=this._lastScrollVisibility,c=c===b?!0:c.isOriginClipped===b.isOriginClipped&&c.isOriginOutsideView===b.isOriginOutsideView&&c.isOverlayClipped===b.isOverlayClipped&&c.isOverlayOutsideView===
b.isOverlayOutsideView;c||this._positionChanges.next(new LWb(a,b));this._lastScrollVisibility=b}this._lastPosition=a;this._isInitialRender=!1};g._setTransformOrigin=function(a){if(this._transformOriginSelector){var b=this._boundingBox.querySelectorAll(this._transformOriginSelector),c=a.overlayY;a=a.overlayX==="center"?"center":this._isRtl()?a.overlayX==="start"?"right":"left":a.overlayX==="start"?"left":"right";for(var d=0;d<b.length;d++)b[d].style.transformOrigin=a+" "+c}};
g._calculateBoundingBoxRect=function(a,b){var c=this._viewportRect,d=this._isRtl();if(b.overlayY==="top"){var e=a.y;var f=c.height-e+this._viewportMargin}else if(b.overlayY==="bottom"){var h=c.height-a.y+this._viewportMargin*2;f=c.height-h+this._viewportMargin}else{e=Math.min(c.bottom-a.y+c.top,a.y);var k=this._lastBoundingBoxSize.height;f=e*2;e=a.y-e;f>k&&!this._isInitialRender&&!this._growAfterOpen&&(e=a.y-k/2)}k=b.overlayX==="start"&&!d||b.overlayX==="end"&&d;if(b.overlayX==="end"&&!d||b.overlayX===
"start"&&d){var q=c.width-a.x+this._viewportMargin*2;b=a.x-this._viewportMargin}else if(k){var t=a.x;b=c.right-a.x}else t=Math.min(c.right-a.x+c.left,a.x),c=this._lastBoundingBoxSize.width,b=t*2,t=a.x-t,b>c&&!this._isInitialRender&&!this._growAfterOpen&&(t=a.x-c/2);return{top:e,left:t,bottom:h,right:q,width:b,height:f}};
g._setBoundingBoxStyles=function(a,b){a=this._calculateBoundingBoxRect(a,b);this._isInitialRender||this._growAfterOpen||(a.height=Math.min(a.height,this._lastBoundingBoxSize.height),a.width=Math.min(a.width,this._lastBoundingBoxSize.width));var c={};if(this._hasExactPosition())c.top=c.left="0",c.bottom=c.right=c.maxHeight=c.maxWidth="",c.width=c.height="100%";else{var d=this._overlayRef.getConfig().maxHeight,e=this._overlayRef.getConfig().maxWidth;c.height=ch(a.height);c.top=ch(a.top);c.bottom=ch(a.bottom);
c.width=ch(a.width);c.left=ch(a.left);c.right=ch(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=ch(d));e&&(c.maxWidth=ch(e))}this._lastBoundingBoxSize=a;hh(this._boundingBox.style,c)};g._resetBoundingBoxStyles=function(){hh(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})};
g._resetOverlayElementStyles=function(){hh(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();hh(c,this._getExactOverlayY(b,a,h));hh(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=ch(f.maxHeight):e&&(c.maxHeight=""));f.maxWidth&&
(d?c.maxWidth=ch(f.maxWidth):e&&(c.maxWidth=""));hh(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=ch(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=ch(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:Loa(a,c),isOriginOutsideView:Koa(a,c),isOverlayClipped:Loa(b,c),isOverlayOutsideView:Koa(b,c)}};g._subtractOverflows=function(a){return kd.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 KWb(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&&ah(a).forEach(function(c){c!==""&&b._appliedPanelClasses.indexOf(c)===-1&&(b._appliedPanelClasses.push(c),b._pane.classList.add(c))})};
g._clearPanelClasses=function(){var a=this;this._pane&&(this._appliedPanelClasses.forEach(function(b){a._pane.classList.remove(b)}),this._appliedPanelClasses=[])};g._getOriginRect=function(){var a=this._origin;if(a instanceof Rd)return a.nativeElement.getBoundingClientRect();if(a instanceof Element)return a.getBoundingClientRect();var b=a.width||0,c=a.height||0;return{top:a.y,bottom:a.y+c,left:a.x,right:a.x+b,height:c,width:b}};
ea.Object.defineProperties(ox.prototype,{positions:{configurable:!0,enumerable:!0,get:function(){return this._preferredPositions}}});var SWb=function(){this._cssPosition="static";this._height=this._width=this._xOffset=this._xPosition=this._alignItems=this._bottomOffset=this._topOffset="";this._isDisposed=!1};g=SWb.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 sx=function(a){a.left("");a._xPosition="center";return a},TWb=function(a){a.top("");a._alignItems="center";return a};
SWb.prototype.apply=function(){if(this._overlayRef&&this._overlayRef.hasAttached()){var a=this._overlayRef.overlayElement.style,b=this._overlayRef.hostElement.style,c=this._overlayRef.getConfig(),d=c.width,e=c.height,f=c.maxWidth;c=c.maxHeight;d=(d==="100%"||d==="100vw")&&(!f||f==="100%"||f==="100vw");e=(e==="100%"||e==="100vh")&&(!c||c==="100%"||c==="100vh");f=this._xPosition;c=this._xOffset;var h=this._overlayRef.getConfig().direction==="rtl",k="",q="",t="";if(d)t="flex-start";else if(f==="center")t=
"center",h?q=c:k=c;else if(h)if(f==="left"||f==="end")t="flex-end",k=c;else{if(f==="right"||f==="start")t="flex-start",q=c}else if(f==="left"||f==="start")t="flex-start",k=c;else if(f==="right"||f==="end")t="flex-end",q=c;a.position=this._cssPosition;a.marginLeft=d?"0":k;a.marginTop=e?"0":this._topOffset;a.marginBottom=this._bottomOffset;a.marginRight=d?"0":q;b.justifyContent=t;b.alignItems=e?"flex-start":this._alignItems}};
SWb.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 tx=function(a,b,c,d){this._viewportRuler=a;this._document=b;this._platform=c;this._overlayContainer=d};tx.prototype.global=function(){return new SWb};var ux=function(a,b){return new ox(b,a._viewportRuler,a._document,a._platform,a._overlayContainer)};tx.\u0275fac=function(a){return new (a||tx)(n(ix),n(gh),n($v),n($w))};tx.\u0275prov=Hc({token:tx,factory:tx.\u0275fac,providedIn:"root"});var UWb=0,vx=function(a,b,c,d,e,f,h,k,q,t,w,B){this.scrollStrategies=a;this._overlayContainer=b;this._componentFactoryResolver=c;this._positionBuilder=d;this._keyboardDispatcher=e;this._injector=f;this._ngZone=h;this._document=k;this._directionality=q;this._location=t;this._outsideClickDispatcher=w;this._animationsModuleType=B};g=vx.prototype;
g.create=function(a){var b=this._createHostElement(),c=this._createPaneElement(b),d=this._createPortalOutlet(c);a=new mx(a);a.direction=a.direction||this._directionality.value;return new nx(d,b,c,a,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,this._animationsModuleType==="NoopAnimations",this._injector.get(qu))};g.position=function(){return this._positionBuilder};
g._createPaneElement=function(a){var b=this._document.createElement("div");b.id="cdk-overlay-"+UWb++;b.classList.add("cdk-overlay-pane");a.appendChild(b);return b};g._createHostElement=function(){var a=this._document.createElement("div");CWb(this._overlayContainer).appendChild(a);return a};g._createPortalOutlet=function(a){this._appRef||(this._appRef=this._injector.get(uv));return new Qw(a,this._componentFactoryResolver,this._appRef,this._injector,this._document)};
vx.\u0275fac=function(a){return new (a||vx)(n(lx),n($w),n(tu),n(tx),n(Yw),n(Ae),n(ze),n(gh),n(Uw),n(Zv),n(Zw),n(vu,8))};vx.\u0275prov=Hc({token:vx,factory:vx.\u0275fac,providedIn:"root"});var VWb=[{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"}],WWb=new md("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:function(){var a=Yc(vx);return function(){return a.scrollStrategies.reposition()}}}),wx=function(a){this.elementRef=a};
wx.\u0275fac=function(a){return new (a||wx)(A(Rd))};wx.\u0275dir=fd({type:wx,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0});
var xx=function(a,b,c,d,e){this._overlay=a;this._dir=e;this._positionSubscription=this._detachSubscription=this._attachSubscription=this._backdropSubscription=W.Subscription.EMPTY;this._disposeOnNavigation=!1;this._ngZone=Yc(ze);this.viewportMargin=0;this.push=this.growAfterOpen=this.flexibleDimensions=this.lockPosition=this.hasBackdrop=this.disableClose=this.open=!1;this.backdropClick=new Xu;this.positionChange=new Xu;this.attach=new Xu;this.detach=new Xu;this.overlayKeydown=new Xu;this.overlayOutsideClick=
new Xu;this._templatePortal=new Ow(b,c);this._scrollStrategyFactory=d;this.scrollStrategy=this._scrollStrategyFactory()};g=xx.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=VWb);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||$g(c)||(c.preventDefault(),a._detachOverlay())});this._overlayRef.outsidePointerEvents().subscribe(function(c){var d=
a._getOriginElement(),e=Zg(c);d&&(d===e||d.contains(e))||a.overlayOutsideClick.next(c)})};
g._buildConfig=function(){var a=this._position=this.positionStrategy||this._createPositionStrategy();a=new mx({direction:this._dir,positionStrategy:a,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation});if(this.width||this.width===0)a.width=this.width;if(this.height||this.height===0)a.height=this.height;if(this.minWidth||this.minWidth===0)a.minWidth=this.minWidth;if(this.minHeight||this.minHeight===0)a.minHeight=this.minHeight;this.backdropClass&&
(a.backdropClass=this.backdropClass);this.panelClass&&(a.panelClass=this.panelClass);return a};
g._updatePositionStrategy=function(a){var b=this,c=this.positions.map(function(d){return{originX:d.originX,originY:d.originY,overlayX:d.overlayX,overlayY:d.overlayY,offsetX:d.offsetX||b.offsetX,offsetY:d.offsetY||b.offsetY,panelClass:d.panelClass||void 0}});return RWb(QWb(qx(OWb(PWb(rx(px(a.setOrigin(this._getOrigin()),c),this.flexibleDimensions),this.push),this.growAfterOpen),this.viewportMargin),this.lockPosition),this.transformOriginSelector)};
g._createPositionStrategy=function(){var a=ux(this._overlay.position(),this._getOrigin());this._updatePositionStrategy(a);return a};g._getOrigin=function(){return this.origin instanceof wx?this.origin.elementRef:this.origin};g._getOriginElement=function(){return this.origin instanceof wx?this.origin.elementRef.nativeElement:this.origin instanceof Rd?this.origin.nativeElement:typeof Element!=="undefined"&&this.origin instanceof Element?this.origin:null};
g._attachOverlay=function(){var a=this;this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay();this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal);this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(function(b){a.backdropClick.emit(b)}):this._backdropSubscription.unsubscribe();this._positionSubscription.unsubscribe();this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(Aka(function(){return a.positionChange.observers.length>
0})).subscribe(function(b){a._ngZone.run(function(){return a.positionChange.emit(b)});a.positionChange.observers.length===0&&a._positionSubscription.unsubscribe()}))};g._detachOverlay=function(){this._overlayRef&&this._overlayRef.detach();this._backdropSubscription.unsubscribe();this._positionSubscription.unsubscribe()};
ea.Object.defineProperties(xx.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"}}});xx.\u0275fac=function(a){return new (a||xx)(A(vx),A(cg),A(dg),A(WWb),A(Uw,8))};
xx.\u0275dir=fd({type:xx,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",Gg],lockPosition:[2,"cdkConnectedOverlayLockPosition","lockPosition",Gg],flexibleDimensions:[2,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",Gg],growAfterOpen:[2,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",Gg],push:[2,"cdkConnectedOverlayPush","push",Gg],disposeOnNavigation:[2,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",
Gg]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[Af,td]});var XWb={provide:WWb,deps:[vx],useFactory:function(a){return function(){return a.scrollStrategies.reposition()}}};var yx=function(){};yx.\u0275fac=function(a){return new (a||yx)};yx.\u0275mod=dd({type:yx});yx.\u0275inj=Ic({providers:[vx,XWb],imports:[Vw,Tw,kx,kx]});var YWb=new md("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}}),zx=function(a,b,c){this._sanityChecks=b;this._document=c;this._hasDoneGlobalChecks=!1;a._applyBodyHighContrastModeCssClasses();this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)};zx.prototype._checkIsEnabled=function(a){return joa()?!1:typeof this._sanityChecks==="boolean"?this._sanityChecks:!!this._sanityChecks[a]};zx.\u0275fac=function(a){return new (a||zx)(n(qw),n(YWb,8),n(gh))};zx.\u0275mod=dd({type:zx});
zx.\u0275inj=Ic({imports:[Vw,Vw]});var ZWb=function(a,b,c,d,e){this._defaultMatcher=a;this.ngControl=b;this._parentFormGroup=c;this._parentForm=d;this._stateChanges=e;this.errorState=!1};ZWb.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 md("MAT_DATE_LOCALE",{providedIn:"root",factory:Toa});var Ax=function(){this.localeChanges=this._localeChanges=new W.Subject},Bx=function(a,b){return b instanceof Hm&&a.isValid(b)?b:null},Cx=function(a,b){return b==null||b instanceof Hm&&a.isValid(b)?b:a.invalid()};Ax.prototype.setLocale=function(a){this.locale=a;this._localeChanges.next()};var Dx=function(a,b,c){return a.getYear(b)-a.getYear(c)||a.getMonth(b)-a.getMonth(c)||a.getDate(b)-a.getDate(c)};
Ax.prototype.sameDate=function(a,b){if(a&&b){var c=this.isValid(a),d=this.isValid(b);return c&&d?!Dx(this,a,b):c==d}return a==b};var $Wb=function(a,b,c,d){return c&&Dx(a,b,c)<0?c:d&&Dx(a,b,d)>0?d:b};var Ex=new md("mat-date-formats");var Fx=function(){};Fx.prototype.isErrorState=function(a,b){return!!(a&&a.invalid&&(a.touched||b&&b.submitted))};Fx.\u0275fac=function(a){return new (a||Fx)};Fx.\u0275prov=Hc({token:Fx,factory:Fx.\u0275fac,providedIn:"root"});var Gx=function(){};Gx.\u0275fac=function(a){return new (a||Gx)};
Gx.\u0275cmp=p({type:Gx,selectors:[["div","mat-internal-form-field",""]],hostAttrs:[1,"mdc-form-field","mat-internal-form-field"],hostVars:2,hostBindings:function(a,b){a&2&&Kf("mdc-form-field--align-end",b.labelPosition==="before")},inputs:{labelPosition:"labelPosition"},standalone:!0,features:[sg],attrs:["mat-internal-form-field",""],ngContentSelectors:["*"],decls:1,vars:0,template:function(a){a&1&&(Xf(),Yf(0))},styles:[".mdc-form-field{display:inline-flex;align-items:center;vertical-align:middle}.mdc-form-field[hidden]{display:none}.mdc-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{margin-left:auto;margin-right:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{padding-left:0;padding-right:4px}.mdc-form-field--nowrap>label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.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>label,.mdc-form-field--align-end>label[dir=rtl]{margin-left:0;margin-right:auto}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{padding-left:4px;padding-right:0}.mdc-form-field--space-between{justify-content:space-between}.mdc-form-field--space-between>label{margin:0}[dir=rtl] .mdc-form-field--space-between>label,.mdc-form-field--space-between>label[dir=rtl]{margin:0}.mat-internal-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}\n"],encapsulation:2,
changeDetection:0});var aXb=new md("MAT_OPTION_PARENT_COMPONENT");var bXb=new md("MatOptgroup");var cXb=Wg({passive:!0,capture:!0}),eXb=function(a,b,c,d){var e=dXb,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,cXb)}))};var fXb=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 gXb={enterDuration:225,exitDuration:150},hXb=Wg({passive:!0,capture:!0}),iXb=["mousedown","touchstart"],jXb=["mouseup","mouseleave","touchend","touchcancel"],kXb=function(a,b,c,d){this._target=a;this._ngZone=b;this._platform=d;this._isPointerDown=!1;this._activeRipples=new Map;this._pointerUpEventsRegistered=!1;d.isBrowser&&(this._containerElement=dh(c))},lXb=function(a,b,c,d){d=d===void 0?{}:d;var e=a._containerRect=a._containerRect||a._containerElement.getBoundingClientRect(),f=Object.assign({},
gXb,d.animation);d.centered&&(b=e.left+e.width/2,c=e.top+e.height/2);var h=d.radius||Uoa(b,c,e);b-=e.left;var k=c-e.top;c=f.enterDuration;var q=document.createElement("div");q.classList.add("mat-ripple-element");q.style.left=b-h+"px";q.style.top=k-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=c+"ms";a._containerElement.appendChild(q);h=window.getComputedStyle(q);b=h.transitionDuration;e=h.transitionProperty==="none"||
b==="0s"||b==="0s, 0s"||e.width===0&&e.height===0;var t=new fXb(a,q,d,e);q.style.transform="scale3d(1, 1, 1)";t.state=0;d.persistent||(a._mostRecentTransientRipple=t);var w=null;e||!c&&!f.exitDuration||a._ngZone.runOutsideAngular(function(){var B=function(){return a._finishRippleTransition(t)},E=function(){return a._destroyRipple(t)};q.addEventListener("transitionend",B);q.addEventListener("transitioncancel",E);w={onTransitionEnd:B,onTransitionCancel:E}});a._activeRipples.set(t,w);!e&&c||a._finishRippleTransition(t);
return t},mXb=function(a,b){if(b.state!==2&&b.state!==3){var c=b.element,d=Object.assign({},gXb,b.config.animation);c.style.transitionDuration=d.exitDuration+"ms";c.style.opacity="0";b.state=2;!b._animationForciblyDisabledThroughCss&&d.exitDuration||a._finishRippleTransition(b)}};kXb.prototype.fadeOutAllNonPersistent=function(){this._getActiveRipples().forEach(function(a){a.config.persistent||mXb(a._renderer,a)})};
var nXb=function(a,b){var c=dh(b);a._platform.isBrowser&&c&&c!==a._triggerElement&&(a._removeTriggerEvents(),a._triggerElement=c,iXb.forEach(function(d){eXb(a._ngZone,d,c,a)}))};g=kXb.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(){jXb.forEach(function(c){b._triggerElement.addEventListener(c,b,hXb)})}),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||mXb(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));a.element.remove()};
g._onMousedown=function(a){var b=woa(a),c=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;this._target.rippleDisabled||b||c||(this._isPointerDown=!0,lXb(this,a.clientX,a.clientY,this._target.rippleConfig))};g._onTouchStart=function(a){if(!this._target.rippleDisabled&&!xoa(a)&&(this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0,a=a.changedTouches))for(var b=0;b<a.length;b++)lXb(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&&mXb(a._renderer,a)}))};g._getActiveRipples=function(){return Array.from(this._activeRipples.keys())};
g._removeTriggerEvents=function(){var a=this,b=this._triggerElement;b&&(iXb.forEach(function(c){var d=dXb,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,cXb)))}}),this._pointerUpEventsRegistered&&(jXb.forEach(function(c){return b.removeEventListener(c,a,hXb)}),this._pointerUpEventsRegistered=!1))};
var dXb=new function(){var a=this;this._events=new Map;this._delegateEventHandler=function(b){var c=Zg(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 Hx=new md("mat-ripple-global-options"),Ix=function(a,b,c,d,e){this._elementRef=a;this._animationMode=e;this.radius=0;this._isInitialized=this._disabled=!1;this._globalOptions=d||{};this._rippleRenderer=new kXb(this,b,a,c)};g=Ix.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&&nXb(this._rippleRenderer,this.trigger)};g.launch=function(a,b,c){return typeof a==="number"?lXb(this._rippleRenderer,a,b===void 0?0:b,Object.assign({},this.rippleConfig,c)):lXb(this._rippleRenderer,0,0,Object.assign({},this.rippleConfig,a))};
ea.Object.defineProperties(Ix.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}}});Ix.\u0275fac=function(a){return new (a||Ix)(A(Rd),A(ze),A($v),A(Hx,8),A(vu,8))};
Ix.\u0275dir=fd({type:Ix,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(a,b){a&2&&Kf("mat-ripple-unbounded",b.unbounded)},inputs:{color:[0,"matRippleColor","color"],unbounded:[0,"matRippleUnbounded","unbounded"],centered:[0,"matRippleCentered","centered"],radius:[0,"matRippleRadius","radius"],animation:[0,"matRippleAnimation","animation"],disabled:[0,"matRippleDisabled","disabled"],trigger:[0,"matRippleTrigger","trigger"]},exportAs:["matRipple"],
standalone:!0});var Jx=function(a){this._animationMode=a;this.state="unchecked";this.disabled=!1;this.appearance="full"};Jx.\u0275fac=function(a){return new (a||Jx)(A(vu,8))};
Jx.\u0275cmp=p({type:Jx,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(a,b){a&2&&Kf("mat-pseudo-checkbox-indeterminate",b.state==="indeterminate")("mat-pseudo-checkbox-checked",b.state==="checked")("mat-pseudo-checkbox-disabled",b.disabled)("mat-pseudo-checkbox-minimal",b.appearance==="minimal")("mat-pseudo-checkbox-full",b.appearance==="full")("_mat-animation-noopable",b._animationMode==="NoopAnimations")},inputs:{state:"state",disabled:"disabled",
appearance:"appearance"},standalone:!0,features:[sg],decls:0,vars:0,template:function(){},styles:['.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-minimal-pseudo-checkbox-selected-checkmark-color)}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color)}.mat-pseudo-checkbox-full{border-color:var(--mat-full-pseudo-checkbox-unselected-icon-color);border-width:2px;border-style:solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled{border-color:var(--mat-full-pseudo-checkbox-disabled-unselected-icon-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{background-color:var(--mat-full-pseudo-checkbox-selected-icon-color);border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-full-pseudo-checkbox-selected-checkmark-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background-color:var(--mat-full-pseudo-checkbox-disabled-selected-icon-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-full-pseudo-checkbox-disabled-selected-checkmark-color)}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}\n'],
encapsulation:2,changeDetection:0});var oXb=["text"],pXb=[[["mat-icon"]],"*"],qXb=0,rXb=function(a,b){this.source=a;this.isUserInput=b===void 0?!1:b},Kx=function(a,b,c,d){this._element=a;this._changeDetectorRef=b;this._parent=c;this.group=d;this._disabled=this._active=this._selected=!1;this._mostRecentViewValue="";this.id="mat-option-"+qXb++;this.onSelectionChange=new Xu;this._stateChanges=new W.Subject};g=Kx.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||$g(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 rXb(this,a===void 0?!1:a))};
ea.Object.defineProperties(Kx.prototype,{multiple:{configurable:!0,enumerable:!0,get:function(){return this._parent&&this._parent.multiple}},selected:{configurable:!0,enumerable:!0,get:function(){return this._selected}},disabled:{configurable:!0,enumerable:!0,get:function(){return this.group&&this.group.disabled||this._disabled},set:function(a){this._disabled=a}},disableRipple:{configurable:!0,enumerable:!0,get:function(){return!(!this._parent||!this._parent.disableRipple)}},hideSingleSelectionIndicator:{configurable:!0,
enumerable:!0,get:function(){return!(!this._parent||!this._parent.hideSingleSelectionIndicator)}},active:{configurable:!0,enumerable:!0,get:function(){return this._active}},viewValue:{configurable:!0,enumerable:!0,get:function(){var a;return(((a=this._text)==null?void 0:a.nativeElement.textContent)||"").trim()}}});Kx.\u0275fac=function(a){return new (a||Kx)(A(Rd),A(Ig),A(aXb,8),A(bXb,8))};
Kx.\u0275cmp=p({type:Kx,selectors:[["mat-option"]],viewQuery:function(a,b){a&1&&fg(oXb,7);if(a&2){var c;jg(c=kg())&&(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&&(Tf("id",b.id),Bf("aria-selected",b.selected)("aria-disabled",b.disabled.toString()),Kf("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",Gg]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],standalone:!0,features:[Af,sg],ngContentSelectors:["mat-icon","*"],decls:8,vars:5,consts:[["text",""],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],[1,"mdc-list-item__primary-text"],["state","checked","aria-hidden","true","appearance","minimal",
1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled"]],template:function(a,b){a&1&&(Xf(pXb),C(0,Voa,1,2,"mat-pseudo-checkbox",1),Yf(1),F(2,"span",2,0),Yf(4,1),G(),C(5,Woa,1,1,"mat-pseudo-checkbox",3)(6,Xoa,2,1,"span",4),H(7,"div",5));a&2&&(Of(b.multiple?0:-1),z(5),Of(b.multiple||!b.selected||b.hideSingleSelectionIndicator?-1:5),z(),Of(b.group&&b.group._inert?
6:-1),z(),D("matRippleTrigger",b._getHostElement())("matRippleDisabled",b.disabled||b.disableRipple))},dependencies:[Jx,Ix],styles:['.mat-mdc-option{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color);font-family:var(--mat-option-label-text-font);line-height:var(--mat-option-label-text-line-height);font-size:var(--mat-option-label-text-size);letter-spacing:var(--mat-option-label-text-tracking);font-weight:var(--mat-option-label-text-weight);min-height:48px}.mat-mdc-option:focus{outline:none}[dir=rtl] .mat-mdc-option,.mat-mdc-option[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color)}.mat-mdc-option:focus.mdc-list-item,.mat-mdc-option.mat-mdc-option-active.mdc-list-item{background-color:var(--mat-option-focus-state-layer-color)}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled) .mdc-list-item__primary-text{color:var(--mat-option-selected-state-label-text-color)}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple){background-color:var(--mat-option-selected-state-layer-color)}.mat-mdc-option.mdc-list-item{align-items:center;background:rgba(0,0,0,0)}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox,.mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text,.mat-mdc-option.mdc-list-item--disabled>mat-icon{opacity:.38}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}.cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{right:auto;left:16px}.mat-mdc-option-multiple{--mdc-list-list-item-selected-container-color:var(--mdc-list-list-item-container-color, transparent)}.mat-mdc-option-active .mat-mdc-focus-indicator::before{content:""}\n'],
encapsulation:2,changeDetection:0});var Lx=function(){};Lx.\u0275fac=function(a){return new (a||Lx)};Lx.\u0275mod=dd({type:Lx});Lx.\u0275inj=Ic({imports:[zx,zx]});var Mx=function(){};Mx.\u0275fac=function(a){return new (a||Mx)};Mx.\u0275mod=dd({type:Mx});Mx.\u0275inj=Ic({imports:[zx]});var Nx=function(){};Nx.\u0275fac=function(a){return new (a||Nx)};Nx.\u0275mod=dd({type:Nx});Nx.\u0275inj=Ic({imports:[Lx,zx,Mx,Kx]});var sXb={capture:!0},tXb=["focus","mousedown","mouseenter","touchstart"],Ox=function(){var a=this;this._document=Yc(gh,{optional:!0});this._animationMode=Yc(vu,{optional:!0});this._globalRippleOptions=Yc(Hx,{optional:!0});this._platform=Yc($v);this._ngZone=Yc(ze);this._hosts=new Map;this._onInteraction=function(b){b=Zg(b);if(b instanceof HTMLElement){var c,d;(b=b.closest('[mat-ripple-loader-uninitialized="'+((d=(c=a._globalRippleOptions)==null?void 0:c.namespace)!=null?d:"")+'"]'))&&a._createRipple(b)}};
this._ngZone.runOutsideAngular(function(){for(var b=l(tXb),c=b.next();!c.done;c=b.next()){c=c.value;var d=void 0;(d=a._document)==null||d.addEventListener(c,a._onInteraction,sXb)}})};Ox.prototype.ngOnDestroy=function(){var a=this._hosts.keys();a=l(a);for(var b=a.next();!b.done;b=a.next())uXb(this,b.value);a=l(tXb);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,sXb)}};
var vXb=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","")},wXb=function(a,b){return a._hosts.get(b)||a._createRipple(b)};
Ox.prototype.setDisabled=function(a,b){var c=this._hosts.get(a);c?c.disabled=b:b?a.setAttribute("mat-ripple-loader-disabled",""):a.removeAttribute("mat-ripple-loader-disabled")};
Ox.prototype._createRipple=function(a){if(this._document){var b=this._hosts.get(a);if(b)return b;var c;(c=a.querySelector(".mat-ripple"))==null||c.remove();b=this._document.createElement("span");b.classList.add("mat-ripple",a.getAttribute("mat-ripple-loader-class-name"));a.append(b);b=new Ix(new Rd(b),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);b._isInitialized=!0;b.trigger=a;b.centered=a.hasAttribute("mat-ripple-loader-centered");
b.disabled=a.hasAttribute("mat-ripple-loader-disabled");xXb(this,a,b);return b}};var xXb=function(a,b,c){b.removeAttribute("mat-ripple-loader-uninitialized");a._hosts.set(b,c)},uXb=function(a,b){var c=a._hosts.get(b);c&&(c.ngOnDestroy(),a._hosts.delete(b))};Ox.\u0275fac=function(a){return new (a||Ox)};Ox.\u0275prov=Hc({token:Ox,factory:Ox.\u0275fac,providedIn:"root"});var yXb=new md("MAT_BUTTON_CONFIG"),zXb=[{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"]},{attribute:"mat-mini-fab",
mdcClasses:["mdc-fab","mdc-fab--mini","mat-mdc-mini-fab"]},{attribute:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],Px=function(a,b,c,d){this._elementRef=a;this._platform=b;this._ngZone=c;this._animationMode=d;this._focusMonitor=Yc(ew);this._rippleLoader=Yc(Ox);this._disabled=this._disableRipple=this._isFab=!1;var e=Yc(yXb,{optional:!0}),f=a.nativeElement,h=f.classList,k;this.disabledInteractive=(k=e==null?void 0:e.disabledInteractive)!=null?k:!1;var q;(q=this._rippleLoader)==
null||vXb(q,f,{className:"mat-mdc-button-ripple"});e=l(zXb);for(k=e.next();!k.done;k=e.next())k=k.value,q=k.mdcClasses,f.hasAttribute(k.attribute)&&h.add.apply(h,r(q))};g=Px.prototype;g.ngAfterViewInit=function(){this._focusMonitor.monitor(this._elementRef,!0)};g.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef);var a;(a=this._rippleLoader)==null||uXb(a,this._elementRef.nativeElement)};
g.focus=function(a,b){(a=a===void 0?"program":a)?fw(this._focusMonitor,this._elementRef.nativeElement,a,b):this._elementRef.nativeElement.focus(b)};g._getAriaDisabled=function(){return this.ariaDisabled!=null?this.ariaDisabled:this.disabled&&this.disabledInteractive?!0:null};g._getDisabledAttribute=function(){return this.disabledInteractive||!this.disabled?null:!0};
g._updateRippleDisabled=function(){var a;(a=this._rippleLoader)==null||a.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)};
ea.Object.defineProperties(Px.prototype,{ripple:{configurable:!0,enumerable:!0,get:function(){var a;return(a=this._rippleLoader)==null?void 0:wXb(a,this._elementRef.nativeElement)},set:function(a){var b;(b=this._rippleLoader)==null||xXb(b,this._elementRef.nativeElement,a)}},disableRipple:{configurable:!0,enumerable:!0,get:function(){return this._disableRipple},set:function(a){this._disableRipple=a;this._updateRippleDisabled()}},disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled},
set:function(a){this._disabled=a;this._updateRippleDisabled()}}});Px.\u0275fac=function(){Ge()};Px.\u0275dir=fd({type:Px,inputs:{color:"color",disableRipple:[2,"disableRipple","disableRipple",Gg],disabled:[2,"disabled","disabled",Gg],ariaDisabled:[2,"aria-disabled","ariaDisabled",Gg],disabledInteractive:[2,"disabledInteractive","disabledInteractive",Gg]},features:[Af]});var Qx=function(a,b,c,d){Px.call(this,a,b,c,d);var e=this;this._haltDisabledEvents=function(f){e.disabled&&(f.preventDefault(),f.stopImmediatePropagation())}};
X(Qx,Px);Qx.prototype.ngOnInit=function(){var a=this;this._ngZone.runOutsideAngular(function(){a._elementRef.nativeElement.addEventListener("click",a._haltDisabledEvents)})};Qx.prototype.ngOnDestroy=function(){Px.prototype.ngOnDestroy.call(this);this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)};Qx.prototype._getAriaDisabled=function(){return this.ariaDisabled==null?this.disabled:this.ariaDisabled};Qx.\u0275fac=function(){Ge()};
Qx.\u0275dir=fd({type:Qx,inputs:{tabIndex:[2,"tabIndex","tabIndex",function(a){return a==null?void 0:Hg(a)}]},features:[Af,zf]});var AXb=["mat-button",""],BXb=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],CXb=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],
DXb=function(){return'.mdc-button{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;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.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__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px);display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{font-family:var(--mdc-text-button-label-text-font);font-size:var(--mdc-text-button-label-text-size);letter-spacing:var(--mdc-text-button-label-text-tracking);font-weight:var(--mdc-text-button-label-text-weight);text-transform:var(--mdc-text-button-label-text-transform);height:var(--mdc-text-button-container-height);border-radius:var(--mdc-text-button-container-shape);padding:0 var(--mat-text-button-horizontal-padding, 8px)}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape)}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-text-button-with-icon-horizontal-padding, 8px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color)}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color)}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color)}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity)}.mat-mdc-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-focus-state-layer-opacity)}.mat-mdc-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity)}.mat-mdc-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-text-button-touch-target-display)}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-unelevated-button{font-family:var(--mdc-filled-button-label-text-font);font-size:var(--mdc-filled-button-label-text-size);letter-spacing:var(--mdc-filled-button-label-text-tracking);font-weight:var(--mdc-filled-button-label-text-weight);text-transform:var(--mdc-filled-button-label-text-transform);height:var(--mdc-filled-button-container-height);border-radius:var(--mdc-filled-button-container-shape);padding:0 var(--mat-filled-button-horizontal-padding, 16px)}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color)}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape)}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color)}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color)}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-state-layer-color)}.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity)}.mat-mdc-unelevated-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-focus-state-layer-opacity)}.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity)}.mat-mdc-unelevated-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-filled-button-touch-target-display)}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color);background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{font-family:var(--mdc-protected-button-label-text-font);font-size:var(--mdc-protected-button-label-text-size);letter-spacing:var(--mdc-protected-button-label-text-tracking);font-weight:var(--mdc-protected-button-label-text-weight);text-transform:var(--mdc-protected-button-label-text-transform);height:var(--mdc-protected-button-container-height);border-radius:var(--mdc-protected-button-container-shape);padding:0 var(--mat-protected-button-horizontal-padding, 16px);box-shadow:var(--mdc-protected-button-container-elevation-shadow)}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color)}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape)}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color)}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color)}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-state-layer-color)}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity)}.mat-mdc-raised-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-focus-state-layer-opacity)}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity)}.mat-mdc-raised-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-protected-button-touch-target-display)}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow)}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow)}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow)}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color);background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation-shadow)}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{font-family:var(--mdc-outlined-button-label-text-font);font-size:var(--mdc-outlined-button-label-text-size);letter-spacing:var(--mdc-outlined-button-label-text-tracking);font-weight:var(--mdc-outlined-button-label-text-weight);text-transform:var(--mdc-outlined-button-label-text-transform);height:var(--mdc-outlined-button-container-height);border-radius:var(--mdc-outlined-button-container-shape);padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width);padding:0 var(--mat-outlined-button-horizontal-padding, 15px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color)}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape)}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color)}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width))}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color)}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color)}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-state-layer-color)}.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity)}.mat-mdc-outlined-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-focus-state-layer-opacity)}.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity)}.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-outlined-button-touch-target-display)}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color);border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button-base{text-decoration:none}.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-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px)*-1)}\n'},
EXb=function(){return".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}\n"},Rx=function(a,b,c,d){Px.call(this,a,b,c,d)};X(Rx,Px);Rx.\u0275dir=Px.\u0275dir;
Rx.\u0275fac=function(a){return new (a||Rx)(A(Rd),A($v),A(ze),A(vu,8))};
Rx.\u0275cmp=p({type:Rx,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:14,hostBindings:function(a,b){a&2&&(Bf("disabled",b._getDisabledAttribute())("aria-disabled",b._getAriaDisabled()),Lf(b.color?"mat-"+b.color:""),Kf("mat-mdc-button-disabled",b.disabled)("mat-mdc-button-disabled-interactive",b.disabledInteractive)("_mat-animation-noopable",b._animationMode==="NoopAnimations")("mat-unthemed",!b.color)("mat-mdc-button-base",
!0))},exportAs:["matButton"],standalone:!0,features:[zf,sg],attrs:AXb,ngContentSelectors:CXb,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(a,b){a&1&&(Xf(BXb),H(0,"span",0),Yf(1),F(2,"span",1),Yf(3,1),G(),Yf(4,2),H(5,"span",2)(6,"span",3));a&2&&Kf("mdc-button__ripple",!b._isFab)("mdc-fab__ripple",b._isFab)},styles:[DXb(),EXb()],encapsulation:2,changeDetection:0});
var Sx=function(a,b,c,d){Qx.call(this,a,b,c,d)};X(Sx,Qx);Sx.\u0275dir=Qx.\u0275dir;Sx.\u0275fac=function(a){return new (a||Sx)(A(Rd),A($v),A(ze),A(vu,8))};
Sx.\u0275cmp=p({type:Sx,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostVars:15,hostBindings:function(a,b){a&2&&(Bf("disabled",b._getDisabledAttribute())("tabindex",b.disabled&&!b.disabledInteractive?-1:b.tabIndex)("aria-disabled",b._getDisabledAttribute()),Lf(b.color?"mat-"+b.color:""),Kf("mat-mdc-button-disabled",b.disabled)("mat-mdc-button-disabled-interactive",b.disabledInteractive)("_mat-animation-noopable",b._animationMode===
"NoopAnimations")("mat-unthemed",!b.color)("mat-mdc-button-base",!0))},exportAs:["matButton","matAnchor"],standalone:!0,features:[zf,sg],attrs:AXb,ngContentSelectors:CXb,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(a,b){a&1&&(Xf(BXb),H(0,"span",0),Yf(1),F(2,"span",1),Yf(3,1),G(),Yf(4,2),H(5,"span",2)(6,"span",3));a&2&&Kf("mdc-button__ripple",!b._isFab)("mdc-fab__ripple",b._isFab)},
styles:[DXb(),EXb()],encapsulation:2,changeDetection:0});var FXb=new md("mat-mdc-fab-default-options",{providedIn:"root",factory:$oa});var GXb=["mat-icon-button",""],HXb=["*"],IXb=function(){return'.mdc-icon-button{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;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{display:block}}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button[hidden]{display:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%;display:none}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring{border-color:CanvasText}}.mdc-icon-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring::after{border-color:CanvasText}}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}.mat-mdc-icon-button{color:var(--mdc-icon-button-icon-color)}.mat-mdc-icon-button .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button svg,.mat-mdc-icon-button img{width:var(--mdc-icon-button-icon-size);height:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button:disabled{color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button{border-radius:50%;flex-shrink:0;text-align:center;width:var(--mdc-icon-button-state-layer-size, 48px);height:var(--mdc-icon-button-state-layer-size, 48px);padding:calc(calc(var(--mdc-icon-button-state-layer-size, 48px) - var(--mdc-icon-button-icon-size, 24px)) / 2);font-size:var(--mdc-icon-button-icon-size);-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button svg{vertical-align:baseline}.mat-mdc-icon-button[disabled],.mat-mdc-icon-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-icon-button .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{z-index:1}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-icon-button-ripple-color)}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color)}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color)}.mat-mdc-icon-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity)}.mat-mdc-icon-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-focus-state-layer-opacity)}.mat-mdc-icon-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity)}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-icon-button-touch-target-display)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button.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'},
JXb=function(){return".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}\n"},Tx=function(a,b,c,d){Px.call(this,a,b,c,d);vXb(this._rippleLoader,this._elementRef.nativeElement,{centered:!0})};
X(Tx,Px);Tx.\u0275dir=Px.\u0275dir;Tx.\u0275fac=function(a){return new (a||Tx)(A(Rd),A($v),A(ze),A(vu,8))};
Tx.\u0275cmp=p({type:Tx,selectors:[["button","mat-icon-button",""]],hostVars:14,hostBindings:function(a,b){a&2&&(Bf("disabled",b._getDisabledAttribute())("aria-disabled",b._getAriaDisabled()),Lf(b.color?"mat-"+b.color:""),Kf("mat-mdc-button-disabled",b.disabled)("mat-mdc-button-disabled-interactive",b.disabledInteractive)("_mat-animation-noopable",b._animationMode==="NoopAnimations")("mat-unthemed",!b.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[zf,sg],attrs:GXb,
ngContentSelectors:HXb,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(a){a&1&&(Xf(),H(0,"span",0),Yf(1),H(2,"span",1)(3,"span",2))},styles:[IXb(),JXb()],encapsulation:2,changeDetection:0});var Ux=function(a,b,c,d){Qx.call(this,a,b,c,d)};X(Ux,Qx);Ux.\u0275dir=Qx.\u0275dir;Ux.\u0275fac=function(a){return new (a||Ux)(A(Rd),A($v),A(ze),A(vu,8))};
Ux.\u0275cmp=p({type:Ux,selectors:[["a","mat-icon-button",""]],hostVars:15,hostBindings:function(a,b){a&2&&(Bf("disabled",b._getDisabledAttribute())("tabindex",b.disabled&&!b.disabledInteractive?-1:b.tabIndex)("aria-disabled",b._getDisabledAttribute()),Lf(b.color?"mat-"+b.color:""),Kf("mat-mdc-button-disabled",b.disabled)("mat-mdc-button-disabled-interactive",b.disabledInteractive)("_mat-animation-noopable",b._animationMode==="NoopAnimations")("mat-unthemed",!b.color)("mat-mdc-button-base",!0))},
exportAs:["matButton","matAnchor"],standalone:!0,features:[zf,sg],attrs:GXb,ngContentSelectors:HXb,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(a){a&1&&(Xf(),H(0,"span",0),Yf(1),H(2,"span",1)(3,"span",2))},styles:[IXb(),JXb()],encapsulation:2,changeDetection:0});var Vx=function(){};Vx.\u0275fac=function(a){return new (a||Vx)};Vx.\u0275mod=dd({type:Vx});Vx.\u0275inj=Ic({imports:[zx,Lx,zx]});var Wx=function(a,b){this.selection=a;this._adapter=b;this.selectionChanged=this._selectionChanged=new W.Subject;this.selection=a};Wx.prototype.updateSelection=function(a,b){var c=this.selection;this.selection=a;this._selectionChanged.next({selection:a,source:b,oldValue:c})};Wx.prototype.ngOnDestroy=function(){this._selectionChanged.complete()};Wx.prototype._isValidDateInstance=function(a){return a instanceof Hm&&this._adapter.isValid(a)};Wx.\u0275fac=function(){Ge()};Wx.\u0275prov=Hc({token:Wx,factory:Wx.\u0275fac});
var Xx=function(a){Wx.call(this,null,a)};X(Xx,Wx);Xx.prototype.add=function(a){Wx.prototype.updateSelection.call(this,a,this)};Xx.prototype.isValid=function(){return this.selection!=null&&this._isValidDateInstance(this.selection)};Xx.prototype.isComplete=function(){return this.selection!=null};Xx.prototype.clone=function(){var a=new Xx(this._adapter);a.updateSelection(this.selection,this);return a};Xx.\u0275fac=function(a){return new (a||Xx)(n(Ax))};Xx.\u0275prov=Hc({token:Xx,factory:Xx.\u0275fac});
var KXb={provide:Wx,deps:[[new ru,new su,Wx],Ax],useFactory:function(a,b){return a||new Xx(b)}};new ru;new su;var Yx=function(){this.changes=new W.Subject;this.openCalendarLabel="Open calendar";this.closeCalendarLabel="Close calendar"};Yx.prototype.formatYearRange=function(a,b){return a+" \u2013 "+b};Yx.prototype.formatYearRangeLabel=function(a,b){return a+" to "+b};Yx.\u0275fac=function(a){return new (a||Yx)};Yx.\u0275prov=Hc({token:Yx,factory:Yx.\u0275fac,providedIn:"root"});var LXb=new md("MAT_DATE_RANGE_SELECTION_STRATEGY");new ru;new su;var MXb=function(a,b){return b.id},NXb=0,Zx=function(a,b,c,d,e){this._changeDetectorRef=a;this._dateFormats=b;this._dateAdapter=c;this._dir=d;this._rangeStrategy=e;this._rerenderSubscription=W.Subscription.EMPTY;this.activeDrag=null;this.selectedChange=new Xu;this._userSelection=new Xu;this.dragStarted=new Xu;this.dragEnded=new Xu;this.activeDateChange=new Xu;this._activeDate=new Hm};g=Zx.prototype;g.ngAfterContentInit=function(){var a=this;this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(of(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);Dx(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=ay(this._activeDate,c?1:-1);break;case 39:this.activeDate=ay(this._activeDate,c?-1:1);break;case 38:this.activeDate=ay(this._activeDate,-7);break;case 40:this.activeDate=ay(this._activeDate,7);break;case 36:this.activeDate=ay(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case 35:this.activeDate=ay(this._activeDate,BVb(this._activeDate)-this._dateAdapter.getDate(this._activeDate));
break;case 33:this.activeDate=a.altKey?by(this._activeDate,-1):cy(this._activeDate,-1);break;case 34:this.activeDate=a.altKey?by(this._activeDate,1):cy(this._activeDate,1);break;case 13:case 32:this._selectionKeyPressed=!0;this._canSelect(this._activeDate)&&a.preventDefault();return;case 27:this._previewEnd==null||$g(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}Dx(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 Hm);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+dy(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 dy(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),a)};
g._initWeekdays=function(){var a=this._dateAdapter.getFirstDayOfWeek(),b=OXb(this._dateAdapter,"narrow"),c=OXb(this._dateAdapter,"long").map(function(d,e){return{long:d,narrow:b[e],id:NXb++}});this._weekdays=c.slice(a).concat(c.slice(0,a))};
g._createWeekCells=function(){var a=BVb(this.activeDate),b=PXb;this._weeks=[[]];for(var c=0,d=this._firstWeekOffset;c<a;c++,d++){d==7&&(this._weeks.push([]),d=0);var e=dy(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),c+1),f=this._shouldEnableDate(e),h=this._dateAdapter.format(e,this._dateFormats.display.dateA11yLabel),k=this.dateClass?this.dateClass(e,"month"):void 0;this._weeks[this._weeks.length-1].push(new cWb(c+1,b[c],h,f,k,this._getCellCompareValue(e),
e))}};g._shouldEnableDate=function(a){return!!a&&(!this.minDate||Dx(this._dateAdapter,a,this.minDate)>=0)&&(!this.maxDate||Dx(this._dateAdapter,a,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(a))};g._getDateInCurrentMonth=function(a){return a&&this._hasSameMonthAndYear(a,this.activeDate)?this._dateAdapter.getDate(a):null};g._hasSameMonthAndYear=function(a,b){return!(!a||!b||this._dateAdapter.getMonth(a)!=this._dateAdapter.getMonth(b)||this._dateAdapter.getYear(a)!=this._dateAdapter.getYear(b))};
g._getCellCompareValue=function(a){if(a){var b=this._dateAdapter.getYear(a),c=this._dateAdapter.getMonth(a);a=this._dateAdapter.getDate(a);return(new Date(b,c,a)).getTime()}return null};g._isRtl=function(){return this._dir&&this._dir.value==="rtl"};g._setRanges=function(a){this._rangeStart=this._rangeEnd=this._getCellCompareValue(a);this._isRange=!1;this._comparisonRangeStart=this._getCellCompareValue(this.comparisonStart);this._comparisonRangeEnd=this._getCellCompareValue(this.comparisonEnd)};
g._canSelect=function(a){return!this.dateFilter||this.dateFilter(a)};g._clearPreview=function(){this._previewStart=this._previewEnd=null};
ea.Object.defineProperties(Zx.prototype,{activeDate:{configurable:!0,enumerable:!0,get:function(){return this._activeDate},set:function(a){var b=this._activeDate;a=Bx(this._dateAdapter,Cx(this._dateAdapter,a))||new Hm;this._activeDate=$Wb(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=Bx(this._dateAdapter,Cx(this._dateAdapter,a));
this._setRanges(this._selected)}},minDate:{configurable:!0,enumerable:!0,get:function(){return this._minDate},set:function(a){this._minDate=Bx(this._dateAdapter,Cx(this._dateAdapter,a))}},maxDate:{configurable:!0,enumerable:!0,get:function(){return this._maxDate},set:function(a){this._maxDate=Bx(this._dateAdapter,Cx(this._dateAdapter,a))}}});Zx.\u0275fac=function(a){return new (a||Zx)(A(Ig),A(Ex,8),A(Ax,8),A(Uw,8),A(LXb,8))};
Zx.\u0275cmp=p({type:Zx,selectors:[["mat-month-view"]],viewQuery:function(a,b){a&1&&fg(bw,5);if(a&2){var c;jg(c=kg())&&(b._matCalendarBody=c.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName",activeDrag:"activeDrag"},outputs:{selectedChange:"selectedChange",
_userSelection:"_userSelection",dragStarted:"dragStarted",dragEnded:"dragEnded",activeDateChange:"activeDateChange"},exportAs:["matMonthView"],standalone:!0,features:[td,sg],decls:8,vars:14,consts:[["role","grid",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["scope","col"],["aria-hidden","true"],["colspan","7",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"selectedValueChange","activeDateChange","previewChange","dragStarted","dragEnded","keyup","keydown","label","rows",
"todayValue","startValue","endValue","comparisonStart","comparisonEnd","previewStart","previewEnd","isRange","labelMinRequiredCells","activeCell","startDateAccessibleName","endDateAccessibleName"],[1,"cdk-visually-hidden"]],template:function(a,b){a&1&&(F(0,"table",0)(1,"thead",1)(2,"tr"),Qf(3,apa,5,2,"th",2,MXb),G(),F(5,"tr",3),H(6,"th",4),G()(),F(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)}),G()());a&2&&(z(3),Rf(b._weekdays),z(4),D("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:[bw],encapsulation:2,changeDetection:0});var ey=function(a,b,c){this._changeDetectorRef=a;this._dateAdapter=b;this._dir=c;this._rerenderSubscription=W.Subscription.EMPTY;this.selectedChange=new Xu;this.yearSelected=new Xu;this.activeDateChange=new Xu;this._activeDate=new Hm};g=ey.prototype;g.ngAfterContentInit=function(){var a=this;this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(of(null)).subscribe(function(){return a._init()})};g.ngOnDestroy=function(){this._rerenderSubscription.unsubscribe()};
g._init=function(){var a=this;this._todayYear=this._dateAdapter.getYear(new Hm);var b=this._dateAdapter.getYear(this._activeDate)-jh(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=dy(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);Dx(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=by(this._activeDate,c?1:-1);break;case 39:this.activeDate=by(this._activeDate,c?-1:1);break;case 38:this.activeDate=by(this._activeDate,-4);break;case 40:this.activeDate=by(this._activeDate,4);break;case 36:this.activeDate=by(this._activeDate,-jh(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case 35:this.activeDate=by(this._activeDate,24-jh(this._dateAdapter,
this.activeDate,this.minDate,this.maxDate)-1);break;case 33:this.activeDate=by(this._activeDate,a.altKey?-240:-24);break;case 34:this.activeDate=by(this._activeDate,a.altKey?240:24);break;case 13:case 32:this._selectionKeyPressed=!0;break;default:return}Dx(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 jh(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=dy(a,b,1);c=BVb(c);return dy(a,b,Math.min(this._dateAdapter.getDate(this.activeDate),c))};g._createCellForYear=function(a){var b=dy(a,0,1),c=""+b.getFullYear();b=this.dateClass?this.dateClass(b,"multi-year"):void 0;return new cWb(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=dy(a,0,1);this._dateAdapter.getYear(b)==a;b=ay(b,1))if(this.dateFilter(b))return!0;return!1};g._isRtl=function(){return this._dir&&this._dir.value==="rtl"};g._setSelectedYear=function(a){this._selectedYear=null;a&&(this._selectedYear=this._dateAdapter.getYear(a))};
ea.Object.defineProperties(ey.prototype,{activeDate:{configurable:!0,enumerable:!0,get:function(){return this._activeDate},set:function(a){var b=this._activeDate;a=Bx(this._dateAdapter,Cx(this._dateAdapter,a))||new Hm;this._activeDate=$Wb(this._dateAdapter,a,this.minDate,this.maxDate);cpa(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=Bx(this._dateAdapter,Cx(this._dateAdapter,
a));this._setSelectedYear(a)}},minDate:{configurable:!0,enumerable:!0,get:function(){return this._minDate},set:function(a){this._minDate=Bx(this._dateAdapter,Cx(this._dateAdapter,a))}},maxDate:{configurable:!0,enumerable:!0,get:function(){return this._maxDate},set:function(a){this._maxDate=Bx(this._dateAdapter,Cx(this._dateAdapter,a))}}});ey.\u0275fac=function(a){return new (a||ey)(A(Ig),A(Ax,8),A(Uw,8))};
ey.\u0275cmp=p({type:ey,selectors:[["mat-multi-year-view"]],viewQuery:function(a,b){a&1&&fg(bw,5);if(a&2){var c;jg(c=kg())&&(b._matCalendarBody=c.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",activeDateChange:"activeDateChange"},exportAs:["matMultiYearView"],standalone:!0,features:[sg],decls:5,vars:7,consts:[["role","grid",1,"mat-calendar-table"],
["aria-hidden","true",1,"mat-calendar-table-header"],["colspan","4",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"selectedValueChange","activeDateChange","keyup","keydown","rows","todayValue","startValue","endValue","numCols","cellAspectRatio","activeCell"]],template:function(a,b){a&1&&(F(0,"table",0)(1,"thead",1)(2,"tr"),H(3,"th",2),G()(),F(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)}),G()());a&2&&(z(4),D("rows",b._years)("todayValue",b._todayYear)("startValue",b._selectedYear)("endValue",b._selectedYear)("numCols",4)("cellAspectRatio",4/7)("activeCell",b._getActiveCell()))},dependencies:[bw],encapsulation:2,changeDetection:0});var fy=function(a,b,c,d){this._changeDetectorRef=a;this._dateFormats=b;this._dateAdapter=c;this._dir=d;this._rerenderSubscription=W.Subscription.EMPTY;this.selectedChange=new Xu;this.monthSelected=new Xu;this.activeDateChange=new Xu;this._activeDate=new Hm};g=fy.prototype;g.ngAfterContentInit=function(){var a=this;this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(of(null)).subscribe(function(){return a._init()})};g.ngOnDestroy=function(){this._rerenderSubscription.unsubscribe()};
g._monthSelected=function(a){a=a.value;var b=dy(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);Dx(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=cy(this._activeDate,c?1:-1);break;case 39:this.activeDate=cy(this._activeDate,c?-1:1);break;case 38:this.activeDate=cy(this._activeDate,-4);break;case 40:this.activeDate=cy(this._activeDate,4);break;case 36:this.activeDate=cy(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case 35:this.activeDate=cy(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));
break;case 33:this.activeDate=by(this._activeDate,a.altKey?-10:-1);break;case 34:this.activeDate=by(this._activeDate,a.altKey?10:1);break;case 13:case 32:this._selectionKeyPressed=!0;break;default:return}Dx(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 Hm);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=dy(this._dateAdapter.getYear(this.activeDate),a,1);b=BVb(b);return dy(this._dateAdapter.getYear(this.activeDate),a,Math.min(this._dateAdapter.getDate(this.activeDate),b))};
g._createCellForMonth=function(a,b){var c=dy(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 cWb(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=dy(b,a,1);this._dateAdapter.getMonth(b)==a;b=ay(b,1))if(this.dateFilter(b))return!0;return!1};g._isYearAndMonthAfterMaxDate=function(a,b){if(this.maxDate){var c=this._dateAdapter.getYear(this.maxDate),d=this._dateAdapter.getMonth(this.maxDate);return a>c||a===c&&b>d}return!1};
g._isYearAndMonthBeforeMinDate=function(a,b){if(this.minDate){var c=this._dateAdapter.getYear(this.minDate),d=this._dateAdapter.getMonth(this.minDate);return a<c||a===c&&b<d}return!1};g._isRtl=function(){return this._dir&&this._dir.value==="rtl"};g._setSelectedMonth=function(a){this._selectedMonth=this._getMonthInCurrentYear(a)};
ea.Object.defineProperties(fy.prototype,{activeDate:{configurable:!0,enumerable:!0,get:function(){return this._activeDate},set:function(a){var b=this._activeDate;a=Bx(this._dateAdapter,Cx(this._dateAdapter,a))||new Hm;this._activeDate=$Wb(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=Bx(this._dateAdapter,
Cx(this._dateAdapter,a));this._setSelectedMonth(a)}},minDate:{configurable:!0,enumerable:!0,get:function(){return this._minDate},set:function(a){this._minDate=Bx(this._dateAdapter,Cx(this._dateAdapter,a))}},maxDate:{configurable:!0,enumerable:!0,get:function(){return this._maxDate},set:function(a){this._maxDate=Bx(this._dateAdapter,Cx(this._dateAdapter,a))}}});fy.\u0275fac=function(a){return new (a||fy)(A(Ig),A(Ex,8),A(Ax,8),A(Uw,8))};
fy.\u0275cmp=p({type:fy,selectors:[["mat-year-view"]],viewQuery:function(a,b){a&1&&fg(bw,5);if(a&2){var c;jg(c=kg())&&(b._matCalendarBody=c.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass"},outputs:{selectedChange:"selectedChange",monthSelected:"monthSelected",activeDateChange:"activeDateChange"},exportAs:["matYearView"],standalone:!0,features:[sg],decls:5,vars:9,consts:[["role","grid",1,"mat-calendar-table"],
["aria-hidden","true",1,"mat-calendar-table-header"],["colspan","4",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"selectedValueChange","activeDateChange","keyup","keydown","label","rows","todayValue","startValue","endValue","labelMinRequiredCells","numCols","cellAspectRatio","activeCell"]],template:function(a,b){a&1&&(F(0,"table",0)(1,"thead",1)(2,"tr"),H(3,"th",2),G()(),F(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)}),G()());a&2&&(z(4),D("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:[bw],encapsulation:2,changeDetection:0});var QXb=1,gy=function(a,b,c,d,e){this._intl=a;this.calendar=b;this._dateAdapter=c;this._dateFormats=d;this._id="mat-calendar-header-"+QXb++;this._periodButtonLabelId=this._id+"-period-label";this.calendar.stateChanges.subscribe(function(){return e.markForCheck()})};
gy.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):cpa(this._dateAdapter,a,b,this.calendar.minDate,this.calendar.maxDate)};
gy.prototype._formatMinAndMaxYearLabels=function(){var a=this._dateAdapter.getYear(this.calendar.activeDate)-jh(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),b=a+24-1;a=""+dy(a,0,1).getFullYear();b=""+dy(b,0,1).getFullYear();return[a,b]};
ea.Object.defineProperties(gy.prototype,{periodButtonText:{configurable:!0,enumerable:!0,get:function(){return this.calendar.currentView=="month"?this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase():this.calendar.currentView=="year"?""+this.calendar.activeDate.getFullYear():this._intl.formatYearRange.apply(this._intl,r(this._formatMinAndMaxYearLabels()))}},periodButtonDescription:{configurable:!0,enumerable:!0,get:function(){return this.calendar.currentView==
"month"?this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase():this.calendar.currentView=="year"?""+this.calendar.activeDate.getFullYear():this._intl.formatYearRangeLabel.apply(this._intl,r(this._formatMinAndMaxYearLabels()))}},periodButtonLabel:{configurable:!0,enumerable:!0,get:function(){return this.calendar.currentView=="month"?"Choose month and year":"Choose date"}},prevButtonLabel:{configurable:!0,enumerable:!0,get:function(){return{month:"Previous month",
year:"Previous year","multi-year":"Previous 24 years"}[this.calendar.currentView]}},nextButtonLabel:{configurable:!0,enumerable:!0,get:function(){return{month:"Next month",year:"Next year","multi-year":"Next 24 years"}[this.calendar.currentView]}}});gy.\u0275fac=function(a){return new (a||gy)(A(Yx),A(Uc(function(){return hy})),A(Ax,8),A(Ex,8),A(Ig))};
gy.\u0275cmp=p({type:gy,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],standalone:!0,features:[sg],ngContentSelectors:["*"],decls:13,vars:11,consts:[[1,"mat-calendar-header"],[1,"mat-calendar-controls"],["aria-live","polite",1,"cdk-visually-hidden",3,"id"],["mat-button","","type","button",1,"mat-calendar-period-button",3,"click"],["aria-hidden","true"],["viewBox","0 0 10 5","focusable","false","aria-hidden","true",1,"mat-calendar-arrow"],["points","0,0 5,5 10,0"],[1,"mat-calendar-spacer"],
["mat-icon-button","","type","button",1,"mat-calendar-previous-button",3,"click","disabled"],["mat-icon-button","","type","button",1,"mat-calendar-next-button",3,"click","disabled"]],template:function(a,b){a&1&&(Xf(),F(0,"div",0)(1,"div",1)(2,"label",2),R(3),G(),F(4,"button",3),M("click",function(){b.calendar.currentView=b.calendar.currentView=="month"?"multi-year":"month"}),F(5,"span",4),R(6),G(),Gd(),F(7,"svg",5),H(8,"polygon",6),G()(),Ad.currentNamespace=null,H(9,"div",7),Yf(10),F(11,"button",
8),M("click",function(){b.calendar.activeDate=b.calendar.currentView=="month"?cy(b.calendar.activeDate,-1):by(b.calendar.activeDate,b.calendar.currentView=="year"?-1:-24)}),G(),F(12,"button",9),M("click",function(){b.calendar.activeDate=b.calendar.currentView=="month"?cy(b.calendar.activeDate,1):by(b.calendar.activeDate,b.calendar.currentView=="year"?1:24)}),G()()());a&2&&(z(2),D("id",b._periodButtonLabelId),z(),lg(b.periodButtonDescription),z(),Bf("aria-label",b.periodButtonLabel)("aria-describedby",
b._periodButtonLabelId),z(2),lg(b.periodButtonText),z(),Kf("mat-calendar-invert",b.calendar.currentView!=="month"),z(4),D("disabled",!(b.calendar.minDate?!b.calendar.minDate||!b._isSameView(b.calendar.activeDate,b.calendar.minDate):1)),Bf("aria-label",b.prevButtonLabel),z(),D("disabled",!(!b.calendar.maxDate||!b._isSameView(b.calendar.activeDate,b.calendar.maxDate))),Bf("aria-label",b.nextButtonLabel))},dependencies:[Rx,Tx],encapsulation:2,changeDetection:0});
var hy=function(a,b,c,d){var e=this;this._dateAdapter=b;this._dateFormats=c;this._changeDetectorRef=d;this._moveFocusOnNextTick=!1;this.startView="month";this.selectedChange=new Xu;this.yearSelected=new Xu;this.monthSelected=new Xu;this.viewChanged=new Xu(!0);this._userSelection=new Xu;this._userDragDrop=new Xu;this._activeDrag=null;this.stateChanges=new W.Subject;this._intlChanges=a.changes.subscribe(function(){d.markForCheck();e.stateChanges.next()})};g=hy.prototype;
g.ngAfterContentInit=function(){this._calendarHeaderPortal=new Nw(this.headerComponent||gy);this.activeDate=this.startAt||new Hm;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._changeDetectorRef.detectChanges(),a._init());this.stateChanges.next()};
g._dateSelected=function(a){var b=a.value;b&&!this._dateAdapter.sameDate(b,this.selected)&&this.selectedChange.emit(b);this._userSelection.emit(a)};g._yearSelectedInMultiYearView=function(a){this.yearSelected.emit(a)};g._monthSelectedInYearView=function(a){this.monthSelected.emit(a)};g._goToDateInView=function(a,b){this.activeDate=a;this.currentView=b};g._dragStarted=function(a){this._activeDrag=a};g._dragEnded=function(a){this._activeDrag&&(a.value&&this._userDragDrop.emit(a),this._activeDrag=null)};
g._getCurrentViewComponent=function(){return this.monthView||this.yearView||this.multiYearView};
ea.Object.defineProperties(hy.prototype,{startAt:{configurable:!0,enumerable:!0,get:function(){return this._startAt},set:function(a){this._startAt=Bx(this._dateAdapter,Cx(this._dateAdapter,a))}},selected:{configurable:!0,enumerable:!0,get:function(){return this._selected},set:function(a){this._selected=Bx(this._dateAdapter,Cx(this._dateAdapter,a))}},minDate:{configurable:!0,enumerable:!0,get:function(){return this._minDate},set:function(a){this._minDate=Bx(this._dateAdapter,Cx(this._dateAdapter,a))}},
maxDate:{configurable:!0,enumerable:!0,get:function(){return this._maxDate},set:function(a){this._maxDate=Bx(this._dateAdapter,Cx(this._dateAdapter,a))}},activeDate:{configurable:!0,enumerable:!0,get:function(){return this._clampedActiveDate},set:function(a){this._clampedActiveDate=$Wb(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)}}});hy.\u0275fac=function(a){return new (a||hy)(A(Yx),A(Ax,8),A(Ex,8),A(Ig))};
hy.\u0275cmp=p({type:hy,selectors:[["mat-calendar"]],viewQuery:function(a,b){a&1&&(fg(Zx,5),fg(fy,5),fg(ey,5));if(a&2){var c;jg(c=kg())&&(b.monthView=c.first);jg(c=kg())&&(b.yearView=c.first);jg(c=kg())&&(b.multiYearView=c.first)}},hostAttrs:[1,"mat-calendar"],inputs:{headerComponent:"headerComponent",startAt:"startAt",startView:"startView",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",
startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",_userSelection:"_userSelection",_userDragDrop:"_userDragDrop"},exportAs:["matCalendar"],standalone:!0,features:[qg([KXb]),td,sg],decls:5,vars:2,consts:[[3,"cdkPortalOutlet"],["cdkMonitorSubtreeFocus","","tabindex","-1",1,"mat-calendar-content"],[3,"activeDate","selected","dateFilter",
"maxDate","minDate","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","activeDrag"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass"],[3,"activeDateChange","_userSelection","dragStarted","dragEnded","activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","activeDrag"],[3,"activeDateChange","monthSelected","selectedChange","activeDate",
"selected","dateFilter","maxDate","minDate","dateClass"],[3,"activeDateChange","yearSelected","selectedChange","activeDate","selected","dateFilter","maxDate","minDate","dateClass"]],template:function(a,b){a&1&&(C(0,dpa,0,0,"ng-template",0),F(1,"div",1),C(2,epa,1,11,"mat-month-view",2)(3,fpa,1,6,"mat-year-view",3)(4,gpa,1,6,"mat-multi-year-view",3),G());if(a&2){var c;D("cdkPortalOutlet",b._calendarHeaderPortal);z(2);Of((c=b.currentView)==="month"?2:c==="year"?3:c==="multi-year"?4:-1)}},dependencies:[Sw,
gw,Zx,fy,ey],styles:['.mat-calendar{display:block;font-family:var(--mat-datepicker-calendar-text-font);font-size:var(--mat-datepicker-calendar-text-size)}.mat-calendar-header{padding:8px 8px 0 8px}.mat-calendar-content{padding:0 8px 8px 8px;outline:none}.mat-calendar-controls{display:flex;align-items:center;margin:5% calc(4.7142857143% - 16px)}.mat-calendar-spacer{flex:1 1 auto}.mat-calendar-period-button{min-width:0;margin:0 8px;font-size:var(--mat-datepicker-calendar-period-button-text-size);font-weight:var(--mat-datepicker-calendar-period-button-text-weight);--mdc-text-button-label-text-color:var(--mat-datepicker-calendar-period-button-text-color)}.mat-calendar-arrow{display:inline-block;width:10px;height:5px;margin:0 0 0 5px;vertical-align:middle;fill:var(--mat-datepicker-calendar-period-button-icon-color)}.mat-calendar-arrow.mat-calendar-invert{transform:rotate(180deg)}[dir=rtl] .mat-calendar-arrow{margin:0 5px 0 0}.cdk-high-contrast-active .mat-calendar-arrow{fill:CanvasText}.mat-calendar-previous-button,.mat-calendar-next-button{position:relative}.mat-datepicker-content .mat-calendar-previous-button:not(.mat-mdc-button-disabled),.mat-datepicker-content .mat-calendar-next-button:not(.mat-mdc-button-disabled){color:var(--mat-datepicker-calendar-navigation-button-icon-color)}.mat-calendar-previous-button::after,.mat-calendar-next-button::after{top:0;left:0;right:0;bottom:0;position:absolute;content:"";margin:15.5px;border:0 solid currentColor;border-top-width:2px}[dir=rtl] .mat-calendar-previous-button,[dir=rtl] .mat-calendar-next-button{transform:rotate(180deg)}.mat-calendar-previous-button::after{border-left-width:2px;transform:translateX(2px) rotate(-45deg)}.mat-calendar-next-button::after{border-right-width:2px;transform:translateX(-2px) rotate(45deg)}.mat-calendar-table{border-spacing:0;border-collapse:collapse;width:100%}.mat-calendar-table-header th{text-align:center;padding:0 0 8px 0;color:var(--mat-datepicker-calendar-header-text-color);font-size:var(--mat-datepicker-calendar-header-text-size);font-weight:var(--mat-datepicker-calendar-header-text-weight)}.mat-calendar-table-header-divider{position:relative;height:1px}.mat-calendar-table-header-divider::after{content:"";position:absolute;top:0;left:-8px;right:-8px;height:1px;background:var(--mat-datepicker-calendar-header-divider-color)}.mat-calendar-body-cell-content::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px)*-1)}.mat-calendar-body-cell:focus .mat-focus-indicator::before{content:""}\n'],
encapsulation:2,changeDetection:0});var iy=function(a,b){this._renderer=a;this._elementRef=b;this.onChange=function(){};this.onTouched=function(){}};iy.prototype.setProperty=function(a,b){this._renderer.setProperty(this._elementRef.nativeElement,a,b)};iy.prototype.registerOnTouched=function(a){this.onTouched=a};iy.prototype.registerOnChange=function(a){this.onChange=a};iy.prototype.setDisabledState=function(a){this.setProperty("disabled",a)};iy.\u0275fac=function(a){return new (a||iy)(A(wu),A(Rd))};iy.\u0275dir=fd({type:iy});
var nh=function(){iy.apply(this,arguments)};X(nh,iy);nh.\u0275fac=function(){var a;return function(b){return(a||(a=Od(nh)))(b||nh)}}();nh.\u0275dir=fd({type:nh,features:[zf]});var jy=new md("");var RXb={provide:jy,useExisting:Uc(function(){return mh}),multi:!0},SXb=new md(""),mh=function(a,b,c){iy.call(this,a,b);this._compositionMode=c;this._composing=!1;this._compositionMode==null&&(this._compositionMode=!/android (\d+)/.test((RVb?window.navigator.userAgent:"").toLowerCase()))};X(mh,iy);mh.prototype.writeValue=function(a){this.setProperty("value",a==null?"":a)};mh.prototype._handleInput=function(a){if(!this._compositionMode||this._compositionMode&&!this._composing)this.onChange(a)};
mh.prototype._compositionStart=function(){this._composing=!0};mh.prototype._compositionEnd=function(a){this._composing=!1;this._compositionMode&&this.onChange(a)};mh.\u0275fac=function(a){return new (a||mh)(A(wu),A(Rd),A(SXb,8))};
mh.\u0275dir=fd({type:mh,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(a,b){a&1&&M("input",function(c){return b._handleInput(c.target.value)})("blur",function(){return b.onTouched()})("compositionstart",function(){return b._compositionStart()})("compositionend",
function(c){return b._compositionEnd(c.target.value)})},features:[qg([RXb]),zf]});var ky=new md(""),ly=new md(""),my=function(a){return jpa(a)};var ny=function(){this._rawValidators=[];this._rawAsyncValidators=[];this._onDestroyCallbacks=[]};g=ny.prototype;g._setValidators=function(a){this._rawValidators=a||[];this._composedValidatorFn=tpa(this._rawValidators)};g._setAsyncValidators=function(a){this._rawAsyncValidators=a||[];this._composedAsyncValidatorFn=vpa(this._rawAsyncValidators)};g._registerOnDestroy=function(a){this._onDestroyCallbacks.push(a)};
g._invokeOnDestroyCallbacks=function(){this._onDestroyCallbacks.forEach(function(a){return a()});this._onDestroyCallbacks=[]};g.reset=function(a){this.control&&this.control.reset(a)};g.hasError=function(a,b){return this.control?this.control.hasError(a,b):!1};g.getError=function(a,b){return this.control?this.control.getError(a,b):null};
ea.Object.defineProperties(ny.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 oy=function(){ny.apply(this,arguments);this.valueAccessor=this.name=this._parent=null};X(oy,ny);var py=function(){ny.apply(this,arguments)};X(py,ny);ea.Object.defineProperties(py.prototype,{formDirective:{configurable:!0,enumerable:!0,get:function(){return null}},path:{configurable:!0,enumerable:!0,get:function(){return null}}});var TXb=function(a){this._cd=a};
ea.Object.defineProperties(TXb.prototype,{isTouched:{configurable:!0,enumerable:!0,get:function(){var a,b;return!!((a=this._cd)==null?0:(b=a.control)==null?0:b.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;return!!((a=this._cd)==null?0:(b=a.control)==null?0:b.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;return!!((a=this._cd)==null?0:(b=a.control)==null?0:b.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;return!((a=
this._cd)==null||!a.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 qy=function(a){this._cd=a};X(qy,TXb);qy.\u0275fac=function(a){return new (a||qy)(A(oy,2))};
qy.\u0275dir=fd({type:qy,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(a,b){a&2&&Kf("ng-untouched",b.isUntouched)("ng-touched",b.isTouched)("ng-pristine",b.isPristine)("ng-dirty",b.isDirty)("ng-valid",b.isValid)("ng-invalid",b.isInvalid)("ng-pending",b.isPending)},features:[zf]});var ry=function(a){this._cd=a};X(ry,TXb);ry.\u0275fac=function(a){return new (a||ry)(A(py,10))};
ry.\u0275dir=fd({type:ry,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(a,b){a&2&&Kf("ng-untouched",b.isUntouched)("ng-touched",b.isTouched)("ng-pristine",b.isPristine)("ng-dirty",b.isDirty)("ng-valid",b.isValid)("ng-invalid",b.isInvalid)("ng-pending",b.isPending)("ng-submitted",b.isSubmitted)},features:[zf]});var sy=new md("CallSetDisabledState",{providedIn:"root",factory:function(){return"whenDisabledForLegacyCode"}});var ty=function(){},UXb=function(a,b){this.value=a;this.source=b};X(UXb,ty);var VXb=function(a,b){this.pristine=a;this.source=b};X(VXb,ty);var WXb=function(a,b){this.touched=a;this.source=b};X(WXb,ty);var XXb=function(a,b){this.status=a;this.source=b};X(XXb,ty);var YXb=function(a){this.source=a};X(YXb,ty);var ZXb=function(a){this.source=a};X(ZXb,ty);
var uy=function(a,b){this._pendingDirty=!1;this._hasOwnPendingAsyncValidator=null;this._pendingTouched=!1;this._onCollectionChange=function(){};this._parent=null;this.pristine=!0;this.touched=!1;this._events=new W.Subject;this.events=or(this._events);this._onDisabledChange=[];this._assignValidators(a);this._assignAsyncValidators(b)},Gpa=function(a,b){a._assignValidators(b)},Hpa=function(a,b){a._assignAsyncValidators(b)},$Xb=function(a){a=a._rawValidators;return Array.isArray(a)?a.includes(my):a===
my},Jpa=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&&Jpa(a._parent,Object.assign({},b,{sourceControl:e}));c&&b.emitEvent!==!1&&a._events.next(new WXb(!0,e))},aYb=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){aYb(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 WXb(!1,e))},Kpa=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&&Kpa(a._parent,Object.assign({},b,{sourceControl:e}));c&&b.emitEvent!==!1&&a._events.next(new VXb(!1,e))},bYb=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){bYb(f,{onlySelf:!0,emitEvent:b.emitEvent})});a._parent&&
!b.onlySelf&&a._parent._updatePristine(b,e);c&&b.emitEvent!==!1&&a._events.next(new VXb(!0,e))};g=uy.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 UXb(this.value,d)),this._events.next(new XXb(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}))});lh(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&&(lh(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 lh=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 UXb(a.value,c)),a._events.next(new XXb(a.status,c)),a.valueChanges.emit(a.value),a.statusChanges.emit(a.status));a._parent&&!b.onlySelf&&lh(a._parent,Object.assign({},
b,{sourceControl:c}))};g=uy.prototype;g._updateTreeValidity=function(a){a=a===void 0?{emitEvent:!0}:a;this._forEachChild(function(b){return b._updateTreeValidity(a)});lh(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=opa(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 XXb(this.status,b));this._parent&&this._parent._updateControlsErrors(a,b,c)};g._initObservables=function(){this.valueChanges=new Xu;this.statusChanges=new Xu};
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 VXb(this.pristine,b))};g._updateTouched=function(a,b){a=a===void 0?{}:a;this.touched=this._anyControlsTouched();this._events.next(new WXb(this.touched,b));this._parent&&!a.onlySelf&&this._parent._updateTouched(a,b)};g._registerOnCollectionChange=function(a){this._onCollectionChange=a};
g._setUpdateStrategy=function(a){oh(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)?tpa(a):a||null};
g._assignAsyncValidators=function(a){a=this._rawAsyncValidators=Array.isArray(a)?a.slice():a;this._composedAsyncValidatorFn=Array.isArray(a)?vpa(a):a||null};
ea.Object.defineProperties(uy.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}},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"}},dirty:{configurable:!0,enumerable:!0,get:function(){return!this.pristine}},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 vy=function(a,b,c){var d=uy.call,e=Opa(b);c=(oh(b)?b.asyncValidators:c)||null;d.call(uy,this,e,c);this.controls=a;this._initObservables();this._setUpdateStrategy(b);this._setUpControls();lh(this,{onlySelf:!0,emitEvent:!!this.asyncValidator})};X(vy,uy);var cYb=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=vy.prototype;
g.addControl=function(a){var b=b===void 0?{}:b;cYb(this,a);lh(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];lh(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;Ppa(this,a);Object.keys(a).forEach(function(d){var e=c.controls;if(!Object.keys(e).length)throw new Lc(1E3,"");if(!e[d])throw new Lc(1001,"");c.controls[d].setValue(a[d],{onlySelf:!0,emitEvent:b.emitEvent})});lh(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);lh(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&&lh(this,{onlySelf:!0});return a};g._forEachChild=function(a){var b=this;Object.keys(this.controls).forEach(function(c){var d=b.controls[c];d&&a(d,c)})};g._setUpControls=function(){var a=this;this._forEachChild(function(b){b.setParent(a);b._registerOnCollectionChange(a._onCollectionChange)})};
g._updateValue=function(){this.value=this._reduceValue()};g._anyControls=function(a){for(var b=l(Object.entries(this.controls)),c=b.next();!c.done;c=b.next()){var d=l(c.value);c=d.next().value;d=d.next().value;if(this.contains(c)&&a(d))return!0}return!1};g._reduceValue=function(){var a=this;return this._reduceChildren({},function(b,c,d){if(c.enabled||a.disabled)b[d]=c.value;return b})};g._reduceChildren=function(a,b){var c=a;this._forEachChild(function(d,e){c=b(c,d,e)});return c};
g._allControlsDisabled=function(){for(var a=l(Object.keys(this.controls)),b=a.next();!b.done;b=a.next())if(this.controls[b.value].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled};g._find=function(a){return this.controls.hasOwnProperty(a)?this.controls[a]:null};var dYb={provide:py,useExisting:Uc(function(){return wy})},eYb=Promise.resolve(),wy=function(a,b,c){py.call(this);this.callSetDisabledState=c;this.submitted=!1;this._directives=new Set;this.ngSubmit=new Xu;this.form=new vy({},tpa(a),vpa(b))};X(wy,py);g=wy.prototype;g.ngAfterViewInit=function(){this._setUpdateStrategy()};
g.addControl=function(a){var b=this;eYb.then(function(){var c=b._findContainer(a.path);a.control=cYb(c,a.name,a.control);kh(a.control,a,b.callSetDisabledState);lh(a.control,{emitEvent:!1});b._directives.add(a)})};g.removeControl=function(a){var b=this;eYb.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;eYb.then(function(){c.form.get(a.path).setValue(b)})};g.setValue=function(a){this.control.setValue(a)};
g.onSubmit=function(a){this.submitted=!0;Mpa(this.form,this._directives);this.ngSubmit.emit(a);var b;return(a==null?void 0:(b=a.target)==null?void 0:b.method)==="dialog"};g.onReset=function(){this.resetForm()};g.resetForm=function(){this.form.reset(void 0);this.submitted=!1};g._setUpdateStrategy=function(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)};g._findContainer=function(a){a.pop();return a.length?this.form.get(a):this.form};
ea.Object.defineProperties(wy.prototype,{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}}});wy.\u0275fac=function(a){return new (a||wy)(A(ky,10),A(ly,10),A(sy,8))};
wy.\u0275dir=fd({type:wy,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(a,b){a&1&&M("submit",function(c){return b.onSubmit(c)})("reset",function(){return b.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[qg([dYb]),zf]});var xy=function(a,b,c){a=a===void 0?null:a;var d=uy.call,e=Opa(b);c=(oh(b)?b.asyncValidators:c)||null;d.call(uy,this,e,c);this.defaultValue=null;this._onChange=[];this._pendingChange=!1;this._applyFormState(a);this._setUpdateStrategy(b);this._initObservables();lh(this,{onlySelf:!0,emitEvent:!!this.asyncValidator});oh(b)&&(b.nonNullable||b.initialValueIsDefault)&&(Qpa(a)?this.defaultValue=a.value:this.defaultValue=a)};X(xy,uy);g=xy.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)});lh(this,b)};g.reset=function(a,b){a=a===void 0?this.defaultValue:a;b=b===void 0?{}:b;this._applyFormState(a);bYb(this,b);aYb(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&&Kpa(this),this._pendingTouched&&Jpa(this),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1};g._applyFormState=function(a){Qpa(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 fYb={provide:oy,useExisting:Uc(function(){return yy})},gYb=Promise.resolve(),yy=function(a,b,c,d,e,f){oy.call(this);this._changeDetectorRef=e;this.callSetDisabledState=f;this.control=new xy;this._registered=!1;this.name="";this.update=new Xu;this._parent=a;this._setValidators(b);this._setAsyncValidators(c);this.valueAccessor=Npa(d)};X(yy,oy);g=yy.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);Lpa(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(){kh(this.control,this,this.callSetDisabledState);lh(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;gYb.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&&Gg(a);gYb.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?xpa(a,this._parent):[a]};
ea.Object.defineProperties(yy.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}}});yy.\u0275fac=function(a){return new (a||yy)(A(py,9),A(ky,10),A(ly,10),A(jy,10),A(Ig,8),A(sy,8))};
yy.\u0275dir=fd({type:yy,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[qg([fYb]),zf,td]});var zy=function(){};zy.\u0275fac=function(a){return new (a||zy)};zy.\u0275dir=fd({type:zy,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]});var hYb={provide:jy,useExisting:Uc(function(){return Ay}),multi:!0},Ay=function(){nh.apply(this,arguments)};X(Ay,nh);Ay.prototype.writeValue=function(a){this.setProperty("value",a==null?"":a)};Ay.prototype.registerOnChange=function(a){this.onChange=function(b){a(b==""?null:parseFloat(b))}};Ay.\u0275fac=function(){var a;return function(b){return(a||(a=Od(Ay)))(b||Ay)}}();
Ay.\u0275dir=fd({type:Ay,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(a,b){a&1&&M("input",function(c){return b.onChange(c.target.value)})("blur",function(){return b.onTouched()})},features:[qg([hYb]),zf]});var iYb={provide:jy,useExisting:Uc(function(){return By}),multi:!0},Cy=function(){this._accessors=[]};Cy.prototype.add=function(a,b){this._accessors.push([a,b])};Cy.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}};Cy.prototype.select=function(a){var b=this;this._accessors.forEach(function(c){b._isSameGroup(c,a)&&c[1]!==a&&c[1].writeValue(a.value)})};
Cy.prototype._isSameGroup=function(a,b){return a[0].control?a[0]._parent===b._control._parent&&a[1].name===b.name:!1};Cy.\u0275fac=function(a){return new (a||Cy)};Cy.\u0275prov=Hc({token:Cy,factory:Cy.\u0275fac,providedIn:"root"});var By=function(a,b,c,d){nh.call(this,a,b);this._registry=c;this._injector=d;this.setDisabledStateFired=!1;this.onChange=function(){};var e;this.callSetDisabledState=(e=Yc(sy,{optional:!0}))!=null?e:"whenDisabledForLegacyCode"};X(By,nh);g=By.prototype;
g.ngOnInit=function(){this._control=this._injector.get(oy);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)};By.\u0275fac=function(a){return new (a||By)(A(wu),A(Rd),A(Cy),A(Ae))};
By.\u0275dir=fd({type:By,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(a,b){a&1&&M("change",function(){return b.onChange()})("blur",function(){return b.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[qg([iYb]),zf]});var jYb=new md(""),kYb={provide:oy,useExisting:Uc(function(){return Dy})},Dy=function(a,b,c,d,e){oy.call(this);this._ngModelWarningConfig=d;this.callSetDisabledState=e;this.update=new Xu;this._ngModelWarningSent=!1;this._setValidators(a);this._setAsyncValidators(b);this.valueAccessor=Npa(c)};X(Dy,oy);
Dy.prototype.ngOnChanges=function(a){if(this._isControlChanged(a)){var b=a.form.previousValue;b&&Epa(b,this);kh(this.form,this,this.callSetDisabledState);lh(this.form,{emitEvent:!1})}Lpa(a,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)};Dy.prototype.ngOnDestroy=function(){this.form&&Epa(this.form,this)};Dy.prototype.viewToModelUpdate=function(a){this.viewModel=a;this.update.emit(a)};Dy.prototype._isControlChanged=function(a){return a.hasOwnProperty("form")};
ea.Object.defineProperties(Dy.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}}});Dy.\u0275fac=function(a){return new (a||Dy)(A(ky,10),A(ly,10),A(jy,10),A(jYb,8),A(sy,8))};
Dy.\u0275dir=fd({type:Dy,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[qg([kYb]),zf,td]});var lYb={provide:py,useExisting:Uc(function(){return Ey})},Ey=function(a,b,c){py.call(this);var d=this;this.callSetDisabledState=c;this.submitted=!1;this._onCollectionChange=function(){return d._updateDomValue()};this.directives=[];this.form=null;this.ngSubmit=new Xu;this._setValidators(a);this._setAsyncValidators(b)};X(Ey,py);g=Ey.prototype;g.ngOnChanges=function(a){a.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)};
g.ngOnDestroy=function(){this.form&&(Dpa(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(function(){}))};g.addControl=function(a){var b=this.form.get(a.path);kh(b,a,this.callSetDisabledState);lh(b,{emitEvent:!1});this.directives.push(a);return b};g.removeControl=function(a){Epa(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.submitted=!0;Mpa(this.form,this.directives);this.ngSubmit.emit(a);this.form._events.next(new YXb(this.control));var b;return(a==null?void 0:(b=a.target)==null?void 0:b.method)==="dialog"};g.onReset=function(){this.resetForm()};g.resetForm=function(){this.form.reset(void 0);this.submitted=!1;this.form._events.next(new ZXb(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&&(Epa(c||null,b),d instanceof xy&&(kh(d,b,a.callSetDisabledState),b.control=d))});this.form._updateTreeValidity({emitEvent:!1})};g._setUpFormContainer=function(a){var b=this.form.get(a.path);ypa(b,a);lh(b,{emitEvent:!1})};g._cleanUpFormContainer=function(a){if(this.form){var b=this.form.get(a.path);b&&Dpa(b,a)&&lh(b,{emitEvent:!1})}};
g._updateRegistrations=function(){this.form._registerOnCollectionChange(this._onCollectionChange);this._oldForm&&this._oldForm._registerOnCollectionChange(function(){})};g._updateValidators=function(){ypa(this.form,this);this._oldForm&&Dpa(this._oldForm,this)};g._checkFormPresent=function(){};
ea.Object.defineProperties(Ey.prototype,{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[]}}});Ey.\u0275fac=function(a){return new (a||Ey)(A(ky,10),A(ly,10),A(sy,8))};
Ey.\u0275dir=fd({type:Ey,selectors:[["","formGroup",""]],hostBindings:function(a,b){a&1&&M("submit",function(c){return b.onSubmit(c)})("reset",function(){return b.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[qg([lYb]),zf,td]});var mYb={provide:oy,useExisting:Uc(function(){return Fy})},Fy=function(a,b,c,d,e){oy.call(this);this._ngModelWarningConfig=e;this._added=!1;this.name=null;this.update=new Xu;this._ngModelWarningSent=!1;this._parent=a;this._setValidators(b);this._setAsyncValidators(c);this.valueAccessor=Npa(d)};X(Fy,oy);g=Fy.prototype;g.ngOnChanges=function(a){this._added||this._setUpControl();Lpa(a,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))};
g.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeControl(this)};g.viewToModelUpdate=function(a){this.viewModel=a;this.update.emit(a)};g._checkParentType=function(){};g._setUpControl=function(){this.control=this.formDirective.addControl(this);this._added=!0};
ea.Object.defineProperties(Fy.prototype,{isDisabled:{configurable:!0,enumerable:!0,set:function(){}},path:{configurable:!0,enumerable:!0,get:function(){return xpa(this.name==null?this.name:this.name.toString(),this._parent)}},formDirective:{configurable:!0,enumerable:!0,get:function(){return this._parent?this._parent.formDirective:null}}});Fy.\u0275fac=function(a){return new (a||Fy)(A(py,13),A(ky,10),A(ly,10),A(jy,10),A(jYb,8))};
Fy.\u0275dir=fd({type:Fy,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},features:[qg([mYb]),zf,td]});var Gy=function(){this._validator=lpa};Gy.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):lpa,this._onChange&&this._onChange())};Gy.prototype.validate=function(a){return this._validator(a)};Gy.prototype.registerOnValidatorChange=function(a){this._onChange=a};Gy.prototype.enabled=function(a){return a!=null};Gy.\u0275fac=function(a){return new (a||Gy)};
Gy.\u0275dir=fd({type:Gy,features:[td]});var nYb={provide:ky,useExisting:Uc(function(){return Hy}),multi:!0},Hy=function(){Gy.apply(this,arguments);this.inputName="min";this.normalizeInput=function(a){return typeof a==="number"?a:parseFloat(a)};this.createValidator=function(a){return ipa(a)}};X(Hy,Gy);Hy.\u0275fac=function(){var a;return function(b){return(a||(a=Od(Hy)))(b||Hy)}}();
Hy.\u0275dir=fd({type:Hy,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&&Bf("min",b._enabled?b.min:null)},inputs:{min:"min"},features:[qg([nYb]),zf]});var oYb={provide:ky,useExisting:Uc(function(){return Iy}),multi:!0},Iy=function(){Gy.apply(this,arguments);this.inputName="required";this.normalizeInput=Gg;this.createValidator=function(){return jpa}};
X(Iy,Gy);Iy.prototype.enabled=function(a){return a};Iy.\u0275fac=function(){var a;return function(b){return(a||(a=Od(Iy)))(b||Iy)}}();Iy.\u0275dir=fd({type:Iy,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(a,b){a&2&&Bf("required",b._enabled?"":null)},inputs:{required:"required"},features:[qg([oYb]),zf]});
var pYb={provide:ky,useExisting:Uc(function(){return Jy}),multi:!0},Jy=function(){Gy.apply(this,arguments);this.inputName="maxlength";this.normalizeInput=function(a){return typeof a==="number"?a:parseInt(a,10)};this.createValidator=function(a){return kpa(a)}};X(Jy,Gy);Jy.\u0275fac=function(){var a;return function(b){return(a||(a=Od(Jy)))(b||Jy)}}();
Jy.\u0275dir=fd({type:Jy,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(a,b){a&2&&Bf("maxlength",b._enabled?b.maxlength:null)},inputs:{maxlength:"maxlength"},features:[qg([pYb]),zf]});var qYb={provide:ky,useExisting:Uc(function(){return Ky}),multi:!0},Ky=function(){Gy.apply(this,arguments);this.inputName="pattern";this.normalizeInput=function(a){return a};this.createValidator=function(a){return mpa(a)}};
X(Ky,Gy);Ky.\u0275fac=function(){var a;return function(b){return(a||(a=Od(Ky)))(b||Ky)}}();Ky.\u0275dir=fd({type:Ky,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(a,b){a&2&&Bf("pattern",b._enabled?b.pattern:null)},inputs:{pattern:"pattern"},features:[qg([qYb]),zf]});var Ly=function(){};Ly.\u0275fac=function(a){return new (a||Ly)};Ly.\u0275mod=dd({type:Ly});Ly.\u0275inj=Ic({});var My=function(){};My.\u0275fac=function(a){return new (a||My)};My.\u0275mod=dd({type:My});My.\u0275inj=Ic({imports:[Ly]});var Ny=function(){};Ny.\u0275fac=function(a){return new (a||Ny)};Ny.\u0275mod=dd({type:Ny});Ny.\u0275inj=Ic({imports:[Ly]});new md("MAT_DATE_RANGE_INPUT_PARENT");var rYb=0,sYb=new md("MatError"),Oy=function(a,b){this.id="mat-mdc-error-"+rYb++;a||b.nativeElement.setAttribute("aria-live","polite")};Oy.\u0275fac=function(a){return new (a||Oy)(Jd("aria-live"),A(Rd))};Oy.\u0275dir=fd({type:Oy,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&&Tf("id",b.id)},inputs:{id:"id"},standalone:!0,features:[qg([{provide:sYb,useExisting:Oy}])]});var tYb=0,Py=function(){this.align="start";this.id="mat-mdc-hint-"+tYb++};Py.\u0275fac=function(a){return new (a||Py)};Py.\u0275dir=fd({type:Py,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(a,b){a&2&&(Tf("id",b.id),Bf("align",null),Kf("mat-mdc-form-field-hint-end",b.align==="end"))},inputs:{align:"align",id:"id"},standalone:!0});var Qy=function(){};Qy.\u0275fac=function(a){return new (a||Qy)};Qy.\u0275dir=fd({type:Qy,selectors:[["mat-label"]],standalone:!0});var uYb=new md("MatPrefix");var vYb=new md("MatSuffix");var dn=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=dn.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(),wYb(this));this._started=!0};var wYb=function(a){queueMicrotask(function(){return a._onFinish()})};g=dn.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 kBa=function(a){var b=this;this._onDoneFns=[];this._onStartFns=[];this._destroyed=this._started=this._finished=!1;this._onDestroyFns=[];this.parentPlayer=null;this.totalTime=0;this.players=a;var c=0,d=0,e=0,f=this.players.length;f==0?queueMicrotask(function(){return b._onFinish()}):this.players.forEach(function(h){h.onDone(function(){++c==f&&b._onFinish()});h.onDestroy(function(){++d==f&&b._onDestroy()});h.onStart(function(){++e==f&&b._onStart()})});this.totalTime=this.players.reduce(function(h,
k){return Math.max(h,k.totalTime)},0)};g=kBa.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 xYb=ph("transitionMessages",[sh("enter",rh({opacity:1,transform:"translateY(0%)"})),uh("void => enter",[rh({opacity:0,transform:"translateY(-5px)"}),qh("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])]);var Ry=function(){};Ry.\u0275fac=function(a){return new (a||Ry)};Ry.\u0275dir=fd({type:Ry});var yYb=function(a){var b=this;this._box=a;this._destroyed=new W.Subject;this._resizeSubject=new W.Subject;this._elementObservables=new Map;typeof ResizeObserver!=="undefined"&&(this._resizeObserver=new ResizeObserver(function(c){return b._resizeSubject.next(c)}))};
yYb.prototype.observe=function(a){var b=this;this._elementObservables.has(a)||this._elementObservables.set(a,(new W.Observable(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(te(function(c){return c.some(function(d){return d.target===a})}),mf({bufferSize:1,refCount:!0}),qf(this._destroyed)));return this._elementObservables.get(a)};
yYb.prototype.destroy=function(){this._destroyed.next();this._destroyed.complete();this._resizeSubject.complete();this._elementObservables.clear()};var Sy=function(){this._observers=new Map;this._ngZone=Yc(ze)};Sy.prototype.ngOnDestroy=function(){for(var a=l(this._observers),b=a.next();!b.done;b=a.next())b=l(b.value),b.next(),b.next().value.destroy();this._observers.clear()};
Sy.prototype.observe=function(a,b){b=(b==null?void 0:b.box)||"content-box";this._observers.has(b)||this._observers.set(b,new yYb(b));return this._observers.get(b).observe(a)};Sy.\u0275fac=function(a){return new (a||Sy)};Sy.\u0275prov=Hc({token:Sy,factory:Sy.\u0275fac,providedIn:"root"});var zYb=new md("FloatingLabelParent"),Ty=function(a){this._elementRef=a;this._monitorResize=this._floating=!1;this._resizeObserver=Yc(Sy);this._ngZone=Yc(ze);this._parent=Yc(zYb);this._resizeSubscription=new W.Subscription};Ty.prototype.ngOnDestroy=function(){this._resizeSubscription.unsubscribe()};
Ty.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};Ty.prototype._handleResize=function(){var a=this;setTimeout(function(){return a._parent._handleLabelResized()})};
Ty.prototype._subscribeToResize=function(){var a=this;this._resizeSubscription.unsubscribe();this._ngZone.runOutsideAngular(function(){a._resizeSubscription=a._resizeObserver.observe(a._elementRef.nativeElement,{box:"border-box"}).subscribe(function(){return a._handleResize()})})};
ea.Object.defineProperties(Ty.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}}});
Ty.\u0275fac=function(a){return new (a||Ty)(A(Rd))};Ty.\u0275dir=fd({type:Ty,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(a,b){a&2&&Kf("mdc-floating-label--float-above",b.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"},standalone:!0});var Uy=function(a,b){var c=this;this._elementRef=a;this._handleTransitionEnd=function(d){var e=c._elementRef.nativeElement.classList,f=e.contains("mdc-line-ripple--deactivating");d.propertyName==="opacity"&&f&&e.remove("mdc-line-ripple--active","mdc-line-ripple--deactivating")};b.runOutsideAngular(function(){a.nativeElement.addEventListener("transitionend",c._handleTransitionEnd)})};
Uy.prototype.activate=function(){var a=this._elementRef.nativeElement.classList;a.remove("mdc-line-ripple--deactivating");a.add("mdc-line-ripple--active")};Uy.prototype.deactivate=function(){this._elementRef.nativeElement.classList.add("mdc-line-ripple--deactivating")};Uy.prototype.ngOnDestroy=function(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)};Uy.\u0275fac=function(a){return new (a||Uy)(A(Rd),A(ze))};
Uy.\u0275dir=fd({type:Uy,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"],standalone:!0});var AYb=["notch"],Vy=function(a,b){this._elementRef=a;this._ngZone=b;this.open=!1};Vy.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")};
Vy.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)":""};Vy.\u0275fac=function(a){return new (a||Vy)(A(Rd),A(ze))};
Vy.\u0275cmp=p({type:Vy,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(a,b){a&1&&fg(AYb,5);if(a&2){var c;jg(c=kg())&&(b._notch=c.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(a,b){a&2&&Kf("mdc-notched-outline--notched",b.open)},inputs:{open:[0,"matFormFieldNotchedOutlineOpen","open"]},standalone:!0,features:[sg],attrs:["matFormFieldNotchedOutline",""],ngContentSelectors:["*"],decls:5,vars:0,consts:[["notch",""],[1,"mdc-notched-outline__leading"],
[1,"mdc-notched-outline__notch"],[1,"mdc-notched-outline__trailing"]],template:function(a){a&1&&(Xf(),H(0,"div",1),F(1,"div",2,0),Yf(3),G(),H(4,"div",3))},encapsulation:2,changeDetection:0});var BYb=["textField"],CYb=["iconPrefixContainer"],DYb=["textPrefixContainer"],EYb=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],FYb=new md("MatFormField"),GYb=new md("MAT_FORM_FIELD_DEFAULT_OPTIONS"),HYb=0,Wy=function(a,b,c,d,e,f,h){this._elementRef=a;this._changeDetectorRef=b;this._dir=
d;this._platform=e;this._defaults=f;this._animationMode=h;this._hideRequiredMarker=!1;this.color="primary";this._appearance="fill";this._subscriptSizing=null;this._hintLabel="";this._hasTextSuffix=this._hasIconSuffix=this._hasTextPrefix=this._hasIconPrefix=!1;this._labelId="mat-mdc-form-field-label-"+HYb++;this._hintLabelId="mat-mdc-hint-"+HYb++;this._subscriptAnimationState="";this._destroyed=new W.Subject;this._isFocused=null;this._needsOutlineLabelOffsetUpdate=!1;this._injector=Yc(Ae);f&&(f.appearance&&
(this.appearance=f.appearance),this._hideRequiredMarker=!(f==null||!f.hideRequiredMarker),f.color&&(this.color=f.color))};g=Wy.prototype;g.ngAfterViewInit=function(){this._updateFocusState();this._subscriptAnimationState="enter";this._changeDetectorRef.detectChanges()};g.ngAfterContentInit=function(){this._initializeControl();this._initializeSubscript();this._initializePrefixAndSuffix();this._initializeOutlineLabelOffsetSubscriptions()};g.ngAfterContentChecked=function(){};
g.ngOnDestroy=function(){this._destroyed.next();this._destroyed.complete()};g.getLabelId=function(){return this._hasFloatingLabel()?this._labelId:null};var IYb=function(a){return a._textField||a._elementRef};g=Wy.prototype;g._animateAndLockLabel=function(){this._hasFloatingLabel()&&(this.floatLabel="always")};
g._initializeControl=function(){var a=this,b=this._control;b.controlType&&this._elementRef.nativeElement.classList.add("mat-mdc-form-field-type-"+b.controlType);b.stateChanges.subscribe(function(){a._updateFocusState();a._syncDescribedByIds();a._changeDetectorRef.markForCheck()});b.ngControl&&b.ngControl.valueChanges&&b.ngControl.valueChanges.pipe(qf(this._destroyed)).subscribe(function(){return a._changeDetectorRef.markForCheck()})};
g._checkPrefixAndSuffixTypes=function(){this._hasIconPrefix=!!this._prefixChildren.find(function(a){return!a._isText});this._hasTextPrefix=!!this._prefixChildren.find(function(a){return a._isText});this._hasIconSuffix=!!this._suffixChildren.find(function(a){return!a._isText});this._hasTextSuffix=!!this._suffixChildren.find(function(a){return a._isText})};
g._initializePrefixAndSuffix=function(){var a=this;this._checkPrefixAndSuffixTypes();(0,W.merge)(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});fia(function(){a._needsOutlineLabelOffsetUpdate&&(a._needsOutlineLabelOffsetUpdate=!1,a._updateOutlineLabelOffset())},{injector:this._injector});this._dir.change.pipe(qf(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._hasFloatingLabel=function(){return!!this._labelChildNonStatic||!!this._labelChildStatic};g._shouldLabelFloat=function(){return this._control.shouldLabelFloat||this._shouldAlwaysFloat()};g._shouldForward=function(a){var b=this._control?this._control.ngControl:null;return b&&b[a]};
g._getDisplayedMessages=function(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"};g._handleLabelResized=function(){this._refreshOutlineNotchWidth()};g._refreshOutlineNotchWidth=function(){if(this._hasOutline()&&this._floatingLabel&&this._shouldLabelFloat()){var a;(a=this._notchedOutline)==null||a._setNotchWidth(this._floatingLabel.getWidth())}else{var b;(b=this._notchedOutline)==null||b._setNotchWidth(0)}};g._processHints=function(){this._syncDescribedByIds()};
g._validateHints=function(){};
g._syncDescribedByIds=function(){if(this._control){var a=[];this._control.userAriaDescribedBy&&typeof this._control.userAriaDescribedBy==="string"&&a.push.apply(a,r(this._control.userAriaDescribedBy.split(" ")));if(this._getDisplayedMessages()==="hint"){var b=this._hintChildren?this._hintChildren.find(function(d){return d.align==="start"}):null,c=this._hintChildren?this._hintChildren.find(function(d){return d.align==="end"}):null;b?a.push(b.id):this._hintLabel&&a.push(this._hintLabelId);c&&a.push(c.id)}else this._errorChildren&&
a.push.apply(a,r(this._errorChildren.map(function(d){return d.id})));this._control.setDescribedByIds(a)}};
g._updateOutlineLabelOffset=function(){if(this._hasOutline()&&this._floatingLabel){var a=this._floatingLabel.element;if(this._iconPrefixContainer||this._textPrefixContainer)if(this._isAttachedToDom()){var b,c=(b=this._iconPrefixContainer)==null?void 0:b.nativeElement,d;b=(d=this._textPrefixContainer)==null?void 0:d.nativeElement;var e;c=(e=c==null?void 0:c.getBoundingClientRect().width)!=null?e:0;var f;e=(f=b==null?void 0:b.getBoundingClientRect().width)!=null?f:0;a.style.transform="var(\n        --mat-mdc-form-field-label-transform,\n        translateY(-50%) translateX(calc("+
((this._dir.value==="rtl"?"-1":"1")+" * ("+(c+e+"px + var(--mat-mdc-form-field-label-offset-x, 0px))))\n    )"))}else this._needsOutlineLabelOffsetUpdate=!0;else a.style.transform=""}};g._isAttachedToDom=function(){var a=this._elementRef.nativeElement;if(a.getRootNode){var b=a.getRootNode();return b&&b!==a}return document.documentElement.contains(a)};
ea.Object.defineProperties(Wy.prototype,{hideRequiredMarker:{configurable:!0,enumerable:!0,get:function(){return this._hideRequiredMarker},set:function(a){this._hideRequiredMarker=bh(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}}});Wy.\u0275fac=function(a){return new (a||Wy)(A(Rd),A(Ig),A(ze),A(Uw),A($v),A(GYb,8),A(vu,8),A(gh))};
Wy.\u0275cmp=p({type:Wy,selectors:[["mat-form-field"]],contentQueries:function(a,b,c){a&1&&(gg(c,Qy,5),gg(c,Qy,7),gg(c,Ry,5),gg(c,uYb,5),gg(c,vYb,5),gg(c,sYb,5),gg(c,Py,5));if(a&2){var d;jg(d=kg())&&(b._labelChildNonStatic=d.first);jg(d=kg())&&(b._labelChildStatic=d.first);jg(d=kg())&&(b._formFieldControl=d.first);jg(d=kg())&&(b._prefixChildren=d);jg(d=kg())&&(b._suffixChildren=d);jg(d=kg())&&(b._errorChildren=d);jg(d=kg())&&(b._hintChildren=d)}},viewQuery:function(a,b){a&1&&(fg(BYb,5),fg(CYb,5),
fg(DYb,5),fg(Ty,5),fg(Vy,5),fg(Uy,5));if(a&2){var c;jg(c=kg())&&(b._textField=c.first);jg(c=kg())&&(b._iconPrefixContainer=c.first);jg(c=kg())&&(b._textPrefixContainer=c.first);jg(c=kg())&&(b._floatingLabel=c.first);jg(c=kg())&&(b._notchedOutline=c.first);jg(c=kg())&&(b._lineRipple=c.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(a,b){a&2&&Kf("mat-mdc-form-field-label-always-float",b._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",b._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",
b._hasIconSuffix)("mat-form-field-invalid",b._control.errorState)("mat-form-field-disabled",b._control.disabled)("mat-form-field-autofilled",b._control.autofilled)("mat-form-field-no-animations",b._animationMode==="NoopAnimations")("mat-form-field-appearance-fill",b.appearance=="fill")("mat-form-field-appearance-outline",b.appearance=="outline")("mat-form-field-hide-placeholder",b._hasFloatingLabel()&&!b._shouldLabelFloat())("mat-focused",b._control.focused)("mat-primary",b.color!=="accent"&&b.color!==
"warn")("mat-accent",b.color==="accent")("mat-warn",b.color==="warn")("ng-untouched",b._shouldForward("untouched"))("ng-touched",b._shouldForward("touched"))("ng-pristine",b._shouldForward("pristine"))("ng-dirty",b._shouldForward("dirty"))("ng-valid",b._shouldForward("valid"))("ng-invalid",b._shouldForward("invalid"))("ng-pending",b._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",
hintLabel:"hintLabel"},exportAs:["matFormField"],standalone:!0,features:[qg([{provide:FYb,useExisting:Wy},{provide:zYb,useExisting:Wy}]),sg],ngContentSelectors:"*;mat-label;[matPrefix], [matIconPrefix];[matTextPrefix];[matTextSuffix];[matSuffix], [matIconSuffix];mat-error, [matError];mat-hint:not([align='end']);mat-hint[align='end']".split(";"),decls:18,vars:21,consts:[["labelTemplate",""],["textField",""],["iconPrefixContainer",""],["textPrefixContainer",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",
3,"click"],[1,"mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],[1,"mat-mdc-form-field-icon-prefix"],[1,"mat-mdc-form-field-text-prefix"],[1,"mat-mdc-form-field-infix"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align"],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],
["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[3,"id"],[1,"mat-mdc-form-field-hint-spacer"]],template:function(a,b){if(a&1){var c=u();Xf(EYb);C(0,Vpa,1,1,"ng-template",null,0,yg);F(2,"div",4,1);M("click",function(){v(c);return x(b._control.onContainerClick())});C(4,Wpa,1,0,"div",5);F(5,"div",6);C(6,Zpa,2,2,"div",7)(7,$pa,3,0,"div",8)(8,aqa,3,0,"div",9);F(9,"div",10);C(10,cqa,1,1,null,
11);Yf(11);G();C(12,dqa,2,0,"div",12)(13,eqa,2,0,"div",13);G();C(14,fqa,1,0,"div",14);G();F(15,"div",15);C(16,gqa,2,1,"div",16)(17,iqa,5,2,"div",17);G()}if(a&2){var d;z(2);Kf("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);z(2);Of(b._hasOutline()||b._control.disabled?-1:4);z(2);Of(b._hasOutline()?6:-1);z();Of(b._hasIconPrefix?
7:-1);z();Of(b._hasTextPrefix?8:-1);z(2);Of(!b._hasOutline()||b._forceDisplayInfixLabel()?10:-1);z(2);Of(b._hasTextSuffix?12:-1);z();Of(b._hasIconSuffix?13:-1);z();Of(b._hasOutline()?-1:14);z();Kf("mat-mdc-form-field-subscript-dynamic-size",b.subscriptSizing==="dynamic");z();Of((d=b._getDisplayedMessages())==="error"?16:d==="hint"?17:-1)}},dependencies:[Ty,Vy,Kv,Uy,Py],styles:['.mdc-text-field{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:0;border-bottom-left-radius:0;display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-text-field__input{height:28px;width:100%;min-width:0;border:none;border-radius:0;background:none;appearance:none;padding:0}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}@media all{.mdc-text-field__input::placeholder{opacity:0}}@media all{.mdc-text-field__input:-ms-input-placeholder{opacity:0}}@media all{.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}}@media all{.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__affix{height:28px;opacity:0;white-space:nowrap}.mdc-text-field--label-floating .mdc-text-field__affix,.mdc-text-field--no-label .mdc-text-field__affix{opacity:1}@supports(-webkit-hyphens: none){.mdc-text-field--outlined .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field__affix--prefix,.mdc-text-field__affix--prefix[dir=rtl]{padding-left:2px;padding-right:0}.mdc-text-field--end-aligned .mdc-text-field__affix--prefix{padding-left:0;padding-right:12px}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--end-aligned .mdc-text-field__affix--prefix[dir=rtl]{padding-left:12px;padding-right:0}.mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field__affix--suffix,.mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:12px}.mdc-text-field--end-aligned .mdc-text-field__affix--suffix{padding-left:2px;padding-right:0}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--end-aligned .mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:2px}.mdc-text-field--filled{height:56px}.mdc-text-field--filled::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}.mdc-text-field--filled .mdc-floating-label{left:16px;right:initial}[dir=rtl] .mdc-text-field--filled .mdc-floating-label,.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:16px}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled.mdc-text-field--no-label::before{display:none}@supports(-webkit-hyphens: none){.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field--outlined{height:56px;overflow:visible}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1)}.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-floating-label--float-above{font-size:.75rem}.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-text-field--outlined .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px,var(--mdc-shape-small, 4px))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px,var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px,var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px,var(--mdc-shape-small, 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px,var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:initial}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:4px}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mdc-text-field--textarea{flex-direction:column;align-items:center;width:auto;height:auto;padding:0}.mdc-text-field--textarea .mdc-floating-label{top:19px}.mdc-text-field--textarea .mdc-floating-label:not(.mdc-floating-label--float-above){transform:none}.mdc-text-field--textarea .mdc-text-field__input{flex-grow:1;height:auto;min-height:1.5rem;overflow-x:hidden;overflow-y:auto;box-sizing:border-box;resize:none;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--filled::before{display:none}.mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-10.25px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--filled .mdc-text-field__input{margin-top:23px;margin-bottom:9px}.mdc-text-field--textarea.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-27.25px) scale(1)}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-24.75px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label{top:18px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field__input{margin-bottom:2px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter{align-self:flex-end;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::after{display:inline-block;width:0;height:16px;content:"";vertical-align:-16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::before{display:none}.mdc-text-field__resizer{align-self:stretch;display:inline-flex;flex-direction:column;flex-grow:1;max-height:100%;max-width:100%;min-height:56px;min-width:fit-content;min-width:-moz-available;min-width:-webkit-fill-available;overflow:hidden;resize:both}.mdc-text-field--filled .mdc-text-field__resizer{transform:translateY(-1px)}.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateY(1px)}.mdc-text-field--outlined .mdc-text-field__resizer{transform:translateX(-1px) translateY(-1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer,.mdc-text-field--outlined .mdc-text-field__resizer[dir=rtl]{transform:translateX(1px) translateY(-1px)}.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateX(1px) translateY(1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input[dir=rtl],.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter[dir=rtl]{transform:translateX(-1px) translateY(1px)}.mdc-text-field--with-leading-icon{padding-left:0;padding-right:16px}[dir=rtl] .mdc-text-field--with-leading-icon,.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:16px;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 48px);left:48px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:48px}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 64px/0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label{left:36px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:36px}.mdc-text-field--with-leading-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) translateX(-32px) scale(1)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-37.25px) translateX(32px) scale(1)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) translateX(-32px) scale(0.75)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl],.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-34.75px) translateX(32px) scale(0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--with-trailing-icon{padding-left:16px;padding-right:0}[dir=rtl] .mdc-text-field--with-trailing-icon,.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0;padding-right:16px}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 64px)}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 64px/0.75)}.mdc-text-field--with-trailing-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 96px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 96px/0.75)}.mdc-text-field-helper-line{display:flex;justify-content:space-between;box-sizing:border-box}.mdc-text-field+.mdc-text-field-helper-line{padding-right:16px;padding-left:16px}.mdc-form-field>.mdc-text-field+label{align-self:flex-start}.mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--focused .mdc-notched-outline__trailing{border-width:2px}.mdc-text-field--focused+.mdc-text-field-helper-line .mdc-text-field-helper-text:not(.mdc-text-field-helper-text--validation-msg){opacity:1}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-text-field--focused.mdc-text-field--outlined.mdc-text-field--textarea .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{opacity:1}.mdc-text-field--disabled{pointer-events:none}@media screen and (forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--disabled .mdc-floating-label{cursor:default}.mdc-text-field--disabled.mdc-text-field--filled .mdc-text-field__ripple{display:none}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--end-aligned .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--end-aligned .mdc-text-field__input[dir=rtl]{text-align:left}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix{direction:ltr}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--leading,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--leading{order:1}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{order:2}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input{order:3}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{order:4}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--trailing,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--trailing{order:5}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--prefix{padding-right:12px}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--suffix{padding-left:2px}.mdc-floating-label{position:absolute;left:0;-webkit-transform-origin:left top;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,.mdc-floating-label[dir=rtl]{right:0;left:auto;-webkit-transform-origin:right top;transform-origin:right top;text-align:right}.mdc-floating-label--float-above{cursor:auto}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0px;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after,.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)[dir=rtl]::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,.mdc-notched-outline[dir=rtl]{text-align:right}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{box-sizing:border-box;height:100%;pointer-events:none}.mdc-notched-outline__trailing{flex-grow:1}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.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-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch,.mdc-notched-outline--notched .mdc-notched-outline__notch[dir=rtl]{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}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{border-top:1px solid;border-bottom:1px solid}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;width:12px}[dir=rtl] .mdc-notched-outline__leading,.mdc-notched-outline__leading[dir=rtl]{border-left:none;border-right:1px solid}.mdc-notched-outline__trailing{border-left:none;border-right:1px solid}[dir=rtl] .mdc-notched-outline__trailing,.mdc-notched-outline__trailing[dir=rtl]{border-left:1px solid;border-right:none}.mdc-notched-outline__notch{max-width:calc(100% - 12px*2)}.mdc-line-ripple::before{border-bottom-width:1px}.mdc-line-ripple::after{border-bottom-width:2px}.mdc-text-field--filled{border-top-left-radius:var(--mdc-filled-text-field-container-shape);border-top-right-radius:var(--mdc-filled-text-field-container-shape);border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-caret-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-error-caret-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-filled-text-field-input-text-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-filled-text-field-disabled-input-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-label-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-focus-label-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-hover-label-text-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-disabled-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-focus-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-hover-label-text-color)}.mdc-text-field--filled .mdc-floating-label{font-family:var(--mdc-filled-text-field-label-text-font);font-size:var(--mdc-filled-text-field-label-text-size);font-weight:var(--mdc-filled-text-field-label-text-weight);letter-spacing:var(--mdc-filled-text-field-label-text-tracking)}@media all{.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}}@media all{.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--mdc-filled-text-field-container-color)}.mdc-text-field--filled.mdc-text-field--disabled{background-color:var(--mdc-filled-text-field-disabled-container-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-hover-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-focus-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-disabled-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-hover-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-error-focus-active-indicator-color)}.mdc-text-field--filled .mdc-line-ripple::before{border-bottom-width:var(--mdc-filled-text-field-active-indicator-height)}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-width:var(--mdc-filled-text-field-focus-active-indicator-height)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-caret-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-error-caret-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-outlined-text-field-input-text-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-outlined-text-field-disabled-input-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-label-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-focus-label-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-hover-label-text-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-disabled-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-focus-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-hover-label-text-color)}.mdc-text-field--outlined .mdc-floating-label{font-family:var(--mdc-outlined-text-field-label-text-font);font-size:var(--mdc-outlined-text-field-label-text-size);font-weight:var(--mdc-outlined-text-field-label-text-weight);letter-spacing:var(--mdc-outlined-text-field-label-text-tracking)}@media all{.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color)}}@media all{.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color)}}.mdc-text-field--outlined.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(.75*var(--mdc-outlined-text-field-label-text-size))}.mdc-text-field--outlined.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mdc-outlined-text-field-label-text-size)}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:var(--mdc-outlined-text-field-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mdc-outlined-text-field-container-shape))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px,var(--mdc-outlined-text-field-container-shape))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:var(--mdc-outlined-text-field-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px,var(--mdc-outlined-text-field-container-shape))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-hover-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-focus-outline-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-disabled-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-hover-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-focus-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__trailing{border-width:var(--mdc-outlined-text-field-outline-width)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__trailing{border-width:var(--mdc-outlined-text-field-focus-outline-width)}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;line-height:normal;pointer-events:all}.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-floating-label.mdc-floating-label{cursor:inherit}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-form-field-disabled .mdc-text-field__input::placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-text-field-wrapper::before{content:none}.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:1px solid rgba(0,0,0,0)}[dir=rtl] .mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:none;border-right:1px solid rgba(0,0,0,0)}.mat-mdc-form-field-infix{min-height:var(--mat-form-field-container-height);padding-top:var(--mat-form-field-filled-with-label-container-padding-top);padding-bottom:var(--mat-form-field-filled-with-label-container-padding-bottom)}.mdc-text-field--outlined .mat-mdc-form-field-infix,.mdc-text-field--no-label .mat-mdc-form-field-infix{padding-top:var(--mat-form-field-container-vertical-padding);padding-bottom:var(--mat-form-field-container-vertical-padding)}.mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:calc(var(--mat-form-field-container-height)/2)}.mdc-text-field--filled .mat-mdc-floating-label{display:var(--mat-form-field-filled-label-display, block)}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{--mat-mdc-form-field-label-transform: translateY(calc(calc(6.75px + var(--mat-form-field-container-height) / 2) * -1)) scale(var(--mat-mdc-form-field-floating-label-scale, 0.75));transform:var(--mat-mdc-form-field-label-transform)}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block;color:var(--mat-form-field-error-text-color)}.mat-mdc-form-field-subscript-wrapper,.mat-mdc-form-field-bottom-align::before{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-subscript-text-font);line-height:var(--mat-form-field-subscript-text-line-height);font-size:var(--mat-form-field-subscript-text-size);letter-spacing:var(--mat-form-field-subscript-text-tracking);font-weight:var(--mat-form-field-subscript-text-weight)}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none;background-color:var(--mat-form-field-state-layer-color)}.mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-hover-state-layer-opacity)}.mat-mdc-form-field.mat-focused .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-focus-state-layer-opacity)}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option{color:var(--mat-form-field-select-option-text-color)}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option:disabled{color:var(--mat-form-field-select-disabled-option-text-color)}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none;color:var(--mat-form-field-enabled-select-arrow-color)}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select.mat-focused .mat-mdc-form-field-infix::after{color:var(--mat-form-field-focus-select-arrow-color)}.mat-mdc-form-field-type-mat-native-select.mat-form-field-disabled .mat-mdc-form-field-infix::after{color:var(--mat-form-field-disabled-select-arrow-color)}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}.cdk-high-contrast-active .mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}.mat-mdc-form-field-input-control[type=date],.mat-mdc-form-field-input-control[type=datetime],.mat-mdc-form-field-input-control[type=datetime-local],.mat-mdc-form-field-input-control[type=month],.mat-mdc-form-field-input-control[type=week],.mat-mdc-form-field-input-control[type=time]{line-height:1}.mat-mdc-form-field-input-control::-webkit-datetime-edit{line-height:1;padding:0;margin-bottom:-2px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-container-text-font);line-height:var(--mat-form-field-container-text-line-height);font-size:var(--mat-form-field-container-text-size);letter-spacing:var(--mat-form-field-container-text-tracking);font-weight:var(--mat-form-field-container-text-weight)}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(var(--mat-form-field-outlined-label-text-populated-size)*var(--mat-mdc-form-field-floating-label-scale))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mat-form-field-outlined-label-text-populated-size)}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%;z-index:0}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto;position:relative;z-index:1}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:0 12px;box-sizing:content-box}.mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-leading-icon-color)}.mat-form-field-disabled .mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-disabled-leading-icon-color)}.mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-trailing-icon-color)}.mat-form-field-disabled .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-disabled-trailing-icon-color)}.mat-form-field-invalid .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-trailing-icon-color)}.mat-form-field-invalid:not(.mat-focused):not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-hover-trailing-icon-color)}.mat-form-field-invalid.mat-focused .mat-mdc-text-field-wrapper .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-focus-trailing-icon-color)}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .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__affix{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled.mdc-ripple-upgraded--background-focused .mdc-text-field__ripple::before,.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-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea{transition:none}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-filled 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-filled{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon{0%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}[dir=rtl] .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined[dir=rtl] .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon-rtl{0%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}.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)}.mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-standard 250ms 1}@keyframes mdc-floating-label-shake-float-above-standard{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}}.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:[xYb]},changeDetection:0});var Xy=function(){};Xy.\u0275fac=function(a){return new (a||Xy)};Xy.\u0275mod=dd({type:Xy});Xy.\u0275inj=Ic({imports:[zx,Tv,uw,zx]});var JYb=ph("transformPanel",[uh("void => enter-dropdown",qh("120ms cubic-bezier(0, 0, 0.2, 1)",th([rh({opacity:0,transform:"scale(1, 0.8)"}),rh({opacity:1,transform:"scale(1, 1)"})]))),uh("void => enter-dialog",qh("150ms cubic-bezier(0, 0, 0.2, 1)",th([rh({opacity:0,transform:"scale(0.7)"}),rh({transform:"none",opacity:1})]))),uh("* => void",qh("100ms linear",rh({opacity:0})))]),KYb=ph("fadeInCalendar",[sh("void",rh({opacity:0})),sh("enter",rh({opacity:1})),uh("void => *",qh("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))]);var LYb={provide:new md("mat-datepicker-scroll-strategy",{providedIn:"root",factory:function(){var a=Yc(vx);return function(){return a.scrollStrategies.reposition()}}}),deps:[vx],useFactory:function(a){return function(){return a.scrollStrategies.reposition()}}},Yy=function(a,b,c,d,e,f){this._elementRef=a;this._changeDetectorRef=b;this._globalModel=c;this._dateAdapter=d;this._rangeSelectionStrategy=e;this._subscriptions=new W.Subscription;this._animationDone=new W.Subject;this._isAnimating=!1;this._actionsPortal=
null;this._closeButtonText=f.closeCalendarLabel};g=Yy.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()};Yy.\u0275fac=function(a){return new (a||Yy)(A(Rd),A(Ig),A(Wx),A(Ax),A(LXb,8),A(Yx))};
Yy.\u0275cmp=p({type:Yy,selectors:[["mat-datepicker-content"]],viewQuery:function(a,b){a&1&&fg(hy,5);if(a&2){var c;jg(c=kg())&&(b._calendar=c.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:5,hostBindings:function(a,b){a&1&&Wf("@transformPanel.start",function(c){return b._handleAnimationEvent(c)})("@transformPanel.done",function(c){return b._handleAnimationEvent(c)});a&2&&(Uf("@transformPanel",b._animationState),Lf(b.color?"mat-"+b.color:""),Kf("mat-datepicker-content-touch",b.datepicker.touchUi))},
inputs:{color:"color"},exportAs:["matDatepickerContent"],standalone:!0,features:[sg],decls:5,vars:27,consts:[["cdkTrapFocus","","role","dialog",1,"mat-datepicker-content-container"],[3,"yearSelected","monthSelected","viewChanged","_userSelection","_userDragDrop","id","startAt","startView","minDate","maxDate","dateFilter","headerComponent","selected","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName"],[3,"cdkPortalOutlet"],["type","button","mat-raised-button",
"",1,"mat-datepicker-close-button",3,"focus","blur","click","color"]],template:function(a,b){a&1&&(F(0,"div",0)(1,"mat-calendar",1),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)}),G(),C(2,jqa,0,0,"ng-template",2),F(3,"button",3),
M("focus",function(){return b._closeButtonFocused=!0})("blur",function(){return b._closeButtonFocused=!1})("click",function(){return b.datepicker.close()}),R(4),G()());if(a&2){var c;Kf("mat-datepicker-content-container-with-custom-header",b.datepicker.calendarHeaderComponent)("mat-datepicker-content-container-with-actions",b._actionsPortal);Bf("aria-modal",!0)("aria-labelledby",(c=b._dialogLabelId)!==null&&c!==void 0?c:void 0);z();Lf(b.datepicker.panelClass);D("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);z();D("cdkPortalOutlet",b._actionsPortal);
z();Kf("cdk-visually-hidden",!b._closeButtonFocused);D("color",b.color||"primary");z();lg(b._closeButtonText)}},dependencies:[mw,hy,Sw,Rx],styles:[".mat-datepicker-content{display:block;border-radius:4px;background-color:var(--mat-datepicker-calendar-container-background-color);color:var(--mat-datepicker-calendar-container-text-color);box-shadow:var(--mat-datepicker-calendar-container-elevation-shadow);border-radius:var(--mat-datepicker-calendar-container-shape)}.mat-datepicker-content .mat-calendar{width:296px;height:354px}.mat-datepicker-content .mat-datepicker-content-container-with-custom-header .mat-calendar{height:auto}.mat-datepicker-content .mat-datepicker-close-button{position:absolute;top:100%;left:0;margin-top:8px}.ng-animating .mat-datepicker-content .mat-datepicker-close-button{display:none}.mat-datepicker-content-container{display:flex;flex-direction:column;justify-content:space-between}.mat-datepicker-content-touch{display:block;max-height:80vh;box-shadow:var(--mat-datepicker-calendar-container-touch-elevation-shadow);border-radius:var(--mat-datepicker-calendar-container-touch-shape);position:relative;overflow:visible}.mat-datepicker-content-touch .mat-datepicker-content-container{min-height:312px;max-height:788px;min-width:250px;max-width:750px}.mat-datepicker-content-touch .mat-calendar{width:100%;height:auto}@media all and (orientation: landscape){.mat-datepicker-content-touch .mat-datepicker-content-container{width:64vh;height:80vh}}@media all and (orientation: portrait){.mat-datepicker-content-touch .mat-datepicker-content-container{width:80vw;height:100vw}.mat-datepicker-content-touch .mat-datepicker-content-container-with-actions{height:115vw}}\n"],
encapsulation:2,data:{animation:[JYb,KYb]},changeDetection:0});var MYb=new md("MAT_INPUT_VALUE_ACCESSOR");var NYb=Wg({passive:!0}),Zy=function(a,b){this._platform=a;this._ngZone=b;this._monitoredElements=new Map};
Zy.prototype.monitor=function(a){var b=this;if(!this._platform.isBrowser)return W.EMPTY;var c=dh(a);if(a=this._monitoredElements.get(c))return a.subject;var d=new W.Subject,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,NYb);c.classList.add("cdk-text-field-autofill-monitored")});this._monitoredElements.set(c,{subject:d,unlisten:function(){c.removeEventListener("animationstart",e,NYb)}});return d};
Zy.prototype.stopMonitoring=function(a){a=dh(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))};Zy.prototype.ngOnDestroy=function(){var a=this;this._monitoredElements.forEach(function(b,c){return a.stopMonitoring(c)})};Zy.\u0275fac=function(a){return new (a||Zy)(n($v),n(ze))};Zy.\u0275prov=Hc({token:Zy,factory:Zy.\u0275fac,providedIn:"root"});var $y=function(a,b,c,d){var e=this;this._elementRef=a;this._platform=b;this._ngZone=c;this._destroyed=new W.Subject;this._enabled=!0;this._previousMinRows=-1;this._isViewInited=!1;this._handleFocusEvent=function(f){e._hasFocus=f.type==="focus"};this._document=d;this._textareaElement=this._elementRef.nativeElement};g=$y.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,az(this),this._ngZone.runOutsideAngular(function(){(0,W.fromEvent)(a._getWindow(),"resize").pipe(Xe(16),qf(a._destroyed)).subscribe(function(){return az(a,!0)});a._textareaElement.addEventListener("focus",a._handleFocusEvent);a._textareaElement.addEventListener("blur",a._handleFocusEvent)}),this._isViewInited=!0,az(this,!0))};
g.ngOnDestroy=function(){this._textareaElement.removeEventListener("focus",this._handleFocusEvent);this._textareaElement.removeEventListener("blur",this._handleFocusEvent);this._destroyed.next();this._destroyed.complete()};
g._cacheTextareaLineHeight=function(){if(!this._cachedLineHeight){var a=this._textareaElement.cloneNode(!1);a.rows=1;a.style.position="absolute";a.style.visibility="hidden";a.style.border="none";a.style.padding="0";a.style.height="";a.style.minHeight="";a.style.maxHeight="";a.style.overflow="hidden";this._textareaElement.parentNode.appendChild(a);this._cachedLineHeight=a.clientHeight;a.remove();this._setMinHeight();this._setMaxHeight()}};
g._measureScrollHeight=function(){var a=this._textareaElement,b=a.style.marginBottom||"",c=this._platform.FIREFOX,d=c&&this._hasFocus;c=c?"cdk-textarea-autosize-measuring-firefox":"cdk-textarea-autosize-measuring";d&&(a.style.marginBottom=a.clientHeight+"px");a.classList.add(c);var e=a.scrollHeight-4;a.classList.remove(c);d&&(a.style.marginBottom=b);return e};
g._cacheTextareaPlaceholderHeight=function(){if(this._isViewInited&&this._cachedPlaceholderHeight==void 0)if(this.placeholder){var a=this._textareaElement.value;this._textareaElement.value=this._textareaElement.placeholder;this._cachedPlaceholderHeight=this._measureScrollHeight();this._textareaElement.value=a}else this._cachedPlaceholderHeight=0};g.ngDoCheck=function(){this._platform.isBrowser&&az(this)};
var az=function(a,b){b=b===void 0?!1:b;if(a._enabled&&(a._cacheTextareaLineHeight(),a._cacheTextareaPlaceholderHeight(),a._cachedLineHeight)){var c=a._elementRef.nativeElement,d=c.value;if(b||a._minRows!==a._previousMinRows||d!==a._previousValue)b=a._measureScrollHeight(),c.style.height=Math.max(b,a._cachedPlaceholderHeight||0)+"px",a._ngZone.runOutsideAngular(function(){typeof requestAnimationFrame!=="undefined"?requestAnimationFrame(function(){return a._scrollToCaretPosition(c)}):setTimeout(function(){return a._scrollToCaretPosition(c)})}),
a._previousValue=d,a._previousMinRows=a._minRows}};g=$y.prototype;g.reset=function(){this._initialHeight!==void 0&&(this._textareaElement.style.height=this._initialHeight)};g._noopInputHandler=function(){};g._getDocument=function(){return this._document||document};g._getWindow=function(){return this._getDocument().defaultView||window};g._scrollToCaretPosition=function(a){var b=a.selectionStart,c=a.selectionEnd;!this._destroyed.isStopped&&this._hasFocus&&a.setSelectionRange(b,c)};
ea.Object.defineProperties($y.prototype,{minRows:{configurable:!0,enumerable:!0,get:function(){return this._minRows},set:function(a){this._minRows=eh(a);this._setMinHeight()}},maxRows:{configurable:!0,enumerable:!0,get:function(){return this._maxRows},set:function(a){this._maxRows=eh(a);this._setMaxHeight()}},enabled:{configurable:!0,enumerable:!0,get:function(){return this._enabled},set:function(a){this._enabled!==a&&((this._enabled=a)?az(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()}}});$y.\u0275fac=function(a){return new (a||$y)(A(Rd),A($v),A(ze),A(gh,8))};
$y.\u0275dir=fd({type:$y,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",Gg],placeholder:"placeholder"},exportAs:["cdkTextareaAutosize"],standalone:!0,features:[Af]});var bz=function(){};bz.\u0275fac=function(a){return new (a||bz)};bz.\u0275mod=dd({type:bz});bz.\u0275inj=Ic({});var OYb="button checkbox file hidden image radio range reset submit".split(" "),PYb=0,cz=function(a,b,c,d,e,f,h,k,q,t){var w=this;this._elementRef=a;this._platform=b;this.ngControl=c;this._autofillMonitor=k;this._formField=t;this._uid="mat-input-"+PYb++;this.focused=!1;this.stateChanges=new W.Subject;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(I){return coa().has(I)});
this._iOSKeyupListener=function(I){I=I.target;I.value||I.selectionStart!==0||I.selectionEnd!==0||(I.setSelectionRange(1,1),I.setSelectionRange(0,0))};var B=this._elementRef.nativeElement,E=B.nodeName.toLowerCase();this._inputValueAccessor=h||B;this._previousNativeValue=this.value;this.id=this.id;b.IOS&&q.runOutsideAngular(function(){a.nativeElement.addEventListener("keyup",w._iOSKeyupListener)});this._errorStateTracker=new ZWb(f,c,e,d,this.stateChanges);this._isServer=!this._platform.isBrowser;this._isNativeSelect=
E==="select";this._isTextarea=E==="textarea";this._isInFormField=!!t;this._isNativeSelect&&(this.controlType=B.multiple?"mat-native-select-multiple":"mat-native-select")};g=cz.prototype;g.ngAfterViewInit=function(){var a=this;this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(function(b){a.autofilled=b.isAutofilled;a.stateChanges.next()})};g.ngOnChanges=function(){this.stateChanges.next()};
g.ngOnDestroy=function(){this.stateChanges.complete();this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement);this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener)};g.ngDoCheck=function(){this.ngControl&&(this.updateErrorState(),this.ngControl.disabled!==null&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next()));this._dirtyCheckNativeValue();this._dirtyCheckPlaceholder()};
g.focus=function(a){this._elementRef.nativeElement.focus(a)};g.updateErrorState=function(){this._errorStateTracker.updateErrorState()};g._focusChanged=function(a){a!==this.focused&&(this.focused=a,this.stateChanges.next())};g._onInput=function(){};g._dirtyCheckNativeValue=function(){var a=this._elementRef.nativeElement.value;this._previousNativeValue!==a&&(this._previousNativeValue=a,this.stateChanges.next())};
g._dirtyCheckPlaceholder=function(){var a=this._getPlaceholder();if(a!==this._previousPlaceholder){var b=this._elementRef.nativeElement;(this._previousPlaceholder=a)?b.setAttribute("placeholder",a):b.removeAttribute("placeholder")}};g._getPlaceholder=function(){return this.placeholder||null};g._validateType=function(){OYb.indexOf(this._type)};g._isNeverEmpty=function(){return this._neverEmptyInputTypes.indexOf(this._type)>-1};
g._isBadInput=function(){var a=this._elementRef.nativeElement.validity;return a&&a.badInput};g.setDescribedByIds=function(a){a.length?this._elementRef.nativeElement.setAttribute("aria-describedby",a.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")};g.onContainerClick=function(){this.focused||this.focus()};g._isInlineSelect=function(){var a=this._elementRef.nativeElement;return this._isNativeSelect&&(a.multiple||a.size>1)};
ea.Object.defineProperties(cz.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled},set:function(a){this._disabled=bh(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:$Xb(b))!=null?d:!1},
set:function(a){this._required=bh(a)}},type:{configurable:!0,enumerable:!0,get:function(){return this._type},set:function(a){this._type=a||"text";this._validateType();!this._isTextarea&&coa().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}},errorStateMatcher:{configurable:!0,enumerable:!0,get:function(){return this._errorStateTracker.matcher},set:function(a){this._errorStateTracker.matcher=a}},value:{configurable:!0,enumerable:!0,get:function(){return this._inputValueAccessor.value},
set:function(a){a!==this.value&&(this._inputValueAccessor.value=a,this.stateChanges.next())}},readonly:{configurable:!0,enumerable:!0,get:function(){return this._readonly},set:function(a){this._readonly=bh(a)}},errorState:{configurable:!0,enumerable:!0,get:function(){return this._errorStateTracker.errorState},set:function(a){this._errorStateTracker.errorState=a}},empty:{configurable:!0,enumerable:!0,get:function(){return!this._isNeverEmpty()&&!this._elementRef.nativeElement.value&&!this._isBadInput()&&
!this.autofilled}},shouldLabelFloat:{configurable:!0,enumerable:!0,get:function(){if(this._isNativeSelect){var a=this._elementRef.nativeElement,b=a.options[0];return this.focused||a.multiple||!this.empty||!!(a.selectedIndex>-1&&b&&b.label)}return this.focused||!this.empty}}});cz.\u0275fac=function(a){return new (a||cz)(A(Rd),A($v),A(oy,10),A(wy,8),A(Ey,8),A(Fx),A(MYb,10),A(Zy),A(ze),A(FYb,8))};
cz.\u0275dir=fd({type:cz,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:18,hostBindings:function(a,b){a&1&&M("focus",function(){return b._focusChanged(!0)})("blur",function(){return b._focusChanged(!1)})("input",function(){});a&2&&(Tf("id",b.id)("disabled",b.disabled)("required",b.required),Bf("name",b.name||null)("readonly",b.readonly&&
!b._isNativeSelect||null)("aria-invalid",b.empty&&b.required?null:b.errorState)("aria-required",b.required)("id",b.id),Kf("mat-input-server",b._isServer)("mat-mdc-form-field-textarea-control",b._isInFormField&&b._isTextarea)("mat-mdc-form-field-input-control",b._isInFormField)("mdc-text-field__input",b._isInFormField)("mat-mdc-native-select-inline",b._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",
userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],standalone:!0,features:[qg([{provide:Ry,useExisting:cz}]),td]});var dz=function(){};dz.\u0275fac=function(a){return new (a||dz)};dz.\u0275mod=dd({type:dz});dz.\u0275inj=Ic({imports:[zx,Xy,Xy,bz,zx]});var QYb=["button"],RYb=[[["","matDatepickerToggleIcon",""]]],ez=function(){};ez.\u0275fac=function(a){return new (a||ez)};ez.\u0275dir=fd({type:ez,selectors:[["","matDatepickerToggleIcon",""]],standalone:!0});var fz=function(a,b,c){this._intl=a;this._changeDetectorRef=b;this._stateChanges=W.Subscription.EMPTY;this.tabIndex=(c=Number(c))||c===0?c:null};g=fz.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:(0,W.of)(),c=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:(0,W.of)(),d=this.datepicker?(0,W.merge)(this.datepicker.openedStream,this.datepicker.closedStream):(0,W.of)();this._stateChanges.unsubscribe();this._stateChanges=(0,W.merge)(this._intl.changes,b,c,d).subscribe(function(){return a._changeDetectorRef.markForCheck()})};
ea.Object.defineProperties(fz.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}}});fz.\u0275fac=function(a){return new (a||fz)(A(Yx),A(Ig),Jd("tabindex"))};
fz.\u0275cmp=p({type:fz,selectors:[["mat-datepicker-toggle"]],contentQueries:function(a,b,c){a&1&&gg(c,ez,5);if(a&2){var d;jg(d=kg())&&(b._customIcon=d.first)}},viewQuery:function(a,b){a&1&&fg(QYb,5);if(a&2){var c;jg(c=kg())&&(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&&(Bf("tabindex",null)("data-mat-calendar",b.datepicker?b.datepicker.id:null),Kf("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",Gg],disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],standalone:!0,features:[Af,td,sg],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&&(Xf(RYb),F(0,"button",1,0),C(2,kqa,2,0,":svg:svg",2),Yf(3),G());a&2&&(D("disabled",b.disabled)("disableRipple",b.disableRipple),Bf("aria-haspopup",b.datepicker?"dialog":null)("aria-label",
b.ariaLabel||b._intl.openCalendarLabel)("tabindex",b.disabled?-1:b.tabIndex),z(2),Of(b._customIcon?-1:2))},dependencies:[Tx],styles:[".mat-datepicker-toggle{pointer-events:auto;color:var(--mat-datepicker-toggle-icon-color)}.mat-datepicker-toggle-active{color:var(--mat-datepicker-toggle-active-state-icon-color)}.cdk-high-contrast-active .mat-datepicker-toggle-default-icon{color:CanvasText}\n"],encapsulation:2,changeDetection:0});var gz=function(){};gz.\u0275fac=function(a){return new (a||gz)};gz.\u0275mod=dd({type:gz});gz.\u0275inj=Ic({providers:[Yx,LYb],imports:[Tv,Vx,yx,ww,Tw,zx,Yy,fz,gy,jx]});var lqa=/^[a-z][a-z\d-]*$/i,mqa="APPLET BASE EMBED IFRAME LINK MATH META OBJECT SCRIPT STYLE SVG TEMPLATE".split(" "),pqa="AREA BR COL COMMAND HR IMG INPUT KEYGEN PARAM SOURCE TRACK WBR".split(" "),qqa=["action","formaction","href"];"ARTICLE SECTION NAV ASIDE H1 H2 H3 H4 H5 H6 HEADER FOOTER ADDRESS P HR PRE BLOCKQUOTE OL UL LH LI DL DT DD FIGURE FIGCAPTION MAIN DIV EM STRONG SMALL S CITE Q DFN ABBR RUBY RB RT RTC RP DATA TIME CODE VAR SAMP KBD SUB SUP I B U MARK BDI BDO SPAN BR WBR INS DEL PICTURE PARAM TRACK MAP TABLE CAPTION COLGROUP COL TBODY THEAD TFOOT TR TD TH SELECT DATALIST OPTGROUP OPTION OUTPUT PROGRESS METER FIELDSET LEGEND DETAILS SUMMARY MENU DIALOG SLOT CANVAS FONT CENTER ACRONYM BASEFONT BIG DIR HGROUP STRIKE TT".split(" ").concat(["BUTTON",
"INPUT"]);var sqa=new Map([["zwieback_id:","zwieback"],["android_id:","android"],["anonymous_id:","anonymous"]]);var SYb=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=SYb.prototype;g.init=function(a,b,c,d){d=d===void 0?{}:d;this.aliasBytesFields=d.aliasBytesFields===void 0?!1:d.aliasBytesFields;a&&(a=uqa(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();TYb.length<100&&TYb.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){UYb(this,this.cursor_+a)};
var UYb=function(a,b){a.cursor_=b;if(b>a.end_)throw Error("lb`"+b+"`"+a.end_);},hz=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("kb");UYb(a,c);return e},VYb=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},WYb=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 UYb(a,c),!!(b&127)}throw Error("kb");},XYb=function(a,b){if(b<0)throw Error("mb`"+b);var c=a.cursor_,d=c+b;if(d>a.end_)throw Error("lb`"+(a.end_-c)+"`"+b);a.cursor_=d;return c};SYb.prototype.readString=function(a,b){var c=XYb(this,a),d=this.bytes_;return iRb?lba(d,c,a,b):hba(d,c,a,b)};
SYb.prototype.readByteString=function(a){if(a==0)return kb();var b=XYb(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?Zba():iSb?c.slice(b,a):new Uint8Array(c.subarray(b,a))}return hca(b)};var TYb=[];var ara=function(a,b){if(TYb.length){var c=TYb.pop();c.init(a,void 0,void 0,b);a=c}else a=new SYb(a,b);this.decoder_=a;this.fieldCursor_=this.decoder_.getCursor();this.nextWireType_=this.nextTag_=this.nextField_=-1;this.setOptions(b)};g=ara.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;$qa.length<100&&$qa.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 Aqa=function(a){var b=a.decoder_;if(b.cursor_==b.end_)return!1;a.fieldCursor_=a.decoder_.getCursor();b=hz(a.decoder_)>>>0;var c=b>>>3,d=b&7;if(!(d>=0&&d<=5))throw Error("gb`"+d+"`"+a.fieldCursor_);if(c<1)throw Error("hb`"+c+"`"+a.fieldCursor_);a.nextTag_=b;a.nextField_=c;a.nextWireType_=d;return!0},Cqa=function(a){switch(a.nextWireType_){case 0:a.nextWireType_!=0?Cqa(a):WYb(a.decoder_);break;case 1:a.decoder_.advance(8);break;case 2:if(a.nextWireType_!=2)Cqa(a);else{var b=hz(a.decoder_)>>>0;a.decoder_.advance(b)}break;
case 5:a.decoder_.advance(4);break;case 3:b=a.nextField_;do{if(!Aqa(a))throw Error("ib");if(a.nextWireType_==4){if(a.nextField_!=b)throw Error("jb");break}Cqa(a)}while(1);break;default:throw Error("gb`"+a.nextWireType_+"`"+a.fieldCursor_);}},YYb=function(a,b,c){var d=a.decoder_.getEnd(),e=hz(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("fb`"+e+"`"+(e-h));a.decoder_.cursor_=f;a.decoder_.setEnd(d)};
ara.prototype.readString=function(){return ZYb(this)};var ZYb=function(a){var b=hz(a.decoder_)>>>0;return a.decoder_.readString(b,!0)};ara.prototype.readByteString=function(){var a=hz(this.decoder_)>>>0;return this.decoder_.readByteString(a)};var $qa=[];var $Yb=function(a,b){this.lo=a>>>0;this.hi=b>>>0},bZb=function(a){if(!a)return aZb||(aZb=new $Yb(0,0));if(!/^\d+$/.test(a))return null;vca(a);return new $Yb(vb,yb)},aZb,cZb=function(a,b){this.lo=a>>>0;this.hi=b>>>0},eZb=function(a){if(!a)return dZb||(dZb=new cZb(0,0));if(!/^-?\d+$/.test(a))return null;vca(a);return new cZb(vb,yb)},dZb;var iz=function(){this.buffer_=[]};iz.prototype.length=function(){return this.buffer_.length};iz.prototype.end=function(){var a=this.buffer_;this.buffer_=[];return a};iz.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)};iz.prototype.writeSplitFixed64=function(a,b){this.writeUint32(a);this.writeUint32(b)};
var fZb=function(a,b){for(;b>127;)a.buffer_.push(b&127|128),b>>>=7;a.buffer_.push(b)},gZb=function(a,b){if(b>=0)fZb(a,b);else{for(var c=0;c<9;c++)a.buffer_.push(b&127|128),b>>=7;a.buffer_.push(1)}};g=iz.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){var b=a>>>0;a=Math.floor((a-b)/4294967296)>>>0;vb=b;yb=a;this.writeUint32(vb);this.writeUint32(yb)};
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){zb(a);this.writeSplitFixed64(vb,yb)};g.writeBool=function(a){this.buffer_.push(a?1:0)};g.writeEnum=function(a){gZb(this,a)};var hZb=function(){this.blocks_=[];this.totalLength_=0;this.encoder_=new iz},Gh=function(a,b){b.length!==0&&(a.blocks_.push(b),a.totalLength_+=b.length)},iZb=function(a){Gh(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},Jh=function(a,b,c){fZb(a.encoder_,b*8+c)};g=hZb.prototype;g.writeInt32=function(a,b){b!=null&&b!=null&&(Jh(this,a,0),gZb(this.encoder_,b))};
g.writeInt64=function(a,b){b!=null&&(typeof b==="string"&&eZb(b),b!=null&&(Jh(this,a,0),typeof b==="number"?(a=this.encoder_,zb(b),a.writeSplitVarint64(vb,yb)):(b=eZb(b),this.encoder_.writeSplitVarint64(b.lo,b.hi))))};g.writeUint32=function(){};g.writeUint64=function(){};g.writeBool=function(a,b){b!=null&&(Jh(this,a,0),this.encoder_.writeBool(b))};g.writeEnum=function(a,b){b!=null&&(b=parseInt(b,10),Jh(this,a,0),gZb(this.encoder_,b))};g.writeSplitFixed64=function(a,b){Jh(this,a,1);this.encoder_.writeSplitFixed64(b)};
g.writeSplitVarint64=function(a,b){Jh(this,a,0);this.encoder_.writeSplitVarint64(b)};var Dh=function(a,b,c,d){this.$$binaryReaderFn=a;this.$$binaryWriterFn=b;this.$$isRepeated=c;this.$$isMsg=d};var xqa=Symbol(),qda,Jqa=function(){},ada=function(a,b){var c=a[b];if(c!=null)return Array.isArray(c)?a[b]=yqa(c):c;c=a.extensions;if(c!=null&&(c=c[b],c!=null)){c=wqa(c);var d;!c[0].$$isRepeated||(d=a.repeatedFields)!=null&&d.has(b)||(a.repeatedFields||(a.repeatedFields=new Set)).add(b);d=c[1];if(d!=null)return a[b]=yqa(d)}},Dqa,Eqa,Eh=Symbol(),Nqa=Symbol(),Sqa=Symbol(),Wqa=Symbol(),jZb=Hh(function(a,b,c){if(a.nextWireType_!==0)return!1;a=a.decoder_;var d=0,e=0,f=0,h=a.bytes_,k=a.cursor_;do{var q=
h[k++];d|=(q&127)<<f;f+=7}while(f<32&&q&128);f>32&&(e|=(q&127)>>4);for(f=3;f<32&&q&128;f+=7)q=h[k++],e|=(q&127)<<f;UYb(a,k);if(q<128)a=sca(d>>>0,e>>>0);else throw Error("kb");Ih(b,c,a);return!0},function(a,b,c){var d=a.writeInt64;a:if(b!=null){if(Fb(b)){if(typeof b==="string"){b=Fca(b);break a}if(typeof b==="number"){b=Hca(b);break a}}b=void 0}d.call(a,c,b)}),jz=Hh(function(a,b,c){if(a.nextWireType_!==0)return!1;Ih(b,c,hz(a.decoder_));return!0},function(a,b,c){a.writeInt32(c,Ib(b))}),kZb;
kZb=new Dh(function(a,b,c){if(a.nextWireType_!==0&&a.nextWireType_!==2)return!1;b=Lda(b,Yb(b),c,!1);if(a.nextWireType_==2)for(c=hz(a.decoder_)>>>0,c=a.decoder_.getCursor()+c;a.decoder_.getCursor()<c;)b.push(hz(a.decoder_));else b.push(hz(a.decoder_));return!0},function(a,b,c){if(Array.isArray(b)){var d=eb(b);if(!(d&4)){for(var e=0,f=0;e<b.length;e++){var h=Ib(b[e]);h!=null&&(b[f++]=h)}f<e&&(b.length=f);ib(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&&(Jh(e,f,0),gZb(e.encoder_,h))},!0,!1);
var lZb=Hh(function(a,b,c){if(a.nextWireType_!==1)return!1;var d=a.decoder_;a=VYb(d);d=VYb(d);Ih(b,c,Ab(a,d));return!0},function(a,b,c){a:if(b!=null){if(Fb(b)){if(typeof b==="string"){b=Nca(b);break a}if(typeof b==="number"){b=Lca(b);break a}}b=void 0}b!=null&&(typeof b==="string"&&bZb(b),Jh(a,c,1),typeof b==="number"?a.encoder_.writeUint64(b):(c=bZb(b),a.encoder_.writeSplitFixed64(c.lo,c.hi)))}),mZb=Hh(function(a,b,c){if(a.nextWireType_!==5)return!1;Ih(b,c,VYb(a.decoder_));return!0},function(a,b,
c){b=Eca(b);b!=null&&(Jh(a,c,5),a.encoder_.writeUint32(b))}),kz=Hh(function(a,b,c){if(a.nextWireType_!==0)return!1;Ih(b,c,WYb(a.decoder_));return!0},function(a,b,c){a.writeBool(c,zca(b))}),nZb=Hh(function(a,b,c){if(a.nextWireType_!==2)return!1;Ih(b,c,ZYb(a));return!0},function(a,b,c){b=Rca(b);b!=null&&(b=pba(b,!1),Jh(a,c,2),fZb(a.encoder_,b.length),Gh(a,a.encoder_.end()),Gh(a,b))}),vqa=new Dh(function(a,b,c,d,e){if(a.nextWireType_!==2)return!1;YYb(a,mSb(b,d,c,!0),e);return!0},Yqa,!1,!0),Mqa=new Dh(function(a,
b,c,d,e){if(a.nextWireType_!==2)return!1;YYb(a,mSb(b,d,c),e);return!0},Yqa,!1,!0),oZb=Hh(function(a,b,c){if(a.nextWireType_!==0)return!1;Ih(b,c,hz(a.decoder_));return!0},function(a,b,c){a.writeEnum(c,Ib(b))});var lz=function(a,b){this.fieldIndex=a;this.ctor=b;this.isRepeated=0;this.getExtensionFn=$i;this.setExtensionFn=oj;this.defaultValue=void 0};var mz={};mz.AssertionError=dba;mz.ENABLE_ASSERTS=!1;mz.assert=function(a){return a};mz.assertArray=function(a){return a};mz.assertBoolean=function(a){return a};mz.assertElement=function(a){return a};mz.assertExists=function(a){return a};mz.assertFinite=function(a){return a};mz.assertFunction=function(a){return a};mz.assertInstanceof=function(a){return a};mz.assertNumber=function(a){return a};mz.assertObject=function(a){return a};mz.assertString=function(a){return a};mz.fail=function(){};var nz=function(a){this.internalArray_=m(a)};X(nz,Y);nz.prototype.getId=function(){return Kh(this,1)};nz.prototype.setId=function(a){return cj(this,1,a)};nz.prototype.getSourceId=function(){return fj(this,2,0)};nz.prototype.setSourceId=function(a){return dj(this,2,a)};var Ki=function(a){this.internalArray_=m(a)};X(Ki,Y);g=Ki.prototype;g.getSeconds=function(){return ej(this,1)};g.getSeconds_asLegacyNumberOrString=function(){return ej(this,1)};g.getSeconds_asString=function(){return du(this,1)};g.setSeconds=function(a){return bj(this,1,a)};g.getNanos=function(){return gj(this,2)};g.setNanos=function(a){return Gi(this,2,a)};var Ii=function(a){this.internalArray_=m(a)};X(Ii,Y);g=Ii.prototype;g.getSeconds=function(){return ej(this,1)};g.getSeconds_asLegacyNumberOrString=function(){return ej(this,1)};g.getSeconds_asString=function(){return du(this,1)};g.setSeconds=function(a){return bj(this,1,a)};g.getNanos=function(){return gj(this,2)};g.setNanos=function(a){return Gi(this,2,a)};g.toDate=function(){var a=Number(this.getSeconds_asString()),b=this.getNanos();return new Date(a*1E3+b/1E6)};var oz=function(a){this.internalArray_=m(a)};X(oz,Y);g=oz.prototype;g.getUrl=function(){return Kh(this,1)};g.setUrl=function(a){return cj(this,1,a)};g.getHeight=function(){return gj(this,2)};g.setHeight=function(a){return Gi(this,2,a)};g.getWidth=function(){return gj(this,3)};g.setWidth=function(a){return Gi(this,3,a)};var pz=function(a){this.internalArray_=m(a)};X(pz,Y);pz.prototype.getDuration=function(){return $i(this,Ki,2)};pz.repeatedFields_=[6];var pZb=function(a){this.internalArray_=m(a)};X(pZb,Y);var qz=function(a){this.internalArray_=m(a)};X(qz,Y);qz.prototype.getEmail=function(a){return fu(this,1,a)};qz.prototype.setEmail=function(a){return oc(this,1,Ob,a,void 0,Ij)};qz.prototype.getGroupId=function(a){return fu(this,2,a)};qz.prototype.setGroupId=function(a){oc(this,2,Ob,a,void 0,Ij)};qz.repeatedFields_=[1,2];var qZb=function(a){this.internalArray_=m(a)};X(qZb,Y);var rZb=function(a){this.internalArray_=m(a)};X(rZb,Y);rZb.prototype.getDownloadUrl=function(){return Kh(this,5)};var sZb=function(a){this.internalArray_=m(a)};X(sZb,Y);var tZb=function(a){this.internalArray_=m(a)};X(tZb,Y);tZb.prototype.getPhotoId=function(){return Kh(this,1)};var uZb=function(a){this.internalArray_=m(a)};X(uZb,Y);var vZb=function(a){this.internalArray_=m(a)};X(vZb,Y);var rz=function(a){this.internalArray_=m(a)};X(rz,Y);var sz=[2,4,5,6,7];var wZb=function(a){this.internalArray_=m(a)};X(wZb,Y);var ym=function(a){this.internalArray_=m(a)};X(ym,Y);ym.prototype.getTypeName=function(){return Kh(this,1).split("/").pop()};ym.prototype.getValue=function(){var a=Vt(this,2);if(Array.isArray(a)||a instanceof Y)throw Error("ob");return no(this,2)};ym.prototype.setValue=function(a){if(a==null)a=this;else if(Array.isArray(a))a=oo(this,2,Cda(a,Eda,void 0,void 0,!1));else if(typeof a==="string"||a instanceof lb||bb(a))a=nj(this,2,a);else throw Error("pb`"+a);return a};var Wt=function(a){this.internalArray_=m(a)};X(Wt,Y);g=Wt.prototype;g.getId=function(){return $i(this,nz,1)};g.setId=function(a){return oj(this,nz,1,a)};g.getName=function(){return Kh(this,2)};g.setName=function(a){return cj(this,2,a)};g.getDescription=function(){return Kh(this,3)};g.setDescription=function(a){return cj(this,3,a)};g.getParentId=function(){return Kh(this,4)};g.setParentId=function(a){return cj(this,4,a)};g.getType=function(){return fj(this,6,0)};
g.setType=function(a){return dj(this,6,a)};g.getMimeType=function(){return Kh(this,7)};g.setMimeType=function(a){cj(this,7,a)};g.getUrl=function(){return Kh(this,8)};g.setUrl=function(a){return cj(this,8,a)};g.getIconUrl=function(){return Kh(this,11)};g.setIconUrl=function(a){return cj(this,11,a)};var tz=function(a){return xj(a,oz,10,yj())};Wt.prototype.getLastModifiedTimestamp=function(){return $i(this,Ii,12)};Wt.prototype.getVideoMetadata=function(){return $i(this,pz,34)};
Wt.prototype.hasVideoMetadata=function(){return dk(this,pz,34)};var uz=function(a){this.internalArray_=m(a)};X(uz,Y);g=uz.prototype;g.getShared=function(){return Hj(this,1)};g.setShared=function(a){Kj(this,1,a)};g.getVideoMetadata=function(){return $i(this,pz,3)};g.hasVideoMetadata=function(){return dk(this,pz,3)};g.getDownloadUrl=function(){return Kh(this,10)};Wt.repeatedFields_=[5,10,22];var vz=function(a){this.internalArray_=m(a)};X(vz,Y);vz.prototype.getLabel=function(){return Kh(this,2)};vz.prototype.setLabel=function(a){return cj(this,2,a)};var xZb=function(a){this.internalArray_=m(a)};X(xZb,Y);g=xZb.prototype;g.getStatus=function(){return fj(this,1,0)};g.setStatus=function(a){return dj(this,1,a)};g.getItemList=function(a){return xj(this,Wt,2,yj(a))};g.addItem=function(a,b){return Mq(this,2,Wt,a,b)};g.setItem=function(a,b){return Xt(this,2,Wt,a,b)};g.getItemCount=function(){return lSb(this,2)};g.getErrorCode=function(){return fj(this,4,0)};g.getInternalOnlyV1ViewInfo=function(){return $i(this,vz,7)};xZb.repeatedFields_=[2];var wz=function(a){this.internalArray_=m(a)};X(wz,Y);g=wz.prototype;g.getSourceId=function(){return fj(this,1,0)};g.setSourceId=function(a){return dj(this,1,a)};g.getName=function(){return Kh(this,8)};g.setName=function(a){return cj(this,8,a)};g.getInternalOnlyV1ViewInfo=function(){return $i(this,vz,18)};wz.repeatedFields_=[14];var xz=function(a){this.internalArray_=m(a)};X(xz,Y);g=xz.prototype;g.getCommand=function(){return fj(this,1,0)};g.setCommand=function(a){return dj(this,1,a)};g.getSource=function(){return $i(this,wz,2)};g.setSource=function(a){return oj(this,wz,2,a)};g.hasSource=function(){return dk(this,wz,2)};g.setVisible=function(a){return Kj(this,5,a)};g.getItemList=function(a){return xj(this,Wt,7,yj(a))};g.addItem=function(a,b){return Mq(this,7,Wt,a,b)};g.setItem=function(a,b){return Xt(this,7,Wt,a,b)};
g.getItemCount=function(){return lSb(this,7)};g.getQuery=function(){return Kh(this,8)};g.setQuery=function(a){return cj(this,8,a)};g.clearQuery=function(){oo(this,8)};xz.repeatedFields_=[3,7];var yZb=function(a){this.internalArray_=m(a)};X(yZb,Y);g=yZb.prototype;g.getCommand=function(){return fj(this,1,0)};g.setCommand=function(a){return dj(this,1,a)};g.getItemList=function(a){return xj(this,Wt,4,yj(a))};g.addItem=function(a,b){return Mq(this,4,Wt,a,b)};g.setItem=function(a,b){return Xt(this,4,Wt,a,b)};g.getItemCount=function(){return lSb(this,4)};var zZb=Mh(yZb);yZb.repeatedFields_=[4];var AZb=function(a){this.internalArray_=m(a)};X(AZb,Y);var BZb=[0,jZb,mZb,-1];var yz=function(a){this.internalArray_=m(a)};X(yz,Y);yz.prototype.setBase=function(a){return oj(this,AZb,1,a)};var CZb=[0,BZb,jZb];var DZb=[0,kZb,jz];var zz=function(a){this.internalArray_=m(a)};X(zz,Y);zz.prototype.setVeIndex=function(a){ql(this,1,a)};var EZb=function(a,b){ql(a,2,b)};zz.prototype.setElementIndex=function(a){ql(this,5,a)};zz.prototype.getResultIndex=function(){return gj(this,6,-1)};zz.prototype.setResultIndex=function(a){ql(this,6,a)};var FZb=[0,jz,-1,2,jz,-4,kz,jz,lZb,CZb,jz,DZb],GZb=bra(zz,FZb),HZb=function(a){return function(b){var c=new hZb;Oqa(b.internalArray_,c,Fh(a));return iZb(c)}}(FZb);var Az=function(a){this.internalArray_=m(a)};X(Az,Y);Az.prototype.setVed=function(a){return Wi(this,5,IZb,a)};var JZb=[1,3,4],IZb=[2,5];var Bz=function(a){this.internalArray_=m(a,233)};X(Bz,Y);Bz.prototype.setUiType=function(a){return ql(this,1,a)};Bz.prototype.setElementIndex=function(a){ql(this,3,a)};var KZb=function(a,b){jc(a,4,b,Hb)};Bz.prototype.getResultIndex=function(){return bu(this,7)};Bz.prototype.setResultIndex=function(a){ql(this,7,a)};Bz.prototype.setVisible=function(a){return sl(this,6,a)};Bz.repeatedFields_=[4];var Cz=function(a){this.internalArray_=m(a)};X(Cz,Y);g=Cz.prototype;g.getCode=function(){return bu(this,1)};g.getCode_legacyNullable=function(){return bu(this,1)};g.setCode=function(a){return ql(this,1,a)};g.getMessage=function(){return sj(this,3)};g.setMessage=function(a){return rj(this,3,a)};var Dz=function(a){this.internalArray_=m(a)};X(Dz,Y);var xm=function(a){this.internalArray_=m(a)};X(xm,Y);xm.prototype.getValue=function(){return ej(this,1)};xm.prototype.getValue_asLegacyNumberOrString=function(){return ej(this,1)};xm.prototype.setValue=function(a){return bj(this,1,a)};var Fi=function(a){this.internalArray_=m(a)};X(Fi,Y);g=Fi.prototype;g.getYear=function(){return gj(this,1)};g.setYear=function(a){return Gi(this,1,a)};g.getMonth=function(){return gj(this,2)};g.setMonth=function(a){return Gi(this,2,a)};g.getDay=function(){return gj(this,3)};var Ul=function(a){this.internalArray_=m(a)};X(Ul,Y);var Vl=function(a,b){nc(a,1,Ob,b)};Ul.repeatedFields_=[1];var Eza=function(a){this.internalArray_=m(a)};X(Eza,Y);Eza.prototype.getValue=function(){return gj(this,1)};Eza.prototype.setValue=function(a){return Gi(this,1,a)};var Gza=function(a){this.internalArray_=m(a)};X(Gza,Y);Gza.prototype.getValue=function(){return Hj(this,1)};Gza.prototype.setValue=function(a){return Kj(this,1,a)};var Xn=function(a){this.internalArray_=m(a)};X(Xn,Y);g=Xn.prototype;g.getHours=function(){return gj(this,1)};g.setHours=function(a){return Gi(this,1,a)};g.getMinutes=function(){return gj(this,2)};g.setMinutes=function(a){return Gi(this,2,a)};g.getSeconds=function(){return gj(this,3)};g.setSeconds=function(a){return Gi(this,3,a)};g.getNanos=function(){return gj(this,4)};g.setNanos=function(a){return Gi(this,4,a)};var xya=function(a){this.internalArray_=m(a)};X(xya,Y);var Fza=function(a){this.internalArray_=m(a)};X(Fza,Y);Fza.prototype.getValue=function(){return Kh(this,1)};Fza.prototype.setValue=function(a){return cj(this,1,a)};var LZb=function(a){this.cellValue=a};var Ez=function(a,b,c){this.metricName=a;this.cellType=b;this.fields=c||[];this.cellMap=new Map};g=Ez.prototype;g.addCell=function(a){var b=kd.apply(1,arguments),c=this.getCells(b);c?c.push(new LZb(a)):this.setCell(a,b)};g.setCell=function(a){var b=this.getKey(kd.apply(1,arguments));this.cellMap.set(b,[new LZb(a)])};g.getCells=function(){var a=this.getKey(kd.apply(0,arguments));return this.cellMap.has(a)?this.cellMap.get(a):void 0};
g.getCell=function(){var a=this.getCells(kd.apply(0,arguments));return a&&a.length?a[0]:void 0};g.clear=function(){this.cellMap.clear()};g.getKey=function(){var a=kd.apply(0,arguments);return a?a.join(","):"key"};var Fz=function(a,b){Ez.call(this,a,3,b)};X(Fz,Ez);Fz.prototype.incrementCounter=function(){this.incrementCounterBy(1,kd.apply(0,arguments))};Fz.prototype.incrementCounterBy=function(a){var b=kd.apply(1,arguments),c=0,d=this.getCell(b);d&&(c=d.cellValue);this.setCell(c+a,b)};var MZb=function(a,b){Ez.call(this,a,2,b)};X(MZb,Ez);MZb.prototype.record=function(a){this.addCell(a,kd.apply(1,arguments))};var Gz=function(){this.disposed_=this.disposed_;this.onDisposeCallbacks_=this.onDisposeCallbacks_};Gz.prototype.disposed_=!1;Gz.prototype.isDisposed=function(){return this.disposed_};Gz.prototype.dispose=function(){this.disposed_||(this.disposed_=!0,this.disposeInternal())};var hq=function(a,b){b=Lt(Nh,b);a.disposed_?b():(a.onDisposeCallbacks_||(a.onDisposeCallbacks_=[]),a.onDisposeCallbacks_.push(b))};Gz.prototype.disposeInternal=function(){if(this.onDisposeCallbacks_)for(;this.onDisposeCallbacks_.length;)this.onDisposeCallbacks_.shift()()};var Hz=function(a,b){this.type=a;this.currentTarget=this.target=b;this.defaultPrevented=this.propagationStopped_=!1};Hz.prototype.stopPropagation=function(){this.propagationStopped_=!0};Hz.prototype.preventDefault=function(){this.defaultPrevented=!0};var NZb=[],OZb=[],PZb=!1,QZb=function(a){NZb[NZb.length]=a;if(PZb)for(var b=0;b<OZb.length;b++)a(Kt(OZb[b].wrap,OZb[b]))};var RZb=function(){if(!Aa.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}});try{var c=function(){};Aa.addEventListener("test",c,b);Aa.removeEventListener("test",c,b)}catch(d){}return a}();var Iz=function(a,b){Hz.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)};Mt(Iz,Hz);var SZb={2:"touch",3:"pen",4:"mouse"};
Iz.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)?Ot&&(BRb(b,"nodeName")||(b=null)):c=="mouseover"?b=a.fromElement:c=="mouseout"&&(b=a.toElement);this.relatedTarget=b;d?(this.clientX=d.clientX!==void 0?d.clientX:d.pageX,this.clientY=d.clientY!==void 0?d.clientY:d.pageY,this.screenX=d.screenX||0,this.screenY=d.screenY||0):(this.offsetX=Pt||a.offsetX!==
void 0?a.offsetX:a.layerX,this.offsetY=Pt||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=Zr?a.metaKey:a.ctrlKey;this.pointerId=
a.pointerId||0;this.pointerType=typeof a.pointerType==="string"?a.pointerType:SZb[a.pointerType]||"";this.state=a.state;this.timeStamp=a.timeStamp;this.event_=a;a.defaultPrevented&&Iz.superClass_.preventDefault.call(this)};Iz.prototype.stopPropagation=function(){Iz.superClass_.stopPropagation.call(this);this.event_.stopPropagation?this.event_.stopPropagation():this.event_.cancelBubble=!0};
Iz.prototype.preventDefault=function(){Iz.superClass_.preventDefault.call(this);var a=this.event_;a.preventDefault?a.preventDefault():a.returnValue=!1};var TZb="closure_listenable_"+(Math.random()*1E6|0),Jz=function(a){return!(!a||!a[TZb])};var UZb=0;var VZb=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=++UZb;this.removed=this.callOnce=!1},WZb=function(a){a.removed=!0;a.listener=null;a.proxy=null;a.src=null;a.handler=null};var Kz=function(a){this.src=a;this.listeners={};this.typeCount_=0};Kz.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=XZb(a,b,d,e);h>-1?(b=a[h],c||(b.callOnce=!1)):(b=new VZb(b,this.src,f,!!d,e),b.callOnce=c,a.push(b));return b};
Kz.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.listeners))return!1;var e=this.listeners[a];b=XZb(e,b,c,d);return b>-1?(WZb(e[b]),Ua(e,b),e.length==0&&(delete this.listeners[a],this.typeCount_--),!0):!1};var YZb=function(a,b){var c=b.type;if(!(c in a.listeners))return!1;var d=Va(a.listeners[c],b);d&&(WZb(b),a.listeners[c].length==0&&(delete a.listeners[c],a.typeCount_--));return d};
Kz.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,WZb(d[e]);delete this.listeners[c];this.typeCount_--}return b};Kz.prototype.getListener=function(a,b,c,d){a=this.listeners[a.toString()];var e=-1;a&&(e=XZb(a,b,c,d));return e>-1?a[e]:null};
Kz.prototype.hasListener=function(a,b){var c=a!==void 0,d=c?a.toString():"",e=b!==void 0;return Yda(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 XZb=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 ZZb="closure_lm_"+(Math.random()*1E6|0),$Zb={},a_b=0,Yo=function(a,b,c,d,e){if(d&&d.once)return Lz(a,b,c,d,e);if(Array.isArray(b)){for(var f=0;f<b.length;f++)Yo(a,b[f],c,d,e);return null}c=b_b(c);return Jz(a)?a.listen(b,c,$a(d)?!!d.capture:!!d,e):c_b(a,b,c,!1,d,e)},c_b=function(a,b,c,d,e,f){if(!b)throw Error("tb");var h=$a(e)?!!e.capture:!!e,k=Mz(a);k||(a[ZZb]=k=new Kz(a));c=k.add(b,c,d,h,f);if(c.proxy)return c;d=d_b();c.proxy=d;d.src=a;d.listener=c;if(a.addEventListener)RZb||(e=h),e===void 0&&
(e=!1),a.addEventListener(b.toString(),d,e);else if(a.attachEvent)a.attachEvent(e_b(b.toString()),d);else if(a.addListener&&a.removeListener)a.addListener(d);else throw Error("ub");a_b++;return c},d_b=function(){var a=f_b,b=function(c){return a.call(b.src,b.listener,c)};return b},Lz=function(a,b,c,d,e){if(Array.isArray(b)){for(var f=0;f<b.length;f++)Lz(a,b[f],c,d,e);return null}c=b_b(c);return Jz(a)?a.listenOnce(b,c,$a(d)?!!d.capture:!!d,e):c_b(a,b,c,!0,d,e)},Nz=function(a,b,c,d,e){if(Array.isArray(b))for(var f=
0;f<b.length;f++)Nz(a,b[f],c,d,e);else d=$a(d)?!!d.capture:!!d,c=b_b(c),Jz(a)?a.unlisten(b,c,d,e):a&&(a=Mz(a))&&(b=a.getListener(b,c,d,e))&&Oz(b)},Oz=function(a){if(typeof a==="number"||!a||a.removed)return!1;var b=a.src;if(Jz(b))return b.unlistenByKey(a);var c=a.type,d=a.proxy;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent?b.detachEvent(e_b(c),d):b.addListener&&b.removeListener&&b.removeListener(d);a_b--;(c=Mz(b))?(YZb(c,a),c.typeCount_==0&&(c.src=null,b[ZZb]=null)):WZb(a);
return!0},e_b=function(a){return a in $Zb?$Zb[a]:$Zb[a]="on"+a},f_b=function(a,b){if(a.removed)a=!0;else{b=new Iz(b,this);var c=a.listener,d=a.handler||a.src;a.callOnce&&Oz(a);a=c.call(d,b)}return a},Mz=function(a){a=a[ZZb];return a instanceof Kz?a:null},g_b="__closure_events_fn_"+(Math.random()*1E9>>>0),b_b=function(a){if(typeof a==="function")return a;a[g_b]||(a[g_b]=function(b){return a.handleEvent(b)});return a[g_b]};QZb(function(a){f_b=a(f_b)});var Xo=function(){Gz.call(this);this.eventTargetListeners_=new Kz(this);this.actualEventTarget_=this;this.parentEventTarget_=null};Mt(Xo,Gz);Xo.prototype[TZb]=!0;g=Xo.prototype;g.getParentEventTarget=function(){return this.parentEventTarget_};g.setParentEventTarget=function(a){this.parentEventTarget_=a};g.addEventListener=function(a,b,c,d){Yo(this,a,b,c,d)};g.removeEventListener=function(a,b,c,d){Nz(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 Hz(a,c);else if(a instanceof Hz)a.target=a.target||c;else{var e=a;a=new Hz(d,c);fea(a,e)}e=!0;if(b)for(var f=b.length-1;!a.propagationStopped_&&f>=0;f--){var h=a.currentTarget=b[f];e=h.fireListeners(d,!0,a)&&e}a.propagationStopped_||(h=a.currentTarget=c,e=h.fireListeners(d,!0,a)&&e,a.propagationStopped_||(e=h.fireListeners(d,
!1,a)&&e));if(b)for(f=0;!a.propagationStopped_&&f<b.length;f++)h=a.currentTarget=b[f],e=h.fireListeners(d,!1,a)&&e;return e};g.disposeInternal=function(){Xo.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 YZb(this.eventTargetListeners_,a)};g.removeAllListeners=function(){this.eventTargetListeners_&&this.eventTargetListeners_.removeAll(void 0)};
g.fireListeners=function(a,b,c){a=this.eventTargetListeners_.listeners[String(a)];if(!a)return!0;a=a.concat();for(var d=!0,e=0;e<a.length;++e){var f=a[e];if(f&&!f.removed&&f.capture==b){var h=f.listener,k=f.handler||f.src;f.callOnce&&this.unlistenByKey(f);d=h.call(k,c)!==!1&&d}}return d&&!c.defaultPrevented};g.getListener=function(a,b,c,d){return this.eventTargetListeners_.getListener(String(a),b,c,d)};
g.hasListener=function(a,b){return this.eventTargetListeners_.hasListener(a!==void 0?String(a):void 0,b)};var h_b=function(a,b){this.limit_=100;this.create_=a;this.reset_=b;this.occupants_=0;this.head_=null};h_b.prototype.get=function(){if(this.occupants_>0){this.occupants_--;var a=this.head_;this.head_=a.next;a.next=null}else a=this.create_();return a};h_b.prototype.put=function(a){this.reset_(a);this.occupants_<this.limit_&&(this.occupants_++,a.next=this.head_,this.head_=a)};try{(new self.OffscreenCanvas(0,0)).getContext("2d")}catch(a){};var Pz=function(a){return function(){return a}},Qz=function(){},i_b=function(a){return a},ZMa=function(){var a=YMa;return function(){return!a.apply(this,arguments)}},j_b=function(a){var b=!1,c;return function(){b||(c=a(),b=!0);return c}},Rz=function(a,b){var c=0;return function(d){Aa.clearTimeout(c);var e=arguments;c=Aa.setTimeout(function(){a.apply(void 0,e)},b)}},k_b=function(a,b){var c=0,d=!1,e=[],f=function(){c=0;d&&(d=!1,h())},h=function(){c=Aa.setTimeout(f,b);var k=e;e=[];a.apply(void 0,k)};
return function(k){e=arguments;c?d=!0:h()}};var l_b=j_b(function(){var a=document.createElement("div"),b=document.createElement("div");b.appendChild(document.createElement("div"));a.appendChild(b);b=a.firstChild.firstChild;a.innerHTML=xh(Ar);return!b.parentElement}),WMa=function(a,b){if(l_b())for(;a.lastChild;)a.removeChild(a.lastChild);a.innerHTML=xh(b)},n_b=function(a,b){a:{var c=(a.ownerDocument&&a.ownerDocument.defaultView||Aa).document;if(c.querySelector&&(c=c.querySelector("script[nonce]"))&&(c=c.nonce||c.getAttribute("nonce"))&&m_b.test(c))break a;
c=""}c&&a.setAttribute("nonce",c);a.src=Ec(b)},IVa=function(a,b,c,d){a=HVa(a);b=b||Aa;c=c instanceof ju?xSb(c):c||"";return d!==void 0?b.open(a,c,d):b.open(a,c)},m_b=/^[\w+/_-]+[=]{0,2}$/,HVa=function(a){a=Ac(a);return a===void 0?kea.toString():a};var Qr=function(a,b){this.x=a!==void 0?a:0;this.y=b!==void 0?b:0};Qr.prototype.clone=function(){return new Qr(this.x,this.y)};Qr.prototype.equals=function(a){return a instanceof Qr&&(this==a?!0:this&&a?this.x==a.x&&this.y==a.y:!1)};var nLb=function(a,b){return new Qr(a.x-b.x,a.y-b.y)};g=Qr.prototype;g.ceil=function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this};g.floor=function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this};
g.round=function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this};g.translate=function(a,b){a instanceof Qr?(this.x+=a.x,this.y+=a.y):(this.x+=Number(a),typeof b==="number"&&(this.y+=b));return this};g.scale=function(a,b){this.x*=a;this.y*=typeof b==="number"?b:a;return this};var Sz=function(a,b){this.width=a;this.height=b},qLb=function(a,b){return a==b?!0:a&&b?a.width==b.width&&a.height==b.height:!1};g=Sz.prototype;g.clone=function(){return new Sz(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 $o=function(a){return a?new Tz(Uz(a)):gRb||(gRb=new Tz)},Vz=function(a,b){return typeof b==="string"?a.getElementById(b):b},Wz=function(a,b){return(b||document).getElementsByTagName(String(a))},Xz=function(a,b,c,d){a=d||a;b=b&&b!="*"?String(b).toUpperCase():"";if(a.querySelectorAll&&a.querySelector&&(b||c))return a.querySelectorAll(b+(c?"."+c:""));if(c&&a.getElementsByClassName){a=a.getElementsByClassName(c);if(b){d={};for(var e=0,f=0,h;h=a[f];f++)b==h.nodeName&&(d[e++]=h);d.length=e;return d}return a}a=
a.getElementsByTagName(b||"*");if(c){d={};for(f=e=0;h=a[f];f++)b=h.className,typeof b.split=="function"&&Ta(b.split(/\s+/),c)&&(d[e++]=h);d.length=e;return d}return a},p_b=function(a,b){qc(b,function(c,d){d=="style"?a.style.cssText=c:d=="class"?a.className=c:d=="for"?a.htmlFor=c:o_b.hasOwnProperty(d)?a.setAttribute(o_b[d],c):d.lastIndexOf("aria-",0)==0||d.lastIndexOf("data-",0)==0?a.setAttribute(d,c):a[d]=c})},o_b={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",frameborder:"frameBorder",
height:"height",maxlength:"maxLength",nonce:"nonce",role:"role",rowspan:"rowSpan",type:"type",usemap:"useMap",valign:"vAlign",width:"width"},Yz=function(a){a=(a||window).document;a=a.compatMode=="CSS1Compat"?a.documentElement:a.body;return new Sz(a.clientWidth,a.clientHeight)},$z=function(a){var b=Zz(a);a=a.parentWindow||a.defaultView;return new Qr(a.pageXOffset||b.scrollLeft,a.pageYOffset||b.scrollTop)},Zz=function(a){return a.scrollingElement?a.scrollingElement:Pt||a.compatMode!="CSS1Compat"?a.body||
a.documentElement:a.documentElement},aA=function(a){return a?a.parentWindow||a.defaultView:window},r_b=function(a,b,c){return q_b(document,arguments)},q_b=function(a,b){var c=b[1],d=Cp(a,String(b[0]));c&&(typeof c==="string"?d.className=c:Array.isArray(c)?d.className=c.join(" "):p_b(d,c));b.length>2&&s_b(a,d,b,2);return d},s_b=function(a,b,c,d){function e(k){k&&b.appendChild(typeof k==="string"?a.createTextNode(k):k)}for(;d<c.length;d++){var f=c[d];if(!Za(f)||$a(f)&&f.nodeType>0)e(f);else{a:{if(f&&
typeof f.length=="number"){if($a(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}Sa(h?Ya(f):f,e)}}},Cp=function(a,b){b=String(b);a.contentType==="application/xhtml+xml"&&(b=b.toLowerCase());return a.createElement(b)},t_b=function(a,b){s_b(Uz(a),a,arguments,1)},u_b=function(a){for(var b;b=a.firstChild;)a.removeChild(b)},bA=function(a){return a&&a.parentNode?a.parentNode.removeChild(a):null},cA=function(a){return $a(a)&&
a.nodeType==1},FNb=function(a){var b;if(Pt&&(b=a.parentElement))return b;b=a.parentNode;return cA(b)?b:null},p5a=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},Uz=function(a){return a.nodeType==9?a:a.ownerDocument||a.document},v_b=function(a){return a.contentDocument||a.contentWindow.document},dA=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 u_b(a),a.appendChild(Uz(a).createTextNode(String(b)))},w_b={SCRIPT:1,STYLE:1,HEAD:1,IFRAME:1,OBJECT:1},x_b={IMG:" ",BR:"\n"},y_b=function(a){a=a.tabIndex;return typeof a==="number"&&a>=0&&a<32768},A_b=function(a){var b=[];z_b(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},z_b=function(a,b,c){if(!(a.nodeName in w_b))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 x_b)b.push(x_b[a.nodeName]);else for(a=a.firstChild;a;)z_b(a,b,c),a=a.nextSibling},MKb=function(){var a=aA();return a.devicePixelRatio!==void 0?a.devicePixelRatio:a.matchMedia?B_b(3)||B_b(2)||B_b(1.5)||B_b(1)||.75:1},B_b=function(a){return aA().matchMedia("(min-resolution: "+
a+"dppx),(min--moz-device-pixel-ratio: "+a+"),(min-resolution: "+a*96+"dpi)").matches?a:0},Tz=function(a){this.document_=a||Aa.document||document};g=Tz.prototype;g.getDomHelper=$o;g.getElement=function(a){return Vz(this.document_,a)};g.$=Tz.prototype.getElement;g.getElementsByTagName=function(a,b){return(b||this.document_).getElementsByTagName(String(a))};g.getElementsByTagNameAndClass=function(a,b,c){return Xz(this.document_,a,b,c)};g.$$=Tz.prototype.getElementsByTagNameAndClass;
g.setProperties=p_b;g.getViewportSize=function(a){return Yz(a||this.getWindow())};g.createDom=function(a,b,c){return q_b(this.document_,arguments)};g.createElement=function(a){return Cp(this.document_,a)};g.createTextNode=function(a){return this.document_.createTextNode(String(a))};g.getWindow=function(){var a=this.document_;return a.parentWindow||a.defaultView};g.appendChild=function(a,b){a.appendChild(b)};g.append=t_b;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=u_b;g.removeNode=bA;g.getChildren=function(a){return a.children!=void 0?a.children:Array.prototype.filter.call(a.childNodes,function(b){return b.nodeType==1})};g.isElement=cA;g.getParentElement=FNb;g.contains=p5a;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")||y_b(a)):b=a.hasAttribute("tabindex")&&y_b(a);return b};var C_b,D_b=function(){var a=Aa.MessageChannel;typeof a==="undefined"&&typeof window!=="undefined"&&window.postMessage&&window.addEventListener&&!Ia("Presto")&&(a=function(){var e=Cp(document,"IFRAME");e.style.display="none";document.documentElement.appendChild(e);var f=e.contentWindow;e=f.document;e.open();e.close();var h="callImmediate"+Math.random(),k=f.location.protocol=="file:"?"*":f.location.protocol+"//"+f.location.host;e=Kt(function(q){if((k=="*"||q.origin==k)&&q.data==h)this.port1.onmessage()},
this);f.addEventListener("message",e,!1);this.port1={};this.port2={postMessage:function(){f.postMessage(h,k)}}});if(typeof a!=="undefined"){var b=new a,c={},d=c;b.port1.onmessage=function(){if(c.next!==void 0){c=c.next;var e=c.cb;c.cb=null;e()}};return function(e){d.next={cb:e};d=d.next;b.port2.postMessage(0)}}return function(e){Aa.setTimeout(e,0)}},E_b=i_b;QZb(function(a){E_b=a});var F_b=function(){this.workTail_=this.workHead_=null};F_b.prototype.add=function(a,b){var c=G_b.get();c.set(a,b);this.workTail_?this.workTail_.next=c:this.workHead_=c;this.workTail_=c};F_b.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 G_b=new h_b(function(){return new H_b},function(a){return a.reset()}),H_b=function(){this.next=this.scope=this.fn=null};
H_b.prototype.set=function(a,b){this.fn=a;this.scope=b;this.next=null};H_b.prototype.reset=function(){this.next=this.scope=this.fn=null};var I_b,J_b=!1,K_b=new F_b,eA=function(a,b){I_b||L_b();J_b||(I_b(),J_b=!0);K_b.add(a,b)},L_b=function(){if(Aa.Promise&&Aa.Promise.resolve){var a=Aa.Promise.resolve(void 0);I_b=function(){a.then(M_b)}}else I_b=function(){var b=M_b;b=E_b(b);typeof Aa.setImmediate!=="function"||Aa.Window&&Aa.Window.prototype&&Aa.Window.prototype.setImmediate==Aa.setImmediate?(C_b||(C_b=D_b()),C_b(b)):Aa.setImmediate(b)}},M_b=function(){for(var a;a=K_b.remove();){try{a.fn.call(a.scope)}catch(b){Ba(b)}G_b.put(a)}J_b=!1};var N_b=function(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}};var gA=function(a){this.state_=0;this.result_=void 0;this.callbackEntriesTail_=this.callbackEntries_=this.parent_=null;this.hadUnhandledRejection_=this.executing_=!1;if(a!=Qz)try{var b=this;a.call(void 0,function(c){fA(b,2,c)},function(c){fA(b,3,c)})}catch(c){fA(this,3,c)}},O_b=function(){this.next=this.context=this.onRejected=this.onFulfilled=this.child=null;this.always=!1};O_b.prototype.reset=function(){this.context=this.onRejected=this.onFulfilled=this.child=null;this.always=!1};
var P_b=new h_b(function(){return new O_b},function(a){a.reset()}),Q_b=function(a,b,c){var d=P_b.get();d.onFulfilled=a;d.onRejected=b;d.context=c;return d},hA=function(a){if(a instanceof gA)return a;var b=new gA(Qz);fA(b,2,a);return b},R_b=function(a){return new gA(function(b,c){c(a)})},T_b=function(a,b,c){S_b(a,b,c,null)||eA(Lt(b,a))},U_b=function(a){return new gA(function(b,c){a.length||b(void 0);for(var d=0,e;d<a.length;d++)e=a[d],T_b(e,b,c)})},V_b=function(a){return new gA(function(b,c){var d=
a.length,e=[];if(d)for(var f=function(t,w){d--;e[t]=w;d==0&&b(e)},h=function(t){c(t)},k=0,q;k<a.length;k++)q=a[k],T_b(q,Lt(f,k),h);else b(e)})},W_b=function(a){return new gA(function(b,c){var d=a.length,e=[];if(d)for(var f=function(t){b(t)},h=function(t,w){d--;e[t]=w;d==0&&c(e)},k=0,q;k<a.length;k++)q=a[k],T_b(q,f,Lt(h,k));else b(void 0)})},Y_b=function(){var a,b,c=new gA(function(d,e){a=d;b=e});return new X_b(c,a,b)};
gA.prototype.then=function(a,b,c){return Z_b(this,typeof a==="function"?a:null,typeof b==="function"?b:null,c)};gA.prototype.$goog_Thenable=!0;var a0b=function(a,b){b=Q_b(b,b);b.always=!0;$_b(a,b);return a};gA.prototype.thenCatch=function(a,b){return Z_b(this,null,a,b)};gA.prototype.catch=gA.prototype.thenCatch;gA.prototype.cancel=function(a){if(this.state_==0){var b=new iA(a);eA(function(){b0b(this,b)},this)}};
var b0b=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?b0b(c,b):(f?(d=f,d.next==c.callbackEntriesTail_&&(c.callbackEntriesTail_=d),d.next=d.next.next):c0b(c),d0b(c,e,3,b)))}a.parent_=null}else fA(a,3,b)},$_b=function(a,b){a.callbackEntries_||a.state_!=2&&a.state_!=3||e0b(a);a.callbackEntriesTail_?a.callbackEntriesTail_.next=b:a.callbackEntries_=
b;a.callbackEntriesTail_=b},Z_b=function(a,b,c,d){var e=Q_b(null,null,null);e.child=new gA(function(f,h){e.onFulfilled=b?function(k){try{var q=b.call(d,k);f(q)}catch(t){h(t)}}:f;e.onRejected=c?function(k){try{var q=c.call(d,k);q===void 0&&k instanceof iA?h(k):f(q)}catch(t){h(t)}}:h});e.child.parent_=a;$_b(a,e);return e.child};gA.prototype.unblockAndFulfill_=function(a){this.state_=0;fA(this,2,a)};gA.prototype.unblockAndReject_=function(a){this.state_=0;fA(this,3,a)};
var fA=function(a,b,c){a.state_==0&&(a===c&&(b=3,c=new TypeError("vb")),a.state_=1,S_b(c,a.unblockAndFulfill_,a.unblockAndReject_,a)||(a.result_=c,a.state_=b,a.parent_=null,e0b(a),b!=3||c instanceof iA||f0b(a,c)))},S_b=function(a,b,c,d){if(a instanceof gA)return $_b(a,Q_b(b||Qz,c||null,d)),!0;if(N_b(a))return a.then(b,c,d),!0;if($a(a))try{var e=a.then;if(typeof e==="function")return g0b(a,e,b,c,d),!0}catch(f){return c.call(d,f),!0}return!1},g0b=function(a,b,c,d,e){var f=!1,h=function(q){f||(f=!0,
c.call(e,q))},k=function(q){f||(f=!0,d.call(e,q))};try{b.call(a,h,k)}catch(q){k(q)}},e0b=function(a){a.executing_||(a.executing_=!0,eA(a.executeCallbacks_,a))},c0b=function(a){var b=null;a.callbackEntries_&&(b=a.callbackEntries_,a.callbackEntries_=b.next,b.next=null);a.callbackEntries_||(a.callbackEntriesTail_=null);return b};gA.prototype.executeCallbacks_=function(){for(var a;a=c0b(this);)d0b(this,a,this.state_,this.result_);this.executing_=!1};
var d0b=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,h0b(b,c,d);else try{b.always?b.onFulfilled.call(b.context):h0b(b,c,d)}catch(e){i0b.call(null,e)}P_b.put(b)},h0b=function(a,b,c){b==2?a.onFulfilled.call(a.context,c):a.onRejected&&a.onRejected.call(a.context,c)},f0b=function(a,b){a.hadUnhandledRejection_=!0;eA(function(){a.hadUnhandledRejection_&&i0b.call(null,b)})},i0b=Ba,iA=function(a){za.call(this,
a);this.reportErrorToServer=!1};Mt(iA,za);iA.prototype.name="cancel";var X_b=function(a,b,c){this.promise=a;this.resolve=b;this.reject=c};var jA=function(a,b){Xo.call(this);this.interval_=a||1;this.timerObject_=b||Aa;this.boundTick_=Kt(this.tick_,this);this.last_=Date.now()};Mt(jA,Xo);g=jA.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(){jA.superClass_.disposeInternal.call(this);this.stop();delete this.timerObject_};
var Cq=function(a,b,c){if(typeof a==="function")c&&(a=Kt(a,c));else if(a&&typeof a.handleEvent=="function")a=Kt(a.handleEvent,a);else throw Error("wb");return Number(b)>2147483647?-1:Aa.setTimeout(a,b||0)},Dq=function(a){Aa.clearTimeout(a)},j0b=function(a,b){var c=null;return(new gA(function(d,e){c=Cq(function(){d(b)},a);c==-1&&e(Error("xb"))})).thenCatch(function(d){Dq(c);throw d;})};var k0b=function(a){Gz.call(this);this.streamzLogger=a;this.invocationCount=0;this.metricMap=new Map;this.disabledMetrics=new Set;this.flushInterval=3E4;this.flushTimer=new jA(this.flushInterval);this.flushTimer.listen("tick",this.snapshotAndFlush,!1,this);hq(this,this.flushTimer)};X(k0b,Gz);var l0b=function(a){a.maybeStartFlushTimer();a.invocationCount++;a.invocationCount>=100&&a.snapshotAndFlush()};g=k0b.prototype;
g.snapshotAndFlush=function(){var a=this.metricMap.values();a=[].concat(r(a)).filter(function(b){return b.cellMap.size});a.length&&this.streamzLogger.flush(a,!1);m0b(a);this.invocationCount=0;this.flushTimer.enabled&&this.flushTimer.stop()};g.addNewCounter=function(a){var b=kd.apply(1,arguments);this.metricMap.has(a)||this.metricMap.set(a,new Fz(a,b))};g.addNewEventMetric=function(a){var b=kd.apply(1,arguments);this.metricMap.has(a)||this.metricMap.set(a,new MZb(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,kd.apply(1,arguments))};g.incrementCounterBy=function(a,b){var c=kd.apply(2,arguments),d=this.getMetric(a);d&&d instanceof Fz&&(d.incrementCounterBy(b,c),l0b(this))};g.record=function(a,b){var c=kd.apply(2,arguments),d=this.getMetric(a);d&&d instanceof MZb&&(d.record(b,c),l0b(this))};g.maybeStartFlushTimer=function(){this.flushTimer.enabled||this.flushTimer.start()};
var m0b=function(a){for(var b=0;b<a.length;b++)a[b].clear()};var n0b=function(a){this.metricName_="/client_streamz/buganizer/load_time";this.streamzService_=a;this.streamzService_.addNewEventMetric(this.metricName_,{field_type:3,field_name:"action"},{field_type:3,field_name:"frontend_access_mode"},{field_type:3,field_name:"environment_type"})};n0b.prototype.record=function(a,b,c,d){this.streamzService_.record(this.metricName_,a,b,c,d)};n0b.prototype.getMetric=function(){return this.streamzService_.getMetric(this.metricName_)};
var o0b=function(a){this.metricName_="/client_streamz/buganizer/user_action_counts";this.streamzService_=a;this.streamzService_.addNewCounter(this.metricName_,{field_type:3,field_name:"action"},{field_type:3,field_name:"frontend_access_mode"},{field_type:3,field_name:"environment_type"})};o0b.prototype.increment=function(a,b,c){this.streamzService_.incrementCounter(this.metricName_,a,b,c)};o0b.prototype.getMetric=function(){return this.streamzService_.getMetric(this.metricName_)};
var p0b=function(a){this.metricName_="/client_streamz/buganizer/user_latency";this.streamzService_=a;this.streamzService_.addNewEventMetric(this.metricName_,{field_type:3,field_name:"action"},{field_type:3,field_name:"frontend_access_mode"},{field_type:3,field_name:"environment_type"})};p0b.prototype.record=function(a,b,c,d){this.streamzService_.record(this.metricName_,a,b,c,d)};p0b.prototype.getMetric=function(){return this.streamzService_.getMetric(this.metricName_)};var q0b=function(a){this.metricName_="/client_streamz/one_developer_workflow/events/usage";this.streamzService_=a;this.streamzService_.addNewCounter(this.metricName_,{field_type:3,field_name:"name"},{field_type:3,field_name:"source"},{field_type:1,field_name:"state"})};q0b.prototype.increment=function(a,b,c){this.streamzService_.incrementCounter(this.metricName_,a,b,c)};q0b.prototype.getMetric=function(){return this.streamzService_.getMetric(this.metricName_)};
var r0b=function(a){this.metricName_="/client_streamz/one_developer_workflow/events/performance";this.streamzService_=a;this.streamzService_.addNewEventMetric(this.metricName_,{field_type:3,field_name:"source"},{field_type:3,field_name:"name"})};r0b.prototype.record=function(a,b,c){this.streamzService_.record(this.metricName_,a,b,c)};r0b.prototype.getMetric=function(){return this.streamzService_.getMetric(this.metricName_)};
var s0b=function(a){this.metricName_="/client_streamz/one_developer_workflow/rpc/request_count";this.streamzService_=a;this.streamzService_.addNewCounter(this.metricName_,{field_type:3,field_name:"source"},{field_type:3,field_name:"method_id"})};s0b.prototype.increment=function(a,b){this.streamzService_.incrementCounter(this.metricName_,a,b)};s0b.prototype.getMetric=function(){return this.streamzService_.getMetric(this.metricName_)};
var t0b=function(a){this.metricName_="/client_streamz/one_developer_workflow/rpc/error_count";this.streamzService_=a;this.streamzService_.addNewCounter(this.metricName_,{field_type:3,field_name:"source"},{field_type:3,field_name:"method_id"},{field_type:2,field_name:"code"})};t0b.prototype.increment=function(a,b,c){this.streamzService_.incrementCounter(this.metricName_,a,b,c)};t0b.prototype.getMetric=function(){return this.streamzService_.getMetric(this.metricName_)};var u0b=function(a){this.servicePromise_=a;a.then(Kt(function(){},this),function(){},this)},v0b=function(a,b,c){return a.servicePromise_.then(function(d){var e=d[b];if(!e)throw Error("yb`"+b);return e.apply(d,c)})},x0b=function(a,b,c){for(var d=Array(arguments.length-2),e=2;e<arguments.length;e++)d[e-2]=arguments[e];e=w0b(a,b).then(function(f){return f.apply(null,d)});return new u0b(e)},y0b={},w0b=function(a,b){var c=y0b[b];if(c)return c;c=(c=So(b))?hA(c):(new gA(function(d,e){var f=(new Tz(document)).createElement("SCRIPT");
f.async=!0;Fc(f,Ah(xSb(a)));f.onload=f.onreadystatechange=function(){f.readyState&&f.readyState!="loaded"&&f.readyState!="complete"||d()};f.onerror=e;(document.head||document.getElementsByTagName("head")[0]).appendChild(f)})).then(function(){var d=So(b);if(!d)throw Error("zb`"+b+"`"+a);return d});return y0b[b]=c};var z0b={GOOGLE:"https://www.google.com",SUPPORT:"https://support.google.com",PLAY:"https://play.google.com"},B0b=function(){var a=this;this.rsaForList=[];this.rsaForPromises=[];this.initialize=fra(function(){return fe(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()):he(b,A0b(a),2);a.rsaForList.length>
0&&document.addEventListener("click",a.requestAccessForHelpPanel);le(b)})});this.requestAccessForHelpPanel=function(){if(!(a.rsaForPromises.length>0)){for(var b=l(a.rsaForList),c=b.next();!c.done;c=b.next()){c=c.value;try{a.rsaForPromises.push(document.requestStorageAccessFor(c))}catch(d){}}Promise.all(a.rsaForPromises).then(function(){}).catch(function(){}).finally(function(){a.reset()})}}};B0b.prototype.reset=function(){document.removeEventListener("click",this.requestAccessForHelpPanel)};
var A0b=function(a){var b,c,d,e;return fe(function(f){f.nextAddress==1&&(b=l(Object.values(z0b)),c=b.next());if(f.nextAddress!=5){if(c.done)return f.jumpTo(0);d=c.value;return he(f,navigator.permissions.query({name:"top-level-storage-access",requestedOrigin:d}),5)}e=f.yieldResult;e.state!=="granted"&&a.rsaForList.push(d);c=b.next();return f.jumpTo(2)})};(new B0b).initialize();var C0b=function(a){this.loader_=a};C0b.prototype.startFeedback=function(a){v0b(this.loader_,"startFeedback",arguments)};C0b.prototype.requestSurvey=function(a){v0b(this.loader_,"requestSurvey",arguments).thenCatch(function(){},this)};C0b.prototype.presentSurvey=function(a){v0b(this.loader_,"presentSurvey",arguments).thenCatch(function(){},this)};var D0b=new ju(vSb,"https://www.gstatic.com/feedback/js/help/prod/service/lazy.min.js");w0b(D0b,"help.service.Lazy.create").thenCatch(function(){});var wr=function(a){this.internalArray_=m(a)};X(wr,Y);wr.prototype.getRevisionNumber=function(){return gj(this,4)};wr.prototype.setRevisionNumber=function(a){return ql(this,4,a)};var kA=function(a){this.internalArray_=m(a)};X(kA,Y);kA.prototype.getRevisionNumber=function(){return gj(this,2,-1)};kA.prototype.setRevisionNumber=function(a){return ql(this,2,a)};var E0b=function(a){this.internalArray_=m(a)};X(E0b,Y);g=E0b.prototype;g.getChangeNumber_asLegacyNumberOrString=function(){return ej(this,1,-1)};g.setChangeNumber=function(a){return yl(this,1,a)};g.getWorkspaceId=function(){return $i(this,kA,2)};g.getRevisionNumber=function(){return gj(this,3,-1)};g.setRevisionNumber=function(a){return ql(this,3,a)};var F0b=function(a){this.internalArray_=m(a)};X(F0b,Y);g=F0b.prototype;g.getPort=function(){return Kh(this,1)};g.setPort=function(a){return rj(this,1,a)};g.hasPort=function(){return $k(this,1)};g.getUser=function(){return Kh(this,2)};g.setUser=function(a){return rj(this,2,a)};g.hasUser=function(){return $k(this,2)};g.getWorkspaceId=function(){return $i(this,kA,3)};var G0b=function(a){this.internalArray_=m(a)};X(G0b,Y);g=G0b.prototype;g.getKey=function(){return Kh(this,1)};g.hasKey=function(){return $k(this,1)};g.getValue=function(){return Kh(this,2)};g.getValue_legacyNullable=function(){return sj(this,2)};g.setValue=function(a){return rj(this,2,a)};g.hasValue=function(){return $k(this,2)};var lA=function(a){this.internalArray_=m(a)};X(lA,Y);lA.prototype.getText=function(){return Kh(this,1)};lA.prototype.setText=function(a){return rj(this,1,a)};lA.prototype.getTagsList=function(a){return xj(this,G0b,2,yj(a))};lA.repeatedFields_=[2];var H0b=function(a){this.internalArray_=m(a)};X(H0b,Y);var yr=function(a){this.internalArray_=m(a)};X(yr,Y);g=yr.prototype;g.getReadonlySourceFileId=function(){return Co(this,wr,1)};g.setSourceFileId=function(a){return oj(this,wr,1,a)};g.getType=function(){return $i(this,H0b,3)};g.setType=function(a){return oj(this,H0b,3,a)};g.hasType=function(){return dk(this,H0b,3)};g.getSize=function(){return ej(this,5)};g.setSize=function(a){return yl(this,5,a)};g.getChangeId=function(){return $i(this,E0b,11)};yr.repeatedFields_=[8];var xr=function(a){this.internalArray_=m(a)};X(xr,Y);xr.prototype.getContent=function(){return no(this,2)};xr.prototype.setContent=function(a){return oo(this,2,pb(a,!1,!0,!1))};xr.prototype.hasContent=function(){return Qq(this,2)!=null};var I0b=function(a){this.internalArray_=m(a)};X(I0b,Y);g=I0b.prototype;g.setBase=function(a){return oj(this,F0b,1,a)};g.getDescription=function(){return $i(this,lA,2)};g.setDescription=function(a){return oj(this,lA,2,a)};g.hasDescription=function(){return dk(this,lA,2)};g.setMode=function(a){return sl(this,6,a)};I0b.repeatedFields_=[4];var mA=function(a){this.internalArray_=m(a,500)};X(mA,Y);g=mA.prototype;g.getStatus=function(){return $i(this,Cz,1002)};g.setStatus=function(a){return oj(this,Cz,1002,a)};g.hasStatus=function(){return dk(this,Cz,1002)};g.getChangeId=function(){return $i(this,E0b,1)};g.getWorkspaceId=function(){return $i(this,kA,2)};g.getToken=function(){return Kh(this,3)};g.setToken=function(a){return rj(this,3,a)};var J0b=function(a){this.internalArray_=m(a)};X(J0b,Y);J0b.prototype.setBase=function(a){return oj(this,F0b,1,a)};var oBb=function(){var a=new J0b;return sl(a,2,0)},nBb=function(a,b){return gk(a,3,b)};J0b.repeatedFields_=[3,4];var K0b=function(a){this.internalArray_=m(a,500)};X(K0b,Y);g=K0b.prototype;g.getStatus=function(){return $i(this,Cz,1002)};g.setStatus=function(a){return oj(this,Cz,1002,a)};g.hasStatus=function(){return dk(this,Cz,1002)};g.getReadonlySourceFileId=function(){return Co(this,wr,2)};g.setSourceFileId=function(a){return oj(this,wr,2,a)};g.getContent=function(){return no(this,3)};g.setContent=function(a){return oo(this,3,pb(a,!1,!0,!1))};g.hasContent=function(){return Qq(this,3)!=null};var nA=function(){};nA.prototype.ngOnInit=function(){};nA.\u0275fac=function(a){return new (a||nA)};nA.\u0275cmp=p({type:nA,selectors:[["issue-triage-sidebar"]],decls:2,vars:0,template:function(a){a&1&&(F(0,"p"),R(1," This is the issue triage sidebar\n"),G())}});var Zh=Symbol("Ab"),oA=function(a){this.params=a||{}};oA.prototype.has=function(a){return Object.prototype.hasOwnProperty.call(this.params,a)};oA.prototype.get=function(a){return this.has(a)?(a=this.params[a],Array.isArray(a)?a[0]:a):null};oA.prototype.getAll=function(a){return this.has(a)?(a=this.params[a],Array.isArray(a)?a:[a]):[]};ea.Object.defineProperties(oA.prototype,{keys:{configurable:!0,enumerable:!0,get:function(){return Object.keys(this.params)}}});var jra={exact:ora,subset:rra},kra={exact:mra,subset:pra,ignored:function(){return!0}},Th=function(a,b,c){a=a===void 0?new Sh([],{}):a;b=b===void 0?{}:b;this.root=a;this.queryParams=b;this.fragment=c===void 0?null:c};Th.prototype.toString=function(){return L0b.serialize(this)};ea.Object.defineProperties(Th.prototype,{queryParamMap:{configurable:!0,enumerable:!0,get:function(){this._queryParamMap!=null||(this._queryParamMap=new oA(this.queryParams));return this._queryParamMap}}});
var Sh=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})};Sh.prototype.hasChildren=function(){return this.numberOfChildren>0};Sh.prototype.toString=function(){return wra(this)};ea.Object.defineProperties(Sh.prototype,{numberOfChildren:{configurable:!0,enumerable:!0,get:function(){return Object.keys(this.children).length}}});var Xh=function(a,b){this.path=a;this.parameters=b};
Xh.prototype.toString=function(){return ura(this.path)+vra(this.parameters)};var pA=function(){};pA.\u0275fac=function(a){return new (a||pA)};pA.\u0275prov=Hc({token:pA,factory:function(){return new qA},providedIn:"root"});var qA=function(){};qA.prototype.parse=function(a){a=new M0b(a);rA(a,"/");var b=a.remaining===""||a.remaining.startsWith("?")||a.remaining.startsWith("#")?new Sh([],{}):new Sh([],N0b(a));return new Th(b,a.parseQueryParams(),rA(a,"#")?decodeURIComponent(a.remaining):null)};
qA.prototype.serialize=function(a){var b="/"+Rh(a.root,!0),c=zra(a.queryParams);a=typeof a.fragment==="string"?"#"+encodeURI(a.fragment):"";return b+c+a};var L0b=new qA,Ara=/^[^\/()?;#]+/,O0b=/^[^\/()?;=#]+/,P0b=/^[^=?&#]+/,Q0b=/^[^&#]+/,M0b=function(a){this.remaining=this.url=a};
M0b.prototype.parseQueryParams=function(){var a={};if(rA(this,"?")){do{var b,c=this.remaining.match(P0b);if(b=c?c[0]:""){this.capture(b);c="";if(rA(this,"=")){var d;if(d=(d=this.remaining.match(Q0b))?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(rA(this,"&"))}return a};
var N0b=function(a){if(a.remaining==="")return{};rA(a,"/");var b=[];for(a.remaining.startsWith("(")||b.push(R0b(a));a.remaining.startsWith("/")&&!a.remaining.startsWith("//")&&!a.remaining.startsWith("/(");)a.capture("/"),b.push(R0b(a));var c={};a.remaining.startsWith("/(")&&(a.capture("/"),c=S0b(a,!0));var d={};a.remaining.startsWith("(")&&(d=S0b(a,!1));if(b.length>0||Object.keys(c).length>0)d.primary=new Sh(b,c);return d},R0b=function(a){var b=Bra(a.remaining);if(b===""&&a.remaining.startsWith(";"))throw new Lc(4009,
!1);a.capture(b);b=decodeURIComponent(b);for(var c={};rA(a,";");){var d,e=a;if(d=(d=e.remaining.match(O0b))?d[0]:""){e.capture(d);var f="";if(rA(e,"=")){var h=Bra(e.remaining);h&&(f=h,e.capture(f))}c[decodeURIComponent(d)]=decodeURIComponent(f)}}return new Xh(b,c)},S0b=function(a,b){var c={};for(a.capture("(");!rA(a,")")&&a.remaining.length>0;){var d=Bra(a.remaining),e=a.remaining[d.length];if(e!=="/"&&e!==")"&&e!==";")throw new Lc(4010,!1);e=void 0;d.indexOf(":")>-1?(e=d.slice(0,d.indexOf(":")),
a.capture(e),a.capture(":")):b&&(e="primary");d=N0b(a);c[e]=Object.keys(d).length===1?d.primary:new Sh([],d);rA(a,"//")}return c},rA=function(a,b){return a.remaining.startsWith(b)?(a.remaining=a.remaining.substring(b.length),!0):!1};M0b.prototype.capture=function(a){if(!rA(this,a))throw new Lc(4011,!1);};var Mra=function(a,b,c){this.isAbsolute=a;this.numberOfDoubleDots=b;this.commands=c;if(a&&c.length>0&&Ira(c[0]))throw new Lc(4003,!1);if((a=c.find(Wh))&&a!==(c.length>0?c[c.length-1]:null))throw new Lc(4004,!1);},Hra=function(a,b,c){this.segmentGroup=a;this.processChildren=b;this.index=c};var sA=function(a,b){this.id=a;this.url=b},Mn=function(a,b,c,d){c=c===void 0?"imperative":c;d=d===void 0?null:d;sA.call(this,a,b);this.type=0;this.navigationTrigger=c;this.restoredState=d};X(Mn,sA);Mn.prototype.toString=function(){return"NavigationStart(id: "+this.id+", url: '"+this.url+"')"};var ki=function(a,b,c){sA.call(this,a,b);this.urlAfterRedirects=c;this.type=1};X(ki,sA);
ki.prototype.toString=function(){return"NavigationEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"')"};var li=function(a,b,c,d){sA.call(this,a,b);this.reason=c;this.code=d;this.type=2};X(li,sA);li.prototype.toString=function(){return"NavigationCancel(id: "+this.id+", url: '"+this.url+"')"};var ni=function(a,b,c,d){sA.call(this,a,b);this.reason=c;this.code=d;this.type=16};X(ni,sA);
var mi=function(a,b,c,d){sA.call(this,a,b);this.error=c;this.target=d;this.type=3};X(mi,sA);mi.prototype.toString=function(){return"NavigationError(id: "+this.id+", url: '"+this.url+"', error: "+this.error+")"};var tA=function(a,b,c,d){sA.call(this,a,b);this.urlAfterRedirects=c;this.state=d;this.type=4};X(tA,sA);tA.prototype.toString=function(){return"RoutesRecognized(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"};
var T0b=function(a,b,c,d){sA.call(this,a,b);this.urlAfterRedirects=c;this.state=d;this.type=7};X(T0b,sA);T0b.prototype.toString=function(){return"GuardsCheckStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"};var U0b=function(a,b,c,d,e){sA.call(this,a,b);this.urlAfterRedirects=c;this.state=d;this.shouldActivate=e;this.type=8};X(U0b,sA);
U0b.prototype.toString=function(){return"GuardsCheckEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+", shouldActivate: "+this.shouldActivate+")"};var V0b=function(a,b,c,d){sA.call(this,a,b);this.urlAfterRedirects=c;this.state=d;this.type=5};X(V0b,sA);V0b.prototype.toString=function(){return"ResolveStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"};
var W0b=function(a,b,c,d){sA.call(this,a,b);this.urlAfterRedirects=c;this.state=d;this.type=6};X(W0b,sA);W0b.prototype.toString=function(){return"ResolveEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"};var X0b=function(a){this.route=a;this.type=9};X0b.prototype.toString=function(){return"RouteConfigLoadStart(path: "+this.route.path+")"};var Y0b=function(a){this.route=a;this.type=10};
Y0b.prototype.toString=function(){return"RouteConfigLoadEnd(path: "+this.route.path+")"};var psa=function(a){this.snapshot=a;this.type=11};psa.prototype.toString=function(){return"ChildActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"};var Z0b=function(a){this.snapshot=a;this.type=12};Z0b.prototype.toString=function(){return"ChildActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"};
var qsa=function(a){this.snapshot=a;this.type=13};qsa.prototype.toString=function(){return"ActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"};var $0b=function(a){this.snapshot=a;this.type=14};$0b.prototype.toString=function(){return"ActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"};var a1b=function(a,b){this.position=a;this.anchor=b;this.type=15};
a1b.prototype.toString=function(){return"Scroll(anchor: '"+this.anchor+"', position: '"+(this.position?this.position[0]+", "+this.position[1]:null)+"')"};var b1b=function(){},c1b=function(a,b){this.url=a;this.navigationBehaviorOptions=b};var d1b=function(a){this.injector=a;this.route=this.outlet=null;this.children=new uA(this.injector);this.attachRef=null},uA=function(a){this.parentInjector=a;this.contexts=new Map},e1b=function(a,b){if(a=a.getContext(b))a.outlet=null,a.attachRef=null},f1b=function(a,b){var c=a.getContext(b);c||(c=new d1b(a.parentInjector),a.contexts.set(b,c));return c};uA.prototype.getContext=function(a){return this.contexts.get(a)||null};uA.\u0275fac=function(a){return new (a||uA)(n(qu))};
uA.\u0275prov=Hc({token:uA,factory:uA.\u0275fac,providedIn:"root"});var vA=function(a){this._root=a};vA.prototype.parent=function(a){a=this.pathFromRoot(a);return a.length>1?a[a.length-2]:null};vA.prototype.children=function(a){return(a=Rra(a,this._root))?a.children.map(function(b){return b.value}):[]};vA.prototype.firstChild=function(a){return(a=Rra(a,this._root))&&a.children.length>0?a.children[0].value:null};vA.prototype.pathFromRoot=function(a){return Sra(a,this._root).map(function(b){return b.value})};
ea.Object.defineProperties(vA.prototype,{root:{configurable:!0,enumerable:!0,get:function(){return this._root.value}}});var $h=function(a,b){this.value=a;this.children=b};$h.prototype.toString=function(){return"TreeNode("+this.value+")"};var g1b=function(a,b){this._root=a;this.snapshot=b;Ura(this,a)};X(g1b,vA);g1b.prototype.toString=function(){return this.snapshot.toString()};
var ai=function(a,b,c,d,e,f,h,k){this.urlSubject=a;this.paramsSubject=b;this.queryParamsSubject=c;this.fragmentSubject=d;this.dataSubject=e;this.outlet=f;this.component=h;this._futureSnapshot=k;var q,t;this.title=(t=(q=this.dataSubject)==null?void 0:q.pipe(y(function(w){return w[Zh]})))!=null?t:(0,W.of)(void 0);this.url=a;this.params=b;this.queryParams=c;this.fragment=d;this.data=e};ai.prototype.toString=function(){return this.snapshot?this.snapshot.toString():"Future("+this._futureSnapshot+")"};
ea.Object.defineProperties(ai.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(y(function(a){return new oA(a)})));return this._paramMap}},queryParamMap:{configurable:!0,enumerable:!0,get:function(){this._queryParamMap!=null||(this._queryParamMap=this.queryParams.pipe(y(function(a){return new oA(a)})));return this._queryParamMap}}});
var wA=function(a,b,c,d,e,f,h,k,q){this.url=a;this.params=b;this.queryParams=c;this.fragment=d;this.data=e;this.outlet=f;this.component=h;this.routeConfig=k;this._resolve=q};wA.prototype.toString=function(){return"Route(url:'"+this.url.map(function(a){return a.toString()}).join("/")+"', path:'"+(this.routeConfig?this.routeConfig.path:"")+"')"};
ea.Object.defineProperties(wA.prototype,{title:{configurable:!0,enumerable:!0,get:function(){var a;return(a=this.data)==null?void 0:a[Zh]}},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 oA(this.params));return this._paramMap}},queryParamMap:{configurable:!0,enumerable:!0,get:function(){this._queryParamMap!=null||(this._queryParamMap=new oA(this.queryParams));return this._queryParamMap}}});var h1b=function(a,b){this._root=b;this.url=a;Ura(this,b)};X(h1b,vA);h1b.prototype.toString=function(){return Vra(this._root)};var xA=function(){this._activatedRoute=this.activated=null;this.name="primary";this.activateEvents=new Xu;this.deactivateEvents=new Xu;this.attachEvents=new Xu;this.detachEvents=new Xu;this.parentContexts=Yc(uA);this.location=Yc(dg);this.changeDetector=Yc(Ig);this.inputBinder=Yc(i1b,{optional:!0})};xA.prototype.ngOnChanges=function(a){if(a.name){a=a.name;var b=a.previousValue;a.firstChange||(j1b(this,b)&&(this.deactivate(),e1b(this.parentContexts,b)),k1b(this))}};
xA.prototype.ngOnDestroy=function(){j1b(this,this.name)&&e1b(this.parentContexts,this.name);var a;(a=this.inputBinder)==null||yA(a,this)};var j1b=function(a,b){var c;return((c=a.parentContexts.getContext(b))==null?void 0:c.outlet)===a};xA.prototype.ngOnInit=function(){k1b(this)};
var k1b=function(a){var b=a.parentContexts,c=a.name,d=f1b(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):l1b(a,b.route,b.injector))};xA.prototype.detach=function(){if(!this.activated)throw new Lc(4012,!1);this.location.detach();var a=this.activated;this._activatedRoute=this.activated=null;this.detachEvents.emit(a.instance);return a};
xA.prototype.attach=function(a,b){this.activated=a;this._activatedRoute=b;this.location.insert(a.hostView);(b=this.inputBinder)!=null&&(yA(b,this),m1b(b,this));this.attachEvents.emit(a.instance)};xA.prototype.deactivate=function(){if(this.activated){var a=this.component;this.activated.destroy();this._activatedRoute=this.activated=null;this.deactivateEvents.emit(a)}};
var l1b=function(a,b,c){if(a.isActivated)throw new Lc(4013,!1);a._activatedRoute=b;var d=a.location,e=b.snapshot.component,f=f1b(a.parentContexts,a.name).children;a.activated=d.createComponent(e,{index:d.length,injector:new n1b(b,f,d.injector),environmentInjector:c});a.changeDetector.markForCheck();(b=a.inputBinder)!=null&&(yA(b,a),m1b(b,a));a.activateEvents.emit(a.activated.instance)};
ea.Object.defineProperties(xA.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 Lc(4012,!1);return this.activated.instance}},activatedRoute:{configurable:!0,enumerable:!0,get:function(){if(!this.activated)throw new Lc(4012,!1);return this._activatedRoute}}});
xA.\u0275fac=function(a){return new (a||xA)};xA.\u0275dir=fd({type:xA,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[td]});var n1b=function(a,b,c){this.route=a;this.childContexts=b;this.parent=c};n1b.prototype.__ngOutletInjector=function(a){return new n1b(this.route,this.childContexts,a)};
n1b.prototype.get=function(a,b){return a===ai?this.route:a===uA?this.childContexts:this.parent.get(a,b)};
var i1b=new md(""),zA=function(){this.outletDataSubscriptions=new Map},yA=function(a,b){var c;(c=a.outletDataSubscriptions.get(b))==null||c.unsubscribe();a.outletDataSubscriptions.delete(b)},m1b=function(a,b){var c=b.activatedRoute,d=(0,W.combineLatest)([c.queryParams,c.params,c.data]).pipe(pf(function(e,f){var h=l(e);e=h.next().value;var k=h.next().value;h=h.next().value;h=Object.assign({},e,k,h);return f===0?(0,W.of)(h):Promise.resolve(h)})).subscribe(function(e){if(b.isActivated&&b.activatedComponentRef&&
b.activatedRoute===c&&c.component!==null){var f=Lma(c.component);if(f){f=l(f.inputs);for(var h=f.next();!h.done;h=f.next())h=h.value.templateName,b.activatedComponentRef.setInput(h,e[h])}else yA(a,b)}else yA(a,b)});a.outletDataSubscriptions.set(b,d)};zA.\u0275fac=function(a){return new (a||zA)};zA.\u0275prov=Hc({token:zA,factory:zA.\u0275fac});var bi=function(){};bi.\u0275fac=function(a){return new (a||bi)};bi.\u0275cmp=p({type:bi,selectors:[["ng-component"]],standalone:!0,features:[sg],decls:1,vars:0,template:function(a){a&1&&H(0,"router-outlet")},dependencies:[xA],encapsulation:2});var p1b=function(a,b,c,d){return y(function(e){(new o1b(b,e.targetRouterState,e.currentRouterState,c,d)).activate(a);return e})},o1b=function(a,b,c,d,e){this.routeReuseStrategy=a;this.futureState=b;this.currState=c;this.forwardEvent=d;this.inputBindingEnabled=e};o1b.prototype.activate=function(a){var b=this.futureState._root,c=this.currState?this.currState._root:null;q1b(this,b,c,a);Wra(this.futureState.root);AA(this,b,c,a)};
var q1b=function(a,b,c,d){var e=Yh(c);b.children.forEach(function(f){var h=f.value.outlet,k=e[h],q=f.value,t=k?k.value:null;q===t?q.component?(q=d.getContext(q.outlet))&&q1b(a,f,k,q.children):q1b(a,f,k,d):t&&r1b(a,k,d);delete e[h]});Object.values(e).forEach(function(f){r1b(a,f,d)})},r1b=function(a,b,c){var d=c.getContext(b.value.outlet);c=d&&b.value.component?d.children:c;b=Yh(b);b=l(Object.values(b));for(var e=b.next();!e.done;e=b.next())r1b(a,e.value,c);d&&(d.outlet&&(d.outlet.deactivate(),d.children.contexts=
new Map),d.attachRef=null,d.route=null)},AA=function(a,b,c,d){var e=Yh(c);b.children.forEach(function(f){var h=e[f.value.outlet],k=f.value,q=h?h.value:null;Wra(k);k===q?k.component?(k=f1b(d,k.outlet),AA(a,f,h,k.children)):AA(a,f,h,d):k.component?(h=f1b(d,k.outlet),q=di(k.snapshot),h.attachRef=null,h.route=k,h.injector=q!=null?q:h.injector,h.outlet&&l1b(h.outlet,k,h.injector),AA(a,f,null,h.children)):AA(a,f,null,d);a.forwardEvent(new $0b(f.value.snapshot))});b.children.length&&a.forwardEvent(new Z0b(b.value.snapshot))};var gsa=Symbol("Cb");var isa=function(a){this.path=a;this.route=this.path[this.path.length-1]},jsa=function(a,b){this.component=a;this.route=b};var wsa=function(a){this.segmentGroup=a||null},s1b=function(a){var b=Error.call(this);this.message=b.message;"stack"in b&&(this.stack=b.stack);this.urlTree=a};X(s1b,Error);
var t1b=function(a,b){this.urlSerializer=a;this.urlTree=b},u1b=function(a){var b=[];for(a=a.root;;){b=b.concat(a.segments);if(a.numberOfChildren===0)return(0,W.of)(b);if(a.numberOfChildren>1||!a.children.primary)return(0,W.throwError)(new Lc(4E3,!1));a=a.children.primary}},w1b=function(a,b,c,d,e,f){if(typeof c!=="string"){var h=c,k=e.queryParams,q=e.fragment,t=e.routeConfig,w=e.url,B=e.outlet,E=e.params,I=e.data,J=e.title;c=qd(f,function(){return h({params:E,data:I,queryParams:k,fragment:q,routeConfig:t,
url:w,outlet:B,title:J})});if(c instanceof Th)throw new s1b(c);}a=v1b(a,c,a.urlSerializer.parse(c),b,d);if(c[0]==="/")throw new s1b(a);return a},v1b=function(a,b,c,d,e){b=x1b(a,b,c.root,d,e);return new Th(b,y1b(c.queryParams,a.urlTree.queryParams),c.fragment)},y1b=function(a,b){var c={};Object.entries(a).forEach(function(d){var e=l(d);d=e.next().value;e=e.next().value;c[d]=typeof e==="string"&&e[0]===":"?b[e.substring(1)]:e});return c},x1b=function(a,b,c,d,e){var f=z1b(c.segments,d,e),h={};Object.entries(c.children).forEach(function(k){var q=
l(k);k=q.next().value;q=q.next().value;h[k]=x1b(a,b,q,d,e)});return new Sh(f,h)},z1b=function(a,b,c){return a.map(function(d){if(d.path[0]===":"){if(d=c[d.path.substring(1)],!d)throw new Lc(4001,!1);}else a:for(var e=0,f=l(b),h=f.next();!h.done;h=f.next()){h=h.value;if(h.path===d.path){b.splice(e);d=h;break a}e++}return d})};var ysa={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};var A1b=function(){},Hsa=function(a,b,c,d,e,f,h){this.injector=a;this.configLoader=b;this.rootComponentType=c;this.config=d;this.urlTree=e;this.paramsInheritanceStrategy=f;this.urlSerializer=h;this.applyRedirects=new t1b(this.urlSerializer,this.urlTree);this.absoluteRedirectCount=0;this.allowRedirects=!0};
Hsa.prototype.recognize=function(){var a=this,b=Dsa(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(b).pipe(y(function(c){var d=c.children;c=c.rootSnapshot;d=new h1b("",new $h(c,d));var e=a.urlTree.queryParams,f=a.urlTree.fragment;e=e===void 0?null:e;f=f===void 0?null:f;c=Era(c);c=Kra(c,[],e,f);c.queryParams=a.urlTree.queryParams;d.url=a.urlSerializer.serialize(c);return{state:d,tree:c}}))};
Hsa.prototype.match=function(a){var b=this,c=new wA([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),"primary",this.rootComponentType,null,{});return B1b(this,this.injector,this.config,a,"primary",c).pipe(y(function(d){return{children:d,rootSnapshot:c}}),$e(function(d){if(d instanceof s1b)return b.urlTree=d.urlTree,b.match(d.urlTree.root);if(d instanceof wsa)throw new Lc(4002,"'"+d.segmentGroup+"'");throw d;}))};
var B1b=function(a,b,c,d,e,f){return d.segments.length===0&&d.hasChildren()?a.processChildren(b,c,d,f):C1b(a,b,c,d,d.segments,e,!0,f).pipe(y(function(h){return h instanceof $h?[h]:[]}))};
Hsa.prototype.processChildren=function(a,b,c,d){for(var e=this,f=[],h=l(Object.keys(c.children)),k=h.next();!k.done;k=h.next())k=k.value,k==="primary"?f.unshift(k):f.push(k);return(0,W.from)(f).pipe(pe(function(q){var t=c.children[q],w=fsa(b,q);return B1b(e,a,w,t,q,d)},1),oka(function(q,t){q.push.apply(q,r(t));return q}),$ja(null),lka(),pe(function(q){if(q===null)return ji(c);q=Gsa(q);Esa(q);return(0,W.of)(q)}))};
var C1b=function(a,b,c,d,e,f,h,k){return(0,W.from)(c).pipe(pe(function(q){var t;return D1b(a,(t=q._injector)!=null?t:b,c,q,d,e,f,h,k).pipe($e(function(w){if(w instanceof wsa)return(0,W.of)(null);throw w;}))},1),hf(function(q){return!!q}),$e(function(q){if(ksa(q))return e.length!==0||d.children[f]?ji(d):(0,W.of)(new A1b);throw q;}))},D1b=function(a,b,c,d,e,f,h,k,q){return(ci(d)===h||h!=="primary"&&Csa(e,f,d))&&xsa(e,d,f).matched?d.redirectTo===void 0?E1b(a,b,e,d,f,h,q):a.allowRedirects&&k?F1b(a,b,
e,c,d,f,h,q):ji(e):ji(e)},F1b=function(a,b,c,d,e,f,h,k){var q=xsa(c,e,f),t=q.parameters,w=q.consumedSegments,B=q.positionalParamSegments,E=q.remainingSegments;if(!q.matched)return ji(c);typeof e.redirectTo==="string"&&e.redirectTo[0]==="/"&&(a.absoluteRedirectCount++,a.absoluteRedirectCount>31&&(a.allowRedirects=!1));var I,J;f=new wA(f,t,Object.freeze(Object.assign({},a.urlTree.queryParams)),a.urlTree.fragment,e.data||{},ci(e),(J=(I=e.component)!=null?I:e._loadedComponent)!=null?J:null,e,e.resolve||
{});I=Tra(f,k,a.paramsInheritanceStrategy);f.params=Object.freeze(I.params);f.data=Object.freeze(I.data);e=w1b(a.applyRedirects,w,e.redirectTo,B,f,b);return u1b(e).pipe(pe(function(N){return C1b(a,b,d,c,N.concat(E),h,!1,k)}))},E1b=function(a,b,c,d,e,f,h){var k=zsa(c,d,e,b);d.path==="**"&&(c.children={});return k.pipe(pf(function(q){if(!q.matched)return ji(c);var t;b=(t=d._injector)!=null?t:b;return G1b(a,b,d,e).pipe(pf(function(w){w=w.routes;var B,E=(B=d._loadedInjector)!=null?B:b;B=q.consumedSegments;
var I=q.remainingSegments,J,N,P=new wA(B,q.parameters,Object.freeze(Object.assign({},a.urlTree.queryParams)),a.urlTree.fragment,d.data||{},ci(d),(N=(J=d.component)!=null?J:d._loadedComponent)!=null?N:null,d,d.resolve||{});J=Tra(P,h,a.paramsInheritanceStrategy);P.params=Object.freeze(J.params);P.data=Object.freeze(J.data);N=Dsa(c,B,I,w);J=N.segmentGroup;N=N.slicedSegments;return N.length===0&&J.hasChildren()?a.processChildren(E,w,J,P).pipe(y(function(U){return new $h(P,U)})):w.length===0&&N.length===
0?(0,W.of)(new $h(P,[])):C1b(a,E,w,J,N,ci(d)===f?"primary":f,!0,P).pipe(y(function(U){return new $h(P,U instanceof $h?[U]:[])}))}))}))},G1b=function(a,b,c,d){return c.children?(0,W.of)({routes:c.children,injector:b}):c.loadChildren?c._loadedRoutes!==void 0?(0,W.of)({routes:c._loadedRoutes,injector:c._loadedInjector}):usa(b,c,d).pipe(pe(function(e){return e?a.configLoader.loadChildren(b,c).pipe(sf(function(f){c._loadedRoutes=f.routes;c._loadedInjector=f.injector})):(0,W.throwError)(asa(3))})):(0,W.of)({routes:[],
injector:b})};var H1b=function(){};X(H1b,SVb);var BA=function(){};X(BA,H1b);var I1b=function(a,b,c){a.addEventListener(b,c);return function(){a.removeEventListener(b,c)}};BA.prototype.dispatchEvent=function(a,b){a.dispatchEvent(b)};BA.prototype.remove=function(a){a.parentNode&&a.parentNode.removeChild(a)};BA.prototype.createElement=function(a,b){b=b||document;return b.createElement(a)};var UVb=function(a,b){return b==="window"?window:b==="document"?a:b==="body"?a.body:null};
BA.prototype.getBaseHref=function(){var a=(J1b=J1b||document.querySelector("base"))?J1b.getAttribute("href"):null;return a==null?null:(new URL(a,document.baseURI)).pathname};var J1b=null;var K1b=function(){},JUb=function(a){xe.getAngularTestability=function(b,c){b=a.findTestabilityInTree(b,c===void 0?!0:c);if(b==null)throw new Lc(5103,!1);return b};xe.getAllAngularTestabilities=function(){return Array.from(a._applications.values())};xe.getAllAngularRootElements=function(){return Array.from(a._applications.keys())};xe.frameworkStabilizers||(xe.frameworkStabilizers=[]);xe.frameworkStabilizers.push(function(b){var c=xe.getAllAngularTestabilities(),d=c.length,e=function(){d--;d==0&&b()};
c.forEach(function(f){f.whenStable(e)})})};K1b.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 CA=function(){};CA.prototype.build=function(){return new XMLHttpRequest};CA.\u0275fac=function(a){return new (a||CA)};CA.\u0275prov=Hc({token:CA,factory:CA.\u0275fac});var L1b=new md(""),DA=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()};DA.prototype.addEventListener=function(a,b,c){return this._findPluginFor(b).addEventListener(a,b,c)};DA.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 Lc(5101,!1);this._eventNameToPlugin.set(a,b);return b};
DA.\u0275fac=function(a){return new (a||DA)(n(L1b),n(ze))};DA.\u0275prov=Hc({token:DA,factory:DA.\u0275fac});var M1b=function(a){this._doc=a};var EA=function(a,b,c,d){d=d===void 0?{}:d;this.doc=a;this.appId=b;this.nonce=c;this.styleRef=new Map;this.hostNodes=new Set;this.styleNodesInDOM=N1b(this);this.platformIsServer=d==="server";O1b(this)},R1b=function(a,b){b=l(b);for(var c=b.next();!c.done;c=b.next())if(c=c.value,P1b(a,c,1)===1)for(var d=a,e=l(d.hostNodes),f=e.next();!f.done;f=e.next())Q1b(d,f.value,c)};
EA.prototype.ngOnDestroy=function(){var a=this.styleNodesInDOM;a&&(a.forEach(function(c){return c.remove()}),a.clear());a=l(this.styleRef.keys());for(var b=a.next();!b.done;b=a.next())S1b(this,b.value);O1b(this)};
var S1b=function(a,b){a=a.styleRef;var c,d;(c=a.get(b))==null||(d=c.elements)==null||d.forEach(function(e){return e.remove()});a.delete(b)},N1b=function(a){var b,c=(b=a.doc.head)==null?void 0:b.querySelectorAll('style[ng-app-id="'+a.appId+'"]');if(c==null?0:c.length){var d=new Map;c.forEach(function(e){e.textContent!=null&&d.set(e.textContent,e)});return d}return null},P1b=function(a,b,c){a=a.styleRef;if(a.has(b))return b=a.get(b),b.usage+=c,b.usage;a.set(b,{usage:c,elements:[]});return c},Q1b=function(a,
b,c){var d=a.styleNodesInDOM,e=d==null?void 0:d.get(c);(e==null?void 0:e.parentNode)===b?(d.delete(c),e.removeAttribute("ng-app-id"),b=e):(d=a.doc.createElement("style"),a.nonce&&d.setAttribute("nonce",a.nonce),d.textContent=c,a.platformIsServer&&d.setAttribute("ng-app-id",a.appId),b.appendChild(d),b=d);a=a.styleRef;var f;(d=(f=a.get(c))==null?void 0:f.elements)?d.push(b):a.set(c,{elements:[b],usage:1})},O1b=function(a){var b=a.hostNodes;b.clear();b.add(a.doc.head)};
EA.\u0275fac=function(a){return new (a||EA)(n(gh),n(qTb),n(rTb,8),n(Be))};EA.\u0275prov=Hc({token:EA,factory:EA.\u0275fac});var T1b={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"},Psa=/%COMP%/g,U1b=new md("",{providedIn:"root",factory:function(){return!0}}),GA=function(a,b,c,d,e,f,h,k){this.eventManager=a;this.sharedStylesHost=b;this.appId=c;this.removeStylesOnCompDestroy=d;this.doc=e;this.ngZone=h;this.nonce=k===void 0?null:k;this.rendererByCompId=
new Map;this.platformIsServer=f==="server";this.defaultRenderer=new FA(a,e,h,this.platformIsServer)};
GA.prototype.createRenderer=function(a,b){if(!a||!b)return this.defaultRenderer;this.platformIsServer&&b.encapsulation===3&&(b=Object.assign({},b,{encapsulation:0}));a:{var c=this.rendererByCompId,d=c.get(b.id);if(!d){d=this.doc;var e=this.ngZone,f=this.eventManager,h=this.sharedStylesHost,k=this.removeStylesOnCompDestroy,q=this.platformIsServer;switch(b.encapsulation){case 0:d=new V1b(f,h,b,this.appId,k,d,e,q);break;case 3:b=new W1b(f,h,a,b,d,e,this.nonce,q);break a;default:d=new HA(f,h,b,k,d,e,
q)}c.set(b.id,d)}b=d}b instanceof V1b?(R1b(b.sharedStylesHost,b.styles),b.setAttribute(a,b.hostAttr,"")):b instanceof HA&&R1b(b.sharedStylesHost,b.styles);return b};GA.prototype.ngOnDestroy=function(){this.rendererByCompId.clear()};GA.\u0275fac=function(a){return new (a||GA)(n(DA),n(EA),n(qTb),n(U1b),n(gh),n(Be),n(ze),n(rTb))};GA.\u0275prov=Hc({token:GA,factory:GA.\u0275fac});
var FA=function(a,b,c,d){this.eventManager=a;this.doc=b;this.ngZone=c;this.platformIsServer=d;this.data=Object.create(null);this.destroyNode=null};g=FA.prototype;g.destroy=function(){};g.createElement=function(a,b){return b?this.doc.createElementNS(T1b[b]||b,a):this.doc.createElement(a)};g.createComment=function(a){return this.doc.createComment(a)};g.createText=function(a){return this.doc.createTextNode(a)};g.appendChild=function(a,b){(a.tagName==="TEMPLATE"&&a.content!==void 0?a.content:a).appendChild(b)};
g.insertBefore=function(a,b,c){a&&(a.tagName==="TEMPLATE"&&a.content!==void 0?a.content:a).insertBefore(b,c)};g.removeChild=function(a,b){a&&a.removeChild(b)};g.selectRootElement=function(a,b){a=typeof a==="string"?this.doc.querySelector(a):a;if(!a)throw new Lc(-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=T1b[d])?a.setAttributeNS(d,b,c):a.setAttribute(b,c)):a.setAttribute(b,c)};g.removeAttribute=function(a,b,c){if(c){var d=T1b[c];d?a.removeAttributeNS(d,b):a.removeAttribute(c+":"+b)}else a.removeAttribute(b)};g.addClass=function(a,b){a.classList.add(b)};g.removeClass=function(a,b){a.classList.remove(b)};g.setStyle=function(a,b,c,d){d&3?a.style.setProperty(b,c,d&1?"important":""):a.style[b]=c};
g.removeStyle=function(a,b,c){c&2?a.style.removeProperty(b):a.style[b]=""};g.setProperty=function(a,b,c){a!=null&&(a[b]=c)};g.setValue=function(a,b){a.nodeValue=b};g.listen=function(a,b,c){if(typeof a==="string"&&(a=UVb(this.doc,a),!a))throw Error("Db`"+a+"`"+b);return this.eventManager.addEventListener(a,b,X1b(this,c))};
var X1b=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()}},W1b=function(a,b,c,d,e,f,h,k){FA.call(this,a,e,f,k);this.sharedStylesHost=b;this.hostEl=c;this.shadowRoot=c.attachShadow({mode:"open"});a=this.sharedStylesHost;b=this.shadowRoot;a.hostNodes.add(b);c=l(a.styleRef.keys());for(e=c.next();!e.done;e=c.next())Q1b(a,b,e.value);d=Qsa(d.id,d.styles);d=l(d);for(a=d.next();!a.done;a=d.next())a=
a.value,b=document.createElement("style"),h&&b.setAttribute("nonce",h),b.textContent=a,this.shadowRoot.appendChild(b)};X(W1b,FA);var IA=function(a,b){return b===a.hostEl?a.shadowRoot:b};g=W1b.prototype;g.appendChild=function(a,b){return FA.prototype.appendChild.call(this,IA(this,a),b)};g.insertBefore=function(a,b,c){return FA.prototype.insertBefore.call(this,IA(this,a),b,c)};g.removeChild=function(a,b){return FA.prototype.removeChild.call(this,IA(this,a),b)};
g.parentNode=function(a){return IA(this,FA.prototype.parentNode.call(this,IA(this,a)))};g.destroy=function(){this.sharedStylesHost.hostNodes.delete(this.shadowRoot)};var HA=function(a,b,c,d,e,f,h,k){FA.call(this,a,e,f,h);this.sharedStylesHost=b;this.removeStylesOnCompDestroy=d;this.styles=k?Qsa(k,c.styles):c.styles};X(HA,FA);
HA.prototype.destroy=function(){if(this.removeStylesOnCompDestroy)for(var a=this.sharedStylesHost,b=l(this.styles),c=b.next();!c.done;c=b.next())c=c.value,P1b(a,c,-1)<=0&&S1b(a,c)};var V1b=function(a,b,c,d,e,f,h,k){d=d+"-"+c.id;HA.call(this,a,b,c,e,f,h,k,d);this.contentAttr="_ngcontent-%COMP%".replace(Psa,d);this.hostAttr="_nghost-%COMP%".replace(Psa,d)};X(V1b,HA);
V1b.prototype.createElement=function(a,b){a=HA.prototype.createElement.call(this,a,b);HA.prototype.setAttribute.call(this,a,this.contentAttr,"");return a};var JA=function(a){this._doc=a};X(JA,M1b);JA.prototype.supports=function(){return!0};JA.prototype.addEventListener=function(a,b,c){var d=this;a.addEventListener(b,c,!1);return function(){return d.removeEventListener(a,b,c)}};JA.prototype.removeEventListener=function(a,b,c){return a.removeEventListener(b,c)};JA.\u0275fac=function(a){return new (a||JA)(n(gh))};JA.\u0275prov=Hc({token:JA,factory:JA.\u0275fac});var Y1b=["alt","control","meta","shift"],Z1b={"\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"},$1b={alt:function(a){return a.altKey},control:function(a){return a.ctrlKey},meta:function(a){return a.metaKey},shift:function(a){return a.shiftKey}},KA=function(a){this._doc=a};X(KA,M1b);KA.prototype.supports=function(a){return a2b(a)!=null};
KA.prototype.addEventListener=function(a,b,c){var d=a2b(b),e=b2b(d.fullKey,c,this.manager._zone);return this.manager._zone.runOutsideAngular(function(){return I1b(a,d.domEventName,e)})};
var a2b=function(a){var b=a.toLowerCase().split(".");a=b.shift();if(b.length===0||a!=="keydown"&&a!=="keyup")return null;var c=c2b(b.pop()),d="",e=b.indexOf("code");e>-1&&(b.splice(e,1),d="code.");Y1b.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},d2b=function(a,b){var c=Z1b[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");Y1b.forEach(function(e){e!==c&&(0,$1b[e])(a)&&(d+=e+".")});d+=c;return d===b},b2b=function(a,b,c){return function(d){d2b(d,a)&&c.runGuarded(function(){return b(d)})}},c2b=function(a){return a==="esc"?"escape":a};KA.\u0275fac=function(a){return new (a||KA)(n(gh))};KA.\u0275prov=Hc({token:KA,factory:KA.\u0275fac});var mVb=Cma(sVb,"browser",[{provide:Be,useValue:"browser"},{provide:Fma,useValue:function(){var a=new BA;RVb!=null||(RVb=a)},multi:!0},{provide:gh,useFactory:function(){return Aga=document},deps:[]}]),e2b=new md(""),f2b=[{provide:HUb,useClass:K1b,deps:[]},{provide:GUb,useClass:bv,deps:[ze,cv,HUb]},{provide:bv,useClass:bv,deps:[ze,cv,HUb]}],g2b=[{provide:Dma,useValue:"root"},{provide:Ue,useFactory:function(){return new Ue},deps:[]},{provide:L1b,useClass:JA,multi:!0,deps:[gh,ze,Be]},{provide:L1b,useClass:KA,
multi:!0,deps:[gh]},GA,EA,DA,{provide:vTb,useExisting:GA},{provide:$Vb,useClass:CA,deps:[]},[]],LA=function(){};LA.\u0275fac=function(a){return new (a||LA)(n(e2b,12))};LA.\u0275mod=dd({type:LA});LA.\u0275inj=Ic({providers:[].concat(r(g2b),r(f2b)),imports:[Tv,vv]});var MA=function(a){this._doc=a};MA.prototype.getTitle=function(){return this._doc.title};MA.prototype.setTitle=function(a){this._doc.title=a||""};MA.\u0275fac=function(a){return new (a||MA)(n(gh))};MA.\u0275prov=Hc({token:MA,factory:MA.\u0275fac,providedIn:"root"});new md("HammerGestureConfig");new md("HammerLoader");var h2b=function(){},i2b=function(){};var NA=function(a){var b=this;this.normalizedNames=new Map;this.lazyUpdate=null;a?typeof a==="string"?this.lazyInit=function(){b.headers=new Map;a.split("\n").forEach(function(c){var d=c.indexOf(":");if(d>0){var e=c.slice(0,d),f=e.toLowerCase();c=c.slice(d+1).trim();j2b(b,e,f);b.headers.has(f)?b.headers.get(f).push(c):b.headers.set(f,[c])}})}:typeof Headers!=="undefined"&&a instanceof Headers?(this.headers=new Map,a.forEach(function(c,d){k2b(b,d,c)})):this.lazyInit=function(){b.headers=new Map;Object.entries(a).forEach(function(c){var d=
l(c);c=d.next().value;d=d.next().value;k2b(b,c,d)})}:this.headers=new Map};g=NA.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 j2b=function(a,b,c){a.normalizedNames.has(c)||a.normalizedNames.set(c,b)};NA.prototype.init=function(){var a=this;this.lazyInit&&(this.lazyInit instanceof NA?l2b(this,this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(function(b){return m2b(a,b)}),this.lazyUpdate=null))};
var l2b=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))})};NA.prototype.clone=function(a){var b=new NA;b.lazyInit=this.lazyInit&&this.lazyInit instanceof NA?this.lazyInit:this;b.lazyUpdate=(this.lazyUpdate||[]).concat([a]);return b};
var m2b=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;j2b(a,b.name,c);b=(b.op==="a"?a.headers.get(c):void 0)||[];b.push.apply(b,r(d));a.headers.set(c,b);break;case "d":var e=b.value;if(e){if(d=a.headers.get(c))d=d.filter(function(f){return e.indexOf(f)===-1}),d.length===0?(a.headers.delete(c),a.normalizedNames.delete(c)):a.headers.set(c,d)}else a.headers.delete(c),a.normalizedNames.delete(c)}},k2b=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);j2b(a,b,d)};NA.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 n2b=function(){},Ssa=/%(\d[a-f0-9])/gi,Tsa={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"},OA=function(a){var b=this;a=a===void 0?{}:a;this.cloneFrom=this.updates=null;this.encoder=a.encoder||new n2b;if(a.fromString){if(a.fromObject)throw Error("Eb");this.map=Rsa(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(Vsa):[""+d];b.map.set(c,d)})):this.map=null};g=OA.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=Usa(b);return a.map.get(b).map(function(d){return c+"="+Usa(d)}).join("&")}).filter(function(b){return b!==""}).join("&")};g.clone=function(a){var b=new OA({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 o2b=function(){this.map=new Map};g=o2b.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 PA=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 NA);this.context!=null||(this.context=new o2b);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 OA,this.urlWithParams=b)},p2b=function(a){return a.body===null?null:typeof a.body==="string"||Wsa(a.body)||Xsa(a.body)||Ysa(a.body)||typeof URLSearchParams!=="undefined"&&a.body instanceof
URLSearchParams?a.body:a.body instanceof OA?a.body.toString():typeof a.body==="object"||typeof a.body==="boolean"||Array.isArray(a.body)?JSON.stringify(a.body):a.body.toString()},q2b=function(a){return a.body===null||Ysa(a.body)?null:Xsa(a.body)?a.body.type||null:Wsa(a.body)?null:typeof a.body==="string"?"text/plain":a.body instanceof OA?"application/x-www-form-urlencoded;charset=UTF-8":typeof a.body==="object"||typeof a.body==="number"||typeof a.body==="boolean"?"application/json":null};
PA.prototype.clone=function(a){a=a===void 0?{}:a;var b=a.method||this.method,c=a.url||this.url,d=a.responseType||this.responseType,e,f=(e=a.transferCache)!=null?e:this.transferCache;e=a.body!==void 0?a.body:this.body;var h,k=(h=a.withCredentials)!=null?h:this.withCredentials,q;h=(q=a.reportProgress)!=null?q:this.reportProgress;q=a.headers||this.headers;var t=a.params||this.params,w,B=(w=a.context)!=null?w:this.context;a.setHeaders!==void 0&&(q=Object.keys(a.setHeaders).reduce(function(E,I){return E.set(I,
a.setHeaders[I])},q));a.setParams&&(t=Object.keys(a.setParams).reduce(function(E,I){return E.set(I,a.setParams[I])},t));return new PA(b,c,e,{params:t,headers:q,context:B,reportProgress:h,responseType:d,withCredentials:k,transferCache:f})};var QA=function(a,b,c){b=b===void 0?200:b;c=c===void 0?"OK":c;this.headers=a.headers||new NA;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},RA=function(a){a=a===void 0?{}:a;QA.call(this,a);this.type=2};X(RA,QA);
RA.prototype.clone=function(a){a=a===void 0?{}:a;return new RA({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 SA=function(a){a=a===void 0?{}:a;QA.call(this,a);this.type=4;this.body=a.body!==void 0?a.body:null};X(SA,QA);
SA.prototype.clone=function(a){a=a===void 0?{}:a;return new SA({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 TA=function(a){QA.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};X(TA,QA);var UA=function(a){this.handler=a};g=UA.prototype;
g.request=function(a,b,c){var d=this;c=c===void 0?{}:c;if(a instanceof PA)b=a;else{var e=void 0;e=c.headers instanceof NA?c.headers:new NA(c.headers);var f=void 0;c.params&&(f=c.params instanceof OA?c.params:new OA({fromObject:c.params}));b=new PA(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=(0,W.of)(b).pipe(pe(function(h){return d.handler.handle(h)},
1));if(a instanceof PA||c.observe==="events")return e;a=e.pipe(te(function(h){return h instanceof SA}));switch(c.observe||"body"){case "body":switch(b.responseType){case "arraybuffer":return a.pipe(y(function(h){if(h.body!==null&&!(h.body instanceof ArrayBuffer))throw Error("Fb");return h.body}));case "blob":return a.pipe(y(function(h){if(h.body!==null&&!(h.body instanceof Blob))throw Error("Gb");return h.body}));case "text":return a.pipe(y(function(h){if(h.body!==null&&typeof h.body!=="string")throw Error("Hb");
return h.body}));default:return a.pipe(y(function(h){return h.body}))}case "response":return a;default:throw Error("Ib`"+c.observe);}};g.delete=function(a,b){b=b===void 0?{}:b;return this.request("DELETE",a,b)};g.get=function(a,b){b=b===void 0?{}:b;return this.request("GET",a,b)};g.head=function(a,b){b=b===void 0?{}:b;return this.request("HEAD",a,b)};g.jsonp=function(a,b){return this.request("JSONP",a,{params:(new OA).append(b,"JSONP_CALLBACK"),observe:"body",responseType:"json"})};
g.options=function(a,b){b=b===void 0?{}:b;return this.request("OPTIONS",a,b)};g.patch=function(a,b,c){c=c===void 0?{}:c;return this.request("PATCH",a,Zsa(c,b))};g.post=function(a,b,c){c=c===void 0?{}:c;return this.request("POST",a,Zsa(c,b))};g.put=function(a,b,c){c=c===void 0?{}:c;return this.request("PUT",a,Zsa(c,b))};UA.\u0275fac=function(a){return new (a||UA)(n(h2b))};UA.\u0275prov=Hc({token:UA,factory:UA.\u0275fac});var r2b=/^\)\]\}',?\n/,VA=function(){var a,b;this.fetchImpl=(b=(a=Yc(s2b,{optional:!0}))==null?void 0:a.fetch)!=null?b:fetch.bind(globalThis);this.ngZone=Yc(ze)};VA.prototype.handle=function(a){var b=this;return new W.Observable(function(c){var d=new AbortController;t2b(b,a,d.signal,c).then(ata,function(e){return c.error(new TA({error:e}))});return function(){return d.abort()}})};
var t2b=function(a,b,c,d){var e,f,h,k,q,t,w,B,E,I,J,N,P,U,ba,ma,na,ya,Pa,ia,qa,ua,Oa;return fe(function(Ka){switch(Ka.nextAddress){case 1:return e=u2b(b),ge(Ka,2),h=a.fetchImpl(b.urlWithParams,Object.assign({},{signal:c},e)),h.then(ata,ata),d.next({type:0}),he(Ka,h,4);case 4:f=Ka.yieldResult;Ft(Ka,3);break;case 2:return k=ke(Ka),d.error(new TA({error:k,status:(q=k.status)!=null?q:0,statusText:k.statusText,url:b.urlWithParams,headers:k.headers})),Ka.return();case 3:t=new NA(f.headers);w=f.statusText;
E=(B=$sa(f))!=null?B:b.urlWithParams;I=f.status;J=null;b.reportProgress&&d.next(new RA({headers:t,status:I,statusText:w,url:E}));if(!f.body){Ka.jumpTo(5);break}N=f.headers.get("content-length");P=[];U=f.body.getReader();ba=0;ya=typeof Zone!=="undefined"&&Zone.current;return he(Ka,a.ngZone.runOutsideAngular(function(){var Cb,Qb,Rb,Wa,xb,Qa;return fe(function(hb){if(hb.nextAddress==1)return he(hb,U.read(),5);Cb=hb.yieldResult;Qb=Cb.done;Rb=Cb.value;if(Qb)return hb.jumpTo(0);P.push(Rb);ba+=Rb.length;
b.reportProgress&&(xb=Wa=void 0,na=b.responseType==="text"?((Wa=na)!=null?Wa:"")+((xb=ma)!=null?xb:ma=new TextDecoder).decode(Rb,{stream:!0}):void 0,Qa=function(){return d.next({type:3,total:N?+N:void 0,loaded:ba,partialText:na})},ya?ya.run(Qa):Qa());return hb.jumpTo(1)})}),6);case 6:Pa=v2b(P,ba);try{qa=(ia=f.headers.get("Content-Type"))!=null?ia:"",J=w2b(b,Pa,qa)}catch(Cb){return d.error(new TA({error:Cb,headers:new NA(f.headers),status:f.status,statusText:f.statusText,url:(ua=$sa(f))!=null?ua:b.urlWithParams})),
Ka.return()}case 5:I===0&&(I=J?200:0),(Oa=I>=200&&I<300)?(d.next(new SA({body:J,headers:t,status:I,statusText:w,url:E})),d.complete()):d.error(new TA({error:J,headers:t,status:I,statusText:w,url:E})),le(Ka)}})},w2b=function(a,b,c){switch(a.responseType){case "json":return a=(new TextDecoder).decode(b).replace(r2b,""),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}},u2b=function(a){var b={},c=a.withCredentials?
"include":void 0;a.headers.forEach(function(e,f){return b[e]=f.join(",")});b.Accept!=null||(b.Accept="application/json, text/plain, */*");if(!b["Content-Type"]){var d=q2b(a);d!==null&&(b["Content-Type"]=d)}return{body:p2b(a),method:a.method,headers:b,credentials:c}},v2b=function(a,b){b=new Uint8Array(b);var c=0;a=l(a);for(var d=a.next();!d.done;d=a.next())d=d.value,b.set(d,c),c+=d.length;return b};VA.\u0275fac=function(a){return new (a||VA)};VA.\u0275prov=Hc({token:VA,factory:VA.\u0275fac});
var s2b=function(){};var WA=new md(""),x2b=new md(""),y2b=new md(""),z2b=new md("",{providedIn:"root",factory:function(){return!0}}),XA=function(a,b){this.backend=a;this.injector=b;this.chain=null;this.pendingTasks=Yc(av);this.contributeToStability=Yc(z2b)};X(XA,h2b);
XA.prototype.handle=function(a){var b=this;this.chain===null&&(this.chain=Array.from(new Set([].concat(r(this.injector.get(x2b)),r(this.injector.get(y2b,[]))))).reduceRight(function(d,e){return dta(d,e,b.injector)},bta));if(this.contributeToStability){var c=this.pendingTasks.add();return this.chain(a,function(d){return b.backend.handle(d)}).pipe(gf(function(){return b.pendingTasks.remove(c)}))}return this.chain(a,function(d){return b.backend.handle(d)})};
XA.\u0275fac=function(a){return new (a||XA)(n(i2b),n(qu))};XA.\u0275prov=Hc({token:XA,factory:XA.\u0275fac});var A2b=/^\)\]\}',?\n/,YA=function(a){this.xhrFactory=a};
YA.prototype.handle=function(a){if(a.method==="JSONP")throw new Lc(-2800,!1);var b=this.xhrFactory;return(b.\u0275loadImpl?(0,W.from)(b.\u0275loadImpl()):(0,W.of)(null)).pipe(pf(function(){return new W.Observable(function(c){var d=b.build();d.open(a.method,a.urlWithParams);a.withCredentials&&(d.withCredentials=!0);a.headers.forEach(function(I,J){return d.setRequestHeader(I,J.join(","))});a.headers.has("Accept")||d.setRequestHeader("Accept","application/json, text/plain, */*");if(!a.headers.has("Content-Type")){var e=
q2b(a);e!==null&&d.setRequestHeader("Content-Type",e)}a.responseType&&(e=a.responseType.toLowerCase(),d.responseType=e!=="json"?e:"text");var f=p2b(a),h=null,k=function(){if(h!==null)return h;var I=d.statusText||"OK",J=new NA(d.getAllResponseHeaders()),N=("responseURL"in d&&d.responseURL?d.responseURL:/^X-Request-URL:/m.test(d.getAllResponseHeaders())?d.getResponseHeader("X-Request-URL"):null)||a.url;return h=new RA({headers:J,status:d.status,statusText:I,url:N})},q=function(){var I=k(),J=I.headers,
N=I.status,P=I.statusText;I=I.url;var U=null;N!==204&&(U=typeof d.response==="undefined"?d.responseText:d.response);N===0&&(N=U?200:0);var ba=N>=200&&N<300;if(a.responseType==="json"&&typeof U==="string"){var ma=U;U=U.replace(A2b,"");try{U=U!==""?JSON.parse(U):null}catch(na){U=ma,ba&&(ba=!1,U={error:na,text:U})}}ba?(c.next(new SA({body:U,headers:J,status:N,statusText:P,url:I||void 0})),c.complete()):c.error(new TA({error:U,headers:J,status:N,statusText:P,url:I||void 0}))},t=function(I){var J=k().url;
I=new TA({error:I,status:d.status||0,statusText:d.statusText||"Unknown Error",url:J||void 0});c.error(I)},w=!1,B=function(I){w||(c.next(k()),w=!0);var J={type:3,loaded:I.loaded};I.lengthComputable&&(J.total=I.total);a.responseType==="text"&&d.responseText&&(J.partialText=d.responseText);c.next(J)},E=function(I){var J={type:1,loaded:I.loaded};I.lengthComputable&&(J.total=I.total);c.next(J)};d.addEventListener("load",q);d.addEventListener("error",t);d.addEventListener("timeout",t);d.addEventListener("abort",
t);a.reportProgress&&(d.addEventListener("progress",B),f!==null&&d.upload&&d.upload.addEventListener("progress",E));d.send(f);c.next({type:0});return function(){d.removeEventListener("error",t);d.removeEventListener("abort",t);d.removeEventListener("load",q);d.removeEventListener("timeout",t);a.reportProgress&&(d.removeEventListener("progress",B),f!==null&&d.upload&&d.upload.removeEventListener("progress",E));d.readyState!==d.DONE&&d.abort()}})}))};YA.\u0275fac=function(a){return new (a||YA)(n($Vb))};
YA.\u0275prov=Hc({token:YA,factory:YA.\u0275fac});var eta=new md(""),B2b=new md("",{providedIn:"root",factory:function(){return"XSRF-TOKEN"}}),gta=new md("",{providedIn:"root",factory:function(){return"X-XSRF-TOKEN"}}),fta=function(){},ZA=function(a,b,c){this.doc=a;this.platform=b;this.cookieName=c;this.lastCookieString="";this.lastToken=null};
ZA.prototype.getToken=function(){if(this.platform==="server")return null;var a=this.doc.cookie||"";if(a!==this.lastCookieString){a:{var b=this.cookieName;b=encodeURIComponent(b);for(var c=l(a.split(";")),d=c.next();!d.done;d=c.next()){d=d.value;var e=d.indexOf("=");e=l(e==-1?[d,""]:[d.slice(0,e),d.slice(e+1)]);d=e.next().value;e=e.next().value;if(d.trim()===b){b=decodeURIComponent(e);break a}}b=null}this.lastToken=b;this.lastCookieString=a}return this.lastToken};
ZA.\u0275fac=function(a){return new (a||ZA)(n(gh),n(Be),n(B2b))};ZA.\u0275prov=Hc({token:ZA,factory:ZA.\u0275fac});var C2b=new md("");var $A=function(){};$A.\u0275fac=function(a){return new (a||$A)};$A.\u0275mod=dd({type:$A});
$A.\u0275inj=Ic({providers:[function(){for(var a=[UA,YA,XA,{provide:h2b,useExisting:XA},{provide:i2b,useFactory:function(){var d;return(d=Yc(VA,{optional:!0}))!=null?d:Yc(YA)}},{provide:x2b,useValue:hta,multi:!0},{provide:eta,useValue:!0},{provide:fta,useClass:ZA}],b=l(kd.apply(0,arguments)),c=b.next();!c.done;c=b.next())a.push.apply(a,r(c.value.\u0275providers));return{"\u0275providers":a}}({"\u0275kind":1,"\u0275providers":[{provide:C2b,useFactory:function(){var a=null;return function(b,c){if(a===
null){var d;a=((d=Yc(WA,{optional:!0}))!=null?d:[]).reduceRight(cta,bta)}var e=Yc(av);if(Yc(z2b)){var f=e.add();return a(b,c).pipe(gf(function(){return e.remove(f)}))}return a(b,c)}}},{provide:x2b,useExisting:C2b,multi:!0}]})]});new md("");new md("");var aB=function(){};aB.\u0275fac=function(a){return new (a||aB)};aB.\u0275prov=Hc({token:aB,factory:function(a){return a?new (a||aB):n(bB)},providedIn:"root"});var bB=function(a){this._doc=a};X(bB,aB);
bB.prototype.sanitize=function(a,b){if(b==null)return null;switch(a){case 0:return b;case 1:return Me(b,"HTML")?Le(b):Pia(this._doc,String(b)).toString();case 2:return Me(b,"Style")?Le(b):b;case 3:if(Me(b,"Script"))return Le(b);throw new Lc(5200,!1);case 4:return Me(b,"URL")?Le(b):Cia(String(b));case 5:if(Me(b,"ResourceURL"))return Le(b);throw new Lc(5201,!1);default:throw new Lc(5202,!1);}};bB.prototype.bypassSecurityTrustHtml=function(a){return new nUb(a)};bB.prototype.bypassSecurityTrustUrl=function(a){return new oUb(a)};
bB.prototype.bypassSecurityTrustResourceUrl=function(a){return new pUb(a)};bB.\u0275fac=function(a){return new (a||bB)(n(gh))};bB.\u0275prov=Hc({token:bB,factory:bB.\u0275fac,providedIn:"root"});var cB=function(a){this.decorated=new bB(a)};X(cB,aB);cB.prototype.sanitize=function(a,b){if(b==null)return null;if(b instanceof ku||b instanceof wc||b instanceof Bc){if(D2b(b,a))return this.decorated.sanitize(a,E2b(this,b));throw Error("Jb`"+yUb[a]+"`"+b);}return this.decorated.sanitize(a,b)};cB.prototype.bypassSecurityTrustHtml=function(){throw Error("Kb");};cB.prototype.bypassSecurityTrustUrl=function(){throw Error("Kb");};
cB.prototype.bypassSecurityTrustResourceUrl=function(){throw Error("Kb");};var E2b=function(a,b){if(b!=null){if(b instanceof Bc)return a.decorated.bypassSecurityTrustHtml(String(b));if(b instanceof wc)return a.decorated.bypassSecurityTrustUrl(xc(b));if(b instanceof ku)return a.decorated.bypassSecurityTrustResourceUrl(String(b))}return null},D2b=function(a,b){switch(b){case 1:return a instanceof Bc;case 4:return a instanceof wc||a instanceof ku;case 5:return a instanceof ku;case 3:return!1;default:return!1}};
cB.\u0275fac=function(a){return new (a||cB)(n(gh))};cB.\u0275prov=Hc({token:cB,factory:cB.\u0275fac});var F2b=[{provide:zUb,useExisting:aB},{provide:aB,useClass:cB}],dB=function(){};dB.\u0275fac=function(a){return new (a||dB)};dB.\u0275mod=dd({type:dB});dB.\u0275inj=Ic({providers:F2b,imports:[LA]});var eB=function(){},G2b=function(a){for(a=a.root;a!==void 0;){var b=void 0;var c=(b=a.data[Zh])!=null?b:c;a=a.children.find(function(d){return d.outlet==="primary"})}return c};eB.\u0275fac=function(a){return new (a||eB)};eB.\u0275prov=Hc({token:eB,factory:function(){return Yc(fB)},providedIn:"root"});var fB=function(a){this.title=a};X(fB,eB);fB.prototype.updateTitle=function(a){a=G2b(a);a!==void 0&&this.title.setTitle(a)};fB.\u0275fac=function(a){return new (a||fB)(n(MA))};
fB.\u0275prov=Hc({token:fB,factory:fB.\u0275fac,providedIn:"root"});var gB=new md("",{providedIn:"root",factory:function(){return{}}});var lta=new md(""),hB=function(){this.componentLoaders=new WeakMap;this.childrenLoaders=new WeakMap;Yc(Av)};
hB.prototype.loadComponent=function(a){var b=this;if(this.componentLoaders.get(a))return this.componentLoaders.get(a);if(a._loadedComponent)return(0,W.of)(a._loadedComponent);if(this.onLoadStartListener)this.onLoadStartListener(a);var c=Ph(a.loadComponent()).pipe(y(ita),sf(function(d){if(b.onLoadEndListener)b.onLoadEndListener(a);a._loadedComponent=d}),gf(function(){b.componentLoaders.delete(a)}));c=(new W.ConnectableObservable(c,function(){return new W.Subject})).pipe(ee());this.componentLoaders.set(a,
c);return c};hB.prototype.loadChildren=function(a,b){var c=this;if(this.childrenLoaders.get(b))return this.childrenLoaders.get(b);if(b._loadedRoutes)return(0,W.of)({routes:b._loadedRoutes,injector:b._loadedInjector});if(this.onLoadStartListener)this.onLoadStartListener(b);a=mta(b,a,this.onLoadEndListener).pipe(gf(function(){c.childrenLoaders.delete(b)}));a=(new W.ConnectableObservable(a,function(){return new W.Subject})).pipe(ee());this.childrenLoaders.set(b,a);return a};
hB.\u0275fac=function(a){return new (a||hB)};hB.\u0275prov=Hc({token:hB,factory:hB.\u0275fac,providedIn:"root"});var iB=function(){};iB.\u0275fac=function(a){return new (a||iB)};iB.\u0275prov=Hc({token:iB,factory:function(){return Yc(jB)},providedIn:"root"});var jB=function(){};jB.prototype.extract=function(a){return a};jB.prototype.merge=function(a){return a};jB.\u0275fac=function(a){return new (a||jB)};jB.\u0275prov=Hc({token:jB,factory:jB.\u0275fac,providedIn:"root"});var H2b=new md(""),nta=new md("");var I2b=new md(""),kB=function(){var a=this;this.lastSuccessfulNavigation=this.currentTransition=this.currentNavigation=null;this.events=new W.Subject;this.transitionAbortSubject=new W.Subject;this.configLoader=Yc(hB);this.environmentInjector=Yc(qu);this.urlSerializer=Yc(pA);this.rootContexts=Yc(uA);this.location=Yc(Zv);this.inputBindingEnabled=Yc(i1b,{optional:!0})!==null;this.titleStrategy=Yc(eB);this.options=Yc(gB,{optional:!0})||{};this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||
"emptyOnly";this.urlHandlingStrategy=Yc(iB);this.createViewTransition=Yc(H2b,{optional:!0});this.navigationErrorHandler=Yc(I2b,{optional:!0});this.navigationId=0;this.afterPreactivation=function(){return(0,W.of)(void 0)};this.rootComponentType=null;this.configLoader.onLoadEndListener=function(b){return a.events.next(new Y0b(b))};this.configLoader.onLoadStartListener=function(b){return a.events.next(new X0b(b))}};kB.prototype.complete=function(){var a;(a=this.transitions)==null||a.complete()};
var J2b=function(a,b){var c=++a.navigationId,d;(d=a.transitions)==null||d.next(Object.assign({},a.transitions.value,b,{id:c}))},N2b=function(a,b,c,d){a.transitions=new W.BehaviorSubject({id:0,currentUrlTree:c,currentRawUrl:c,extractedUrl:a.urlHandlingStrategy.extract(c),urlAfterRedirects:a.urlHandlingStrategy.extract(c),rawUrl:c,extras:{},resolve:function(){},reject:function(){},promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:d.snapshot,targetSnapshot:null,currentRouterState:d,
targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null});return a.transitions.pipe(te(function(e){return e.id!==0}),y(function(e){return Object.assign({},e,{extractedUrl:a.urlHandlingStrategy.extract(e.rawUrl)})}),pf(function(e){var f=!1,h=!1;return(0,W.of)(e).pipe(pf(function(k){if(a.navigationId>e.id)return K2b(a,e,1),W.EMPTY;a.currentTransition=e;a.currentNavigation={id:k.id,initialUrl:k.rawUrl,extractedUrl:k.extractedUrl,trigger:k.source,extras:k.extras,
previousNavigation:a.lastSuccessfulNavigation?Object.assign({},a.lastSuccessfulNavigation,{previousNavigation:null}):null};var q=!b.navigated||L2b(a)||M2b(a),t,w=(t=k.extras.onSameUrlNavigation)!=null?t:b.onSameUrlNavigation;return q||w==="reload"?(0,W.of)(k).pipe(pf(function(B){var E,I=(E=a.transitions)==null?void 0:E.getValue();a.events.next(new Mn(B.id,a.urlSerializer.serialize(B.extractedUrl),B.source,B.restoredState));var J;return I!==((J=a.transitions)==null?void 0:J.getValue())?W.EMPTY:Promise.resolve(B)}),
Isa(a.environmentInjector,a.configLoader,a.rootComponentType,b.config,a.urlSerializer,a.paramsInheritanceStrategy),sf(function(B){e.targetSnapshot=B.targetSnapshot;e.urlAfterRedirects=B.urlAfterRedirects;a.currentNavigation=Object.assign({},a.currentNavigation,{finalUrl:B.urlAfterRedirects});B=new tA(B.id,a.urlSerializer.serialize(B.extractedUrl),a.urlSerializer.serialize(B.urlAfterRedirects),B.targetSnapshot);a.events.next(B)})):(a.events.next(new ni(k.id,a.urlSerializer.serialize(k.rawUrl),"",0)),
k.resolve(!1),W.EMPTY)}),sf(function(k){k=new T0b(k.id,a.urlSerializer.serialize(k.extractedUrl),a.urlSerializer.serialize(k.urlAfterRedirects),k.targetSnapshot);a.events.next(k)}),y(function(k){var q=Object,t=q.assign;var w=k.currentSnapshot;var B=k.targetSnapshot._root;w=gi(B,w?w._root:null,a.rootContexts,[B.value]);return a.currentTransition=e=t.call(q,{},k,{guards:w})}),nsa(a.environmentInjector,function(k){return a.events.next(k)}),sf(function(k){if((e.guardsResult=k.guardsResult)&&typeof k.guardsResult!==
"boolean")throw bsa(k.guardsResult);k=new U0b(k.id,a.urlSerializer.serialize(k.extractedUrl),a.urlSerializer.serialize(k.urlAfterRedirects),k.targetSnapshot,!!k.guardsResult);a.events.next(k)}),te(function(k){return k.guardsResult?!0:(K2b(a,k,3),!1)}),Osa(function(k){if(k.guards.canActivateChecks.length)return(0,W.of)(k).pipe(sf(function(q){q=new V0b(q.id,a.urlSerializer.serialize(q.extractedUrl),a.urlSerializer.serialize(q.urlAfterRedirects),q.targetSnapshot);a.events.next(q)}),pf(function(q){var t=
!1;return(0,W.of)(q).pipe(Lsa(a.paramsInheritanceStrategy,a.environmentInjector),sf({next:function(){return t=!0},complete:function(){t||K2b(a,q,2)}}))}),sf(function(q){q=new W0b(q.id,a.urlSerializer.serialize(q.extractedUrl),a.urlSerializer.serialize(q.urlAfterRedirects),q.targetSnapshot);a.events.next(q)}))}),Osa(function(k){var q=function(t){var w=[],B;((B=t.routeConfig)==null?0:B.loadComponent)&&!t.routeConfig._loadedComponent&&w.push(a.configLoader.loadComponent(t.routeConfig).pipe(sf(function(I){t.component=
I}),y(function(){})));B=l(t.children);for(var E=B.next();!E.done;E=B.next())w.push.apply(w,r(q(E.value)));return w};return(0,W.combineLatest)(q(k.targetSnapshot.root)).pipe($ja(null),ef())}),Osa(function(){return a.afterPreactivation()}),pf(function(){var k=e,q=k.currentSnapshot;k=k.targetSnapshot;var t,w=(t=a.createViewTransition)==null?void 0:t.call(a,a.environmentInjector,q.root,k.root);return w?(0,W.from)(w).pipe(y(function(){return e})):(0,W.of)(e)}),y(function(k){var q=k.targetSnapshot;var t=
k.currentRouterState;t=$ra(b.routeReuseStrategy,q._root,t?t._root:void 0);q=new g1b(t,q);a.currentTransition=e=Object.assign({},k,{targetRouterState:q});a.currentNavigation.targetRouterState=q;return e}),sf(function(){a.events.next(new b1b)}),p1b(a.rootContexts,b.routeReuseStrategy,function(k){return a.events.next(k)},a.inputBindingEnabled),ef(),sf({next:function(k){f=!0;a.lastSuccessfulNavigation=a.currentNavigation;a.events.next(new ki(k.id,a.urlSerializer.serialize(k.extractedUrl),a.urlSerializer.serialize(k.urlAfterRedirects)));
var q;(q=a.titleStrategy)==null||q.updateTitle(k.targetRouterState.snapshot);k.resolve(!0)},complete:function(){f=!0}}),qf(a.transitionAbortSubject.pipe(sf(function(k){throw k;}))),gf(function(){f||h||K2b(a,e,1);var k;((k=a.currentTransition)==null?void 0:k.id)===e.id&&(a.currentNavigation=null,a.currentTransition=null)}),$e(function(k){h=!0;if(csa(k))a.events.next(new li(e.id,a.urlSerializer.serialize(e.extractedUrl),k.message,k.cancellationCode)),csa(k)&&Uh(k.url)?a.events.next(new c1b(k.url,k.navigationBehaviorOptions)):
e.resolve(!1);else{var q,t=new mi(e.id,a.urlSerializer.serialize(e.extractedUrl),k,(q=e.targetSnapshot)!=null?q:void 0);try{qd(a.environmentInjector,function(){var B;return(B=a.navigationErrorHandler)==null?void 0:B.call(a,t)});a.events.next(t);var w=b.errorHandler(k);e.resolve(!!w)}catch(B){a.options.resolveNavigationPromiseOnError?e.resolve(!1):e.reject(B)}}return W.EMPTY}))}))},K2b=function(a,b,c){c=new li(b.id,a.urlSerializer.serialize(b.extractedUrl),"",c);a.events.next(c);b.resolve(!1)},L2b=
function(a){var b,c;return((b=a.currentTransition)==null?void 0:b.extractedUrl.toString())!==((c=a.currentTransition)==null?void 0:c.currentUrlTree.toString())},M2b=function(a){var b,c;return a.urlHandlingStrategy.extract(a.urlSerializer.parse(a.location.path(!0))).toString()!==((b=a.currentTransition)==null?void 0:b.extractedUrl.toString())&&!((c=a.currentTransition)==null?0:c.extras.skipLocationChange)};
ea.Object.defineProperties(kB.prototype,{hasRequestedNavigation:{configurable:!0,enumerable:!0,get:function(){return this.navigationId!==0}}});kB.\u0275fac=function(a){return new (a||kB)};kB.\u0275prov=Hc({token:kB,factory:kB.\u0275fac,providedIn:"root"});var lB=function(){};lB.\u0275fac=function(a){return new (a||lB)};lB.\u0275prov=Hc({token:lB,factory:function(){return Yc(mB)},providedIn:"root"});var O2b=function(){};O2b.prototype.store=function(){};O2b.prototype.shouldReuseRoute=function(a,b){return a.routeConfig===b.routeConfig};var mB=function(){};X(mB,O2b);mB.\u0275fac=function(){var a;return function(b){return(a||(a=Od(mB)))(b||mB)}}();mB.\u0275prov=Hc({token:mB,factory:mB.\u0275fac,providedIn:"root"});var nB=function(){};nB.\u0275fac=function(a){return new (a||nB)};nB.\u0275prov=Hc({token:nB,factory:function(){return Yc(oB)},providedIn:"root"});
var oB=function(){this.location=Yc(Zv);this.urlSerializer=Yc(pA);this.options=Yc(gB,{optional:!0})||{};this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";this.urlHandlingStrategy=Yc(iB);this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";this.rawUrlTree=this.currentUrlTree=new Th;this.currentPageId=0;this.lastSuccessfulId=-1;var a=new h1b("",new $h(new wA([],{},{},"",{},"primary",null,null,{}),[])),b=new ai(new W.BehaviorSubject([new Xh("",{})]),new W.BehaviorSubject({}),
new W.BehaviorSubject({}),new W.BehaviorSubject(""),new W.BehaviorSubject({}),"primary",null,a.root);b.snapshot=a.root;this.routerState=new g1b(new $h(b,[]),a);this.stateMemento=P2b(this)};X(oB,nB);oB.prototype.restoredState=function(){return this.location.getState()};
var P2b=function(a){return{rawUrlTree:a.rawUrlTree,currentUrlTree:a.currentUrlTree,routerState:a.routerState}},Q2b=function(a,b){return a.location.subscribe(function(c){c.type==="popstate"&&b(c.url,c.state)})},S2b=function(a,b,c){b=a.urlSerializer.serialize(b);var d=a.location;var e=e===void 0?"":e;d.path()==d.normalize(b+Ug(e))||c.extras.replaceUrl?(c=Object.assign({},c.extras.state,R2b(a,c.id,a.browserPageId)),a.location.replaceState(b,"",c)):(c=Object.assign({},c.extras.state,R2b(a,c.id,a.browserPageId+
1)),a.location.go(b,"",c))},U2b=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),T2b(a))):a.canceledNavigationResolution==="replace"&&(c&&a.resetState(b),T2b(a))};
oB.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 T2b=function(a){a.location.replaceState(a.urlSerializer.serialize(a.rawUrlTree),"",R2b(a,a.lastSuccessfulId,a.currentPageId))},R2b=function(a,b,c){return a.canceledNavigationResolution==="computed"?{navigationId:b,"\u0275routerPageId":c}:{navigationId:b}};
ea.Object.defineProperties(oB.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}}});oB.\u0275fac=function(){var a;return function(b){return(a||(a=Od(oB)))(b||oB)}}();oB.\u0275prov=Hc({token:oB,factory:oB.\u0275fac,providedIn:"root"});var V2b={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},W2b={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},pB=function(){var a=this;this.disposed=!1;this.console=Yc($u);this.stateManager=Yc(nB);this.options=Yc(gB,{optional:!0})||{};this.pendingTasks=Yc(av);this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";this.navigationTransitions=Yc(kB);this.urlSerializer=Yc(pA);this.location=Yc(Zv);this.urlHandlingStrategy=Yc(iB);this._events=
new W.Subject;this.errorHandler=this.options.errorHandler||rta;this.navigated=!1;this.routeReuseStrategy=Yc(lB);this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";var b,c;this.config=(c=(b=Yc(lta,{optional:!0}))==null?void 0:b.flat())!=null?c:[];Yc(i1b,{optional:!0});this.eventsSubscription=new W.Subscription;this.config=this.config.map(esa);this.navigated=!1;N2b(this.navigationTransitions,this,this.currentUrlTree,this.routerState).subscribe({error:function(d){a.console.warn(d)}});
X2b(this)},X2b=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 Mn)f.stateMemento=P2b(f);else if(c instanceof ni)f.rawUrlTree=e.initialUrl;else if(c instanceof tA){if(f.urlUpdateStrategy==="eager"&&!e.extras.skipLocationChange){var h=f.urlHandlingStrategy.merge(e.finalUrl,e.initialUrl);S2b(f,h,e)}}else c instanceof b1b?(f.currentUrlTree=
e.finalUrl,f.rawUrlTree=f.urlHandlingStrategy.merge(e.finalUrl,e.initialUrl),f.routerState=e.targetRouterState,f.urlUpdateStrategy==="deferred"&&(e.extras.skipLocationChange||S2b(f,f.rawUrlTree,e))):c instanceof li&&(c.code===3||c.code===2)?U2b(f,e):c instanceof mi?U2b(f,e,!0):c instanceof ki&&(f.lastSuccessfulId=c.id,f.currentPageId=f.browserPageId);if(c instanceof li&&c.code!==0&&c.code!==1)a.navigated=!0;else if(c instanceof ki)a.navigated=!0;else if(c instanceof c1b){var k=c.navigationBehaviorOptions,
q=a.urlHandlingStrategy.merge(c.url,d.currentRawUrl),t=Object.assign({},{info:d.extras.info,skipLocationChange:d.extras.skipLocationChange,replaceUrl:d.extras.replaceUrl||a.urlUpdateStrategy==="eager"||d.source!=="imperative"},k);Y2b(a,q,"imperative",null,t,{resolve:d.resolve,reject:d.reject,promise:d.promise})}}c instanceof b1b||c instanceof c1b||a._events.next(c)}catch(w){a.navigationTransitions.transitionAbortSubject.next(w)}});a.eventsSubscription.add(b)};
pB.prototype.initialNavigation=function(){Z2b(this);this.navigationTransitions.hasRequestedNavigation||$2b(this,this.location.path(!0),"imperative",this.stateManager.restoredState())};
var Z2b=function(a){a.nonRouterCurrentEntryChangeSubscription!=null||(a.nonRouterCurrentEntryChangeSubscription=Q2b(a.stateManager,function(b,c){setTimeout(function(){$2b(a,b,"popstate",c)},0)}))},$2b=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=a3b(a,b);Y2b(a,b,c,f,e)};pB.prototype.ngOnDestroy=function(){this.dispose()};
pB.prototype.dispose=function(){this.navigationTransitions.complete();this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0);this.disposed=!0;this.eventsSubscription.unsubscribe()};
var qB=function(a,b,c){var d=c=c===void 0?{}:c;c=d.relativeTo;var e=d.queryParams,f=d.fragment;f=d.preserveFragment?a.currentUrlTree.fragment:f;switch(d.queryParamsHandling){case "merge":d=Object.assign({},a.currentUrlTree.queryParams,e);break;case "preserve":d=a.currentUrlTree.queryParams;break;default:d=e||null}d!==null&&(d=b3b(d));try{var h=Era(c?c.snapshot:a.routerState.snapshot.root)}catch(k){if(typeof b[0]!=="string"||b[0][0]!=="/")b=[];h=a.currentUrlTree.root}return Kra(h,b,d,f!=null?f:null)},
qr=function(a,b,c){c=c===void 0?{skipLocationChange:!1}:c;b=Uh(b)?b:a3b(a,b);b=a.urlHandlingStrategy.merge(b,a.rawUrlTree);return Y2b(a,b,"imperative",null,c)};pB.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 Lc(4008,!1);return qr(this,qB(this,a,b),b)};var a3b=function(a,b){try{return a.urlSerializer.parse(b)}catch(c){return a.urlSerializer.parse("/")}};
pB.prototype.isActive=function(a,b){var c;b===!0?c=Object.assign({},V2b):b===!1?c=Object.assign({},W2b):c=b;if(Uh(a))return lra(this.currentUrlTree,a,c);a=a3b(this,a);return lra(this.currentUrlTree,a,c)};
var b3b=function(a){return Object.entries(a).reduce(function(b,c){var d=l(c);c=d.next().value;d=d.next().value;d!==null&&d!==void 0&&(b[c]=d);return b},{})},Y2b=function(a,b,c,d,e,f){if(a.disposed)return Promise.resolve(!1);if(f){var h=f.resolve;var k=f.reject;f=f.promise}else f=new Promise(function(t,w){h=t;k=w});var q=a.pendingTasks.add();qta(a,function(){queueMicrotask(function(){return a.pendingTasks.remove(q)})});J2b(a.navigationTransitions,{source:c,restoredState:d,currentUrlTree:a.currentUrlTree,
currentRawUrl:a.currentUrlTree,rawUrl:b,extras:e,resolve:h,reject:k,promise:f,currentSnapshot:a.routerState.snapshot,currentRouterState:a.routerState});return f.catch(function(t){return Promise.reject(t)})};
ea.Object.defineProperties(pB.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}}});pB.\u0275fac=function(a){return new (a||pB)};pB.\u0275prov=Hc({token:pB,factory:pB.\u0275fac,providedIn:"root"});var rB=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.commands=this.href=null;this.onChanges=new W.Subject;this.replaceUrl=this.skipLocationChange=this.preserveFragment=!1;var k;b=(k=e.nativeElement.tagName)==null?void 0:k.toLowerCase();(this.isAnchorElement=b==="a"||b==="area")?this.subscription=a.events.subscribe(function(q){q instanceof ki&&c3b(h)}):d3b(this,"0")},d3b=function(a,b){a.tabIndexAttribute!=
null||a.isAnchorElement||e3b(a,"tabindex",b)};rB.prototype.ngOnChanges=function(){this.isAnchorElement&&c3b(this);this.onChanges.next(this)};rB.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;qr(this.router,f,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info});return!this.isAnchorElement};
rB.prototype.ngOnDestroy=function(){var a;(a=this.subscription)==null||a.unsubscribe()};var c3b=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"?Wia:Qe)(a.href));e3b(a,"href",b)},e3b=function(a,b,c){var d=a.renderer;a=a.el.nativeElement;c!==null?d.setAttribute(a,b,c):d.removeAttribute(a,b)};
ea.Object.defineProperties(rB.prototype,{routerLink:{configurable:!0,enumerable:!0,set:function(a){a!=null?(this.commands=Array.isArray(a)?a:[a],d3b(this,"0")):(this.commands=null,d3b(this,null))}},urlTree:{configurable:!0,enumerable:!0,get:function(){return this.commands===null?null:qB(this.router,this.commands,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}}});
rB.\u0275fac=function(a){return new (a||rB)(A(pB),A(ai),Jd("tabindex"),A(wu),A(Rd),A(Wv))};
rB.\u0275dir=fd({type:rB,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&&Bf("target",b.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",Gg],skipLocationChange:[2,"skipLocationChange","skipLocationChange",
Gg],replaceUrl:[2,"replaceUrl","replaceUrl",Gg],routerLink:"routerLink"},standalone:!0,features:[Af,td]});var sB=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 Xu;this.routerEventsSubscription=a.events.subscribe(function(h){h instanceof ki&&f.update()})};sB.prototype.ngAfterContentInit=function(){var a=this;(0,W.of)(this.links.changes,(0,W.of)(null)).pipe(qe()).subscribe(function(){a.update();f3b(a)})};
var f3b=function(a){var b;(b=a.linkInputChangesSubscription)==null||b.unsubscribe();b=[].concat(r(a.links.toArray()),[a.link]).filter(function(c){return!!c}).map(function(c){return c.onChanges});a.linkInputChangesSubscription=(0,W.from)(b).pipe(qe()).subscribe(function(c){a._isActive!==g3b(a,a.router)(c)&&a.update()})};sB.prototype.ngOnChanges=function(){this.update()};
sB.prototype.ngOnDestroy=function(){this.routerEventsSubscription.unsubscribe();var a;(a=this.linkInputChangesSubscription)==null||a.unsubscribe()};
sB.prototype.update=function(){var a=this;this.links&&this.router.navigated&&queueMicrotask(function(){var b=h3b(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 g3b=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}},h3b=function(a){var b=g3b(a,a.router);return a.link&&b(a.link)||a.links.some(b)};
ea.Object.defineProperties(sB.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})}}});sB.\u0275fac=function(a){return new (a||sB)(A(pB),A(Rd),A(wu),A(Ig),A(rB,8))};
sB.\u0275dir=fd({type:sB,selectors:[["","routerLinkActive",""]],contentQueries:function(a,b,c){a&1&&gg(c,rB,5);if(a&2){var d;jg(d=kg())&&(b.links=d)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[td]});var i3b=function(){},tB=function(a,b,c,d,e){this.router=a;this.injector=c;this.preloadingStrategy=d;this.loader=e},j3b=function(a){a.subscription=a.router.events.pipe(te(function(b){return b instanceof ki}),pe(function(){return a.preload()},1)).subscribe(function(){})};tB.prototype.preload=function(){return k3b(this,this.injector,this.router.config)};tB.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe()};
var k3b=function(a,b,c){var d=[];c=l(c);for(var e=c.next();!e.done;e=c.next()){e=e.value;e.providers&&!e._injector&&(e._injector=Kja(e.providers,b,"Route: "+e.path));var f=void 0,h=(f=e._injector)!=null?f:b,k=void 0;f=(k=e._loadedInjector)!=null?k:h;(e.loadChildren&&!e._loadedRoutes&&e.canLoad===void 0||e.loadComponent&&!e._loadedComponent)&&d.push(l3b(a,h,e));if(e.children||e._loadedRoutes)h=void 0,d.push(k3b(a,f,(h=e.children)!=null?h:e._loadedRoutes))}return(0,W.from)(d).pipe(qe())},l3b=function(a,
b,c){return a.preloadingStrategy.preload(c,function(){var d=(c.loadChildren&&c.canLoad===void 0?a.loader.loadChildren(b,c):(0,W.of)(null)).pipe(pe(function(f){if(f===null)return(0,W.of)(void 0);c._loadedRoutes=f.routes;c._loadedInjector=f.injector;var h;return k3b(a,(h=f.injector)!=null?h:b,f.routes)}));if(c.loadComponent&&!c._loadedComponent){var e=a.loader.loadComponent(c);return(0,W.from)([d,e]).pipe(qe())}return d})};tB.\u0275fac=function(a){return new (a||tB)(n(pB),n(Av),n(qu),n(i3b),n(hB))};
tB.\u0275prov=Hc({token:tB,factory:tB.\u0275fac,providedIn:"root"});var m3b=new md(""),uB=function(a,b,c,d,e){e=e===void 0?{}:e;this.urlSerializer=a;this.transitions=b;this.viewportScroller=c;this.zone=d;this.options=e;this.lastId=0;this.lastSource="imperative";this.restoredId=0;this.store={};this.environmentInjector=Yc(qu);var f;(f=e).scrollPositionRestoration||(f.scrollPositionRestoration="disabled");var h;(h=e).anchorScrolling||(h.anchorScrolling="disabled")};
uB.prototype.init=function(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual");this.routerEventsSubscription=n3b(this);this.scrollEventsSubscription=o3b(this)};
var n3b=function(a){return a.transitions.events.subscribe(function(b){b instanceof Mn?(a.store[a.lastId]=a.viewportScroller.getScrollPosition(),a.lastSource=b.navigationTrigger,a.restoredId=b.restoredState?b.restoredState.navigationId:0):b instanceof ki?(a.lastId=b.id,p3b(a,a.urlSerializer.parse(b.urlAfterRedirects).fragment)):b instanceof ni&&b.code===0&&(a.lastSource=void 0,a.restoredId=0,p3b(a,a.urlSerializer.parse(b.url).fragment))})},o3b=function(a){return a.transitions.events.subscribe(function(b){b instanceof
a1b&&(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]))})},p3b=function(a,b){a.zone.runOutsideAngular(function(){return fe(function(c){if(c.nextAddress==1)return he(c,new Promise(function(d){setTimeout(function(){d()});
Fe(function(){d()},{injector:a.environmentInjector})}),2);a.zone.run(function(){a.transitions.events.next(new a1b(a.lastSource==="popstate"?a.store[a.restoredId]:null,b))});le(c)})})};uB.prototype.ngOnDestroy=function(){var a;(a=this.routerEventsSubscription)==null||a.unsubscribe();var b;(b=this.scrollEventsSubscription)==null||b.unsubscribe()};uB.\u0275fac=function(){Ge()};uB.\u0275prov=Hc({token:uB,factory:uB.\u0275fac});new md("",{providedIn:"root",factory:function(){return!1}});var q3b=new md("",{factory:function(){return new W.Subject}}),r3b=new md("",{providedIn:"root",factory:function(){return 1}}),s3b=new md("");var t3b=new md("ROUTER_FORROOT_GUARD"),u3b=[Zv,{provide:pA,useClass:qA},pB,uA,{provide:ai,useFactory:function(a){return a.routerState.root},deps:[pB]},hB,[]],vB=function(){};vB.\u0275fac=function(a){return new (a||vB)(n(t3b,8))};vB.\u0275mod=dd({type:vB});vB.\u0275inj=Ic({});var v3b=new md("");var wB=function(){rB.apply(this,arguments)};X(wB,rB);ea.Object.defineProperties(wB.prototype,{routerLinkObj:{configurable:!0,enumerable:!0,set:function(a){this.queryParams=a.queryParams;this.routerLink=a.path;this.fragment=a.fragment}}});wB.\u0275fac=function(){var a;return function(b){return(a||(a=Od(wB)))(b||wB)}}();wB.\u0275dir=fd({type:wB,selectors:[["a","routerLinkObj",""],["area","routerLinkObj",""]],inputs:{routerLinkObj:"routerLinkObj"},features:[zf]});var xB=function(){};
xB.\u0275fac=function(a){return new (a||xB)};xB.\u0275mod=dd({type:xB});xB.\u0275inj=Ic({imports:[vB]});var sta;var w3b=function(a,b){this.url=a;this.svgText=null;this.options=b},yB=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},x3b=function(a,b){return a._fontCssClassesByAlias.get(b)||b},y3b=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):(0,W.throwError)(Error("Lb`"+d))};g=yB.prototype;g.ngOnDestroy=function(){this._resolvers=[];this._svgIconConfigs.clear();this._iconSetConfigs.clear();this._cachedIconsByUrl.clear()};
g._getSvgFromConfig=function(a){return a.svgText?(0,W.of)(this._svgElementFromConfig(a).cloneNode(!0)):this._loadSvgIconFromConfig(a).pipe(y(function(b){return b.cloneNode(!0)}))};
g._getSvgFromIconSetConfigs=function(a,b){var c=this,d=this._extractIconWithNameFromAnySet(a,b);if(d)return(0,W.of)(d);d=b.filter(function(e){return!e.svgText}).map(function(e){return c._loadSvgIconSetFromConfig(e).pipe($e(function(f){f="Loading icon set URL: "+c._sanitizer.sanitize(5,e.url)+" failed: "+f.message;c._errorHandler.handleError(Error(f));return(0,W.of)(null)}))});return(0,W.forkJoin)(d).pipe(y(function(){var e=c._extractIconWithNameFromAnySet(a,b);if(!e)throw Error("Lb`"+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(sf(function(c){return a.svgText=c}),y(function(){return b._svgElementFromConfig(a)}))};
g._loadSvgIconSetFromConfig=function(a){return a.svgText?(0,W.of)(null):this._fetchIcon(a).pipe(sf(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(uta("<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("Ob");return a};g._toSvgElement=function(a){for(var b=this._svgElementFromString(uta("<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("Mb");if(c==null)throw Error("Pb`"+c);var f=this._sanitizer.sanitize(5,c);if(!f)throw Error("Nb`"+c);if(c=this._inProgressUrlFetches.get(f))return c;c=this._httpClient.get(f,{responseType:"text",withCredentials:a}).pipe(y(function(h){return uta(h)}),gf(function(){return b._inProgressUrlFetches.delete(f)}),uka());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 w3b(d.url,d.options):new w3b(d)}};yB.\u0275fac=function(a){return new (a||yB)(n(UA,8),n(aB),n(gh,8),n(Ue))};yB.\u0275prov=Hc({token:yB,factory:yB.\u0275fac,providedIn:"root"});new ru;new su;new ru;new ru;var z3b=new md("MAT_ICON_DEFAULT_OPTIONS"),A3b=new md("mat-icon-location",{providedIn:"root",factory:vta}),B3b="clip-path color-profile src cursor fill filter marker marker-start marker-mid marker-end mask stroke".split(" "),C3b=B3b.map(function(a){return"["+a+"]"}).join(", "),D3b=/^url\(['"]?#(.*?)['"]?\)$/,zB=function(a,b,c,d,e,f){this._elementRef=a;this._iconRegistry=b;this._location=d;this._errorHandler=e;this.inline=!1;this._previousFontSetClass=[];this._currentIconFetch=W.Subscription.EMPTY;
f&&(f.color&&(this.color=this._defaultColor=f.color),f.fontSet&&(this.fontSet=f.fontSet));c||a.nativeElement.setAttribute("aria-hidden","true")};g=zB.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("Qb`"+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?x3b(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(C3b),c=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(a={i$jscomp$593:0};a.i$jscomp$593<b.length;a={i$jscomp$593:a.i$jscomp$593},a.i$jscomp$593++)B3b.forEach(function(d){return function(e){var f=b[d.i$jscomp$593],h=f.getAttribute(e);if(h=h?h.match(D3b):null){var k=c.get(f);k||(k=[],c.set(f,k));k.push({name:e,value:h[1]})}}}(a))};
g._updateSvgIcon=function(a){var b=this;this._svgName=this._svgNamespace=null;this._currentIconFetch.unsubscribe();if(a){a=l(this._splitIconName(a));var c=a.next().value,d=a.next().value;c&&(this._svgNamespace=c);d&&(this._svgName=d);this._currentIconFetch=y3b(this._iconRegistry,d,c).pipe(ef()).subscribe(function(e){return b._setSvgElement(e)},function(e){b._errorHandler.handleError(Error("Rb`"+c+"`"+d+"`"+e.message))})}};
ea.Object.defineProperties(zB.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())}}});zB.\u0275fac=function(a){return new (a||zB)(A(Rd),A(yB),Jd("aria-hidden"),A(A3b),A(Ue),A(z3b,8))};
zB.\u0275cmp=p({type:zB,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(a,b){a&2&&(Bf("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),Lf(b.color?"mat-"+b.color:""),Kf("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",Gg],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],standalone:!0,features:[Af,sg],ngContentSelectors:["*"],decls:1,vars:0,template:function(a){a&1&&(Xf(),Yf(0))},styles:["mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color)}.mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}\n"],
encapsulation:2,changeDetection:0});var AB=function(){};AB.\u0275fac=function(a){return new (a||AB)};AB.\u0275mod=dd({type:AB});AB.\u0275inj=Ic({imports:[zx,zx]});var BB=function(){};BB.\u0275fac=function(a){return new (a||BB)};BB.\u0275mod=dd({type:BB});BB.\u0275inj=Ic({imports:[Tv,AB,vB,xB]});var CB=function(){};CB.\u0275fac=function(a){return new (a||CB)};CB.\u0275mod=dd({type:CB});CB.\u0275inj=Ic({imports:[BB]});var E3b={ACCESS_LEVEL_UNSPECIFIED:"ACCESS_LEVEL_UNSPECIFIED",INTERNAL:"INTERNAL",EXTERNAL_PARTNER:"EXTERNAL_PARTNER",EXTERNAL_PUBLIC:"EXTERNAL_PUBLIC"},aua={0:"ACCESS_LEVEL_UNSPECIFIED",1:"INTERNAL",2:"EXTERNAL_PARTNER",3:"EXTERNAL_PUBLIC"},cua={ACCESS_LEVEL_UNSPECIFIED:0,INTERNAL:1,EXTERNAL_PARTNER:2,EXTERNAL_PUBLIC:3},Sya={ACTION_TYPE_UNSPECIFIED:0,ADD:1,REMOVE:2},yEa={0:"CATEGORY_UNSPECIFIED",1:"OWNER",2:"COLLABORATOR",3:"FOLLOWING"},CEa={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"},F3b={DAY_TYPE_UNSPECIFIED:"DAY_TYPE_UNSPECIFIED",CALENDAR:"CALENDAR",BUSINESS:"BUSINESS"},kva={0:"DAY_TYPE_UNSPECIFIED",1:"CALENDAR",2:"BUSINESS"},mva={DAY_TYPE_UNSPECIFIED:0,CALENDAR:1,BUSINESS:2},Bva={0:"DELETION_REASON_UNSPECIFIED",1:"USER_REQUEST",2:"ABUSE",3:"RESTRICTED",4:"RETENTION",5:"ACCOUNT_CAPABILITIES"},Iva={DELETION_REASON_UNSPECIFIED:0,USER_REQUEST:1,ABUSE:2,RESTRICTED:3,RETENTION:4,ACCOUNT_CAPABILITIES:5},
G3b={COMFORTABLE:"COMFORTABLE",COZY:"COZY",COMPACT:"COMPACT"},Ixa={1:"COMFORTABLE",2:"COZY",3:"COMPACT"},Zxa={COMFORTABLE:1,COZY:2,COMPACT:3},PEa={0:"NO_DETAILED_TYPE",1:"UNRESTRICTED_GOOGLER",2:"TVC",3:"EXTERNAL",4:"PUBLIC",5:"ISSUE_CREATION_ONLY"},xEa={0:"DRIVE_FILE_TYPE_UNSPECIFIED",1:"DOCUMENT",2:"SPREADSHEET",3:"PRESENTATION"},zEa={0:"DRIVE_SIGNAL_UNSPECIFIED",1:"TAGGED_IN_COMMENT",2:"REQUIRES_APPROVAL",3:"COMMENTS_REQUIRE_ATTENTION"},Mua={0:"EDIT_SIGNIFICANCE_UNSPECIFIED",1:"SILENT",2:"MINOR",
3:"MAJOR",4:"BULK",5:"CLOSING"},Qua={EDIT_SIGNIFICANCE_UNSPECIFIED:0,SILENT:1,MINOR:2,MAJOR:3,BULK:4,CLOSING:5},bl={0:"UNKNOWN_PRIORITY",4:"CLOSURE_ONLY",1:"MINIMAL",2:"IMPORTANT",3:"ALL"},tl={UNKNOWN_PRIORITY:0,CLOSURE_ONLY:4,MINIMAL:1,IMPORTANT:2,ALL:3},Hxa={0:"DEFAULT",1:"ASSIGNMENT",2:"RESPONSE",3:"CLOSURE"},Yxa={DEFAULT:0,ASSIGNMENT:1,RESPONSE:2,CLOSURE:3},xib={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"},ixa={0:"FIELD_ORDERING_UNSPECIFIED",1:"INHERITED",2:"CUSTOMIZED"},H3b=
{FIELD_ORDERING_UNSPECIFIED:0,INHERITED:1,CUSTOMIZED:2},I3b={FIELD_STATE_UNSPECIFIED:"FIELD_STATE_UNSPECIFIED",INHERIT:"INHERIT",DISABLED:"DISABLED",ENABLED:"ENABLED"},Xwa={0:"FIELD_STATE_UNSPECIFIED",1:"INHERIT",2:"DISABLED",3:"ENABLED"},J3b={FIELD_STATE_UNSPECIFIED:0,INHERIT:1,DISABLED:2,ENABLED:3},K3b={UNSPECIFIED_FORMATTING_AUDIENCE:0,INTERNAL:1,EXTERNAL:2},DB={UNSPECIFIED_FORMATTING_MODE:"UNSPECIFIED_FORMATTING_MODE",PLAIN:"PLAIN",MARKDOWN:"MARKDOWN",LITERAL:"LITERAL"},qxa={0:"UNSPECIFIED_FORMATTING_MODE",
1:"PLAIN",2:"MARKDOWN",3:"LITERAL"},JEa={0:"GERRIT_CHANGE_SIGNAL_UNSPECIFIED",1:"GERRIT_CHANGE_NEEDS_ATTENTION",2:"GERRIT_CHANGE_READY_TO_SUBMIT"},lwa={1:"ISSUE_ID",2:"COMPONENT_PATH",3:"TYPE",4:"STATUS",5:"PRIORITY",6:"SEVERITY",7:"REPORTER",8:"ASSIGNEE",9:"VERIFIER",10:"CC",43:"COLLABORATOR",11:"CHANGELIST",32:"POSTMORTEM",12:"BLOCKING_ISSUE_ID",13:"BLOCKED_BY_ISSUE_ID",14:"CREATED_TIME",15:"MODIFIED_TIME",16:"RESOLVED_TIME",17:"VERIFIED_TIME",38:"DELETION_TIME",18:"TITLE",19:"FOUND_IN_VERSION",
20:"TARGETED_TO_VERSION",21:"VERIFIED_IN_VERSION",22:"IN_PROD",23:"CANONICAL_ISSUE_ID",24:"CUSTOM_FIELD",25:"POSITION",26:"VOTE_COUNT",27:"DUPLICATE_COUNT",28:"CC_COUNT",44:"COLLABORATOR_COUNT",29:"MODIFIED_BY",30:"LAST_MODIFIER",31:"ARCHIVED",33:"MIN_SLO",35:"ASSIGNMENT_SLO",36:"RESPONSE_SLO",37:"CLOSURE_SLO",39:"TEAM",40:"ESTIMATE",41:"ESTIMATE_TOTAL_OPEN",42:"ESTIMATE_TOTAL_COMPLETE",45:"ACCESS_LEVEL",46:"DESCENDANT_COUNT",47:"OPEN_DESCENDANT_COUNT",48:"ONE_DAY_VIEW_COUNT",49:"SEVEN_DAY_VIEW_COUNT",
50:"THIRTY_DAY_VIEW_COUNT"},jwa={ISSUE_ID:1,COMPONENT_PATH:2,TYPE:3,STATUS:4,PRIORITY:5,SEVERITY:6,REPORTER:7,ASSIGNEE:8,VERIFIER:9,CC:10,COLLABORATOR:43,CHANGELIST:11,POSTMORTEM:32,BLOCKING_ISSUE_ID:12,BLOCKED_BY_ISSUE_ID:13,CREATED_TIME:14,MODIFIED_TIME:15,RESOLVED_TIME:16,VERIFIED_TIME:17,DELETION_TIME:38,TITLE:18,FOUND_IN_VERSION:19,TARGETED_TO_VERSION:20,VERIFIED_IN_VERSION:21,IN_PROD:22,CANONICAL_ISSUE_ID:23,CUSTOM_FIELD:24,POSITION:25,VOTE_COUNT:26,DUPLICATE_COUNT:27,CC_COUNT:28,COLLABORATOR_COUNT:44,
MODIFIED_BY:29,LAST_MODIFIER:30,ARCHIVED:31,MIN_SLO:33,ASSIGNMENT_SLO:35,RESPONSE_SLO:36,CLOSURE_SLO:37,TEAM:39,ESTIMATE:40,ESTIMATE_TOTAL_OPEN:41,ESTIMATE_TOTAL_COMPLETE:42,ACCESS_LEVEL:45,DESCENDANT_COUNT:46,OPEN_DESCENDANT_COUNT:47,ONE_DAY_VIEW_COUNT:48,SEVEN_DAY_VIEW_COUNT:49,THIRTY_DAY_VIEW_COUNT:50},EB={ISSUE_RELATIONSHIP_TYPE_UNSPECIFIED:0,CHILD:1,DEPENDENCY:2,LINKED:3},HEa={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"},L3b={ISSUE_SUMMARY_FEEDBACK_TYPE_UNSPECIFIED:0,THUMBS_UP:1,THUMBS_DOWN:2,COPY:3,FEEDBACK:4},Cza={0:"ISSUE_SUMMARY_TYPE_UNSPECIFIED",1:"COMMENTS_SHORT",2:"COMMENTS_LONG"},M3b={ISSUE_SUMMARY_TYPE_UNSPECIFIED:0,COMMENTS_SHORT:1,COMMENTS_LONG:2},wib={0:"NODE_JOIN_TYPE_UNSPECIFIED",1:"AND",2:"OR",3:"ERR",4:"NIL"},N3b={UNKNOWN_SUBSCRIPTION:"UNKNOWN_SUBSCRIPTION",UNSUBSCRIBED:"UNSUBSCRIBED",SUBSCRIBED_CLOSURE_ONLY:"SUBSCRIBED_CLOSURE_ONLY",
SUBSCRIBED_MAJOR_UPDATES:"SUBSCRIBED_MAJOR_UPDATES",SUBSCRIBED_ALL_UPDATES:"SUBSCRIBED_ALL_UPDATES"},Rva={0:"UNKNOWN_SUBSCRIPTION",1:"UNSUBSCRIBED",2:"SUBSCRIBED_CLOSURE_ONLY",3:"SUBSCRIBED_MAJOR_UPDATES",4:"SUBSCRIBED_ALL_UPDATES"},Xya={UNKNOWN_SUBSCRIPTION:0,UNSUBSCRIBED:1,SUBSCRIBED_CLOSURE_ONLY:2,SUBSCRIBED_MAJOR_UPDATES:3,SUBSCRIBED_ALL_UPDATES:4},yib={0:"OPERATOR_UNSPECIFIED",1:"EQ",2:"GT",3:"LT",4:"GE",5:"LE"},NCb={0:"UNKNOWN_PERMISSION",1:"OPEN_TO_JOIN"},OEa={0:"PRINCIPAL_TYPE_UNSPECIFIED",
1:"NON_GAIA",2:"USER",3:"GROUP",4:"ALIAS"},O3b={PRIORITY_UNSPECIFIED:"PRIORITY_UNSPECIFIED",P0:"P0",P1:"P1",P2:"P2",P3:"P3",P4:"P4"},ik={0:"PRIORITY_UNSPECIFIED",1:"P0",2:"P1",3:"P2",4:"P3",5:"P4"},Fva={PRIORITY_UNSPECIFIED:0,P0:1,P1:2,P2:3,P3:4,P4:5},Uxa={0:"UNKNOWN_KEY",1:"ASSIGNED_TO_ME",2:"OPEN",3:"FIXED",4:"BROAD_IN_PROGRESS",5:"NEWLY_FILED",6:"RECENTLY_ACTIVE",7:"HIGH_PRIORITY",8:"TRENDING",9:"PROGRESS"},dya={UNKNOWN_KEY:0,ASSIGNED_TO_ME:1,OPEN:2,FIXED:3,BROAD_IN_PROGRESS:4,NEWLY_FILED:5,RECENTLY_ACTIVE:6,
HIGH_PRIORITY:7,TRENDING:8,PROGRESS:9},P3b={REACTION_TYPE_UNSPECIFIED:"REACTION_TYPE_UNSPECIFIED",UPVOTE:"UPVOTE"},Q3b={REACTION_TYPE_UNSPECIFIED:0,UPVOTE:1},R3b={UNSPECIFIED:0,USER_REQUEST:1,ABUSE:2,RESTRICTED:3,RETENTION:4,ACCOUNT_CAPABILITIES:5},S3b={UNKNOWN:0,HOTLIST:1,BOOKMARK_GROUP:2,SAVED_SEARCH:3},T3b={RESTRICTION_SEVERITY_UNSPECIFIED:"RESTRICTION_SEVERITY_UNSPECIFIED",NONE_DETECTED:"NONE_DETECTED",RESTRICTED:"RESTRICTED",RESTRICTED_PLUS:"RESTRICTED_PLUS"},U3b={RETENTION_UNSPECIFIED:"RETENTION_UNSPECIFIED",
COMPONENT_DEFAULT:"COMPONENT_DEFAULT",INDEFINITE:"INDEFINITE"},Cva={0:"RETENTION_UNSPECIFIED",1:"COMPONENT_DEFAULT",2:"INDEFINITE"},V3b={UNSPECIFIED_RETENTION:"UNSPECIFIED_RETENTION",BUGANIZER_DEFAULT:"BUGANIZER_DEFAULT",CUSTOM_PERIOD:"CUSTOM_PERIOD",INDEFINITE_RETENTION:"INDEFINITE_RETENTION"},pua={0:"UNSPECIFIED_RETENTION",1:"BUGANIZER_DEFAULT",2:"CUSTOM_PERIOD",3:"INDEFINITE_RETENTION"},rua={UNSPECIFIED_RETENTION:0,BUGANIZER_DEFAULT:1,CUSTOM_PERIOD:2,INDEFINITE_RETENTION:3},zva={0:"SEVERITY_UNSPECIFIED",
1:"S0",2:"S1",3:"S2",4:"S3",5:"S4"},Gva={SEVERITY_UNSPECIFIED:0,S0:1,S1:2,S2:3,S3:4,S4:5},rib={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"},MCb={0:"UNKNOWN",1:"NORMAL",2:"LARGE",3:"HUGE",4:"ENORMOUS"},yva={0:"SLO_SNOOZE_TYPE_UNSPECIFIED",1:"STARTS_ON",2:"ASSIGNMENT_ETA",3:"RESPONSE_ETA",4:"CLOSURE_ETA"},Jva={SLO_SNOOZE_TYPE_UNSPECIFIED:0,STARTS_ON:1,
ASSIGNMENT_ETA:2,RESPONSE_ETA:3,CLOSURE_ETA:4},hxa={0:"SLO_SOURCE_UNSPECIFIED",1:"USER",2:"BUGSCOPE"},ova={SLO_SOURCE_UNSPECIFIED:0,USER:1,BUGSCOPE:2},Fua={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"},Hua={STANDARD_FIELD_UNSPECIFIED:0,REPORTER:1,ASSIGNEE:2,
VERIFIER:3,CC:4,TYPE:5,STATUS:6,PRIORITY:7,SEVERITY:8,CHANGELISTS:9,PENDING_CHANGELISTS:10,POSTMORTEMS:11,FOUND_IN:12,TARGETED_TO:13,VERIFIED_IN:14,IN_PRODUCTION:15,SLO_STATUS:16,TEAM:17,COLLABORATORS:18},fwa={0:"STATE_UNSPECIFIED",1:"STATE_DISABLED",2:"STATE_ENABLED"},Zza={STATE_UNSPECIFIED:"STATE_UNSPECIFIED",PENDING:"PENDING",MERGED:"MERGED"},Lva={0:"STATE_UNSPECIFIED",1:"PENDING",2:"MERGED"},Mva={STATE_UNSPECIFIED:0,PENDING:1,MERGED:2},W3b={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"},hk={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"},Eva={STATUS_UNSPECIFIED:0,NEW:1,ASSIGNED:2,ACCEPTED:3,FIXED:4,VERIFIED:5,NOT_REPRODUCIBLE:6,INTENDED_BEHAVIOR:7,OBSOLETE:8,INFEASIBLE:9,
DUPLICATE:10},X3b={TASK_RESOURCE_TYPE_UNSPECIFIED:"TASK_RESOURCE_TYPE_UNSPECIFIED",CHANGELIST:"CHANGELIST",DRIVE:"DRIVE",ISSUE:"ISSUE",LAUNCH:"LAUNCH",GERRIT:"GERRIT"},Sxa={0:"UNKNOWN_SOURCE",1:"WTDM",2:"NON_WTDM",3:"CRITIQUE",4:"DRIVE",5:"BUGANIZER",6:"ARIANE",7:"GERRIT"},iya={UNKNOWN_SOURCE:0,WTDM:1,NON_WTDM:2,CRITIQUE:3,DRIVE:4,BUGANIZER:5,ARIANE:6,GERRIT:7},yxa={0:"THEME_UNSPECIFIED",1:"GOOGLE",2:"OPEN_SOURCE"},Cib={0:"QUERY_BUILDER_RESPONSE_TYPE_UNSPECIFIED",1:"AND",2:"OR"},Lua={0:"TYPE_UNSPECIFIED",
1:"TEXT",2:"DATE",3:"ENUM",4:"NUMERIC",5:"REPEATED_TEXT",6:"REPEATED_DATE",7:"REPEATED_ENUM",8:"REPEATED_NUMERIC"},Pua={TYPE_UNSPECIFIED:0,TEXT:1,DATE:2,ENUM:3,NUMERIC:4,REPEATED_TEXT:5,REPEATED_DATE:6,REPEATED_ENUM:7,REPEATED_NUMERIC:8},Hya={TYPE_UNSPECIFIED:0,BUG:1,FEATURE_REQUEST:2,CUSTOMER_ISSUE:3,INTERNAL_CLEANUP:4,PROCESS:5,VULNERABILITY:6,PRIVACY_ISSUE:7,PORTFOLIO:8,PROGRAM:9,PROJECT:10,FEATURE:11,MILESTONE:12,EPIC:13,STORY:14,TASK:15},Y3b={USER_ACTIVITY_TYPE_UNDEFINED:0,VIEW:1,RELOAD:2,EDIT:3,
MARK_AS_READ_OR_UNREAD:4},lza={0:"UNSPECIFIED",1:"ACTIVE",2:"DELETED",3:"UNAVAILABLE"},gwa={0:"USER_GROUP_UNSPECIFIED",1:"USER_GROUP_BUGANIZER_TEAM",2:"USER_GROUP_TRUSTED_TESTER"},tib={0:"VALUE_TYPE_UNSPECIFIED",1:"NOT",2:"OR",3:"AND",4:"RANGE",5:"SIMPLE"};var Cta=Object.prototype.hasOwnProperty;var Z3b={SINGLE_VALUE:"SINGLE_VALUE",COLLECTION:"COLLECTION",USER_COLLECTION:"USER_COLLECTION",LINKED_COLLECTION:"LINKED_COLLECTION",CUSTOM_FIELD:"CUSTOM_FIELD",STATUS_UPDATE:"STATUS_UPDATE"},TCb=new Set([{alias:"googlers_unrestricted"},{alias:"google_domain"}].map(function(a){return"ALIAS:"+a.alias})),$3b={AGGREGATION_TYPE_UNSPECIFIED:"AGGREGATION_TYPE_UNSPECIFIED",SUM:"SUM",MAX:"MAX"};var Ni=function(a){this.internalArray_=m(a)};X(Ni,Y);g=Ni.prototype;g.getEmailAddress=function(){return Kh(this,1)};g.setEmailAddress=function(a){return cj(this,1,a)};g.getObfuscatedEmailAddress=function(){return Kh(this,2)};g.setObfuscatedEmailAddress=function(a){cj(this,2,a)};g.getUserGaiaStatus=function(){return fj(this,3,0)};g.setUserGaiaStatus=function(a){dj(this,3,a)};g.getAliasesList=function(a){return Ij(this,4,yj(a))};g.setAliasesList=function(a){Lj(this,4,a)};Ni.repeatedFields_=[4];var Yi=function(a){this.internalArray_=m(a)};X(Yi,Y);Yi.prototype.getAccessLevel=function(){return fj(this,1,0)};Yi.prototype.setAccessLevel=function(a){return dj(this,1,a)};var Zl=function(a){this.internalArray_=m(a)};X(Zl,Y);g=Zl.prototype;g.getIssueId=function(){return ej(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return ej(this,1)};g.getIssueId_asString=function(){return du(this,1)};g.setIssueId=function(a){return bj(this,1,a)};g.getIssueAccessLimit=function(){return $i(this,Yi,2)};g.setIssueAccessLimit=function(a){oj(this,Yi,2,a)};g.setAddedCollaboratorsList=function(a){gk(this,3,a)};g.setRemovedCollaboratorsList=function(a){gk(this,4,a)};
Zl.repeatedFields_=[3,4];var Vi=function(a){this.internalArray_=m(a)};X(Vi,Y);g=Vi.prototype;g.getUser=function(){return Bj(this,Ni,1,Si)};g.setUser=function(a){return Gj(this,1,Si,a)};g.hasUser=function(){return Qj(this,Ni,1,Si)};g.getGroup=function(){return Bj(this,Ni,2,Si)};g.setGroup=function(a){Gj(this,2,Si,a)};var Si=[1,2,3];var FB=function(a){this.internalArray_=m(a)};X(FB,Y);g=FB.prototype;g.getAppendersList=function(){return xj(this,Vi,6,yj())};g.setAppendersList=function(a){return gk(this,6,a)};g.getReadersList=function(){return xj(this,Vi,8,yj())};g.setReadersList=function(a){return gk(this,8,a)};g.setImplicitAccess=function(a){return dj(this,10,a)};FB.repeatedFields_=[2,3,4,5,6,7,8,9,11,12];var Zi=function(a){this.internalArray_=m(a)};X(Zi,Y);Zi.prototype.getAccessLevel=function(){return fj(this,1,0)};Zi.prototype.setAccessLevel=function(a){return dj(this,1,a)};var GB=function(a){this.internalArray_=m(a)};X(GB,Y);g=GB.prototype;g.getIssueId=function(){return ej(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return ej(this,1)};g.getIssueId_asString=function(){return du(this,1)};g.setIssueId=function(a){return bj(this,1,a)};g.getIssueAccessLimit=function(){return $i(this,Yi,2)};g.setIssueAccessLimit=function(a){oj(this,Yi,2,a)};g.setAddedCollaboratorsList=function(a){gk(this,3,a)};g.setRemovedCollaboratorsList=function(a){gk(this,4,a)};
GB.repeatedFields_=[3,4];var aj=function(a){this.internalArray_=m(a)};X(aj,Y);aj.prototype.getRestrictionSeverity=function(){return fj(this,3,0)};var eua=function(a){this.internalArray_=m(a)};X(eua,Y);eua.prototype.getSeverity=function(){return fj(this,1,0)};eua.prototype.setSeverity=function(a){dj(this,1,a)};var a4b=function(a){this.internalArray_=m(a)};X(a4b,Y);var pj=function(a){this.internalArray_=m(a)};X(pj,Y);pj.prototype.getStatus=function(){return fj(this,1,0)};pj.prototype.setStatus=function(a){return dj(this,1,a)};pj.prototype.getReason=function(){return fj(this,2,0)};pj.prototype.setReason=function(a){return dj(this,2,a)};var hj=function(a){this.internalArray_=m(a)};X(hj,Y);var hm=function(a){this.internalArray_=m(a)};X(hm,Y);hm.prototype.getRetentionPeriod=function(){return $i(this,Ki,1)};var Aua=function(a){this.internalArray_=m(a)};X(Aua,Y);var mj=function(a){this.internalArray_=m(a)};X(mj,Y);g=mj.prototype;g.getAttachmentId_asLegacyNumberOrString=function(){return ej(this,1)};g.setAttachmentId=function(a){return bj(this,1,a)};g.getContentType=function(){return Kh(this,2)};g.getFilename=function(){return Kh(this,4)};g.setFilename=function(a){cj(this,4,a)};g.getEntityStatus=function(){return $i(this,pj,6)};g.setEntityStatus=function(a){return oj(this,pj,6,a)};g.getEtag=function(){return no(this,7)};g.setEtag=function(a){nj(this,7,a)};
g.getContentVerdict=function(){return $i(this,a4b,10)};g.getRestrictedRetentionState=function(){return $i(this,hm,11)};g.getRestrictedRetention=function(){return fj(this,12,0)};g.setRestrictedRetention=function(a){return dj(this,12,a)};var Ej=function(a){this.internalArray_=m(a)};X(Ej,Y);Ej.prototype.getValuesList=function(a){return xj(this,Fi,1,yj(a))};Ej.prototype.setValuesList=function(a){return gk(this,1,a)};Ej.prototype.setValues=function(a,b){Xt(this,1,Fi,a,b)};Ej.repeatedFields_=[1];var Dj=function(a){this.internalArray_=m(a)};X(Dj,Y);Dj.prototype.getValuesList=function(a){return qSb(this,1,yj(a))};Dj.prototype.setValuesList=function(a){return jc(this,1,a,wca)};Dj.prototype.getValues=function(a){var b=qSb(this,1,3,void 0,!0);sb(b,a);return b[a]};Dj.prototype.setValues=function(a,b){oc(this,1,wca,a,b,qSb)};Dj.repeatedFields_=[1];var Cj=function(a){this.internalArray_=m(a)};X(Cj,Y);Cj.prototype.getValuesList=function(a){return Ij(this,1,yj(a))};Cj.prototype.setValuesList=function(a){return Lj(this,1,a)};Cj.prototype.getValues=function(a){return fu(this,1,a)};Cj.prototype.setValues=function(a,b){oc(this,1,Ob,a,b,Ij)};Cj.repeatedFields_=[1];var qj=function(a){this.internalArray_=m(a)};X(qj,Y);var Fj=function(a){this.internalArray_=m(a)};X(Fj,Y);g=Fj.prototype;g.getValueCase=function(){return Ri(this,zj)};g.getCustomFieldId_asLegacyNumberOrString=function(){return ej(this,1)};g.getCustomFieldId_asString=function(){return du(this,1)};g.setCustomFieldId=function(a){return bj(this,1,a)};g.getDateValue=function(){return Bj(this,Fi,3,zj)};g.getDisplayString=function(){return Kh(this,10)};Fj.repeatedFields_=[11];var zj=[2,3,4,5,6,7,8,9];var Jj=function(a){this.internalArray_=m(a)};X(Jj,Y);g=Jj.prototype;g.getCustomFieldId_asLegacyNumberOrString=function(){return ej(this,1)};g.getCustomFieldId_asString=function(){return du(this,1)};g.setCustomFieldId=function(a){return bj(this,1,a)};g.getComponentId=function(){return ej(this,2)};g.getComponentId_asLegacyNumberOrString=function(){return ej(this,2)};g.getComponentId_asString=function(){return du(this,2)};g.setComponentId=function(a){return bj(this,2,a)};
g.getType=function(){return fj(this,3,0)};g.setType=function(a){return dj(this,3,a)};g.getName=function(){return Kh(this,5)};g.setName=function(a){return cj(this,5,a)};g.getDescription=function(){return Kh(this,6)};g.setDescription=function(a){return cj(this,6,a)};g.getEnumValues=function(a){return fu(this,8,a)};g.setFieldSignificance=function(a){return dj(this,9,a)};g.getShared=function(){return Hj(this,11)};g.setShared=function(a){Kj(this,11,a)};Jj.repeatedFields_=[8];var vj=function(a){this.internalArray_=m(a)};X(vj,Y);vj.prototype.getCustomFieldId_asLegacyNumberOrString=function(){return ej(this,Ti(this,uj,1))};vj.prototype.getCustomFieldId_asString=function(){return du(this,Ti(this,uj,1))};vj.prototype.setCustomFieldId=function(a){return wj(this,1,uj,Lb(a))};vj.prototype.hasCustomFieldId=function(){return $t(this,Ti(this,uj,1))!=null};var uj=[1,2];var Oj=function(a){this.internalArray_=m(a)};X(Oj,Y);Oj.prototype.getLabel=function(){return Kh(this,1)};Oj.prototype.setLabel=function(a){return cj(this,1,a)};Oj.prototype.getValue=function(){return Aj(this,2)};Oj.prototype.setValue=function(a){return lk(this,2,a)};var Nj=function(a){this.internalArray_=m(a)};X(Nj,Y);var Xua=function(a,b){return gk(a,1,b)};Nj.prototype.setOptions=function(a){Xt(this,1,Oj,a)};Nj.repeatedFields_=[1];var Vua=function(a){this.internalArray_=m(a)};X(Vua,Y);var Uua=function(a,b){return lk(a,1,b)};var Mj=function(a){this.internalArray_=m(a)};X(Mj,Y);g=Mj.prototype;g.getInherit=function(){return Hj(this,1)};g.setInherit=function(a){return Kj(this,1,a)};g.getId=function(){return ej(this,2)};g.getId_asLegacyNumberOrString=function(){return ej(this,2)};g.getId_asString=function(){return du(this,2)};g.setId=function(a){return bj(this,2,a)};g.getName=function(){return Kh(this,3)};g.setName=function(a){return cj(this,3,a)};var Tua=function(a,b){Gj(a,4,Pk,b)},Wua=function(a,b){Gj(a,5,Pk,b)};
Mj.prototype.getCustomFieldId_asLegacyNumberOrString=function(){return ej(this,100)};Mj.prototype.getCustomFieldId_asString=function(){return du(this,100)};Mj.prototype.setCustomFieldId=function(a){return bj(this,100,a)};var Pk=[4,5];var kk=function(a){this.internalArray_=m(a)};X(kk,Y);var Zj=function(a){this.internalArray_=m(a)};X(Zj,Y);g=Zj.prototype;g.getStartTime=function(){return $i(this,Ii,1)};g.getObjective=function(){return $i(this,Ki,4)};g.setObjective=function(a){return oj(this,Ki,4,a)};g.getBusinessDays=function(){return gj(this,5)};g.setBusinessDays=function(a){return Gi(this,5,a)};g.getDayType=function(){return fj(this,6,0)};g.setDayType=function(a){return dj(this,6,a)};var gm=function(a){this.internalArray_=m(a)};X(gm,Y);var im=function(a){this.internalArray_=m(a)};X(im,Y);im.prototype.getSourceIssueIdsList_asLegacyNumberOrString=function(){return Nk(this,1,yj())};im.prototype.setSourceIssueIdsList=function(a){return Al(this,1,a)};im.repeatedFields_=[1];var nk=function(a){this.internalArray_=m(a)};X(nk,Y);var Xj=function(a){this.internalArray_=m(a)};X(Xj,Y);Xj.prototype.getCount=function(){return ej(this,2)};Xj.prototype.setCount=function(a){bj(this,2,a)};Xj.prototype.getType=function(){return fj(this,4,0)};Xj.prototype.setType=function(a){return dj(this,4,a)};Xj.repeatedFields_=[3];var Pj=function(a){this.internalArray_=m(a)};X(Pj,Y);Pj.repeatedFields_=[2];var Vj=function(a){this.internalArray_=m(a)};X(Vj,Y);Vj.prototype.getContent=function(){return $i(this,qj,1)};Vj.prototype.setContent=function(a){return oj(this,qj,1,a)};Vj.prototype.hasContent=function(){return dk(this,qj,1)};var Uj=function(a){this.internalArray_=m(a)};X(Uj,Y);Uj.prototype.getContent=function(){return $i(this,qj,1)};Uj.prototype.setContent=function(a){return oj(this,qj,1,a)};Uj.prototype.hasContent=function(){return dk(this,qj,1)};var Tj=function(a){this.internalArray_=m(a)};X(Tj,Y);Tj.prototype.getContent=function(){return $i(this,qj,2)};Tj.prototype.setContent=function(a){return oj(this,qj,2,a)};Tj.prototype.hasContent=function(){return dk(this,qj,2)};var Rj=function(a){this.internalArray_=m(a)};X(Rj,Y);Rj.repeatedFields_=[1];var ek=function(a){this.internalArray_=m(a)};X(ek,Y);ek.prototype.getKindCase=function(){return Ri(this,Sj)};var Sj=[1,2,3];var HB=function(a){this.internalArray_=m(a)};X(HB,Y);HB.prototype.getState=function(){return fj(this,2,0)};HB.prototype.setState=function(a){return dj(this,2,a)};HB.repeatedFields_=[3];var Xl=function(a){this.internalArray_=m(a)};X(Xl,Y);g=Xl.prototype;g.getIssueId=function(){return ej(this,6)};g.getIssueId_asLegacyNumberOrString=function(){return ej(this,6)};g.getIssueId_asString=function(){return du(this,6)};g.setIssueId=function(a){return bj(this,6,a)};g.getCommentNumber=function(){return gj(this,7)};g.setCommentNumber=function(a){return Gi(this,7,a)};g.getComment=function(){return Kh(this,1)};g.setComment=function(a){return cj(this,1,a)};
g.getFormattedComment=function(){return $i(this,ek,16)};g.hasFormattedComment=function(){return dk(this,ek,16)};g.getMentionsList=function(a){return xj(this,HB,14,yj(a))};g.getFormattingMode=function(){return fj(this,9,0)};g.setFormattingMode=function(a){return dj(this,9,a)};g.getAttachmentsList=function(){return xj(this,mj,2,yj())};g.setAttachmentsList=function(a){return gk(this,2,a)};g.addAllAttachments=function(a){Zt(this,2,mj,a)};g.getModifiedTime=function(){return $i(this,Ii,4)};
g.setModifiedTime=function(a){return oj(this,Ii,4,a)};g.getEntityStatus=function(){return $i(this,pj,5)};g.setEntityStatus=function(a){return oj(this,pj,5,a)};g.getVersion=function(){return gj(this,8)};g.setVersion=function(a){return Gi(this,8,a)};g.getContentVerdict=function(){return $i(this,a4b,10)};g.getRestrictedRetentionState=function(){return $i(this,hm,11)};g.getRestrictedRetention=function(){return fj(this,12,0)};g.setRestrictedRetention=function(a){return dj(this,12,a)};
g.getEtag=function(){return no(this,15)};g.setEtag=function(a){nj(this,15,a)};Xl.repeatedFields_=[14,2];var mk=function(a){this.internalArray_=m(a)};X(mk,Y);mk.prototype.getChangeNumber_asLegacyNumberOrString=function(){return ej(this,3)};mk.prototype.setChangeNumber=function(a){return bj(this,3,a)};mk.prototype.getState=function(){return fj(this,4,0)};mk.prototype.setState=function(a){return dj(this,4,a)};var jk=function(a){this.internalArray_=m(a)};X(jk,Y);g=jk.prototype;g.getComponentId=function(){return ej(this,1)};g.getComponentId_asLegacyNumberOrString=function(){return ej(this,1)};g.getComponentId_asString=function(){return du(this,1)};g.setComponentId=function(a){return bj(this,1,a)};g.getType=function(){return fj(this,2,0)};g.setType=function(a){return dj(this,2,a)};g.getStatus=function(){return fj(this,3,0)};g.setStatus=function(a){return dj(this,3,a)};
g.getPriority=function(){return fj(this,4,0)};g.setPriority=function(a){return dj(this,4,a)};g.getSeverity=function(){return fj(this,5,0)};g.setSeverity=function(a){dj(this,5,a)};g.getTitle=function(){return Kh(this,6)};g.setTitle=function(a){return cj(this,6,a)};g.getReporter=function(){return $i(this,Ni,7)};g.setReporter=function(a){oj(this,Ni,7,a)};g.getAssignee=function(){return $i(this,Ni,8)};g.setAssignee=function(a){oj(this,Ni,8,a)};g.clearAssignee=function(){return oo(this,8)};
g.getVerifier=function(){return $i(this,Ni,9)};g.setVerifier=function(a){oj(this,Ni,9,a)};g.clearVerifier=function(){return oo(this,9)};g.getCcsList=function(){return xj(this,Ni,10,yj())};g.setCcsList=function(a){gk(this,10,a)};g.addAllCcs=function(a){Zt(this,10,Ni,a)};g.getCollaboratorsList=function(){return xj(this,Ni,31,yj())};g.setCollaboratorsList=function(a){gk(this,31,a)};g.addAllCollaborators=function(a){Zt(this,31,Ni,a)};g.setCollaborators=function(a){Xt(this,31,Ni,a)};
g.getCanonicalIssueId_asLegacyNumberOrString=function(){return ej(this,11)};g.setCanonicalIssueId=function(a){bj(this,11,a)};g.getBlockedByIssueIdsList_asLegacyNumberOrString=function(){return Nk(this,12,yj())};g.setBlockedByIssueIdsList=function(a){Al(this,12,a)};g.addAllBlockedByIssueIds=function(a){mc(this,12,Kb,a)};g.getBlockingIssueIdsList_asLegacyNumberOrString=function(){return Nk(this,13,yj())};g.setBlockingIssueIdsList=function(a){Al(this,13,a)};
g.addAllBlockingIssueIds=function(a){mc(this,13,Kb,a)};g.getHotlistIdsList_asLegacyNumberOrString=function(a){return Nk(this,14,yj(a))};g.setHotlistIdsList=function(a){Al(this,14,a)};g.addHotlistIds=function(a,b){return nc(this,14,Kb,a,b)};g.addAllHotlistIds=function(a){mc(this,14,Kb,a)};g.getCustomFieldsList=function(){return xj(this,Fj,15,yj())};g.setCustomFieldsList=function(a){return gk(this,15,a)};g.addCustomFields=function(a){Mq(this,15,Fj,a)};
g.getCodeChangesList=function(a){return Ij(this,16,yj(a))};g.setCodeChangesList=function(a){Lj(this,16,a)};g.addAllCodeChanges=function(a){mc(this,16,Ob,a)};g.getGerritChangesList=function(){return xj(this,mk,35,yj())};g.setGerritChangesList=function(a){gk(this,35,a)};g.addAllGerritChanges=function(a){Zt(this,35,mk,a)};g.getInProd=function(){return Hj(this,20)};g.setInProd=function(a){Kj(this,20,a)};g.getIsArchived=function(){return Hj(this,21)};g.setIsArchived=function(a){return Kj(this,21,a)};
g.getDuplicateIssueIdsList_asLegacyNumberOrString=function(){return Nk(this,22,yj())};g.setDuplicateIssueIdsList=function(a){Al(this,22,a)};g.getIsDeleted=function(){return Hj(this,23)};g.setIsDeleted=function(a){Kj(this,23,a)};g.setDeletionReason=function(a){dj(this,24,a)};g.getEntityStatus=function(){return $i(this,pj,25)};g.setEntityStatus=function(a){return oj(this,pj,25,a)};g.getSloSnoozeUntil=function(){return $i(this,Ii,26)};g.setSloSnoozeUntil=function(a){oj(this,Ii,26,a)};
g.getSloEndTime=function(){return $i(this,Ii,34)};g.setSloEndTime=function(a){oj(this,Ii,34,a)};g.hasSloEndTime=function(){return dk(this,Ii,34)};g.setSloSnoozeType=function(a){dj(this,30,a)};g.getRetention=function(){return fj(this,28,0)};g.setRetention=function(a){return dj(this,28,a)};g.getEffort=function(){return $i(this,kk,29)};g.setEffort=function(a){oj(this,kk,29,a)};g.hasEffort=function(){return dk(this,kk,29)};g.getAccessLimit=function(){return $i(this,Yi,32)};
g.setAccessLimit=function(a){return oj(this,Yi,32,a)};jk.repeatedFields_=[10,31,12,13,14,15,16,35,17,18,19,22,27];var fm=function(a){this.internalArray_=m(a)};X(fm,Y);fm.prototype.setNotificationSubscription=function(a){return dj(this,4,a)};fm.repeatedFields_=[3];var Pva=function(a){this.internalArray_=m(a)};X(Pva,Y);var Ova=function(a){this.internalArray_=m(a)};X(Ova,Y);g=Ova.prototype;g.getIssueId=function(){return ej(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return ej(this,1)};g.getIssueId_asString=function(){return du(this,1)};g.setIssueId=function(a){return yl(this,1,a)};g.getCommentNumber=function(){return gj(this,2)};g.setCommentNumber=function(a){return ql(this,2,a)};var Sva=function(a){this.internalArray_=m(a)};X(Sva,Y);var Nva=[1,2];var fk=function(a){this.internalArray_=m(a)};X(fk,Y);g=fk.prototype;g.getIssueId=function(){return ej(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return ej(this,1)};g.getIssueId_asString=function(){return du(this,1)};g.setIssueId=function(a){return bj(this,1,a)};g.getFormattingMode=function(){return fj(this,4,0)};g.setFormattingMode=function(a){return dj(this,4,a)};g.getAuthor=function(){return $i(this,Ni,5)};g.setAuthor=function(a){oj(this,Ni,5,a)};
g.hasAuthor=function(){return dk(this,Ni,5)};g.getUpdateTime=function(){return $i(this,Ii,6)};g.setUpdateTime=function(a){oj(this,Ii,6,a)};g.hasUpdateTime=function(){return dk(this,Ii,6)};g.getVersion=function(){return gj(this,7)};g.setVersion=function(a){return Gi(this,7,a)};g.getEntityStatus=function(){return $i(this,pj,8)};g.setEntityStatus=function(a){return oj(this,pj,8,a)};var em=function(a){this.internalArray_=m(a)};X(em,Y);g=em.prototype;g.getIssueId=function(){return ej(this,2)};g.getIssueId_asLegacyNumberOrString=function(){return ej(this,2)};g.getIssueId_asString=function(){return du(this,2)};g.setIssueId=function(a){return bj(this,2,a)};g.getIssueState=function(){return $i(this,jk,3)};g.setIssueState=function(a){return oj(this,jk,3,a)};g.getIssueComment=function(){return $i(this,Xl,4)};g.setIssueComment=function(a){oj(this,Xl,4,a)};
g.hasIssueComment=function(){return dk(this,Xl,4)};g.getAttachmentsList=function(){return xj(this,mj,18,yj())};g.setAttachmentsList=function(a){return gk(this,18,a)};g.addAllAttachments=function(a){Zt(this,18,mj,a)};g.getDescription=function(){return $i(this,Xl,44)};g.setDescription=function(a){return oj(this,Xl,44,a)};g.hasDescription=function(){return dk(this,Xl,44)};g.getStatusUpdate=function(){return $i(this,fk,43)};g.setStatusUpdate=function(a){oj(this,fk,43,a)};
g.hasStatusUpdate=function(){return dk(this,fk,43)};g.getCreatedTime=function(){return $i(this,Ii,5)};g.setCreatedTime=function(a){return oj(this,Ii,5,a)};g.getModifiedTime=function(){return $i(this,Ii,6)};g.setModifiedTime=function(a){return oj(this,Ii,6,a)};g.getMajorModifiedTime=function(){return $i(this,Ii,35)};g.setMajorModifiedTime=function(a){return oj(this,Ii,35,a)};g.getResolvedTime=function(){return $i(this,Ii,7)};g.setResolvedTime=function(a){return oj(this,Ii,7,a)};
g.getVerifiedTime=function(){return $i(this,Ii,8)};g.setVerifiedTime=function(a){return oj(this,Ii,8,a)};g.getUserData=function(){return $i(this,fm,9)};g.setUserData=function(a){oj(this,fm,9,a)};g.getParentIssueIdsList_asLegacyNumberOrString=function(){return Nk(this,37,yj())};g.setParentIssueIdsList=function(a){return Al(this,37,a)};g.getAccessLimit=function(){return $i(this,Zi,11)};g.setAccessLimit=function(a){return oj(this,Zi,11,a)};g.getVersion=function(){return gj(this,12)};
g.setVersion=function(a){return Gi(this,12,a)};g.getEtag=function(){return no(this,13)};g.setEtag=function(a){nj(this,13,a)};g.getCustomFieldsList=function(){return xj(this,Jj,15,yj())};g.setCustomFieldsList=function(a){return gk(this,15,a)};g.addCustomFields=function(a){Mq(this,15,Jj,a)};g.getSloStatus=function(){return $i(this,gm,16)};g.setSloStatus=function(a){oj(this,gm,16,a)};g.hasSloStatus=function(){return dk(this,gm,16)};g.getSloId_asLegacyNumberOrString=function(){return ej(this,17)};
g.setSloId=function(a){return bj(this,17,a)};g.getTeamId_asLegacyNumberOrString=function(){return ej(this,33)};g.setTeamId=function(a){return bj(this,33,a)};g.getRetentionState=function(){return $i(this,hm,29)};g.setRetentionState=function(a){oj(this,hm,29,a)};g.getAncestorsMap=function(){return ic(this,38,im,Vca)};g.getIsArchived=function(){return Hj(this,40)};g.setIsArchived=function(a){return Kj(this,40,a)};g.getTrackerId=function(){return ej(this,42)};
g.getTrackerId_asLegacyNumberOrString=function(){return ej(this,42)};g.getTrackerId_asString=function(){return du(this,42)};g.setTrackerId=function(a){bj(this,42,a)};em.repeatedFields_=[18,37,31,15,34,41];var ak=function(a){this.internalArray_=m(a)};X(ak,Y);g=ak.prototype;g.getInherit=function(){return Hj(this,1)};g.setInherit=function(a){return Kj(this,1,a)};g.getSource=function(){return fj(this,2,0)};g.setSource=function(a){return dj(this,2,a)};g.getId=function(){return ej(this,3)};g.getId_asLegacyNumberOrString=function(){return ej(this,3)};g.getId_asString=function(){return du(this,3)};g.setId=function(a){return bj(this,3,a)};g.getSourceTeamId_asLegacyNumberOrString=function(){return ej(this,5)};
g.setSourceTeamId=function(a){return bj(this,5,a)};g.getComment=function(){return Kh(this,4)};g.setComment=function(a){return cj(this,4,a)};var ck=function(a){this.internalArray_=m(a)};X(ck,Y);g=ck.prototype;g.getMetric=function(){return fj(this,1,0)};g.setMetric=function(a){return dj(this,1,a)};g.getMatcher=function(){return Kh(this,2)};g.setMatcher=function(a){return cj(this,2,a)};g.getDayType=function(){return fj(this,4,0)};g.setDayType=function(a){return dj(this,4,a)};g.getObjective=function(){return $i(this,Ki,3)};g.setObjective=function(a){return oj(this,Ki,3,a)};g.getBusinessDays=function(){return gj(this,5)};
g.setBusinessDays=function(a){return Gi(this,5,a)};var ao=function(a){this.internalArray_=m(a)};X(ao,Y);g=ao.prototype;g.getSloId_asLegacyNumberOrString=function(){return ej(this,1)};g.setSloId=function(a){return bj(this,1,a)};g.getParentId=function(){return ej(this,2)};g.setParentId=function(a){return bj(this,2,a)};g.getName=function(){return Kh(this,3)};g.setName=function(a){return cj(this,3,a)};g.getDescription=function(){return Kh(this,4)};g.setDescription=function(a){return cj(this,4,a)};g.addRules=function(a,b){return Mq(this,5,ck,a,b)};
g.getIsArchived=function(){return Hj(this,7)};g.setIsArchived=function(a){return Kj(this,7,a)};ao.repeatedFields_=[5,6];var mm=function(a){this.internalArray_=m(a)};X(mm,Y);mm.prototype.getTemplateId_asLegacyNumberOrString=function(){return ej(this,2)};mm.prototype.setTemplateId=function(a){return bj(this,2,a)};var lm=function(a){this.internalArray_=m(a)};X(lm,Y);g=lm.prototype;g.getIssue=function(){return $i(this,em,1)};g.setIssue=function(a){return oj(this,em,1,a)};g.setSignificanceOverride=function(a){return dj(this,4,a)};g.getContentJudgement=function(){return $i(this,aj,5)};g.setContentJudgement=function(a){return oj(this,aj,5,a)};var IB=function(){},JB=function(){};var KB=function(a){this.internalArray_=m(a)};X(KB,Y);g=KB.prototype;g.getIssueId=function(){return ej(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return ej(this,1)};g.getIssueId_asString=function(){return du(this,1)};g.setIssueId=function(a){return bj(this,1,a)};g.setPageSize=function(a){return Gi(this,2,a)};g.setPageToken=function(a){return cj(this,3,a)};var LB=function(a){this.internalArray_=m(a,0,LB.messageId)};X(LB,Y);LB.prototype.getIt=function(){return $i(this,KB,4)};LB.prototype.setIt=function(a){return oj(this,KB,4,a)};LB.messageId="b.AggregateIssueDescendantsRequest";var b4b=function(a){this.internalArray_=m(a)};X(b4b,Y);g=b4b.prototype;g.getPriority=function(){return fj(this,1,0)};g.setPriority=function(a){return dj(this,1,a)};g.getIssueIdsList_asLegacyNumberOrString=function(){return Nk(this,2,yj())};g.getIssueIdsList_asString=function(){return Fk(this,2)};g.setIssueIdsList=function(a){return Al(this,2,a)};b4b.repeatedFields_=[2];var c4b=function(a){this.internalArray_=m(a)};X(c4b,Y);g=c4b.prototype;g.getStatus=function(){return fj(this,1,0)};g.setStatus=function(a){return dj(this,1,a)};g.getIssueIdsList_asLegacyNumberOrString=function(){return Nk(this,2,yj())};g.getIssueIdsList_asString=function(){return Fk(this,2)};g.setIssueIdsList=function(a){return Al(this,2,a)};c4b.repeatedFields_=[2];var d4b=function(a){this.internalArray_=m(a)};X(d4b,Y);g=d4b.prototype;g.getIssueIdsList_asLegacyNumberOrString=function(){return Nk(this,3,yj())};g.getIssueIdsList_asString=function(){return Fk(this,3)};g.setIssueIdsList=function(a){return Al(this,3,a)};g.getCollaboratorsList=function(){return xj(this,Ni,8,yj())};g.setCollaboratorsList=function(a){gk(this,8,a)};g.addAllCollaborators=function(a){Zt(this,8,Ni,a)};g.setCollaborators=function(a){Xt(this,8,Ni,a)};
g.getCodeChangesList=function(a){return Ij(this,9,yj(a))};g.setCodeChangesList=function(a){Lj(this,9,a)};g.addAllCodeChanges=function(a){mc(this,9,Ob,a)};g.getGerritChangesList=function(){return xj(this,mk,13,yj())};g.setGerritChangesList=function(a){gk(this,13,a)};g.addAllGerritChanges=function(a){Zt(this,13,mk,a)};g.getBlockedByIssueIdsList_asLegacyNumberOrString=function(){return Nk(this,10,yj())};g.setBlockedByIssueIdsList=function(a){Al(this,10,a)};
g.addAllBlockedByIssueIds=function(a){mc(this,10,Kb,a)};g.getBlockingIssueIdsList_asLegacyNumberOrString=function(){return Nk(this,11,yj())};g.setBlockingIssueIdsList=function(a){Al(this,11,a)};g.addAllBlockingIssueIds=function(a){mc(this,11,Kb,a)};d4b.repeatedFields_=[3,4,12,5,6,7,8,9,13,10,11];var e4b=function(a){this.internalArray_=m(a)};X(e4b,Y);e4b.prototype.getNextPageToken=function(){return Kh(this,4)};var MB=function(a){this.internalArray_=m(a,0,MB.messageId)};X(MB,Y);MB.prototype.getIt=function(){return $i(this,e4b,3)};MB.prototype.setIt=function(a){return oj(this,e4b,3,a)};MB.messageId="b.AggregateIssueDescendantsResponse";var NB=function(a){this.executor=a};
NB.prototype.get=function(a){var b=(new LB).setIt((new KB).setIssueId(a));return this.executor.post({url:"action/issues/aggregateIssueDescendants",body:b,responseConstructor:MB}).pipe(y(function(c){var d=gj(c.getIt(),2),e=gj(c.getIt(),3),f=$i(c.getIt(),d4b,1);if(f){var h,k,q,t,w,B,E,I,J,N;c={_rootId:a,issueIds:f.getIssueIdsList_asLegacyNumberOrString().map(jj).filter(lj),aggregatedStatus:(w=xj(f,c4b,4,yj()).map(Tva).filter(lj))!=null?w:[],aggregatedPriority:(B=xj(f,b4b,12,yj()).map(Uva).filter(lj))!=
null?B:[],reporters:(E=(h=xj(f,Ni,5,yj()))==null?void 0:h.map(Qi))!=null?E:[],assignees:(I=(k=xj(f,Ni,6,yj()))==null?void 0:k.map(Qi))!=null?I:[],verifiers:(J=(q=xj(f,Ni,7,yj()))==null?void 0:q.map(Qi))!=null?J:[],collaborators:(N=(t=f.getCollaboratorsList())==null?void 0:t.map(Qi))!=null?N:[],changelists:f.getCodeChangesList(Pi),gerritChanges:f.getGerritChangesList().map(Ava),blockedByIssueIds:f.getBlockedByIssueIdsList_asLegacyNumberOrString().map(jj).filter(lj),blockingIssueIds:f.getBlockingIssueIdsList_asLegacyNumberOrString().map(jj).filter(lj),
descendantCount:d,openDescendantCount:e}}else c=void 0;return c}))};NB.\u0275fac=function(a){return new (a||NB)(n(IB))};NB.\u0275prov=Hc({token:NB,factory:NB.\u0275fac,providedIn:"root"});var OB=function(a,b){this.data=a;this.cfg=b;this.lastValidated=Date.now()};OB.prototype.isFresh=function(){return Date.now()-this.lastValidated<this.cfg.freshUntil};OB.prototype.isAncient=function(){return Date.now()-this.lastValidated>this.cfg.ancientAfter};OB.prototype.getStatus=function(){return this.isFresh()?"fresh":this.isAncient()?"ancient":"uncertain"};OB.prototype.toString=function(){var a=String(this.data);return Math.ceil((Date.now()-this.lastValidated)/1E3)+"s old -- "+a};
var f4b=function(a){this.cfg=a;this.cache=new Map},g4b=function(a,b){a=PB(a,b);return a==null?Infinity:a},PB=function(a,b){var c;return(c=a.get(b,!0))==null?void 0:Date.now()-c.lastValidated};f4b.prototype.isFresh=function(a){return g4b(this,a)<this.cfg.freshUntil};var h4b=function(a,b){return g4b(a,b)<=a.cfg.ancientAfter};g=f4b.prototype;g.isAncient=function(){var a=PB(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 OB(b,this.cfg))};g.touch=function(a){var b=this.cache.get(a);b&&this.cache.set(a,new OB(b.data,this.cfg))};
g.validate=function(a,b,c,d){d=d===void 0?!1:d;if(!this.has(a,d))return!1;a=this.getData(a,d);return c(a,b)};g.debug=function(){return Object.assign({},this.cfg,{count:this.cache.size,keys:this.cache.keys()})};g.toString=function(){return Array.from(this.cache,function(a){a=l(a);var b=a.next().value;a=a.next().value;b=String(b).slice(-16);var c=a.toString();return a.getStatus()+"  "+b+": "+c}).join("\n")};var QB={trustMemory:!0},i4b=function(){},Gta=["startIndex","totalSize","curPageToken","nextPageToken","prevPageToken"],j4b=function(a){this.ids=[];Object.assign(this,a)};X(j4b,i4b);j4b.prototype.toString=function(){return JSON.stringify(Object.assign({},this,{ids:"["+this.ids.join(",")+"]"}))};
var k4b={freshUntil:1E4,ancientAfter:792E5},SB=function(a){var b=this;a=a===void 0?{}:a;this.error$=new W.Subject;this.watchOneError=function(c){if(c==null)return(0,W.of)();typeof c==="number"&&(c=String(c));return b.error$.pipe(te(function(d){return d.idOrKey===c}))};this.memoryWasSet$=new W.Subject;this.collectiveMemoryWasSet$=new W.Subject;this.normalizeQueryResponses=!0;this.idKey="id";this.idForRecord=function(c){var d=c[b.idKey];if(typeof d==="string")return d;if(typeof d==="number")return String(d);
c=JSON.stringify(c).slice(0,128);if(d==null)throw Error("jc`"+b.idKey+"`"+c);throw Error("kc`"+c);};this.valsById=new Map;this.collectionsById=new Map;this.setsByLabel=new Map;this.inFlightGets$=new W.BehaviorSubject(Object.freeze({}));this.inFlightSaves$=new W.BehaviorSubject(Object.freeze({}));this.getting$=this.inFlightGets$.pipe(y(Wva));this.saving$=this.inFlightSaves$.pipe(y(Wva));this.thinking$=(0,W.combineLatest)(this.getting$,this.saving$).pipe(y(function(c){var d=l(c);c=d.next().value;d=
d.next().value;return c||d}),df());this.gotOne=function(c){return function(d,e){e=e===void 0?{}:e;e=e.doNotTrack?Vva:RB({label:c,value:PB(b.memory,c)},b.recordType);if(b.memory.validate(c,d,b.isEqual))e("one-isSame"),b.memory.touch(c);else{b.memory.set(c,d);var f=b.valsById.get(c);b.memoryWasSet$.next();e("one-isChanged");f?f.next(d):l4b&&Ci(b.recordType+"::gotOne("+c+") !isEqual. Nobody's listening")}}};this.gotSet=function(c){return function(d){for(var e=l(d),f=e.next();!f.done;f=e.next()){f=f.value;
var h=b.idForRecord(f);b.gotOne(h)(f,{doNotTrack:!0})}(e=m4b(b,c))?e.next(d):Ei("gotSet("+c+"), but no channel is set up")}};this.gotAll=function(c){return function(d){var e=RB({label:c,value:PB(b.collectiveMemory,c)},b.recordType);if(b.normalizeQueryResponses)for(var f=l(d.results),h=f.next();!h.done;h=f.next()){h=h.value;var k=b.idForRecord(h);b.gotOne(k)(h,{doNotTrack:!0})}f=b.normalize(d);b.collectiveMemory.validate(c,f,Fta);b.collectiveMemory.set(c,f);b.collectiveMemoryWasSet$.next();e("all-isChanged");
(e=b.collectionsById.get(c))?(d=n4b(b,f,d.results),e.next(d)):Tta(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&&Ei("Fridge<"+b.recordType+"> Couldn't find a record for id "+d+". (among "+c.length+" records)");return e}};this.debug=function(){return{recordType:b.recordType,isThinking:b.isThinking(),inFlightGets:Object.entries(b.inFlightGets()).map(function(c){var d=
l(c);c=d.next().value;d=d.next().value;return c+": "+d}).join(", "),inFlightSaves:Object.entries(b.inFlightSaves()).map(function(c){var d=l(c);c=d.next().value;d=d.next().value;return c+": "+d}).join(", "),records:b.memory.debug(),lists:b.collectiveMemory.debug()}};this.implementsFn=function(){return function(){try{b.doSave()}catch(d){var c=d;if((c.message===void 0?"":c.message).match("Default no-op for Fridge"))return!1}return!0}};this.canSave=this.implementsFn();this.isThinking=function(c){return b.isSaving(c)||
b.isGetting(c)};this.isSaving=function(c){return c==null?Wva(b.inFlightSaves()):!!b.inFlightSaves()[c]};this.isSaving$=function(c){return b.inFlightSaves$.pipe(y(function(d){return!!d[c]}),df())};this.isGetting=function(c){return c==null?Wva(b.inFlightGets()):!!b.inFlightGets()[c]};this.watchOne=this.watch=function(c,d){d=d===void 0?QB:d;typeof d==="number"&&(d=QB);if(c==null)return(0,W.of)();typeof c==="number"&&(c=String(c));var e=o4b(b,c);p4b(b,c,d).catch(function(){});return or(e)};this.watchSet=
function(c,d){d=d===void 0?QB:d;typeof d==="number"&&(d=QB);if(c.length===0)return(0,W.of)([]);c=c.map(function(f){return typeof f==="number"?String(f):f});var e=m4b(b,c);q4b(b,c,d);return e};this.watchMany=function(c){var d=d===void 0?QB:d;c=Object.assign({},b.defaultQuery,c);var e=r4b(b,c);b.getAll(c,d);return or(e)};this.save=function(c){var d=b.idForRecord(c);if(d==null)throw Error("lc");c=b.doSave(c).pipe(cf(0,W.asapScheduler),rka(),ee());b.setIsSaving(d);b.subscriptions.add(c.subscribe(b.gotOne(d),
b.gotErr(d,b.inFlightSaves$),s4b(d,b.inFlightSaves$)));return c};this.setIsSaving=function(c){var d={};Xva(b.inFlightSaves$,(d[c]=!0,d))};this.clearIsSaving=function(c){Yva(b.inFlightSaves$,c)};this.setIsGetting=function(c){var d={};Xva(b.inFlightGets$,(d[c]=!0,d))};this.peek=function(c){if(c!=null)return b.memory.getData(String(c),!0)};this.peekAllRecords=function(){return Array.from(b.memory.cache.entries()).map(function(c){c=l(c);c.next();return c.next().value.data}).filter(lj)};this.poke=function(c,
d){return c==null?ewa():p4b(b,String(c),d)};this.pokeMany=function(c){return c==null?Promise.resolve({results:[]}):b.getAll(Object.assign({},b.defaultQuery,c),void 0)};this.announce=function(c,d){d=d===void 0?{}:d;if(c!=null){var e=b.idForRecord(c);if(e==null)throw Error("mc");b.gotOne(e)(c,Object.assign({},{doNotTrack:!0},d))}};this.subscriptions=new W.Subscription;this.memory=new f4b(Object.assign({},k4b,a));this.collectiveMemory=new f4b(Object.assign({},k4b,a))};g=SB.prototype;
g.fetchOne=function(){throw Error("nc");};g.fetchAll=function(){throw Error("oc");};g.fetchSet=function(){throw Error("pc");};g.doSave=function(){throw Error("qc");};g.copy=function(){throw Error("rc");};g.isEqual=function(a,b){return Fta(a,b,100)};g.inFlightGets=function(){return this.inFlightGets$.getValue()};g.inFlightSaves=function(){return this.inFlightSaves$.getValue()};
var p4b=function(a,b,c){c=c===void 0?{}:c;var d=c.trustMemory;var e=c.trustUncertainMemory;c=RB({label:b,value:PB(a.memory,b)},a.recordType);d=d&&a.memory.isFresh(b);e=e&&h4b(a.memory,b);if(d||e)return c("one-trustMemory"),c=a.memory.getData(b),dwa(c);if(a.inFlightGets()[b])return c("one-inFlight"),c=o4b(a,b),cwa(c).then(dwa);c("one-fetch");try{var f=a.fetchOne(b).pipe(cf(0,W.asapScheduler))}catch(h){f=(0,W.throwError)(function(){return h})}a.setIsGetting(b);return new Promise(function(h,k){a.subscriptions.add(f.subscribe(function(q){a.gotOne(b)(q);
h(q)},function(q){a.gotErr(b,a.inFlightGets$)(q);k(q)},s4b(b,a.inFlightGets$)))})},q4b=function(a,b,c){c=(c===void 0?{}:c).trustMemory;var d="["+[].concat(r(b)).sort().join("-")+"]",e=RB({label:d},a.recordType);if(c&&t4b(a,b))u4b(a,b),e("set-trustMemory");else if(a.inFlightGets()[d])e("set-inFlight");else{e("set-fetch");try{var f=a.fetchSet(b).pipe(cf(0,W.asapScheduler))}catch(k){f=(0,W.throwError)(function(){return k})}c={};c=(c[d]=!0,c);e=l(b);for(var h=e.next();!h.done;h=e.next())c[h.value]=!0;
Xva(a.inFlightGets$,c);a.subscriptions.add(f.subscribe(a.gotSet(b),function(k){Zva(a.inFlightGets$,b);a.gotErr(d,a.inFlightGets$)(k)},function(){Zva(a.inFlightGets$,[d].concat(r(b)))}))}},t4b=function(a,b){return b.every(function(c){return a.memory.isFresh(c)})},u4b=function(a,b){var c=v4b(a,b).filter(lj);m4b(a,b).next(c)};
SB.prototype.getAll=function(a,b){b=(b===void 0?{}:b).trustMemory;var c=$va(a),d=RB({label:c,value:PB(this.collectiveMemory,c)},this.recordType);if(b&&this.normalizeQueryResponses&&this.collectiveMemory.isFresh(c)){d("all-trustMemory");a=this.collectiveMemory.getData(c);var e=w4b(this,a);e.results.length!==a.ids.length&&Ei("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=r4b(this,a),cwa(a);d("all-fetch");try{e=this.fetchAll(a).pipe(cf(0,W.asapScheduler))}catch(f){e=(0,W.throwError)(function(){return f})}this.setIsGetting(c);this.subscriptions.add(e.subscribe(this.gotAll(c),this.gotErr(c,this.inFlightGets$),s4b(c,this.inFlightGets$)));a=r4b(this,a);return cwa(a)};SB.prototype.gotErr=function(a,b){var c=this;return function(d){d=Object.assign({},{idOrKey:a},d);Uta(a+" gotErr()",d);Yva(b,a);JSON.stringify(d,null,2);c.error$.next(d)}};
var s4b=function(a,b){return function(){Yva(b,a)}};SB.prototype.normalize=function(a){var b=a.results.map(this.idForRecord);return new j4b(Object.assign({},bwa(a),{ids:b}))};
var n4b=function(a,b,c){a=b.ids.map(a.dereferenceOne(c)).filter(Boolean);return Object.assign({},bwa(b),{results:a})},w4b=function(a,b){var c=v4b(a,b.ids).filter(lj);return n4b(a,b,c)},v4b=function(a,b){return b.map(function(c){return a.memory.getData(c)})},r4b=function(a,b){b=$va(b);return awa(a.collectionsById,b,new W.ReplaySubject(1))},m4b=function(a,b){b="["+[].concat(r(b)).sort().join("-")+"]";return awa(a.setsByLabel,b,new W.ReplaySubject(1))},o4b=function(a,b){var c=new W.ReplaySubject(1),
d=a.memory.getData(b);d!=null&&c.next(d);return awa(a.valsById,b,c)},x4b=function(a,b){return["string","number"].includes(typeof b)?a.memory.getStatus(String(b)):a.collectiveMemory.getStatus($va(b))};SB.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($va(a))};
var TB=function(a,b,c,d){d=d===void 0?{}:d;if(d.evenWhenInFlight!==void 0&&d.evenWhenInFlight||!a.inFlightGets()[b])if(b=a.copy(a.memory.getData(String(b))))c(b),a.announce(b)};SB.prototype.ngOnDestroy=function(){this.subscriptions.unsubscribe()};
var RB=function(a,b){for(var c=l(Object.keys(a)),d=c.next();!d.done;d=c.next())d=d.value,a[d]==null&&delete a[d];return function(e){var f=a;f=f===void 0?{}:f;l4b&&Ci("Fridge<"+b+">::trackEvent('"+e+"')",f)}},UB=function(){SB.apply(this,arguments);this.defaultQuery={}};X(UB,SB);var l4b=!1;var VB=function(a){UB.call(this);this.api=a;this.recordType="AggregatedIssueMetadata";this.idKey="_rootId";this.isEqual=pi};X(VB,UB);VB.prototype.fetchOne=function(a){return this.api.get(a)};VB.\u0275fac=function(a){return new (a||VB)(n(NB))};VB.\u0275prov=Hc({token:VB,factory:VB.\u0275fac,providedIn:"root"});var y4b=function(a){this.internalArray_=m(a)};X(y4b,Y);g=y4b.prototype;g.getExperimentId=function(){return gj(this,1)};g.getState=function(){return fj(this,2,0)};g.setState=function(a){return sl(this,2,a)};g.getTitle=function(){return Kh(this,4)};g.setTitle=function(a){return rj(this,4,a)};g.getDescription=function(){return Kh(this,5)};g.setDescription=function(a){return rj(this,5,a)};g.hasDescription=function(){return $k(this,5)};var WB=function(a){this.internalArray_=m(a,0,WB.messageId)};X(WB,Y);WB.prototype.getFeaturesList=function(){return xj(this,y4b,1,yj())};WB.repeatedFields_=[1];WB.messageId="b.ListBeapFeaturesResponse";var XB=function(a){this.executor=a};XB.prototype.fetch=function(){return this.executor.get({url:"action/experiments",responseConstructor:WB}).pipe(y(function(a){var b;return((b=a.getFeaturesList())!=null?b:[]).map(hwa)}))};XB.\u0275fac=function(a){return new (a||XB)(n(IB))};XB.\u0275prov=Hc({token:XB,factory:XB.\u0275fac,providedIn:"root"});var YB=function(a){UB.call(this,{freshUntil:Infinity,ancientAfter:Infinity});this.beapApi=a;this.recordType="beapFeature";this.idForRecord=function(b){return""+b.experimentId}};X(YB,UB);YB.prototype.fetchAll=function(){return this.beapApi.fetch().pipe(y(function(a){return{results:a}}))};YB.\u0275fac=function(a){return new (a||YB)(n(XB))};YB.\u0275prov=Hc({token:YB,factory:YB.\u0275fac,providedIn:"root"});var ZB={},iwa=(ZB[1]="issue_id",ZB[3]="type",ZB[4]="status",ZB[5]="priority",ZB[6]="severity",ZB[18]="title",ZB[15]="modified_time",ZB[14]="created_time",ZB[17]="verified_time",ZB[16]="resolved_time",ZB[38]="deletion_time",ZB[13]="blocked_by_issue_ids",ZB[12]="blocking_issue_ids",ZB[26]="vote_count",ZB[28]="cc_count",ZB[44]="collaborators_count",ZB[2]="component_path",ZB[27]="duplicate_count",ZB[10]="ccs",ZB[43]="collaborators",ZB[11]="code_changes",ZB[32]="postmortems",ZB[8]="assignee",ZB[9]="verifier",
ZB[7]="reporter",ZB[19]="found_in_versions",ZB[20]="targeted_to_versions",ZB[21]="verified_in_versions",ZB[22]="in_prod",ZB[30]="last_modifier",ZB[25]="position",ZB[24]="custom_field",ZB[29]="modified_by",ZB[31]="archived",ZB[23]="canonical_issue_id",ZB[33]="min_slo",ZB[35]="assignment_slo",ZB[36]="response_slo",ZB[37]="closure_slo",ZB[39]="team",ZB[40]="estimate",ZB[41]="estimate_total_open",ZB[42]="estimate_total_complete",ZB[45]="access_level",ZB[46]="descendant_count",ZB[47]="open_descendant_count",
ZB[48]="one_day_view_count",ZB[49]="seven_day_view_count",ZB[50]="thirty_day_view_count",ZB),$B={},mwa=($B.issue_id=1,$B.type=3,$B.status=4,$B.priority=5,$B.severity=6,$B.title=18,$B.modified_time=15,$B.created_time=14,$B.verified_time=17,$B.resolved_time=16,$B.deletion_time=38,$B.blocked_by_issue_ids=13,$B.blocking_issue_ids=12,$B.vote_count=26,$B.cc_count=28,$B.collaborators_count=44,$B.component_path=2,$B.duplicate_count=27,$B.ccs=10,$B.collaborators=43,$B.code_changes=11,$B.postmortems=32,$B.assignee=
8,$B.verifier=9,$B.reporter=7,$B.found_in_versions=19,$B.targeted_to_versions=20,$B.verified_in_versions=21,$B.in_prod=22,$B.last_modifier=30,$B.position=25,$B.custom_field=24,$B.modified_by=29,$B.archived=31,$B.canonical_issue_id=23,$B.min_slo=33,$B.assignment_slo=35,$B.response_slo=36,$B.closure_slo=37,$B.team=39,$B.estimate=40,$B.estimate_total_open=41,$B.estimate_total_complete=42,$B.access_level=45,$B.descendant_count=46,$B.open_descendant_count=47,$B.one_day_view_count=48,$B.seven_day_view_count=
49,$B.thirty_day_view_count=50,$B);var rk=function(a){this.internalArray_=m(a)};X(rk,Y);rk.prototype.getDisplayColumns=function(){return fu(this,1)};rk.prototype.setDisplayColumns=function(a){oc(this,1,Ob,a,void 0,Ij)};rk.repeatedFields_=[1];var qk=function(a){this.internalArray_=m(a)};X(qk,Y);g=qk.prototype;g.getHotlistId=function(){return ej(this,1)};g.getHotlistId_asLegacyNumberOrString=function(){return ej(this,1)};g.setHotlistId=function(a){return bj(this,1,a)};g.getName=function(){return Kh(this,2)};g.setName=function(a){return cj(this,2,a)};g.getDescription=function(){return Kh(this,3)};g.setDescription=function(a){return cj(this,3,a)};g.getArchived=function(){return Hj(this,4)};g.setArchived=function(a){return Kj(this,4,a)};
g.getDefaultOrderBy=function(){return Kh(this,5)};g.setDefaultOrderBy=function(a){return cj(this,5,a)};g.getDisplayPreferences=function(){return $i(this,rk,6)};g.setDisplayPreferences=function(a){return oj(this,rk,6,a)};g.getCreatedTime=function(){return $i(this,Ii,7)};g.setCreatedTime=function(a){return oj(this,Ii,7,a)};g.getModifiedTime=function(){return $i(this,Ii,8)};g.setModifiedTime=function(a){return oj(this,Ii,8,a)};g.getOwnersList=function(){return xj(this,Ni,9,yj())};
g.setOwnersList=function(a){return gk(this,9,a)};g.getEtag=function(){return no(this,10)};g.setEtag=function(a){nj(this,10,a)};qk.repeatedFields_=[9];var tk=function(a){this.internalArray_=m(a)};X(tk,Y);g=tk.prototype;g.getSavedSearchId_asLegacyNumberOrString=function(){return ej(this,1)};g.setSavedSearchId=function(a){return bj(this,1,a)};g.getName=function(){return Kh(this,2)};g.setName=function(a){return cj(this,2,a)};g.getDescription=function(){return Kh(this,3)};g.setDescription=function(a){return cj(this,3,a)};g.getQuery=function(){return Kh(this,4)};g.setQuery=function(a){return cj(this,4,a)};g.clearQuery=function(){oo(this,4)};
g.getDefaultOrderBy=function(){return Kh(this,5)};g.setDefaultOrderBy=function(a){return cj(this,5,a)};g.getDisplayPreferences=function(){return $i(this,rk,6)};g.setDisplayPreferences=function(a){return oj(this,rk,6,a)};g.getOwnersList=function(){return xj(this,Ni,7,yj())};g.setOwnersList=function(a){return gk(this,7,a)};tk.repeatedFields_=[7];var xk=function(a){this.internalArray_=m(a)};X(xk,Y);g=xk.prototype;g.getHotlistId=function(){return ej(this,1)};g.getHotlistId_asLegacyNumberOrString=function(){return ej(this,1)};g.setHotlistId=function(a){return bj(this,1,a)};g.getHotlist=function(){return $i(this,qk,2)};g.setHotlist=function(a){return oj(this,qk,2,a)};g.hasHotlist=function(){return dk(this,qk,2)};var zk=function(a){this.internalArray_=m(a)};X(zk,Y);g=zk.prototype;g.getSavedSearchId_asLegacyNumberOrString=function(){return ej(this,1)};g.setSavedSearchId=function(a){return bj(this,1,a)};g.getSavedSearch=function(){return $i(this,tk,2)};g.setSavedSearch=function(a){return oj(this,tk,2,a)};g.hasSavedSearch=function(){return dk(this,tk,2)};var Ak=function(a){this.internalArray_=m(a)};X(Ak,Y);Ak.prototype.getBookmarkGroupId_asLegacyNumberOrString=function(){return ej(this,1)};Ak.prototype.setBookmarkGroupId=function(a){return bj(this,1,a)};Ak.prototype.getBookmarkGroup=function(){return $i(this,Bk,2)};Ak.prototype.setBookmarkGroup=function(a){return oj(this,Bk,2,a)};var yk=function(a){this.internalArray_=m(a)};X(yk,Y);g=yk.prototype;g.getHotlist=function(){return Bj(this,xk,1,wk)};g.setHotlist=function(a){return Gj(this,1,wk,a)};
g.hasHotlist=function(){return Qj(this,xk,1,wk)};g.getSavedSearch=function(){return Bj(this,zk,2,wk)};g.setSavedSearch=function(a){return Gj(this,2,wk,a)};g.hasSavedSearch=function(){return Qj(this,zk,2,wk)};g.getBookmarkGroup=function(){return Bj(this,Ak,3,wk)};g.setBookmarkGroup=function(a){return Gj(this,3,wk,a)};var Bk=function(a){this.internalArray_=m(a)};X(Bk,Y);g=Bk.prototype;g.getBookmarkGroupId_asLegacyNumberOrString=function(){return ej(this,1)};
g.setBookmarkGroupId=function(a){return bj(this,1,a)};g.getName=function(){return Kh(this,2)};g.setName=function(a){return cj(this,2,a)};g.getDescription=function(){return Kh(this,3)};g.setDescription=function(a){return cj(this,3,a)};g.getArchived=function(){return Hj(this,4)};g.setArchived=function(a){return Kj(this,4,a)};g.addItems=function(a,b){return Mq(this,5,yk,a,b)};g.getOwnersList=function(){return xj(this,Ni,6,yj())};g.setOwnersList=function(a){return gk(this,6,a)};var wk=[1,2,3];
Bk.repeatedFields_=[5,6];var aC=function(a){this.internalArray_=m(a,0,aC.messageId)};X(aC,Y);aC.prototype.getIt=function(){return $i(this,Bk,10)};aC.prototype.setIt=function(a){return oj(this,Bk,10,a)};aC.messageId="b.BookmarkGroup";var z4b={ISSUE_ID:"issueId",COMPONENT_ID:"componentId",GROUP_ID:"groupId",HOTLIST_ID:"hotlistId",SAVED_SEARCH_ID:"savedSearchId",SLO_ID:"sloId",TEAM_ID:"teamId",SETTINGS_TAB:"settingsTab"},zo={home:{routeDeclarationPath:"home",makeHref:function(){return"/home"}},viewDashboard:{routeDeclarationPath:"dashboard/:groupId",makeHref:function(a){return"/dashboard/"+a}},overviewTriage:{routeDeclarationPath:"triage",makeHref:function(){return"/triage"}},viewTriage:{routeDeclarationPath:"triage/:teamId",makeHref:function(a){return"/triage/"+
a}},viewTriagePhase:{routeDeclarationPath:"triage/:teamId/:phase",makeHref:function(a,b){return"/triage/"+a+"/"+b}},createSlo:{routeDeclarationPath:"slos/new",makeHref:function(){return"/slos/new"}},viewSlo:{routeDeclarationPath:"slos/:sloId",makeHref:function(a){return"/slos/"+a}},editSlo:{routeDeclarationPath:"slos/:sloId/edit",makeHref:function(a){return"/slos/"+a+"/edit"}},listSlos:{routeDeclarationPath:"slos",makeHref:function(){return"/slos"}},listHotlists:{routeDeclarationPath:"hotlists",makeHref:function(){return"/hotlists"}},
createHotlist:{routeDeclarationPath:"hotlists/new",makeHref:function(){return"/hotlists/new"}},viewHotlist:{routeDeclarationPath:"hotlists/:hotlistId",makeHref:function(a){return"/hotlists/"+a}},editHotlist:{routeDeclarationPath:"hotlists/:hotlistId/edit",makeHref:function(a){return"/hotlists/"+a+"/edit"}},viewIssue:{routeDeclarationPath:"issues/:issueId",makeHref:function(a){return"/issues/"+a}},listIssues:{routeDeclarationPath:"issues",makeHref:function(a){return a==null?"/issues":"/issues?"+Owa(a)}},
listIssuesRecent:{routeDeclarationPath:"recent",makeHref:function(){return"/recent"}},createIssue:{routeDeclarationPath:"issues/new",makeHref:function(a){return a==null?"/issues/new":"/issues/new?"+Owa(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?"+
Owa({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){return"/teams/"+a+"/edit"}},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}}};var bC=function(a){this.internalArray_=m(a,0,bC.messageId)};X(bC,Y);bC.repeatedFields_=[2];bC.messageId="b.BookmarkGroupListResponse";var cC=function(a){this.executor=a};cC.prototype.get=function(a){return this.executor.get({url:"action/bookmark_groups/"+a,responseConstructor:aC}).then(Iwa)};cC.prototype.query=function(a){return this.executor.get({url:"action/bookmark_groups",options:{params:{q:a}},responseConstructor:bC}).then(Jwa)};cC.prototype.create=function(a){a=(new aC).setIt((new Bk).setName(a.name).setDescription(a.description));return this.executor.post({url:"action/bookmark_groups",body:a,responseConstructor:aC}).then(Iwa)};
cC.prototype.update=function(a){var b=(new aC).setIt(Ewa(a));return this.executor.post({url:"action/bookmark_groups/"+a.bookmarkGroupId,body:b,responseConstructor:aC}).then(Iwa)};cC.\u0275fac=function(a){return new (a||cC)(n(JB))};cC.\u0275prov=Hc({token:cC,factory:cC.\u0275fac,providedIn:"root"});var dC=function(a){UB.call(this,{freshUntil:3E5});this.bookmarkGroupApi=a;this.recordType="bookmarkGroup";this.idKey="bookmarkGroupId"};X(dC,UB);dC.prototype.fetchOne=function(a){var b=this;return(0,W.defer)(function(){return b.bookmarkGroupApi.get(a)})};dC.prototype.fetchSet=function(a){var b=this;return(0,W.combineLatest)(a.map(function(c){return b.fetchOne(c)}))};dC.\u0275fac=function(a){return new (a||dC)(n(cC))};dC.\u0275prov=Hc({token:dC,factory:dC.\u0275fac,providedIn:"root"});var eC=function(a){this.internalArray_=m(a,0,eC.messageId)};X(eC,Y);g=eC.prototype;g.getAuthor=function(){return Kh(this,1)};g.setAuthor=function(a){rj(this,1,a)};g.hasAuthor=function(){return $k(this,1)};g.getDescription=function(){return Kh(this,2)};g.setDescription=function(a){return rj(this,2,a)};g.hasDescription=function(){return $k(this,2)};g.getPending=function(){return Hj(this,3)};g.getTimestamp=function(){return ej(this,4)};
g.getTimestamp_asLegacyNumberOrString=function(){return ej(this,4)};g.setTimestamp=function(a){return yl(this,4,a)};g.hasTimestamp=function(){return il(this,4)};eC.repeatedFields_=[5];eC.messageId="b.ChangelistDetailsResponse";var fC=function(a){this.internalArray_=m(a)};X(fC,Y);fC.prototype.getIssueIdsList_asLegacyNumberOrString=function(){return nSb(this,1)};fC.prototype.getIssueIdsList_asString=function(){return Fk(this,1)};fC.prototype.setIssueIdsList=function(a){return jc(this,1,a,Kb)};fC.repeatedFields_=[1];var gC=function(a){this.internalArray_=m(a,0,gC.messageId)};X(gC,Y);g=gC.prototype;g.getQuery=function(){return $i(this,fC,1)};g.setQuery=function(a){return oj(this,fC,1,a)};g.clearQuery=function(){oo(this,1)};g.hasQuery=function(){return dk(this,fC,1)};g.getNextPageToken=function(){return Kh(this,2)};gC.messageId="b.ListChangelistsRequest";var Qwa=function(a){this.internalArray_=m(a)};X(Qwa,Y);g=Qwa.prototype;g.getAuthor=function(){return Kh(this,1)};g.setAuthor=function(a){rj(this,1,a)};g.hasAuthor=function(){return $k(this,1)};g.getChangelistNumber=function(){return gj(this,2)};g.getPending=function(){return Hj(this,3)};g.getTimestamp=function(){return $i(this,Ii,4)};g.setTimestamp=function(a){return oj(this,Ii,4,a)};g.hasTimestamp=function(){return dk(this,Ii,4)};
g.getIssueIdsList_asLegacyNumberOrString=function(){return nSb(this,5)};g.getIssueIdsList_asString=function(){return Fk(this,5)};g.setIssueIdsList=function(a){return jc(this,5,a,Kb)};Qwa.repeatedFields_=[5,6];var hC=function(a){this.internalArray_=m(a,0,hC.messageId)};X(hC,Y);hC.prototype.getNextPageToken=function(){return Kh(this,2)};hC.repeatedFields_=[1];hC.messageId="b.ListChangelistsResponse";var iC=function(a){this.internalArray_=m(a,0,iC.messageId)};X(iC,Y);iC.repeatedFields_=[1];iC.messageId="b.PendingChangelistsResponse";var jC=function(a){this.executor=a};jC.prototype.getPendingChangelistsForIssue=function(a){return this.executor.get({url:"action/issues/"+a+"/pending_changelists",responseConstructor:iC}).pipe(y(Pwa))};jC.prototype.getChangelistDetails=function(a){return this.executor.get({url:"/action/changelists/"+a,responseConstructor:eC}).pipe(y(Twa))};
var A4b=function(a,b){var c=new gC,d=c.setQuery;b=(new fC).setIssueIdsList(b);b=sl(b,2,2);c=d.call(c,b);return a.executor.post({url:"action/changelists/list",body:c,responseConstructor:hC}).pipe(y(Swa))};jC.\u0275fac=function(a){return new (a||jC)(n(IB))};jC.\u0275prov=Hc({token:jC,factory:jC.\u0275fac,providedIn:"root"});var kC=function(a){this.changelistResources=a};kC.prototype.getPendingChangelistsForIssue=function(a){return(0,W.firstValueFrom)(this.changelistResources.getPendingChangelistsForIssue(a))};
kC.prototype.getChangelistDetails=function(a){return(0,W.firstValueFrom)(this.changelistResources.getChangelistDetails(a))};kC.\u0275fac=function(a){return new (a||kC)(n(jC))};kC.\u0275prov=Hc({token:kC,factory:kC.\u0275fac,providedIn:"root"});var lC=function(a){SB.call(this);this.api=a;this.defaultQuery={};this.recordType="Changelist";this.idKey="changelistNumber"};X(lC,SB);lC.prototype.fetchAll=function(a){if(a=a.pendingForIssues)return a.length===0?(0,W.of)({results:[]}):A4b(this.api,a).pipe(y(function(b){var c;return{results:(c=b.changelists)!=null?c:[]}}));throw Error("xc");};lC.\u0275fac=function(a){return new (a||lC)(n(jC))};lC.\u0275prov=Hc({token:lC,factory:lC.\u0275fac,providedIn:"root"});var mC=function(a){this.internalArray_=m(a,0,mC.messageId)};X(mC,Y);mC.prototype.getIt=function(){return $i(this,Zi,2)};mC.prototype.setIt=function(a){return oj(this,Zi,2,a)};mC.messageId="b.AccessLimit";var nC=function(a){this.internalArray_=m(a,0,nC.messageId)};X(nC,Y);nC.prototype.getIt=function(){return $i(this,FB,13)};nC.prototype.setIt=function(a){return oj(this,FB,13,a)};nC.messageId="b.AccessPolicy";var oC=function(a){this.internalArray_=m(a,0,oC.messageId)};X(oC,Y);oC.repeatedFields_=[1,2];oC.messageId="b.CheckPermissionResponse";var pC=function(a){this.executor=a};g=pC.prototype;g.get=function(a,b){a=Gk(Hk(a,b));return this.executor.get({url:"action/access_policies/"+a,responseConstructor:nC}).pipe(y(Wwa))};
g.update=function(a,b,c){a=Gk(Hk(a,b));var d;b=new nC;var e=b.setIt;c=Object.assign({},c,{implicitAccess:(d=c.implicitAccess)!=null?d:null,inheritedAdmins:null,implicitAppenders:null,implicitEditors:null,implicitReaders:null});var f,h,k,q,t,w;d=new FB;var B=((f=c.admins)!=null?f:[]).map(Xi);f=gk(d,2,B).setAppendersList(((h=c.appenders)!=null?h:[]).map(Xi));h=((k=c.editors)!=null?k:[]).map(Xi);k=gk(f,4,h).setReadersList(((q=c.readers)!=null?q:[]).map(Xi));q=((t=c.restrictedReaders)!=null?t:[]).map(Xi);
t=gk(k,11,q);q=((w=c.restrictedPlusReaders)!=null?w:[]).map(Xi);w=gk(t,12,q);if(c.implicitAccess){t=w.setImplicitAccess;a:switch(c.implicitAccess){case "IMPLICIT_ACCESS_UNSPECIFIED":c=0;break a;case "ALLOW":c=1;break a;case "DENY":c=2;break a;default:throw Error("Wb");}t.call(w,c)}b=e.call(b,w);return this.executor.post({url:"action/access_policies/"+a,body:b,responseConstructor:nC}).pipe(y(Wwa))};
g.checkPermission=function(a,b,c,d){a=Gk(a.join(","));b=Gk(b);c=Gk(Hk(c,d));return this.executor.get({url:"action/check_permission/"+a+"/"+b+"/"+c,responseConstructor:oC}).pipe(y(Vwa))};g.setAccessLimit=function(a,b,c){a=Gk(Hk(a,b));c=(new mC).setIt(dua(c));return this.executor.post({url:"action/access_limits/"+a,body:c,responseConstructor:mC}).pipe(y(Uwa))};g.checkComponentImplicitAccessEnabled=function(a){return this.get("COMPONENT",a).pipe(y(function(b){return b.implicitAccess==="ALLOW"}))};
pC.\u0275fac=function(a){return new (a||pC)(n(IB))};pC.\u0275prov=Hc({token:pC,factory:pC.\u0275fac,providedIn:"root"});var qC=function(a){this.observableApi=a};g=qC.prototype;g.get=function(a,b){return(0,W.firstValueFrom)(this.observableApi.get(a,b))};g.update=function(a,b,c){return(0,W.firstValueFrom)(this.observableApi.update(a,b,c))};g.checkPermission=function(a,b,c,d){return(0,W.firstValueFrom)(this.observableApi.checkPermission(a,b,c,d))};
g.setAccessLimit=function(a,b,c){return(0,W.firstValueFrom)(this.observableApi.setAccessLimit(a,b,c))};g.checkComponentImplicitAccessEnabled=function(a){return(0,W.firstValueFrom)(this.observableApi.checkComponentImplicitAccessEnabled(a))};qC.\u0275fac=function(a){return new (a||qC)(n(pC))};qC.\u0275prov=Hc({token:qC,factory:qC.\u0275fac,providedIn:"root"});var rC=function(a){UB.call(this);this.accessPolicyApi=a;this.recordType="componentAccessPolicy";this.isEqual=pi};X(rC,UB);rC.prototype.fetchOne=function(a){return this.accessPolicyApi.get("COMPONENT",a).pipe(y(function(b){return Object.assign({},{id:a},b)}),$e(function(){return(0,W.of)(void 0)}))};rC.prototype.doSave=function(a){var b=a.id;return this.accessPolicyApi.update("COMPONENT",b,a).pipe(y(function(c){return Object.assign({},{id:b},c)}))};rC.\u0275fac=function(a){return new (a||rC)(n(pC))};
rC.\u0275prov=Hc({token:rC,factory:rC.\u0275fac,providedIn:"root"});var sC=function(){};sC.prototype.adapt=function(a){var b,c=new B4b(a.call.bind(a),a.split.bind(a),(b=a.bufferTimeMs)!=null?b:500,a.maxBatchSize||100);return c.get.bind(c)};sC.\u0275fac=function(a){return new (a||sC)};sC.\u0275prov=Hc({token:sC,factory:sC.\u0275fac,providedIn:"root"});
var B4b=function(a,b,c,d){var e=this;this.batchCall=a;this.batchSplit=b;this.bufferTimeMs=c;this.maxBatchSize=d;this.inputSubject=new W.Subject;this.inputs$=this.inputSubject.pipe(Pja(this.inputSubject.pipe(Xe(this.bufferTimeMs,W.asapScheduler))));this.removeDuplicates=y(function(f){return[].concat(r(new Set(f)))});this.limitInputSize=y(function(f){for(var h=l(f.slice(e.maxBatchSize)),k=h.next();!k.done;k=h.next())e.inputSubject.next(k.value);return new Set(f.slice(0,e.maxBatchSize))});this.makeBatchCalls=
(0,W.pipe)(pe(function(f){try{return e.batchCall(f).pipe(ef(),y(function(h){return{inputs:f,batchResponse:h,error:void 0}}),$e(function(h){return(0,W.of)({inputs:f,batchResponse:void 0,error:h})}))}catch(h){return(0,W.of)({inputs:f,batchResponse:void 0,error:h})}}),uka());this.batchResults$=this.inputs$.pipe(this.removeDuplicates,this.limitInputSize,this.makeBatchCalls)};
B4b.prototype.get=function(a){var b=this;return new W.Observable(function(c){c=b.batchResults$.pipe(te(function(d){return d.inputs.has(a)}),ef(),y(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 Mk=function(a){this.internalArray_=m(a)};X(Mk,Y);Mk.prototype.setFieldId=function(a){return oj(this,vj,1,a)};var Kk=function(a){this.internalArray_=m(a)};X(Kk,Y);g=Kk.prototype;g.getInherit=function(){return Hj(this,1)};g.setInherit=function(a){return Kj(this,1,a)};g.getId=function(){return ej(this,2)};g.getId_asLegacyNumberOrString=function(){return ej(this,2)};g.getId_asString=function(){return du(this,2)};g.setId=function(a){return bj(this,2,a)};var Jk=function(a){this.internalArray_=m(a)};X(Jk,Y);g=Jk.prototype;g.getInherit=function(){return Hj(this,1)};g.setInherit=function(a){return Kj(this,1,a)};g.getId=function(){return ej(this,2)};g.getId_asLegacyNumberOrString=function(){return ej(this,2)};g.getId_asString=function(){return du(this,2)};g.setId=function(a){return bj(this,2,a)};g.getSourceTeamId_asLegacyNumberOrString=function(){return ej(this,4)};g.setSourceTeamId=function(a){return bj(this,4,a)};
g.getComment=function(){return Kh(this,3)};g.setComment=function(a){return cj(this,3,a)};var bo=function(a){this.internalArray_=m(a)};X(bo,Y);g=bo.prototype;g.getVersion=function(){return gj(this,1)};g.setVersion=function(a){return Gi(this,1,a)};g.getSlo=function(){return $i(this,Jk,2)};g.setSlo=function(a){oj(this,Jk,2,a)};g.hasSlo=function(){return dk(this,Jk,2)};var Ik=function(a){this.internalArray_=m(a)};X(Ik,Y);Ik.prototype.getUser=function(){return $i(this,Ni,1)};Ik.prototype.setUser=function(a){return oj(this,Ni,1,a)};Ik.prototype.hasUser=function(){return dk(this,Ni,1)};var tC=function(a){this.internalArray_=m(a)};X(tC,Y);g=tC.prototype;g.getId=function(){return ej(this,1)};g.getId_asLegacyNumberOrString=function(){return ej(this,1)};g.getId_asString=function(){return du(this,1)};g.setId=function(a){return bj(this,1,a)};g.getPathIdsList_asLegacyNumberOrString=function(){return Nk(this,2,yj())};g.getPathIdsList_asString=function(){return Fk(this,2)};g.setPathIdsList=function(a){return Al(this,2,a)};g.getName=function(){return Kh(this,3)};
g.setName=function(a){return cj(this,3,a)};g.getPathNamesList=function(a){return Ij(this,4,yj(a))};g.setPathNamesList=function(a){return Lj(this,4,a)};g.getMembersList=function(){return xj(this,Ik,6,yj())};g.setMembersList=function(a){return gk(this,6,a)};g.getDescription=function(){return Kh(this,8)};g.setDescription=function(a){return cj(this,8,a)};g.getDeleted=function(){return Hj(this,9)};tC.repeatedFields_=[2,4,5,6];var Lk=function(a){this.internalArray_=m(a)};X(Lk,Y);Lk.prototype.getTeamId_asLegacyNumberOrString=function(){return ej(this,1)};Lk.prototype.setTeamId=function(a){return bj(this,1,a)};Lk.prototype.getScore=function(){return Aj(this,2)};Lk.prototype.setScore=function(a){return lk(this,2,a)};var Ok=function(a){this.internalArray_=m(a)};X(Ok,Y);Ok.prototype.getComponentPathNames=function(a){return fu(this,2,a)};Ok.repeatedFields_=[1,2,3,4,5];var Rk=function(a){this.internalArray_=m(a)};X(Rk,Y);g=Rk.prototype;g.getComponentId=function(){return ej(this,2)};g.getComponentId_asLegacyNumberOrString=function(){return ej(this,2)};g.getComponentId_asString=function(){return du(this,2)};g.setComponentId=function(a){return bj(this,2,a)};g.getName=function(){return Kh(this,4)};g.setName=function(a){return cj(this,4,a)};g.getDescription=function(){return Kh(this,5)};g.setDescription=function(a){return cj(this,5,a)};
g.getIsArchived=function(){return Hj(this,8)};g.setIsArchived=function(a){return Kj(this,8,a)};g.getAccessLimit=function(){return $i(this,Zi,9)};g.setAccessLimit=function(a){return oj(this,Zi,9,a)};g.setCommentEditState=function(a){return dj(this,10,a)};g.getSlo=function(){return $i(this,ak,13)};g.setSlo=function(a){oj(this,ak,13,a)};g.hasSlo=function(){return dk(this,ak,13)};g.getTeam=function(){return $i(this,Kk,16)};g.getEffortSpec=function(){return $i(this,Mj,18)};
g.getTeamSuggestionsList=function(){return xj(this,Lk,19,yj())};g.setTeamSuggestionsList=function(a){gk(this,19,a)};g.getTrackerId=function(){return ej(this,20)};g.getTrackerId_asLegacyNumberOrString=function(){return ej(this,20)};g.getTrackerId_asString=function(){return du(this,20)};g.setTrackerId=function(a){bj(this,20,a)};Rk.repeatedFields_=[19];var Uk=function(a){this.internalArray_=m(a)};X(Uk,Y);g=Uk.prototype;g.getComponentId=function(){return ej(this,2)};g.getComponentId_asLegacyNumberOrString=function(){return ej(this,2)};g.getComponentId_asString=function(){return du(this,2)};g.setComponentId=function(a){return bj(this,2,a)};g.getTemplateId_asLegacyNumberOrString=function(){return ej(this,3)};g.setTemplateId=function(a){return bj(this,3,a)};g.getName=function(){return Kh(this,4)};g.setName=function(a){return cj(this,4,a)};
g.getDescription=function(){return Kh(this,5)};g.setDescription=function(a){return cj(this,5,a)};g.getIssueState=function(){return $i(this,jk,6)};g.setIssueState=function(a){return oj(this,jk,6,a)};g.getComment=function(){return Kh(this,7)};g.setComment=function(a){return cj(this,7,a)};g.getFormattingMode=function(){return fj(this,8,0)};g.setFormattingMode=function(a){return dj(this,8,a)};var Sk=function(a){this.internalArray_=m(a,0,Sk.messageId)};X(Sk,Y);Sk.prototype.getIt=function(){return $i(this,Rk,28)};Sk.prototype.setIt=function(a){return oj(this,Rk,28,a)};Sk.messageId="b.Component";var Tk=function(a){this.internalArray_=m(a)};X(Tk,Y);Tk.prototype.getIt=function(){return $i(this,Uk,7)};Tk.prototype.setIt=function(a){return oj(this,Uk,7,a)};var C4b=function(a){this.internalArray_=m(a,0,C4b.messageId)};X(C4b,Y);C4b.messageId="b.UpdateComponentSloRequest";var D4b=function(a){this.internalArray_=m(a,0,D4b.messageId)};X(D4b,Y);D4b.messageId="b.UpdateComponentTeamRequest";var E4b=function(){},Vk=function(a){if(typeof a=="number"){var b=new E4b;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(":",mu(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=F4b(a);b.tzNames_=[c,c];b.tzNamesExt_={STD_LONG_NAME_GMT:a,STD_GENERIC_LOCATION:a};b.transitions_=[];return b}b=new E4b;
b.timeZoneId_=a.id;b.standardOffset_=-a.std_offset;b.tzNames_=a.names;b.tzNamesExt_=a.names_ext;b.transitions_=a.transitions;return b},F4b=function(a){var b=["GMT"];b.push(a<=0?"+":"-");a=Math.abs(a);b.push(mu(Math.floor(a/60)%100,2),":",mu(a%60,2));return b.join("")},G4b=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]};
E4b.prototype.getOffset=function(a){a=this.standardOffset_-G4b(this,a);return a===-1440?0:a};var Wk=function(a){this.internalArray_=m(a)};X(Wk,Y);Wk.prototype.getLogoUrl=function(){return Kh(this,1)};Wk.prototype.getTheme=function(){return fj(this,2,0)};Wk.prototype.setTheme=function(a){return dj(this,2,a)};var uC=function(a){this.internalArray_=m(a)};X(uC,Y);g=uC.prototype;g.getTrackerId=function(){return ej(this,1)};g.getTrackerId_asLegacyNumberOrString=function(){return ej(this,1)};g.getTrackerId_asString=function(){return du(this,1)};g.setTrackerId=function(a){bj(this,1,a)};g.getComponentId=function(){return ej(this,2)};g.getComponentId_asLegacyNumberOrString=function(){return ej(this,2)};g.getComponentId_asString=function(){return du(this,2)};g.setComponentId=function(a){return bj(this,2,a)};
g.getName=function(){return Kh(this,3)};g.setName=function(a){return cj(this,3,a)};g.getInternalBaseUrl=function(){return Kh(this,8)};g.getExternalBaseUrl=function(){return Kh(this,9)};g.getEtag=function(){return no(this,7)};g.setEtag=function(a){nj(this,7,a)};uC.repeatedFields_=[4,10,12];var Ol=function(a){this.internalArray_=m(a,0,Ol.messageId)};X(Ol,Y);Ol.prototype.getIt=function(){return $i(this,uC,9)};Ol.prototype.setIt=function(a){return oj(this,uC,9,a)};Ol.messageId="b.Tracker";var Cxa={COMMENT_FORMATTING_MODE_UNSPECIFIED:0,PLAIN_FORMATTING_MODE:1,MARKDOWN_FORMATTING_MODE:2,LITERAL_FORMATTING_MODE:3,0:"COMMENT_FORMATTING_MODE_UNSPECIFIED",1:"PLAIN_FORMATTING_MODE",2:"MARKDOWN_FORMATTING_MODE",3:"LITERAL_FORMATTING_MODE"},H4b={},I4b=(H4b[3]="LITERAL_FORMATTING_MODE",H4b[1]="PLAIN_FORMATTING_MODE",H4b[2]="MARKDOWN_FORMATTING_MODE",H4b),J4b=I4b[2],K4b=I4b[1],vC={showFullHistory:void 0,useCodefont:void 0,resultsPerPage:void 0,displayColumns:void 0,sortColumns:void 0,notificationPreferences:{reportedPriority:"IMPORTANT",
assignedPriority:"ALL",verifiedPriority:"IMPORTANT",ccdPriority:"IMPORTANT",collaboratorPriority:"IMPORTANT",starredPriority:"IMPORTANT",excludeChangesByMe:!0,unsubscribeFromAll:!1,enableV2Prefs:!1},listViewPreferences:{showHotlists:!1,wrapTitles:!1,wrapComponents:!1,showStatusIcons:!1,rtlComponentPath:!1},layoutPreferences:{leftSidebarWidth:220,expandIssueSlo:!1},dateTimePreferences:{calendarFormat:"MMM d, yyyy",timeFormat:"hh:mma",timeZone:"",sloEtaViewAs:"DEFAULT"},themePreferences:{density:"COMFORTABLE"},
homepagePreferences:{resourceType:void 0,resourceId:void 0},keyboardPreferences:{enableAllHotkeys:!0},textDisplayPreferences:{},bugScreensaverPreferences:{announcementDismissed:!1,enableBugScreensaver:!1},g3nPreferences:{},teamWarningPreferences:{componentTeamWarnings:[]},dismissalTimestamps:{},showRecentEventsFirst:!1,commentFilterPreferences:{commentFilter:void 0},showInlineImages:!0,missionControlPreferences:{}};var gl=function(a){this.internalArray_=m(a)};X(gl,Y);var kl=function(a){this.internalArray_=m(a)};X(kl,Y);var Cl=function(a){this.internalArray_=m(a)};X(Cl,Y);g=Cl.prototype;g.getType=function(){return fj(this,1,1)};g.setType=function(a){return sl(this,1,a)};g.hasType=function(){return al(this,1)};g.getCustomFieldId_asLegacyNumberOrString=function(){return ej(this,2)};g.getCustomFieldId_asString=function(){return du(this,2)};g.setCustomFieldId=function(a){return yl(this,2,a)};g.hasCustomFieldId=function(){return il(this,2)};var vl=function(a){this.internalArray_=m(a)};X(vl,Y);vl.prototype.getTimeZone=function(){return Kh(this,5)};vl.prototype.setTimeZone=function(a){return rj(this,5,a)};vl.prototype.hasTimeZone=function(){return $k(this,5)};var Bl=function(a){this.internalArray_=m(a)};X(Bl,Y);Bl.prototype.getColumnList=function(){return xj(this,Cl,1,yj())};Bl.prototype.setColumnList=function(a){return gk(this,1,a)};Bl.prototype.setColumn=function(a){return Xt(this,1,Cl,a)};Bl.repeatedFields_=[1];var Xxa=function(a){this.internalArray_=m(a)};X(Xxa,Y);var Gxa=function(a){this.internalArray_=m(a)};X(Gxa,Y);var Dl=function(a){this.internalArray_=m(a)};X(Dl,Y);Dl.prototype.getColumn=function(){return $i(this,Cl,1)};Dl.prototype.setColumn=function(a){return oj(this,Cl,1,a)};var rl=function(a){this.internalArray_=m(a)};X(rl,Y);rl.prototype.getColumnList=function(){return xj(this,Dl,1,yj())};rl.prototype.setColumnList=function(a){return gk(this,1,a)};rl.prototype.setColumn=function(a){return Xt(this,1,Dl,a)};rl.repeatedFields_=[1];var cl=function(a){this.internalArray_=m(a)};X(cl,Y);cl.prototype.getDensity=function(){return fj(this,1,1)};cl.prototype.setDensity=function(a){return sl(this,1,a)};var hl=function(a){this.internalArray_=m(a)};X(hl,Y);var wl=function(a){this.internalArray_=m(a)};X(wl,Y);g=wl.prototype;g.getResourceType=function(){return fj(this,1,1)};g.setResourceType=function(a){return sl(this,1,a)};g.hasResourceType=function(){return al(this,1)};g.getResourceId_asString=function(){return el(this,2)};g.setResourceId=function(a){return xl(this,2,a)};g.hasResourceId=function(){return dl(this,2)!=null};var Kxa=function(a){this.internalArray_=m(a)};X(Kxa,Y);var ll=function(a){this.internalArray_=m(a)};X(ll,Y);ll.prototype.getCollapsedMap=function(){return hc(this,2,Uca)};ll.prototype.getMyTasksSources=function(){return rSb(this,8)};ll.repeatedFields_=[1,7,8];var Fxa=function(a){this.internalArray_=m(a)};X(Fxa,Y);var ml=function(a){this.internalArray_=m(a)};X(ml,Y);ml.repeatedFields_=[1];var Mxa=function(a){this.internalArray_=m(a)};X(Mxa,Y);g=Mxa.prototype;g.getComponentId=function(){return ej(this,1)};g.getComponentId_asLegacyNumberOrString=function(){return ej(this,1)};g.getComponentId_asString=function(){return du(this,1)};g.setComponentId=function(a){return yl(this,1,a)};g.hasComponentId=function(){return il(this,1)};var jl=function(a){this.internalArray_=m(a)};X(jl,Y);var hya=function(a,b){gk(a,1,b)};jl.repeatedFields_=[1];var fl=function(a){this.internalArray_=m(a)};X(fl,Y);var ol=function(a){this.internalArray_=m(a,500)};X(ol,Y);g=ol.prototype;g.getDisplayColumns=function(){return $i(this,Bl,4)};g.setDisplayColumns=function(a){oj(this,Bl,4,a)};g.getSortColumns=function(){return $i(this,rl,6)};g.getLayoutPreferences=function(){return $i(this,Xxa,10)};g.getDateTimePreferences=function(){return $i(this,vl,11)};g.getHomepagePreferences=function(){return $i(this,wl,13)};g.getCollapsedMap=function(){return hc(this,27,Uca)};
g.getShowInlineImages=function(){return Hj(this,29)};var Jl=function(a){this.internalArray_=m(a)};X(Jl,Y);g=Jl.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 gj(this,8)};g.getCreateComponentRedirectDelay=function(){return Aj(this,9)};
g.getCreateRestrictedSubresourcesComponentIds=function(){return pSb(this,13)};g.getIndefiniteRetentionComponentsAllowlist=function(){return pSb(this,20)};g.getHelpMeFixSidebarComponentAllowlist=function(){return pSb(this,23)};g.getInternalBaseUrl=function(){return Kh(this,24)};g.getExternalBaseUrl=function(){return Kh(this,25)};Jl.repeatedFields_=[13,20,22,23];var Ll=function(a){this.internalArray_=m(a)};X(Ll,Y);g=Ll.prototype;g.getEmail=function(){return Kh(this,1)};g.setEmail=function(a){return rj(this,1,a)};g.hasEmail=function(){return $k(this,1)};g.getSessionIdentifier=function(){return Kh(this,3)};g.getUserTypeLabel=function(){return Kh(this,5)};var Ml=function(a){this.internalArray_=m(a,0,Ml.messageId)};X(Ml,Y);Ml.prototype.getId=function(){return Kh(this,1)};Ml.prototype.setId=function(a){return rj(this,1,a)};Ml.repeatedFields_=[2,4];Ml.messageId="b.TimeZoneData";var Nl=function(a){this.internalArray_=m(a,0,Nl.messageId)};X(Nl,Y);g=Nl.prototype;g.getMessage=function(){return Kh(this,1)};g.setMessage=function(a){return rj(this,1,a)};g.getMessageId=function(){return Kh(this,2)};g.getTagsList=function(a){return Ij(this,4,yj(a))};g.getTags=function(a){return fu(this,4,a)};Nl.repeatedFields_=[4];Nl.messageId="b.Announcement";var Kl=function(a){this.internalArray_=m(a)};X(Kl,Y);Kl.prototype.getAnnouncement=function(){return $i(this,Nl,2)};Kl.repeatedFields_=[1];var L4b={clear:function(){},getItem:function(){return null},removeItem:function(){},setItem:function(){},length:0,key:function(){return null}},El=L4b;try{El=window.localStorage||L4b}catch(a){}
var M4b=function(a){return function(){var b=El.getItem(a);if(b!=null)return b=Number(b),isNaN(b)?void 0:b}},mya=function(a){return function(){var b=El.getItem(a);if(b!=null)return String(b)}},N4b=function(a){return function(b){b==null?El.removeItem(a):El.setItem(a,String(b))}},O4b=function(a){return function(b){b==null?El.removeItem(a):El.setItem(a,b)}},P4b=function(a){return function(){var b=Fl(a)();Gl(a)(!b);return!b}},nya=function(a){return function(){var b=El.getItem(a);if(b!=null)try{return JSON.parse(b)}catch(c){console.warn("JSON.parse("+
a+")"),console.warn(c)}}},Hl=function(a){return function(b){b==null?El.removeItem(a):El.setItem(a,JSON.stringify(b))}};var tya=function(a){this.internalArray_=m(a)};X(tya,Y);g=tya.prototype;g.getUser=function(){return $i(this,Ll,1)};g.setUser=function(a){return oj(this,Ll,1,a)};g.hasUser=function(){return dk(this,Ll,1)};g.getConfig=function(){return $i(this,Jl,2)};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 Hj(this,5)};g.getShowNewFeaturesDialog=function(){return Hj(this,6)};
g.getUserPreferences=function(){return $i(this,ol,7)};g.getAppBaseHref=function(){return Kh(this,10)};g.getTracker=function(){return $i(this,Ol,11)};g.getPassiveLoginIframeUrl=function(){return $i(this,xya,12)};var uya=window,Il;var wya;var Ir=function(){this.session=Pl()};g=Ir.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 wC=function(a){return a.getFrontendAccessMode()==="PARTNER"},xC=function(a){return a.getFrontendAccessMode()==="PUBLIC"};Ir.prototype.isNonPublicSession=function(){return this.getFrontendAccessMode()!=="PUBLIC"};var Q4b=function(a){var b=a.getUserEmail().split("@")[1];return b?a.session.config.trustedEmailDomainsAllowlist.includes("@"+b):!1};g=Ir.prototype;g.getFlag=function(a){return!!this.session.config.enabledFlags.get(a)};g.isAnonymous=function(){return this.session.user.anonymous};
g.getUserEmail=function(){return this.session.user.email||""};g.getSessionIdentifier=function(){return this.session.user.sessionIdentifier||"0"};g.getTracker=function(){var a;return(a=this.session.tracker)!=null?a:void 0};var kp=function(a){return!!a.session.tracker};g=Ir.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 yya(this.session)};g.getAppBaseUrl=function(a){return(a===void 0?0:a)||!this.isInternalSession()?Rl(this.session)?"https://issuetracker.google.com/":"https://issuetracker.sandbox.google.com/":Rl(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)};
Ir.\u0275fac=function(a){return new (a||Ir)};Ir.\u0275prov=Hc({token:Ir,factory:Ir.\u0275fac,providedIn:"root"});var R4b=function(a){this.internalArray_=m(a,0,R4b.messageId)};X(R4b,Y);R4b.messageId="b.CreateComponentResponse";var yC=function(a){this.internalArray_=m(a,0,yC.messageId)};X(yC,Y);yC.repeatedFields_=[1];yC.messageId="b.ListComponentsResponse";var vxa=function(a){this.internalArray_=m(a)};X(vxa,Y);vxa.prototype.getComponentPath=function(){return Kh(this,1)};var zC=function(a){this.internalArray_=m(a,0,zC.messageId)};X(zC,Y);zC.repeatedFields_=[2];zC.messageId="b.SubcomponentsResponse";var AC=function(a,b){this.executor=a;this.activeSession=b};g=AC.prototype;g.get=function(a){return this.query({id:[a]}).pipe(y(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:zC}).pipe(y(wxa))};g.fetchComponent=function(a){return this.executor.get({url:"action/components/"+a,responseConstructor:Sk}).pipe(y(Qk))};
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:yC}).pipe(y(txa))};
g.create=function(a){a=nxa(a);return this.executor.post({url:"action/components",body:a,responseConstructor:R4b}).pipe(y(function(b){return Qk($i(b,Sk,1))}))};
g.update=function(a){var b=a.componentId,c=new Sk,d=c.setIt,e=(new Rk).setComponentId(a.componentId);e=bj(e,3,a.parentComponentId).setName(a.name).setDescription(a.description).setIsArchived(a.archived);if(a.componentPathInfo){var f=a.componentPathInfo,h=new Ok;f.componentPathId&&Al(h,1,f.componentPathId);if(f.componentPathName){var k=f.componentPathName.map(String);Lj(h,2,k)}f.allCustomField&&(f=f.allCustomField.map(Rua),gk(h,5,f));oj(e,Ok,7,h)}a.accessLimit&&e.setAccessLimit(dua(a.accessLimit));
a.commentEditState&&e.setCommentEditState(a.commentEditState==="ENABLED"?1:2);bj(e,6,String(a.defaultTemplateId));a.slo&&e.setSlo(pva(a.slo));bj(e,14,a.bugscopeSloId);a.retentionSettings&&(h=sua(a.retentionSettings),oj(e,hj,15,h));a.fieldOrdering&&dj(e,17,H3b[a.fieldOrdering]);a.effortSpec&&(h=Yua(a.effortSpec),oj(e,Mj,18,h));a.team&&(h=bxa(a.team),oj(e,Kk,16,h));var q;e.setTeamSuggestionsList(((q=a.teamSuggestions)!=null?q:[]).map(dxa));a.spamProtection!=="SPAM_PROTECTION_UNSPECIFIED"&&dj(e,21,gxa(a.spamProtection));
a=d.call(c,e);return this.executor.post({url:"action/components/"+b,body:a,responseConstructor:Sk}).pipe(y(Qk))};g.move=function(a,b){return this.executor.post({url:"action/components/"+a+"/move",body:null,options:{params:{parentId:String(b)}},responseConstructor:Sk}).pipe(y(Qk))};g.updateSlo=function(a,b){var c=new C4b;b=pva(b);c=oj(c,ak,2,b);return this.executor.post({url:"action/components/"+a+"/updateSlo",body:c,responseConstructor:Sk}).pipe(y(Qk))};
g.updateTeam=function(a,b){var c=new D4b;b=bxa(Object.assign({},b));c=oj(c,Kk,2,b);return this.executor.post({url:"action/components/"+a+"/updateTeam",body:c,responseConstructor:Sk}).pipe(y(Qk))};AC.\u0275fac=function(a){return new (a||AC)(n(IB),n(Ir))};AC.\u0275prov=Hc({token:AC,factory:AC.\u0275fac,providedIn:"root"});var BC=function(a){this.observableApi=a};g=BC.prototype;g.get=function(a){return(0,W.firstValueFrom)(this.observableApi.get(a))};
g.getChildren=function(a,b){return(0,W.firstValueFrom)(this.observableApi.getChildren(a,b===void 0?!1:b))};g.getDescendants=function(a){return(0,W.firstValueFrom)(this.observableApi.getDescendants(a))};g.fetchComponent=function(a){return(0,W.firstValueFrom)(this.observableApi.fetchComponent(a))};g.query=function(a){return(0,W.firstValueFrom)(this.observableApi.query(a))};g.create=function(a){return(0,W.firstValueFrom)(this.observableApi.create(a))};g.update=function(a){return(0,W.firstValueFrom)(this.observableApi.update(a))};
g.move=function(a,b){return(0,W.firstValueFrom)(this.observableApi.move(a,b))};g.updateSlo=function(a,b){return(0,W.firstValueFrom)(this.observableApi.updateSlo(a,b))};g.updateTeam=function(a,b){return(0,W.firstValueFrom)(this.observableApi.updateTeam(a,b))};BC.\u0275fac=function(a){return new (a||BC)(n(AC))};BC.\u0275prov=Hc({token:BC,factory:BC.\u0275fac,providedIn:"root"});var CC=function(a){UB.call(this,{freshUntil:12E4,ancientAfter:6048E5});this.batchedComponentApi=a;this.recordType="component";this.idKey="componentId"};X(CC,UB);CC.prototype.fetchOne=function(a){return a==="0"?(0,W.of)(void 0):this.batchedComponentApi.get(a).pipe($e(function(){return(0,W.of)(void 0)}))};CC.prototype.fetchSet=function(a){var b=this;return(0,W.combineLatest)(a.map(function(c){return b.fetchOne(c)})).pipe(y(function(c){return c.filter(lj)}))};
CC.\u0275fac=function(a){return new (a||CC)(n(DC))};CC.\u0275prov=Hc({token:CC,factory:CC.\u0275fac,providedIn:"root"});var DC=function(a,b){var c=this;this.observableComponentApi=a;this.batchApiAdapter=b;this.get=this.batchApiAdapter.adapt({bufferTimeMs:0,call:function(d){return c.call(d)},split:function(d,e){return c.splitBatch(d,e)}})};
DC.prototype.call=function(a){return a.size===1?this.observableComponentApi.fetchComponent([].concat(r(a))[0]).pipe(y(function(b){return new Map(b?[[b.componentId,b]]:[])})):this.observableComponentApi.query({id:[].concat(r(a))}).pipe(y(function(b){return new Map(b.map(function(c){return[c.componentId,c]}))}))};DC.prototype.splitBatch=function(a,b){return b.get(Number(a))};DC.\u0275fac=function(a){return new (a||DC)(n(AC),n(sC))};DC.\u0275prov=Hc({token:DC,factory:DC.\u0275fac,providedIn:"root"});var EC=function(a){this.internalArray_=m(a,0,EC.messageId)};X(EC,Y);EC.repeatedFields_=[1];EC.messageId="b.ListTemplatesResponse";var FC=function(a){this.internalArray_=m(a,0,FC.messageId)};X(FC,Y);FC.messageId="b.TemplateResponse";var GC=function(a){this.executor=a};g=GC.prototype;g.get=function(a,b){return this.executor.get({url:"action/components/"+a+"/templates/"+b,responseConstructor:FC}).pipe(y(zya))};g.query=function(a){return this.executor.get({url:"action/components/"+a+"/templates",responseConstructor:EC}).pipe(y(Aya))};g.create=function(a,b){b=sxa(b);return this.executor.post({url:"action/components/"+a+"/templates",responseConstructor:FC,body:b}).pipe(y(zya))};
g.update=function(a,b,c){c=sxa(c);return this.executor.post({url:"action/components/"+a+"/templates/"+b,responseConstructor:FC,body:c}).pipe(y(zya))};g.delete=function(a,b){return this.executor.delete({url:"action/components/"+a+"/templates/"+b,responseConstructor:null})};GC.\u0275fac=function(a){return new (a||GC)(n(IB))};GC.\u0275prov=Hc({token:GC,factory:GC.\u0275fac,providedIn:"root"});var HC=function(a){this.observableApi=a};g=HC.prototype;
g.get=function(a,b){return(0,W.firstValueFrom)(this.observableApi.get(a,b))};g.query=function(a){return(0,W.firstValueFrom)(this.observableApi.query(a))};g.create=function(a,b){return(0,W.firstValueFrom)(this.observableApi.create(a,b))};g.update=function(a,b,c){return(0,W.firstValueFrom)(this.observableApi.update(a,b,c))};g.delete=function(a,b){return(0,W.firstValueFrom)(this.observableApi.delete(a,b))};HC.\u0275fac=function(a){return new (a||HC)(n(GC))};
HC.\u0275prov=Hc({token:HC,factory:HC.\u0275fac,providedIn:"root"});var Cya=function(a){this.internalArray_=m(a)};X(Cya,Y);Cya.prototype.getIt=function(){return $i(this,Jj,14)};Cya.prototype.setIt=function(a){return oj(this,Jj,14,a)};var dm=function(a){this.internalArray_=m(a)};X(dm,Y);dm.prototype.getIt=function(){return $i(this,Fj,13)};dm.prototype.setIt=function(a){return oj(this,Fj,13,a)};var Kza=new Set([].concat(r(Object.values({ACCESS_LIMIT:"access_limit",ASSIGNEE:"assignee",BLOCKED_BY_ISSUE_IDS:"blocked_by_issue_ids",BLOCKING_ISSUE_IDS:"blocking_issue_ids",CANONICAL_ISSUE_ID:"canonical_issue_id",CCS:"ccs",COLLABORATORS:"collaborators",CHILD_ISSUE_IDS:"child_issue_ids",CODE_CHANGES:"code_changes",GERRIT_CHANGES:"gerrit_changes",COMPONENT_ID:"component_id",CUSTOM_FIELDS:"custom_fields",DELETION_REASON:"deletion_reason",DUPLICATE_ISSUE_IDS:"duplicate_issue_ids",EFFORT:"effort",ENTITY_STATUS:"entity_status",
FOUND_IN_VERSIONS:"found_in_versions",HOTLIST_IDS:"hotlist_ids",IN_PROD:"in_prod",IS_ARCHIVED:"is_archived",IS_DELETED:"is_deleted",PARENT_ISSUE_IDS:"parent_issue_ids",POSTMORTEMS:"postmortems",PRIORITY:"priority",RETENTION:"retention",REPORTER:"reporter",SEVERITY:"severity",SLO_SNOOZE_UNTIL:"slo_snooze_until",SLO_END_TIME:"slo_end_time",SLO_SNOOZE_TYPE:"slo_snooze_type",STATUS:"status",TARGETED_TO_VERSIONS:"targeted_to_versions",TITLE:"title",TYPE:"type",VERIFIER:"verifier",VERIFIED_IN_VERSIONS:"verified_in_versions"}))));var Wl=function(a){this.internalArray_=m(a)};X(Wl,Y);g=Wl.prototype;g.getIssueId=function(){return ej(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return ej(this,1)};g.getIssueId_asString=function(){return du(this,1)};g.setIssueId=function(a){return bj(this,1,a)};g.getAddMask=function(){return $i(this,Ul,2)};g.setAddMask=function(a){return oj(this,Ul,2,a)};g.getAdd=function(){return $i(this,jk,3)};g.setAdd=function(a){return oj(this,jk,3,a)};
g.getRemoveMask=function(){return $i(this,Ul,4)};g.setRemoveMask=function(a){return oj(this,Ul,4,a)};g.getRemove=function(){return $i(this,jk,5)};g.setRemove=function(a){return oj(this,jk,5,a)};g.getIssueComment=function(){return $i(this,Xl,6)};g.setIssueComment=function(a){oj(this,Xl,6,a)};g.hasIssueComment=function(){return dk(this,Xl,6)};g.setSignificanceOverride=function(a){return dj(this,7,a)};var om=function(a){this.internalArray_=m(a)};X(om,Y);om.prototype.getQuery=function(){return Kh(this,1)};om.prototype.setQuery=function(a){return cj(this,1,a)};om.prototype.clearQuery=function(){oo(this,1)};var IC=function(a){this.internalArray_=m(a)};X(IC,Y);IC.prototype.getIssueId=function(){return ej(this,1)};IC.prototype.getIssueId_asLegacyNumberOrString=function(){return ej(this,1)};IC.prototype.getIssueId_asString=function(){return du(this,1)};IC.prototype.setIssueId=function(a){return bj(this,1,a)};IC.repeatedFields_=[2];var cm=function(a){this.internalArray_=m(a)};X(cm,Y);g=cm.prototype;g.getIssueId=function(){return ej(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return ej(this,1)};g.getIssueId_asString=function(){return du(this,1)};g.setIssueId=function(a){return bj(this,1,a)};g.getComponentId=function(){return ej(this,2)};g.getComponentId_asLegacyNumberOrString=function(){return ej(this,2)};g.getComponentId_asString=function(){return du(this,2)};g.setComponentId=function(a){return bj(this,2,a)};var sk=function(a){this.internalArray_=m(a)};X(sk,Y);g=sk.prototype;g.getIssueId=function(){return ej(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return ej(this,1)};g.getIssueId_asString=function(){return du(this,1)};g.setIssueId=function(a){return bj(this,1,a)};g.getPosition=function(){return gj(this,2)};g.setPosition=function(a){return Gi(this,2,a)};g.getIssue=function(){return $i(this,em,3)};g.setIssue=function(a){return oj(this,em,3,a)};var JC=function(a){this.internalArray_=m(a)};X(JC,Y);g=JC.prototype;g.getIssueId=function(){return ej(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return ej(this,1)};g.getIssueId_asString=function(){return du(this,1)};g.setIssueId=function(a){return bj(this,1,a)};g.getReason=function(){return fj(this,2,0)};g.setReason=function(a){return dj(this,2,a)};g.setSignificanceOverride=function(a){return dj(this,3,a)};var KC=function(a){this.internalArray_=m(a)};X(KC,Y);g=KC.prototype;g.getQuery=function(){return Kh(this,1)};g.setQuery=function(a){return cj(this,1,a)};g.clearQuery=function(){oo(this,1)};g.setOrderBy=function(a){return cj(this,2,a)};g.setPageSize=function(a){return Gi(this,3,a)};g.setPageToken=function(a){return cj(this,4,a)};g.setView=function(a){return dj(this,5,a)};g.setIssueDescriptionView=function(a){return dj(this,6,a)};var bm=function(a){this.internalArray_=m(a)};X(bm,Y);g=bm.prototype;g.getIssueId=function(){return ej(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return ej(this,1)};g.getIssueId_asString=function(){return du(this,1)};g.setIssueId=function(a){return bj(this,1,a)};g.getComponentId=function(){return ej(this,2)};g.getComponentId_asLegacyNumberOrString=function(){return ej(this,2)};g.getComponentId_asString=function(){return du(this,2)};g.setComponentId=function(a){return bj(this,2,a)};
g.setSignificanceOverride=function(a){return dj(this,3,a)};var am=function(a){this.internalArray_=m(a)};X(am,Y);am.prototype.getIssueId=function(){return ej(this,1)};am.prototype.getIssueId_asLegacyNumberOrString=function(){return ej(this,1)};am.prototype.getIssueId_asString=function(){return du(this,1)};am.prototype.setIssueId=function(a){return bj(this,1,a)};var LC=function(a){this.internalArray_=m(a)};X(LC,Y);g=LC.prototype;g.getIssueId=function(){return ej(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return ej(this,1)};g.getIssueId_asString=function(){return du(this,1)};g.setIssueId=function(a){return bj(this,1,a)};g.setSignificanceOverride=function(a){return dj(this,2,a)};var km=function(a){this.internalArray_=m(a)};X(km,Y);g=km.prototype;g.getIssueId=function(){return ej(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return ej(this,1)};g.getIssueId_asString=function(){return du(this,1)};g.setIssueId=function(a){return bj(this,1,a)};g.getRetention=function(){return fj(this,2,0)};g.setRetention=function(a){return dj(this,2,a)};g.setSignificanceOverride=function(a){return dj(this,3,a)};var MC=function(a){this.internalArray_=m(a,0,MC.messageId)};X(MC,Y);MC.prototype.getIt=function(){return $i(this,JC,3)};MC.prototype.setIt=function(a){return oj(this,JC,3,a)};MC.messageId="b.DeleteIssueRequest";var Rya=function(a){this.internalArray_=m(a)};X(Rya,Y);g=Rya.prototype;g.getFieldName=function(){return Kh(this,1)};g.setFieldName=function(a){rj(this,1,a)};g.getValue=function(){return Kh(this,2)};g.setValue=function(a){return rj(this,2,a)};g.hasValue=function(){return $k(this,2)};g.getCustomFieldValue=function(){return $i(this,dm,5)};g.setCustomFieldValue=function(a){return oj(this,dm,5,a)};g.clearCustomFieldValue=function(){return oo(this,5)};var Yl=function(a){this.internalArray_=m(a,0,Yl.messageId)};X(Yl,Y);Yl.prototype.getIt=function(){return $i(this,Zl,5)};Yl.prototype.setIt=function(a){return oj(this,Zl,5,a)};Yl.messageId="b.GetRetainedAccessPrincipalsRequest";var jm=function(a){this.internalArray_=m(a,0,jm.messageId)};X(jm,Y);jm.prototype.getIt=function(){return $i(this,sk,4)};jm.prototype.setIt=function(a){return oj(this,sk,4,a)};jm.messageId="b.HotlistIssue";var wm=function(a){this.internalArray_=m(a)};X(wm,Y);wm.prototype.getIt=function(){return $i(this,em,23)};wm.prototype.setIt=function(a){return oj(this,em,23,a)};var cza=function(a){this.internalArray_=m(a)};X(cza,Y);cza.prototype.getIt=function(){return $i(this,lm,6)};cza.prototype.setIt=function(a){return oj(this,lm,6,a)};var Uya=function(a){this.internalArray_=m(a)};X(Uya,Y);Uya.prototype.getIt=function(){return $i(this,Wl,7)};Uya.prototype.setIt=function(a){return oj(this,Wl,7,a)};var NC=function(a){this.internalArray_=m(a)};X(NC,Y);NC.prototype.getIt=function(){return $i(this,KC,7)};NC.prototype.setIt=function(a){return oj(this,KC,7,a)};NC.repeatedFields_=[6];var Oya=function(a){this.internalArray_=m(a)};X(Oya,Y);Oya.prototype.getIt=function(){return $i(this,cm,4)};Oya.prototype.setIt=function(a){return oj(this,cm,4,a)};var nm=function(a){this.internalArray_=m(a,0,nm.messageId)};X(nm,Y);nm.prototype.getIt=function(){return $i(this,om,4)};nm.prototype.setIt=function(a){return oj(this,om,4,a)};nm.messageId="b.ListRecentEventsForIssuesRequest";var OC=function(a){this.internalArray_=m(a,0,OC.messageId)};X(OC,Y);OC.prototype.getIt=function(){return $i(this,IC,3)};OC.prototype.setIt=function(a){return oj(this,IC,3,a)};OC.messageId="b.MarkAsVulnerabilityRequest";var Mya=function(a){this.internalArray_=m(a)};X(Mya,Y);Mya.prototype.getIt=function(){return $i(this,bm,4)};Mya.prototype.setIt=function(a){return oj(this,bm,4,a)};var PC=function(a){this.internalArray_=m(a,0,PC.messageId)};X(PC,Y);PC.prototype.getIt=function(){return $i(this,fk,9)};PC.prototype.setIt=function(a){return oj(this,fk,9,a)};PC.messageId="b.StatusUpdate";var $l=function(a){this.internalArray_=m(a,0,$l.messageId)};X($l,Y);$l.prototype.getIt=function(){return $i(this,am,3)};$l.prototype.setIt=function(a){return oj(this,am,3,a)};$l.messageId="b.UnCcUserActionRequest";var QC=function(a){this.internalArray_=m(a,0,QC.messageId)};X(QC,Y);QC.prototype.getIt=function(){return $i(this,LC,2)};QC.prototype.setIt=function(a){return oj(this,LC,2,a)};QC.messageId="b.UndeleteIssueRequest";var RC=function(a){this.internalArray_=m(a,0,RC.messageId)};X(RC,Y);RC.prototype.getIt=function(){return $i(this,GB,5)};RC.prototype.setIt=function(a){return oj(this,GB,5,a)};RC.messageId="b.UpdateIssueAccessLimitRequest";var Wya=function(a){this.internalArray_=m(a)};X(Wya,Y);Wya.prototype.setSignificanceOverride=function(a){return sl(this,4,a)};Wya.repeatedFields_=[1,2];var aza=function(a){this.internalArray_=m(a)};X(aza,Y);aza.prototype.getIt=function(){return $i(this,km,5)};aza.prototype.setIt=function(a){return oj(this,km,5,a)};var SC=function(a){this.internalArray_=m(a)};X(SC,Y);g=SC.prototype;g.getEmailAddress=function(){return Kh(this,1)};g.setEmailAddress=function(a){return rj(this,1,a)};g.getObfuscatedEmailAddress=function(){return Kh(this,2)};g.setObfuscatedEmailAddress=function(a){rj(this,2,a)};g.getUserGaiaStatus=function(){return fj(this,3,0)};g.setUserGaiaStatus=function(a){sl(this,3,a)};g.getAliasesList=function(a){return Ij(this,4,yj(a))};g.setAliasesList=function(a){Lj(this,4,a)};SC.repeatedFields_=[4];var vm=function(a){this.internalArray_=m(a)};X(vm,Y);vm.prototype.getIssueIdsList_asLegacyNumberOrString=function(){return nSb(this,2)};vm.prototype.getIssueIdsList_asString=function(){return Fk(this,2)};vm.prototype.setIssueIdsList=function(a){return jc(this,2,a,Kb)};vm.repeatedFields_=[1,2];var S4b=function(a){this.internalArray_=m(a)};X(S4b,Y);S4b.prototype.setSignificanceOverride=function(a){return rj(this,3,a)};S4b.repeatedFields_=[4];var T4b=function(a){this.internalArray_=m(a)};X(T4b,Y);g=T4b.prototype;g.getIssueId=function(){return ej(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return ej(this,1)};g.getIssueId_asString=function(){return du(this,1)};g.setIssueId=function(a){return bj(this,1,a)};g.getSummaryType=function(){return fj(this,2,0)};g.setSummaryType=function(a){return dj(this,2,a)};g.getModelVersion=function(){return gj(this,3)};g.setModelVersion=function(a){return Gi(this,3,a)};
g.getIssueVersion=function(){return gj(this,7)};g.setIssueVersion=function(a){return Gi(this,7,a)};g.setFeedbackType=function(a){return dj(this,5,a)};var Oza=function(a){this.internalArray_=m(a)};X(Oza,Y);Oza.repeatedFields_=[1,2];var Mza=function(a){this.internalArray_=m(a)};X(Mza,Y);var TC=function(a){this.internalArray_=m(a)};X(TC,Y);TC.prototype.getField=function(){return Kh(this,1)};TC.prototype.clearField=function(){return oo(this,1)};var Lza=[3,4];var UC=function(a){this.patternParts_=[];this.dateTimeSymbols_=Cv;typeof a=="number"?this.applyStandardPattern_(a):this.applyPattern_(a)},U4b=[/^'(?:[^']|'')*('|$)/,/^(?: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]+/],VC=function(a){return a.getHours?a.getHours():0};
UC.prototype.applyPattern_=function(a){for(V4b&&(a=a.replace(/\u200f/g,""));a;){for(var b=a,c=0;c<U4b.length;++c){var d=a.match(U4b[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("Ac`"+a);}};
UC.prototype.format=function(a,b){if(!a)throw Error("Bc");var c=b?(a.getTimezoneOffset()-b.getOffset(a))*6E4:0,d=c?new Date(a.getTime()+c):a,e=d;b&&d.getTimezoneOffset()!=a.getTimezoneOffset()&&(e=(d.getTimezoneOffset()-a.getTimezoneOffset())*6E4,d=new Date(d.getTime()+e),c+=c>0?-864E5:864E5,e=new Date(a.getTime()+c));c=[];for(var f=0;f<this.patternParts_.length;++f){var h=this.patternParts_[f].text;1==this.patternParts_[f].type?c.push(W4b(this,h,a,d,e,b)):c.push(h)}return c.join("")};
UC.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 WC=function(a,b){return X4b(b,a.dateTimeSymbols_)},V4b=!1,X4b=function(a,b){a=String(a);b=b||Cv;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("")},XC=function(a){if(!(a.getHours&&a.getSeconds&&a.getMinutes))throw Error("Cc");},Y4b=function(a,b){XC(b);b=VC(b);return a.dateTimeSymbols_.AMPMS[b>=12&&b<24?1:0]},W4b=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),WC(a,mu(c,h));case "Y":return c=d.getFullYear(),e=d.getMonth(),d=d.getDate(),c=yVb(c,e,d,a.dateTimeSymbols_.FIRSTWEEKCUTOFFDAY,a.dateTimeSymbols_.FIRSTDAYOFWEEK),c=(new Date(c)).getFullYear(),c<0&&(c=-c),h==2&&(c%=100),WC(a,mu(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=WC(a,mu(c+1,h))}return h;case "k":return XC(e),c=VC(e)||24,WC(a,mu(c,h));case "S":return c=e.getMilliseconds()/1E3,WC(a,c.toFixed(Math.min(3,h)).slice(2)+(h>3?mu(0,h-3):""));case "E":return c=d.getDay(),h>=4?a.dateTimeSymbols_.WEEKDAYS[c]:a.dateTimeSymbols_.SHORTWEEKDAYS[c];case "a":return Y4b(a,e);case "b":return Y4b(a,e);case "B":return Y4b(a,e);case "h":return XC(e),c=VC(e)%12||12,WC(a,mu(c,h));case "K":return XC(e),c=VC(e)%12,
WC(a,mu(c,h));case "H":return XC(e),c=VC(e),WC(a,mu(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=WC(a,mu(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=WC(a,mu(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 WC(a,mu(d.getDate(),h));case "m":return XC(e),WC(a,mu(e.getMinutes?e.getMinutes():0,h));case "s":return XC(e),WC(a,mu(e.getSeconds(),h));case "v":return(f||Vk(c.getTimezoneOffset())).timeZoneId_;case "V":return a=f||Vk(c.getTimezoneOffset()),h<=2?a.timeZoneId_:G4b(a,c)>0?a.tzNamesExt_.DST_GENERIC_LOCATION!==void 0?a.tzNamesExt_.DST_GENERIC_LOCATION:
a.tzNamesExt_.DST_GENERIC_LOCATION:a.tzNamesExt_.STD_GENERIC_LOCATION!==void 0?a.tzNamesExt_.STD_GENERIC_LOCATION:a.tzNamesExt_.STD_GENERIC_LOCATION;case "w":return c=e.getFullYear(),d=e.getMonth(),e=e.getDate(),c=yVb(c,d,e,a.dateTimeSymbols_.FIRSTWEEKCUTOFFDAY,a.dateTimeSymbols_.FIRSTDAYOFWEEK),WC(a,mu(Math.floor(Math.round((c-(new Date((new Date(c)).getFullYear(),0,1)).valueOf())/864E5)/7)+1,h));case "z":return a=f||Vk(c.getTimezoneOffset()),h<4?a.tzNames_[G4b(a,c)>0?2:0]:a.tzNames_[G4b(a,c)>0?
3:1];case "Z":return d=f||Vk(c.getTimezoneOffset()),h<4?(h=-d.getOffset(c),a=[h<0?"-":"+"],h=Math.abs(h),a.push(mu(Math.floor(h/60)%100,2),mu(h%60,2)),h=a.join("")):h=WC(a,F4b(d.getOffset(c))),h;default:return""}};var Sza=new UC("M/d/yyyy");var Vza=new RegExp(/^(?:https?:\/\/)?([\w-]+)-review\./.source+/(?:googlesource|git\.corp\.google)\.com/.source+/\/c\/([\w-\/]+)\/\+\/(\d{1,20})/.source+/(?:[^\d].*)?$/.source);var $za=new Set(["blockedById","blockingId","duplicateId","parentIssueIds","childIssueIds"]);var qAa=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"]]),Jm=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,""]]),YC=new Map([[1,"New"],[2,"Assigned"],[3,"In Progress"],[4,"Fixed"],[5,"Verified"],[6,"Can't Repro"],[7,"WAI"],[8,"Obsolete"],[9,"Infeasible"],[10,"Duplicate"],[0,""]]);var sAa=RegExp("^[^\\.\\s]{2}\\.{3}@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$","i"),rAa=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"),wAa=["@twosync.google.com","@twosync-src.google.com","@twosync-loas.google.com"];var TAa=function(){this.updates=[];this.hasInitialUpdate=!1;this.summary=[]},UAa=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},yAa=function(a,b){a.summary.push.apply(a.summary,r(b))},QAa=function(a){var b=Z4b(a,a.updates.flatMap(nAa)),c=$4b(a,b),
d=c.preDiffs,e=c.postDiffs;c=a.updates.flatMap(function(k){return k.attachments});var f;d={attachments:c,preDiffs:d,postDiffs:e,modifiedDate:Fm(a.commentTimestamp||((f=a.updates[0])==null?void 0:f.timestamp)),userPerformingAction:Im(a.author),userPerformingActionUser:a.author,version:a.firstUpdateVersion,isMajorEvent:!!a.comment||!!c.length||a.hasInitialUpdate||b.some(function(k){return k.important}),statusUpdate:a.statusUpdate,taggedSummary:a.summary,issueId:a.updates[0].issueId};if(a.comment){d.commentContentVerdict=
a.comment.commentContentVerdict;var h;d.commentDeletionStatus=(h=a.comment.entityStatus)==null?void 0:h.status;d.commentEtag=a.comment.etag;d.commentLastModifiedAtDate=a.comment.lastModified?Math.round(Fm(Hi(Li(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},$4b=function(a,b){if(!a.comment)return{preDiffs:b,postDiffs:[]};var c=b.filter(function(d){return d.timestamp<Fm(a.commentTimestamp)});b=b.filter(function(d){return d.timestamp>=Fm(a.commentTimestamp)});return{preDiffs:c,postDiffs:b}},Z4b=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 ZC={},a5b=(ZC.STATUS_UNSPECIFIED=YC.get(0),ZC.NEW=YC.get(1),ZC.ASSIGNED=YC.get(2),ZC.ACCEPTED=YC.get(3),ZC.FIXED=YC.get(4),ZC.VERIFIED=YC.get(5),ZC.DUPLICATE=YC.get(10),ZC.INFEASIBLE=YC.get(9),ZC.NOT_REPRODUCIBLE=YC.get(6),ZC.OBSOLETE=YC.get(8),ZC.INTENDED_BEHAVIOR=YC.get(7),ZC),b5b={New:1,Assigned:2,"In Progress (Accepted)":3,Fixed:4,Verified:5},$C={},VCa=($C.STATUS_UNSPECIFIED=0,$C.NEW=10,$C.ASSIGNED=20,$C.ACCEPTED=30,$C.FIXED=40,$C.VERIFIED=50,$C.DUPLICATE=60,$C.INFEASIBLE=70,$C.NOT_REPRODUCIBLE=
80,$C.OBSOLETE=90,$C.INTENDED_BEHAVIOR=100,$C),aD={},c5b=(aD.ASSIGNED=!0,aD.ACCEPTED=!0,aD.FIXED=!0,aD.VERIFIED=!0,aD.DUPLICATE=!0,aD.INFEASIBLE=!0,aD.NOT_REPRODUCIBLE=!0,aD.OBSOLETE=!0,aD.INTENDED_BEHAVIOR=!0,aD),bD={},Mm=(bD.STATUS_UNSPECIFIED=Jm.get(0),bD.NEW=Jm.get(1),bD.ASSIGNED=Jm.get(2),bD.ACCEPTED=Jm.get(3),bD.FIXED=Jm.get(4),bD.VERIFIED=Jm.get(5),bD.DUPLICATE=Jm.get(10),bD.INFEASIBLE=Jm.get(9),bD.NOT_REPRODUCIBLE=Jm.get(6),bD.OBSOLETE=Jm.get(8),bD.INTENDED_BEHAVIOR=Jm.get(7),bD),cD={},d5b=
(cD.P0="P0",cD.P1="P1",cD.P2="P2",cD.P3="P3",cD.P4="P4",cD.PRIORITY_UNSPECIFIED="--",cD),dD={},cDa=(dD.P0=0,dD.P1=10,dD.P2=20,dD.P3=30,dD.P4=40,dD.PRIORITY_UNSPECIFIED=99,dD),eD={},e5b=(eD.S0="S0",eD.S1="S1",eD.S2="S2",eD.S3="S3",eD.S4="S4",eD.SEVERITY_UNSPECIFIED="--",eD),fD={},f5b=(fD.STATUS_UNSPECIFIED="issue-status-wont-fix",fD.NEW="issue-status-new",fD.ASSIGNED="issue-status-assigned",fD.ACCEPTED="issue-status-accepted",fD.FIXED="issue-status-fixed",fD.VERIFIED="issue-status-verified",fD.DUPLICATE=
"issue-status-duplicate",fD.INFEASIBLE="issue-status-wont-fix",fD.NOT_REPRODUCIBLE="issue-status-wont-fix",fD.OBSOLETE="issue-status-wont-fix",fD.INTENDED_BEHAVIOR="issue-status-wont-fix",fD);var gD={},Qm=(gD.NEW=Nm("NEW",!0,"FORBIDDEN",10),gD.ASSIGNED=Nm("ASSIGNED",!0,"REQUIRED",20),gD.ACCEPTED=Nm("ACCEPTED",!0,"REQUIRED",30),gD.FIXED=Nm("FIXED",!1,"REQUIRED",40),gD.VERIFIED=Nm("VERIFIED",!1,"REQUIRED",50),gD.DUPLICATE=Nm("DUPLICATE",!1,"ALLOWED",60),gD.INFEASIBLE=Nm("INFEASIBLE",!1,"ALLOWED",70),gD.NOT_REPRODUCIBLE=Nm("NOT_REPRODUCIBLE",!1,"ALLOWED",80),gD.OBSOLETE=Nm("OBSOLETE",!1,"ALLOWED",90),gD.INTENDED_BEHAVIOR=Nm("INTENDED_BEHAVIOR",!1,"ALLOWED",100),gD),g5b=[Qm.NEW,Qm.ASSIGNED,
Qm.ACCEPTED,Qm.FIXED,Qm.VERIFIED,Qm.NOT_REPRODUCIBLE,Qm.INTENDED_BEHAVIOR,Qm.OBSOLETE,Qm.INFEASIBLE,Qm.DUPLICATE],h5b=g5b.map(function(a){return{value:a.status,displayText:a.displayValue}}),i5b=new Set(Object.values(rc(Qm,function(a){return a.assigneeRequirement==="REQUIRED"})));var NAa=Tm(function(a){return a.modifiedDate},Um),SAa=Tm(function(a){return a.version},Um);var VAa=function(){var a=this;this.promise=new Promise(function(b,c){a.resolve=b;a.reject=c})};var j5b=Symbol("Gc"),k5b=Symbol("Hc"),hD=Symbol("Ic"),iD=function(){};iD.prototype.schedule=function(a,b){b=b===void 0?0:b;var c=Wm(),d=c.promise;b=setTimeout(function(){try{var e=a()}catch(f){c.reject(f);d[hD]=!0;return}c.resolve(e);d[hD]=!0},b);d[j5b]=b;d[k5b]=c.reject;d[hD]=!1;return c.promise};iD.prototype.cancel=function(a){var b=a[j5b];if(b==null||a[hD])return!1;clearTimeout(b);var c;(c=a[k5b])==null||c.call(a,Error("Jc"));return a[hD]=!0};iD.\u0275fac=function(a){return new (a||iD)};
iD.\u0275prov=Hc({token:iD,factory:iD.\u0275fac,providedIn:"root"});var jD=function(a){this.timeout=a};jD.prototype.adapt=function(a){return new l5b(this.timeout,a)};jD.\u0275fac=function(a){return new (a||jD)(n(iD))};jD.\u0275prov=Hc({token:jD,factory:jD.\u0275fac,providedIn:"root"});var l5b=function(a,b){this.timeout=a;this.bulkGet=b;this.batchedInputs=[[]];this.batchedDeferreds=[[]];this.isBatchScheduled=!1};
l5b.prototype.get=function(a){var b=Wm(),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||m5b(this);return b.promise};
var m5b=function(a){a.isBatchScheduled=!0;a.timeout.schedule(function(){for(var b={},c=0;c<a.batchedInputs.length;b={batchedDeferred:void 0},c++){var d=a.batchedInputs[c];b.batchedDeferred=a.batchedDeferreds[c];a.bulkGet(d).then(function(e){return function(f){for(var h=0;h<e.batchedDeferred.length;h++)e.batchedDeferred[h].resolve(f[h])}}(b),function(e){return function(f){for(var h=l(e.batchedDeferred),k=h.next();!k.done;k=h.next())k.value.reject(f)}}(b))}a.batchedInputs=[[]];a.batchedDeferreds=[[]];
a.isBatchScheduled=!1})};var Xm=function(a){this.internalArray_=m(a,0,Xm.messageId)};X(Xm,Y);Xm.prototype.getResource=function(){return Kh(this,1)};Xm.prototype.getRelation=function(){return fj(this,2,0)};Xm.messageId="b.ResourceRelation";var kD=function(a){this.internalArray_=m(a,0,kD.messageId)};X(kD,Y);kD.repeatedFields_=[1];kD.messageId="b.UserAccessBatchResponse";var lD=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+)$")};lD.prototype.validate=function(a){return this.resourceNamePattern.test(a)};lD.\u0275fac=function(a){return new (a||lD)};lD.\u0275prov=Hc({token:lD,factory:lD.\u0275fac,providedIn:"root"});
var mD=function(a,b,c){var d=this;this.rawUserAccess=a;this.resourceNameValidator=b;this.accesses={};this.accessGetter=c.adapt(function(e){return n5b(d,e)})},n5b=function(a,b){return o5b(a,b).then(function(c){return XAa(b,c)})},oD=function(a,b,c){return a.resourceNameValidator.validate(c)?nD(a,b,c):Promise.reject(Error("Kc`"+c))},p5b=function(a,b){return a.resourceNameValidator.validate(b)?Promise.all([nD(a,"admin",b),nD(a,"writer",b),nD(a,"appender",b),nD(a,"reader",b)]).then(function(c){var d=l(c);
c=d.next().value;var e=d.next().value;var f=d.next().value;d=d.next().value;return{admin:c,writer:e,appender:f,reader:d}}):Promise.reject(Error("Kc`"+b))},o5b=function(a,b){var c=[],d=[];b=l(b);for(var e=b.next();!e.done;e=b.next())e=e.value,c.push(e.relation),d.push(e.resourceName);return(0,W.firstValueFrom)(a.rawUserAccess.executor.get({url:"action/user_access",options:{params:{relations:c.join(","),resourceNames:d.join(",")}},responseConstructor:kD}).pipe(y(WAa)))},nD=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};mD.\u0275fac=function(a){return new (a||mD)(n(pD),n(lD),n(jD))};mD.\u0275prov=Hc({token:mD,factory:mD.\u0275fac,providedIn:"root"});var pD=function(a){this.executor=a};pD.\u0275fac=function(a){return new (a||pD)(n(IB))};pD.\u0275prov=Hc({token:pD,factory:pD.\u0275fac,providedIn:"root"});var qD=function(a){this.internalArray_=m(a)};X(qD,Y);g=qD.prototype;g.getIssueId=function(){return ej(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return ej(this,1)};g.getIssueId_asString=function(){return du(this,1)};g.setIssueId=function(a){return bj(this,1,a)};g.getSummaryType=function(){return fj(this,2,0)};g.setSummaryType=function(a){return dj(this,2,a)};var q5b=function(a){this.internalArray_=m(a)};X(q5b,Y);g=q5b.prototype;g.getIssueId=function(){return ej(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return ej(this,1)};g.getIssueId_asString=function(){return du(this,1)};g.setIssueId=function(a){return bj(this,1,a)};g.getSummaryType=function(){return fj(this,2,0)};g.setSummaryType=function(a){return dj(this,2,a)};var rD=function(a){this.internalArray_=m(a)};X(rD,Y);rD.prototype.setFeedback=function(a){return oj(this,T4b,1,a)};var sD=function(a){this.internalArray_=m(a)};X(sD,Y);sD.prototype.setMaxResults=function(a){return Gi(this,1,a)};sD.prototype.setView=function(a){return dj(this,2,a)};sD.prototype.setIssueDescriptionView=function(a){return dj(this,3,a)};var tD=function(a){this.internalArray_=m(a)};X(tD,Y);g=tD.prototype;g.getIssueIdsList_asLegacyNumberOrString=function(){return Nk(this,1,yj())};g.getIssueIdsList_asString=function(){return Fk(this,1)};g.setIssueIdsList=function(a){return Al(this,1,a)};g.setView=function(a){return dj(this,2,a)};g.setIssueDescriptionView=function(a){return dj(this,3,a)};tD.repeatedFields_=[1];var r5b=function(a){this.internalArray_=m(a)};X(r5b,Y);g=r5b.prototype;g.getComponentId=function(){return ej(this,5)};g.getComponentId_asLegacyNumberOrString=function(){return ej(this,5)};g.getComponentId_asString=function(){return du(this,5)};g.setComponentId=function(a){return bj(this,5,a)};g.getTitle=function(){return Kh(this,6)};g.setTitle=function(a){return cj(this,6,a)};g.getComment=function(){return Kh(this,7)};g.setComment=function(a){return cj(this,7,a)};
g.getAttachmentsList=function(){return xj(this,mj,8,yj())};g.setAttachmentsList=function(a){return gk(this,8,a)};g.addAllAttachments=function(a){Zt(this,8,mj,a)};g.setSignificanceOverride=function(a){return dj(this,2,a)};g.getTemplateId_asLegacyNumberOrString=function(){return ej(this,4)};g.setTemplateId=function(a){return bj(this,4,a)};r5b.repeatedFields_=[8];var s5b=function(a){this.internalArray_=m(a)};X(s5b,Y);g=s5b.prototype;g.getIssueId=function(){return ej(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return ej(this,1)};g.getIssueId_asString=function(){return du(this,1)};g.setIssueId=function(a){return bj(this,1,a)};g.setTargetIdsList=function(a){return Al(this,2,a)};g.setSignificanceOverride=function(a){return dj(this,3,a)};s5b.repeatedFields_=[2];var t5b=function(a){this.internalArray_=m(a)};X(t5b,Y);g=t5b.prototype;g.getIssueId=function(){return ej(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return ej(this,1)};g.getIssueId_asString=function(){return du(this,1)};g.setIssueId=function(a){return bj(this,1,a)};g.setTargetIdsList=function(a){return Al(this,2,a)};g.setSignificanceOverride=function(a){return dj(this,3,a)};t5b.repeatedFields_=[2];var u5b=function(a){this.internalArray_=m(a)};X(u5b,Y);g=u5b.prototype;g.getIssueId=function(){return ej(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return ej(this,1)};g.getIssueId_asString=function(){return du(this,1)};g.setIssueId=function(a){return bj(this,1,a)};g.setTargetId=function(a){return bj(this,2,a)};g.setSignificanceOverride=function(a){return dj(this,3,a)};var v5b=function(a){this.internalArray_=m(a)};X(v5b,Y);g=v5b.prototype;g.getIssueId=function(){return ej(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return ej(this,1)};g.getIssueId_asString=function(){return du(this,1)};g.setIssueId=function(a){return bj(this,1,a)};g.setTargetIdsList=function(a){return Al(this,2,a)};g.setSignificanceOverride=function(a){return dj(this,3,a)};v5b.repeatedFields_=[2];var w5b=function(a){this.internalArray_=m(a)};X(w5b,Y);g=w5b.prototype;g.getIssueId=function(){return ej(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return ej(this,1)};g.getIssueId_asString=function(){return du(this,1)};g.setIssueId=function(a){return bj(this,1,a)};g.setTargetIdsList=function(a){return Al(this,2,a)};g.setSignificanceOverride=function(a){return dj(this,3,a)};w5b.repeatedFields_=[2];var x5b=function(a){this.internalArray_=m(a)};X(x5b,Y);g=x5b.prototype;g.getIssueId=function(){return ej(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return ej(this,1)};g.getIssueId_asString=function(){return du(this,1)};g.setIssueId=function(a){return bj(this,1,a)};g.setTargetId=function(a){return bj(this,2,a)};g.setSignificanceOverride=function(a){return dj(this,3,a)};var uD=function(a){this.internalArray_=m(a,0,uD.messageId)};X(uD,Y);uD.prototype.getIt=function(){return $i(this,tD,3)};uD.prototype.setIt=function(a){return oj(this,tD,3,a)};uD.messageId="b.BatchGetIssuesRequest";var vD=function(a){this.internalArray_=m(a)};X(vD,Y);vD.prototype.getIssuesList=function(){return xj(this,em,1,yj())};vD.repeatedFields_=[1];var wD=function(a){this.internalArray_=m(a,0,wD.messageId)};X(wD,Y);wD.prototype.getIt=function(){return $i(this,vD,2)};wD.prototype.setIt=function(a){return oj(this,vD,2,a)};wD.messageId="b.BatchGetIssuesResponse";var tza=function(a){this.internalArray_=m(a)};X(tza,Y);g=tza.prototype;g.getIssueId=function(){return cu(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return cu(this,1)};g.getIssueId_asString=function(){return el(this,1)};g.setIssueId=function(a){return xl(this,1,a)};g.getMessage=function(){return Kh(this,2)};g.setMessage=function(a){return rj(this,2,a)};var xD=function(a){this.internalArray_=m(a,0,xD.messageId)};X(xD,Y);xD.prototype.setErrors=function(a,b){Xt(this,2,tza,a,b)};xD.repeatedFields_=[2];xD.messageId="b.BulkEditResponse";var yD=function(a){this.internalArray_=m(a,0,yD.messageId)};X(yD,Y);yD.prototype.getIt=function(){return $i(this,qD,1)};yD.prototype.setIt=function(a){return oj(this,qD,1,a)};yD.messageId="b.GenerateIssueSummaryRequest";var zD=function(a){this.internalArray_=m(a)};X(zD,Y);g=zD.prototype;g.getIssueId=function(){return ej(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return ej(this,1)};g.getIssueId_asString=function(){return du(this,1)};g.setIssueId=function(a){return bj(this,1,a)};g.getSummaryType=function(){return fj(this,2,0)};g.setSummaryType=function(a){return dj(this,2,a)};g.getModelVersion=function(){return gj(this,3)};g.setModelVersion=function(a){return Gi(this,3,a)};
g.getIssueVersion=function(){return gj(this,7)};g.setIssueVersion=function(a){return Gi(this,7,a)};g.getVersion=function(){return gj(this,4)};g.setVersion=function(a){return Gi(this,4,a)};g.getSummary=function(){return Kh(this,5)};var AD=function(a){this.internalArray_=m(a,0,AD.messageId)};X(AD,Y);AD.prototype.getIt=function(){return $i(this,zD,1)};AD.prototype.setIt=function(a){return oj(this,zD,1,a)};AD.messageId="b.GenerateIssueSummaryResponse";var BD=function(a){this.internalArray_=m(a,0,BD.messageId)};X(BD,Y);BD.prototype.getIt=function(){return $i(this,zD,4)};BD.prototype.setIt=function(a){return oj(this,zD,4,a)};BD.messageId="b.GetIssueSummaryResponse";var CD=function(a){this.internalArray_=m(a)};X(CD,Y);CD.prototype.getReadersList=function(){return xj(this,Vi,1,yj())};CD.prototype.setReadersList=function(a){return gk(this,1,a)};CD.prototype.getAppendersList=function(){return xj(this,Vi,2,yj())};CD.prototype.setAppendersList=function(a){return gk(this,2,a)};CD.repeatedFields_=[1,2,3];var DD=function(a){this.internalArray_=m(a,0,DD.messageId)};X(DD,Y);DD.prototype.getIt=function(){return $i(this,CD,4)};DD.prototype.setIt=function(a){return oj(this,CD,4,a)};DD.messageId="b.GetRetainedAccessPrincipalsResponse";var ED=function(a){this.internalArray_=m(a,0,ED.messageId)};X(ED,Y);ED.prototype.getIssueId=function(){return cu(this,1)};ED.prototype.getIssueId_asLegacyNumberOrString=function(){return cu(this,1)};ED.prototype.getIssueId_asString=function(){return el(this,1)};ED.prototype.setIssueId=function(a){return xl(this,1,a)};ED.messageId="b.IssueCreateResponse";var FD=function(a){this.internalArray_=m(a,0,FD.messageId)};X(FD,Y);FD.prototype.getIssue=function(){return $i(this,wm,1)};FD.prototype.setIssue=function(a){return oj(this,wm,1,a)};FD.messageId="b.IssueFetchResponse";var GD=function(a){this.internalArray_=m(a)};X(GD,Y);g=GD.prototype;g.getIssuesList=function(){return xj(this,em,1,yj())};g.getNextPageToken=function(){return Kh(this,2)};g.getTotalSize=function(){return gj(this,3)};g.getTotalSizeAccurate=function(){return Hj(this,4)};g.getMaySkipResults=function(){return Hj(this,5)};GD.repeatedFields_=[1];var HD=function(a){this.internalArray_=m(a,0,HD.messageId)};X(HD,Y);HD.prototype.getIt=function(){return $i(this,GD,6)};HD.prototype.setIt=function(a){return oj(this,GD,6,a)};HD.messageId="b.IssueSearchResponse";var y5b=function(a){this.internalArray_=m(a)};X(y5b,Y);g=y5b.prototype;g.getIssueId=function(){return ej(this,10)};g.getIssueId_asLegacyNumberOrString=function(){return ej(this,10)};g.getIssueId_asString=function(){return du(this,10)};g.setIssueId=function(a){return bj(this,10,a)};g.getAuthor=function(){return $i(this,Ni,1)};g.setAuthor=function(a){oj(this,Ni,1,a)};g.hasAuthor=function(){return dk(this,Ni,1)};g.getTimestamp=function(){return $i(this,Ii,2)};
g.setTimestamp=function(a){return oj(this,Ii,2,a)};g.hasTimestamp=function(){return dk(this,Ii,2)};g.getIssueComment=function(){return $i(this,Xl,3)};g.setIssueComment=function(a){oj(this,Xl,3,a)};g.hasIssueComment=function(){return dk(this,Xl,3)};g.getCommentNumber=function(){return gj(this,4)};g.setCommentNumber=function(a){return Gi(this,4,a)};g.getAttachmentsList=function(){return xj(this,mj,8,yj())};g.setAttachmentsList=function(a){return gk(this,8,a)};
g.addAllAttachments=function(a){Zt(this,8,mj,a)};g.getStatusUpdate=function(){return $i(this,fk,9)};g.setStatusUpdate=function(a){oj(this,fk,9,a)};g.hasStatusUpdate=function(){return dk(this,fk,9)};g.getFieldUpdatesList=function(){return xj(this,TC,6,yj())};g.getVersion=function(){return gj(this,7)};g.setVersion=function(a){return Gi(this,7,a)};y5b.repeatedFields_=[8,6];var ID=function(a){this.internalArray_=m(a,0,ID.messageId)};X(ID,Y);ID.repeatedFields_=[2];ID.messageId="b.ListIssueEventsResponse";var JD=function(a){this.internalArray_=m(a,0,JD.messageId)};X(JD,Y);JD.prototype.getIt=function(){return $i(this,sD,1)};JD.prototype.setIt=function(a){return oj(this,sD,1,a)};JD.messageId="b.ListRecentIssuesRequest";var KD=function(a){this.internalArray_=m(a)};X(KD,Y);KD.prototype.getIssuesList=function(){return xj(this,em,1,yj())};KD.repeatedFields_=[1];var LD=function(a){this.internalArray_=m(a,0,LD.messageId)};X(LD,Y);LD.prototype.getIt=function(){return $i(this,KD,2)};LD.prototype.setIt=function(a){return oj(this,KD,2,a)};LD.messageId="b.ListRecentIssuesResponse";var Zya=function(a){this.internalArray_=m(a)};X(Zya,Y);g=Zya.prototype;g.getIssueId=function(){return cu(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return cu(this,1)};g.getIssueId_asString=function(){return el(this,1)};g.setIssueId=function(a){return xl(this,1,a)};g.getStatus=function(){return fj(this,2,0)};g.setStatus=function(a){return sl(this,2,a)};g.hasStatus=function(){return al(this,2)};g.getTitle=function(){return Kh(this,3)};g.setTitle=function(a){return rj(this,3,a)};
g.getVersion=function(){return gj(this,4)};g.setVersion=function(a){return ql(this,4,a)};g.getVersionOrUndefined=function(){return gu(this,4)};g.getIsArchived=function(){return Hj(this,5)};g.setIsArchived=function(a){return pl(this,5,a)};var MD=function(a){this.internalArray_=m(a,0,MD.messageId)};X(MD,Y);MD.repeatedFields_=[1];MD.messageId="b.RelatedIssuesResponse";var ND=function(a){this.internalArray_=m(a,0,ND.messageId)};X(ND,Y);ND.prototype.getIt=function(){return $i(this,rD,1)};ND.prototype.setIt=function(a){return oj(this,rD,1,a)};ND.messageId="b.SubmitIssueSummaryFeedbackRequest";var OD=function(a,b,c){this.executor=a;this.userAccess=b;this.activeSession=c};g=OD.prototype;
g.createIssue=function(a){var b=this;return(0,W.defer)(function(){return oD(b.userAccess,"writer","components/"+a.snapshot.componentId+"/issueDefaults")}).pipe(pf(function(c){if(c){var d=dza(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:ED}).pipe(y(eza))}else{c=(new r5b).setComponentId(a.snapshot.componentId).setTitle(a.snapshot.title).setComment(a.snapshot.comment);var f=Wj(a.snapshot.formattingMode);
c=dj(c,9,f).setAttachmentsList((e=(d=a.attachments)==null?void 0:d.map(Bua))!=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:ED}).pipe(y(eza))}return d}))};
g.createIssueWithWizard=function(a){var b=dza(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:ED}).pipe(y(eza))};g.getIssue=function(a){var b={},c,d=(c=this.activeSession.getTracker())==null?void 0:c.trackerId;d&&(b.currentTrackerId=d);return this.executor.get({url:"action/issues/"+a,options:{params:b},responseConstructor:FD}).pipe(y(function(e){return um(e)}))};
g.batchGetIssues=function(a){a=(new uD).setIt((new tD).setIssueIdsList(a.map(ij).filter(lj)).setView(2).setIssueDescriptionView(2));return this.executor.post({url:"action/issues/batch",body:a,responseConstructor:wD}).pipe(y(function(b){return b.getIt().getIssuesList().map(ok)}))};g.updateIssue=function(a,b){b=Vya(b);return this.executor.post({url:"action/issues/"+a,body:b,responseConstructor:FD}).pipe(y(function(c){return um(c)}))};
g.moveIssueExternal=function(a,b){b=Pya(b);return this.executor.post({url:"action/issues/"+a+"/external_move",body:b,responseConstructor:FD}).pipe(y(function(c){return um(c)}))};g.moveIssue=function(a,b){b=Nya(b);return this.executor.post({url:"action/issues/"+a+"/move",body:b,responseConstructor:FD}).pipe(y(function(c){return um(c)}))};g.unCcUser=function(a){var b=Lya(a);return this.executor.post({url:"action/issues/"+a+"/unccuser",body:b,responseConstructor:FD}).pipe(y(function(c){return um(c)}))};
g.updateAccessLimit=function(a,b,c,d){var e=new RC,f=e.setIt,h=(new GB).setIssueId(a);b&&(b=Zta(b),h.setIssueAccessLimit(b));c&&h.setAddedCollaboratorsList(c.map(Oi));d&&h.setRemovedCollaboratorsList(d.map(Oi));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=Kya(a,b,c,d);return this.executor.post({url:"action/issues/"+a+"/retainedAccessPrincipals",body:b,responseConstructor:DD}).pipe(y(function(e){e=e.getIt();return{readers:e.getReadersList().map(Ui),appenders:e.getAppendersList().map(Ui),writers:xj(e,Vi,3,yj()).map(Ui)}}))};
g.markAsVulnerability=function(a,b){var c=(new IC).setIssueId(Number(a));b&&(b=b.map(Oi),gk(c,2,b));c=(new OC).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 z5b(this,a,b.targetIds[0]);if(b.relation==="DUPLICATE"&&
b.actionType==="REMOVE")return A5b(this,a);throw Error("Lc");};g.addBlocking=function(a,b){b=(new t5b).setIssueId(Number(a)).setTargetIdsList(b.map(ij).filter(lj));return this.executor.post({url:"action/issues/"+a+"/add_blocking",body:b,responseConstructor:FD}).pipe(y(function(c){return um(c)}))};g.removeBlocking=function(a,b){b=(new w5b).setIssueId(Number(a)).setTargetIdsList(b.map(ij).filter(lj));return this.executor.post({url:"action/issues/"+a+"/remove_blocking",body:b,responseConstructor:FD}).pipe(y(function(c){return um(c)}))};
g.addBlockedBy=function(a,b){b=(new s5b).setIssueId(Number(a)).setTargetIdsList(b.map(ij).filter(lj));return this.executor.post({url:"action/issues/"+a+"/add_blocked_by",body:b,responseConstructor:FD}).pipe(y(function(c){return um(c)}))};g.removeBlockedBy=function(a,b){b=(new v5b).setIssueId(Number(a)).setTargetIdsList(b.map(ij).filter(lj));return this.executor.post({url:"action/issues/"+a+"/remove_blocked_by",body:b,responseConstructor:FD}).pipe(y(function(c){return um(c)}))};
var z5b=function(a,b,c){c=(new u5b).setIssueId(Number(b)).setTargetId(Number(c));return a.executor.post({url:"action/issues/"+b+"/mark_as_duplicate",body:c,responseConstructor:FD}).pipe(y(function(d){return um(d)}))},A5b=function(a,b){var c=(new x5b).setIssueId(Number(b));return a.executor.post({url:"action/issues/"+b+"/unmark_as_duplicate",body:c,responseConstructor:FD}).pipe(y(function(d){return um(d)}))};
OD.prototype.updateIssueHotlists=function(a,b){b=Yya(b);return this.executor.post({url:"action/issues/"+a+"/hotlists",body:b,responseConstructor:FD}).pipe(y(function(c){return um(c)}))};OD.prototype.updateIssueRetention=function(a,b){b=bza(b);return this.executor.post({url:"action/issues/"+a+"/update_retention",body:b,responseConstructor:FD}).pipe(y(function(c){return um(c)}))};
OD.prototype.listIssues=function(a,b){b=b===void 0?{}:b;var c;a=(new KC).setQuery(a);b.s&&a.setOrderBy(swa(b.s));b.count&&(a.setPageSize(b.count),b.p&&a.setPageToken("start_index:"+b.count*(b.p-1)));a=(new NC).setIt(a);b=(c=b.trackerIds)!=null?c:[];c=jc(a,6,b,Kb);return this.executor.post({url:"action/issues/list",body:c,responseConstructor:HD}).pipe(y(Bza))};var B5b=function(a,b){var c=new sD;b&&c.setMaxResults(b);b=(new JD).setIt(c);return a.executor.post({url:"action/issues/recent",body:b,responseConstructor:LD}).pipe(y(function(d){return d.getIt().getIssuesList().map(function(e){return ok(e)})}))};
OD.prototype.issueBulkEdit=function(a,b){var c={};b&&(c["G-Recaptcha-Response-Token"]=b);b=new S4b;var d=a.bulkEditOps.map(rza);gk(b,4,d);a.significanceOverride&&b.setSignificanceOverride(a.significanceOverride);return this.executor.post({url:"action/issues/bulk_edit",body:b,responseConstructor:xD,options:{headers:c}}).pipe(y(uza))};
OD.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:MD}).pipe(y($ya))};
var D5b=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:ID}).pipe(y(function(e){return C5b(e,!1)}))},E5b=function(a,b){b=gza(b);return a.executor.post({url:"action/issues/list/events",body:b,responseConstructor:ID}).pipe(y(function(c){return C5b(c,!0)}))};
OD.prototype.getIssueSummary=function(a,b){b=(new q5b).setIssueId(Number(a)).setSummaryType(M3b[b]);return this.executor.post({url:"action/issues/"+a+"/getSummary",body:b,responseConstructor:BD}).pipe(y(function(c){return Dza(c.getIt())}))};OD.prototype.generateIssueSummary=function(a,b){b=(new qD).setIssueId(a).setSummaryType(M3b[b]);b=(new yD).setIt(b);return this.executor.post({url:"action/issues/"+a+"/generateSummary",body:b,responseConstructor:AD}).pipe(y(function(c){return Dza(c.getIt())}))};
var C5b=function(a,b){a=xj(a,y5b,2,yj()).map(Jza);return b?OAa(a):MAa(a)};OD.\u0275fac=function(a){return new (a||OD)(n(IB),n(mD),n(Ir))};OD.\u0275prov=Hc({token:OD,factory:OD.\u0275fac,providedIn:"root"});var PD=function(a){this.observableApi=a};g=PD.prototype;g.createIssue=function(a){return(0,W.firstValueFrom)(this.observableApi.createIssue(a))};g.createIssueWithWizard=function(a){return(0,W.firstValueFrom)(this.observableApi.createIssueWithWizard(a))};g.getIssue=function(a){return(0,W.firstValueFrom)(this.observableApi.getIssue(a))};
g.batchGetIssues=function(a){return(0,W.firstValueFrom)(this.observableApi.batchGetIssues(a))};g.updateIssue=function(a,b){return(0,W.firstValueFrom)(this.observableApi.updateIssue(a,b))};g.moveIssueExternal=function(a,b){return(0,W.firstValueFrom)(this.observableApi.moveIssueExternal(a,b))};g.moveIssue=function(a,b){return(0,W.firstValueFrom)(this.observableApi.moveIssue(a,b))};g.unCcUser=function(a){return(0,W.firstValueFrom)(this.observableApi.unCcUser(a))};
g.updateAccessLimit=function(a,b,c,d){return(0,W.firstValueFrom)(this.observableApi.updateAccessLimit(a,b,c,d))};g.getRetainedAccessPrincipals=function(a,b,c,d){return(0,W.firstValueFrom)(this.observableApi.getRetainedAccessPrincipals(a,b,c,d))};g.markAsVulnerability=function(a,b){return(0,W.firstValueFrom)(this.observableApi.markAsVulnerability(a,b))};g.relateIssue=function(a,b){return(0,W.firstValueFrom)(this.observableApi.relateIssue(a,b))};
g.updateIssueHotlists=function(a,b){return(0,W.firstValueFrom)(this.observableApi.updateIssueHotlists(a,b))};g.updateIssueRetention=function(a,b){return(0,W.firstValueFrom)(this.observableApi.updateIssueRetention(a,b))};g.listIssues=function(a,b){b=b===void 0?{}:b;return(0,W.firstValueFrom)(this.observableApi.listIssues(a,b))};g.issueBulkEdit=function(a,b){return(0,W.firstValueFrom)(this.observableApi.issueBulkEdit(a,b))};g.getRelatedIssues=function(a){return(0,W.firstValueFrom)(this.observableApi.getRelatedIssues(a))};
PD.\u0275fac=function(a){return new (a||PD)(n(OD))};PD.\u0275prov=Hc({token:PD,factory:PD.\u0275fac,providedIn:"root"});var QD=new md("MatSnackBarData"),F5b=function(){this.politeness="assertive";this.announcementMessage="";this.duration=0;this.data=null;this.horizontalPosition="center";this.verticalPosition="bottom"};var RD=function(){};RD.\u0275fac=function(a){return new (a||RD)};RD.\u0275dir=fd({type:RD,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"],standalone:!0});var SD=function(){};SD.\u0275fac=function(a){return new (a||SD)};SD.\u0275dir=fd({type:SD,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"],standalone:!0});var TD=function(){};TD.\u0275fac=function(a){return new (a||TD)};
TD.\u0275dir=fd({type:TD,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"],standalone:!0});var G5b=Math.pow(2,31)-1,UD=function(a,b){var c=this;this._overlayRef=b;this._afterDismissed=new W.Subject;this._afterOpened=new W.Subject;this._onAction=new W.Subject;this._dismissedByAction=!1;this.containerInstance=a;a._onExit.subscribe(function(){return c._finishDismiss()})};g=UD.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,G5b))};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 VD=function(a,b){this.snackBarRef=a;this.data=b};VD.prototype.action=function(){this.snackBarRef.dismissWithAction()};ea.Object.defineProperties(VD.prototype,{hasAction:{configurable:!0,enumerable:!0,get:function(){return!!this.data.action}}});VD.\u0275fac=function(a){return new (a||VD)(A(UD),A(QD))};
VD.\u0275cmp=p({type:VD,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-mdc-simple-snack-bar"],exportAs:["matSnackBar"],standalone:!0,features:[sg],decls:3,vars:2,consts:[["matSnackBarLabel",""],["matSnackBarActions",""],["mat-button","","matSnackBarAction","",3,"click"]],template:function(a,b){a&1&&(F(0,"div",0),R(1),G(),C(2,YAa,3,1,"div",1));a&2&&(z(),S(" ",b.data.message,"\n"),z(),Of(b.hasAction?2:-1))},dependencies:[Rx,RD,SD,TD],styles:[".mat-mdc-simple-snack-bar{display:flex}\n"],encapsulation:2,
changeDetection:0});var H5b=ph("state",[sh("void, hidden",rh({transform:"scale(0.8)",opacity:0})),sh("visible",rh({transform:"scale(1)",opacity:1})),uh("* => visible",qh("150ms cubic-bezier(0, 0, 0.2, 1)")),uh("* => void, * => hidden",qh("75ms cubic-bezier(0.4, 0.0, 1, 1)",rh({opacity:0})))]);var I5b=["label"],J5b=0,WD=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=Yc(gh);this._trackedModals=new Set;this._announceDelay=150;this._destroyed=!1;this._onAnnounce=new W.Subject;this._onExit=new W.Subject;this._onEnter=new W.Subject;this._animationState="void";this._liveElementId="mat-snack-bar-container-live-"+J5b++;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"))};X(WD,Pw);g=WD.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)})};WD.\u0275fac=function(a){return new (a||WD)(A(ze),A(Rd),A(Ig),A($v),A(F5b))};
WD.\u0275cmp=p({type:WD,selectors:[["mat-snack-bar-container"]],viewQuery:function(a,b){a&1&&(fg(Sw,7),fg(I5b,7));if(a&2){var c;jg(c=kg())&&(b._portalOutlet=c.first);jg(c=kg())&&(b._label=c.first)}},hostAttrs:[1,"mdc-snackbar","mat-mdc-snack-bar-container"],hostVars:1,hostBindings:function(a,b){a&1&&Wf("@state.done",function(c){return b.onAnimationEnd(c)});a&2&&Uf("@state",b._animationState)},standalone:!0,features:[zf,sg],decls:6,vars:3,consts:[["label",""],[1,"mdc-snackbar__surface","mat-mdc-snackbar-surface"],
[1,"mat-mdc-snack-bar-label"],["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(a,b){a&1&&(F(0,"div",1)(1,"div",2,0)(3,"div",3),C(4,ZAa,0,0,"ng-template",4),G(),H(5,"div"),G()());a&2&&(z(5),Bf("aria-live",b._live)("role",b._role)("id",b._liveElementId))},dependencies:[Sw],styles:[".mat-mdc-snack-bar-container{display:flex;align-items:center;justify-content:center;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0);margin:8px}.mat-mdc-snack-bar-handset .mat-mdc-snack-bar-container{width:100vw}.mat-mdc-snackbar-surface{box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);display:flex;align-items:center;justify-content:flex-start;box-sizing:border-box;padding-left:0;padding-right:8px}[dir=rtl] .mat-mdc-snackbar-surface{padding-right:0;padding-left:8px}.mat-mdc-snack-bar-container .mat-mdc-snackbar-surface{min-width:344px;max-width:672px}.mat-mdc-snack-bar-handset .mat-mdc-snackbar-surface{width:100%;min-width:0}.cdk-high-contrast-active .mat-mdc-snackbar-surface{outline:solid 1px}.mat-mdc-snack-bar-container .mat-mdc-snackbar-surface{color:var(--mdc-snackbar-supporting-text-color);border-radius:var(--mdc-snackbar-container-shape);background-color:var(--mdc-snackbar-container-color)}.mdc-snackbar__label{width:100%;flex-grow:1;box-sizing:border-box;margin:0;padding:14px 8px 14px 16px}[dir=rtl] .mdc-snackbar__label{padding-left:8px;padding-right:16px}.mat-mdc-snack-bar-container .mdc-snackbar__label{font-family:var(--mdc-snackbar-supporting-text-font);font-size:var(--mdc-snackbar-supporting-text-size);font-weight:var(--mdc-snackbar-supporting-text-weight);line-height:var(--mdc-snackbar-supporting-text-line-height)}.mat-mdc-snack-bar-actions{display:flex;flex-shrink:0;align-items:center;box-sizing:border-box}.mat-mdc-snack-bar-handset,.mat-mdc-snack-bar-container,.mat-mdc-snack-bar-label{flex:1 1 auto}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled){color:var(--mat-snack-bar-button-color);--mat-text-button-state-layer-color:currentColor;--mat-text-button-ripple-color:currentColor}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled) .mat-ripple-element{opacity:.1}\n"],
encapsulation:2,data:{animation:[H5b]}});/*

 Copyright Google LLC All Rights Reserved.

 Use of this source code is governed by an MIT-style license that can be
 found in the LICENSE file at https://angular.io/license
 @type {{XSmall: string, Small: string, Medium: string, Large: string, XLarge: string, Handset: string, Tablet: string, Web: string, HandsetPortrait: string, TabletPortrait: string, WebPortrait: string, HandsetLandscape: string, TabletLandscape: string, WebLandscape: string}}
*/
var K5b=new md("mat-snack-bar-default-options",{providedIn:"root",factory:function(){return new F5b}}),XD=function(a,b,c,d,e,f){this._overlay=a;this._live=b;this._injector=c;this._breakpointObserver=d;this._parentSnackBar=e;this._defaultConfig=f;this._snackBarRefAtThisLevel=null;this.simpleSnackBarComponent=VD;this.snackBarContainerComponent=WD;this.handsetCssClass="mat-mdc-snack-bar-handset"};g=XD.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=Fg({parent:b&&b.viewContainerRef&&b.viewContainerRef.injector||this._injector,providers:[{provide:F5b,useValue:b}]});a=a.attach(new Nw(this.snackBarContainerComponent,b.viewContainerRef,c));a.instance.snackBarConfig=b;return a.instance};
g._attach=function(a,b){var c=this,d=Object.assign({},new F5b,this._defaultConfig,b),e=this._createOverlay(d);b=this._attachSnackBarContainer(e,d);var f=new UD(b,e);if(a instanceof cg)f.instance=b.attachTemplatePortal(new Ow(a,null,{$implicit:d.data,snackBarRef:f}));else{var h=this._createInjector(d,f);a=b.attachComponentPortal(new Nw(a,void 0,h));f.instance=a.instance}this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait)").pipe(qf(e._detachments)).subscribe(function(k){e.overlayElement.classList.toggle(c.handsetCssClass,
k.matches)});d.announcementMessage&&b._onAnnounce.subscribe(function(){c._live.announce(d.announcementMessage,d.politeness)});this._animateSnackBar(f,d);return this._openedSnackBarRef=f};
g._animateSnackBar=function(a,b){var c=this;a.afterDismissed().subscribe(function(){c._openedSnackBarRef==a&&(c._openedSnackBarRef=null);b.announcementMessage&&c._live.clear()});this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(function(){a.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):a.containerInstance.enter();b.duration&&b.duration>0&&a.afterOpened().subscribe(function(){return a._dismissAfter(b.duration)})};
g._createOverlay=function(a){var b=new mx;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"):sx(c);a.verticalPosition==="top"?c.top("0"):c.bottom("0");b.positionStrategy=c;return this._overlay.create(b)};
g._createInjector=function(a,b){return Fg({parent:a&&a.viewContainerRef&&a.viewContainerRef.injector||this._injector,providers:[{provide:UD,useValue:b},{provide:QD,useValue:a.data}]})};ea.Object.defineProperties(XD.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}}});
XD.\u0275fac=function(a){return new (a||XD)(n(vx),n(vw),n(Ae),n(pw),n(XD,12),n(K5b))};XD.\u0275prov=Hc({token:XD,factory:XD.\u0275fac,providedIn:"root"});var YD=function(){};YD.\u0275fac=function(a){return new (a||YD)};YD.\u0275mod=dd({type:YD});YD.\u0275inj=Ic({providers:[XD],imports:[yx,Tw,Vx,zx,VD,zx]});var L5b=function(){};var gBa=RegExp("{{\\s*(.+?)\\s*}}","g"),hBa=/-+([a-z0-9])/g;var M5b=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(" ")),N5b=function(){};X(N5b,L5b);
var lBa=function(a,b,c){var d="",e=b.toString().trim();M5b.has(a)&&b!==0&&b!=="0"&&(typeof b==="number"?d="px":(a=b.match(/^[+-]?[\d\.]+([a-z]*)$/))&&a[1].length==0&&c.push(new Lc(3005,!1)));return e+d};var rBa=typeof document==="undefined"?null:document.documentElement;var ZD=function(){};g=ZD.prototype;g.containsElement=function(a,b){return tBa(a,b)};g.getParentElement=function(a){return sBa(a)};g.query=function(a,b,c){return uBa(a,b,c)};g.computeStyle=function(a,b,c){return c||""};g.animate=function(a,b,c,d){return new dn(c,d)};ZD.\u0275fac=function(a){return new (a||ZD)};ZD.\u0275prov=Hc({token:ZD,factory:ZD.\u0275fac});var O5b=function(){};var yBa=new Set(["true","1"]),zBa=new Set(["false","0"]);var ABa=RegExp("s*:selfs*,?","g"),P5b=function(a){this._driver=a};g=P5b.prototype;g.build=function(a,b){b=new Q5b(b);this._resetContextStyleTimingState(b);return cn(this,an(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 Lc(3006,!1));a.definitions.forEach(function(k){c._resetContextStyleTimingState(b);if(k.type==0){var q=k.name;q.toString().split(/\s*,\s*/).forEach(function(t){k.name=t;f.push(c.visitState(k,b))});k.name=q}else k.type==1?(q=c.visitTransition(k,b),d+=q.queryCount,e+=q.depCount,h.push(q)):b.errors.push(new Lc(3007,!1))});return{type:7,name:a.name,states:f,transitions:h,queryCount:d,
depCount:e,options:null}};g.visitState=function(a,b){var c=this.visitStyle(a.styles,b),d=a.options&&a.options.params||null;if(c.containsDynamicStyles){var e=new Set,f=d||{};c.styles.forEach(function(h){h instanceof Map&&h.forEach(function(k){eBa(k).forEach(function(q){f.hasOwnProperty(q)||e.add(q)})})});e.size&&b.errors.push($Aa([].concat(r(e.values()))))}return{type:0,name:a.name,style:c,options:d?{params:d}:null}};
g.visitTransition=function(a,b){b.queryCount=0;b.depCount=0;var c=cn(this,an(a.animation),b);return{type:1,matchers:xBa(a.expr,b.errors),animation:c,queryCount:b.queryCount,depCount:b.depCount,options:gn(a.options)}};g.visitSequence=function(a,b){var c=this;return{type:2,steps:a.steps.map(function(d){return cn(c,d,b)}),options:gn(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=cn(c,h,b);e=Math.max(e,b.currentTime);return h});b.currentTime=e;return{type:3,steps:f,options:gn(a.options)}};
g.visitAnimate=function(a,b){var c=DBa(a.timings,b.errors);b.currentAnimateTimings=c;var d=a.styles?a.styles:rh({});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=rh(d));b.currentTime+=c.duration+c.delay;var e=this.visitStyle(d,b);e.isEmptyStep=a;a=e}b.currentAnimateTimings=null;return{type:4,timings:c,style:a,options:null}};g.visitStyle=function(a,b){a=this._makeStyleAst(a,b);this._validateStyleAst(a,b);return a};
g._makeStyleAst=function(a,b){var c=[],d=Array.isArray(a.styles)?a.styles:[a.styles];d=l(d);for(var e=d.next();!e.done;e=d.next())e=e.value,typeof e==="string"?e==="*"?c.push(e):b.errors.push(new Lc(3002,!1)):c.push(new Map(Object.entries(e)));var f=!1,h=null;c.forEach(function(k){if(k instanceof Map&&(k.has("easing")&&(h=k.get("easing"),k.delete("easing")),!f)){k=l(k.values());for(var q=k.next();!q.done;q=k.next())if(q.value.toString().indexOf("{{")>=0){f=!0;break}}});return{type:6,styles:c,easing:h,
offset:a.offset,containsDynamicStyles:f,options:null}};g._validateStyleAst=function(a,b){var c=b.currentAnimateTimings,d=b.currentTime,e=b.currentTime;c&&e>0&&(e-=c.duration+c.delay);a.styles.forEach(function(f){typeof f!=="string"&&f.forEach(function(h,k){var q=b.collectedStyles.get(b.currentQuerySelector),t=q.get(k),w=!0;t&&(e!=d&&e>=t.startTime&&d<=t.endTime&&(b.errors.push(new Lc(3010,!1)),w=!1),e=t.startTime);w&&q.set(k,{startTime:e,endTime:d});b.options&&fBa(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 Lc(3011,!1)),d;var e=0,f=[],h=!1,k=!1,q=0,t=a.steps.map(function(N){N=c._makeStyleAst(N,b);var P=N.offset!=null?N.offset:CBa(N.styles),U=0;P!=null&&(e++,U=N.offset=P);k=k||U<0||U>1;h=h||U<q;q=U;f.push(U);return N});k&&b.errors.push(new Lc(3012,!1));h&&b.errors.push(new Lc(3200,!1));a=a.steps.length;var w=0;e>0&&e<a?b.errors.push(new Lc(3202,!1)):e==0&&(w=1/(a-1));var B=
a-1,E=b.currentTime,I=b.currentAnimateTimings,J=I.duration;t.forEach(function(N,P){P=w>0?P==B?1:w*P:f[P];var U=P*J;b.currentTime=E+I.delay+U;I.duration=U;c._validateStyleAst(N,b);N.offset=P;d.styles.push(N)});return d};g.visitReference=function(a,b){return{type:8,animation:cn(this,an(a.animation),b),options:gn(a.options)}};g.visitAnimateChild=function(a,b){b.depCount++;return{type:9,options:gn(a.options)}};
g.visitAnimateRef=function(a,b){return{type:10,animation:this.visitReference(a.animation,b),options:gn(a.options)}};
g.visitQuery=function(a,b){var c=b.currentQuerySelector,d=a.options||{};b.queryCount++;b.currentQuery=a;var e=l(BBa(a.selector)),f=e.next().value;e=e.next().value;b.currentQuerySelector=c.length?c+" "+f:f;fn(b.collectedStyles,b.currentQuerySelector,new Map);var h=cn(this,an(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:gn(a.options)}};
g.visitStagger=function(a,b){b.currentQuery||b.errors.push(new Lc(3013,!1));var c=a.timings==="full"?{duration:0,delay:0,easing:"full"}:bBa(a.timings,b.errors,!0);return{type:12,animation:cn(this,an(a.animation),b),timings:c,options:null}};var Q5b=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 $D=function(){this._map=new Map};$D.prototype.get=function(a){return this._map.get(a)||[]};$D.prototype.append=function(a,b){var c=this._map.get(a);c||this._map.set(a,c=[]);c.push.apply(c,r(b))};$D.prototype.has=function(a){return this._map.has(a)};$D.prototype.clear=function(){this._map.clear()};var R5b=RegExp(":enter","g"),S5b=RegExp(":leave","g"),FBa=function(){};g=FBa.prototype;
g.buildKeyframes=function(a,b,c,d,e,f,h,k,q,t){t=t===void 0?[]:t;q=q||new $D;a=new aE(a,b,q,d,e,t,[]);a.options=k;d=k.delay?Ym(k.delay):0;a.currentTimeline.delayNextStep(d);T5b(a.currentTimeline,[f],null,a.errors,k);cn(this,c,a);c=a.timelines.filter(function(B){return B.containsAnimation()});if(c.length&&h.size){for(f=c.length-1;f>=0;f--)if(e=c[f],e.element===b){var w=e;break}w&&w._currentEmptyStepKeyframe===w._currentKeyframe&&T5b(w,[h],null,a.errors,k)}return c.length?c.map(function(B){return B.buildKeyframes()}):
[EBa(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=bE(b,a.options),e=b.currentTimeline.currentTime;c=this._visitSubInstructions(c,d,d.options);e!=c&&cE(b,c)}b.previousNode=a};
g.visitAnimateRef=function(a,b){var c=bE(b,a.options);cE(c);this._applyAnimationRefDelays([a.options,a.animation.options],b,c);this.visitReference(a.animation,c);cE(b,c.currentTimeline.currentTime);b.previousNode=a};g._applyAnimationRefDelays=function(a,b,c){a=l(a);for(var d=a.next();!d.done;d=a.next()){d=d.value;var e=void 0,f=(e=d)==null?void 0:e.delay;if(f){var h=e=void 0;d=typeof f==="number"?f:Ym(bn(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?Ym(c.duration):null,f=c.delay!=null?Ym(c.delay):null;e!==0&&a.forEach(function(h){var k={duration:e!=null?e:h.duration,delay:b.currentTimeline.currentTime+(f!=null?f:0)+h.delay,easing:""};h=new U5b(b._driver,h.element,h.keyframes,h.preStyleProps,h.postStyleProps,k,h.stretchStartingKeyframe);b.timelines.push(h);d=Math.max(d,k.duration+k.delay)});return d};
g.visitReference=function(a,b){V5b(b,a.options,!0);cn(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=bE(b,f),cE(e),f.delay!=null&&(e.previousNode.type==6&&(dE(e.currentTimeline),e.previousNode=W5b),e.delayNextStep(Ym(f.delay))));a.steps.length&&(a.steps.forEach(function(h){return cn(c,h,e)}),eE(e.currentTimeline),e.subContextCount>d&&cE(e));b.previousNode=a};
g.visitGroup=function(a,b){var c=this,d=[],e=b.currentTimeline.currentTime,f=a.options&&a.options.delay?Ym(a.options.delay):0;a.steps.forEach(function(h){var k=bE(b,a.options);f&&k.delayNextStep(f);cn(c,h,k);e=Math.max(e,k.currentTimeline.currentTime);d.push(k.currentTimeline)});d.forEach(function(h){return X5b(b.currentTimeline,h)});cE(b,e);b.previousNode=a};
g._visitTiming=function(a,b){return a.dynamic?(a=a.strValue,a=b.params?bn(a,b.params,b.errors):a,bBa(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&&(Y5b(b.currentTimeline,b.currentTimeline.duration+c.delay),dE(d));var e=a.style;e.type==5?this.visitKeyframes(e,b):(Y5b(b.currentTimeline,b.currentTimeline.duration+c.duration),this.visitStyle(e,b),eE(d));b.currentAnimateTimings=null;b.previousNode=a};
g.visitStyle=function(a,b){var c=b.currentTimeline,d=b.currentAnimateTimings;!d&&c._currentKeyframe.size>0&&(c.duration+=1,c._loadKeyframe());d=d&&d.easing||a.easing;if(a.isEmptyStep){d&&c._previousKeyframe.set("easing",d);d=l(c._globalTimelineStyles);for(var e=d.next();!e.done;e=d.next()){var f=l(e.value);e=f.next().value;f=f.next().value;c._backFill.set(e,f||"*");c._currentKeyframe.set(e,"*")}c._currentEmptyStepKeyframe=c._currentKeyframe}else T5b(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=bE(b).currentTimeline;f.easing=c.easing;a.styles.forEach(function(h){Y5b(f,(h.offset||0)*e);T5b(f,h.styles,h.easing,b.errors,b.options);eE(f)});X5b(b.currentTimeline,f);cE(b,d+e);b.previousNode=a};
g.visitQuery=function(a,b){var c=this,d=b.currentTimeline.currentTime,e=a.options||{},f=e.delay?Ym(e.delay):0;f&&(b.previousNode.type===6||d==0&&b.currentTimeline._currentKeyframe.size>0)&&(dE(b.currentTimeline),b.previousNode=W5b);var h=d;d=Z5b(b,a.selector,a.limit,a.includeSelf,e.optional?!0:!1,b.errors);b.currentQueryTotal=d.length;var k=null;d.forEach(function(q,t){b.currentQueryIndex=t;t=bE(b,a.options,q);f&&t.delayNextStep(f);q===b.element&&(k=t.currentTimeline);cn(c,a.animation,t);eE(t.currentTimeline);
h=Math.max(h,t.currentTimeline.currentTime)});b.currentQueryIndex=0;b.currentQueryTotal=0;cE(b,h);k&&(X5b(b.currentTimeline,k),dE(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;cn(this,a.animation,b);b.previousNode=a;c.currentStaggerTime=d.currentTime-e+(d.startTime-c.currentTimeline.startTime)};
var W5b={},aE=function(a,b,c,d,e,f,h,k){this._driver=a;this.element=b;this.subInstructions=c;this._enterClassName=d;this._leaveClassName=e;this.errors=f;this.timelines=h;this.currentAnimateTimings=this.parentContext=null;this.previousNode=W5b;this.subContextCount=0;this.options={};this.currentStaggerTime=this.currentQueryTotal=this.currentQueryIndex=0;this.currentTimeline=k||new fE(this._driver,b,0);h.push(this.currentTimeline)},V5b=function(a,b,c){if(b){var d=a.options;b.duration!=null&&(d.duration=
Ym(b.duration));b.delay!=null&&(d.delay=Ym(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]=bn(e[h],f,a.errors))})}}};aE.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 bE=function(a,b,c){b=b===void 0?null:b;c=c||a.element;c=new aE(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();V5b(c,b);c.currentQueryIndex=a.currentQueryIndex;c.currentQueryTotal=a.currentQueryTotal;c.parentContext=a;a.subContextCount++;return c},cE=function(a,b){a.previousNode=W5b;a.currentTimeline=a.currentTimeline.fork(a.element,
b);a.timelines.push(a.currentTimeline)};aE.prototype.delayNextStep=function(a){a>0&&this.currentTimeline.delayNextStep(a)};var Z5b=function(a,b,c,d,e,f){var h=[];d&&h.push(a.element);b.length>0&&(b=b.replace(R5b,"."+a._enterClassName),b=b.replace(S5b,"."+a._leaveClassName),a=a._driver.query(a.element,b,c!=1),c!==0&&(a=c<0?a.slice(a.length+c,a.length):a.slice(0,c)),h.push.apply(h,r(a)));e||h.length!=0||f.push(new Lc(3014,!1));return h};
ea.Object.defineProperties(aE.prototype,{params:{configurable:!0,enumerable:!0,get:function(){return this.options.params}}});
var fE=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()};fE.prototype.containsAnimation=function(){switch(this._keyframes.size){case 0:return!1;case 1:return this._currentKeyframe.size>0;default:return!0}};fE.prototype.delayNextStep=function(a){var b=this._keyframes.size===1&&this._pendingStyles.size;this.duration||b?(Y5b(this,this.currentTime+a),b&&dE(this)):this.startTime+=a};
fE.prototype.fork=function(a,b){eE(this);return new fE(this._driver,a,b||this.currentTime,this._elementTimelineStylesLookup)};fE.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 Y5b=function(a,b){eE(a);a.duration=b;a._loadKeyframe()};
fE.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 T5b=function(a,b,c,d,e){c&&a._previousKeyframe.set("easing",c);c=e&&e.params||{};b=IBa(b,a._globalTimelineStyles);b=l(b);for(e=b.next();!e.done;e=b.next()){var f=l(e.value);e=f.next().value;f=f.next().value;f=bn(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)}},eE=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)}))},dE=function(a){for(var b=l(a._localTimelineStyles),c=b.next();!c.done;c=b.next()){var d=l(c.value);c=d.next().value;d=d.next().value;a._pendingStyles.set(c,d);a._updateStyle(c,d)}},X5b=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)})};
fE.prototype.buildKeyframes=function(){var a=this;eE(this);var b=new Set,c=new Set,d=this._keyframes.size===1&&this.duration===0,e=[];this._keyframes.forEach(function(t,w){t=new Map([].concat(r(a._backFill),r(t)));t.forEach(function(B,E){B==="!"?b.add(E):B==="*"&&c.add(E)});d||t.set("offset",w/a.duration);e.push(t)});var f=[].concat(r(b.values())),h=[].concat(r(c.values()));if(d){var k=e[0],q=new Map(k);k.set("offset",0);q.set("offset",1);e=[k,q]}return EBa(this.element,e,f,h,this.duration,this.startTime,
this.easing,!1)};ea.Object.defineProperties(fE.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 U5b=function(a,b,c,d,e,f,h){h=h===void 0?!1:h;fE.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}};
X(U5b,fE);U5b.prototype.containsAnimation=function(){return this.keyframes.length>1};
U5b.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",HBa(f));b.push(h);f=a.length-1;for(h=1;h<=f;h++){var k=new Map(a[h]),q=k.get("offset");k.set("offset",HBa((c+q*d)/e));b.push(k)}d=e;c=0;e="";a=b}return EBa(this.element,a,this.preStyleProps,this.postStyleProps,d,c,e,!0)};var $5b={},hn=function(a,b,c){this._triggerName=a;this.ast=b;this._stateStyles=c};hn.prototype.match=function(a,b,c,d){return KBa(this.ast.matchers,a,b,c,d)};hn.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};
hn.prototype.build=function(a,b,c,d,e,f,h,k,q,t){var w=[],B=this.ast.options&&this.ast.options.params||$5b;h=this.buildStyles(c,h&&h.params||$5b,w);var E=k&&k.params||$5b;k=this.buildStyles(d,E,w);var I=new Set,J=new Map,N=new Map,P=d==="void",U;B={params:LBa(E,B),delay:(U=this.ast.options)==null?void 0:U.delay};a=t?[]:GBa(a,b,this.ast.animation,e,f,h,k,B,q,w);var ba=0;a.forEach(function(ma){ba=Math.max(ma.duration+ma.delay,ba)});if(w.length)return JBa(b,this._triggerName,c,d,P,h,k,[],[],J,N,ba,w);
a.forEach(function(ma){var na=ma.element,ya=fn(J,na,new Set);ma.preStyleProps.forEach(function(ia){return ya.add(ia)});var Pa=fn(N,na,new Set);ma.postStyleProps.forEach(function(ia){return Pa.add(ia)});na!==b&&I.add(na)});return JBa(b,this._triggerName,c,d,P,h,k,a,[].concat(r(I.values())),J,N,ba)};var a6b=function(a,b){this.styles=a;this.defaultParams=b};
a6b.prototype.buildStyles=function(a,b){var c=new Map,d=LBa(a,this.defaultParams);this.styles.styles.forEach(function(e){typeof e!=="string"&&e.forEach(function(f,h){f&&(f=bn(f,d,b));var k=dBa(h);f=lBa(k,f,b);c.set(h,f)})});return c};var b6b=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 a6b(e.style,e.options&&e.options.params||{}))});NBa(this.states,"true","1");NBa(this.states,"false","0");b.transitions.forEach(function(e){d.transitionFactories.push(new hn(a,e,d.states))});this.fallbackTransition=MBa(a,this.states)},c6b=function(a,b,c,d,e){return a.transitionFactories.find(function(f){return f.match(b,c,
d,e)})||null};var d6b=new $D,e6b=function(a,b,c){this.bodyNode=a;this._driver=b;this._normalizer=c;this._animations=new Map;this._playersById=new Map;this.players=[]};g=e6b.prototype;g.register=function(a,b){var c=[];b=(new P5b(this._driver)).build(b,c,[]);if(c.length)throw new Lc(3503,!1);this._animations.set(a,b)};g._buildPlayer=function(a,b,c){var d=a.element;b=mBa(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=GBa(this._driver,b,f,"ng-enter","ng-leave",new Map,new Map,c,d6b,e),b.forEach(function(k){var q=fn(h,k.element,new Map);k.postStyleProps.forEach(function(t){return q.set(t,null)})})):(e.push(new Lc(3300,!1)),b=[]);if(e.length)throw new Lc(3504,!1);h.forEach(function(k,q){k.forEach(function(t,w){k.set(w,d._driver.computeStyle(q,w,"*"))})});e=b.map(function(k){var q=h.get(k.element);return d._buildPlayer(k,
new Map,q)});e=en(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 Lc(3301,!1);return a};g.listen=function(a,b,c,d){b=pBa(b,"","","");oBa(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 f6b=[],g6b={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},QBa={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},h6b=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={})},i6b=function(a,b){var c=b.params;if(c){var d=a.options.params;
Object.keys(c).forEach(function(e){d[e]==null&&(d[e]=c[e])})}};ea.Object.defineProperties(h6b.prototype,{params:{configurable:!0,enumerable:!0,get:function(){return this.options.params}}});var j6b=new h6b("void"),gE=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;jn(b,this._hostClassName)};g=gE.prototype;
g.listen=function(a,b,c,d){var e=this;if(!this._triggers.has(b))throw new Lc(3302,!1);if(c==null||c.length==0)throw new Lc(3303,!1);if(c!="start"&&c!="done")throw new Lc(3400,!1);var f=fn(this._elementListeners,a,[]),h={name:b,phase:c,callback:d};f.push(h);var k=fn(this._engine.statesByElement,a,new Map);k.has(b)||(jn(a,"ng-trigger"),jn(a,"ng-trigger-"+b),k.set(b,j6b));return function(){hE(e._engine,function(){var q=f.indexOf(h);q>=0&&f.splice(q,1);e._triggers.has(b)||k.delete(b)})}};
g.register=function(a,b){if(this._triggers.has(a))return!1;this._triggers.set(a,b);return!0};g._getTrigger=function(a){a=this._triggers.get(a);if(!a)throw new Lc(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 k6b(this.id,b,a),k=this._engine.statesByElement.get(a);k||(jn(a,"ng-trigger"),jn(a,"ng-trigger-"+b),this._engine.statesByElement.set(a,k=new Map));var q=k.get(b),t=new h6b(c,this.id);c&&c.hasOwnProperty("value")||!q||i6b(t,q.options);k.set(b,t);q||(q=j6b);if(t.value!=="void"&&q.value===t.value){if(!WBa(q.params,t.params)){d=[];var w=f.fallbackTransition.buildStyles(q.value,q.params,d),B=f.fallbackTransition.buildStyles(t.value,
t.params,d);d.length?this._engine.reportError(d):hE(this._engine,function(){$m(a,w);Zm(a,B)})}}else{c=fn(this._engine.playersByElement,a,[]);c.forEach(function(I){I.namespaceId==e.id&&I.triggerName==b&&I.queued&&I.destroy()});k=c6b(f,q.value,t.value,a,t.params);var E=!1;if(!k){if(!d)return;k=f.fallbackTransition;E=!0}this._engine.totalQueuedPlayers++;this._queue.push({element:a,triggerName:b,transition:k,fromState:q,toState:t,player:h,isFallbackTransition:E});E||(jn(a,"ng-animate-queued"),h.onStart(function(){kn(a,
"ng-animate-queued")}));h.onDone(function(){var I=e.players.indexOf(h);I>=0&&e.players.splice(I,1);if(I=e._engine.playersByElement.get(a)){var J=I.indexOf(h);J>=0&&I.splice(J,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 l6b=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))};
gE.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=m6b(c._engine,e);f.size?f.forEach(function(h){return n6b(h,e,b,!1,!0)}):l6b(c,e)}});this._engine.afterFlushAnimationsDone(function(){return d.forEach(function(e){return l6b(c,e)})})};
var n6b=function(a,b,c,d,e){var f=a._engine.statesByElement.get(b),h=new Map;if(f){var k=[];f.forEach(function(q,t){h.set(t,q.value);a._triggers.has(t)&&(q=a.trigger(b,t,"void",e))&&k.push(q)});if(k.length){o6b(a._engine,a.id,b,!0,c,h);if(d)en(k).onDone(function(){return ln(a._engine,b)});return!0}}return!1},p6b=function(a,b){var c=a._elementListeners.get(b),d=a._engine.statesByElement.get(b);if(c&&d){var e=new Set;c.forEach(function(f){f=f.name;if(!e.has(f)){e.add(f);var h=a._triggers.get(f).fallbackTransition,
k=d.get(f)||j6b,q=new h6b("void"),t=new k6b(a.id,f,b);a._engine.totalQueuedPlayers++;a._queue.push({element:b,triggerName:f,transition:h,fromState:k,toState:q,player:t,isFallbackTransition:!0})}})}};
gE.prototype.removeNode=function(a,b){var c=this,d=this._engine;a.childElementCount&&this._signalRemovalForInnerTriggers(a,b);if(!n6b(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}}p6b(this,a);e?o6b(d,this.id,a,!1,b):(e=a.__ng_removed,e&&e!==g6b||(hE(d,function(){return l6b(c,a)}),q6b(d,a),d._onRemovalComplete(a,b)))}};
gE.prototype.insertNode=function(a){jn(a,this._hostClassName)};
var r6b=function(a,b){var c=[];a._queue.forEach(function(d){var e=d.player;if(!e.destroyed){var f=d.element,h=a._elementListeners.get(f);h&&h.forEach(function(k){if(k.name==d.triggerName){var q=pBa(f,d.triggerName,d.fromState.value,d.toState.value);q._data=b;oBa(d.player,k.phase,q,k.callback)}});e.markedForDestroy?hE(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:a._engine.driver.containsElement(d.element,
e.element)?1:-1})};gE.prototype.destroy=function(a){this.players.forEach(function(b){return b.destroy()});this._signalRemovalForInnerTriggers(this.hostElement,a)};
var iE=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=iE.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 gE(a,b,this),this.bodyNode&&this.driver.containsElement(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&&(hE(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 m6b=function(a,b){var c=new Set;if(b=a.statesByElement.get(b)){b=l(b.values());for(var d=b.next();!d.done;d=b.next())d=d.value,d.namespaceId&&(d=a._fetchNamespace(d.namespaceId))&&c.add(d)}return c};iE.prototype.trigger=function(a,b,c,d){return OBa(b)&&(a=this._fetchNamespace(a))?(a.trigger(b,c,d),!0):!1};
iE.prototype.insertNode=function(a,b,c,d){if(OBa(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 s6b=function(a,b,c){c?a.disabledNodes.has(b)||(a.disabledNodes.add(b),jn(b,"ng-animate-disabled")):a.disabledNodes.has(b)&&(a.disabledNodes.delete(b),kn(b,"ng-animate-disabled"))};
iE.prototype.removeNode=function(a,b,c){if(OBa(b)){var d=a?this._fetchNamespace(a):null;d?d.removeNode(b,c):o6b(this,a,b,!1,c);(d=this.namespacesByHostElement.get(b))&&d.id!==a&&d.removeNode(b,c)}else this._onRemovalComplete(b,c)};var o6b=function(a,b,c,d,e,f){a.collectedLeaveElements.push(c);c.__ng_removed={namespaceId:b,setForRemoval:e,hasAnimation:d,removedBeforeQueried:!1,previousTriggersValues:f}};iE.prototype.listen=function(a,b,c,d,e){return OBa(b)?this._fetchNamespace(a).listen(b,c,d,e):function(){}};
iE.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 q6b=function(a,b){var c=a.driver.query(b,".ng-trigger",!0);c.forEach(function(d){return t6b(a,d)});a.playersByQueriedElement.size!=0&&(c=a.driver.query(b,".ng-animating",!0),c.forEach(function(d){return u6b(a,d)}))},t6b=function(a,b){(a=a.playersByElement.get(b))&&a.forEach(function(c){c.queued?c.markedForDestroy=!0:c.destroy()})},u6b=function(a,b){(a=a.playersByQueriedElement.get(b))&&a.forEach(function(c){return c.finish()})},ln=function(a,b){var c=b.__ng_removed;if(c&&c.setForRemoval){b.__ng_removed=
g6b;if(c.namespaceId){q6b(a,b);var d=a._fetchNamespace(c.namespaceId);d&&l6b(d,b)}a._onRemovalComplete(b,c.setForRemoval)}var e;((e=b.classList)==null?0:e.contains("ng-animate-disabled"))&&s6b(a,b,!1);a.driver.query(b,".ng-animate-disabled",!0).forEach(function(f){s6b(a,f,!1)})};
iE.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++)jn(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++)ln(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)en(c).onDone(function(){e.forEach(function(f){return f()})});else e.forEach(function(f){return f()})}};
iE.prototype.reportError=function(){throw new Lc(3402,!1);};
iE.prototype._flushAnimations=function(a,b){var c=this,d=new $D,e=[],f=new Map,h=[],k=new Map,q=new Map,t=new Map,w=new Set;this.disabledNodes.forEach(function(Ra){w.add(Ra);Ra=c.driver.query(Ra,".ng-animate-queued",!0);for(var Jb=0;Jb<Ra.length;Jb++)w.add(Ra[Jb])});var B=this.bodyNode,E=Array.from(this.statesByElement.keys()),I=SBa(E,this.collectedEnterElements),J=new Map,N=0;I.forEach(function(Ra,Jb){var ac="ng-enter"+N++;J.set(Jb,ac);Ra.forEach(function(Mc){return jn(Mc,ac)})});for(var P=[],U=
new Set,ba=new Set,ma=0;ma<this.collectedLeaveElements.length;ma++){var na=this.collectedLeaveElements[ma],ya=na.__ng_removed;ya&&ya.setForRemoval&&(P.push(na),U.add(na),ya.hasAnimation?this.driver.query(na,".ng-star-inserted",!0).forEach(function(Ra){return U.add(Ra)}):ba.add(na))}var Pa=new Map,ia=SBa(E,Array.from(U));ia.forEach(function(Ra,Jb){var ac="ng-leave"+N++;Pa.set(Jb,ac);Ra.forEach(function(Mc){return jn(Mc,ac)})});a.push(function(){I.forEach(function(Ra,Jb){var ac=J.get(Jb);Ra.forEach(function(Mc){return kn(Mc,
ac)})});ia.forEach(function(Ra,Jb){var ac=Pa.get(Jb);Ra.forEach(function(Mc){return kn(Mc,ac)})});P.forEach(function(Ra){ln(c,Ra)})});var qa=[],ua=[];for(a=this._namespaceList.length-1;a>=0;a--)r6b(this._namespaceList[a],b).forEach(function(Ra){var Jb=Ra.player,ac=Ra.element;qa.push(Jb);if(c.collectedEnterElements.length){var Mc=ac.__ng_removed;if(Mc&&Mc.setForMove){if(Mc.previousTriggersValues&&Mc.previousTriggersValues.has(Ra.triggerName)){Mc=Mc.previousTriggersValues.get(Ra.triggerName);var wb=
c.statesByElement.get(Ra.element);if(wb&&wb.has(Ra.triggerName)){var kc=wb.get(Ra.triggerName);kc.value=Mc;wb.set(Ra.triggerName,kc)}}Jb.destroy();return}}Mc=!B||!c.driver.containsElement(B,ac);wb=Pa.get(ac);kc=J.get(ac);var Nb=c._buildInstruction(Ra,d,kc,wb,Mc);if(Nb.errors&&Nb.errors.length)ua.push(Nb);else if(Mc)Jb.onStart(function(){return $m(ac,Nb.fromStyles)}),Jb.onDestroy(function(){return Zm(ac,Nb.toStyles)}),e.push(Jb);else if(Ra.isFallbackTransition)Jb.onStart(function(){return $m(ac,Nb.fromStyles)}),
Jb.onDestroy(function(){return Zm(ac,Nb.toStyles)}),e.push(Jb);else{var tc=[];Nb.timelines.forEach(function(od){od.stretchStartingKeyframe=!0;c.disabledNodes.has(od.element)||tc.push(od)});Nb.timelines=tc;d.append(ac,Nb.timelines);h.push({instruction:Nb,player:Jb,element:ac});Nb.queriedElements.forEach(function(od){return fn(k,od,[]).push(Jb)});Nb.preStyleProps.forEach(function(od,Ye){if(od.size){var Cg=q.get(Ye);Cg||q.set(Ye,Cg=new Set);od.forEach(function(Qg,Ho){return Cg.add(Ho)})}});Nb.postStyleProps.forEach(function(od,
Ye){var Cg=t.get(Ye);Cg||t.set(Ye,Cg=new Set);od.forEach(function(Qg,Ho){return Cg.add(Ho)})})}});if(ua.length){var Oa=[];ua.forEach(function(){Oa.push(new Lc(3505,!1))});qa.forEach(function(Ra){return Ra.destroy()});this.reportError(Oa)}var Ka=new Map,Cb=new Map;h.forEach(function(Ra){var Jb=Ra.element;d.has(Jb)&&(Cb.set(Jb,Jb),c._beforeAnimationBuild(Ra.player.namespaceId,Ra.instruction,Ka))});e.forEach(function(Ra){var Jb=Ra.element;c._getPreviousPlayers(Jb,!1,Ra.namespaceId,Ra.triggerName,null).forEach(function(ac){fn(Ka,
Jb,[]).push(ac);ac.destroy()})});var Qb=P.filter(function(Ra){return XBa(Ra,q,t)}),Rb=new Map;RBa(Rb,this.driver,ba,t,"*").forEach(function(Ra){XBa(Ra,q,t)&&Qb.push(Ra)});var Wa=new Map;I.forEach(function(Ra){RBa(Wa,c.driver,new Set(Ra),q,"!")});Qb.forEach(function(Ra){var Jb=Rb.get(Ra),ac=Wa.get(Ra),Mc,wb;Rb.set(Ra,new Map([].concat(r((Mc=Jb==null?void 0:Jb.entries())!=null?Mc:[]),r((wb=ac==null?void 0:ac.entries())!=null?wb:[]))))});var xb=[],Qa=[],hb={};h.forEach(function(Ra){var Jb=Ra.element,
ac=Ra.player,Mc=Ra.instruction;if(d.has(Jb))if(w.has(Jb))ac.onDestroy(function(){return Zm(Jb,Mc.toStyles)}),ac.disabled=!0,ac.totalTime=Mc.totalTime,e.push(ac);else{var wb=hb;if(Cb.size>1){Ra=Jb;for(var kc=[];Ra=Ra.parentNode;){var Nb=Cb.get(Ra);if(Nb){wb=Nb;break}kc.push(Ra)}kc.forEach(function(tc){return Cb.set(tc,wb)})}Ra=c._buildAnimation(ac.namespaceId,Mc,Ka,f,Wa,Rb);v6b(ac,Ra);wb===hb?xb.push(ac):((Ra=c.playersByElement.get(wb))&&Ra.length&&(ac.parentPlayer=en(Ra)),e.push(ac))}else $m(Jb,Mc.fromStyles),
ac.onDestroy(function(){return Zm(Jb,Mc.toStyles)}),Qa.push(ac),w.has(Jb)&&e.push(ac)});Qa.forEach(function(Ra){var Jb=f.get(Ra.element);Jb&&Jb.length&&(Jb=en(Jb),v6b(Ra,Jb))});e.forEach(function(Ra){Ra.parentPlayer?w6b(Ra,Ra.parentPlayer):Ra.destroy()});for(b=0;b<P.length;b++)if(ba=P[b],a=ba.__ng_removed,kn(ba,"ng-leave"),!a||!a.hasAnimation){a=[];if(k.size)for((E=k.get(ba))&&E.length&&a.push.apply(a,r(E)),E=this.driver.query(ba,".ng-animating",!0),ma=0;ma<E.length;ma++)(na=k.get(E[ma]))&&na.length&&
a.push.apply(a,r(na));a=a.filter(function(Ra){return!Ra.destroyed});a.length?TBa(this,ba,a):ln(this,ba)}P.length=0;xb.forEach(function(Ra){c.players.push(Ra);Ra.onDone(function(){Ra.destroy();var Jb=c.players.indexOf(Ra);c.players.splice(Jb,1)});Ra.play()});return xb};var hE=function(a,b){a._flushFns.push(b)};g=iE.prototype;g.afterFlushAnimationsDone=function(a){this._whenQuietFns.push(a)};
g._getPreviousPlayers=function(a,b,c,d,e){var f=[];if(b)(e=this.playersByQueriedElement.get(a))&&(f=e);else if(a=this.playersByElement.get(a)){var h=!e||e=="void";a.forEach(function(k){k.queued||(h||k.triggerName==d)&&f.push(k)})}if(c||d)f=f.filter(function(k){return c&&c!=k.namespaceId||d&&d!=k.triggerName?!1:!0});return f};
g._beforeAnimationBuild=function(a,b,c){var d=b.triggerName,e=b.element;a=b.isRemovalTransition?void 0:a;d=b.isRemovalTransition?void 0:d;for(var f=l(b.timelines),h=f.next(),k={};!h.done;k={players$jscomp$10:void 0},h=f.next()){h=h.value.element;var q=h!==e;k.players$jscomp$10=fn(c,h,[]);this._getPreviousPlayers(h,q,a,d,b.toState).forEach(function(t){return function(w){var B=w._player;B.beforeDestroy&&B.beforeDestroy();w.destroy();t.players$jscomp$10.push(w)}}(k))}$m(e,b.fromStyles)};
g._buildAnimation=function(a,b,c,d,e,f){var h=this,k=b.triggerName,q=b.element,t=[],w=new Set,B=new Set,E=b.timelines.map(function(J){var N=J.element;w.add(N);var P=N.__ng_removed;if(P&&P.removedBeforeQueried)return new dn(J.duration,J.delay);P=N!==q;var U=VBa((c.get(N)||f6b).map(function(na){return na._player})).filter(function(na){return na.element?na.element===N:!1}),ba=e.get(N),ma=f.get(N);ba=mBa(J.keyframes,ba,ma);U=h._buildPlayer(J,ba,U);J.subTimeline&&d&&B.add(N);P&&(J=new k6b(a,k,N),v6b(J,
U),t.push(J));return U});t.forEach(function(J){fn(h.playersByQueriedElement,J.element,[]).push(J);J.onDone(function(){var N=h.playersByQueriedElement,P=J.element,U=N.get(P);if(U){if(U.length){var ba=U.indexOf(J);U.splice(ba,1)}U.length==0&&N.delete(P)}return U})});w.forEach(function(J){return jn(J,"ng-animating")});var I=en(E);I.onDestroy(function(){w.forEach(function(J){return kn(J,"ng-animating")});Zm(q,b.toStyles)});B.forEach(function(J){fn(d,J,[]).push(I)});return I};
g._buildPlayer=function(a,b,c){return b.length>0?this.driver.animate(a.element,b,a.duration,a.delay,a.easing,c):new dn(a.duration,a.delay)};
var k6b=function(a,b,c){this.namespaceId=a;this.triggerName=b;this.element=c;this._player=new dn;this._containsRealPlayer=!1;this._queuedCallbacks=new Map;this.destroyed=!1;this.parentPlayer=null;this.disabled=this.markedForDestroy=!1;this.queued=!0;this.totalTime=0},v6b=function(a,b){a._containsRealPlayer||(a._player=b,a._queuedCallbacks.forEach(function(c,d){c.forEach(function(e){return oBa(b,d,void 0,e)})}),a._queuedCallbacks.clear(),a._containsRealPlayer=!0,a.totalTime=b.totalTime,a.queued=!1)},
w6b=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=k6b.prototype;g._queueEvent=function(a,b){fn(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 jE=function(a,b,c){var d=this;this._driver=b;this._normalizer=c;this._triggerCache={};this.onRemovalComplete=function(){};this._transitionEngine=new iE(a.body,b,c);this._timelineEngine=new e6b(a.body,b,c);this._transitionEngine.onRemovalComplete=function(e,f){return d.onRemovalComplete(e,f)}};g=jE.prototype;
g.registerTrigger=function(a,b,c,d,e){a=a+"-"+d;c=this._triggerCache[a];if(!c){c=[];e=(new P5b(this._driver)).build(e,c,[]);if(c.length)throw new Lc(3404,!1);c=new b6b(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){s6b(this._transitionEngine,a,b)};
g.process=function(a,b,c,d){c.charAt(0)=="@"?(c=l(qBa(c)),a=c.next().value,c=c.next().value,this._timelineEngine.command(a,b,c,d)):this._transitionEngine.trigger(a,b,c,d)};g.listen=function(a,b,c,d,e){return c.charAt(0)=="@"?(c=l(qBa(c)),a=c.next().value,c=c.next().value,this._timelineEngine.listen(a,b,c,e)):this._transitionEngine.listen(a,b,c,d,e)};g.flush=function(a){this._transitionEngine.flush(a===void 0?-1:a)};g.afterFlushAnimationsDone=function(a){this._transitionEngine.afterFlushAnimationsDone(a)};
ea.Object.defineProperties(jE.prototype,{players:{configurable:!0,enumerable:!0,get:function(){return[].concat(r(this._transitionEngine.players),r(this._timelineEngine.players))}}});var ZBa=function(a,b,c){this._element=a;this._startStyles=b;this._endStyles=c;this._state=0;var d=x6b.get(a);d||x6b.set(a,d=new Map);this._initialStyles=d};ZBa.prototype.start=function(){this._state<1&&(this._startStyles&&Zm(this._element,this._startStyles,this._initialStyles),this._state=1)};ZBa.prototype.finish=function(){this.start();this._state<2&&(Zm(this._element,this._initialStyles),this._endStyles&&(Zm(this._element,this._endStyles),this._endStyles=null),this._state=1)};
ZBa.prototype.destroy=function(){this.finish();this._state<3&&(x6b.delete(this._element),this._startStyles&&($m(this._element,this._startStyles),this._endStyles=null),this._endStyles&&($m(this._element,this._endStyles),this._endStyles=null),Zm(this._element,this._initialStyles),this._state=3)};var x6b=new WeakMap;var y6b=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=y6b.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:iBa(a.element,d))});this.currentSnapshot=b};g.triggerCallback=function(a){a=a==="start"?this._onStartFns:this._onDoneFns;a.forEach(function(b){return b()});a.length=0};ea.Object.defineProperties(y6b.prototype,{totalTime:{configurable:!0,enumerable:!0,get:function(){return this._delay+this._duration}}});var z6b=function(){};g=z6b.prototype;g.containsElement=function(a,b){return tBa(a,b)};g.getParentElement=function(a){return sBa(a)};g.query=function(a,b,c){return uBa(a,b,c)};g.computeStyle=function(a,b){return iBa(a,b)};
g.animate=function(a,b,c,d,e,f){f=f===void 0?[]:f;var h={duration:c,delay:d,fill:d==0?"both":"forwards"};e&&(h.easing=e);var k=new Map;e=f.filter(function(t){return t instanceof y6b});c!==0&&d!==0||e.forEach(function(t){t.currentSnapshot.forEach(function(w,B){return k.set(B,w)})});var q=cBa(b).map(function(t){return new Map(t)});q=jBa(a,q,k);b=$Ba(a,q);return new y6b(a,q,h,b)};var kE=function(a,b,c,d){this.namespaceId=a;this.delegate=b;this.engine=c;this._onDestroy=d};g=kE.prototype;g.destroyNode=function(a){var b,c;(c=(b=this.delegate).destroyNode)==null||c.call(b,a)};g.destroy=function(){var a=this;this.engine.destroy(this.namespaceId,this.delegate);this.engine.afterFlushAnimationsDone(function(){queueMicrotask(function(){a.delegate.destroy()})});var b;(b=this._onDestroy)==null||b.call(this)};g.createElement=function(a,b){return this.delegate.createElement(a,b)};
g.createComment=function(a){return this.delegate.createComment(a)};g.createText=function(a){return this.delegate.createText(a)};g.appendChild=function(a,b){this.delegate.appendChild(a,b);this.engine._transitionEngine.insertNode(this.namespaceId,b,a,!1)};g.insertBefore=function(a,b,c,d){d=d===void 0?!0:d;this.delegate.insertBefore(a,b,c);this.engine._transitionEngine.insertNode(this.namespaceId,b,a,d)};g.removeChild=function(a,b){this.engine._transitionEngine.removeNode(this.namespaceId,b,this.delegate)};
g.selectRootElement=function(a,b){return this.delegate.selectRootElement(a,b)};g.parentNode=function(a){return this.delegate.parentNode(a)};g.nextSibling=function(a){return this.delegate.nextSibling(a)};g.setAttribute=function(a,b,c,d){this.delegate.setAttribute(a,b,c,d)};g.removeAttribute=function(a,b,c){this.delegate.removeAttribute(a,b,c)};g.addClass=function(a,b){this.delegate.addClass(a,b)};g.removeClass=function(a,b){this.delegate.removeClass(a,b)};
g.setStyle=function(a,b,c,d){this.delegate.setStyle(a,b,c,d)};g.removeStyle=function(a,b,c){this.delegate.removeStyle(a,b,c)};g.setProperty=function(a,b,c){b.charAt(0)=="@"&&b=="@.disabled"?this.disableAnimations(a,!!c):this.delegate.setProperty(a,b,c)};g.setValue=function(a,b){this.delegate.setValue(a,b)};g.listen=function(a,b,c){return this.delegate.listen(a,b,c)};g.disableAnimations=function(a,b){this.engine.disableAnimations(a,b)};
ea.Object.defineProperties(kE.prototype,{data:{configurable:!0,enumerable:!0,get:function(){return this.delegate.data}}});var A6b=function(a,b,c,d,e){kE.call(this,b,c,d,e);this.factory=a;this.namespaceId=b};X(A6b,kE);A6b.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)};
A6b.prototype.listen=function(a,b,c){var d=this;if(b.charAt(0)=="@"){a=aCa(a);b=b.slice(1);var e="";b.charAt(0)!="@"&&(e=l(bCa(b)),b=e.next().value,e=e.next().value);return this.engine.listen(this.namespaceId,a,b,e,function(f){B6b(d.factory,f._data||-1,c,f)})}return this.delegate.listen(a,b,c)};var lE=function(a,b,c){this.delegate=a;this.engine=b;this._zone=c;this._currentId=0;this._microtaskId=1;this._animationCallbacksBuffer=[];this._rendererCache=new Map;this._cdRecurDepth=0;b.onRemovalComplete=function(d,e){var f=e==null?void 0:e.parentNode(d);f&&e.removeChild(f,d)}};
lE.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 kE("",d,this.engine,function(){return f.delete(d)}),f.set(d,b));return b}var h=b.id,k=b.id+"-"+this._currentId;this._currentId++;this.engine.register(k,a);var q=function(t){Array.isArray(t)?t.forEach(q):c.engine.registerTrigger(h,k,a,t.name,t)};b.data.animation.forEach(q);return new A6b(this,k,d,this.engine)};
lE.prototype.begin=function(){this._cdRecurDepth++;this.delegate.begin&&this.delegate.begin()};lE.prototype._scheduleCountTask=function(){var a=this;queueMicrotask(function(){a._microtaskId++})};
var B6b=function(a,b,c,d){if(b>=0&&b<a._microtaskId)a._zone.run(function(){return c(d)});else{var e=a._animationCallbacksBuffer;e.length==0&&queueMicrotask(function(){a._zone.run(function(){e.forEach(function(f){var h=l(f);f=h.next().value;h=h.next().value;f(h)});a._animationCallbacksBuffer=[]})});e.push([c,d])}};
lE.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 mE=function(a,b,c){jE.call(this,a,b,c)};X(mE,jE);mE.prototype.ngOnDestroy=function(){this.flush()};mE.\u0275fac=function(a){return new (a||mE)(n(gh),n(O5b),n(L5b))};mE.\u0275prov=Hc({token:mE,factory:mE.\u0275fac});var C6b=[{provide:L5b,useFactory:function(){return new N5b}},{provide:jE,useClass:mE},{provide:vTb,useFactory:function(a,b,c){return new lE(a,b,c)},deps:[GA,jE,ze]}],D6b=[{provide:O5b,useFactory:function(){return new z6b}},{provide:vu,useValue:"BrowserAnimations"}].concat(r(C6b));
[{provide:O5b,useClass:ZD},{provide:vu,useValue:"NoopAnimations"}].concat(r(C6b));var nE=function(){};nE.\u0275fac=function(a){return new (a||nE)};nE.\u0275mod=dd({type:nE});nE.\u0275inj=Ic({providers:D6b,imports:[dB]});var E6b=["mat-button",""],F6b=["*"],G6b=function(){return".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}.mat-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.mat-flat-button::before,.mat-raised-button::before,.mat-fab::before,.mat-mini-fab::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-stroked-button::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px)*-1)}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}.mat-datepicker-toggle .mat-mdc-button-base{width:40px;height:40px;padding:8px 0}.mat-datepicker-actions .mat-button-base+.mat-button-base{margin-left:8px}[dir=rtl] .mat-datepicker-actions .mat-button-base+.mat-button-base{margin-left:0;margin-right:8px}\n"},
H6b="mat-button mat-flat-button mat-icon-button mat-raised-button mat-stroked-button mat-mini-fab mat-fab".split(" "),I6b=Qoa(Soa(Roa(function(a){this._elementRef=a}))),oE=function(a,b,c){var d=I6b.call(this,a)||this;d._focusMonitor=b;d._animationMode=c;d.isRoundButton=d._hasHostAttributes("mat-fab","mat-mini-fab");d.isIconButton=d._hasHostAttributes("mat-icon-button");for(var e=l(H6b),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};X(oE,I6b);g=oE.prototype;g.ngAfterViewInit=function(){this._focusMonitor.monitor(this._elementRef,!0)};g.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef)};g.focus=function(a,b){a?fw(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 kd.apply(0,arguments).some(function(b){return a._getHostElement().hasAttribute(b)})};oE.\u0275fac=function(a){return new (a||oE)(A(Rd),A(ew),A(vu,8))};
oE.\u0275cmp=p({type:oE,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&&fg(Ix,5);if(a&2){var c;jg(c=kg())&&(b.ripple=c.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:6,hostBindings:function(a,b){a&2&&(Bf("disabled",b.disabled||null)("mat-id-collision",null),Kf("_mat-animation-noopable",b._animationMode===
"NoopAnimations")("mat-button-disabled",b.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[zf],attrs:E6b,ngContentSelectors:F6b,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&&(Xf(),F(0,"span",0),Yf(1),G(),H(2,"span",1)(3,"span",2));a&2&&(z(2),Kf("mat-button-ripple-round",
b.isRoundButton||b.isIconButton),D("matRippleDisabled",b._isRippleDisabled())("matRippleCentered",b.isIconButton)("matRippleTrigger",b._getHostElement()))},dependencies:[Ix],styles:[G6b()],encapsulation:2,changeDetection:0});var pE=function(a,b,c,d){var e=oE.call(this,b,a,c)||this;e._ngZone=d;e._haltDisabledEvents=function(f){e.disabled&&(f.preventDefault(),f.stopImmediatePropagation())};return e};X(pE,oE);
pE.prototype.ngAfterViewInit=function(){var a=this;oE.prototype.ngAfterViewInit.call(this);this._ngZone?this._ngZone.runOutsideAngular(function(){a._elementRef.nativeElement.addEventListener("click",a._haltDisabledEvents)}):this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)};pE.prototype.ngOnDestroy=function(){oE.prototype.ngOnDestroy.call(this);this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)};
pE.\u0275fac=function(a){return new (a||pE)(A(ew),A(Rd),A(vu,8),A(ze,8))};
pE.\u0275cmp=p({type:pE,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-icon-button",""],["a","mat-fab",""],["a","mat-mini-fab",""],["a","mat-stroked-button",""],["a","mat-flat-button",""]],hostAttrs:[1,"mat-focus-indicator"],hostVars:8,hostBindings:function(a,b){a&2&&(Bf("tabindex",b.disabled?-1:b.tabIndex)("disabled",b.disabled||null)("aria-disabled",b.disabled.toString())("mat-id-collision",null),Kf("_mat-animation-noopable",b._animationMode==="NoopAnimations")("mat-button-disabled",
b.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[zf],attrs:E6b,ngContentSelectors:F6b,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&&(Xf(),F(0,"span",0),Yf(1),G(),H(2,"span",1)(3,"span",2));a&2&&(z(2),Kf("mat-button-ripple-round",b.isRoundButton||
b.isIconButton),D("matRippleDisabled",b._isRippleDisabled())("matRippleCentered",b.isIconButton)("matRippleTrigger",b._getHostElement()))},dependencies:[Ix],styles:[G6b()],encapsulation:2,changeDetection:0});var qE=function(a){this.snackBar=a};qE.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(rE,b)};qE.\u0275fac=function(a){return new (a||qE)(n(XD))};qE.\u0275prov=Hc({token:qE,factory:qE.\u0275fac,providedIn:"root"});
var rE=function(a,b){this.data=a;this.snackBarRef=b};rE.\u0275fac=function(a){return new (a||rE)(A(QD),A(UD))};
rE.\u0275cmp=p({type:rE,selectors:[["ng-component"]],decls:7,vars:5,consts:[[1,"snackbar-content"],["class","message",4,"ngIf"],["class","message",3,"innerHtml",4,"ngIf"],[1,"actions"],["mat-button","",3,"click",4,"ngIf"],["mat-icon-button","","aria-label","Dismiss",3,"click",4,"ngIf"],[1,"message"],[1,"message",3,"innerHtml"],["mat-button","",3,"click"],["mat-icon-button","","aria-label","Dismiss",3,"click"],["svgIcon","close"]],template:function(a,b){a&1&&(F(0,"div",0),C(1,cCa,2,1,"span",1)(2,dCa,
1,1,"span",2),F(3,"div",3),C(4,eCa,2,1,"button",4)(5,fCa,2,1,"button",4)(6,gCa,2,0,"button",5),G()());a&2&&(z(),D("ngIf",!b.data.htmlMessage),z(),D("ngIf",b.data.htmlMessage),z(2),D("ngIf",b.data.actionLabel),z(),D("ngIf",b.data.dismissLabel),z(),D("ngIf",!b.data.dismissLabel))},dependencies:[Gv,zB,oE],styles:[".snackbar-content[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;word-break:break-word}button[_ngcontent-%COMP%]:not(.mat-icon-button){height:24px;line-height:24px;padding:0 10px}.mat-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 sE=function(a){this.snackbar=a};sE.prototype.dismiss=function(){this.lastSnackbar&&this.lastSnackbar.dismiss()};var Ap=function(a,b,c){a.open({message:b,duration:c===void 0?1E4:c})},J6b=function(a,b,c){a.open({message:b,duration:c===void 0?1E4:c})};sE.prototype.showWarning=function(a,b){this.open({message:a,duration:b===void 0?0:b,snackbarType:"ERROR"})};sE.prototype.open=function(a){return this.lastSnackbar=a=this.snackbar.open(a)};sE.\u0275fac=function(a){return new (a||sE)(n(qE))};
sE.\u0275prov=Hc({token:sE,factory:sE.\u0275fac,providedIn:"root"});var K6b=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)};X(K6b,Error);var tE=function(){};g=tE.prototype;g.debug=function(){Ci.apply(null,r(kd.apply(0,arguments)))};g.error=function(){Uta.apply(null,r(kd.apply(0,arguments)))};g.info=function(){Di.apply(null,r(kd.apply(0,arguments)))};g.log=function(){Tta.apply(null,r(kd.apply(0,arguments)))};g.warn=function(){Ei.apply(null,r(kd.apply(0,arguments)))};tE.\u0275fac=function(a){return new (a||tE)};tE.\u0275prov=Hc({token:tE,factory:tE.\u0275fac,providedIn:"root"});var uE=function(a,b,c,d){this.butterBar=a;this.activeSession=b;this.$log=c;this.timeout=d};
uE.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.":nn(b)?nn(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 vE=function(a,b){a.$log.warn(b);a.butterBar.showWarning(b)},wE=function(a,b){if(mn(b))a.errorHandler(null,b);else throw b;};uE.\u0275fac=function(a){return new (a||uE)(n(sE),n(Ir),n(tE),n(iD))};uE.\u0275prov=Hc({token:uE,factory:uE.\u0275fac,providedIn:"root"});var xE=function(a,b,c,d){this.issueApi=a;this.templatesApi=b;this.errorHandler=c;this.userAccess=d},M6b=function(a,b){b=a.issueApi.getIssue(b).then(function(c){var d=Object,e=d.assign,f=Na(c.snapshot),h,k=(h=c.description)==null?void 0:h.unlinkifiedComment;f.comment=k?k.trim():"";f.status="NEW";f.changelist=null;f.duplicateIssueId=null;f.duplicateOfIssueId=null;return e.call(d,{},{snapshot:f},{trackerId:c.trackerId})}).then(function(c){return L6b(a,c)});b.catch(function(c){a.errorHandler.errorHandler(null,
c)});return b},L6b=function(a,b){var c=b.snapshot.hotlistId;if(!c)return b;var d=c.map(function(e){return oD(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})};xE.\u0275fac=function(a){return new (a||xE)(n(PD),n(HC),n(uE),n(mD))};xE.\u0275prov=Hc({token:xE,factory:xE.\u0275fac,providedIn:"root"});var yE=function(){this.bookmarkGroupModified=new W.Subject;this.commentSubmitted=new W.Subject;this.commentRendered=new W.Subject;this.componentModified=new W.Subject;this.contactChipsRevertChanges=new W.Subject;this.customFieldsModified=new W.Subject;this.dashboardPanels={moveDown:new W.Subject,moveUp:new W.Subject,moveToTop:new W.Subject,moveToBottom:new W.Subject,remove:new W.Subject};this.favoritesModified=new W.Subject;this.hotlistCreated=new W.Subject;this.onClickAppMenuIcon=new W.Subject;this.openEditField=
new W.Subject;this.sidebarWidthChanged=new W.Subject;this.hotlistChanged=new W.Subject;this.savedSearchModified=new W.Subject;this.sidebarUpdated=new W.Subject;this.topBarEvents={browseComponents:new W.Subject,manageHotlists:new W.Subject,manageSlos:new W.Subject,setDensity:new W.Subject,openSettings:new W.Subject};this.templateModified=new W.Subject;this.issueViewed=new W.Subject;this.issueEdited=new W.Subject;this.focusCommentBox=new W.Subject;this.scrollToCommentBox=new W.Subject;this.recaptchaSubmitted=
new W.Subject;this.missionControlTaskCount=new W.BehaviorSubject(void 0);this.openHelpMeFixSidebar=new W.Subject;this.closeHelpMeFixSidebar=new W.Subject;this.didShowIssueHovercard=new W.Subject};yE.\u0275fac=function(a){return new (a||yE)};yE.\u0275prov=Hc({token:yE,factory:yE.\u0275fac,providedIn:"root"});var zE=function(a,b){UB.call(this,{freshUntil:3E5,ancientAfter:6048E5});var c=this;this.template=a;this.appEvents=b;this.recordType="componentTemplates";this.idKey="componentId";this.defaultTemplate$=function(d){return c.watch(d).pipe(te(lj),y(function(e){return e.templates}),y(function(e){var f;return(f=e.find(function(h){return h.default}))!=null?f:e[0]}))};this.appEvents.templateModified.pipe(te(function(d){return!!d&&d!=="0"})).subscribe(function(d){c.poke(d)})};X(zE,UB);
zE.prototype.fetchOne=function(a){return(0,W.from)(this.template.templatesApi.query(Number(a)).then(function(b){return{componentId:a,templates:b}}))};zE.\u0275fac=function(a){return new (a||zE)(n(xE),n(yE))};zE.\u0275prov=Hc({token:zE,factory:zE.\u0275fac,providedIn:"root"});var N6b=function(a,b){this.childIterator_=a[Aa.Symbol.iterator]();this.mapFn_=b};N6b.prototype[Symbol.iterator]=function(){return this};N6b.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 O6b=function(a,b){return new N6b(a,b)};var AE=function(){};AE.prototype.next=function(){return P6b};var P6b={done:!0,value:void 0};AE.prototype.__iterator__=function(){return this};var Q6b=function(a){if(a instanceof BE||a instanceof CE||a instanceof DE)return a;if(typeof a.next=="function")return new BE(function(){return a});if(typeof a[Symbol.iterator]=="function")return new BE(function(){return a[Symbol.iterator]()});if(typeof a.__iterator__=="function")return new BE(function(){return a.__iterator__()});throw Error("Mc");},BE=function(a){this.func_=a};BE.prototype.__iterator__=function(){return new CE(this.func_())};BE.prototype[Symbol.iterator]=function(){return new DE(this.func_())};
BE.prototype.toEs6=function(){return new DE(this.func_())};var CE=function(a){this.iter_=a};X(CE,AE);CE.prototype.next=function(){return this.iter_.next()};CE.prototype[Symbol.iterator]=function(){return new DE(this.iter_)};CE.prototype.toEs6=function(){return new DE(this.iter_)};var DE=function(a){BE.call(this,function(){return a});this.iter_=a};X(DE,BE);DE.prototype.next=function(){return this.iter_.next()};var EE=function(a,b){this.map_={};this.keys_=[];this.version_=this.size=0;var c=arguments.length;if(c>1){if(c%2)throw Error("$");for(var d=0;d<c;d+=2)this.set(arguments[d],arguments[d+1])}else a&&this.addAll(a)};g=EE.prototype;g.getCount=function(){return this.size};g.getValues=function(){FE(this);for(var a=[],b=0;b<this.keys_.length;b++)a.push(this.map_[this.keys_[b]]);return a};g.getKeys=function(){FE(this);return this.keys_.concat()};g.containsKey=function(a){return this.has(a)};
g.has=function(a){return GE(this.map_,a)};g.containsValue=function(a){for(var b=0;b<this.keys_.length;b++){var c=this.keys_[b];if(GE(this.map_,c)&&this.map_[c]==a)return!0}return!1};g.equals=function(a,b){if(this===a)return!0;if(this.size!=a.getCount())return!1;b=b||R6b;FE(this);for(var c,d=0;c=this.keys_[d];d++)if(!b(this.get(c),a.get(c)))return!1;return!0};var R6b=function(a,b){return a===b};EE.prototype.isEmpty=function(){return this.size==0};
EE.prototype.clear=function(){this.map_={};this.keys_.length=0;this.setSizeInternal_(0);this.version_=0};EE.prototype.remove=function(a){return this.delete(a)};EE.prototype.delete=function(a){return GE(this.map_,a)?(delete this.map_[a],this.setSizeInternal_(this.size-1),this.version_++,this.keys_.length>2*this.size&&FE(this),!0):!1};
var FE=function(a){if(a.size!=a.keys_.length){for(var b=0,c=0;b<a.keys_.length;){var d=a.keys_[b];GE(a.map_,d)&&(a.keys_[c++]=d);b++}a.keys_.length=c}if(a.size!=a.keys_.length){var e={};for(c=b=0;b<a.keys_.length;)d=a.keys_[b],GE(e,d)||(a.keys_[c++]=d,e[d]=1),b++;a.keys_.length=c}};g=EE.prototype;g.get=function(a,b){return GE(this.map_,a)?this.map_[a]:b};g.set=function(a,b){GE(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 EE)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 EE(this)};g.keys=function(){return Q6b(this.__iterator__(!0)).toEs6()};g.values=function(){return Q6b(this.__iterator__(!1)).toEs6()};g.entries=function(){var a=this;return O6b(this.keys(),function(b){return[b,a.get(b)]})};
g.__iterator__=function(a){FE(this);var b=0,c=this.version_,d=this,e=new AE;e.next=function(){if(c!=d.version_)throw Error("Nc");if(b>=d.keys_.length)return P6b;var f=d.keys_[b++];return{value:a?f:d.map_[f],done:!1}};return e};g.setSizeInternal_=function(a){this.size=a};var GE=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};var HE=function(a,b,c){this.maxCount_=a||null;this.cache_=!!b;this.evictionCallback_=c;this.map_=new EE;this.head_=new S6b("");this.head_.next=this.head_.prev=this.head_},U6b=function(a,b){(b=a.map_.get(b))&&a.cache_&&(b.remove(),T6b(a,b));return b};HE.prototype.get=function(a,b){return(a=U6b(this,a))?a.value:b};var V6b=function(a,b){return(a=a.map_.get(b))?a.value:void 0};g=HE.prototype;g.set=function(a,b){var c=U6b(this,a);c?c.value=b:(c=new S6b(a,b),this.map_.set(a,c),T6b(this,c))};g.peek=function(){return this.head_.next.value};
g.shift=function(){return W6b(this,this.head_.next)};g.pop=function(){return W6b(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(){X6b(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 T6b=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&&X6b(a,a.maxCount_)},X6b=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)}},W6b=function(a,b){a.head_!=b&&a.removeNode(b);return b.value},S6b=function(a,b){this.key=a;this.value=b};
S6b.prototype.remove=function(){this.prev.next=this.next;this.next.prev=this.prev;delete this.prev;delete this.next};var IE=function(){this.caches=new Map};IE.prototype.create=function(a,b){if(this.caches.has(a))throw Error("Oc`"+a);b=new JE(b==null?void 0:b.capacity);this.caches.set(a,b);return b};IE.prototype.get=function(a){return this.caches.get(a)};IE.\u0275fac=function(a){return new (a||IE)};IE.\u0275prov=Hc({token:IE,factory:IE.\u0275fac,providedIn:"root"});var JE=function(a){this.lruCache=new HE(a,!0)};JE.prototype.get=function(a){return this.lruCache.get(a)};
JE.prototype.put=function(a,b){b!==void 0&&this.lruCache.set(a,b);return b};JE.prototype.remove=function(a){this.lruCache.remove(a)};JE.prototype.removeAll=function(){this.lruCache.clear()};var on=function(a){this.internalArray_=m(a,0,on.messageId)};X(on,Y);on.prototype.getIt=function(){return $i(this,qk,18)};on.prototype.setIt=function(a){return oj(this,qk,18,a)};on.messageId="b.Hotlist";var Y6b=RegExp("action/issues/([0-9]+)/"),Z6b=new md("ETAG_URL_TRANSFORMERS"),$6b=["POST","PUT","DELETE"],KE=function(a){this.etagStore=a};KE.prototype.intercept=function(a,b){if($6b.includes(a.method)){var c=this.etagStore.getEtag(a);c&&a.headers&&(a=a.clone({headers:a.headers.set("If-Match",c)}))}Y6b.exec(a.url);return a7b(this,a,b)};var a7b=function(a,b,c){return c.handle(b).pipe(sf(function(d){d instanceof SA&&(d=d.headers,d.has("etag")&&a.etagStore.setEtag(b,d.get("etag")))}))};
KE.\u0275fac=function(a){return new (a||KE)(n(LE))};KE.\u0275prov=Hc({token:KE,factory:KE.\u0275fac,providedIn:"root"});var LE=function(a){this.transformers=a;this.etagStore={}};LE.prototype.setEtag=function(a,b){b!=null&&(a=b7b(this,a.url),this.etagStore[a]=b)};LE.prototype.getEtag=function(a){a=b7b(this,a.url);return this.etagStore[a]};var b7b=function(a,b){var c;a=l((c=a.transformers)!=null?c:[]);for(c=a.next();!c.done;c=a.next())if(c=c.value,(c=c(b))&&c!==b)return c;return b};
LE.\u0275fac=function(a){return new (a||LE)(n(Z6b,8))};LE.\u0275prov=Hc({token:LE,factory:LE.\u0275fac,providedIn:"root"});var c7b={provide:WA,useClass:KE,multi:!0};var ME=function(a){this.internalArray_=m(a)};X(ME,Y);g=ME.prototype;g.getHotlistId=function(){return ej(this,1)};g.getHotlistId_asLegacyNumberOrString=function(){return ej(this,1)};g.setHotlistId=function(a){return bj(this,1,a)};g.setOrderBy=function(a){return cj(this,2,a)};g.setPageSize=function(a){return Gi(this,3,a)};g.setPageToken=function(a){return cj(this,4,a)};g.getFilter=function(){return Kh(this,5)};g.setFilter=function(a){return cj(this,5,a)};g.setView=function(a){return dj(this,6,a)};
g.setIssueDescriptionView=function(a){return dj(this,7,a)};g.getQuery=function(){return Kh(this,8)};g.setQuery=function(a){return cj(this,8,a)};g.clearQuery=function(){oo(this,8)};var d7b=function(a){this.internalArray_=m(a)};X(d7b,Y);g=d7b.prototype;g.getHotlistId=function(){return ej(this,1)};g.getHotlistId_asLegacyNumberOrString=function(){return ej(this,1)};g.setHotlistId=function(a){return bj(this,1,a)};g.getIssueId=function(){return ej(this,2)};g.getIssueId_asLegacyNumberOrString=function(){return ej(this,2)};g.getIssueId_asString=function(){return du(this,2)};g.setIssueId=function(a){return bj(this,2,a)};var NE=function(a){this.internalArray_=m(a,0,NE.messageId)};X(NE,Y);NE.prototype.getIt=function(){return $i(this,ME,1)};NE.prototype.setIt=function(a){return oj(this,ME,1,a)};NE.messageId="b.ListHotlistEntriesRequest";var OE=function(a){this.internalArray_=m(a)};X(OE,Y);OE.prototype.getNextPageToken=function(){return Kh(this,2)};OE.prototype.getTotalSize=function(){return gj(this,3)};OE.prototype.getTotalSizeAccurate=function(){return Hj(this,4)};OE.prototype.getMaySkipResults=function(){return Hj(this,5)};OE.repeatedFields_=[1];var PE=function(a){this.internalArray_=m(a,0,PE.messageId)};X(PE,Y);PE.prototype.getIt=function(){return $i(this,OE,1)};PE.prototype.setIt=function(a){return oj(this,OE,1,a)};PE.messageId="b.ListHotlistEntriesResponse";var QE=function(a){this.internalArray_=m(a,0,QE.messageId)};X(QE,Y);QE.prototype.getHotlistsList=function(){return xj(this,on,1,yj())};QE.repeatedFields_=[1];QE.messageId="b.ListHotlistsResponse";var RE=function(a,b){this.hotlistApi=b;this.hotlistCache=a.get("hotlists-second-level-cache")||a.create("hotlists-second-level-cache",{capacity:1E3})};g=RE.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)};RE.\u0275fac=function(a){return new (a||RE)(n(IE),n(SE))};RE.\u0275prov=Hc({token:RE,factory:RE.\u0275fac,providedIn:"root"});var TE=function(a,b){this.executor=a;this.etagStore=b;this.bufferTimeMs=50};
TE.prototype.call=function(a){a=Array.from(a).map(String);return a.length===0?(0,W.of)(new Map):a.length===1?this.executor.get({url:"action/hotlists/"+a[0],responseConstructor:on}).pipe(y(pn),y(function(b){var c=new Map;c.set(String(b.hotlistId),b);return c})):this.executor.get({url:"action/hotlists",responseConstructor:QE,options:{params:{id:a}}}).pipe(y(function(b){var c=new Map;b=l(b.getHotlistsList().map(pn));for(var d=b.next();!d.done;d=b.next())d=d.value,c.set(String(d.hotlistId),d);return c}))};
TE.prototype.split=function(a,b){if(b=b.get(a)){var c=b.etag;if(c){var d=this.etagStore;c!=null&&(a=b7b(d,"action/hotlists/"+a),d.etagStore[a]=c)}}return b};TE.\u0275fac=function(a){return new (a||TE)(n(IB),n(LE))};TE.\u0275prov=Hc({token:TE,factory:TE.\u0275fac,providedIn:"root"});var UE=function(a,b,c){this.executor=a;this.batchApiConfig=b;this.batchApiAdapter=c;this.adaptedGet=this.batchApiAdapter.adapt(this.batchApiConfig)};g=UE.prototype;
g.get=function(a){var b=this;return this.adaptedGet(String(a)).pipe(pf(function(c){return c?(0,W.of)(c):b.executor.get({url:"action/hotlists/"+a,responseConstructor:on}).pipe(y(pn))}))};g.bulkLoad=function(a){var b=this;return a.length===0?(0,W.of)([]):(0,W.forkJoin)(a.map(function(c){return b.adaptedGet(String(c))})).pipe(y(function(c){return c.filter(lj)}))};
g.repositionHotlistIssue=function(a,b,c){var d=(new d7b).setHotlistId(Number(a)).setIssueId(b);b=(new sk).setIssueId(Number(b)).setPosition(c);d=oj(d,sk,3,b);return this.executor.put({url:"action/hotlists/"+a+"/entry",body:d,responseConstructor:null})};g.createHotlist=function(a,b){a=(new qk).setName(a);b&&a.setDescription(b);return this.executor.post({url:"action/hotlists",body:(new on).setIt(a),responseConstructor:on}).pipe(y(pn))};
g.queryHotlists=function(a){return this.executor.get({url:"action/hotlists",responseConstructor:QE,options:{params:{q:a}}}).pipe(y(function(b){var c;return((c=b.getHotlistsList())!=null?c:[]).map(pn)}))};g.archiveHotlist=function(a,b){return this.executor.post({url:"action/hotlists/"+a+"/archive",body:iCa(b),responseConstructor:on}).pipe(y(pn))};
g.updateMetadata=function(a,b){var c={};b.etag&&(c["If-Match"]=String(b.etag));return this.executor.post({url:"action/hotlists/"+a,body:iCa(b),options:{headers:c},responseConstructor:on}).pipe(y(pn))};
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 ME).setHotlistId(a).setOrderBy(rwa(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 NE).setIt(b),responseConstructor:PE}).pipe(y(function(h){return wwa(h.getIt())}))};
UE.\u0275fac=function(a){return new (a||UE)(n(IB),n(TE),n(sC))};UE.\u0275prov=Hc({token:UE,factory:UE.\u0275fac,providedIn:"root"});var SE=function(a){this.observableApi=a};g=SE.prototype;g.get=function(a){return(0,W.firstValueFrom)(this.observableApi.get(a))};g.bulkLoad=function(a){return(0,W.firstValueFrom)(this.observableApi.bulkLoad(a))};g.repositionHotlistIssue=function(a,b,c){return(0,W.firstValueFrom)(this.observableApi.repositionHotlistIssue(a,b,c))};
g.createHotlist=function(a,b){return(0,W.firstValueFrom)(this.observableApi.createHotlist(a,b))};g.queryHotlists=function(a){return(0,W.firstValueFrom)(this.observableApi.queryHotlists(a))};g.archiveHotlist=function(a,b){return(0,W.firstValueFrom)(this.observableApi.archiveHotlist(a,b))};g.updateMetadata=function(a,b){return(0,W.firstValueFrom)(this.observableApi.updateMetadata(a,b))};
g.getPagedHotlistContent=function(a,b,c,d,e){return(0,W.firstValueFrom)(this.observableApi.getPagedHotlistContent(a,b,c,d,e))};SE.\u0275fac=function(a){return new (a||SE)(n(UE))};SE.\u0275prov=Hc({token:SE,factory:SE.\u0275fac,providedIn:"root"});var kCa=Fl("lean-fe-debug-logging");var rn=function(a){this.internalArray_=m(a)};X(rn,Y);g=rn.prototype;g.getResourceType=function(){return fj(this,2,0)};g.setResourceType=function(a){return sl(this,2,a)};g.hasResourceType=function(){return al(this,2)};g.getResourceId_asString=function(){return el(this,3)};g.setResourceId=function(a){return xl(this,3,a)};g.hasResourceId=function(){return dl(this,3)!=null};g.getName=function(){return Kh(this,4)};g.setName=function(a){return rj(this,4,a)};g.hasName=function(){return $k(this,4)};
g.getNameOrUndefined=function(){return hu(this,4)};g.getIt=function(){return $i(this,yk,6)};g.setIt=function(a){return oj(this,yk,6,a)};var mCa=qn("enableLeanFeF");var sn=function(a){this.internalArray_=m(a)};X(sn,Y);sn.prototype.getIt=function(){return $i(this,tk,12)};sn.prototype.setIt=function(a){return oj(this,tk,12,a)};var VE=function(a){this.internalArray_=m(a,0,VE.messageId)};X(VE,Y);VE.messageId="b.Favorite";var WE=function(a){this.internalArray_=m(a,0,WE.messageId)};X(WE,Y);WE.prototype.addHotlist=function(a){Mq(this,1,on,a)};WE.prototype.setHotlist=function(a){return Xt(this,1,on,a)};WE.repeatedFields_=[1];WE.messageId="b.HotlistBatchResponse";var tn=function(a){this.internalArray_=m(a)};X(tn,Y);g=tn.prototype;g.getId=function(){return cu(this,1)};g.getId_asLegacyNumberOrString=function(){return cu(this,1)};g.getId_asString=function(){return el(this,1)};g.setId=function(a){return xl(this,1,a)};g.getName=function(){return Kh(this,2)};g.setName=function(a){return rj(this,2,a)};g.hasName=function(){return $k(this,2)};g.getNameOrUndefined=function(){return hu(this,2)};g.getDescription=function(){return Kh(this,3)};
g.setDescription=function(a){return rj(this,3,a)};g.hasDescription=function(){return $k(this,3)};g.getAdminUsersList=function(a){return xj(this,SC,8,yj(a))};g.getStarred=function(){return Hj(this,5)};g.getResourceType=function(){return Kh(this,6)};g.setResourceType=function(a){return rj(this,6,a)};g.hasResourceType=function(){return $k(this,6)};tn.repeatedFields_=[8];var un=function(a){this.internalArray_=m(a)};X(un,Y);g=un.prototype;g.getId=function(){return cu(this,1)};g.getId_asLegacyNumberOrString=function(){return cu(this,1)};g.getId_asString=function(){return el(this,1)};g.setId=function(a){return xl(this,1,a)};g.getName=function(){return Kh(this,2)};g.setName=function(a){return rj(this,2,a)};g.hasName=function(){return $k(this,2)};g.getNameOrUndefined=function(){return hu(this,2)};g.getDescription=function(){return Kh(this,3)};
g.setDescription=function(a){return rj(this,3,a)};g.hasDescription=function(){return $k(this,3)};g.getAdminUsersList=function(a){return xj(this,SC,8,yj(a))};g.getStarred=function(){return Hj(this,5)};un.repeatedFields_=[8,6];var XE=function(a){this.internalArray_=m(a,0,XE.messageId)};X(XE,Y);XE.prototype.getHotlistsList=function(){return xj(this,tn,1,yj())};XE.repeatedFields_=[1,2,3,4];XE.messageId="b.SidebarInfo";var YE=function(a){this.internalArray_=m(a,0,YE.messageId)};X(YE,Y);YE.repeatedFields_=[1];YE.messageId="b.UserRecentComponentResponse";var ZE=function(a){this.internalArray_=m(a,0,ZE.messageId)};X(ZE,Y);ZE.repeatedFields_=[1];ZE.messageId="b.UserSavedSearchesResponse";var $E=function(a,b){this.executor=a;this.activeSession=b};g=$E.prototype;g.getUserBookmarks=function(){return this.executor.post({url:"action/getUserBookmarks",body:null,responseConstructor:aC}).pipe(y(function(a){return Hwa(a.getIt())}))};g.getUserHotlists=function(){return this.executor.get({url:"action/current_user/hotlists",responseConstructor:WE}).pipe(y(jCa))};g.getUserSidebar=function(){return this.executor.get({url:"action/current_user/sidebar",responseConstructor:XE}).pipe(y(sCa))};
g.getRecentComponents=function(){return this.executor.get({url:"action/current_user/recent_components",responseConstructor:YE}).pipe(y(oxa))};g.getUserSavedSearches=function(){return this.executor.get({url:"action/current_user/searches",responseConstructor:ZE}).pipe(y(pCa))};g.getUserBookmark=function(a,b){return this.executor.get({url:"action/favorites/"+a+"/"+b,responseConstructor:VE}).pipe(y(nCa))};
g.addUserBookmark=function(a){a=mCa?(new rn).setIt(Gwa(a)):(new rn).setResourceType(S3b[a.resourceType]).setResourceId(String(a.resourceId));return this.executor.post({url:"action/favorites",body:a,responseConstructor:VE}).pipe(y(nCa))};g.removeUserBookmark=function(a){return this.activeSession.getFlag("enableLeanFeF")?this.executor.post({url:"action/removeUserBookmark",body:Gwa(a),responseConstructor:null}):this.executor.delete({url:"action/favorites/"+a.resourceType+"/"+a.resourceId,responseConstructor:null})};
var e7b=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})};$E.\u0275fac=function(a){return new (a||$E)(n(IB),n(Ir))};$E.\u0275prov=Hc({token:$E,factory:$E.\u0275fac,providedIn:"root"});var aF=function(a){this.observableApi=a};
g=aF.prototype;g.getUserBookmarks=function(){return(0,W.firstValueFrom)(this.observableApi.getUserBookmarks())};g.getUserHotlists=function(){return(0,W.firstValueFrom)(this.observableApi.getUserHotlists())};g.getUserSidebar=function(){return(0,W.firstValueFrom)(this.observableApi.getUserSidebar())};g.getRecentComponents=function(){return(0,W.firstValueFrom)(this.observableApi.getRecentComponents())};g.getUserSavedSearches=function(){return(0,W.firstValueFrom)(this.observableApi.getUserSavedSearches())};
g.getUserBookmark=function(a,b){return(0,W.firstValueFrom)(this.observableApi.getUserBookmark(a,b))};g.addUserBookmark=function(a){return(0,W.firstValueFrom)(this.observableApi.addUserBookmark(a))};g.removeUserBookmark=function(a){return(0,W.firstValueFrom)(this.observableApi.removeUserBookmark(a))};aF.\u0275fac=function(a){return new (a||aF)(n($E))};aF.\u0275prov=Hc({token:aF,factory:aF.\u0275fac,providedIn:"root"});var f7b={parent:"me"},bF=function(a,b,c){UB.call(this,{freshUntil:3E5});this.observableHotlistResources=a;this.observableUserResources=b;this.appEvents=c;this.recordType="hotlist";this.idKey="hotlistId";g7b(this)};X(bF,UB);var g7b=function(a){(0,W.merge)(a.appEvents.hotlistChanged,a.appEvents.hotlistCreated,a.appEvents.bookmarkGroupModified).subscribe(function(){a.pokeMany(f7b)})};
bF.prototype.fetchOne=function(a){return this.observableHotlistResources.get(a).pipe($e(function(b){return b.status===403?(0,W.of)(void 0):(0,W.throwError)(function(){return b})}))};bF.prototype.fetchAll=function(a){if(a.parent==="me")return this.observableUserResources.getUserHotlists().pipe(y(function(b){return{results:b}}));Ei("Unsupported query for Fridge['"+this.recordType+"']",a);return(0,W.of)({results:[]})};
bF.prototype.fetchSet=function(a){return this.observableHotlistResources.bulkLoad(a).pipe(y(function(b){return(b!=null?b:[]).filter(lj)}))};bF.prototype.doSave=function(a){return this.observableHotlistResources.updateMetadata(a.hotlistId,a)};var h7b=function(a){return a.watchMany(f7b).pipe(y(function(b){return b.results}))};bF.\u0275fac=function(a){return new (a||bF)(n(UE),n($E),n(yE))};bF.\u0275prov=Hc({token:bF,factory:bF.\u0275fac,providedIn:"root"});var cF=function(a){this.internalArray_=m(a,0,cF.messageId)};X(cF,Y);cF.prototype.setSearch=function(a,b){Xt(this,1,sn,a,b)};cF.repeatedFields_=[1];cF.messageId="b.BatchGetSearchesResponse";var dF=function(a){this.internalArray_=m(a,0,dF.messageId)};X(dF,Y);dF.prototype.getSearch=function(){return $i(this,sn,1)};dF.prototype.setSearch=function(a){oj(this,sn,1,a)};dF.messageId="b.SearchResponse";var eF=function(a){this.jspbExecutor=a};g=eF.prototype;g.get=function(a){return this.jspbExecutor.get({url:"action/saved_searches/"+a,responseConstructor:dF}).pipe(y(tCa))};g.batchGet=function(a){if(a.length>500)throw Error("Qc");return this.jspbExecutor.get({url:"action/saved_searches?"+a.map(function(b){return"id="+b}).join("&"),responseConstructor:cF}).pipe(y(uCa))};
g.create=function(a,b){a=(new sn).setIt((new tk).setName(a).setQuery(b));return this.jspbExecutor.post({url:"action/saved_searches",body:a,responseConstructor:dF}).pipe(y(tCa))};g.update=function(a,b){b=(new sn).setIt(ywa(b));return this.jspbExecutor.post({url:"action/saved_searches/"+a,body:b,responseConstructor:dF}).pipe(y(tCa))};g.delete=function(a){return this.jspbExecutor.delete({url:"action/saved_searches/"+a,responseConstructor:null})};eF.\u0275fac=function(a){return new (a||eF)(n(IB))};
eF.\u0275prov=Hc({token:eF,factory:eF.\u0275fac,providedIn:"root"});var fF=function(a){this.observableResources=a};g=fF.prototype;g.get=function(a){return(0,W.firstValueFrom)(this.observableResources.get(a))};g.batchGet=function(a){return(0,W.firstValueFrom)(this.observableResources.batchGet(a))};g.create=function(a,b){return(0,W.firstValueFrom)(this.observableResources.create(a,b))};g.update=function(a,b){return(0,W.firstValueFrom)(this.observableResources.update(a,b))};g.delete=function(a){return(0,W.firstValueFrom)(this.observableResources.delete(a))};
fF.\u0275fac=function(a){return new (a||fF)(n(eF))};fF.\u0275prov=Hc({token:fF,factory:fF.\u0275fac,providedIn:"root"});var i7b={results:[]},gF=function(a,b){UB.call(this);this.userResourcesApi=a;this.savedSearchApi=b;this.recordType="savedSearch";this.idKey="searchId"};X(gF,UB);gF.prototype.fetchOne=function(a){return this.savedSearchApi.get(a)};gF.prototype.fetchSet=function(a){return this.savedSearchApi.batchGet(a)};
gF.prototype.fetchAll=function(a){if(a.parent==="me")return this.userResourcesApi.getUserSavedSearches().pipe(y(function(b){return{results:b}}));Ei("Unsupported query for Fridge['"+this.recordType+"']",a);return(0,W.of)(i7b)};gF.\u0275fac=function(a){return new (a||gF)(n($E),n(eF))};gF.\u0275prov=Hc({token:gF,factory:gF.\u0275fac,providedIn:"root"});var hF=function(a,b,c,d,e,f,h,k){UB.call(this,{freshUntil:3E5});var q=this;this.userApi=a;this.hotlistApi=b;this.bookmarkGroupApi=c;this.appEvents=d;this.hotlistFridge=e;this.savedSearchFridge=f;this.bookmarkGroupFridge=h;this.activeSession=k;this.recordType="user-bookmark";this.idKey="id";this.isEqual=pi;this.pokeAll=function(){q.poke("current-user-bookmark-id")};this.activeSession.getFlag("enableLeanFeF")&&(0,W.merge)(this.appEvents.hotlistChanged,this.appEvents.hotlistCreated,this.appEvents.bookmarkGroupModified,
this.appEvents.savedSearchModified,this.appEvents.favoritesModified).subscribe(function(){q.poke("current-user-bookmark-id")})};X(hF,UB);var j7b=function(a){var b=a.activeSession.getUserEmail();return b?a.hotlistApi.queryHotlists("include_archived:true owner:"+b):(0,W.of)([])},k7b=function(a){var b=a.activeSession.getUserEmail();return b?(0,W.defer)(function(){return a.bookmarkGroupApi.query("include_archived:true owner:"+b)}):(0,W.of)([])};
hF.prototype.fetchOne=function(){var a=this;return(0,W.forkJoin)([this.userApi.getUserBookmarks(),j7b(this),k7b(this)]).pipe(sf(function(b){var c=l(b);b=c.next().value;var d=c.next().value;c=c.next().value;c=l(c);for(var e=c.next();!e.done;e=c.next())a.bookmarkGroupFridge.announce(e.value);c=l(b.bookmarkGroups);for(e=c.next();!e.done;e=c.next())a.bookmarkGroupFridge.announce(e.value);d=l(d);for(c=d.next();!c.done;c=d.next())a.hotlistFridge.announce(c.value);d=l(b.hotlists);for(c=d.next();!c.done;c=
d.next())a.hotlistFridge.announce(c.value);b=l(b.savedSearches);for(d=b.next();!d.done;d=b.next())a.savedSearchFridge.announce(d.value)}),y(function(b){var c=l(b);b=c.next().value;var d=c.next().value;c=c.next().value;d=BCa([].concat(r(b.hotlists),r(d)),[].concat(r(b.bookmarkGroups),r(c)),b.savedSearches);return CCa(d,b)}))};
var iF=function(a){return a.watch("current-user-bookmark-id",void 0).pipe(te(lj))},jF=function(a){return iF(a).pipe(y(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(lj).filter(function(f){return f.resourceType==="HOTLIST"&&f.starred}))!=null?e:[];return[].concat(r(b),r(d))}),y(function(b){return Rm(b,function(c){return c.id})}),y(function(b){return zCa(b)}),y(function(b){return b.map(function(c){return c.id})}),
pf(function(b){return a.hotlistFridge.watchSet(b,void 0)}))},kF=function(a){return iF(a).pipe(y(function(b){var c;return(c=b==null?void 0:b.savedSearches.map(function(d){return ij(d.id)}))!=null?c:[]}),y(function(b){return b.filter(lj)}),pf(function(b){return a.savedSearchFridge.watchSet(b,void 0)}))};hF.\u0275fac=function(a){return new (a||hF)(n($E),n(UE),n(cC),n(yE),n(bF),n(gF),n(dC),n(Ir))};hF.\u0275prov=Hc({token:hF,factory:hF.\u0275fac,providedIn:"root"});
var zCa=Tm(function(a){return a.name},Vm,"asc"),yCa=Tm(function(a){return a.name},Vm,"asc"),ACa=Tm(function(a){return a.name},Vm,"asc");var lF=function(a){this.internalArray_=m(a,0,lF.messageId)};X(lF,Y);lF.prototype.getIt=function(){return $i(this,Jj,2)};lF.prototype.setIt=function(a){return oj(this,Jj,2,a)};lF.messageId="b.CustomFieldResponse";var mF=function(a){this.internalArray_=m(a)};X(mF,Y);g=mF.prototype;g.getCustomFieldsList=function(){return xj(this,Jj,1,yj())};g.setCustomFieldsList=function(a){return gk(this,1,a)};g.addCustomFields=function(a){Mq(this,1,Jj,a)};g.getNextPageToken=function(){return Kh(this,2)};g.getTotalSize=function(){return gj(this,3)};mF.repeatedFields_=[1];var nF=function(a){this.internalArray_=m(a,0,nF.messageId)};X(nF,Y);nF.prototype.getIt=function(){return $i(this,mF,4)};nF.prototype.setIt=function(a){return oj(this,mF,4,a)};nF.messageId="b.ListCustomFieldsResponse";var oF=function(a){this.executor=a};g=oF.prototype;g.get=function(a){return this.executor.get({url:"action/custom_fields/"+Number(a),responseConstructor:lF}).pipe(y(Bya))};g.getResource=function(a){return this.executor.get({url:"action/custom_fields/"+a,responseConstructor:lF}).pipe(y(Bya))};g.create=function(a,b){b=Dya(b);return this.executor.post({url:"action/custom_fields",options:{params:{componentId:String(a)}},body:b,responseConstructor:lF}).pipe(y(Bya))};
g.update=function(a,b,c){b=Number(b);c=Dya(c);return this.executor.post({url:"action/custom_fields/"+b,options:{params:{componentId:String(a)}},body:c,responseConstructor:lF}).pipe(y(Bya))};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:nF}).pipe(y(Eya))};oF.\u0275fac=function(a){return new (a||oF)(n(IB))};oF.\u0275prov=Hc({token:oF,factory:oF.\u0275fac,providedIn:"root"});var pF=function(a){this.observableApi=a};g=pF.prototype;g.get=function(a){return(0,W.firstValueFrom)(this.observableApi.get(a))};g.getResource=function(a){return(0,W.firstValueFrom)(this.observableApi.getResource(a))};
g.create=function(a,b){return(0,W.firstValueFrom)(this.observableApi.create(a,b))};g.update=function(a,b,c){return(0,W.firstValueFrom)(this.observableApi.update(a,b,c))};g.delete=function(a,b){return(0,W.firstValueFrom)(this.observableApi.delete(a,b))};g.query=function(a){return(0,W.firstValueFrom)(this.observableApi.query(a))};pF.\u0275fac=function(a){return new (a||pF)(n(oF))};pF.\u0275prov=Hc({token:pF,factory:pF.\u0275fac,providedIn:"root"});var qF=function(a){UB.call(this,{freshUntil:18E5,ancientAfter:2592E6});this.api=a;this.recordType="customFieldResource";this.idKey="customFieldId"};X(qF,UB);qF.prototype.fetchOne=function(a){return this.api.getResource(a).pipe($e(function(b){console.error("error fetching custom field "+a,b);return(0,W.of)(void 0)}))};qF.\u0275fac=function(a){return new (a||qF)(n(oF))};qF.\u0275prov=Hc({token:qF,factory:qF.\u0275fac,providedIn:"root"});var LCa=new WeakMap;var iDa=new WeakMap,kDa=new WeakMap;var rF=function(a){UB.call(this);this.observableIssueResources=a;this.recordType="eventsForIssue"};X(rF,UB);rF.prototype.isEqual=function(a,b){return(a==null?void 0:a.id)!==(b==null?void 0:b.id)?!1:SCa(a==null?void 0:a.events,b==null?void 0:b.events)};rF.prototype.copy=function(a){return a&&qi(a)};rF.prototype.fetchOne=function(a){return D5b(this.observableIssueResources,a).pipe(y(function(b){return{id:a,events:b}}))};rF.prototype.fetchSet=function(a){var b=this;return(0,W.combineLatest)(a.map(function(c){return b.fetchOne(c)})).pipe(y(function(c){return c.filter(lj)}))};
rF.\u0275fac=function(a){return new (a||rF)(n(OD))};rF.\u0275prov=Hc({token:rF,factory:rF.\u0275fac,providedIn:"root"});var sF=function(a){this.internalArray_=m(a)};X(sF,Y);g=sF.prototype;g.getIssueId=function(){return ej(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return ej(this,1)};g.getIssueId_asString=function(){return du(this,1)};g.setIssueId=function(a){return bj(this,1,a)};g.getCommentNumbers=function(){return eu(this,2)};g.setView=function(a){return dj(this,3,a)};sF.repeatedFields_=[2];var tF=function(a){this.internalArray_=m(a,0,tF.messageId)};X(tF,Y);tF.prototype.getIt=function(){return $i(this,sF,4)};tF.prototype.setIt=function(a){return oj(this,sF,4,a)};tF.messageId="b.BatchGetIssueCommentsRequest";var uF=function(a){this.internalArray_=m(a)};X(uF,Y);uF.prototype.getIssueCommentsList=function(){return xj(this,Xl,1,yj())};uF.repeatedFields_=[1];var vF=function(a){this.internalArray_=m(a,0,vF.messageId)};X(vF,Y);vF.prototype.getIt=function(){return $i(this,uF,2)};vF.prototype.setIt=function(a){return oj(this,uF,2,a)};vF.messageId="b.BatchGetIssueCommentsResponse";var wF=function(a,b){this.jspbExecutor=a;this.activeSession=b};wF.prototype.batchGet=function(a,b){var c=new tF,d=c.setIt;a=(new sF).setIssueId(Number(a));b=jc(a,2,b,Hb);c=d.call(c,b.setView(2));var e;(d=(e=this.activeSession.getTracker())==null?void 0:e.trackerId)&&xl(c,3,d);return this.jspbExecutor.post({url:"action/comments/batch",responseConstructor:vF,body:c}).pipe(y(vza))};wF.\u0275fac=function(a){return new (a||wF)(n(IB),n(Ir))};wF.\u0275prov=Hc({token:wF,factory:wF.\u0275fac,providedIn:"root"});var xF=function(a,b){UB.call(this);var c=this;this.issueCommentsBatchApi=a;this.batchApiAdapter=b;this.recordType="formattedCommentsForIssue";this.idForRecord=function(d){return d.id.issueId+"-"+d.id.commentId};this.get=this.batchApiAdapter.adapt({bufferTimeMs:0,maxBatchSize:500,call:function(d){return c.call(d)},split:function(d,e){return c.splitBatch(d,e)}})};X(xF,UB);
xF.prototype.fetchSet=function(a){var b=this,c=a[0].split("-")[0];return(0,W.combineLatest)(a.map(function(d){return b.get(d)})).pipe(y(function(d){var e=[];d=l(d);for(var f=d.next();!f.done;f=d.next())if(f=f.value){var h=void 0,k={issueId:c,commentId:(h=f.commentNumber)!=null?h:0};e.push({id:k,formattedComment:f})}return e}))};
xF.prototype.call=function(a){var b="",c=[];a=l(a);for(var d=a.next();!d.done;d=a.next()){var e=l(d.value.split("-"));d=e.next().value;e=e.next().value;b!==""&&b===d?c.push(Number(e)):b===""&&(b=d,c.push(Number(e)))}return this.issueCommentsBatchApi.batchGet(b,c).pipe(y(function(f){var h=b,k=new Map;f=l(f);for(var q=f.next();!q.done;q=f.next()){q=q.value;var t=void 0,w=Number(h)+"-"+((t=q.commentNumber)!=null?t:0);k.set(w,q)}return k}))};xF.prototype.splitBatch=function(a,b){return b.get(a)};
xF.\u0275fac=function(a){return new (a||xF)(n(wF),n(sC))};xF.\u0275prov=Hc({token:xF,factory:xF.\u0275fac,providedIn:"root"});var yF=function(a){UB.call(this);this.accessPolicyApi=a;this.recordType="hotlistAccessPolicy";this.isEqual=pi};X(yF,UB);yF.prototype.fetchOne=function(a){return this.accessPolicyApi.get("HOTLIST",a).pipe(y(function(b){return Object.assign({},{id:a},b)}))};yF.prototype.doSave=function(a){var b=a.id;return this.accessPolicyApi.update("HOTLIST",b,a).pipe(y(function(c){return Object.assign({},{id:b},c)}))};yF.\u0275fac=function(a){return new (a||yF)(n(pC))};
yF.\u0275prov=Hc({token:yF,factory:yF.\u0275fac,providedIn:"root"});var qDa=window,GDa=function(){return{count:0,duration:0,transferSize:0,cacheHits:0,cacheHitRate:0}},l7b=function(a){if(En())try{window.performance.mark(a)}catch(b){console.warn("route_performance",b)}};var IDa=Fl("debug-logging")(),Fn=window,m7b,FDa=!1;var JDa=M4b("last-visit"),KDa=M4b("last-visit-count"),MDa=N4b("last-visit"),LDa=N4b("last-visit-count");Date.now==null&&(Date.now=function(){return(new Date).getTime()});var n7b=function(a){this.internalArray_=m(a)};X(n7b,Y);n7b.prototype.getValueCase=function(){return Ri(this,o7b)};var o7b=[1,2,3];var p7b=function(a){this.internalArray_=m(a)};X(p7b,Y);p7b.prototype.getValueCase=function(){return Ri(this,q7b)};var q7b=[1,2,3];var r7b=function(a){this.internalArray_=m(a)};X(r7b,Y);r7b.repeatedFields_=[1];var zF=function(a){this.internalArray_=m(a)};X(zF,Y);zF.prototype.getFieldName=function(){return fu(this,3)};zF.prototype.setFieldName=function(a){oc(this,3,Ob,a,void 0,Ij)};zF.repeatedFields_=[3,6,4];var s7b=function(a){this.internalArray_=m(a)};X(s7b,Y);s7b.repeatedFields_=[1];var t7b=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("Tc`"+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("Uc`"+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 v7b=function(a,b,c){var d=String(Aa.location.href);return d&&a&&b?[b,u7b(t7b(d),a,c||null)].join(" "):null},u7b=function(a,b,c){var d=[],e=[];if((Array.isArray(c)?2:1)==1)return e=[b,a],Sa(d,function(k){e.push(k)}),w7b(e.join(" "));var f=[],h=[];Sa(c,function(k){h.push(k.key);f.push(k.value)});c=Math.floor((new Date).getTime()/1E3);e=f.length==0?[c,b,a]:[f.join(":"),c,b,a];Sa(d,function(k){e.push(k)});a=w7b(e.join(" "));a=[c,a];h.length==0||a.push(h.join(""));return a.join("_")},w7b=function(a){var b=
ODa();b.update(a);return b.digestString().toLowerCase()};var x7b={};var y7b=function(){this.document_=document||{cookie:""}};g=y7b.prototype;g.isEnabled=function(){if(!Aa.navigator.cookieEnabled)return!1;if(!this.isEmpty())return!0;this.set("TESTCOOKIESENABLED","1",{maxAge:60});if(this.get("TESTCOOKIESENABLED")!=="1")return!1;this.remove("TESTCOOKIESENABLED");return!0};
g.set=function(a,b,c){var d=!1;if(typeof c==="object"){var e=c.sameSite;d=c.secure||!1;var f=c.domain||void 0;var h=c.path||void 0;var k=c.maxAge}if(/[;=\s]/.test(a))throw Error("Vc`"+a);if(/[;\r\n]/.test(b))throw Error("Wc`"+b);k===void 0&&(k=-1);c=f?";domain="+f:"";h=h?";path="+h:"";d=d?";secure":"";k=k<0?"":k==0?";expires="+(new Date(1970,1,1)).toUTCString():";expires="+(new Date(Date.now()+k*1E3)).toUTCString();this.document_.cookie=a+"="+b+c+h+k+d+(e!=null?";samesite="+e:"")};
g.get=function(a,b){for(var c=a+"=",d=(this.document_.cookie||"").split(";"),e=0,f;e<d.length;e++){f=zi(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 z7b(this).keys};g.getValues=function(){return z7b(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=z7b(this).values,c=0;c<b.length;c++)if(b[c]==a)return!0;return!1};g.clear=function(){for(var a=z7b(this).keys,b=a.length-1;b>=0;b--)this.remove(a[b])};
var z7b=function(a){a=(a.document_.cookie||"").split(";");for(var b=[],c=[],d,e,f=0;f<a.length;f++)e=zi(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 A7b=function(a){return!!x7b.FPA_SAMESITE_PHASE2_MOD||!(a===void 0||!a)},B7b=function(a,b,c,d){(a=Aa[a])||typeof document==="undefined"||(a=(new y7b).get(b));return a?v7b(a,c,d):null},tMa=function(a,b){b=b===void 0?!1:b;var c=t7b(String(Aa.location.href)),d=[];var e=b;e=e===void 0?!1:e;var f=Aa.__SAPISID||Aa.__APISID||Aa.__3PSAPISID||Aa.__OVERRIDE_SID;A7b(e)&&(f=f||Aa.__1PSAPISID);if(f)e=!0;else{if(typeof document!=="undefined"){var h=new y7b;f=h.get("SAPISID")||h.get("APISID")||h.get("__Secure-3PAPISID");
A7b(e)&&(f=f||h.get("__Secure-1PAPISID"))}e=!!f}e&&(e=(c=c.indexOf("https:")==0||c.indexOf("chrome-extension:")==0||c.indexOf("moz-extension:")==0)?Aa.__SAPISID:Aa.__APISID,e||typeof document==="undefined"||(e=new y7b,e=e.get(c?"SAPISID":"APISID")||e.get("__Secure-3PAPISID")),(e=e?v7b(e,c?"SAPISIDHASH":"APISIDHASH",a):null)&&d.push(e),c&&A7b(b)&&((b=B7b("__1PSAPISID","__Secure-1PAPISID","SAPISID1PHASH",a))&&d.push(b),(a=B7b("__3PSAPISID","__Secure-3PAPISID","SAPISID3PHASH",a))&&d.push(a)));return d.length==
0?null:d.join(" ")};var AF=function(a){this.internalArray_=m(a)};X(AF,Y);AF.repeatedFields_=[2];var BF=function(a,b){this.intervalMs=a;this.callback=b;this.enabled=!1;this.nowFn=function(){return Date.now()};this.lastTimeMs=this.nowFn()};BF.prototype.setInterval=function(a){this.intervalMs=a;this.timer&&this.enabled?(this.stop(),this.start()):this.timer&&this.stop()};BF.prototype.start=function(){var a=this;this.enabled=!0;this.timer||(this.timer=setTimeout(function(){a.tick()},this.intervalMs),this.lastTimeMs=this.nowFn())};
BF.prototype.stop=function(){this.enabled=!1;this.timer&&(clearTimeout(this.timer),this.timer=void 0)};BF.prototype.tick=function(){var a=this;if(this.enabled){var b=Math.max(this.nowFn()-this.lastTimeMs,0);b<this.intervalMs*.8?this.timer=setTimeout(function(){a.tick()},this.intervalMs-b):(this.timer&&(clearTimeout(this.timer),this.timer=void 0),this.callback(),this.enabled&&(this.stop(),this.start()))}else this.timer=void 0};var C7b=function(a){this.internalArray_=m(a)};X(C7b,Y);var D7b=function(a){this.internalArray_=m(a)};X(D7b,Y);var E7b=function(a){this.currBaseValue_=this.currValue_=this.initialValue_=a};E7b.prototype.reset=function(){this.currBaseValue_=this.currValue_=this.initialValue_};E7b.prototype.getValue=function(){return this.currValue_};var CF=function(a){this.internalArray_=m(a)};X(CF,Y);g=CF.prototype;g.getTransmissionType=function(){return et(this,1)};g.setTransmissionType=function(a){sl(this,1,a)};g.setRetryCount=function(a){ql(this,3,a)};g.setPersistedLogRecoveredCount=function(a){ql(this,4,a)};g.setPersistedLogExpiredCount=function(a){ql(this,5,a)};var Kn=function(a){this.internalArray_=m(a)};X(Kn,Y);Kn.prototype.getVersion=function(){return sj(this,2)};Kn.prototype.setVersion=function(a){return rj(this,2,a)};Kn.prototype.getVersionOrUndefined=function(){return hu(this,2)};var DF=function(a){this.internalArray_=m(a)};X(DF,Y);var RDa=function(a,b){gk(a,1,b)};DF.prototype.setPlatform=function(a){rj(this,3,a)};DF.prototype.setPlatformVersion=function(a){rj(this,4,a)};DF.prototype.setModel=function(a){return rj(this,6,a)};DF.repeatedFields_=[1];var EF=function(a){this.internalArray_=m(a)};X(EF,Y);EF.prototype.getLocale=function(){return sj(this,5)};EF.prototype.setLocale=function(a){return rj(this,5,a)};EF.prototype.setBuildLabel=function(a){rj(this,7,a)};EF.prototype.getMutableFlushInfo=function(){return Yt(this,CF,10)};var PDa=["platform","platformVersion","architecture","model","uaFullVersion"],SDa=new DF,QDa=null;var FF=function(a){this.internalArray_=m(a)};X(FF,Y);FF.prototype.getClientType=function(){return et(this,1)};FF.prototype.setClientType=function(){return sl(this,1,1)};FF.prototype.getMutableJsClientInfo=function(){return Yt(this,EF,11)};var F7b=function(a){this.internalArray_=m(a)};X(F7b,Y);g=F7b.prototype;g.getKey=function(){return sj(this,1)};g.hasKey=function(){return $k(this,1)};g.getValue=function(){return sj(this,2)};g.getValue_legacyNullable=function(){return sj(this,2)};g.setValue=function(a){return rj(this,2,a)};g.hasValue=function(){return $k(this,2)};var GF=function(a){this.internalArray_=m(a,4)};X(GF,Y);var HF=function(a){this.internalArray_=m(a,35)};X(HF,Y);g=HF.prototype;g.getTag=function(){return sj(this,2)};g.getComponentId=function(){return sj(this,26)};g.setComponentId=function(a){return rj(this,26,a)};g.hasComponentId=function(){return $k(this,26)};g.addValue=function(){return Mq(this,3,F7b)};g.setValue=function(a,b){return Xt(this,3,F7b,a,b)};var G7b=function(a,b){return rj(a,8,b)};HF.prototype.getExperimentIds=function(){return $i(this,AF,16)};
HF.prototype.setExperimentIds=function(a){oj(this,AF,16,a)};HF.prototype.clearExperimentIds=function(){return oo(this,16)};var IF=function(a,b){rj(a,24,b)};HF.prototype.getComplianceData=function(){return $i(this,GF,33)};HF.prototype.setComplianceData=function(a){oj(this,GF,33,a)};HF.repeatedFields_=[3,20,27];var H7b=function(a){this.internalArray_=m(a,19)};X(H7b,Y);g=H7b.prototype;g.getClientInfo=function(){return $i(this,FF,1)};g.getMutableClientInfo=function(){return Yt(this,FF,1)};g.setClientInfo=function(a){oj(this,FF,1,a)};g.getLogSource=function(){return fj(this,2,-1)};g.setLogSource=function(a){return sl(this,2,a)};g.getComplianceData=function(){return $i(this,GF,18)};g.setComplianceData=function(a){oj(this,GF,18,a)};H7b.repeatedFields_=[3,5];var JF=function(a){this.internalArray_=m(a)};X(JF,Y);JF.prototype.getId=function(a){return fu(this,1,a)};JF.prototype.setId=function(a){return oc(this,1,Ob,a,void 0,Ij)};JF.repeatedFields_=[1];var KF=function(a){this.internalArray_=m(a,8)};X(KF,Y);KF.prototype.getExperiments=function(){return $i(this,JF,2)};KF.prototype.setExperiments=function(a){return oj(this,JF,2,a)};KF.prototype.hasExperiments=function(){return dk(this,JF,2)};var I7b=Mh(KF);KF.repeatedFields_=[5,6,7];var J7b=function(a){this.internalArray_=m(a)};X(J7b,Y);var K7b=new lz(175237375,J7b);var MF=function(a){Gz.call(this);var b=this;this.componentId="";this.pendingEvents=[];this.lastFailedAuth="";this.pageId=null;this.useGetRequestForFinalFlush=this.useSendBeaconForFinalFlush=this.clientSideLogOnlyForDevelopment=!1;this.noFlushUntilMs=this.startWaitingMs=-1;this.useConsistentTimezoneOffset=this.clientSpecifiedFlushInterval=!1;this.gzipCompressor=this.experimentIds=null;this.persistedLogExpiredCount=this.persistedLogRecoveredCount=this.numRetriesSinceLastSuccessfulFlush=this.numLogsDroppedSinceLastFlush=
0;this.sequencePosition=1;this.timeoutMillis=0;this.sendBeaconApiEnabled=!1;this.logSource=a.logSource;this.getAuthHeaderValue=a.getAuthHeaderValue||function(){};this.logRequestBuilder=new LF(a.logSource,a.isServiceWorkerScope);this.network=a.network;this.productID=a.productID||null;this.bufferSize=1E3;this.clearcutUrl=a.urlOverride||null;this.sessionIndex=a.sessionIndex||null;this.disableAutomaticFlush=a.disableAutomaticFlush||!1;this.logger=null;this.withCredentials=!a.disableWithCredentials;this.isServiceWorkerScope=
a.isServiceWorkerScope||!1;this.isSendBeaconSupported=!this.isServiceWorkerScope&&!!aA()&&!!aA().navigator&&aA().navigator.sendBeacon!==void 0;this.isBrowserSupported=typeof URLSearchParams!=="undefined"&&!!(new URL(L7b())).searchParams&&!!(new URL(L7b())).searchParams.set;var c=(new FF).setClientType();this.logRequestBuilder.setClientInfo(c);this.flushBackoff=new E7b(1E4);a=M7b(this,a.backgroundJobDeferrer);this.flushTimer=new BF(this.flushBackoff.getValue(),a);this.backupTimer=new BF(6E5,a);this.disableAutomaticFlush||
this.backupTimer.start();this.isServiceWorkerScope||(document.addEventListener("visibilitychange",function(){document.visibilityState==="hidden"&&b.finalFlush()}),document.addEventListener("pagehide",this.finalFlush.bind(this)))};X(MF,Gz);var M7b=function(a,b){return a.isBrowserSupported?b?function(){b().then(function(){a.flush()})}:function(){a.flush()}:function(){}};MF.prototype.disposeInternal=function(){this.finalFlush();this.flushTimer.stop();this.backupTimer.stop();Gz.prototype.disposeInternal.call(this)};
MF.prototype.setClearcutUrl=function(a){this.clearcutUrl=a};MF.prototype.setUseConsistentTimezoneOffset=function(a){this.useConsistentTimezoneOffset=a};MF.prototype.getClearcutUrl=function(){this.clearcutUrl||(this.clearcutUrl=L7b());try{return(new URL(this.clearcutUrl)).toString()}catch(a){return(new URL(this.clearcutUrl,aA().location.origin)).toString()}};var NF=function(a,b){a.isBrowserSupported&&(b instanceof HF?a.log(b):(b=G7b(new HF,b.serialize()),a.log(b)))};g=MF.prototype;
g.setClearcutClientInfo=function(a){this.logRequestBuilder.setClientInfo(a)};g.setComponentId=function(a){this.componentId=a};g.setProductID=function(a){this.productID=a};g.setPageId=function(a){this.pageId=a};g.setOpaqueExperimentIds=function(a){this.experimentIds||(this.experimentIds=new AF);var b=this.experimentIds;a=[].concat(r(a));jc(b,2,a,Vda)};
g.setClearExperimentIds=function(a){if(a){this.experimentIds||(this.experimentIds=new AF);var b=this.experimentIds;a=a.serialize();rj(b,4,a)}else this.experimentIds&&oo(this.experimentIds,4)};g.setClientSideLogOnlyForDevelopment=function(a){this.clientSideLogOnlyForDevelopment=a};g.setGzipCompressor=function(a){this.gzipCompressor=a};g.setBuildLabel=function(a){this.logRequestBuilder.setBuildLabel(a)};g.setFlushIntervalMs=function(a){this.clientSpecifiedFlushInterval=!0;N7b(this,a)};
var N7b=function(a,b){a.flushBackoff=new E7b(b<1?1:b);a.flushTimer.setInterval(a.flushBackoff.getValue())};
MF.prototype.log=function(a){if(this.isBrowserSupported){a=a.clone();var b=this.sequencePosition++;a=yl(a,21,b);this.componentId&&a.setComponentId(this.componentId);if(!dl(a,1)){var c=Date.now();b=a;c=Number.isFinite(c)?c.toString():"0";xl(b,1,c)}il(a,15)||yl(a,15,(new Date).getTimezoneOffset()*(this.useConsistentTimezoneOffset?-60:60));this.experimentIds&&a.setExperimentIds(this.experimentIds.clone());b=this.pendingEvents.length-this.bufferSize+1;b>0&&(this.pendingEvents.splice(0,b),this.numLogsDroppedSinceLastFlush+=
b);this.pendingEvents.push(a);this.maybeStartFlushTimer()}};MF.prototype.maybeStartFlushTimer=function(){this.disableAutomaticFlush||this.flushTimer.enabled||this.flushTimer.start()};
MF.prototype.flush=function(a,b){var c=this;if(this.pendingEvents.length===0)a&&a();else if(this.sendBeaconApiEnabled&&this.isSendBeaconSupported)this.logRequestBuilder.setTransmissionType(3),O7b(this);else{var d=Date.now();if(this.noFlushUntilMs>d&&this.startWaitingMs<d)b&&b("throttled");else{this.network&&(typeof this.network.getTransmissionType==="function"?this.logRequestBuilder.setTransmissionType(this.network.getTransmissionType()):this.logRequestBuilder.setTransmissionType(0));var e=this.logRequestBuilder.build(this.pendingEvents,
this.numLogsDroppedSinceLastFlush,this.numRetriesSinceLastSuccessfulFlush,this.productID,this.persistedLogRecoveredCount,this.persistedLogExpiredCount);d={};var f=this.getAuthHeaderValue();f&&(d.Authorization=f);var h=new URL(this.getClearcutUrl());this.sessionIndex&&(d["X-Goog-AuthUser"]=this.sessionIndex,h.searchParams.set("authuser",this.sessionIndex));this.pageId&&(Object.defineProperty(d,"X-Goog-PageId",{value:this.pageId}),h.searchParams.set("pageId",this.pageId));if(f&&this.lastFailedAuth===
f)b&&b("stale-auth-token");else if(this.pendingEvents=[],this.flushTimer.enabled&&this.flushTimer.stop(),this.numLogsDroppedSinceLastFlush=0,this.clientSideLogOnlyForDevelopment)a&&a();else{var k=e.serialize(),q;this.gzipCompressor&&this.gzipCompressor.getHiddenPropertyName_()&&(q=this.gzipCompressor.compress(k));var t={url:h.toString(),body:k,bodyType:1,requestHeaders:d,requestType:"POST",withCredentials:this.withCredentials,timeoutMillis:this.timeoutMillis},w=function(I){c.flushBackoff.reset();
c.flushTimer.setInterval(c.flushBackoff.getValue());if(I){var J=null;try{var N=JSON.stringify(JSON.parse(I.replace(")]}'\n","")));J=I7b(N)}catch(P){}J&&(I=Number(cu(J,1,"-1")),I>0&&(c.startWaitingMs=Date.now(),c.noFlushUntilMs=c.startWaitingMs+I),J=sSb(J,K7b))&&(J=gj(J,1,-1),J!==-1&&(c.clientSpecifiedFlushInterval||N7b(c,J)))}a&&a();c.numRetriesSinceLastSuccessfulFlush=0},B=function(I,J){var N=xj(e,HF,3,yj());var P=$t(e,14),U=c.flushBackoff;U.currBaseValue_=Math.min(3E5,U.currBaseValue_*2);U.currValue_=
Math.min(3E5,U.currBaseValue_+Math.round((Math.random()-.5)*.2*U.currBaseValue_));c.flushTimer.setInterval(c.flushBackoff.getValue());I===401&&f&&(c.lastFailedAuth=f);P&&(c.numLogsDroppedSinceLastFlush+=P);J===void 0&&(J=500<=I&&I<600||I===401||I===0);J&&(c.pendingEvents=N.concat(c.pendingEvents),c.maybeStartFlushTimer());b&&b("net-send-failed",I);++c.numRetriesSinceLastSuccessfulFlush},E=function(){c.network&&c.network.send(t,w,B)};q?q.then(function(I){t.requestHeaders["Content-Encoding"]="gzip";
t.requestHeaders["Content-Type"]="application/binary";t.body=I;t.bodyType=2;E()},function(){E()}):E()}}}};MF.prototype.finalFlush=function(){this.clientSideLogOnlyForDevelopment||(P7b(this.logRequestBuilder,!0),this.useSendBeaconForFinalFlush&&(this.logRequestBuilder.setTransmissionType(3),O7b(this)),this.useGetRequestForFinalFlush&&(this.logRequestBuilder.setTransmissionType(2),Q7b(this)),this.flush(),P7b(this.logRequestBuilder,!1))};
var O7b=function(a){R7b(a,32,10,function(b,c){b=new URL(b);b.searchParams.set("format","json");var d=!1;try{d=aA().navigator.sendBeacon(b.toString(),c.serialize())}catch(e){}d||(a.isSendBeaconSupported=!1);return d})},Q7b=function(a){R7b(a,6,5,function(b,c){b=new URL(b);b.searchParams.set("format","base64json");var d=b.searchParams,e=d.set;c=c.serialize();for(var f=[],h=0,k=0;k<c.length;k++){var q=c.charCodeAt(k);q>255&&(f[h++]=q&255,q>>=8);f[h++]=q}c=Qba(f,3);e.call(d,"p",c);b=b.toString();if(b.length>
15360)return!1;(new Image).src=b;return!0})},R7b=function(a,b,c,d){if(a.pendingEvents.length!==0){var e=new URL(a.getClearcutUrl());e.searchParams.delete("format");var f=a.getAuthHeaderValue();f&&e.searchParams.set("auth",f);e.searchParams.set("authuser",a.sessionIndex||"0");for(f=0;f<c&&a.pendingEvents.length;++f){var h=a.pendingEvents.slice(0,b),k=a.logRequestBuilder.build(h,a.numLogsDroppedSinceLastFlush,a.numRetriesSinceLastSuccessfulFlush,a.productID,a.persistedLogRecoveredCount,a.persistedLogExpiredCount);
if(!d(e.toString(),k)){++a.numRetriesSinceLastSuccessfulFlush;break}a.numLogsDroppedSinceLastFlush=0;a.numRetriesSinceLastSuccessfulFlush=0;a.persistedLogRecoveredCount=0;a.persistedLogExpiredCount=0;a.pendingEvents=a.pendingEvents.slice(h.length)}a.flushTimer.enabled&&a.flushTimer.stop()}},L7b=function(){return"https://play.google.com/log?format=json&hasfast=true"},LF=function(a,b){this.isServiceWorkerScope=b=b===void 0?!1:b;this.uach=this.locale=null;this.logRequest=new H7b;Number.isInteger(a)&&
this.logRequest.setLogSource(a);b||(this.locale=document.documentElement.getAttribute("lang"));this.setClientInfo(new FF)};LF.prototype.setLogSource=function(a){this.logRequest.setLogSource(a);return this};LF.prototype.setClientInfo=function(a){this.logRequest.setClientInfo(a);a.getClientType()||a.setClientType();this.isServiceWorkerScope||(a=this.getMutableJsClientInfo(),a.getLocale()||a.setLocale(this.locale));this.uach&&(a=this.getMutableJsClientInfo(),$i(a,DF,9)||oj(a,DF,9,this.uach))};
LF.prototype.setBuildLabel=function(a){this.getMutableJsClientInfo().setBuildLabel(a)};LF.prototype.setTransmissionType=function(a){dk(this.getMutableClientInfo(),EF,11)&&this.getMutableFlushInfo().setTransmissionType(a)};var P7b=function(a,b){dk(a.getMutableClientInfo(),EF,11)&&(a=a.getMutableFlushInfo(),pl(a,2,b))};LF.prototype.setRetryCount=function(a){dk(this.getMutableClientInfo(),EF,11)&&this.getMutableFlushInfo().setRetryCount(a)};
LF.prototype.setPersistedLogRecoveredCount=function(a){dk(this.getMutableClientInfo(),EF,11)&&this.getMutableFlushInfo().setPersistedLogRecoveredCount(a)};LF.prototype.setPersistedLogExpiredCount=function(a){dk(this.getMutableClientInfo(),EF,11)&&this.getMutableFlushInfo().setPersistedLogExpiredCount(a)};LF.prototype.getMutableClientInfo=function(){return this.logRequest.getClientInfo()};
var S7b=function(a){var b=b===void 0?PDa:b;var c=a.isServiceWorkerScope?void 0:aA();c?TDa(c,b).then(function(d){a.uach=d;d=a.getMutableJsClientInfo();oj(d,DF,9,a.uach);return!0}).catch(function(){return!1}):Promise.resolve(!1)};LF.prototype.getMutableJsClientInfo=function(){var a=this.getMutableClientInfo(),b=$i(a,EF,11);b||(b=new EF,oj(a,EF,11,b));return b};LF.prototype.getMutableFlushInfo=function(){var a=this.getMutableJsClientInfo(),b=$i(a,CF,10);b||(b=new CF,pl(b,2,!1),oj(a,CF,10,b));return b};
LF.prototype.getComplianceData=function(a){var b=new C7b;a=ql(b,13,a);b=new D7b;a=oj(b,C7b,2,a);b=new GF;a=oj(b,D7b,1,a);return sl(a,2,9)};LF.prototype.build=function(a,b,c,d,e,f){b=b===void 0?0:b;e=e===void 0?0:e;f=f===void 0?0:f;this.setRetryCount(c===void 0?0:c);this.setPersistedLogRecoveredCount(e);this.setPersistedLogExpiredCount(f);c=this.logRequest.clone();e=Date.now().toString();c=xl(c,4,e);a=gk(c,3,a.slice());d&&a.setComplianceData(this.getComplianceData(d));b&&yl(a,14,b);return a};var T7b=function(){this.abortSupported=typeof AbortController!=="undefined"};
T7b.prototype.send=function(a,b,c){var d=this,e,f,h,k,q,t,w,B,E,I;return fe(function(J){switch(J.nextAddress){case 1:return f=(e=d.abortSupported?new AbortController:void 0)?setTimeout(function(){e.abort()},a.timeoutMillis):void 0,ge(J,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}),he(J,fetch(a.url,h),5);case 5:k=J.yieldResult;if(k.status!==200){(q=
c)==null||q(k.status);J.jumpTo(3);break}if((t=b)==null){J.jumpTo(7);break}return he(J,k.text(),8);case 8:t(J.yieldResult);case 7:case 3:ie(J);clearTimeout(f);je(J,0);break;case 2:w=ke(J);switch((B=w)==null?void 0:B.name){case "AbortError":(E=c)==null||E(408);break;default:(I=c)==null||I(400)}J.jumpTo(3)}})};T7b.prototype.getTransmissionType=function(){return 4};var Wo=function(a,b){Gz.call(this);this.logSource=a;this.sessionIndex=b;this.destinationUrl="https://play.google.com/log?format=json&hasfast=true";this.buildLabel=null;this.serviceWorkerScopeEnabled=!1;this.network=this.gzipCompressor=null;this.componentId="";this.clearcutClientInfo=this.opaqueExperimentIds=this.clearExperimentIds=this.productID=null;this.getRequestForFinalFlush=this.sendBeaconForFinalFlush=!1;this.flushIntervalMs=null;this.sendBeaconApiEnabled=!1;this.useConsistentTimezoneOffset=
void 0;this.pageId=null};X(Wo,Gz);g=Wo.prototype;g.setBuildLabel=function(a){this.buildLabel=a};g.setGzipCompressor=function(a){this.gzipCompressor=a};g.setComponentId=function(a){this.componentId=a;return this};g.setProductID=function(a){this.productID=a};g.setClearExperimentIds=function(a){this.clearExperimentIds=a};g.setOpaqueExperimentIds=function(a){this.opaqueExperimentIds=a};var DMa=function(a,b){a.getAuthHeaderValue=b};g=Wo.prototype;
g.setClearcutClientInfo=function(a){this.clearcutClientInfo=a};g.useSendBeaconForFinalFlush=function(){this.sendBeaconForFinalFlush=!0;return this};g.useGetRequestForFinalFlush=function(){this.getRequestForFinalFlush=!0;return this};g.setFlushIntervalMs=function(a){this.flushIntervalMs=Math.max(a,1E3)};g.disableWithCredentials=function(){this.withCredentialsDisabled=!0;return this};g.setUseConsistentTimezoneOffset=function(a){this.useConsistentTimezoneOffset=a};
g.setPageId=function(a){this.pageId=a};
g.build=function(){this.network||(this.network=new T7b);var a=new MF({logSource:this.logSource,getAuthHeaderValue:this.getAuthHeaderValue?this.getAuthHeaderValue:tMa,sessionIndex:this.sessionIndex,urlOverride:this.destinationUrl,isServiceWorkerScope:this.serviceWorkerScopeEnabled,disableAutomaticFlush:!1,disableWithCredentials:this.withCredentialsDisabled,backgroundJobDeferrer:this.backgroundJobDeferrer,network:this.network});hq(this,a);this.clearcutClientInfo&&a.setClearcutClientInfo(this.clearcutClientInfo);
this.buildLabel&&a.setBuildLabel(this.buildLabel);this.gzipCompressor&&a.setGzipCompressor(this.gzipCompressor);this.componentId&&a.setComponentId(this.componentId);this.productID&&a.setProductID(this.productID);this.pageId&&a.setPageId(this.pageId);this.clearExperimentIds&&a.setClearExperimentIds(this.clearExperimentIds);this.opaqueExperimentIds&&a.setOpaqueExperimentIds(this.opaqueExperimentIds);this.sendBeaconForFinalFlush&&(a.useSendBeaconForFinalFlush=this.sendBeaconForFinalFlush&&a.isSendBeaconSupported);
this.getRequestForFinalFlush&&(a.useGetRequestForFinalFlush=this.getRequestForFinalFlush);this.flushIntervalMs&&a.setFlushIntervalMs(this.flushIntervalMs);this.sendBeaconApiEnabled&&(a.sendBeaconApiEnabled=a.isSendBeaconSupported);S7b(a.logRequestBuilder);this.useConsistentTimezoneOffset&&a.setUseConsistentTimezoneOffset(!0);this.network.setLogSource&&this.network.setLogSource(this.logSource);this.network.setTransportReferenceAndAttemptFlush&&this.network.setTransportReferenceAndAttemptFlush(a);return a};var OF=function(a,b,c,d,e,f,h){a=a===void 0?-1:a;b=b===void 0?"":b;c=c===void 0?"":c;d=d===void 0?!1:d;e=e===void 0?"":e;Gz.call(this);this.logSource=a;this.componentId=b;f?c=f:(a=(new Wo(a,"0")).setComponentId(b),hq(this,a),c!==""&&(a.destinationUrl=c),d&&(a.serviceWorkerScopeEnabled=!0),e&&a.setBuildLabel(e),h&&(a.network=h),c=a.build());this.transport=c};X(OF,Gz);OF.prototype.getLogSource=function(){return this.logSource};OF.prototype.getComponentId=function(){return this.componentId};
OF.prototype.flush=function(a){a=a||[];if(a.length){for(var b=new s7b,c=[],d=0;d<a.length;d++){var e=a[d];var f=new zF;f=rj(f,1,e.metricName);for(var h=[],k=0;k<e.fields.length;k++)h.push(e.fields[k].field_name);f=Lj(f,3,h);h=[];k=[];for(var q=l(e.cellMap.keys()),t=q.next();!t.done;t=q.next())k.push(t.value.split(","));for(q=0;q<k.length;q++){t=k[q];var w=e.cellType;for(var B=e.getCells(t)||[],E=[],I=0;I<B.length;I++){var J=B[I],N=J&&J.cellValue;J=new p7b;switch(w){case 3:N=Number(N);Number.isFinite(N)&&
wj(J,1,q7b,Lb(N));break;case 2:wj(J,2,q7b,Bb(Number(N)))}E.push(J)}w=E;for(B=0;B<w.length;B++){E=w[B];I=new r7b;E=oj(I,p7b,2,E);I=t;J=[];N=[];for(var P=0;P<e.fields.length;P++)N.push(e.fields[P].field_type);for(P=0;P<N.length;P++){var U=N[P],ba=I[P],ma=new n7b;switch(U){case 3:Wi(ma,1,o7b,String(ba));break;case 2:U=Number(ba);Number.isFinite(U)&&wj(ma,2,o7b,U==null?U:Hb(U));break;case 1:wj(ma,3,o7b,Eb(ba==="true"))}J.push(ma)}gk(E,1,J);h.push(E)}}gk(f,4,h);c.push(f);e.clear()}gk(b,1,c);NF(this.transport,
b);this.transport.flush()}};var PF=function(){var a=new Wo(852,"0");a.setComponentId("");a.useSendBeaconForFinalFlush();a.useGetRequestForFinalFlush();a.sendBeaconApiEnabled=!0;a=new OF(852,void 0,void 0,void 0,void 0,a.build());a=this.service=new k0b(a);a.flushInterval=3E3;a.flushTimer.setInterval(3E3)};PF.\u0275fac=function(a){return new (a||PF)};PF.\u0275prov=Hc({token:PF,factory:PF.\u0275fac,providedIn:"root"});var U7b=Fl("debug-logging")(),QF=function(a,b){this.activeSession=a;this.streamz=b;this.pageLoadTime=new n0b(this.streamz.service);this.userLatency=new p0b(this.streamz.service);this.userActionCounter=new o0b(this.streamz.service);this.frontendAccessMode=this.activeSession.getFrontendAccessMode();this.environmentType=this.activeSession.getEnvironmentType()};
QF.prototype.timePageLoad=function(a,b){this.pageLoadTime.record(a,b,this.frontendAccessMode,this.environmentType);U7b&&console.log("Clearcut stub",{action:b,duration:a})};var RF=function(a,b,c){a.userLatency.record(b,c,a.frontendAccessMode,a.environmentType);U7b&&console.log("Clearcut stub",{action:c,duration:b})},V7b=function(a,b){a.userActionCounter.increment(b,a.frontendAccessMode,a.environmentType);U7b&&console.log("Clearcut stub",{action:b})};
QF.\u0275fac=function(a){return new (a||QF)(n(Ir),n(PF))};QF.\u0275prov=Hc({token:QF,factory:QF.\u0275fac,providedIn:"root"});var W7b=Hl("journey-log"),X7b=nya("journey-log"),SF={},Y7b=(SF.ssue__edit="edit",SF.ssue__addComment="comment",SF["ssue__light-ixn"]="ixn",SF.ssue__copyIssueId="ixn",SF["global-search__.*__.*text"]="ilp-search",SF["global-search__.*__filters"]="ilp-filter",SF),TF={startEvents:["ilp-search"],successEvents:["edit","ixn","comment"],abortEvents:["ilp-filter","idle"],successMarker:"SUCCESS-search",count:["nav"]},UF=function(a){this.clearcut=a},Z7b=function(a,b){var c=c===void 0?Date.now():c;var d,e=(d=
X7b())!=null?d:[];e.push([b,c]);e.length>100&&(e=e.slice(-100));W7b(e);if(TF.successEvents.includes(b)){b=e;c=TF.abortEvents;d=TF.successEvents;e=TF.startEvents;for(var f=TF.successMarker,h,k=b.length-1;k>=0;k--){var q=l(b[k]),t=q.next().value;q=q.next().value;if(c.includes(t))break;if(f===t)break;if(d.includes(t)){if(h&&w)break;var w=q}else w&&e.includes(t)&&(h=q)}w=h&&w?[h,w]:void 0;w&&(w=l(w),h=w.next().value,w=w.next().value-h,RF(a.clearcut,w,UDa("journey","global-search-text")),Gn("journey",
"global-search-text","duration",w),Z7b(a,TF.successMarker))}};UF.\u0275fac=function(a){return new (a||UF)(n(QF))};UF.\u0275prov=Hc({token:UF,factory:UF.\u0275fac,providedIn:"root"});var VF=function(a){var b=this;this.clearcut=a;this.onMeasurement=function(c){c.getEntries().forEach(b.sendToClearcut)};this.sendToClearcut=function(c){var d=c.name;d&&d.startsWith("GTM-")||(c=Math.round(c.duration),d!=null&&(isNaN(c)||b.clearcut.timePageLoad&&b.clearcut.timePageLoad(c,d)))}},$7b=function(a){En()&&(a.observer!=null&&a.observer.disconnect(),a.observer=new qDa.PerformanceObserver(a.onMeasurement),a.observer.observe({entryTypes:["measure"]}))};
VF.\u0275fac=function(a){return new (a||VF)(n(QF))};VF.\u0275prov=Hc({token:VF,factory:VF.\u0275fac,providedIn:"root"});var Ln={},a8b={logInfo:function(){console.log(WDa());console.log("\nDuplicate Requests:");console.table(VDa())},getCounts:function(){return Ln},getDupes:VDa,getAggregates:WDa};var b8b={attributes:!1,childList:!0,subtree:!0},WF=function(a,b,c){var d=this;this.ngZone=a;this.router=b;this.activatedRoute=c;this.dom$=new W.Subject;this.cdr$=this.ngZone.onStable;this.xhr$=new W.Subject;this.render$=(0,W.merge)(this.dom$,this.cdr$);this.renderSettled$=this.render$.pipe(bf(200));this.navigatedTo$=this.router.events.pipe(te(YDa),y(function(){return XDa(d.activatedRoute.snapshot)}));this.navigatedTo$.pipe(pf(function(e){return d.renderSettled$.pipe(ef(),y(function(){return e}))}),
mf(1));this.domObserver=new MutationObserver(function(){return void d.dom$.next()})},c8b=function(a){a.domObserver.disconnect();a.domObserver.observe(document.body,b8b)};WF.prototype.intercept=function(a,b){var c=a.method+" "+a.urlWithParams;Ln[c]=~~Ln[c]+1;this.xhr$.next(c);return b.handle(a)};WF.\u0275fac=function(a){return new (a||WF)(n(ze),n(pB),n(ai))};WF.\u0275prov=Hc({token:WF,factory:WF.\u0275fac,providedIn:"root"});var d8b={provide:WA,useExisting:WF,multi:!0};var XF=function(){Xu.apply(this,arguments)};X(XF,Xu);XF.create=Xu.create;XF.prototype.emit=function(a){Xu.prototype.emit.call(this,a)};var Z=function(){this.destroyed$=new W.ReplaySubject(1);this.subscriptions=new W.Subscription};Z.prototype.ngOnDestroy=function(){this.destroyed$.next();this.destroyed$.complete();this.subscriptions.unsubscribe()};Z.\u0275fac=function(a){return new (a||Z)};Z.\u0275dir=fd({type:Z});var YF=function(a,b){this.cdr=a;this.zone=b;this.destroyed=!1};YF.prototype.ngOnDestroy=function(){this.destroyed=!0};YF.prototype.detectChanges=function(){var a=this;this.destroyed||this.zone.run(function(){a.cdr.detectChanges()})};YF.prototype.markForCheck=function(){var a=this;this.destroyed||this.zone.run(function(){a.cdr.markForCheck()})};YF.\u0275fac=function(a){return new (a||YF)(n(Ig),n(ze))};YF.\u0275prov=Hc({token:YF,factory:YF.\u0275fac});var ZF=function(a){Z.call(this);var b=this;this.ngZone=a;this.activeSubject$=new W.BehaviorSubject(!1);this.active$=this.activeSubject$.pipe(df(),qf(this.destroyed$),$Da(this.ngZone));this.onUserEvent=k_b(function(){b.activeSubject$.next(!0);e8b(b)},200);this.onVisibilityChange=function(){document.visibilityState==="hidden"?(b.activeSubject$.next(!1),clearTimeout(b.activeTimeoutId)):(b.activeSubject$.next(!0),e8b(b))}};X(ZF,Z);ZF.\u0275dir=Z.\u0275dir;
ZF.prototype.install=function(){var a=this;if(document.visibilityState==="visible")this.onUserEvent();this.ngZone.runOutsideAngular(function(){window.addEventListener("click",a.onUserEvent);window.addEventListener("keydown",a.onUserEvent);window.addEventListener("mousemove",a.onUserEvent);window.addEventListener("wheel",a.onUserEvent);window.addEventListener("touchstart",a.onUserEvent);window.addEventListener("focus",a.onUserEvent)});document.addEventListener("visibilitychange",this.onVisibilityChange)};
ZF.prototype.ngOnDestroy=function(){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 e8b=function(a){clearTimeout(a.activeTimeoutId);a.activeTimeoutId=setTimeout(function(){a.activeSubject$.next(!1)},3E3)};ZF.\u0275fac=function(a){return new (a||ZF)(n(ze))};ZF.\u0275prov=Hc({token:ZF,factory:ZF.\u0275fac,providedIn:"root"});var f8b=[ki,mi,li],aG=function(a,b){Z.call(this);var c=this;this.router=a;this.activatedRoute=b;this.routeChangeStart=new W.Subject;this.routeChangeSuccess=new W.Subject;this.locationChangeStart=new W.Subject;this.locationChangeSuccess=new W.Subject;this.routeUpdate=new W.Subject;this.viewContentLoaded=new W.Subject;this.navigationEnd$=this.router.events.pipe(te(YDa));this.navigationOver$=this.router.events.pipe(te(function(d){return f8b.some(function(e){return d instanceof e})}));$F(this,qsa).subscribe(function(d){c.routeChangeStart.next({params:Object.assign({},
d.snapshot.queryParams,d.snapshot.params)})});a=$F(this,$0b);(0,W.merge)(this.navigationOver$.pipe(jf(W.NEVER)),this.routeChangeStart.pipe(jf(a))).pipe(pf($d),qf(this.destroyed$),te(function(d){return d.snapshot.routeConfig.isRootRoute}),y(function(d){return{params:Object.assign({},d.snapshot.queryParams,d.snapshot.params)}})).subscribe(function(d){c.routeChangeSuccess.next(d)});$F(this,Mn).pipe(y(function(d){return d.url}),df()).subscribe(function(){c.locationChangeStart.next()});$F(this,ki).pipe(y(function(d){return d.url}),
df()).subscribe(function(){c.locationChangeSuccess.next()});a=this.activatedRoute.queryParams.pipe(tf($F(this,tA)));(0,W.merge)(this.routeChangeStart.pipe(jf(W.NEVER)),this.navigationOver$.pipe(jf(a))).pipe(pf($d),qf(this.destroyed$)).subscribe(function(d){d=l(d);d.next();d=d.next().value;c.routeUpdate.next({params:d.state.root.params})});$F(this,ki).subscribe(function(){c.viewContentLoaded.next()})};X(aG,Z);aG.\u0275dir=Z.\u0275dir;
var $F=function(a,b){return a.router.events.pipe(te(function(c){return c instanceof b}),y(function(c){return c}),qf(a.destroyed$))};aG.\u0275fac=function(a){return new (a||aG)(n(pB),n(ai))};aG.\u0275prov=Hc({token:aG,factory:aG.\u0275fac,providedIn:"root"});var g8b=Fl("onedev-darkmode"),h8b=Fl("hasClickedCommentSortBtn"),bG=function(a,b,c,d){Z.call(this);var e=this;this.journeyTracker=d;this.preapply=function(){return function(w){return function(B,E){e.trackEvent("editIssue",w,B,E)}}};NDa();In("dimension13",b.getUserTypeLabel());d=b.getUserPreferences();In("dimension7",g8b()?"dark":"default");var f;In("dimension3",(f=d.themePreferences)==null?void 0:f.density);In("dimension6",b.getFlag("readUnreadOptOut"));In("dimension8",b.getFlag("enableEnhancedCommentThread"));
In("dimension9",h8b());f=d.showFullHistory?"fh":"comments";var h;if(b.getFlag("enableCommentFiltering")&&((h=d.commentFilterPreferences)==null?0:h.commentFilter)){var k;f=(k=d.commentFilterPreferences)==null?void 0:k.commentFilter}Hn("dimension2",f);Hn("dimension5",d.showRecentEventsFirst?"newestFirst":"oldestFirst");In("dimension11",b.getFlag("enableHomepageVariantA"));var q,t;b=((t=(q=d.missionControlPreferences)==null?void 0:q.workAreaUrls)!=null?t:[]).length;Hn("dimension12",b>0);this.subscriptions.add(a.viewContentLoaded.pipe(of(void 0)).subscribe(function(){var w=
XDa(c.snapshot);HDa("page_location",w);CDa("page_view",{page_path:w})}))};X(bG,Z);bG.\u0275dir=Z.\u0275dir;bG.prototype.trackEvent=function(a,b,c,d){Gn(a,b,c,typeof d==="boolean"?d?1:0:d);d=this.journeyTracker;a=UDa(a,b,c);b=l(Object.entries(Y7b));for(c=b.next();!c.done;c=b.next()){var e=l(c.value);c=e.next().value;e=e.next().value;if(a.match(new RegExp(c))){Z7b(d,e);break}}};
var i8b=function(a,b,c){CDa("timing",Object.assign({},{timing_category:"userAction",timing_var:a,timing_value:b},c!==void 0?{timing_label:c}:{}))},j8b=function(a,b){a.trackEvent("editIssue","updateStatus",b)};bG.\u0275fac=function(a){return new (a||bG)(n(aG),n(Ir),n(ai),n(UF))};bG.\u0275prov=Hc({token:bG,factory:bG.\u0275fac,providedIn:"root"});var cG=function(a){this.internalArray_=m(a)};X(cG,Y);cG.prototype.getIssueIdsList_asLegacyNumberOrString=function(){return Nk(this,1,yj())};cG.prototype.getIssueIdsList_asString=function(){return Fk(this,1)};cG.prototype.setIssueIdsList=function(a){return Al(this,1,a)};cG.repeatedFields_=[1];var dG=function(a){this.internalArray_=m(a)};X(dG,Y);g=dG.prototype;g.getComponentId=function(){return ej(this,1)};g.getComponentId_asLegacyNumberOrString=function(){return ej(this,1)};g.getComponentId_asString=function(){return du(this,1)};g.setComponentId=function(a){return bj(this,1,a)};g.getType=function(){return fj(this,2,0)};g.setType=function(a){return dj(this,2,a)};g.getPriority=function(){return fj(this,3,0)};g.setPriority=function(a){return dj(this,3,a)};
g.getSeverity=function(){return fj(this,4,0)};g.setSeverity=function(a){dj(this,4,a)};g.getStatus=function(){return fj(this,5,0)};g.setStatus=function(a){return dj(this,5,a)};g.getReporter=function(){return $i(this,Ni,6)};g.setReporter=function(a){oj(this,Ni,6,a)};g.getAssignee=function(){return $i(this,Ni,7)};g.setAssignee=function(a){oj(this,Ni,7,a)};g.clearAssignee=function(){return oo(this,7)};g.getVerifier=function(){return $i(this,Ni,8)};g.setVerifier=function(a){oj(this,Ni,8,a)};
g.clearVerifier=function(){return oo(this,8)};g.getCcsList=function(){return xj(this,Ni,9,yj())};g.setCcsList=function(a){gk(this,9,a)};g.addAllCcs=function(a){Zt(this,9,Ni,a)};g.getCollaboratorsList=function(){return xj(this,Ni,23,yj())};g.setCollaboratorsList=function(a){gk(this,23,a)};g.addAllCollaborators=function(a){Zt(this,23,Ni,a)};g.setCollaborators=function(a){Xt(this,23,Ni,a)};g.getHotlistIdsList_asLegacyNumberOrString=function(a){return Nk(this,10,yj(a))};
g.setHotlistIdsList=function(a){Al(this,10,a)};g.addHotlistIds=function(a,b){return nc(this,10,Kb,a,b)};g.addAllHotlistIds=function(a){mc(this,10,Kb,a)};g.getBlockedByIssueIdsList_asLegacyNumberOrString=function(){return Nk(this,11,yj())};g.setBlockedByIssueIdsList=function(a){Al(this,11,a)};g.addAllBlockedByIssueIds=function(a){mc(this,11,Kb,a)};g.getBlockingIssueIdsList_asLegacyNumberOrString=function(){return Nk(this,12,yj())};g.setBlockingIssueIdsList=function(a){Al(this,12,a)};
g.addAllBlockingIssueIds=function(a){mc(this,12,Kb,a)};g.getCanonicalIssueId_asLegacyNumberOrString=function(){return ej(this,13)};g.setCanonicalIssueId=function(a){bj(this,13,a)};g.getDuplicateIssueIdsList_asLegacyNumberOrString=function(){return Nk(this,14,yj())};g.setDuplicateIssueIdsList=function(a){Al(this,14,a)};g.getInProd=function(){return Hj(this,15)};g.setInProd=function(a){Kj(this,15,a)};g.getSloSnoozeUntil=function(){return $i(this,Ii,16)};
g.setSloSnoozeUntil=function(a){oj(this,Ii,16,a)};g.getSloEndTime=function(){return $i(this,Ii,25)};g.setSloEndTime=function(a){oj(this,Ii,25,a)};g.hasSloEndTime=function(){return dk(this,Ii,25)};g.getRetention=function(){return fj(this,17,0)};g.setRetention=function(a){return dj(this,17,a)};g.getEntityStatus=function(){return $i(this,pj,18)};g.setEntityStatus=function(a){return oj(this,pj,18,a)};g.getIsArchived=function(){return Hj(this,19)};g.setIsArchived=function(a){return Kj(this,19,a)};
g.getEffort=function(){return $i(this,kk,24)};g.setEffort=function(a){oj(this,kk,24,a)};g.hasEffort=function(){return dk(this,kk,24)};g.getAccessLimit=function(){return $i(this,Yi,26)};g.setAccessLimit=function(a){return oj(this,Yi,26,a)};dG.repeatedFields_=[9,23,10,11,12,14];var eG=function(a){this.internalArray_=m(a)};X(eG,Y);g=eG.prototype;g.getIssueId=function(){return ej(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return ej(this,1)};g.getIssueId_asString=function(){return du(this,1)};g.setIssueId=function(a){return bj(this,1,a)};g.getIssueState=function(){return $i(this,dG,2)};g.setIssueState=function(a){return oj(this,dG,2,a)};g.getVersion=function(){return gj(this,3)};g.setVersion=function(a){return Gi(this,3,a)};
g.getEtag=function(){return no(this,16)};g.setEtag=function(a){nj(this,16,a)};g.getCreatedTime=function(){return $i(this,Ii,4)};g.setCreatedTime=function(a){return oj(this,Ii,4,a)};g.getModifiedTime=function(){return $i(this,Ii,5)};g.setModifiedTime=function(a){return oj(this,Ii,5,a)};g.getMajorModifiedTime=function(){return $i(this,Ii,14)};g.setMajorModifiedTime=function(a){return oj(this,Ii,14,a)};g.getResolvedTime=function(){return $i(this,Ii,6)};
g.setResolvedTime=function(a){return oj(this,Ii,6,a)};g.getVerifiedTime=function(){return $i(this,Ii,7)};g.setVerifiedTime=function(a){return oj(this,Ii,7,a)};g.getSloId_asLegacyNumberOrString=function(){return ej(this,9)};g.setSloId=function(a){return bj(this,9,a)};g.getSloStatus=function(){return $i(this,gm,10)};g.setSloStatus=function(a){oj(this,gm,10,a)};g.hasSloStatus=function(){return dk(this,gm,10)};g.getTeamId_asLegacyNumberOrString=function(){return ej(this,13)};
g.setTeamId=function(a){return bj(this,13,a)};g.getRetentionState=function(){return $i(this,hm,11)};g.setRetentionState=function(a){oj(this,hm,11,a)};g.getAccessLimit=function(){return $i(this,Zi,12)};g.setAccessLimit=function(a){return oj(this,Zi,12,a)};g.getParentIssueIdsList_asLegacyNumberOrString=function(){return Nk(this,17,yj())};g.setParentIssueIdsList=function(a){return Al(this,17,a)};g.getAncestorsMap=function(){return ic(this,19,im,Vca)};g.getIsArchived=function(){return Hj(this,18)};
g.setIsArchived=function(a){return Kj(this,18,a)};eG.repeatedFields_=[17];var fG=function(a){this.internalArray_=m(a,0,fG.messageId)};X(fG,Y);fG.prototype.getIt=function(){return $i(this,eG,14)};fG.prototype.setIt=function(a){return oj(this,eG,14,a)};fG.messageId="b.IssueMetadata";var k8b=function(a){this.internalArray_=m(a)};X(k8b,Y);k8b.prototype.getIt=function(){return $i(this,cG,4)};k8b.prototype.setIt=function(a){return oj(this,cG,4,a)};var l8b=function(a){this.internalArray_=m(a)};X(l8b,Y);var gG=function(a){this.internalArray_=m(a,0,gG.messageId)};X(gG,Y);gG.prototype.getIt=function(){return $i(this,l8b,2)};gG.prototype.setIt=function(a){return oj(this,l8b,2,a)};gG.messageId="b.UpdateIssueReadTimestampResponse";var hG=function(a){this.executor=a};hG.prototype.delete=function(a,b){b=(new MC).setIt((new JC).setIssueId(Number(a)).setReason(R3b[nua(b)]));return this.executor.post({url:"action/issues/"+a+"/delete",body:b,responseConstructor:null})};hG.prototype.undelete=function(a){var b=(new QC).setIt((new LC).setIssueId(Number(a)));return this.executor.post({url:"action/issues/"+a+"/undelete",body:b,responseConstructor:null})};
hG.prototype.getMetadata=function(a){return this.executor.get({url:"action/issues/"+a+"/metadata",responseConstructor:fG}).then(xza)};hG.prototype.markRead=function(a,b,c){b=b===void 0?!0:b;c=c===void 0?"USER_ACTIVITY_TYPE_UNDEFINED":c;var d=new k8b,e=d.setIt;a=(new cG).setIssueIdsList(a.map(Number));b=Kj(a,2,b);c=dj(b,3,Y3b[c]);d=e.call(d,c);return this.executor.post({url:"action/issues/read_timestamp",body:d,responseConstructor:gG}).then(wza)};hG.\u0275fac=function(a){return new (a||hG)(n(JB))};
hG.\u0275prov=Hc({token:hG,factory:hG.\u0275fac,providedIn:"root"});var iG=function(){this.refreshRequest=new W.Subject};iG.prototype.getObservable=function(){return this.refreshRequest};var m8b=function(a,b){return a.getObservable().pipe(of(void 0)).pipe(pf(function(){return b}))};iG.\u0275fac=function(a){return new (a||iG)};iG.\u0275prov=Hc({token:iG,factory:iG.\u0275fac,providedIn:"root"});var jG=function(a,b,c,d,e,f,h,k){UB.call(this);var q=this;this.batchApiAdapter=a;this.issueResources=b;this.userResources=c;this.refreshMonitor=d;this.issueService=e;this.activeSession=f;this.hotlistFridge=h;this.analytics=k;this.recordType="issue";this.normalizeQueryResponses=!1;this.idForRecord=function(t){return String(t.issueId)};this.isEqual=pi;this.get=this.batchApiAdapter.adapt({bufferTimeMs:0,call:function(t){return q.call(t)},split:function(t,w){return q.splitBatch(t,w)}});this.refreshMonitor.getObservable().subscribe(function(){q.invalidate()})};
X(jG,UB);jG.prototype.fetchOne=function(a){return this.get(a)};jG.prototype.fetchSet=function(a){var b=this;return(0,W.combineLatest)(a.map(function(c){return b.fetchOne(c)})).pipe(y(function(c){return c.filter(lj)}))};
jG.prototype.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 B5b(this.issueResources,d).pipe(y(function(e){return{results:e}}),$e(function(e){Di("issueFridge -> listRecentIssues() API error",e);return(0,W.of)({results:[]})}));if(c)return this.issueResources.listIssues(c,a).pipe(y(function(e){return{results:e.issues,totalSize:e.numTotalResults}}));throw Error("Yc");};jG.prototype.copy=function(a){return a&&qi(a)};
var n8b=function(a,b,c){a.analytics.trackEvent("issue","light-ixn","star");var d={starred:c,voted:null,notificationSubscription:null};xC(a.activeSession)&&(d.voted=c);return e7b(a.userResources,b,d).pipe(sf(function(){TB(a,b,function(e){e.userData&&(e.userData.starred=c,xC(a.activeSession)&&(e.userData.voted=c))})}))},o8b=function(a,b,c){a.analytics.trackEvent("issue","light-ixn","vote",c);return e7b(a.userResources,b,{voted:c,starred:null,notificationSubscription:null}).pipe(sf(function(){TB(a,b,
function(d){d.userData&&(d.userData.voted=c)})}))};jG.prototype.setNotificationSubscription=function(a,b){var c=this,d;return fe(function(e){if(e.nextAddress==1)return c.analytics.trackEvent("issue","light-ixn","notifs",Number(b)),d={voted:null,starred:null,notificationSubscription:b},he(e,(0,W.firstValueFrom)(e7b(c.userResources,a,d)),2);TB(c,a,function(f){f.userData&&(f.userData.notificationSubscription=b)});le(e)})};
var p8b=function(a,b,c){a.analytics.trackEvent("issue","edit","title");var d={issueId:b,actions:[{fieldName:"title",value:c}]};TB(a,b,function(e){e.snapshot[0].title=c});return a.issueResources.updateIssue(b,d).pipe(sf(function(e){e&&a.announce(e)}))},q8b=function(a,b,c,d){var e,f,h,k,q,t;return fe(function(w){if(w.nextAddress==1){a.analytics.trackEvent("issue","edit","hotlists");e={removeHotlistIds:d,addHotlistIds:c,hotlistIssue:{issueId:b}};f=l([].concat(r(c),r(d)));for(h=f.next();!h.done;h=f.next())k=
h.value,a.hotlistFridge.setIsSaving(k);ge(w,2);return he(w,(0,W.firstValueFrom)(a.issueResources.updateIssueHotlists(b,e)).finally(function(){for(var B=l([].concat(r(c),r(d))),E=B.next();!E.done;E=B.next())a.hotlistFridge.clearIsSaving(E.value)}),4)}if(w.nextAddress!=2)return(q=w.yieldResult)&&a.announce(q),w.return(q);t=ke(w);a.poke(b);throw t;})},r8b=function(a,b,c){return kG(a,"ADD","DUPLICATE",c,[b]).then(function(){c!=null&&j8b(a.analytics,"DUPLICATE");return a.poke(b)})};g=jG.prototype;
g.removeDuplicate=function(a,b){var c=this;return kG(this,"REMOVE","DUPLICATE",b,[a]).then(function(){return c.poke(a)})};g.addBlocking=function(a,b){return kG(this,"ADD","BLOCKING",a,b)};g.removeBlocking=function(a,b){return kG(this,"REMOVE","BLOCKING",a,b)};g.addBlockedBy=function(a,b){return kG(this,"ADD","BLOCKED_BY",a,b)};g.removeBlockedBy=function(a,b){return kG(this,"REMOVE","BLOCKED_BY",a,b)};
var kG=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};s8b(a,b);var f=[d].concat(r(e));e=l(f);for(c=e.next();!c.done;c=e.next())a.setIsSaving(c.value);return(0,W.firstValueFrom)(a.issueResources.relateIssue(d,b)).then(function(h){h&&a.announce(h)}).catch(function(h){a.poke(d);throw h;}).finally(function(){for(var h=l(f),k=h.next();!k.done;k=h.next())a.clearIsSaving(k.value)})},
lG=function(a,b,c){c=c===void 0?{}:c;var d=c.markRead===void 0?!0:c.markRead;var e=c.eagerUpdate===void 0?!0:c.eagerUpdate;var f=c.userActivityType===void 0?"USER_ACTIVITY_TYPE_UNDEFINED":c.userActivityType;var h,k,q,t;return fe(function(w){if(w.nextAddress==1)return a.activeSession.isAnonymous()?w.return():he(w,a.issueService.markRead(b,d,f),2);h=w.yieldResult;if(e)for(k=l(b),q=k.next();!q.done;q=k.next())t=q.value,TB(a,String(t),function(B){B.userData&&(B.userData.lastViewedTimeMicros=h.readTimestamp)});
return w.return(h.readTimestamp?Math.round(h.readTimestamp/1E3):void 0)})},s8b=function(a,b){TB(a,b.issueId,function(c){switch(b.relation){case "BLOCKED_BY":if(b.actionType==="ADD"){var d;c.snapshot[0].blockedByIssueId=[].concat(r((d=c.snapshot[0].blockedByIssueId)!=null?d:[]),r(b.targetIds.map(String)))}else if(b.actionType==="REMOVE"){var e,f;c.snapshot[0].blockedByIssueId=(f=(e=c.snapshot[0].blockedByIssueId)==null?void 0:e.filter(function(h){return!b.targetIds.includes(String(h))}))!=null?f:[]}}})};
jG.prototype.call=function(a){if(a.size===1){var b=[].concat(r(a))[0];return this.issueResources.getIssue(b).pipe(y(function(c){return new Map([[b,c]])}))}return this.issueResources.batchGetIssues([].concat(r(a))).pipe(y(function(c){return new Map(c.map(function(d){return[d.issueId,d]}))}))};jG.prototype.splitBatch=function(a,b){return b.get(a)};jG.\u0275fac=function(a){return new (a||jG)(n(sC),n(OD),n($E),n(iG),n(hG),n(Ir),n(bF),n(bG))};jG.\u0275prov=Hc({token:jG,factory:jG.\u0275fac,providedIn:"root"});var Nn=function(a){this.internalArray_=m(a)};X(Nn,Y);var t8b=function(a){this.internalArray_=m(a)};X(t8b,Y);g=t8b.prototype;g.getIssueId=function(){return ej(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return ej(this,1)};g.getIssueId_asString=function(){return du(this,1)};g.setIssueId=function(a){return bj(this,1,a)};g.setRelationshipType=function(a){return dj(this,2,a)};g.getIssueRelationship=function(){return $i(this,Nn,3)};g.setIssueRelationship=function(a){return oj(this,Nn,3,a)};
g.setSignificanceOverride=function(a){return dj(this,4,a)};var mG=function(a){this.internalArray_=m(a)};X(mG,Y);g=mG.prototype;g.getIssueId=function(){return ej(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return ej(this,1)};g.getIssueId_asString=function(){return du(this,1)};g.setIssueId=function(a){return bj(this,1,a)};g.setRelationshipType=function(a){return dj(this,2,a)};g.setRequestsList=function(a){return gk(this,3,a)};g.addAndReturnRequests=function(){return Tda(this,3,t8b)};g.setSignificanceOverride=function(a){return dj(this,4,a)};
mG.repeatedFields_=[3];var nG=function(a){this.internalArray_=m(a)};X(nG,Y);g=nG.prototype;g.getIssueId=function(){return ej(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return ej(this,1)};g.getIssueId_asString=function(){return du(this,1)};g.setIssueId=function(a){return bj(this,1,a)};g.setRelationshipType=function(a){return dj(this,2,a)};g.setSignificanceOverride=function(a){return dj(this,4,a)};nG.repeatedFields_=[3];var oG=function(a){this.internalArray_=m(a)};X(oG,Y);g=oG.prototype;g.setRelationshipType=function(a){return dj(this,1,a)};g.getSourceIssueIdsList_asLegacyNumberOrString=function(){return Nk(this,2,yj())};g.setSourceIssueIdsList=function(a){return Al(this,2,a)};g.getQuery=function(){return Kh(this,3)};g.setQuery=function(a){return cj(this,3,a)};g.clearQuery=function(){oo(this,3)};oG.repeatedFields_=[2];var pG=function(a){this.internalArray_=m(a)};X(pG,Y);var u8b=function(a,b){return Al(a,1,b)};pG.prototype.setRelationshipType=function(a){return dj(this,2,a)};var v8b=function(a,b){return Gi(a,3,b)},w8b=function(a,b){return Gi(a,4,b)};pG.prototype.getQuery=function(){return Kh(this,5)};pG.prototype.setQuery=function(a){return cj(this,5,a)};pG.prototype.clearQuery=function(){oo(this,5)};pG.repeatedFields_=[1];var qG=function(a){this.internalArray_=m(a,0,qG.messageId)};X(qG,Y);qG.prototype.getIt=function(){return $i(this,mG,5)};qG.prototype.setIt=function(a){return oj(this,mG,5,a)};qG.messageId="b.BatchCreateIssueRelationshipsRequest";var rG=function(a){this.internalArray_=m(a,0,rG.messageId)};X(rG,Y);rG.prototype.getIssueRelationshipsList=function(){return xj(this,Nn,1,yj())};rG.repeatedFields_=[1];rG.messageId="b.BatchCreateIssueRelationshipsResponse";var sG=function(a){this.internalArray_=m(a,0,sG.messageId)};X(sG,Y);sG.prototype.getIt=function(){return $i(this,nG,5)};sG.prototype.setIt=function(a){return oj(this,nG,5,a)};sG.messageId="b.BatchDeleteIssueRelationshipsRequest";var tG=function(a){this.internalArray_=m(a,0,tG.messageId)};X(tG,Y);tG.prototype.getIt=function(){return $i(this,oG,4)};tG.prototype.setIt=function(a){return oj(this,oG,4,a)};tG.messageId="b.BatchGetIssueRelationshipsRequest";var uG=function(a){this.internalArray_=m(a)};X(uG,Y);uG.prototype.getIssueRelationshipsList=function(){return xj(this,Nn,1,yj())};uG.prototype.getTotalSize=function(){return gj(this,2)};uG.repeatedFields_=[1];var vG=function(a){this.internalArray_=m(a,0,vG.messageId)};X(vG,Y);vG.repeatedFields_=[1];vG.messageId="b.BatchGetIssueRelationshipsResponse";var wG=function(a){this.internalArray_=m(a,0,wG.messageId)};X(wG,Y);wG.prototype.getIssueRelationship=function(){return $i(this,Nn,1)};wG.prototype.setIssueRelationship=function(a){return oj(this,Nn,1,a)};wG.messageId="b.CreateIssueRelationshipResponse";var xG=function(a){this.internalArray_=m(a,0,xG.messageId)};X(xG,Y);xG.prototype.getIt=function(){return $i(this,pG,6)};xG.prototype.setIt=function(a){return oj(this,pG,6,a)};xG.messageId="b.GetIssueDescendantsRequest";var x8b=function(a){this.internalArray_=m(a,0,x8b.messageId)};X(x8b,Y);x8b.messageId="b.GetIssueDescendantsResponse";var yG=function(a){this.internalArray_=m(a,0,yG.messageId)};X(yG,Y);yG.prototype.getIssueRelationshipsList=function(){return xj(this,Nn,1,yj())};yG.repeatedFields_=[1];yG.messageId="b.ListIssueRelationshipsResponse";var zG=function(a){this.internalArray_=m(a,0,zG.messageId)};X(zG,Y);zG.prototype.getIssueRelationship=function(){return $i(this,Nn,1)};zG.prototype.setIssueRelationship=function(a){return oj(this,Nn,1,a)};zG.messageId="b.UpdateIssueRelationshipResponse";var AG=function(a){this.executor=a};g=AG.prototype;g.list=function(a,b){return this.executor.get({url:"action/issues/"+a+"/relationships?relationshipType="+EB[b],responseConstructor:yG}).pipe(y(function(c){return c.getIssueRelationshipsList().map(On)}))};g.create=function(a,b,c){b=EB[b];c=bEa(c);return this.executor.post({url:"action/issues/"+a+"/relationships?relationshipType="+b,body:c,responseConstructor:wG}).pipe(y(function(d){return On(d.getIssueRelationship())}))};
g.update=function(a,b,c){b=EB[b];var d=bEa(c);return this.executor.put({url:"action/issues/"+a+"/relationships/"+c.targetIssueId+"?relationshipType="+b,body:d,responseConstructor:zG}).pipe(y(function(e){return On(e.getIssueRelationship())}))};g.delete=function(a,b,c){return this.executor.delete({url:"action/issues/"+a+"/relationships/"+c+"?relationshipType="+EB[b],responseConstructor:null})};
g.batchGet=function(a,b){b=EB[b];a=(new tG).setIt((new oG).setSourceIssueIdsList(a).setRelationshipType(b).setQuery(this.getQuery(void 0)));return this.executor.post({url:"action/issues/batch_relationships",body:a,responseConstructor:vG}).pipe(y(function(c){return xj(c,uG,1,yj()).map(cEa)}))};
var y8b=function(a,b,c){var d=EB.CHILD;c=c.map(function(e){e=bEa(e);return(new t8b).setIssueRelationship(e)});b=(new qG).setIt((new mG).setIssueId(b).setRelationshipType(d).setSignificanceOverride(c.length>1?4:0).setRequestsList(c));return a.executor.post({url:"action/issues/relationships_batchCreate",body:b,responseConstructor:rG}).pipe(y(function(e){return e.getIssueRelationshipsList().map(On)}))},z8b=function(a,b,c){var d=EB.CHILD,e=new sG,f=e.setIt;b=(new nG).setIssueId(b).setRelationshipType(d);
c=Al(b,3,c);e=f.call(e,c);return a.executor.post({url:"action/issues/relationships_batchDelete",body:e,responseConstructor:null})};
AG.prototype.getDescendants=function(a){var b=a.issueIds;var c=a.relationshipType;var d=a.includeArchived;var e=a.depthLimit;a=a.prefixSizeLimit;c=EB[c];b=(new xG).setIt(w8b(v8b(u8b(new pG,b).setRelationshipType(c).setQuery(this.getQuery(d)),e),a));return this.executor.post({url:"action/issues/descendants",body:b,responseConstructor:x8b}).pipe(y(function(f){var h=new Map;f=l(ic(f,1,uG,Vca).entries());for(var k=f.next();!k.done;k=f.next()){var q=l(k.value);k=q.next().value;q=q.next().value;h.set(String(k),
cEa(q))}return h}))};AG.prototype.getQuery=function(a){return a?"include_archived:true":"include_archived:false"};AG.\u0275fac=function(a){return new (a||AG)(n(IB))};AG.\u0275prov=Hc({token:AG,factory:AG.\u0275fac,providedIn:"root"});var BG={},A8b=(BG.BUG="BUG",BG.FEATURE_REQUEST="FEATURE_REQUEST",BG.CUSTOMER_ISSUE="CUSTOMER_ISSUE",BG.INTERNAL_CLEANUP="INTERNAL_CLEANUP",BG.PROCESS="PROCESS",BG.VULNERABILITY="VULNERABILITY",BG.PRIVACY_ISSUE="PRIVACY_ISSUE",BG.EPIC="STORY",BG.STORY="TASK",BG.TASK="TASK",BG.PROJECT="TASK",BG.FEATURE="TASK",BG.MILESTONE="TASK",BG.PROGRAM="PROJECT",BG);var CG=function(a,b,c){SB.call(this,{freshUntil:6E4,ancientAfter:792E5});var d=this;this.issueRelationshipService=a;this.issueFridge=b;this.refreshMonitor=c;this.recordType="issueRelationships";this.idForRecord=function(e){return e.issueId};this.isEqual=pi;this.activeMoveOperation$=new W.BehaviorSubject(new Set);this.defaultQuery={type:"descendants",depth:1};this.assignParentToIssues=eEa(function(e,f){return B8b(d,e,f)});this.assignParentToOneIssue=function(e,f){return B8b(d,String(e),[{issueId:f}])};
this.moveChildrenInAPI=dEa(function(e){return d.moveChildrenInAPISequentially(e)});this.moveChildrenInAPISequentially=eEa(function(e){var f,h,k,q,t,w,B,E,I,J,N,P,U,ba,ma,na,ya,Pa,ia,qa,ua,Oa,Ka,Cb,Qb,Rb;return fe(function(Wa){switch(Wa.nextAddress){case 1:h=kEa(e);if(h.length===0)return Wa.return();k=h.map(function(xb){return xb.issues.map(function(Qa){return Qa.parentId})}).flat();q=h.map(function(xb){return xb.newParentId});t=Sm([].concat(r(k),r(q)));w=l(t);for(B=w.next();!B.done;B=w.next())E=B.value,
d.setIsSaving(E);ge(Wa,2);I=l(h);J=I.next();case 4:if(J.done){Ft(Wa,3);break}N=J.value;P=l(N.newRelations);U=P.next();ba={};case 7:if(U.done){J=I.next();Wa.jumpTo(4);break}ba.newRelation=U.value;ma=N.issues.find(function(xb){return function(Qa){return Qa.issueId===xb.newRelation.targetIssueId}}(ba)).parentId;return N.newParentId===ma?he(Wa,(0,W.firstValueFrom)(d.issueRelationshipService.update(N.newParentId,"CHILD",{afterIssueId:ba.newRelation.afterIssueId,targetIssueId:ba.newRelation.targetIssueId})),
8):he(Wa,(0,W.firstValueFrom)(d.issueRelationshipService.create(N.newParentId,"CHILD",{afterIssueId:ba.newRelation.afterIssueId,targetIssueId:ba.newRelation.targetIssueId})).catch(function(xb){var Qa,hb;if(!(xb==null?0:(Qa=xb.error)==null?0:(hb=Qa.details)==null?0:hb.includes("ALREADY_EXISTS")))throw xb;}),12);case 12:return he(Wa,(0,W.firstValueFrom)(d.issueRelationshipService.delete(ma,"CHILD",ba.newRelation.targetIssueId)),8);case 8:ba={newRelation:void 0};U=P.next();Wa.jumpTo(7);break;case 2:f=
na=ke(Wa);case 3:ya=d.activeMoveOperation$.value;Pa=l(e.map(function(xb){return xb.eventTimestamps}).flat());for(ia=Pa.next();!ia.done;ia=Pa.next())qa=ia.value,ya.delete(qa);d.activeMoveOperation$.next(ya);ua=l(t);for(Oa=ua.next();!Oa.done;Oa=ua.next())Ka=Oa.value,d.clearIsSaving(Ka);Promise.all(t.map(function(xb){return d.poke(xb)}));Cb=l(h);for(Qb=Cb.next();!Qb.done;Qb=Cb.next())Rb=Qb.value,f&&Rb.done.reject(f),Rb.done.resolve();le(Wa)}})});this.refreshMonitor.getObservable().subscribe(function(){d.invalidate()})};
X(CG,SB);CG.prototype.fetchOne=function(a){var b=this;return C8b(this,function(){return b.issueRelationshipService.list(a,"CHILD").pipe(y(function(c){return{issueId:a,relatedChildren:c,totalChildCount:c.length}}),$e(function(c){return mn(c)&&c.status===403?(0,W.of)(void 0):(0,W.throwError)(function(){return c})}))})};
CG.prototype.fetchAll=function(a){var b=this;switch(a.type){case "descendants":var c,d=[].concat(r((c=a.ids)!=null?c:[]));return d.length===0?(0,W.of)({results:[]}):C8b(this,function(){return b.issueRelationshipService.getDescendants({issueIds:d,relationshipType:"CHILD",includeArchived:!!a.includeArchived,depthLimit:a.depth,prefixSizeLimit:500}).pipe(y(fEa),y(function(e){return{results:e}}))});default:Dc(a.type)}};CG.prototype.copy=function(a){return a&&qi(a)};
var C8b=function(a,b){var c=function(){return a.activeMoveOperation$.pipe(te(function(d){return d.size===0}),pf(function(){return b()}),pf(function(d){return a.activeMoveOperation$.value.size===0?(0,W.of)(d):c()}),ef())};return c()},D8b=function(a,b){return a.watch(b).pipe(pf(function(c){return c&&c.totalChildCount===c.relatedChildren.length?(0,W.of)(c):a.watch(b,{trustMemory:!1})}))},E8b=function(a,b,c){return a.watchMany({type:"descendants",ids:new Set([b]),depth:c===void 0?100:c})},F8b=function(a,
b,c){return a.pokeMany({type:"descendants",ids:new Set([b]),depth:c===void 0?100:c})};
CG.prototype.unlinkFromParent=function(a,b,c){c=c===void 0?!1:c;var d=this,e;return fe(function(f){switch(f.nextAddress){case 1:TB(d.issueFridge,b,function(h){--h.childIssueCount});TB(d.issueFridge,a,function(h){h.parentIssueIds=h.parentIssueIds.filter(function(k){return k!==b})});TB(d,b,function(h){var k=h.relatedChildren;h.relatedChildren=jEa(k,a);h.totalChildCount-=k.length-h.relatedChildren.length});if(c)return f.return();ge(f,2);return he(f,(0,W.firstValueFrom)(d.issueRelationshipService.delete(b,
"CHILD",a)),4);case 4:Ft(f,0);break;case 2:return e=ke(f),he(f,Promise.all([d.poke(b),d.issueFridge.poke(b),d.issueFridge.poke(a)]),5);case 5:throw e;}})};
var B8b=function(a,b,c){var d,e,f,h,k,q,t,w,B;return fe(function(E){switch(E.nextAddress){case 1:d=[];e=[];f=[];if(c.length===0)return E.return({added:d,notAdded:e});h=G8b(a,b);k=c.map(function(I,J){var N=I.afterIssueId==="-1"?h:I.afterIssueId;return{targetIssueId:I.issueId,afterIssueId:J?c[J-1].issueId:N}});H8b(a,b,k);q=l(k);t=q.next();case 2:if(t.done){E.jumpTo(4);break}w=t.value;ge(E,5);return he(E,(0,W.firstValueFrom)(a.issueRelationshipService.create(b,"CHILD",{targetIssueId:w.targetIssueId,
afterIssueId:w.afterIssueId})),7);case 7:d.push(w.targetIssueId);Ft(E,3);break;case 5:B=ke(E);if(!mn(B))throw B;f.push(B);e.push(w.targetIssueId);case 3:t=q.next();E.jumpTo(2);break;case 4:return Promise.all([a.poke(b),a.issueFridge.poke(b)]),E.return(Object.assign({},{added:d,notAdded:e},f.length?{errors:f}:{}))}})},H8b=function(a,b,c){var d=0;TB(a,b,function(e){var f=iEa(e.relatedChildren,c);d=f.length-e.relatedChildren.length;e.relatedChildren=f;e.totalChildCount+=d},{evenWhenInFlight:!0});TB(a.issueFridge,
b,function(e){e.childIssueCount+=d},{evenWhenInFlight:!0})},I8b=function(a,b,c){var d,e,f,h,k,q,t,w,B,E,I,J;return fe(function(N){if(N.nextAddress==1)return d=[],e=[],f=[],c.length===0?N.return({added:d,notAdded:e}):he(N,Promise.allSettled(c.map(function(P){return(0,W.firstValueFrom)(a.issueRelationshipService.create(P,"CHILD",{targetIssueId:b,afterIssueId:G8b(a,P)}))})),2);h=N.yieldResult;k=l(h.entries());for(q=k.next();!q.done;q=k.next())t=q.value,w=l(t),B=w.next().value,E=w.next().value,I=B,J=
E,J.status==="fulfilled"&&d.push(c[I]),J.status==="rejected"&&(e.push(c[I]),f.push(J.reason));Promise.all(c.map(function(P){return a.poke(P)}));return N.return({added:d,notAdded:e,errors:f})})},J8b=function(a,b,c){var d=b.parentId,e=Date.now();a.activeMoveOperation$.next(a.activeMoveOperation$.value.add(e));for(var f=l(c),h=f.next(),k={};!h.done;k={issue$jscomp$45:void 0},h=f.next())k.issue$jscomp$45=h.value,TB(a,k.issue$jscomp$45.parentId,function(U){return function(ba){ba.relatedChildren=jEa(ba.relatedChildren,
U.issue$jscomp$45.issueId);--ba.totalChildCount}}(k));var q=void 0,t;if((t=b.position)==null?0:t.issueId){var w;if(((w=b.position)==null?void 0:w.position)==="after")q=b.position.issueId;else{var B;if(((B=b.position)==null?void 0:B.position)==="before"){var E,I;f=(I=(E=a.memory.getData(d))==null?void 0:E.relatedChildren)!=null?I:[];E=l(f.entries());for(I=E.next();!I.done;I=E.next())if(h=l(I.value),I=h.next().value,h=h.next().value,h.targetIssueId===b.position.issueId){b=void 0;q=(b=f[I-1])==null?
void 0:b.targetIssueId;break}}}}var J=c.map(function(U,ba){return{targetIssueId:U.issueId,afterIssueId:ba?c[ba-1].issueId:q}});x4b(a,d)!==void 0?TB(a,d,function(U){U.relatedChildren=iEa(U.relatedChildren,J);U.totalChildCount+=J.length},{evenWhenInFlight:!0}):a.announce({issueId:d,relatedChildren:iEa([],J),totalChildCount:J.length});b=new VAa;var N,P;a.moveChildrenInAPI({newParentId:d,newRelations:J,issues:c,eventTimestamps:[e],newParentChildrenSnapshot:(P=(N=a.memory.getData(d))==null?void 0:N.relatedChildren)!=
null?P:[],done:b});return b.promise},G8b=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};CG.\u0275fac=function(a){return new (a||CG)(n(AG),n(jG),n(iG))};CG.\u0275prov=Hc({token:CG,factory:CG.\u0275fac,providedIn:"root"});var K8b=function(a){this.internalArray_=m(a)};X(K8b,Y);var AEa=new Set("READY_TO_SUBMIT NEEDS_ATTENTION THREAD_MENTIONS_ME TAGGED_IN_COMMENT REQUIRES_APPROVAL GERRIT_CHANGE_NEEDS_ATTENTION GERRIT_CHANGE_READY_TO_SUBMIT ISSUE_SIGNAL_UNSPECIFIED NEAR_SLO COMMENT_MENTIONS_ME MENTIONED_NEEDS_RESPONSE BLOCKERS_CLOSED NEWLY_BLOCKING NEEDS_REPORTER_INPUT REPLIED_TO_MENTION NEWLY_ASSIGNED_TO_ME".split(" "));var DG=function(a){this.internalArray_=m(a,0,DG.messageId)};X(DG,Y);DG.repeatedFields_=[1];DG.messageId="mc.BatchUpdateTasksDismissStateRequest";var L8b=function(a){this.internalArray_=m(a)};X(L8b,Y);L8b.prototype.getCommentId=function(){return Kh(this,2)};L8b.prototype.setCommentId=function(a){return cj(this,2,a)};var EG=function(a){this.internalArray_=m(a)};X(EG,Y);EG.prototype.setTaskResourceTypesList=function(a){return zl(this,1,a)};EG.prototype.setMaxTaskAgeDays=function(a){return Gi(this,2,a)};EG.repeatedFields_=[1];var FG=function(a){this.internalArray_=m(a)};X(FG,Y);FG.prototype.setTaskResourceTypesList=function(a){return zl(this,1,a)};FG.prototype.setMaxTaskAgeDays=function(a){return Gi(this,2,a)};FG.repeatedFields_=[1];var GG=function(a){this.internalArray_=m(a)};X(GG,Y);GG.prototype.getCommentId=function(){return Kh(this,1)};GG.prototype.setCommentId=function(a){return cj(this,1,a)};GG.prototype.getContent=function(){return Kh(this,3)};GG.prototype.setContent=function(a){return cj(this,3,a)};var HG=function(a){this.internalArray_=m(a,0,HG.messageId)};X(HG,Y);HG.prototype.getResponse=function(){return $i(this,GG,1)};HG.prototype.getReadonlyResponse=function(){return Co(this,GG,1)};HG.prototype.getMutableResponse=function(){return Yt(this,GG,1)};HG.prototype.setResponse=function(a){return oj(this,GG,1,a)};HG.messageId="b.LatestDriveMentionResponse";var vEa=function(a){this.internalArray_=m(a)};X(vEa,Y);var Rn=function(a){this.internalArray_=m(a)};X(Rn,Y);g=Rn.prototype;g.getPriority=function(){return fj(this,1,0)};g.setPriority=function(a){return dj(this,1,a)};g.getAccessLevel=function(){return fj(this,2,0)};g.setAccessLevel=function(a){return dj(this,2,a)};g.getHotlistIdsList_asLegacyNumberOrString=function(a){return Nk(this,3,yj(a))};g.setHotlistIdsList=function(a){Al(this,3,a)};g.addHotlistIds=function(a,b){return nc(this,3,Kb,a,b)};g.addAllHotlistIds=function(a){mc(this,3,Kb,a)};
Rn.repeatedFields_=[3];var tEa=function(a){this.internalArray_=m(a)};X(tEa,Y);var Qn=function(a){this.internalArray_=m(a)};X(Qn,Y);Qn.prototype.getTitle=function(){return Kh(this,3)};Qn.prototype.setTitle=function(a){return cj(this,3,a)};Qn.prototype.getLastModifiedTimestamp=function(){return $i(this,Ii,5)};Qn.repeatedFields_=[7];var wEa=[8,9,10,11,12];var M8b=function(a){this.internalArray_=m(a)};X(M8b,Y);M8b.repeatedFields_=[1];var IG=function(a){this.internalArray_=m(a,0,IG.messageId)};X(IG,Y);IG.prototype.getResponsesList=function(){return xj(this,M8b,1,yj())};IG.repeatedFields_=[1];IG.messageId="b.TasksMyTasksResponse";var JG=function(a){this.internalArray_=m(a)};X(JG,Y);JG.prototype.getCommentNumber=function(){return eu(this,1)};JG.prototype.setCommentNumber=function(a){return iu(this,1,a)};JG.repeatedFields_=[1];var Wn=function(a){this.internalArray_=m(a)};X(Wn,Y);Wn.prototype.getDataCase=function(){return Ri(this,N8b)};Wn.prototype.getSignal=function(){return fj(this,1,0)};Wn.prototype.getCommentNumbers=function(){return Bj(this,JG,2,N8b)};var N8b=[2];var EEa=function(a){this.internalArray_=m(a)};X(EEa,Y);EEa.prototype.getComeBackTimestamp=function(){return $i(this,Ii,1)};var GEa=function(a){this.internalArray_=m(a)};X(GEa,Y);GEa.prototype.getComeBackTimestamp=function(){return $i(this,Ii,2)};var DEa=function(a){this.internalArray_=m(a)};X(DEa,Y);var FEa=[1,2];var Vn=function(a){this.internalArray_=m(a)};X(Vn,Y);Vn.prototype.getDataCase=function(){return Ri(this,O8b)};Vn.prototype.getSignal=function(){return fj(this,1,0)};var O8b=[2,3];var Sn=function(a){this.internalArray_=m(a)};X(Sn,Y);Sn.prototype.getDataCase=function(){return Ri(this,BEa)};Sn.prototype.getSignal=function(){return fj(this,1,0)};Sn.prototype.getCommentId=function(){return Kh(this,Ti(this,BEa,2))};Sn.prototype.setCommentId=function(a){return Wi(this,2,BEa,a)};var BEa=[2];var IEa=function(a){this.internalArray_=m(a)};X(IEa,Y);IEa.prototype.getSignal=function(){return fj(this,1,0)};var pEa=function(a){this.internalArray_=m(a)};X(pEa,Y);g=pEa.prototype;g.getTimestamp=function(){return $i(this,Ii,1)};g.setTimestamp=function(a){return oj(this,Ii,1,a)};g.hasTimestamp=function(){return dk(this,Ii,1)};g.getUrl=function(){return $i(this,Dz,2)};g.setUrl=function(a){return oj(this,Dz,2,a)};g.hasUrl=function(){return dk(this,Dz,2)};var Tn=[3,4,5,6,7];var lEa=function(a){this.internalArray_=m(a)};X(lEa,Y);lEa.prototype.hasTask=function(){return dk(this,Qn,1)};lEa.repeatedFields_=[2];var P8b=function(a){this.internalArray_=m(a)};X(P8b,Y);P8b.repeatedFields_=[1];var KG=function(a){this.internalArray_=m(a,0,KG.messageId)};X(KG,Y);KG.prototype.getResponsesList=function(){return xj(this,P8b,1,yj())};KG.repeatedFields_=[1];KG.messageId="b.TasksNeedsAttentionResponse";var LG=function(a){this.executor=a},Q8b=function(a,b,c){c=c===void 0?!0:c;var d=new DG;b=Lj(d,1,b);c=Kj(b,2,c);return a.executor.post({url:"action/tasks/dismiss",body:c,responseConstructor:null})},R8b=function(a,b,c,d){b=(new FG).setTaskResourceTypesList(b.map(KEa));a:switch(d){case 0:d=0;break a;case 1:d=5;break a;default:d=0}c=dj(b,3,d).setMaxTaskAgeDays(c);return a.executor.post({url:"action/tasks/needs_attention",responseConstructor:KG,body:c}).pipe(y(nEa))},S8b=function(a,b,c,d){var e=new K8b;
d=dj(e,1,LEa(d));b=(new EG).setTaskResourceTypesList(b.map(KEa)).setMaxTaskAgeDays(c);b=oj(b,K8b,3,d);return a.executor.post({url:"action/tasks/my_tasks",responseConstructor:IG,body:b}).pipe(y(rEa))},T8b=function(a,b,c){var d=new L8b;b=cj(d,1,b).setCommentId(c);return a.executor.post({url:"action/tasks/latest_drive_mention",responseConstructor:HG,body:b}).pipe(y(MEa))};LG.\u0275fac=function(a){return new (a||LG)(n(IB))};LG.\u0275prov=Hc({token:LG,factory:LG.\u0275fac,providedIn:"root"});var U8b={sources:["CHANGELIST","DRIVE","ISSUE"],maxTaskAgeDays:30,issueFilter:"ISSUE_TYPE_GROUPS_UNSPECIFIED"},MG=function(a){SB.call(this);this.api=a;this.recordType="myTasks";this.idForRecord=function(b){return b.taskId};this.defaultQuery=U8b};X(MG,SB);MG.prototype.fetchAll=function(a){return a.sources.length===0?(0,W.of)({results:[]}):S8b(this.api,a.sources,a.maxTaskAgeDays,a.issueFilter).pipe(y(function(b){b=b===void 0?[]:b;return{results:b}}))};MG.\u0275fac=function(a){return new (a||MG)(n(LG))};
MG.\u0275prov=Hc({token:MG,factory:MG.\u0275fac,providedIn:"root"});var V8b={sources:["CHANGELIST","DRIVE","ISSUE"],signalFilter:0,maxTaskAgeDays:30},NG=function(a){SB.call(this);this.api=a;this.recordType="needsAttentionTask";this.idForRecord=function(b){return b.task.taskId};this.defaultQuery=V8b};X(NG,SB);NG.prototype.fetchAll=function(a){return a.sources.length===0?(0,W.of)({results:[]}):R8b(this.api,a.sources,a.maxTaskAgeDays,a.signalFilter).pipe(y(function(b){b=b===void 0?[]:b;return{results:b}}))};NG.\u0275fac=function(a){return new (a||NG)(n(LG))};
NG.\u0275prov=Hc({token:NG,factory:NG.\u0275fac,providedIn:"root"});var OG=function(a){UB.call(this);this.userAccess=a;this.recordType="permissions"};X(OG,UB);OG.prototype.fetchOne=function(a){return this.fetchSet([a]).pipe(y(function(b){return l(b).next().value}))};OG.prototype.fetchSet=function(a){var b=this;return(0,W.combineLatest)(a.map(function(c){return(0,W.defer)(function(){return p5b(b.userAccess,c).then(function(d){return Object.assign({},d,{id:c})})})}))};OG.\u0275fac=function(a){return new (a||OG)(n(mD))};
OG.\u0275prov=Hc({token:OG,factory:OG.\u0275fac,providedIn:"root"});var NEa=function(a){this.internalArray_=m(a)};X(NEa,Y);var W8b=function(a){this.internalArray_=m(a,0,W8b.messageId)};X(W8b,Y);W8b.messageId="b.PrincipalTypeInfoBatchResponse";var PG=function(a,b){this.principalResources=a;this.principalTypeGetter=b.adapt(X8b(this,!1));this.principalTypeWithDetailGetter=b.adapt(X8b(this,!0))},X8b=function(a,b){return function(c){return Y8b(a.principalResources,c,b).then(function(d){return REa(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:SEa()})};
PG.\u0275fac=function(a){return new (a||PG)(n(RG),n(jD))};PG.\u0275prov=Hc({token:PG,factory:PG.\u0275fac,providedIn:"root"});
var RG=function(a){this.executor=a},Y8b=function(a,b,c){if(b.length===0)return Promise.resolve({});var d={};d.email=Sm(b);c&&(d.includeDetailedUserType="true");return a.executor.get({url:"action/principal_types",options:{params:d},responseConstructor:W8b}).then(QEa).then(function(e){for(var f={},h=l(b),k=h.next();!k.done;k=h.next()){k=k.value;var q=void 0;f[k]=(q=e[k])!=null?q:SEa()}return f})};RG.\u0275fac=function(a){return new (a||RG)(n(JB))};RG.\u0275prov=Hc({token:RG,factory:RG.\u0275fac,providedIn:"root"});var SG=function(a){UB.call(this,{freshUntil:36E5,ancientAfter:864E5});this.principalTypesApi=a;this.recordType="principalTypes";this.idForRecord=function(b){return b.email}};X(SG,UB);SG.prototype.fetchOne=function(a){var b=this;return(0,W.defer)(function(){return b.principalTypesApi.get(a)}).pipe(y(function(c){return Object.assign({},{email:a},c)}),$e(function(){return(0,W.of)(void 0)}))};SG.prototype.fetchSet=function(a){var b=this;return(0,W.combineLatest)(a.map(function(c){return b.fetchOne(c)})).pipe(y(function(c){return c.filter(lj)}))};
SG.\u0275fac=function(a){return new (a||SG)(n(PG))};SG.\u0275prov=Hc({token:SG,factory:SG.\u0275fac,providedIn:"root"});var TG=function(a){UB.call(this);this.api=a;this.recordType="recentEventsForIssues";this.idForRecord=function(b){return b.id.query+"-"+b.id.pageSize}};X(TG,UB);TG.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:SCa(a==null?void 0:a.events,b==null?void 0:b.events)};
TG.prototype.fetchOne=function(a){var b=l(a.split("___")),c=b.next().value;b=b.next().value;ij(b)||console.error("RecentEventsForIssuesFridge failed to parse maximumSize from query, using default. input: '"+a+"'");var d,e=(d=ij(b))!=null?d:50;return E5b(this.api,{query:c,maximumSize:e,minimumSignificance:"MAJOR"}).pipe(y(function(f){return{id:{query:c,pageSize:e},events:f}}))};TG.\u0275fac=function(a){return new (a||TG)(n(OD))};TG.\u0275prov=Hc({token:TG,factory:TG.\u0275fac,providedIn:"root"});var Z8b=["ASSIGNMENT","RESPONSE","CLOSURE"],$8b=new Map([["ASSIGNMENT","Assignment"],["RESPONSE","Response"],["CLOSURE","Closure"]]),a9b=new Map([["name","Name"],["description","Description"],["parentId","Parent ID"],["elements","SLO rules"]]),phb=new Map([["DAY_TYPE_UNSPECIFIED","Calendar"],["CALENDAR","Calendar"],["BUSINESS","Business"]]);var Zn=function(a){this.internalArray_=m(a)};X(Zn,Y);Zn.prototype.getId=function(){return Kh(this,1)};Zn.prototype.setId=function(a){return cj(this,1,a)};Zn.prototype.getVersion=function(){return Kh(this,2)};Zn.prototype.setVersion=function(a){return cj(this,2,a)};var Yn=function(a){this.internalArray_=m(a)};X(Yn,Y);g=Yn.prototype;g.getId=function(){return ej(this,1)};g.getId_asLegacyNumberOrString=function(){return ej(this,1)};g.getId_asString=function(){return du(this,1)};g.setId=function(a){return yl(this,1,a)};g.setFrequency=function(a){return dj(this,3,a)};g.getTimeZone=function(){return $i(this,Zn,5)};g.setTimeZone=function(a){return oj(this,Zn,5,a)};g.hasTimeZone=function(){return dk(this,Zn,5)};g.setDaysRemaining=function(a){return lk(this,7,a)};
Yn.repeatedFields_=[8,9];var UG=function(a){this.internalArray_=m(a)};X(UG,Y);UG.prototype.getTeamId_asLegacyNumberOrString=function(){return ej(this,1)};UG.prototype.setTeamId=function(a){return bj(this,1,a)};UG.prototype.getEffectiveSloEditPolicy=function(){return fj(this,3,0)};var $n=function(a){this.internalArray_=m(a,0,$n.messageId)};X($n,Y);$n.prototype.getIt=function(){return $i(this,ao,10)};$n.prototype.setIt=function(a){return oj(this,ao,10,a)};$n.messageId="b.SloState";var VG=function(a){this.internalArray_=m(a)};X(VG,Y);VG.prototype.getQuery=function(){return Kh(this,1)};VG.prototype.setQuery=function(a){return cj(this,1,a)};VG.prototype.clearQuery=function(){oo(this,1)};var UEa=function(a){this.internalArray_=m(a)};X(UEa,Y);g=UEa.prototype;g.getComponentId=function(){return ej(this,1)};g.getComponentId_asLegacyNumberOrString=function(){return ej(this,1)};g.getComponentId_asString=function(){return du(this,1)};g.setComponentId=function(a){return bj(this,1,a)};g.getEffectiveSloEditPolicy=function(){return fj(this,2,0)};var b9b=function(a){this.internalArray_=m(a,0,b9b.messageId)};X(b9b,Y);b9b.messageId="b.GetComponentSloEditPolicyResponse";var WG=function(a){this.internalArray_=m(a,0,WG.messageId)};X(WG,Y);WG.prototype.getTeamSloEditPolicy=function(){return $i(this,UG,1)};WG.messageId="b.GetTeamSloEditPolicyResponse";var c9b=function(a){this.internalArray_=m(a)};X(c9b,Y);c9b.repeatedFields_=[1];var XG=function(a){this.internalArray_=m(a,0,XG.messageId)};X(XG,Y);XG.prototype.getIt=function(){return $i(this,c9b,1)};XG.prototype.setIt=function(a){return oj(this,c9b,1,a)};XG.messageId="b.ListSlosResponse";var YG=function(a){this.internalArray_=m(a,0,YG.messageId)};X(YG,Y);YG.prototype.getTeamSloEditPolicy=function(){return $i(this,UG,1)};YG.messageId="b.UpdateTeamSloEditPolicyResponse";var ZG=function(a,b){this.activeSession=a;this.executor=b};g=ZG.prototype;g.get=function(a){return this.executor.get({url:"action/slos/"+a,responseConstructor:$n}).pipe(y(ZEa))};g.getOwnedSlos=function(){return this.search("owner:"+this.activeSession.getUserEmail()+" include_archived:true")};g.search=function(a){a=(new VG).setQuery(a);return this.executor.post({url:"action/listSlos",body:a,responseConstructor:XG}).pipe(y(function(b){b=b.getIt();b=xj(b,ao,1,yj());return(b!=null?b:[]).map(qva)}))};
g.create=function(a){a=$Ea(a);return this.executor.post({url:"action/slos",body:a,responseConstructor:$n}).pipe(y(ZEa))};g.update=function(a){var b=a.sloId;a=$Ea(a);return this.executor.post({url:"action/slos/"+b,body:a,responseConstructor:$n}).pipe(y(ZEa))};ZG.\u0275fac=function(a){return new (a||ZG)(n(Ir),n(IB))};ZG.\u0275prov=Hc({token:ZG,factory:ZG.\u0275fac,providedIn:"root"});
var $G=function(a,b){this.observableSlosService=b;var c;this.slosCache=(c=a.get("slos-second-level-cache"))!=null?c:a.create("slos-second-level-cache",{capacity:25})};g=$G.prototype;g.get=function(a){var b=this.slosCache.get(a);return b!==void 0?b:this.slosCache.put(String(a),(0,W.firstValueFrom)(this.observableSlosService.get(a)))};g.getOwnedSlos=function(){return(0,W.firstValueFrom)(this.observableSlosService.getOwnedSlos())};g.search=function(a){return(0,W.firstValueFrom)(this.observableSlosService.search(a))};
g.create=function(a){return(0,W.firstValueFrom)(this.observableSlosService.create(a))};g.update=function(a){return(0,W.firstValueFrom)(this.observableSlosService.update(a))};$G.\u0275fac=function(a){return new (a||$G)(n(IE),n(ZG))};$G.\u0275prov=Hc({token:$G,factory:$G.\u0275fac,providedIn:"root"});var aH=function(a){UB.call(this);this.observableSlosService=a;this.recordType="slo";this.idForRecord=function(b){return b.sloId}};X(aH,UB);g=aH.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)};
aH.\u0275fac=function(a){return new (a||aH)(n(ZG))};aH.\u0275prov=Hc({token:aH,factory:aH.\u0275fac,providedIn:"root"});var d9b=function(a,b){this.rawGet=a;this.cacheSize=b;this.lruCache=new HE(this.cacheSize,!0,function(c,d){d.subscription.unsubscribe()})};d9b.prototype.get=function(a){var b=this;return new W.Observable(function(c){var d=b.lruCache.get(a);d||(d=e9b(b,a));return d.obs$.subscribe(c)})};
var e9b=function(a,b){var c=a.rawGet(b).pipe(mf({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 f9b(c,d);a.lruCache.set(b,c);return c},f9b=function(a,b){this.obs$=a;this.subscription=b};var bH=function(a){this.internalArray_=m(a,0,bH.messageId)};X(bH,Y);bH.prototype.getIt=function(){return $i(this,tC,14)};bH.prototype.setIt=function(a){return oj(this,tC,14,a)};bH.messageId="b.TeamState";var g9b=function(a){this.internalArray_=m(a)};X(g9b,Y);g=g9b.prototype;g.getPathIdsList_asLegacyNumberOrString=function(){return nSb(this,1)};g.getPathIdsList_asString=function(){return Fk(this,1)};g.setPathIdsList=function(a){return jc(this,1,a,Kb)};g.getPathNamesList=function(a){return Ij(this,2,yj(a))};g.setPathNamesList=function(a){return Lj(this,2,a)};g.getId=function(){return cu(this,3)};g.getId_asLegacyNumberOrString=function(){return cu(this,3)};
g.getId_asString=function(){return el(this,3)};g.setId=function(a){return xl(this,3,a)};g.getName=function(){return Kh(this,4)};g.setName=function(a){return rj(this,4,a)};g.hasName=function(){return $k(this,4)};g.getNameOrUndefined=function(){return hu(this,4)};g.getDescription=function(){return Kh(this,5)};g.setDescription=function(a){return rj(this,5,a)};g.hasDescription=function(){return $k(this,5)};g9b.repeatedFields_=[1,2];var h9b=function(a){this.internalArray_=m(a)};X(h9b,Y);g=h9b.prototype;g.getId=function(){return cu(this,1)};g.getId_asLegacyNumberOrString=function(){return cu(this,1)};g.getId_asString=function(){return el(this,1)};g.setId=function(a){return xl(this,1,a)};g.getName=function(){return Kh(this,2)};g.setName=function(a){return rj(this,2,a)};g.hasName=function(){return $k(this,2)};g.getNameOrUndefined=function(){return hu(this,2)};g.getDescription=function(){return Kh(this,3)};
g.setDescription=function(a){return rj(this,3,a)};g.hasDescription=function(){return $k(this,3)};var cH=function(a){this.internalArray_=m(a,0,cH.messageId)};X(cH,Y);var i9b=function(a,b){return jc(a,1,b,Kb)};cH.repeatedFields_=[1];cH.messageId="b.BatchChildTeamsRequest";var j9b=function(a){this.internalArray_=m(a)};X(j9b,Y);j9b.repeatedFields_=[1];var k9b=function(a){this.internalArray_=m(a,0,k9b.messageId)};X(k9b,Y);k9b.messageId="b.BatchChildTeamsResponse";var dH=function(a){this.internalArray_=m(a,0,dH.messageId)};X(dH,Y);dH.messageId="b.BatchGetTeamsResponse";var eH=function(a){this.internalArray_=m(a,0,eH.messageId)};X(eH,Y);eH.prototype.getTeamSuggestionsList=function(){return xj(this,g9b,1,yj())};eH.prototype.setTeamSuggestionsList=function(a){gk(this,1,a)};eH.repeatedFields_=[1];eH.messageId="b.TeamSuggestionResult";var fH=function(a){this.internalArray_=m(a,0,fH.messageId)};X(fH,Y);fH.prototype.getIt=function(){return $i(this,Jk,3)};fH.prototype.setIt=function(a){return oj(this,Jk,3,a)};fH.messageId="b.UpdateTeamSloRequest";var gH=function(a,b,c){var d=this;this.executor=a;this.teamsBatchApiConfig=b;this.batchApiAdapter=c;this.batchAdaptedGet=this.batchApiAdapter.adapt(this.teamsBatchApiConfig);this.memoizingTeamStateMap=new d9b(function(e){return d.batchAdaptedGet(e)},100)};gH.prototype.get=function(a){return this.executor.get({url:"action/teams/"+a,responseConstructor:bH}).pipe(y(co))};gH.prototype.getTeam=function(a){return this.memoizingTeamStateMap.get(a)};
var hH=function(a,b){return a.getTeam(b).pipe(y(function(c){return c!=null?c:cFa(b)}),$e(function(){return(0,W.of)(cFa(b))}))},l9b=function(a,b){b=b.filter(function(c){return c!=="0"}).map(function(c){return a.getTeam(c)});return(0,W.forkJoin)(b).pipe(y(function(c){var d=new Map;c=l(c);for(var e=c.next();!e.done;e=c.next())(e=e.value)&&d.set(e.teamId,e);return d}))};
gH.prototype.getChildTeams=function(a){a=i9b(new cH,a);return this.executor.post({url:"action/child_teams",body:a,responseConstructor:k9b}).pipe(y(function(b){b=[].concat(r(ic(b,1,j9b,Sb).entries()));return new Map(b.map(function(c){var d=l(c);c=d.next().value;d=d.next().value;d=xj(d,h9b,1,yj());return[c,d.map(aFa)]}))}))};
var iH=function(a,b){return a.executor.get({url:"action/suggest_teams",options:{params:{query:b}},responseConstructor:eH}).pipe(y(function(c){return c.getTeamSuggestionsList().map(bFa)}))},m9b=function(a,b,c){return b==="0"?(0,W.of)(!1):a.memoizingTeamStateMap.get(b).pipe(y(function(d){return(d==null?void 0:d.members.find(function(e){return e&&sm(e.user)===c}))!==void 0}))},n9b=function(a,b){return a.executor.get({url:"action/teams",options:{params:{teamIds:b.join(","),view:"full"}},responseConstructor:dH}).pipe($e(function(){return(0,W.of)(new dH)}),
y(function(c){return new Map(Array.from(ic(c,1,bH,Sb).entries()).map(function(d){var e=l(d);d=e.next().value;e=e.next().value;e=co(e);return[d,e.estimatedComponentCount]}))}))};
gH.prototype.updateTeam=function(a){var b=new bH,c=new tC,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(ij).filter(lj));d=Lj(f,5,a.collapsedPathNames).setMembersList((e=a.members)==null?void 0:e.map($wa));Kj(d,9,a.deleted);e=new bo;d=e.setVersion(a.version);bj(d,3,a.estimatedComponentCount).setSlo(axa(a.slo));a.sloLead&&(d=Oi(a.sloLead),oj(e,Ni,4,d));a.defaultSloLead&&(d=Oi(a.defaultSloLead),
oj(e,Ni,5,d));oj(c,bo,7,e);b.setIt(c);return this.executor.post({url:"action/teams/"+a.teamId,body:b,responseConstructor:bH}).pipe(y(co))};gH.\u0275fac=function(a){return new (a||gH)(n(IB),n(jH),n(sC))};gH.\u0275prov=Hc({token:gH,factory:gH.\u0275fac,providedIn:"root"});var jH=function(a){this.executor=a};jH.prototype.call=function(a){return this.executor.get({url:"action/teams",options:{params:{teamIds:[].concat(r(a)).join(",")}},responseConstructor:dH}).pipe($e(function(){return(0,W.of)(new dH)}))};
jH.prototype.split=function(a,b){return(a=ic(b,1,bH,Sb).get(a))?co(a):void 0};jH.\u0275fac=function(a){return new (a||jH)(n(IB))};jH.\u0275prov=Hc({token:jH,factory:jH.\u0275fac,providedIn:"root"});var kH=function(a){SB.call(this);this.teamsApi=a;this.defaultQuery={};this.recordType="TeamDigest";this.idForRecord=function(b){var c;return(c=b.teamId)!=null?c:"NO_ID"}};X(kH,SB);kH.prototype.fetchAll=function(a){if(a.myTeams)return iH(this.teamsApi,"").pipe(y(function(b){b=b===void 0?[]:b;return{results:b}}));throw Error("dd");};kH.\u0275fac=function(a){return new (a||kH)(n(gH))};kH.\u0275prov=Hc({token:kH,factory:kH.\u0275fac,providedIn:"root"});var lH=function(a){UB.call(this);this.teamsApi=a;this.recordType="team";this.idForRecord=function(b){return b.teamId}};X(lH,UB);lH.prototype.fetchOne=function(a){return a==="0"?(0,W.of)(void 0):this.teamsApi.getTeam(a).pipe($e(function(){return(0,W.of)(void 0)}))};lH.prototype.fetchSet=function(a){var b=this;return(0,W.combineLatest)(a.map(function(c){return b.fetchOne(c)})).pipe(y(function(c){return c.filter(lj)}))};lH.\u0275fac=function(a){return new (a||lH)(n(gH))};
lH.\u0275prov=Hc({token:lH,factory:lH.\u0275fac,providedIn:"root"});var mH=function(a){this.internalArray_=m(a,0,mH.messageId)};X(mH,Y);mH.prototype.getTrackersList=function(){return xj(this,Ol,1,yj())};mH.repeatedFields_=[1];mH.messageId="b.BatchGetTrackersResponse";var nH=function(a){this.internalArray_=m(a,0,nH.messageId)};X(nH,Y);nH.prototype.getTrackersList=function(){return xj(this,Ol,1,yj())};nH.prototype.getNextPageToken=function(){return Kh(this,2)};nH.prototype.getTotalSize=function(){return gj(this,3)};nH.repeatedFields_=[1];nH.messageId="b.ListTrackersResponse";var oH=function(a){this.jspbExecutor=a};oH.prototype.get=function(a){return this.jspbExecutor.get({url:"action/trackers/"+a,responseConstructor:Ol}).pipe(y(zxa))};oH.prototype.batchGet=function(a){return this.jspbExecutor.get({url:"action/trackers/batch",responseConstructor:mH,options:{params:{trackerIds:a}}}).pipe(y(Axa))};
oH.prototype.query=function(a,b,c){return this.jspbExecutor.get({url:"action/trackers",responseConstructor:nH,options:{params:{query:a,pageSize:String(b),pageToken:c===void 0?"":c}}}).pipe(y(Bxa))};oH.\u0275fac=function(a){return new (a||oH)(n(IB))};oH.\u0275prov=Hc({token:oH,factory:oH.\u0275fac,providedIn:"root"});var pH=function(a,b){UB.call(this,{freshUntil:36E5,ancientAfter:2592E5});this.trackerApi=a;this.activeSession=b;this.recordType="tracker";this.idKey="trackerId";(a=this.activeSession.getTracker())&&this.announce(a)};X(pH,UB);pH.prototype.fetchOne=function(a){return this.trackerApi.get(a)};pH.prototype.fetchSet=function(a){return this.trackerApi.batchGet(a)};
pH.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(y(function(d){var e;return{results:(e=d==null?void 0:d.trackers)!=null?e:[]}}))};pH.\u0275fac=function(a){return new (a||pH)(n(oH),n(Ir))};pH.\u0275prov=Hc({token:pH,factory:pH.\u0275fac,providedIn:"root"});var qH=function(a){this.executor=a},o9b=function(a,b){return a.executor.post({url:"action/current_user/preferences",responseConstructor:ol,body:fya(b)}).pipe(y(function(c){return Rxa(c)}))};qH.\u0275fac=function(a){return new (a||qH)(n(IB))};qH.\u0275prov=Hc({token:qH,factory:qH.\u0275fac,providedIn:"root"});var rH=function(a){var b=this;this.userPreferencesManagerBase=a;this.destroyed$=new W.ReplaySubject(1);this.preferencesSubject$=this.userPreferencesManagerBase.preferences$;this.preferences$=this.preferencesSubject$.pipe(y(qi));this.textDisplayPreferences$=this.preferences$.pipe(y(function(c){return c.textDisplayPreferences||{}}));this.textDisplayPreferencesSubject$=eo(this.textDisplayPreferences$.pipe(qf(this.destroyed$)),{});this.lastPublishMode$=this.textDisplayPreferences$.pipe(y(function(c){return c.lastPublishMode}),
df());this.lastPublishModeProto$=this.lastPublishMode$.pipe(y(Xk));this.themePreferences$=this.preferences$.pipe(y(function(c){var d;return(d=c.themePreferences)!=null?d:qi(vC.themePreferences)}),go());this.listViewPreferences$=this.preferences$.pipe(y(function(c){var d;return(d=c.listViewPreferences)!=null?d:qi(vC.listViewPreferences)}),go());this.layoutPreferences$=this.preferences$.pipe(y(function(c){return b.getLayoutPreferences(c)}),go());this.dateTimePreferences$=this.preferences$.pipe(y(function(c){var d;
return(d=c.dateTimePreferences)!=null?d:qi(vC.dateTimePreferences)}),go());this.homepagePreferences$=this.preferences$.pipe(y(function(c){return b.getHomepagePreferences(c)}),go());this.keyboardPrefs$=this.preferences$.pipe(y(function(c){var d;return(d=c.keyboardPreferences)!=null?d:qi(vC.keyboardPreferences)}),go());this.displayColumnsPreferences$=this.preferences$.pipe(y(function(c){var d,e;return(e=(d=c.displayColumns)==null?void 0:d.column)!=null?e:[]}),go());this.sortColumnsPreferences$=this.preferences$.pipe(y(function(c){var d,
e;return(e=(d=c.sortColumns)==null?void 0:d.column)!=null?e:[]}),go());this.bugScreensaverPreferences$=this.preferences$.pipe(y(function(c){var d;return(d=c.bugScreensaverPreferences)!=null?d:qi(vC.bugScreensaverPreferences)}),go());this.bugScreensaverSubject$=eo(this.bugScreensaverPreferences$.pipe(qf(this.destroyed$)),vC.bugScreensaverPreferences);this.g3nPreferences$=this.preferences$.pipe(y(function(c){var d;return(d=c.g3nPreferences)!=null?d:qi(vC.g3nPreferences)}),go());eo(this.g3nPreferences$.pipe(qf(this.destroyed$)),
vC.g3nPreferences);this.teamWarningPreferences$=this.preferences$.pipe(y(function(c){var d;return(d=c.teamWarningPreferences)!=null?d:qi(vC.teamWarningPreferences)}),go());this.teamWarningPreferencesSubject$=eo(this.teamWarningPreferences$.pipe(qf(this.destroyed$)),vC.teamWarningPreferences);this.commentFilterPreferences$=this.preferences$.pipe(y(function(c){var d;return(d=c.commentFilterPreferences)!=null?d:qi(vC.commentFilterPreferences)}),go());eo(this.commentFilterPreferences$.pipe(qf(this.destroyed$)),
vC.commentFilterPreferences);this.codeFont$=this.preferences$.pipe(y(function(c){return!!c.useCodefont}),df());this.autoCcOnComment$=this.preferences$.pipe(y(function(c){var d;return(d=c.autoCcOnComment)!=null?d:!1}),df());this.showFullHistory$=this.preferences$.pipe(y(function(c){return!!c.showFullHistory}),df());this.showRecentEventsFirst$=this.preferences$.pipe(y(function(c){return!!c.showRecentEventsFirst}),df());this.showInlineImages$=this.preferences$.pipe(y(function(c){var d;return(d=c.showInlineImages)!=
null?d:vC.showInlineImages}),df())};rH.prototype.ngOnDestroy=function(){this.destroyed$.next();this.destroyed$.complete()};rH.prototype.save=function(a){return this.userPreferencesManagerBase.save(a)};var p9b=function(a,b){b=Object.assign({},a.getLayoutPreferences(a.preferencesSubject$.value),b);return a.save({layoutPreferences:b}).pipe(y(a.getLayoutPreferences))},q9b=function(a,b){return a.save({homepagePreferences:b}).pipe(y(a.getHomepagePreferences))};
rH.prototype.getDateTimePreferences=function(){var a;return(a=(void 0).dateTimePreferences)!=null?a:qi(vC.dateTimePreferences)};var r9b=function(a,b){b=Object.assign({},a.preferencesSubject$.value.collapsed,b);return a.save({collapsed:b})},s9b=function(a,b){var c;return(c=a.preferencesSubject$.value.collapsed)==null?void 0:c[b]},t9b=function(a,b){return a.save({displayColumns:{column:b}}).pipe(y(function(c){var d,e;return(e=(d=c.displayColumns)==null?void 0:d.column)!=null?e:[]}))};
rH.prototype.saveSortColumns=function(a){return this.save({sortColumns:{column:a}}).pipe(y(function(b){var c,d;return(d=(c=b.sortColumns)==null?void 0:c.column)!=null?d:[]}))};var u9b=function(a,b){return a.save({teamWarningPreferences:b}).pipe(y(function(c){var d;return(d=c.teamWarningPreferences)!=null?d:qi(vC.teamWarningPreferences)}))};rH.prototype.getLayoutPreferences=function(a){var b;return(b=a.layoutPreferences)!=null?b:qi(vC.layoutPreferences)};
rH.prototype.getHomepagePreferences=function(a){var b;return(b=a.homepagePreferences)!=null?b:qi(vC.homepagePreferences)};var sH=function(a){return qi(a.preferencesSubject$.getValue())};rH.\u0275fac=function(a){return new (a||rH)(n(tH))};rH.\u0275prov=Hc({token:rH,factory:rH.\u0275fac,providedIn:"root"});
var tH=function(a,b){this.activeSession=a;this.userPreferencesResources=b;this.preferences$=new W.BehaviorSubject(qi(vC));a=this.preferences$.value;if(b=this.activeSession.getUserPreferences())a=Object.assign({},a,b),v9b(a);this.preferences$.next(a)};tH.prototype.save=function(a){var b=this;return this.activeSession.isAnonymous()?(0,W.of)(w9b(this,a)):o9b(this.userPreferencesResources,a).pipe(y(function(){return w9b(b,a)}))};
var w9b=function(a,b){var c=qi(a.preferences$.value);c=Object.assign({},c,b);v9b(c);a.preferences$.next(c);return c},v9b=function(a){a.dateTimePreferences&&(a.dateTimePreferences.calendarFormat||(a.dateTimePreferences.calendarFormat=vC.dateTimePreferences.calendarFormat),a.dateTimePreferences.timeFormat||(a.dateTimePreferences.timeFormat=vC.dateTimePreferences.timeFormat),a.dateTimePreferences.sloEtaViewAs||(a.dateTimePreferences.sloEtaViewAs=vC.dateTimePreferences.sloEtaViewAs));!a.notificationPreferences||
a.notificationPreferences.collaboratorPriority&&a.notificationPreferences.collaboratorPriority!=="UNKNOWN_PRIORITY"||(a.notificationPreferences.collaboratorPriority=vC.notificationPreferences.collaboratorPriority)};tH.\u0275fac=function(a){return new (a||tH)(n(Ir),n(qH))};tH.\u0275prov=Hc({token:tH,factory:tH.\u0275fac,providedIn:"root"});var uH=function(a,b){this.teamFridge=a;this.userPrefsManager=b;this.destroyed$=new W.ReplaySubject(1);this.scopePrefs$=this.userPrefsManager.preferences$.pipe(y(function(c){var d;return(d=c==null?void 0:c.scopePreferences)!=null?d:{starredTeams:[]}}));this.starredTeamIds$=eo(this.scopePrefs$.pipe(y(function(c){return c.starredTeams}),qf(this.destroyed$)),[]);this.starredTeams$=this.starredTeamIds$.pipe(pf(this.teamFridge.watchSet))};uH.prototype.save=function(a){this.userPrefsManager.save({scopePreferences:{starredTeams:a}}).subscribe()};
ea.Object.defineProperties(uH.prototype,{starredTeamIds:{configurable:!0,enumerable:!0,get:function(){return this.starredTeamIds$.value}}});uH.\u0275fac=function(a){return new (a||uH)(n(lH),n(rH))};uH.\u0275prov=Hc({token:uH,factory:uH.\u0275fac,providedIn:"root"});var vH=function(a,b){Z.call(this);this.router=a;this.activatedRoute=b;this.params={};this.routeParams$=new W.BehaviorSubject({});this.issueId$=this.routeParams$.pipe(y(function(c){return c.issueId}),df())};X(vH,Z);vH.\u0275dir=Z.\u0275dir;
var y9b=function(a){a.activatedRoute.queryParams.pipe(qf(a.destroyed$)).subscribe(function(b){x9b(a,a.routeParams$.value,b)});a.router.events.pipe(te(function(b){return b instanceof qsa}),y(function(b){return b}),qf(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);x9b(a,c,b.queryParams)})},z9b=function(a,b){return a.routeParams$.pipe(y(function(c){return c[b]}))},x9b=function(a,b,c){for(var d=l(Object.keys(a.params)),
e=d.next();!e.done;e=d.next())delete a.params[eFa(e.value)];a.routeParams$.next(b);c=l(Object.entries(c));for(d=c.next();!d.done;d=c.next())e=l(d.value),d=e.next().value,e=e.next().value,a.params[eFa(d)]=e;b=l(Object.entries(b));for(c=b.next();!c.done;c=b.next())d=l(c.value),c=d.next().value,d=d.next().value,a.params[eFa(c)]=d};vH.\u0275fac=function(a){return new (a||vH)(n(pB),n(ai))};vH.\u0275prov=Hc({token:vH,factory:vH.\u0275fac,providedIn:"root"});var wH=function(a,b,c){Z.call(this);var d=this;this.paramsService=b;this.issueFridge=c;this.componentIdOverride$=new W.BehaviorSubject(null);this.hotlistIdOverride$=new W.BehaviorSubject(null);this.issueIdOverride$=new W.BehaviorSubject(null);this.routeIssueId$=this.paramsService.issueId$.pipe(y(gFa),mf({refCount:!0,bufferSize:1}));this.routeComponentId$=z9b(this.paramsService,"componentId").pipe(df());this.routeHotlistId$=z9b(this.paramsService,"hotlistId").pipe(df());this.issueId$=(0,W.combineLatest)([this.issueIdOverride$,
this.routeIssueId$]).pipe(y(function(e){var f=l(e);e=f.next().value;f=f.next().value;return e||f}),y(gFa),df(),mf({refCount:!0,bufferSize:1}));this.componentIdFromIssueId$=this.issueId$.pipe(pf(function(e){return e?d.issueFridge.watch(e):(0,W.of)(void 0)}),y(function(e){return e==null?void 0:e.snapshot[0].componentId}));this.componentId$=(0,W.combineLatest)([this.componentIdOverride$,this.routeComponentId$,this.componentIdFromIssueId$]).pipe(y(function(e){var f=l(e);e=f.next().value;var h=f.next().value;
f=f.next().value;return e||h||f}),y(fFa),df(),mf({refCount:!0,bufferSize:1}));this.hotlistId$=(0,W.combineLatest)([this.hotlistIdOverride$,this.routeHotlistId$]).pipe(y(function(e){var f=l(e);e=f.next().value;f=f.next().value;return e||f}),y(fFa),df(),mf({refCount:!0,bufferSize:1}));this.subscriptions.add(a.routeChangeSuccess.subscribe(function(){d.componentIdOverride$.next(null);d.hotlistIdOverride$.next(null);d.issueIdOverride$.next(null)}));this.subscriptions.add(this.componentId$.subscribe(function(e){Hn("dimension4",
e)}))};X(wH,Z);wH.\u0275dir=Z.\u0275dir;wH.prototype.getComponentId=function(){return this.componentId$};wH.prototype.getIssueId=function(){return this.issueId$};wH.prototype.getHotlistId=function(){return this.hotlistId$};wH.\u0275fac=function(a){return new (a||wH)(n(aG),n(vH),n(jG))};wH.\u0275prov=Hc({token:wH,factory:wH.\u0275fac,providedIn:"root"});var A9b=/^\s*hotlistid:(\d+)\s*$/i,B9b=/(?:\s|^)componentid:(\d+)\s*/i,C9b=/^\s*savedsearchid:(\d+)\s*$/i,xH=function(a,b,c,d){Z.call(this);var e=this;this.$log=a;this.activeSession=b;this.contextSensitiveRegistry=c;this.analytics=d;this.currentQuery="";this.currentTrackerScope=[];this.queryState$=new W.BehaviorSubject({query:"",cursorPosition:void 0,setViaInteraction:!1});this.currentTrackerIdList$=(0,W.defer)(function(){var f;return(0,W.of)((f=e.activeSession.getTracker())==null?void 0:f.trackerId)}).pipe(y(function(f){return f?
[f]:[]}));this.selectedTrackerIds$=new W.Subject;this.trackerScope$=(0,W.merge)(this.currentTrackerIdList$,this.selectedTrackerIds$);this.searchHandlerStack=[];this.searchTriggered$=new W.Subject;this.subscriptions.add(this.queryState$.pipe(qf(this.destroyed$)).subscribe(function(f){e.currentQuery=f.query;(f=e.currentQuery.match(B9b))?e.contextSensitiveRegistry.componentIdOverride$.next(Number(f[1])):e.contextSensitiveRegistry.componentIdOverride$.next(null);(f=e.currentQuery.match(A9b))?e.contextSensitiveRegistry.hotlistIdOverride$.next(Number(f[1])):
e.contextSensitiveRegistry.hotlistIdOverride$.next(null)}));this.subscriptions.add(this.trackerScope$.pipe(qf(this.destroyed$)).subscribe(function(f){e.currentTrackerScope=f}))};X(xH,Z);xH.\u0275dir=Z.\u0275dir;xH.prototype.clear=function(){yH(this,"")};var yH=function(a,b){a.queryState$.next({query:b,cursorPosition:void 0,setViaInteraction:!1})},zH=function(a){return"assignee:"+a+" status:open"},D9b=function(a,b){return a.currentQuery===zH("me")||a.currentQuery===zH(b===void 0?"":b)};
xH.prototype.getStarred=function(){return"star:true"};xH.prototype.isStarred=function(){return this.currentQuery===this.getStarred()};var E9b=function(a){return"verifier:"+a+" status:open | status:fixed"},F9b=function(a){return(a=a.currentQuery.match(A9b))?Number(a[1]):0},G9b=function(a){return(a=a.currentQuery.match(C9b))?Number(a[1]):0},H9b=function(a){return(a=a.currentQuery.match(B9b))?Number(a[1]):0};xH.prototype.track=function(a,b,c){this.analytics.trackEvent("global-search",a,b,c)};
var I9b=function(a,b){a.searchHandlerStack.push(b);return function(){Va(a.searchHandlerStack,b)}};xH.\u0275fac=function(a){return new (a||xH)(n(tE),n(Ir),n(wH),n(bG))};xH.\u0275prov=Hc({token:xH,factory:xH.\u0275fac,providedIn:"root"});var nFa=function(a,b){return b.teamId},AH=function(a,b,c,d){Z.call(this);var e=this;this.appSearchState=a;this.issueFridge=b;this.teamFridge=c;this.starredTeamsService=d;this.ROUTES=zo;this.INITIAL_TEAMS=this.starredTeamsService.starredTeamIds.join(", ");this.teamIdInput=new xy(this.INITIAL_TEAMS);this.teamIdInput.valueChanges.pipe(of(this.INITIAL_TEAMS),bf(200),y(function(f){return f!=null?f:""}),y(function(f){return f.trim()}),df());this.userScopeInput=new xy("me");this.userScopeInput$=this.userScopeInput.valueChanges.pipe(of("me"),
bf(200),y(function(f){return f!=null?f:""}),y(function(f){return f.trim()}),df());this.recentIssues$=this.userScopeInput$.pipe(pf(function(f){f=f===void 0?"me":f;return e.issueFridge.watchMany({filter:"modified:60d (modifier:"+f+" | assignee:"+f+")",pageSize:500})}));this.recentTeamIds$=this.recentIssues$.pipe(y(function(f){return f.results}),y(function(f){return f.map(function(h){var k;return(k=h.aggregatedData)==null?void 0:k.teamId}).filter(lj).filter(Boolean)}));this.teamsById$=this.recentTeamIds$.pipe(y(Sm),
pf(this.teamFridge.watchSet),y(function(f){var h={};f=l(f);for(var k=f.next();!k.done;k=f.next())k=k.value,h[k.teamId]=k;return h}));this.teamCounts$=this.recentTeamIds$.pipe(y(qFa));this.suggestedTeams$=(0,W.combineLatest)([this.teamsById$,this.teamCounts$,this.starredTeamsService.starredTeamIds$]).pipe(y(function(f){var h=l(f);f=h.next().value;var k=h.next().value;h=h.next().value;var q=[];k=Object.entries(k).sort(function(B,E){return E[1]-B[1]});k=l(k);for(var t=k.next();!t.done;t=k.next()){var w=
l(t.value);t=w.next().value;w=w.next().value;h.includes(t)||w<2||((w=f[t])?q.push(w):q.push({teamId:t,name:"["+t+"]"}))}return q}))};X(AH,Z);AH.\u0275dir=Z.\u0275dir;AH.prototype.ngOnInit=function(){var a=this;setTimeout(function(){a.appSearchState.clear()})};AH.prototype.onClickRemove=function(a){a=EAa([a],this.starredTeamsService.starredTeamIds);this.starredTeamsService.save(a);this.teamIdInput.setValue(a.join(", "))};
AH.prototype.onClickAdd=function(a){a=[].concat(r(this.starredTeamsService.starredTeamIds),[a]);this.starredTeamsService.save(a);this.teamIdInput.setValue(a.join(", "))};var J9b=function(a,b){var c=[];b&&b.split(",").map(function(d){return d.trim()}).filter(Boolean).forEach(function(d){c.push(d)});a.starredTeamsService.save(c)};AH.\u0275fac=function(a){return new (a||AH)(A(xH),A(jG),A(lH),A(uH))};
AH.\u0275cmp=p({type:AH,selectors:[["ng-component"]],features:[zf],decls:32,vars:8,consts:[[1,"pos-fill","overflow","overflow-on-print-media"],[1,"border-bottom","padded-sides"],[1,"main-content","padded"],[1,"margin-bottom"],[1,"unstyled","starred-teams","border-top"],[1,"margin-top"],[3,"submit"],["for","teamIdUserInput",1,"muted"],["mat-input","","id","teamIdUserInput","type","text","placeholder","Moma Team ID",1,"wide",3,"formControl"],["mat-button","","type","submit",1,"gmat-button","medium"],
[1,"unstyled"],[1,"muted"],["for","userScopeInput",1,"muted"],["mat-input","","id","userScopeInput","type","text","placeholder","User LDAP",3,"formControl"],["class","border-bottom",4,"ngFor","ngForOf"],[1,"border-bottom"],[1,"team-name"],[1,"hover-link",3,"href"],["mat-icon-button","","aria-label","Team Settings",1,"gmat-button","small","gfx-muted",3,"href"],["svgIcon","settings",1,"icon-s"],["mat-icon-button","","aria-label","Remove (Unstar) Team",1,"gmat-button","small","gfx-muted",3,"click"],
["svgIcon","close",1,"icon-s"],[1,"link-button",3,"click"]],template:function(a,b){a&1&&(F(0,"div",0)(1,"header",1)(2,"h2"),R(3," Settings Screen - Triage "),G()(),F(4,"div",2)(5,"div",3)(6,"h4"),R(7," Starred Team(s) "),G(),C(8,lFa,2,1,"ol",4),T(9,"async"),F(10,"div",5)(11,"form",6),M("submit",function(){J9b(b,b.teamIdInput.value)}),F(12,"label",7),R(13," Edit Teams: "),G(),H(14,"br")(15,"input",8),F(16,"button",9),R(17,"Save"),G()()()(),H(18,"br")(19,"br")(20,"br"),F(21,"h4"),R(22," Suggested Teams "),
G(),F(23,"ol",10),C(24,oFa,3,2),T(25,"async"),C(26,pFa,2,0,"p",11),G(),F(27,"div")(28,"label",12),R(29," Show suggestions for: "),G(),H(30,"br")(31,"input",13),G()()());if(a&2){var c,d;z(8);Of((c=V(9,4,b.starredTeamsService.starredTeams$))?8:-1,c);z(7);D("formControl",b.teamIdInput);z(9);Of((d=V(25,6,b.teamCounts$))?24:26,d);z(7);D("formControl",b.userScopeInput)}},dependencies:[Fv,zB,zy,mh,qy,ry,wy,oE,pE,Dy,Lv],styles:["[_nghost-%COMP%]{display:block;padding:16px}.starred-teams[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{line-height:2rem}.team-name[_ngcontent-%COMP%]{display:inline-block;min-width:260px}input.wide[_ngcontent-%COMP%]{min-width:400px}\n/*# sourceMappingURL=settings.css.map */"]});var BH=function(a,b,c){this.activatedRoute=a;this.appSearchState=b;this.teamFridge=c;this.ROUTES=zo;this.id$=this.activatedRoute.params.pipe(y(function(d){return d.teamId}));this.team$=this.id$.pipe(pf(this.teamFridge.watchOne));this.query$=this.id$.pipe(y(function(d){return"teamid:"+d+"+"}))};BH.prototype.ngOnInit=function(){var a=this;setTimeout(function(){a.appSearchState.clear()})};BH.\u0275fac=function(a){return new (a||BH)(A(ai),A(xH),A(lH))};
BH.\u0275cmp=p({type:BH,selectors:[["triage-dashboard"]],decls:13,vars:7,consts:[[1,"pos-fill","overflow","overflow-on-print-media"],[1,"border-bottom","padded-sides"],[1,"left","flex-kids-x","align-items-center"],["svgIcon","story-point-24px",1,"screen-logo-icon"],[3,"title"],[1,"muted"],["mat-icon-button","","aria-label","Edit Team",1,"muted",3,"href"],["svgIcon","edit",1,"icon-s"],[1,"main-content","padded","grid"],[1,"carded","phase-card","bg-off-main"],[3,"href"]],template:function(a,b){a&1&&
(F(0,"div",0)(1,"header",1)(2,"div",2),H(3,"mat-icon",3),F(4,"h2"),R(5," Triage: "),C(6,rFa,2,2,"span",4),T(7,"async"),C(8,sFa,3,3,"code",5),G(),F(9,"a",6),H(10,"mat-icon",7),G()()(),C(11,tFa,16,5,"div",8),T(12,"async"),G());if(a&2){var c,d;z(6);Of((c=V(7,3,b.team$))?6:8,c);z(3);D("href",b.ROUTES.overviewTriage.makeHref(),Qe);z(2);Of((d=V(12,5,b.id$))?11:-1,d)}},dependencies:[zB,pE,Lv],styles:["[_nghost-%COMP%]{display:block;padding:16px}.grid[_ngcontent-%COMP%]{display:grid;gap:16px;grid-template-columns:repeat(2,1fr)}@media (min-width:960px){.grid[_ngcontent-%COMP%]{grid-template-columns:repeat(3,1fr)}}@media (min-width:1100px){.grid[_ngcontent-%COMP%]{grid-template-columns:repeat(4,1fr)}}@media (min-width:2400px){.grid[_ngcontent-%COMP%]{grid-template-columns:repeat(5,1fr)}}.screen-logo-icon[_ngcontent-%COMP%]{width:40px}.phase-card[_ngcontent-%COMP%]{min-height:200px}\n/*# sourceMappingURL=triage_dashboard.css.map */"]});var CH=function(a){var b=this;this.elementRef=a;this.eventType="click";this.clickOutside=new XF;this.clickHandler=function(c){var d=c.target instanceof Element?c.target:c.target instanceof Node?c.target.parentElement:null;d&&(d.closest(".cdk-overlay-container")||b.elementRef.nativeElement.contains(d)||b.clickOutside.emit(c))}};CH.prototype.ngOnInit=function(){document.addEventListener(this.eventType,this.clickHandler,!0)};
CH.prototype.ngOnDestroy=function(){document.removeEventListener(this.eventType,this.clickHandler,!0)};CH.\u0275fac=function(a){return new (a||CH)(A(Rd))};CH.\u0275dir=fd({type:CH,selectors:[["","clickOutside",""]],inputs:{eventType:[0,"clickOutsideEvent","eventType"]},outputs:{clickOutside:"clickOutside"}});var DH=function(){};DH.\u0275fac=function(a){return new (a||DH)};DH.\u0275mod=dd({type:DH});DH.\u0275inj=Ic({});var EH=new md("buganizerWindow",{factory:function(){return window}});var FH=function(a){this.window=a};FH.prototype.openInNewTab=function(a){a=zc(a);pea(this.window,a,"_blank")};var ko=function(a,b){b=zc(b);pea(a.window,b)},GH=function(a,b){a=a.window.location;b=zc(b);b=Ac(b);b!==void 0&&(a.href=b)};FH.\u0275fac=function(a){return new (a||FH)(n(EH))};FH.\u0275prov=Hc({token:FH,factory:FH.\u0275fac,providedIn:"root"});var HH=function(){};HH.\u0275fac=function(a){return new (a||HH)};HH.\u0275cmp=p({type:HH,selectors:[["b-glue"]],ngContentSelectors:["*"],decls:2,vars:0,consts:[[1,"no-wrapping"]],template:function(a){a&1&&(Xf(),F(0,"span",0),Yf(1),G())},styles:['.no-wrapping[_ngcontent-%COMP%] {\n  white-space: nowrap;\n}\n\n.no-wrapping[_ngcontent-%COMP%]::after {\n  content: "\\002060"\n}'],changeDetection:0});var K9b=new md("GMAT_BUTTON_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var IH=function(a,b){this.elementRef=a;this.options=b};IH.prototype.ngOnInit=function(){this.elementRef.nativeElement.querySelector(".mat-icon, .material-icons")&&this.elementRef.nativeElement.classList.add("gmat-mdc-button-with-prefix")};IH.\u0275fac=function(a){return new (a||IH)(A(Rd),A(K9b))};
IH.\u0275dir=fd({type:IH,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&&Kf("gmat-mdc-button",!b.options.disableGmatStyle)}});var JH=function(){vx.apply(this,arguments);this.gmatPanelClasses=[]};X(JH,vx);var KH=function(a,b){a.gmatPanelClasses.includes(b)||a.gmatPanelClasses.push(b)};JH.prototype.create=function(a){var b=(a==null?0:a.panelClass)?ah(a.panelClass).concat(this.gmatPanelClasses):this.gmatPanelClasses;return vx.prototype.create.call(this,Object.assign({},a,{panelClass:b}))};JH.\u0275fac=function(){var a;return function(b){return(a||(a=Od(JH)))(b||JH)}}();JH.\u0275prov=Hc({token:JH,factory:JH.\u0275fac});var L9b=new md("GMAT_TOOLTIP_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var LH=function(a,b){a.disableGmatStyle||KH(b,"gmat-mdc-tooltip")};LH.\u0275fac=function(a){return new (a||LH)(A(L9b),A(vx))};LH.\u0275dir=fd({type:LH,selectors:[["","matTooltip",""]],features:[qg([{provide:vx,useClass:JH}])]});var M9b=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)};M9b.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};
M9b.prototype.destroy=function(){var a=this._textarea;a&&(a.remove(),this._textarea=void 0)};var MH=function(a){this._document=a};MH.prototype.copy=function(a){a=new M9b(a,this._document);var b=a.copy();a.destroy();return b};MH.\u0275fac=function(a){return new (a||MH)(n(gh))};MH.\u0275prov=Hc({token:MH,factory:MH.\u0275fac,providedIn:"root"});new md("CDK_COPY_TO_CLIPBOARD_CONFIG");var N9b=["tooltip"],O9b=new md("mat-tooltip-scroll-strategy",{providedIn:"root",factory:function(){var a=Yc(vx);return function(){return a.scrollStrategies.reposition({scrollThrottle:20})}}}),P9b={provide:O9b,deps:[vx],useFactory:function(a){return function(){return a.scrollStrategies.reposition({scrollThrottle:20})}}},Q9b=new md("mat-tooltip-default-options",{providedIn:"root",factory:function(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),R9b=Wg({passive:!0}),OH=function(a,b,c,d,e,
f,h,k,q,t,w,B){var E=this;this._overlay=a;this._elementRef=b;this._scrollDispatcher=c;this._viewContainerRef=d;this._ngZone=e;this._platform=f;this._ariaDescriber=h;this._focusMonitor=k;this._dir=t;this._defaultOptions=w;this._position="below";this._pointerExitEventsInitialized=this._viewInitialized=this._disabled=this._positionAtOrigin=!1;this._tooltipComponent=NH;this._viewportMargin=8;this._cssClassPrefix="mat-mdc";this.touchGestures="auto";this._message="";this._passiveListeners=[];this._destroyed=
new W.Subject;this._injector=Yc(Ae);this._scrollStrategy=q;this._document=B;w&&(this._showDelay=w.showDelay,this._hideDelay=w.hideDelay,w.position&&(this.position=w.position),w.positionAtOrigin&&(this.positionAtOrigin=w.positionAtOrigin),w.touchGestures&&(this.touchGestures=w.touchGestures));t.change.pipe(qf(this._destroyed)).subscribe(function(){E._overlayRef&&E._updatePosition(E._overlayRef)});this._viewportMargin=8};g=OH.prototype;
g.ngAfterViewInit=function(){var a=this;this._viewInitialized=!0;this._setupPointerEnterEventsIfNeeded();this._focusMonitor.monitor(this._elementRef).pipe(qf(this._destroyed)).subscribe(function(b){b?b==="keyboard"&&a._ngZone.run(function(){return a.show()}):a._ngZone.run(function(){return a.hide(0)})})};
g.ngOnDestroy=function(){var a=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout);this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null);this._passiveListeners.forEach(function(b){var c=l(b);b=c.next().value;c=c.next().value;a.removeEventListener(b,c,R9b)});this._passiveListeners.length=0;this._destroyed.next();this._destroyed.complete();zw(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 Nw(this._tooltipComponent,this._viewContainerRef),b=this._tooltipInstance=b.attach(this._portal).instance,b._triggerElement=this._elementRef.nativeElement,b._mouseLeaveHideDelay=this._hideDelay,b.afterHidden().pipe(qf(this._destroyed)).subscribe(function(){return c._detach()}),
this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),b.show(a)};g.hide=function(a){a=a===void 0?this.hideDelay:a;var b=this._tooltipInstance;b&&(b.isVisible()?b.hide(a):(b._cancelPendingAnimations(),this._detach()))};g.toggle=function(a){this._isTooltipVisible()?this.hide():this.show(void 0,a)};g._isTooltipVisible=function(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()};
g._createOverlay=function(a){var b=this;if(this._overlayRef){var c=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!a)&&c._origin instanceof Rd)return this._overlayRef;this._detach()}c=EWb(this._scrollDispatcher,this._elementRef);a=NWb(qx(rx(RWb(ux(this._overlay.position(),this.positionAtOrigin?a||this._elementRef:this._elementRef),"."+this._cssClassPrefix+"-tooltip"),!1),this._viewportMargin),c);a.positionChanges.pipe(qf(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(qf(this._destroyed)).subscribe(function(){return b._detach()});this._overlayRef.outsidePointerEvents().pipe(qf(this._destroyed)).subscribe(function(){var e;
return(e=b._tooltipInstance)==null?void 0:e._handleBodyInteraction()});this._overlayRef.keydownEvents().pipe(qf(this._destroyed)).subscribe(function(e){b._isTooltipVisible()&&e.keyCode===27&&!$g(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();px(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(),Fe(function(){a._tooltipInstance&&a._overlayRef.updatePosition()},{injector:this._injector}))};g._setTooltipClass=function(a){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=a,this._tooltipInstance._markForCheck())};
g._invertPosition=function(a,b){this.position==="above"||this.position==="below"?b==="top"?b="bottom":b==="bottom"&&(b="top"):a==="end"?a="start":a==="start"&&(a="end");return{x:a,y:b}};
g._updateCurrentPositionClass=function(a){var b=a.overlayY,c=a.originX;a=a.originY;b=b==="center"?this._dir&&this._dir.value==="rtl"?c==="end"?"left":"right":c==="start"?"left":"right":b==="bottom"&&a==="top"?"above":"below";if(b!==this._currentPosition){if(c=this._overlayRef)a=this._cssClassPrefix+"-tooltip-panel-",c.removePanelClass(a+this._currentPosition),c.addPanelClass(a+b);this._currentPosition=b}};
g._setupPointerEnterEventsIfNeeded=function(){var a=this;!this._disabled&&this.message&&this._viewInitialized&&!this._passiveListeners.length&&(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",function(b){a._setupPointerExitEventsIfNeeded();var c=void 0;b.x!==void 0&&b.y!==void 0&&(c=b);a.show(void 0,c)}]):this.touchGestures!=="off"&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",function(b){var c,d=(b=(c=b.targetTouches)==null?void 0:
c[0])?{x:b.clientX,y:b.clientY}:void 0;a._setupPointerExitEventsIfNeeded();clearTimeout(a._touchstartTimeout);var e;a._touchstartTimeout=setTimeout(function(){return a.show(void 0,d)},(e=a._defaultOptions.touchLongPressShowDelay)!=null?e:500)}])),this._addListeners(this._passiveListeners))};
g._setupPointerExitEventsIfNeeded=function(){var a=this;if(!this._pointerExitEventsInitialized){this._pointerExitEventsInitialized=!0;var b=[];if(this._platformSupportsMouseEvents())b.push(["mouseleave",function(d){d=d.relatedTarget;var e;d&&((e=a._overlayRef)==null?0:e.overlayElement.contains(d))||a.hide()}],["wheel",function(d){return a._wheelListener(d)}]);else if(this.touchGestures!=="off"){this._disableNativeGesturesIfNecessary();var c=function(){clearTimeout(a._touchstartTimeout);a.hide(a._defaultOptions.touchendHideDelay)};
b.push(["touchend",c],["touchcancel",c])}this._addListeners(b);this._passiveListeners.push.apply(this._passiveListeners,r(b))}};g._addListeners=function(a){var b=this;a.forEach(function(c){var d=l(c);c=d.next().value;d=d.next().value;b._elementRef.nativeElement.addEventListener(c,d,R9b)})};g._platformSupportsMouseEvents=function(){return!this._platform.IOS&&!this._platform.ANDROID};
g._wheelListener=function(a){if(this._isTooltipVisible()){a=this._document.elementFromPoint(a.clientX,a.clientY);var b=this._elementRef.nativeElement;a===b||b.contains(a)||this.hide()}};
g._disableNativeGesturesIfNecessary=function(){var a=this.touchGestures;if(a!=="off"){var b=this._elementRef.nativeElement,c=b.style;if(a==="on"||b.nodeName!=="INPUT"&&b.nodeName!=="TEXTAREA")c.userSelect=c.msUserSelect=c.webkitUserSelect=c.MozUserSelect="none";a!=="on"&&b.draggable||(c.webkitUserDrag="none");c.touchAction="none";c.webkitTapHighlightColor="transparent"}};
ea.Object.defineProperties(OH.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=bh(a);this._detach();this._overlayRef=null}},disabled:{configurable:!0,
enumerable:!0,get:function(){return this._disabled},set:function(a){(this._disabled=bh(a))?this.hide(0):this._setupPointerEnterEventsIfNeeded()}},showDelay:{configurable:!0,enumerable:!0,get:function(){return this._showDelay},set:function(a){this._showDelay=eh(a)}},hideDelay:{configurable:!0,enumerable:!0,get:function(){return this._hideDelay},set:function(a){this._hideDelay=eh(a);this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}},message:{configurable:!0,enumerable:!0,
get:function(){return this._message},set:function(a){var b=this;zw(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(){yw(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)}}});OH.\u0275fac=function(a){return new (a||OH)(A(vx),A(Rd),A(ex),A(dg),A(ze),A($v),A(xw),A(ew),A(O9b),A(Uw),A(Q9b,8),A(gh))};
OH.\u0275dir=fd({type:OH,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(a,b){a&2&&Kf("mat-mdc-tooltip-disabled",b.disabled)},inputs:{position:[0,"matTooltipPosition","position"],positionAtOrigin:[0,"matTooltipPositionAtOrigin","positionAtOrigin"],disabled:[0,"matTooltipDisabled","disabled"],showDelay:[0,"matTooltipShowDelay","showDelay"],hideDelay:[0,"matTooltipHideDelay","hideDelay"],touchGestures:[0,"matTooltipTouchGestures","touchGestures"],
message:[0,"matTooltip","message"],tooltipClass:[0,"matTooltipClass","tooltipClass"]},exportAs:["matTooltip"],standalone:!0});var NH=function(a,b,c){this._changeDetectorRef=a;this._elementRef=b;this._isVisible=this._closeOnInteraction=this._isMultiline=!1;this._onHide=new W.Subject;this._showAnimation="mat-mdc-tooltip-show";this._hideAnimation="mat-mdc-tooltip-hide";this._animationsDisabled=c==="NoopAnimations"};g=NH.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))};NH.\u0275fac=function(a){return new (a||NH)(A(Ig),A(Rd),A(vu,8))};
NH.\u0275cmp=p({type:NH,selectors:[["mat-tooltip-component"]],viewQuery:function(a,b){a&1&&fg(N9b,7);if(a&2){var c;jg(c=kg())&&(b._tooltip=c.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(a,b){a&1&&M("mouseleave",function(c){return b._handleMouseLeave(c)});a&2&&Jf("zoom",b.isVisible()?1:null)},standalone:!0,features:[sg],decls:4,vars:4,consts:[["tooltip",""],[1,"mdc-tooltip","mdc-tooltip--shown","mat-mdc-tooltip",3,"animationend","ngClass"],[1,"mdc-tooltip__surface","mdc-tooltip__surface-animation"]],
template:function(a,b){if(a&1){var c=u();F(0,"div",1,0);M("animationend",function(d){v(c);return x(b._handleAnimationEnd(d))});F(2,"div",2);R(3);G()()}a&2&&(Kf("mdc-tooltip--multiline",b._isMultiline),D("ngClass",b.tooltipClass),z(3),lg(b.message))},dependencies:[Ev],styles:['.mdc-tooltip__surface{word-break:break-all;word-break:var(--mdc-tooltip-word-break, normal);overflow-wrap:anywhere}.mdc-tooltip--showing-transition .mdc-tooltip__surface-animation{transition:opacity 150ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-tooltip--hide-transition .mdc-tooltip__surface-animation{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-tooltip{position:fixed;display:none;z-index:9}.mdc-tooltip-wrapper--rich{position:relative}.mdc-tooltip--shown,.mdc-tooltip--showing,.mdc-tooltip--hide{display:inline-flex}.mdc-tooltip--shown.mdc-tooltip--rich,.mdc-tooltip--showing.mdc-tooltip--rich,.mdc-tooltip--hide.mdc-tooltip--rich{display:inline-block;left:-320px;position:absolute}.mdc-tooltip__surface{line-height:16px;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center}.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}@media screen and (forced-colors: active){.mdc-tooltip__surface::before{border-color:CanvasText}}.mdc-tooltip--rich .mdc-tooltip__surface{align-items:flex-start;display:flex;flex-direction:column;min-height:24px;min-width:40px;max-width:320px;position:relative}.mdc-tooltip--multiline .mdc-tooltip__surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mdc-tooltip__surface,.mdc-tooltip--multiline .mdc-tooltip__surface[dir=rtl]{text-align:right}.mdc-tooltip__surface .mdc-tooltip__title{margin:0 8px}.mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(200px - 2*8px);margin:8px;text-align:left}[dir=rtl] .mdc-tooltip__surface .mdc-tooltip__content,.mdc-tooltip__surface .mdc-tooltip__content[dir=rtl]{text-align:right}.mdc-tooltip--rich .mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(320px - 2*8px);align-self:stretch}.mdc-tooltip__surface .mdc-tooltip__content-link{text-decoration:none}.mdc-tooltip--rich-actions,.mdc-tooltip__content,.mdc-tooltip__title{z-index:1}.mdc-tooltip__surface-animation{opacity:0;transform:scale(0.8);will-change:transform,opacity}.mdc-tooltip--shown .mdc-tooltip__surface-animation{transform:scale(1);opacity:1}.mdc-tooltip--hide .mdc-tooltip__surface-animation{transform:scale(1)}.mdc-tooltip__caret-surface-top,.mdc-tooltip__caret-surface-bottom{position:absolute;height:24px;width:24px;transform:rotate(35deg) skewY(20deg) scaleX(0.9396926208)}.mdc-tooltip__caret-surface-top .mdc-elevation-overlay,.mdc-tooltip__caret-surface-bottom .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-tooltip__caret-surface-bottom{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);outline:1px solid rgba(0,0,0,0);z-index:-1}@media screen and (forced-colors: active){.mdc-tooltip__caret-surface-bottom{outline-color:CanvasText}}.mat-mdc-tooltip .mdc-tooltip__surface{background-color:var(--mdc-plain-tooltip-container-color)}.mat-mdc-tooltip .mdc-tooltip__surface{border-radius:var(--mdc-plain-tooltip-container-shape)}.mat-mdc-tooltip .mdc-tooltip__caret-surface-top,.mat-mdc-tooltip .mdc-tooltip__caret-surface-bottom{border-radius:var(--mdc-plain-tooltip-container-shape)}.mat-mdc-tooltip .mdc-tooltip__surface{color:var(--mdc-plain-tooltip-supporting-text-color)}.mat-mdc-tooltip .mdc-tooltip__surface{font-family:var(--mdc-plain-tooltip-supporting-text-font);line-height:var(--mdc-plain-tooltip-supporting-text-line-height);font-size:var(--mdc-plain-tooltip-supporting-text-size);font-weight:var(--mdc-plain-tooltip-supporting-text-weight);letter-spacing:var(--mdc-plain-tooltip-supporting-text-tracking)}.mat-mdc-tooltip{position:relative;transform:scale(0)}.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-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 S9b=["el"],PH=function(a,b,c){this.clipboard=a;this.snackBar=b;this.domSafe=c;this.opened=!1};PH.prototype.getNgContentParentEl=function(){return this.el.nativeElement};PH.prototype.hide=function(){this.opened=!1};PH.prototype.copyToClipboard=function(){this.clipboard.copy(this.originalHref);this.snackBar.open("URL copied","",{duration:2E3})};PH.\u0275fac=function(a){return new (a||PH)(A(MH),A(XD),A(FH))};
PH.\u0275cmp=p({type:PH,selectors:[["b-broken-link"]],viewQuery:function(a,b){a&1&&fg(S9b,7);if(a&2){var c;jg(c=kg())&&(b.el=c.first)}},inputs:{originalHref:"originalHref"},ngContentSelectors:["*"],decls:8,vars:3,consts:[["trigger","cdkOverlayOrigin"],["el",""],["cdkOverlayOrigin","","aria-haspopup","true",1,"broken",3,"click"],["svgIcon","link-off",1,"broken","icon-s"],["cdkConnectedOverlay","","cdkConnectedOverlayPanelClass","tooltip-panel",3,"cdkConnectedOverlayPush","cdkConnectedOverlayOrigin",
"cdkConnectedOverlayOpen"],[1,"b-bubble","flex-kids-y",3,"clickOutside"],[1,"flex-kids-x"],["mat-button","","matTooltip","Copy to clipboard","aria-label","Copy URL to clipboard",1,"tiny",3,"click"],["svgIcon","copy"],[3,"click","href"]],template:function(a,b){if(a&1){var c=u();Xf();F(0,"a",2,0);M("click",function(d){v(c);d.preventDefault();d.stopPropagation();b.opened=!b.opened;return x()});F(2,"b-glue");H(3,"mat-icon",3);G();F(4,"span",null,1);Yf(6);G()();C(7,EFa,11,4,"ng-template",4)}a&2&&(a=Q(1),
z(7),D("cdkConnectedOverlayPush",!0)("cdkConnectedOverlayOrigin",a)("cdkConnectedOverlayOpen",b.opened))},dependencies:[zB,xx,wx,CH,HH,IH,Rx,LH,OH],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 T9b=new md("GMAT_CHECKBOX_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var QH=function(a){this.options=a};QH.\u0275fac=function(a){return new (a||QH)(A(T9b))};QH.\u0275dir=fd({type:QH,selectors:[["mat-checkbox"]],hostVars:2,hostBindings:function(a,b){a&2&&Kf("gmat-mdc-checkbox",!b.options.disableGmatStyle)}});var U9b=new md("mat-checkbox-default-options",{providedIn:"root",factory:FFa});var V9b=["input"],W9b=["label"],X9b={provide:jy,useExisting:Uc(function(){return RH}),multi:!0},Y9b=function(){},Z9b=0,$9b=FFa(),RH=function(a,b,c,d,e,f){this._elementRef=a;this._changeDetectorRef=b;this._ngZone=c;this._animationMode=e;this._options=f;this._animationClasses={uncheckedToChecked:"mdc-checkbox--anim-unchecked-checked",uncheckedToIndeterminate:"mdc-checkbox--anim-unchecked-indeterminate",checkedToUnchecked:"mdc-checkbox--anim-checked-unchecked",checkedToIndeterminate:"mdc-checkbox--anim-checked-indeterminate",
indeterminateToChecked:"mdc-checkbox--anim-indeterminate-checked",indeterminateToUnchecked:"mdc-checkbox--anim-indeterminate-unchecked"};this.ariaLabel="";this.ariaLabelledby=null;this.labelPosition="after";this.name=null;this.change=new Xu;this.indeterminateChange=new Xu;this._onTouched=function(){};this._currentAnimationClass="";this._currentCheckState=0;this._controlValueAccessorChangeFn=function(){};this._validatorChangeFn=function(){};this._indeterminate=this._disabled=this._checked=!1;this._options=
this._options||$9b;this.color=this._options.color||$9b.color;this.tabIndex=parseInt(d)||0;this.id=this._uniqueId="mat-mdc-checkbox-"+ ++Z9b};g=RH.prototype;g.focus=function(){this._inputElement.nativeElement.focus()};g._createChangeEvent=function(a){var b=new Y9b;b.source=this;b.checked=a;return b};g._getAnimationTargetElement=function(){var a;return(a=this._inputElement)==null?void 0:a.nativeElement};g.ngOnChanges=function(a){a.required&&this._validatorChangeFn()};g.ngAfterViewInit=function(){this._syncIndeterminate(this._indeterminate)};
g._isRippleDisabled=function(){return this.disableRipple||this.disabled};g._onLabelTextChange=function(){this._changeDetectorRef.detectChanges()};g.writeValue=function(a){this.checked=!!a};g.registerOnChange=function(a){this._controlValueAccessorChangeFn=a};g.registerOnTouched=function(a){this._onTouched=a};g.setDisabledState=function(a){this.disabled=a};g.validate=function(a){return this.required&&a.value!==!0?{required:!0}:null};g.registerOnValidatorChange=function(a){this._validatorChangeFn=a};
g._transitionCheckState=function(a){var b=this._currentCheckState,c=this._getAnimationTargetElement();if(b!==a&&c&&(this._currentAnimationClass&&c.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(b,a),this._currentCheckState=a,this._currentAnimationClass.length>0)){c.classList.add(this._currentAnimationClass);var d=this._currentAnimationClass;this._ngZone.runOutsideAngular(function(){setTimeout(function(){c.classList.remove(d)},
1E3)})}};g._emitChangeEvent=function(){this._controlValueAccessorChangeFn(this.checked);this.change.emit(this._createChangeEvent(this.checked));this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)};g.toggle=function(){this.checked=!this.checked;this._controlValueAccessorChangeFn(this.checked)};
g._handleInputClick=function(){var a=this,b,c=(b=this._options)==null?void 0:b.clickAction;this.disabled||c==="noop"?this.disabled||c!=="noop"||(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&c!=="check"&&Promise.resolve().then(function(){a._indeterminate=!1;a.indeterminateChange.emit(a._indeterminate)}),this._checked=!this._checked,this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())};
g._onInteractionEvent=function(a){a.stopPropagation()};g._onBlur=function(){var a=this;Promise.resolve().then(function(){a._onTouched();a._changeDetectorRef.markForCheck()})};
g._getAnimationClassForCheckStateTransition=function(a,b){if(this._animationMode==="NoopAnimations")return"";switch(a){case 0:if(b===1)return this._animationClasses.uncheckedToChecked;if(b==3)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case 2:return b===1?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case 1:return b===2?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;
case 3:return b===1?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""};g._syncIndeterminate=function(a){var b=this._inputElement;b&&(b.nativeElement.indeterminate=a)};g._onInputClick=function(){this._handleInputClick()};g._onTouchTargetClick=function(){this._handleInputClick();this.disabled||this._inputElement.nativeElement.focus()};g._preventBubblingFromLabel=function(a){a.target&&this._labelElement.nativeElement.contains(a.target)&&a.stopPropagation()};
ea.Object.defineProperties(RH.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)}}});RH.\u0275fac=function(a){return new (a||RH)(A(Rd),A(Ig),A(ze),Jd("tabindex"),A(vu,8),A(U9b,8))};
RH.\u0275cmp=p({type:RH,selectors:[["mat-checkbox"]],viewQuery:function(a,b){a&1&&(fg(V9b,5),fg(W9b,5),fg(Ix,5));if(a&2){var c;jg(c=kg())&&(b._inputElement=c.first);jg(c=kg())&&(b._labelElement=c.first);jg(c=kg())&&(b.ripple=c.first)}},hostAttrs:[1,"mat-mdc-checkbox"],hostVars:14,hostBindings:function(a,b){a&2&&(Tf("id",b.id),Bf("tabindex",null)("aria-label",null)("aria-labelledby",null),Lf(b.color?"mat-"+b.color:"mat-accent"),Kf("_mat-animation-noopable",b._animationMode==="NoopAnimations")("mdc-checkbox--disabled",
b.disabled)("mat-mdc-checkbox-disabled",b.disabled)("mat-mdc-checkbox-checked",b.checked))},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],id:"id",required:[2,"required","required",Gg],labelPosition:"labelPosition",name:"name",value:"value",disableRipple:[2,"disableRipple","disableRipple",Gg],tabIndex:[2,"tabIndex","tabIndex",function(a){return a==null?void 0:Hg(a)}],color:"color",checked:[2,
"checked","checked",Gg],disabled:[2,"disabled","disabled",Gg],indeterminate:[2,"indeterminate","indeterminate",Gg]},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],standalone:!0,features:[qg([X9b,{provide:ky,useExisting:RH,multi:!0}]),Af,td,sg],ngContentSelectors:["*"],decls:15,vars:19,consts:[["checkbox",""],["input",""],["label",""],["mat-internal-form-field","",3,"click","labelPosition"],[1,"mdc-checkbox"],[1,"mat-mdc-checkbox-touch-target",3,"click"],
["type","checkbox",1,"mdc-checkbox__native-control",3,"blur","click","change","checked","indeterminate","disabled","id","required","tabIndex"],[1,"mdc-checkbox__ripple"],[1,"mdc-checkbox__background"],["focusable","false","viewBox","0 0 24 24","aria-hidden","true",1,"mdc-checkbox__checkmark"],["fill","none","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-checkbox__checkmark-path"],[1,"mdc-checkbox__mixedmark"],["mat-ripple","",1,"mat-mdc-checkbox-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger",
"matRippleDisabled","matRippleCentered"],[1,"mdc-label",3,"for"]],template:function(a,b){if(a&1){var c=u();Xf();F(0,"div",3);M("click",function(d){v(c);return x(b._preventBubblingFromLabel(d))});F(1,"div",4,0)(3,"div",5);M("click",function(){v(c);return x(b._onTouchTargetClick())});G();F(4,"input",6,1);M("blur",function(){v(c);return x(b._onBlur())})("click",function(){v(c);return x(b._onInputClick())})("change",function(d){v(c);return x(b._onInteractionEvent(d))});G();H(6,"div",7);F(7,"div",8);Gd();
F(8,"svg",9);H(9,"path",10);G();Ad.currentNamespace=null;H(10,"div",11);G();H(11,"div",12);G();F(12,"label",13,2);Yf(14);G()()}a&2&&(a=Q(2),D("labelPosition",b.labelPosition),z(4),Kf("mdc-checkbox--selected",b.checked),D("checked",b.checked)("indeterminate",b.indeterminate)("disabled",b.disabled)("id",b.inputId)("required",b.required)("tabIndex",b.disabled?-1:b.tabIndex),Bf("aria-label",b.ariaLabel||null)("aria-labelledby",b.ariaLabelledby)("aria-describedby",b.ariaDescribedby)("aria-checked",b.indeterminate?
"mixed":null)("name",b.name)("value",b.value),z(7),D("matRippleTrigger",a)("matRippleDisabled",b.disableRipple||b.disabled)("matRippleCentered",!0),z(),D("for",b.inputId))},dependencies:[Ix,Gx],styles:['.mdc-checkbox{display:inline-block;position:relative;flex:0 0 18px;box-sizing:content-box;width:18px;height:18px;line-height:0;white-space:nowrap;cursor:pointer;vertical-align:bottom;padding:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px)/2);margin:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px))/2)}.mdc-checkbox:hover .mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-hover-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-hover-state-layer-color)}.mdc-checkbox:hover .mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-hover-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-focus-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-focus-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-focus-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-pressed-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color)}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-hover-state-layer-opacity);background-color:var(--mdc-checkbox-selected-hover-state-layer-color)}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-hover-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-focus-state-layer-opacity);background-color:var(--mdc-checkbox-selected-focus-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-focus-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-pressed-state-layer-opacity);background-color:var(--mdc-checkbox-selected-pressed-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-pressed-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit;width:var(--mdc-checkbox-state-layer-size, 40px);height:var(--mdc-checkbox-state-layer-size, 40px);top:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px))/2);right:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px))/2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px))/2)}.mdc-checkbox--disabled{cursor:default;pointer-events:none}.mdc-checkbox__background{display:inline-flex;position:absolute;align-items:center;justify-content:center;box-sizing:border-box;width:18px;height:18px;border:2px solid currentColor;border-radius:2px;background-color:rgba(0,0,0,0);pointer-events:none;will-change:background-color,border-color;transition:background-color 90ms cubic-bezier(0.4, 0, 0.6, 1),border-color 90ms cubic-bezier(0.4, 0, 0.6, 1);border-color:var(--mdc-checkbox-unselected-icon-color);top:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px)/2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px)/2)}.mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-icon-color);background-color:var(--mdc-checkbox-selected-icon-color)}.mdc-checkbox--disabled .mdc-checkbox__background{border-color:var(--mdc-checkbox-disabled-unselected-icon-color)}.mdc-checkbox__native-control:disabled:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:disabled:indeterminate~.mdc-checkbox__background{background-color:var(--mdc-checkbox-disabled-selected-icon-color);border-color:rgba(0,0,0,0)}.mdc-checkbox:hover .mdc-checkbox__native-control:not(:checked)~.mdc-checkbox__background,.mdc-checkbox:hover .mdc-checkbox__native-control:not(:indeterminate)~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-hover-icon-color);background-color:rgba(0,0,0,0)}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox:hover .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-hover-icon-color);background-color:var(--mdc-checkbox-selected-hover-icon-color)}.mdc-checkbox__native-control:focus:focus:not(:checked)~.mdc-checkbox__background,.mdc-checkbox__native-control:focus:focus:not(:indeterminate)~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-focus-icon-color)}.mdc-checkbox__native-control:focus:focus:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:focus:focus:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-focus-icon-color);background-color:var(--mdc-checkbox-selected-focus-icon-color)}.mdc-checkbox__checkmark{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;opacity:0;transition:opacity 180ms cubic-bezier(0.4, 0, 0.6, 1);color:var(--mdc-checkbox-selected-checkmark-color)}.mdc-checkbox--disabled .mdc-checkbox__checkmark{color:var(--mdc-checkbox-disabled-selected-checkmark-color)}.mdc-checkbox__checkmark-path{transition:stroke-dashoffset 180ms cubic-bezier(0.4, 0, 0.6, 1);stroke:currentColor;stroke-width:3.12px;stroke-dashoffset:29.7833385;stroke-dasharray:29.7833385}.mdc-checkbox__mixedmark{width:100%;height:0;transform:scaleX(0) rotate(0deg);border-width:1px;border-style:solid;opacity:0;transition:opacity 90ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms cubic-bezier(0.4, 0, 0.6, 1);border-color:var(--mdc-checkbox-selected-checkmark-color)}.cdk-high-contrast-active .mdc-checkbox__mixedmark{margin:0 1px}.mdc-checkbox--disabled .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-disabled-selected-checkmark-color)}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__background,.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__background,.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__background,.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__background{animation-duration:180ms;animation-timing-function:linear}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-unchecked-checked-checkmark-path 180ms linear;transition:none}.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear;transition:none}.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-checked-unchecked-checkmark-path 90ms linear;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark{animation:mdc-checkbox-checked-indeterminate-checkmark 90ms linear;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-checked-indeterminate-mixedmark 90ms linear;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark{animation:mdc-checkbox-indeterminate-checked-checkmark 500ms linear;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-checked-mixedmark 500ms linear;transition:none}.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear;transition:none}.mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{transition:border-color 90ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms cubic-bezier(0, 0, 0.2, 1)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark-path{stroke-dashoffset:0}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark{transition:opacity 180ms cubic-bezier(0, 0, 0.2, 1),transform 180ms cubic-bezier(0, 0, 0.2, 1);opacity:1}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(-45deg)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark{transform:rotate(45deg);opacity:0;transition:opacity 90ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(0deg);opacity:1}@keyframes mdc-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:29.7833385}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 1)}100%{stroke-dashoffset:0}}@keyframes mdc-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mdc-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);opacity:1;stroke-dashoffset:0}to{opacity:0;stroke-dashoffset:-29.7833385}}@keyframes mdc-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(45deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(45deg);opacity:0}to{transform:rotate(360deg);opacity:1}}@keyframes mdc-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(-45deg);opacity:0}to{transform:rotate(0deg);opacity:1}}@keyframes mdc-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(315deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;transform:scaleX(1);opacity:1}32.8%,100%{transform:scaleX(0);opacity:0}}.mat-mdc-checkbox{display:inline-block;position:relative;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-checkbox._mat-animation-noopable .mdc-checkbox *,.mat-mdc-checkbox._mat-animation-noopable .mdc-checkbox *::before{transition:none !important;animation:none !important}.mat-mdc-checkbox .mdc-checkbox__background{-webkit-print-color-adjust:exact;color-adjust:exact}.mat-mdc-checkbox label{cursor:pointer}.mat-mdc-checkbox .mat-internal-form-field{color:var(--mat-checkbox-label-text-color);font-family:var(--mat-checkbox-label-text-font);line-height:var(--mat-checkbox-label-text-line-height);font-size:var(--mat-checkbox-label-text-size);letter-spacing:var(--mat-checkbox-label-text-tracking);font-weight:var(--mat-checkbox-label-text-weight)}.mat-mdc-checkbox.mat-mdc-checkbox-disabled label{cursor:default;color:var(--mat-checkbox-disabled-label-color)}.mat-mdc-checkbox label:empty{display:none}.cdk-high-contrast-active .mat-mdc-checkbox.mat-mdc-checkbox-disabled{opacity:.5}.cdk-high-contrast-active .mat-mdc-checkbox .mdc-checkbox__checkmark{--mdc-checkbox-selected-checkmark-color: CanvasText;--mdc-checkbox-disabled-selected-checkmark-color: CanvasText}.mat-mdc-checkbox .mdc-checkbox__ripple{opacity:0}.mat-mdc-checkbox-ripple,.mdc-checkbox__ripple{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-checkbox-ripple:not(:empty),.mdc-checkbox__ripple:not(:empty){transform:translateZ(0)}.mat-mdc-checkbox-ripple .mat-ripple-element{opacity:.1}.mat-mdc-checkbox-touch-target{position:absolute;top:50%;left:50%;height:48px;width:48px;transform:translate(-50%, -50%);display:var(--mat-checkbox-touch-target-display)}.mat-mdc-checkbox-ripple::before{border-radius:50%}.mdc-checkbox__native-control:focus~.mat-mdc-focus-indicator::before{content:""}\n'],
encapsulation:2,changeDetection:0});var SH=function(){this.checked=!1};SH.\u0275fac=function(a){return new (a||SH)};SH.\u0275cmp=p({type:SH,selectors:[["b-checkbox-widget"]],inputs:{checked:"checked"},decls:1,vars:2,consts:[[3,"disabled","checked"]],template:function(a,b){a&1&&H(0,"mat-checkbox",0);a&2&&D("disabled",!0)("checked",b.checked)},dependencies:[QH,RH],encapsulation:2,changeDetection:0});var a$b=new md("formatting mode",{factory:function(){return"UNSPECIFIED_FORMATTING_MODE"}});var b$b=["el"],KFa=function(a,b){return b.label},TH=function(a,b,c,d,e,f){Z.call(this);this.domSafe=a;this.clipboard=b;this.snackBar=c;this.activeSession=d;this.contextSensitiveRegistry=e;this.formattingMode=f;this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc";this.urls=[];this.enableNexusLinking=this.activeSession.getFlag("enableNexusLinking");this.opened=!1};X(TH,Z);TH.\u0275dir=Z.\u0275dir;
TH.prototype.ngOnInit=function(){this.urls=[{label:this.originalHref,originalHref:this.originalHref,href:this.href}];if(this.enableNexusLinking){var a=fo(this.contextSensitiveRegistry.getIssueId());a:{var b=this.originalHref;try{var c=null,d=(new URL(b)).hostname;switch(d.includes("analog")?"Analog":d.includes("trace")?"Dapper":d.includes("sherlog")?"Sherlog":d.includes("eye3")?"Third Eye":"PRODUCT_UNSPECIFIED"){case "Analog":var e=new URL("https://nexus.corp.google.com/debug/dashboard"),f=bna("analog_link",
b);e.searchParams.set("filters",Sma(f));e.searchParams.set("tab","rdl");var h=new URL(b),k,q,t,w=(t=(k=h.searchParams.get("ts"))==null?void 0:(q=k.split("/"))==null?void 0:q[0])!=null?t:h.searchParams.get("cursor_timestamp");if(w&&w.match(/\d+/)){w.length>16?w=w.substring(0,16):w.length<16&&(w=w.padEnd(16,"0"));var B=w}else B=null;(b=B)&&e.searchParams.set("page_start",b);c=e;break;case "Dapper":c=rqa(b);break;case "Sherlog":var E=new URL(b);if(E.pathname.includes("workflow")){var I=E.searchParams,
J,N=(J=I.get("dataid"))!=null?J:"",P=new URL("https://nexus.corp.google.com/trace/"+N),U=tqa(E);P.searchParams.set("account",U.account);P.searchParams.set("account_type",U.accountType);var ba;P.searchParams.set("version",(ba=I.get("version"))!=null?ba:"");var ma;P.searchParams.set("pipeline",(ma=I.get("config"))!=null?ma:"");P.searchParams.set("trace_type","sherlog");c=P}else c=null}a=a!=null?a:void 0;if(c==null)var na="";else c.searchParams.set("origin_type","buganizer"),a&&c.searchParams.set("origin_id",
a),na=c.toString();break a}catch(ya){na="";break a}na=void 0}na&&this.urls.push({label:"Open in Nexus",originalHref:na,href:na})}};TH.prototype.ngAfterViewInit=function(){var a=this;this.cdkConnectedOverlay.attach.pipe(qf(this.destroyed$)).subscribe(function(){var b=a.cdkConnectedOverlay.overlayRef.overlayElement;b&&(b=b.querySelector("a"))&&b.focus()})};TH.prototype.getNgContentParentEl=function(){return this.el.nativeElement};
var c$b=function(a){if(a.urls.length>1)return!0;if(a.formattingMode==="PLAIN")return!1;var b=a.getNgContentParentEl(),c,d;if(d=DFa(b))a=a.originalHref,b=(c=b.textContent)!=null?c:"",d=b===a||a.startsWith("mailto:")&&a.substring(7)===b?!0:!1;return!d};TH.prototype.hide=function(){this.opened=!1};TH.prototype.copyToClipboard=function(a){this.clipboard.copy(a);this.snackBar.open("URL copied","",{duration:2E3})};
var IFa=function(a,b,c){if(c&&(b.preventDefault(),a=a.cdkConnectedOverlay.overlayRef.overlayElement)){var d=a.querySelector("a");d&&setTimeout(function(){d.focus()})}},HFa=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()})}};TH.\u0275fac=function(a){return new (a||TH)(A(FH),A(MH),A(XD),A(Ir),A(wH),A(a$b))};
TH.\u0275cmp=p({type:TH,selectors:[["b-external-hyperlink-widget"]],viewQuery:function(a,b){a&1&&(fg(b$b,7),fg(xx,7));if(a&2){var c;jg(c=kg())&&(b.el=c.first);jg(c=kg())&&(b.cdkConnectedOverlay=c.first)}},inputs:{originalHref:"originalHref",href:"href"},features:[zf],ngContentSelectors:["*"],decls:7,vars:8,consts:[["trigger","cdkOverlayOrigin"],["el",""],["cdkOverlayOrigin","",1,"keep-focus-ring",3,"click","href","rel"],[4,"ngIf"],["cdkConnectedOverlay","","cdkConnectedOverlayPanelClass","tooltip-panel",
3,"cdkConnectedOverlayPush","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen"],["svgIcon","link",1,"icon-s"],[1,"b-bubble",3,"clickOutside"],[1,"gmat-caption"],["target","_blank",1,"keep-focus-ring",3,"click","keydown","href","rel"],["mat-button","","matTooltip","Copy to clipboard","aria-label","Copy URL to clipboard",1,"tiny",3,"keydown.Tab","click"],["svgIcon","copy"]],template:function(a,b){if(a&1){var c=u();Xf();F(0,"a",2,0);M("click",function(d){v(c);if(!jo(d))if(d.preventDefault(),d.stopPropagation(),
c$b(b))b.opened=!b.opened;else{var e=b.href;jo(d)||(d.preventDefault(),d.stopPropagation(),ko(b.domSafe,e))}return x()});C(2,GFa,2,0,"b-glue",3);F(3,"span",null,1);Yf(5);G()();C(6,LFa,3,0,"ng-template",4)}a&2&&(a=Q(1),Kf("needs-contextual-popup",c$b(b)),D("href",b.originalHref,Qe)("rel",b.EXTERNAL_LINK_REL),z(2),D("ngIf",c$b(b)),z(4),D("cdkConnectedOverlayPush",!0)("cdkConnectedOverlayOrigin",a)("cdkConnectedOverlayOpen",b.opened))},dependencies:[Gv,zB,xx,wx,CH,HH,IH,Rx,LH,OH],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%]{max-width:400px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.b-bubble[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{margin-left:4px}.b-bubble[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]:not(.final){margin-right:4px}"],
changeDetection:0});var UH=function(a){this.codefont$=a.codeFont$};UH.\u0275fac=function(a){return new (a||UH)(n(rH))};UH.\u0275prov=Hc({token:UH,factory:UH.\u0275fac,providedIn:"root"});var d$b=["child"],VH=function(a){this.codefont=a};VH.prototype.ngOnInit=function(){};VH.prototype.ngOnChanges=function(){CFa(this.child.nativeElement,this.content.content)};VH.\u0275fac=function(a){return new (a||VH)(A(UH))};
VH.\u0275cmp=p({type:VH,selectors:[["b-literal-format-presenter"]],viewQuery:function(a,b){a&1&&fg(d$b,7);if(a&2){var c;jg(c=kg())&&(b.child=c.first)}},inputs:{content:"content"},features:[qg([{provide:a$b,useValue:"LITERAL"}]),td],decls:3,vars:4,consts:[["child",""],[1,"type-m","child"]],template:function(a,b){a&1&&(H(0,"div",1,0),T(2,"async"));a&2&&Kf("codefont",V(2,2,b.codefont.codefont$))},dependencies:[Lv],styles:[".child[_ngcontent-%COMP%] { white-space: pre-wrap; }"],changeDetection:0});var WH=function(a,b){this.session=a;this.userPreferencesManager=b;this.textDisplayPreferences$=this.userPreferencesManager.preferences$.pipe(y(function(c){return c.textDisplayPreferences?c.textDisplayPreferences:{}}),df());this.textDisplayPreferences$.pipe(y(function(c){return c.lastPublishMode===J4b}),df());this.commentDisplayOverride$=this.textDisplayPreferences$.pipe(y(function(c){return c.commentDisplayOverride}),df())};WH.\u0275fac=function(a){return new (a||WH)(n(Ir),n(rH))};
WH.\u0275prov=Hc({token:WH,factory:WH.\u0275fac,providedIn:"root"});var e$b=new md("IssueCard");var XH=function(){};XH.prototype.visit=function(){};XH.\u0275fac=function(a){return new (a||XH)};XH.\u0275prov=Hc({token:XH,factory:XH.\u0275fac,providedIn:"root"});var MFa;var YH=function(a){var b=this;this.elementRef=a;this.eventType="click";this.clickOutside=new Xu;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=NFa(this.elementRef.nativeElement))!=null?a:document};YH.\u0275fac=function(a){return new (a||YH)(A(Rd))};YH.\u0275dir=fd({type:YH,selectors:[["","clickOutside",""]],inputs:{eventType:[0,"clickOutsideEvent","eventType"]},outputs:{clickOutside:"clickOutside"}});var ZH=function(){};ZH.\u0275fac=function(a){return new (a||ZH)};ZH.\u0275mod=dd({type:ZH});ZH.\u0275inj=Ic({});var f$b=Symbol("ed"),g$b=Symbol("fd"),$H=function(a){this.viewContainerRef=a;this.className="onedev-hovercard";this.onHide=new Xu;this[f$b]=new W.ReplaySubject(1);this.wasTriggeredByKeyboard=!1;this.isOnHover$=new W.BehaviorSubject(!1);this.closeHovercard$=new W.Subject};$H.prototype.ngOnInit=function(){};var h$b=function(a){var b=a[g$b];return b?(b.loaded||(b.viewContainerRef.createEmbeddedView(b.templateRef),b.cdr.detectChanges(),b.loaded=!0),a[f$b].pipe(cf(0))):(0,W.of)(void 0)};
$H.\u0275fac=function(a){return new (a||$H)(A(dg))};
$H.\u0275cmp=p({type:$H,selectors:[["onedev-hovercard"]],viewQuery:function(a,b){a&1&&fg(cg,7);if(a&2){var c;jg(c=kg())&&(b.templateRef=c.first)}},inputs:{className:"className"},outputs:{onHide:"onHide"},exportAs:["onedevHovercard"],ngContentSelectors:["*"],decls:1,vars:0,consts:[["cdkTrapFocus","",3,"clickOutside","mouseenter","mouseleave","cdkTrapFocusAutoCapture"]],template:function(a){a&1&&(Xf(),C(0,OFa,2,3,"ng-template"))},dependencies:[mw,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[g$b]=this};aI.\u0275fac=function(a){return new (a||aI)(A(cg),A(dg),A(Ig),A($H))};aI.\u0275dir=fd({type:aI,selectors:[["","onedevHovercardLazyBody",""]]});var bI=function(a){this.hovercard=a;this.destroyed$=new W.ReplaySubject(1)};bI.prototype.ngOnDestroy=function(){this.destroyed$.next()};bI.prototype.ngOnInit=function(){this.isHovercardReady$.pipe(qf(this.destroyed$)).subscribe(this.hovercard[f$b])};
bI.\u0275fac=function(a){return new (a||bI)(A($H))};bI.\u0275dir=fd({type:bI,selectors:[["","onedevIsHovercardReady",""]],inputs:{isHovercardReady$:[0,"onedevIsHovercardReady","isHovercardReady$"]}});var i$b={originX:"center",originY:"bottom",overlayX:"center",overlayY:"top",offsetY:10},j$b={originX:"start",originY:"center",overlayX:"end",overlayY:"center",offsetX:-10},k$b={originX:"center",originY:"top",overlayX:"center",overlayY:"bottom",offsetY:-10},l$b=[{originX:"end",originY:"center",overlayX:"start",overlayY:"center",offsetX:10},i$b,k$b,{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.delay=600;this.position=l$b;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 W.ReplaySubject(1);this.hide$=new W.Subject;this.hovercard$=new W.BehaviorSubject(null);this.isHovered$=new W.BehaviorSubject(!1);this.isKeyboardActivated$=new W.BehaviorSubject(!1);this.destroyed$=new W.ReplaySubject(1);this.onDocumentKeyDown=function(d){d.key==="Escape"&&(m$b(c),
d.stopPropagation(),d.preventDefault())};n$b(this);this.handleClose()},n$b=function(a){o$b(a).pipe(qf(a.destroyed$)).subscribe(function(b){(a.active=b)?a.show():a.hide()})};dI.prototype.handleClose=function(){var a=this;this.hovercard$.pipe(pf(function(b){return(b==null?void 0:b.closeHovercard$)||W.NEVER}),qf(this.destroyed$)).subscribe(function(){m$b(a)})};dI.prototype.dispose=function(){p$b(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 m$b=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,h$b(this.hovercard$.getValue()).pipe(ef(),qf(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(){p$b(this);this.hide$.next()};
var p$b=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 px(qx(rx(ux(this.overlay.position(),this.origin)),8),this.config.position)};
var o$b=function(a){return(0,W.combineLatest)([q$b(a).pipe(of(!1)),a.isKeyboardActivated$]).pipe(nf(1),y(function(b){var c=l(b);b=c.next().value;c=c.next().value;return b||c}),pf(function(b){var c;return((c=a.waitFor$)==null?void 0:c.pipe(jf(b)))||(0,W.of)(b)}))},q$b=function(a){return a.hovercard$.pipe(pf(function(b){return(0,W.combineLatest)([a.isHovered$,(b==null?void 0:b.isOnHover$)||(0,W.of)(!1)]).pipe(y(function(c){var d=l(c);c=d.next().value;d=d.next().value;return c||d}),bf(a.config.delay),
qf(a.destroyed$))}))};var r$b={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 u$b=function(a){a=s$b(a);for(var b=2654435769,c=2654435769,d=314159265,e=a.length,f=e,h=0,k=function(){b-=c;b-=d;b^=d>>>13;c-=d;c-=b;c^=b<<8;d-=b;d-=c;d^=c>>>13;b-=c;b-=d;b^=d>>>12;c-=d;c-=b;c^=b<<16;d-=b;d-=c;d^=c>>>5;b-=c;b-=d;b^=d>>>3;c-=d;c-=b;c^=b<<10;d-=b;d-=c;d^=c>>>15};f>=12;f-=12,h+=12)b+=t$b(a,h),c+=t$b(a,h+4),d+=t$b(a,h+8),k();d+=e;switch(f){case 11:d+=a[h+10]<<24;case 10:d+=a[h+9]<<16;case 9:d+=a[h+8]<<8;case 8:c+=a[h+7]<<24;case 7:c+=a[h+6]<<16;case 6:c+=a[h+5]<<8;case 5:c+=a[h+4];
case 4:b+=a[h+3]<<24;case 3:b+=a[h+2]<<16;case 2:b+=a[h+1]<<8;case 1:b+=a[h]}k();return r$b.toString(d)},v$b=function(a){return a},s$b=function(a){for(var b=[],c=0;c<a.length;c++)b.push(a.charCodeAt(c));return b},t$b=function(a,b){return a[b]+(a[b+1]<<8)+(a[b+2]<<16)+(a[b+3]<<24)};var w$b=new md("PRODUCTION_ALLOWLIST",{factory:function(){return"l2YMRd lfR6bb iQyyte LhFyIb aVezrf i1iYkd dVgi5c kMzkoe pglXEd AbcbBc Yc0Dnb cvLsDf UAiaPe NdZs2d elAd5d q7HsZb kbrYBc qX517e KmD3Se w0tcsb".split(" ")}}),x$b=new md("STREAMZ_PRODUCT_IDENTIFIER"),y$b=new md("STREAMZ_ALLOWLIST_IDENTIFIER"),z$b=new md("one_developer_workflow.streamz_service",{providedIn:"root",factory:function(){return Yc(ze).runOutsideAngular(function(){var a=new OF(1503);a=new k0b(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 q0b(this.streamzService);new r0b(this.streamzService);new s0b(this.streamzService);new t0b(this.streamzService);this.productIdentifier=d||window.location.hostname;this.productionAllowlist=c.map(v$b);this.allowlistIdentifier=u$b(e!=null?e:this.productIdentifier)},fI=function(a,b,c){a.zone.runOutsideAngular(function(){A$b(a)&&a.oneDeveloperWorkflowUsageMetrics.increment(b,a.productIdentifier,
c)})},A$b=function(a){return a.productionAllowlist.some(function(b){return a.allowlistIdentifier===b})};eI.\u0275fac=function(a){return new (a||eI)(n(z$b),n(ze),n(w$b),n(x$b,8),n(y$b,8))};eI.\u0275prov=Hc({token:eI,factory:eI.\u0275fac,providedIn:"root"});var B$b=new md("onedevHovercardLoggingOn"),gI=function(a,b,c,d,e){var f=this;this.viewContainerRef=c;this.injector=e;this.config=new cI;this.onHovercardShown=new Xu;this.destroyed$=new W.ReplaySubject(1);this.triggerControl=new dI(a,b);this.triggerControl.hovercardShown$.pipe(tf(d||(0,W.of)(!1)),qf(this.destroyed$)).subscribe(function(h){h=l(h);h.next();h=h.next().value;f.onHovercardShown.emit();h&&(f.clientStreamzService||(f.clientStreamzService=f.injector.get(eI)),fI(f.clientStreamzService,"hovercardShown",
!0))})};g=gI.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 Ow(a.templateRef,c);b.hovercard$.next(a)}}};
g.ngOnDestroy=function(){this.triggerControl.dispose();this.destroyed$.next();this.destroyed$.complete()};g.isExpanded=function(){return this.triggerControl.isExpanded()};g.onKeyDown=function(a){if(this.config.triggerKey.includes(a.key)){var b=this.triggerControl;a.stopPropagation();a.preventDefault();b.isKeyboardActivated$.next(!0)}};g.toggle=function(a){this.triggerControl.toggle(a)};g.hide=function(){this.triggerControl.hide()};
ea.Object.defineProperties(gI.prototype,{enabled:{configurable:!0,enumerable:!0,set:function(a){this.triggerControl.enabled=a}}});gI.\u0275fac=function(a){return new (a||gI)(A(vx),A(Rd),A(dg),A(B$b,8),A(Ae))};
gI.\u0275dir=fd({type:gI,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&&Bf("aria-haspopup",b.hovercard?"true":void 0)("aria-expanded",b.isExpanded())},inputs:{hovercard:[0,"onedevHovercardTrigger",
"hovercard"],enabled:[0,"onedevHovercardActive","enabled"],config:[0,"onedevHovercardConfig","config"]},outputs:{onHovercardShown:"onedevHovercardShown"},exportAs:["onedevHovercardTrigger"],features:[td]});var C$b=["el"],hI=function(a){this.viewContainerRef=a};hI.\u0275fac=function(a){return new (a||hI)(A(dg))};hI.\u0275dir=fd({type:hI,selectors:[["","issueCardHost",""]]});var iI=function(a,b){Z.call(this);this.issueReferenceResolver=a;this.issueCard=b;this.hovercardReady=new W.ReplaySubject(1)};X(iI,Z);iI.\u0275dir=Z.\u0275dir;iI.prototype.ngOnInit=function(){};
iI.prototype.ngAfterViewInit=function(){var a=this;this.issueCardHost.changes.pipe(qf(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(ef(),qf(a.destroyed$)).subscribe(a.hovercardReady),b.changeDetectorRef.detectChanges())})};
iI.prototype.visit=function(a){if(!jo(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})}};iI.\u0275fac=function(a){return new (a||iI)(A(XH),A(e$b,8))};
iI.\u0275cmp=p({type:iI,selectors:[["b-issue-reference-widget"]],viewQuery:function(a,b){a&1&&(fg(C$b,7),fg(hI,5));if(a&2){var c;jg(c=kg())&&(b.el=c.first);jg(c=kg())&&(b.issueCardHost=c)}},inputs:{href:"href",issueId:"issueId",commentNumber:"commentNumber"},features:[zf],ngContentSelectors:["*"],decls:6,vars:3,consts:[["issueHovercard","onedevHovercard"],["el",""],[3,"onedevIsHovercardReady",4,"onedevHovercardLazyBody"],[1,"keep-focus-ring",3,"click","onedevHovercardTrigger","onedevHovercardActive",
"href"],[3,"onedevIsHovercardReady"],["issueCardHost",""]],template:function(a,b){if(a&1){var c=u();Xf();F(0,"onedev-hovercard",null,0);C(2,PFa,2,1,"div",2);G();F(3,"a",3,1);M("click",function(d){v(c);return x(b.visit(d))});Yf(5);G()}a&2&&(a=Q(1),z(3),D("onedevHovercardTrigger",a)("onedevHovercardActive",!!b.issueCard)("href",b.href,Qe))},dependencies:[$H,aI,gI,bI,hI],encapsulation:2,changeDetection:0});var D$b=function(){this.issueId="";this.customFieldMap={};this.currentUserEmail="";this.user=this.originalModelData=null;this.componentId=0;this.severity=this.priority=this.type=null;this.title="";this.verifierUser=this.verifier=this.assigneeUser=this.assignee=this.reporterUser=this.reporter=null;this.cc=[];this.ccUsers=[];this.collaborators=[];this.collaboratorsUsers=[];this.hotlistId=this.verifiedInVersion=this.targetedToVersion=this.foundInVersion=this.postmortems=this.gerritChanges=this.changelist=
this.blockingIssueId=this.blockedByIssueId=this.duplicateOfIssueId=null;this.customField=[];this.duplicateIssueId=this.deletionReason=this.isDeleted=null;this.isArchived=this.inProd=!1;this.effortEstimate=this.sloSnoozeType=this.sloEndTime=this.sloStartTime=null;this.status="NEW"};
D$b.prototype.setData=function(a,b,c){this.issueId=b;a=qi(a);a.status=a.status||"NEW";a.blockingIssueId=a.blockingIssueId||[];a.componentId=a.componentId||0;a.changelist=a.changelist||[];a.gerritChanges=a.gerritChanges||[];a.postmortems=a.postmortems||[];a.blockedByIssueId=a.blockedByIssueId||[];a.foundInVersion=a.foundInVersion||[];a.hotlistId=a.hotlistId||[];a.targetedToVersion=a.targetedToVersion||[];a.verifiedInVersion=a.verifiedInVersion||[];a.customField=a.customField||[];a.deletionReason=a.deletionReason||
null;a.duplicateOfIssueId=a.duplicateOfIssueId||null;a.isDeleted=a.isDeleted||!1;this.originalModelData=qi(a);this.assignee=pm(a.assigneeUser);this.assigneeUser=a.assigneeUser;this.blockedByIssueId=a.blockedByIssueId;this.blockingIssueId=a.blockingIssueId;this.cc=rm(a.ccUsers)||[];this.ccUsers=a.ccUsers||[];this.collaborators=rm(a.collaboratorsUsers)||[];this.collaboratorsUsers=a.collaboratorsUsers||[];this.changelist=a.changelist;this.gerritChanges=a.gerritChanges;this.componentId=a.componentId||
0;this.deletionReason=a.deletionReason;this.duplicateIssueId=a.duplicateIssueId;this.duplicateOfIssueId=a.duplicateOfIssueId;this.foundInVersion=a.foundInVersion;this.hotlistId=a.hotlistId;this.inProd=a.inProd;this.isArchived=a.isArchived;this.isDeleted=a.isDeleted;this.postmortems=a.postmortems;this.priority=a.priority;this.reporter=pm(a.reporterUser);this.reporterUser=a.reporterUser;this.severity=a.severity;this.status=a.status||"NEW";this.targetedToVersion=a.targetedToVersion;this.title=a.title;
this.type=a.type;this.verifiedInVersion=a.verifiedInVersion;this.verifier=pm(a.verifierUser);this.verifierUser=a.verifierUser;this.sloStartTime=a.sloStartTime;this.sloEndTime=a.sloEndTime;this.sloSnoozeType=a.sloSnoozeType;var d,e;this.effortEstimate=(e=(d=a.effort)==null?void 0:d.estimate)!=null?e:null;this.customField=[];a&&(this.customField=(a.customField||[]).filter(function(f){return f}).map(function(f){return new E$b(f)}));c=l(c);e=c.next();for(d={};!e.done;d={fieldResource:void 0},e=c.next())d.fieldResource=
e.value,e=d.fieldResource.allowedValue?d.fieldResource.allowedValue.map(function(f){return{value:f,displayText:f}}):null,(a=this.customField.find(function(f){return function(h){return h.customFieldId===f.fieldResource.customFieldId}}(d)))?(a.type=d.fieldResource.type,a.customFieldName=d.fieldResource.name,a.choices=e,this.customFieldMap[String(d.fieldResource.customFieldId)]=a):(a=new E$b({customFieldId:d.fieldResource.customFieldId}),a.type=d.fieldResource.type,a.customFieldName=d.fieldResource.name,
a.choices=e,this.customFieldMap[String(d.fieldResource.customFieldId)]=a)};
var H$b=function(a){for(var b=[],c=l(Object.values(a.customFieldMap)),d=c.next();!d.done;d=c.next()){d=d.value;var e=F$b(a,d.customFieldId);if(!pi(e?Bm(e):null,Bm(d))){if(e=Cm(d))d.textValue="";b.push({fieldName:"customField",customFieldValue:d,actionType:e?"REMOVE":"ADD"})}}if(a.originalModelData){jI(pm(a.originalModelData.assigneeUser),a.assignee,"assignee",b);jI(a.originalModelData.componentId,a.componentId,"componentId",b,!0);jI(a.originalModelData.deletionReason,a.deletionReason,"deletionReason",
b);jI(a.originalModelData.duplicateOfIssueId,a.duplicateOfIssueId,"duplicateOfIssueId",b);jI(a.originalModelData.inProd,a.inProd,"inProd",b);jI(a.originalModelData.isArchived,a.isArchived,"isArchived",b);jI(a.originalModelData.isDeleted,a.isDeleted,"isDeleted",b);jI(a.originalModelData.priority,a.priority,"priority",b);jI(pm(a.originalModelData.reporterUser),a.reporter,"reporter",b);jI(a.originalModelData.severity,a.severity,"severity",b);jI(a.originalModelData.status,a.status,"status",b);jI(a.originalModelData.title,
a.title,"title",b);jI(a.originalModelData.type,a.type,"type",b);jI(pm(a.originalModelData.verifierUser),a.verifier,"verifier",b);var f,h,k,q;jI((k=(f=a.originalModelData.sloStartTime)==null?void 0:f.seconds)!=null?k:null,(q=(h=a.sloStartTime)==null?void 0:h.seconds)!=null?q:null,"sloStartTime",b);var t,w,B,E;jI((B=(t=a.originalModelData.sloEndTime)==null?void 0:t.seconds)!=null?B:null,(E=(w=a.sloEndTime)==null?void 0:w.seconds)!=null?E:null,"sloEndTime",b);jI(a.originalModelData.sloSnoozeType,a.sloSnoozeType,
"sloSnoozeType",b);var I,J;jI((J=(I=a.originalModelData.effort)==null?void 0:I.estimate)!=null?J:null,a.effortEstimate,"effortEstimate",b);kI(rm(a.originalModelData.ccUsers),a.cc,"ccs",b);kI(rm(a.originalModelData.collaboratorsUsers),a.collaborators,"collaborators",b);kI(a.originalModelData.changelist,a.changelist,"changelists",b);G$b(a.originalModelData.gerritChanges,a.gerritChanges,b);kI(a.originalModelData.blockedByIssueId,a.blockedByIssueId,"blockedByIssueId",b);kI(a.originalModelData.blockingIssueId,
a.blockingIssueId,"blockingIssueId",b);kI(a.originalModelData.foundInVersion,a.foundInVersion,"foundInVersion",b);kI(a.originalModelData.targetedToVersion,a.targetedToVersion,"targetedToVersion",b);kI(a.originalModelData.verifiedInVersion,a.verifiedInVersion,"verifiedInVersion",b);kI(a.originalModelData.hotlistId,a.hotlistId,"hotlists",b)}return b.length?{issueId:a.issueId,actions:b}:null},jI=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))},kI=function(a,b,c,d){var e=Nta(b||[],new Set(a));a=Nta(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"})},G$b=function(a,b,c){var d=Yza(b!=null?b:[],a!=null?a:[]);a=Yza(a!=null?a:[],b!=null?b:[]).filter(function(e){return e.state!=="PENDING"});d.length&&c.push({fieldName:"gerritChanges",gerritChangeValue:d,actionType:"ADD"});a.length&&c.push({fieldName:"gerritChanges",gerritChangeValue:a,
actionType:"REMOVE"})};g=D$b.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:Dc(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=Qm[this.status];!this.assignee&&this.originalModelData&&pm(this.originalModelData.assigneeUser)&&(a==null?void 0:a.assigneeRequirement)==="REQUIRED"?this.status="NEW":this.assignee&&this.status!=="FIXED"&&this.status!=="VERIFIED"&&(this.status="ASSIGNED")};
g.setVerifier=function(a){this.verifier=a;!this.verifier&&this.originalModelData&&pm(this.originalModelData.verifierUser)&&this.originalModelData.status==="VERIFIED"&&(this.status="FIXED")};
g.setStatus=function(a){this.status=a;a=Qm[this.status];(a==null?void 0:a.assigneeRequirement)==="FORBIDDEN"&&this.assigneeUser?this.assignee="":(a==null?void 0:a.assigneeRequirement)!=="REQUIRED"||this.assigneeUser||(this.assignee=this.currentUserEmail);this.status!=="VERIFIED"||this.verifier||(this.verifier=this.currentUserEmail)};g.setInProd=function(a){this.inProd=a};g.setCollaborators=function(a){this.collaborators=a};g.setSloEndTime=function(a){this.sloEndTime=a};
g.setSloSnoozeType=function(a){this.sloSnoozeType=a};
var F$b=function(a,b){return a.originalModelData?(a=(a.originalModelData.customField||[]).find(function(c){return c.customFieldId===b}))?a:null:null},Wab=function(a,b){var c=[];b!==void 0&&!b&&a.changelist&&c.push.apply(c,r(a.changelist));a.gerritChanges&&c.push.apply(c,r(a.gerritChanges.filter(function(d){return d.state==="MERGED"}).map(function(d){return Uza(d)})));return c},I$b=function(a){return a.gerritChanges?a.gerritChanges.filter(function(b){return b.state==="PENDING"}).map(function(b){return Uza(b)}):
[]},E$b=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};
E$b.prototype.isRepeated=function(){return this.type==null?!1:["REPEATED_TEXT","REPEATED_DATE","REPEATED_ENUM","REPEATED_NUMERIC"].includes(this.type)};var J$b=new Map([["assignee",function(a,b){a.assigneeUser=tm(b.assignee)}],["ccs",function(a,b){a.ccUsers=b.cc.map(tm).filter(lj)}],["changelists",function(a,b){a.changelist=b.changelist}],["hotlists",function(a,b){a.hotlistId=b.hotlistId}],["reporter",function(a,b){a.reporterUser=tm(b.reporter)}],["verifier",function(a,b){a.verifierUser=tm(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 lI=function(a){this.$window=a};lI.\u0275fac=function(a){return new (a||lI)(n(EH))};lI.\u0275prov=Hc({token:lI,factory:lI.\u0275fac,providedIn:"root"});var oI=function(a){this.session=a;this.baseDocumentationUrl=a.getDocumentationBaseUrl()},Do=function(a){return a.session.isInternalSession()?"https://g3doc.corp.google.com/company/teams/buganizer/user-guide/concepts/access-control":a.baseDocumentationUrl+"/concepts/access-control"},K$b=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"};
oI.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 L$b=function(a){return a.session.isInternalSession()?"https://g3doc.corp.google.com/company/teams/buganizer/user-guide/concepts/automation-access":Do(a)},JLa=function(a){if(!a.session.isExternalSession())return"http://go/buganizer-external-access"},M$b=function(a){if(!a.session.isExternalSession())return"http://go/buganizer-public-access"},N$b=function(a){if(a=M$b(a))return a+"#recommended-access-settings"},O$b=function(a){if(a=M$b(a))return a+"#fully-public-component"},P$b=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"},Tob=function(){return"https://g3doc.corp.google.com/company/teams/buganizer/user-guide/guides/manage-component#enabling-comment-editing"},Q$b=function(a){return a.session.isExternalSession()?a.baseDocumentationUrl+"/concepts/access-control":"https://g3doc.corp.google.com/company/teams/buganizer/user-guide/concepts/access-dos-donts#moving-issues-to-a-new-component"},
Dr=function(){return"http://go/buganizer-retention"};oI.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 IEb=function(){return"https://g3doc.corp.google.com/company/teams/buganizer/user-guide/concepts/custom-fields"};oI.prototype.getDisablingFieldsHelpLink=function(){return IEb()+"#hiding-inherited-fields"};
var R$b=function(a){return a.session.isInternalSession()?"http://go/delete-comments-attachments":""};oI.\u0275fac=function(a){return new (a||oI)(n(Ir))};oI.\u0275prov=Hc({token:oI,factory:oI.\u0275fac,providedIn:"root"});var pI=function(a,b,c){var d=this;this._ref=a;this._containerInstance=c;this._afterOpened=new W.Subject;this._beforeClosed=new W.Subject;this._state=0;this.disableClose=b.disableClose;this.id=a.id;a.addPanelClass("mat-mdc-dialog-panel");c._animationStateChanged.pipe(te(function(e){return e.state==="opened"}),ef()).subscribe(function(){d._afterOpened.next();d._afterOpened.complete()});c._animationStateChanged.pipe(te(function(e){return e.state==="closed"}),ef()).subscribe(function(){clearTimeout(d._closeFallbackTimeout);
d._finishDialogClose()});a.overlayRef._detachments.subscribe(function(){d._beforeClosed.next(d._result);d._beforeClosed.complete();d._finishDialogClose()});(0,W.merge)(this.backdropClick(),this.keydownEvents().pipe(te(function(e){return e.keyCode===27&&!d.disableClose&&!$g(e)}))).subscribe(function(e){d.disableClose||(e.preventDefault(),d._closeInteractionType=e.type==="keydown"?"keyboard":"mouse",d.close(void 0))})};
pI.prototype.close=function(a){var b=this;this._result=a;this._containerInstance._animationStateChanged.pipe(te(function(c){return c.state==="closing"}),ef()).subscribe(function(c){b._beforeClosed.next(a);b._beforeClosed.complete();IWb(b._ref.overlayRef);b._closeFallbackTimeout=setTimeout(function(){return b._finishDialogClose()},c.totalTime+100)});this._state=1;this._containerInstance._startExitAnimation()};pI.prototype.afterOpened=function(){return this._afterOpened};var qI=function(a){return a._ref.closed};
g=pI.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):sx(b);a&&(a.top||a.bottom)?a.top?b.top(a.top):b.bottom(a.bottom):TWb(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 S$b=function(){this.role="dialog";this.panelClass="";this.hasBackdrop=!0;this.backdropClass="";this.disableClose=!1;this.height=this.width="";this.ariaLabel=this.ariaLabelledBy=this.ariaDescribedBy=this.data=null;this.ariaModal=!0;this.autoFocus="first-tabbable";this.closeOnOverlayDetachments=this.closeOnDestroy=this.closeOnNavigation=this.restoreFocus=!0};var rI=function(a,b,c,d,e,f,h,k){this._isDisposed=!1;this._elementRef=a;this._focusTrapFactory=b;this._config=d;this._interactivityChecker=e;this._ngZone=f;this._overlayRef=h;this._focusMonitor=k;this._platform=Yc($v);this._closeInteractionType=this._elementFocusedBeforeDialogWasOpened=this._focusTrap=null;this._ariaLabelledByQueue=[];this._changeDetectorRef=Yc(Ig);this._document=c;this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)};X(rI,Pw);g=rI.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._restoreFocus()};
g.attachComponentPortal=function(a){a=this._portalOutlet.attachComponentPortal(a);this._contentAttached();return a};g.attachTemplatePortal=function(a){a=this._portalOutlet.attachTemplatePortal(a);this._contentAttached();return a};g._recaptureFocus=function(){this._containsFocus()||this._trapFocus()};
g._forceFocus=function(a,b){this._interactivityChecker.isFocusable(a)||(a.tabIndex=-1,this._ngZone.runOutsideAngular(function(){var c=function(){a.removeEventListener("blur",c);a.removeEventListener("mousedown",c);a.removeAttribute("tabindex")};a.addEventListener("blur",c);a.addEventListener("mousedown",c)}));a.focus(b)};g._focusByCssSelector=function(a,b){(a=this._elementRef.nativeElement.querySelector(a))&&this._forceFocus(a,b)};
g._trapFocus=function(){var a=this,b=this._elementRef.nativeElement;switch(this._config.autoFocus){case !1:case "dialog":this._containsFocus()||b.focus();break;case !0:case "first-tabbable":var c;(c=this._focusTrap)==null||mWb(c).then(function(d){d||a._focusDialogContainer()});break;case "first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus)}};
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=Yg();var c=this._elementRef.nativeElement;if(!a||a===this._document.body||a===c||c.contains(a))this._focusMonitor?(fw(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=Yg();return a===b||a.contains(b)};g._initializeFocusTrap=function(){this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=Yg()))};
g._handleBackdropClicks=function(){var a=this;this._overlayRef.backdropClick().subscribe(function(){a._config.disableClose&&a._recaptureFocus()})};rI.\u0275fac=function(a){return new (a||rI)(A(Rd),A(lw),A(gh,8),A(S$b),A(hw),A(ze),A(nx),A(ew))};
rI.\u0275cmp=p({type:rI,selectors:[["cdk-dialog-container"]],viewQuery:function(a,b){a&1&&fg(Sw,7);if(a&2){var c;jg(c=kg())&&(b._portalOutlet=c.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(a,b){a&2&&Bf("id",b._config.id||null)("role",b._config.role)("aria-modal",b._config.ariaModal)("aria-labelledby",b._config.ariaLabel?null:b._ariaLabelledByQueue[0])("aria-label",b._config.ariaLabel)("aria-describedby",b._config.ariaDescribedBy||null)},standalone:!0,
features:[zf,sg],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(a){a&1&&C(0,QFa,0,0,"ng-template",0)},dependencies:[Sw],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}\n"],encapsulation:2});var T$b=new md("DialogScrollStrategy",{providedIn:"root",factory:function(){var a=Yc(vx);return function(){return a.scrollStrategies.block()}}}),U$b=new md("DialogData"),V$b=new md("DefaultDialogConfig");var W$b=function(a,b){var c=this;this.overlayRef=a;this.config=b;this.closed=new W.Subject;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||$g(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=W$b.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 X$b=0,sI=function(a,b,c,d,e,f){var h=this;this._overlay=a;this._injector=b;this._defaultOptions=c;this._parentDialog=d;this._overlayContainer=e;this._openDialogsAtThisLevel=[];this._afterAllClosedAtThisLevel=new W.Subject;this._afterOpenedAtThisLevel=new W.Subject;this._ariaHiddenElements=new Map;(0,W.defer)(function(){return h.openDialogs.length?h._getAfterAllClosed():h._getAfterAllClosed().pipe(of(void 0))});this._scrollStrategy=f};g=sI.prototype;
g.open=function(a,b){var c=this;b=Object.assign({},this._defaultOptions||new S$b,b);b.id=b.id||"cdk-dialog-"+X$b++;b.id&&this.getDialogById(b.id);var d=this._getOverlayConfig(b);d=this._overlay.create(d);var e=new W$b(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(){RFa(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;RFa(this._openDialogsAtThisLevel,function(b){b.config.closeOnDestroy===!1&&a._removeOpenDialog(b,!1)});RFa(this._openDialogsAtThisLevel,function(b){return b.close()});this._afterAllClosedAtThisLevel.complete();this._afterOpenedAtThisLevel.complete();this._openDialogsAtThisLevel=[]};
g._getOverlayConfig=function(a){var b=new mx({positionStrategy:a.positionStrategy||TWb(sx(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:S$b,useValue:c},{provide:W$b,useValue:b},{provide:nx,useValue:a}];c.container?typeof c.container==="function"?d=c.container:(d=c.container.type,b.push.apply(b,r(c.container.providers(c)))):d=rI;c=new Nw(d,c.viewContainerRef,Fg({parent:e||this._injector,providers:b}),c.componentFactoryResolver);return a.attach(c).instance};
g._attachDialogContent=function(a,b,c,d){if(a instanceof cg){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 Ow(a,null,b,e))}else e=this._createInjector(d,b,c,this._injector),a=c.attachComponentPortal(new Nw(a,d.viewContainerRef,e,d.componentFactoryResolver)),b.componentRef=a,b.componentInstance=a.instance};
g._createInjector=function(a,b,c,d){var e,f=a.injector||((e=a.viewContainerRef)==null?void 0:e.injector);e=[{provide:U$b,useValue:a.data},{provide:W$b,useValue:b}];a.providers&&(typeof a.providers==="function"?e.push.apply(e,r(a.providers(b,a,c))):e.push.apply(e,r(a.providers)));!a.direction||f&&f.get(Uw,null,{optional:!0})||e.push({provide:Uw,useValue:{value:a.direction,change:(0,W.of)()}});return Fg({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=CWb(this._overlayContainer);if(a.parentElement)for(var b=a.parentElement.children,c=b.length-1;c>-1;c--){var d=b[c];d===a||d.nodeName==="SCRIPT"||d.nodeName==="STYLE"||d.hasAttribute("aria-live")||(this._ariaHiddenElements.set(d,d.getAttribute("aria-hidden")),d.setAttribute("aria-hidden","true"))}};g._getAfterAllClosed=function(){var a=this._parentDialog;return a?a._getAfterAllClosed():this._afterAllClosedAtThisLevel};
ea.Object.defineProperties(sI.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}}});sI.\u0275fac=function(a){return new (a||sI)(n(vx),n(Ae),n(V$b,8),n(sI,12),n($w),n(T$b))};sI.\u0275prov=Hc({token:sI,factory:sI.\u0275fac,providedIn:"root"});var tI=function(){};tI.\u0275fac=function(a){return new (a||tI)};tI.\u0275mod=dd({type:tI});tI.\u0275inj=Ic({providers:[sI],imports:[yx,Tw,ww,Tw]});var Y$b=function(){this.role="dialog";this.panelClass="";this.hasBackdrop=!0;this.backdropClass="";this.disableClose=!1;this.height=this.width="";this.ariaLabel=this.ariaLabelledBy=this.ariaDescribedBy=this.data=null;this.ariaModal=!0;this.autoFocus="first-tabbable";this.closeOnNavigation=this.delayFocusTrap=this.restoreFocus=!0};var uI=function(a,b,c,d,e,f,h,k,q){rI.call(this,a,b,c,d,e,f,h,q);var t=this;this._animationMode=k;this._animationStateChanged=new Xu;this._animationsEnabled=this._animationMode!=="NoopAnimations";this._actionSectionCount=0;this._hostElement=this._elementRef.nativeElement;var w;this._enterAnimationDuration=this._animationsEnabled?(w=TFa(this._config.enterAnimationDuration))!=null?w:150:0;var B;this._exitAnimationDuration=this._animationsEnabled?(B=TFa(this._config.exitAnimationDuration))!=null?B:75:
0;this._animationTimer=null;this._isDestroyed=!1;this._finishDialogOpen=function(){t._clearAnimationClasses();t._openAnimationDone(t._enterAnimationDuration)};this._finishDialogClose=function(){t._clearAnimationClasses();t._animationStateChanged.emit({state:"closed",totalTime:t._exitAnimationDuration})}};X(uI,rI);g=uI.prototype;g._contentAttached=function(){rI.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._isDestroyed||(this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:a}))};
g.ngOnDestroy=function(){rI.prototype.ngOnDestroy.call(this);this._animationTimer!==null&&clearTimeout(this._animationTimer);this._isDestroyed=!0};g.attachComponentPortal=function(a){a=rI.prototype.attachComponentPortal.call(this,a);a.location.nativeElement.classList.add("mat-mdc-dialog-component-host");return a};uI.\u0275fac=function(a){return new (a||uI)(A(Rd),A(lw),A(gh,8),A(Y$b),A(hw),A(ze),A(nx),A(vu,8),A(ew))};
uI.\u0275cmp=p({type:uI,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:10,hostBindings:function(a,b){a&2&&(Tf("id",b._config.id),Bf("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),Kf("_mat-animation-noopable",!b._animationsEnabled)("mat-mdc-dialog-container-with-actions",
b._actionSectionCount>0))},standalone:!0,features:[zf,sg],decls:3,vars:0,consts:[[1,"mat-mdc-dialog-inner-container","mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(a){a&1&&(F(0,"div",0)(1,"div",1),C(2,SFa,0,0,"ng-template",2),G()())},dependencies:[Sw],styles:['.mat-mdc-dialog-container{width:100%;height:100%;display:block;box-sizing:border-box;max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;outline:0}.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-max-width, 80vw);min-width:var(--mat-dialog-container-min-width, 0)}@media(max-width: 599px){.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-small-max-width, 80vw)}}.mat-mdc-dialog-inner-container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;opacity:0;transition:opacity linear var(--mat-dialog-transition-duration, 0ms);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mdc-dialog--closing .mat-mdc-dialog-inner-container{transition:opacity 75ms linear;transform:none}.mdc-dialog--open .mat-mdc-dialog-inner-container{opacity:1}._mat-animation-noopable .mat-mdc-dialog-inner-container{transition:none}.mat-mdc-dialog-surface{display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;width:100%;height:100%;position:relative;overflow-y:auto;outline:0;transform:scale(0.8);transition:transform var(--mat-dialog-transition-duration, 0ms) cubic-bezier(0, 0, 0.2, 1);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;box-shadow:var(--mat-dialog-container-elevation-shadow, 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12));border-radius:var(--mdc-dialog-container-shape, 4px);background-color:var(--mdc-dialog-container-color, white)}[dir=rtl] .mat-mdc-dialog-surface{text-align:right}.mdc-dialog--open .mat-mdc-dialog-surface,.mdc-dialog--closing .mat-mdc-dialog-surface{transform:none}._mat-animation-noopable .mat-mdc-dialog-surface{transition:none}.mat-mdc-dialog-surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mat-mdc-dialog-title{display:block;margin-top:0;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:var(--mat-dialog-headline-padding, 0 24px 9px)}.mat-mdc-dialog-title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mat-mdc-dialog-title{text-align:right}.mat-mdc-dialog-container .mat-mdc-dialog-title{color:var(--mdc-dialog-subhead-color, rgba(0, 0, 0, 0.87));font-family:var(--mdc-dialog-subhead-font, Roboto, sans-serif);line-height:var(--mdc-dialog-subhead-line-height, 1.5rem);font-size:var(--mdc-dialog-subhead-size, 1rem);font-weight:var(--mdc-dialog-subhead-weight, 400);letter-spacing:var(--mdc-dialog-subhead-tracking, 0.03125em)}.mat-mdc-dialog-content{display:block;flex-grow:1;box-sizing:border-box;margin:0;overflow:auto;max-height:65vh}.mat-mdc-dialog-content>:first-child{margin-top:0}.mat-mdc-dialog-content>:last-child{margin-bottom:0}.mat-mdc-dialog-container .mat-mdc-dialog-content{color:var(--mdc-dialog-supporting-text-color, rgba(0, 0, 0, 0.6));font-family:var(--mdc-dialog-supporting-text-font, Roboto, sans-serif);line-height:var(--mdc-dialog-supporting-text-line-height, 1.5rem);font-size:var(--mdc-dialog-supporting-text-size, 1rem);font-weight:var(--mdc-dialog-supporting-text-weight, 400);letter-spacing:var(--mdc-dialog-supporting-text-tracking, 0.03125em)}.mat-mdc-dialog-container .mat-mdc-dialog-content{padding:var(--mat-dialog-content-padding, 20px 24px)}.mat-mdc-dialog-container-with-actions .mat-mdc-dialog-content{padding:var(--mat-dialog-with-actions-content-padding, 20px 24px)}.mat-mdc-dialog-container .mat-mdc-dialog-title+.mat-mdc-dialog-content{padding-top:0}.mat-mdc-dialog-actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid rgba(0,0,0,0);padding:var(--mat-dialog-actions-padding, 8px);justify-content:var(--mat-dialog-actions-alignment, start)}.cdk-high-contrast-active .mat-mdc-dialog-actions{border-top-color:CanvasText}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-start,.mat-mdc-dialog-actions[align=start]{justify-content:start}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center,.mat-mdc-dialog-actions[align=center]{justify-content:center}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end,.mat-mdc-dialog-actions[align=end]{justify-content:flex-end}.mat-mdc-dialog-actions .mat-button-base+.mat-button-base,.mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-mdc-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}.mat-mdc-dialog-component-host{display:contents}\n'],
encapsulation:2});var vI=new md("MatMdcDialogData"),Z$b=new md("mat-mdc-dialog-default-options"),$$b=new md("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:function(){var a=Yc(vx);return function(){return a.scrollStrategies.block()}}}),aac=0,wI=function(a,b,c,d,e,f){var h=this;this._overlay=a;this._defaultOptions=d;this._scrollStrategy=e;this._parentDialog=f;this._openDialogsAtThisLevel=[];this._afterAllClosedAtThisLevel=new W.Subject;this._afterOpenedAtThisLevel=new W.Subject;this.dialogConfigClass=Y$b;
(0,W.defer)(function(){return h.openDialogs.length?h._getAfterAllClosed():h._getAfterAllClosed().pipe(of(void 0))});this._dialog=b.get(sI);this._dialogRefConstructor=pI;this._dialogContainerType=uI;this._dialogDataToken=vI};g=wI.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 Y$b,b);b.id=b.id||"mat-mdc-dialog-"+aac++;b.scrollStrategy=b.scrollStrategy||this._scrollStrategy();a=this._dialog.open(a,Object.assign({},b,{positionStrategy:TWb(sx(this._overlay.position().global())),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:function(){return[{provide:c.dialogConfigClass,useValue:b},{provide:S$b,useValue:b}]}},templateContext:function(){return{dialogRef:d}},
providers:function(e,f,h){d=new c._dialogRefConstructor(e,b,h);var k;d.updatePosition((k=b)==null?void 0:k.position);return[{provide:c._dialogContainerType,useValue:h},{provide:c._dialogDataToken,useValue:f.data},{provide:c._dialogRefConstructor,useValue:d}]}}));d.componentRef=a.componentRef;d.componentInstance=a.componentInstance;this.openDialogs.push(d);this.afterOpened.next(d);qI(d).subscribe(function(){var e=c.openDialogs.indexOf(d);e>-1&&(c.openDialogs.splice(e,1),c.openDialogs.length||c._getAfterAllClosed().next())});
return d};g.closeAll=function(){this._closeDialogs(this.openDialogs)};g.getDialogById=function(a){this.openDialogs.find(function(b){return b.id===a})};g.ngOnDestroy=function(){this._closeDialogs(this._openDialogsAtThisLevel);this._afterAllClosedAtThisLevel.complete();this._afterOpenedAtThisLevel.complete()};g._closeDialogs=function(a){for(var b=a.length;b--;)a[b].close()};
ea.Object.defineProperties(wI.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}}});wI.\u0275fac=function(a){return new (a||wI)(n(vx),n(Ae),n(Zv,8),n(Z$b,8),n($$b),n(wI,12),n($w),n(vu,8))};wI.\u0275prov=Hc({token:wI,factory:wI.\u0275fac,providedIn:"root"});var bac=0,xI=function(a,b,c){this.dialogRef=a;this._elementRef=b;this._dialog=c;this.type="button"};xI.prototype.ngOnInit=function(){this.dialogRef||(this.dialogRef=UFa(this._elementRef,this._dialog.openDialogs))};xI.prototype.ngOnChanges=function(a){if(a=a._matDialogClose||a._matDialogCloseResult)this.dialogResult=a.currentValue};xI.prototype._onButtonClick=function(a){var b=this.dialogRef,c=this.dialogResult;b._closeInteractionType=a.screenX===0&&a.screenY===0?"keyboard":"mouse";b.close(c)};
xI.\u0275fac=function(a){return new (a||xI)(A(pI,8),A(Rd),A(wI))};
xI.\u0275dir=fd({type:xI,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(a,b){a&1&&M("click",function(c){return b._onButtonClick(c)});a&2&&Bf("aria-label",b.ariaLabel||null)("type",b.type)},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],type:"type",dialogResult:[0,"mat-dialog-close","dialogResult"],_matDialogClose:[0,"matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],standalone:!0,features:[td]});
var yI=function(a,b,c){this._dialogRef=a;this._elementRef=b;this._dialog=c};yI.prototype.ngOnInit=function(){var a=this;this._dialogRef||(this._dialogRef=UFa(this._elementRef,this._dialog.openDialogs));this._dialogRef&&Promise.resolve().then(function(){a._onAdd()})};yI.prototype.ngOnDestroy=function(){var a=this,b;((b=this._dialogRef)==null?0:b._containerInstance)&&Promise.resolve().then(function(){a._onRemove()})};yI.\u0275fac=function(a){return new (a||yI)(A(pI,8),A(Rd),A(wI))};
yI.\u0275dir=fd({type:yI,standalone:!0});var zI=function(){yI.apply(this,arguments);this.id="mat-mdc-dialog-title-"+bac++};X(zI,yI);zI.prototype._onAdd=function(){var a,b;(a=this._dialogRef._containerInstance)==null||(b=a._addAriaLabelledBy)==null||b.call(a,this.id)};zI.prototype._onRemove=function(){var a,b,c;(a=this._dialogRef)==null||(b=a._containerInstance)==null||(c=b._removeAriaLabelledBy)==null||c.call(b,this.id)};zI.\u0275fac=function(){var a;return function(b){return(a||(a=Od(zI)))(b||zI)}}();
zI.\u0275dir=fd({type:zI,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function(a,b){a&2&&Tf("id",b.id)},inputs:{id:"id"},exportAs:["matDialogTitle"],standalone:!0,features:[zf]});var AI=function(){};AI.\u0275fac=function(a){return new (a||AI)};
AI.\u0275dir=fd({type:AI,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"],standalone:!0,features:[function(a){var b=function(c){var d=(Array.isArray(a)?a:a()).map(function(e){return typeof e==="function"?{directive:Vc(e),inputs:ed,outputs:ed}:{directive:Vc(e.directive),inputs:dla(e.inputs),outputs:dla(e.outputs)}});c.hostDirectives===null?(c.findHostDirectiveDefs=cla,c.hostDirectives=d):c.hostDirectives.unshift.apply(c.hostDirectives,
r(d))};b.ngInherit=!0;return b}([fx])]});var BI=function(){yI.apply(this,arguments)};X(BI,yI);BI.prototype._onAdd=function(){var a,b;(a=this._dialogRef._containerInstance)==null||(b=a._updateActionSectionCount)==null||b.call(a,1)};BI.prototype._onRemove=function(){var a,b;(a=this._dialogRef._containerInstance)==null||(b=a._updateActionSectionCount)==null||b.call(a,-1)};BI.\u0275fac=function(){var a;return function(b){return(a||(a=Od(BI)))(b||BI)}}();
BI.\u0275dir=fd({type:BI,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&&Kf("mat-mdc-dialog-actions-align-start",b.align==="start")("mat-mdc-dialog-actions-align-center",b.align==="center")("mat-mdc-dialog-actions-align-end",b.align==="end")},inputs:{align:"align"},standalone:!0,features:[zf]});var CI=function(){};CI.\u0275fac=function(a){return new (a||CI)};CI.\u0275mod=dd({type:CI});CI.\u0275inj=Ic({providers:[wI],imports:[tI,yx,Tw,zx,zx]});var DI=function(a,b){this.dialogRef=a;this.data=b;this.confirmButtonTheme=b.isDestructive?"warn":"primary";var c;this.cancelButtonText=(c=b.cancelButtonText)!=null?c:"Cancel";var d;this.confirmButtonText=(d=b.confirmButtonText)!=null?d:"Confirm";var e;this.showCancelButton=(e=b.showCancelButton)!=null?e:!0};DI.\u0275fac=function(a){return new (a||DI)(A(pI),A(vI))};
DI.\u0275cmp=p({type:DI,selectors:[["b-confirmation-dialog"]],decls:7,vars:5,consts:[["mat-dialog-title",""],["mat-dialog-content","",3,"innerHTML"],["mat-dialog-actions",""],["mat-button","","class","gmat-button medium",3,"click",4,"ngIf"],["mat-flat-button","","cdkFocusInitial","",1,"gmat-button","medium",3,"click","color"],["mat-button","",1,"gmat-button","medium",3,"click"]],template:function(a,b){a&1&&(F(0,"h1",0),R(1),G(),H(2,"div",1),F(3,"div",2),C(4,VFa,2,1,"button",3),F(5,"button",4),M("click",
function(){return b.dialogRef.close(!0)}),R(6),G()());a&2&&(z(),lg(b.data.title),z(),D("innerHTML",b.data.content,Pe),z(2),D("ngIf",b.showCancelButton),z(),D("color",b.confirmButtonTheme),z(),S(" ",b.confirmButtonText," "))},dependencies:[Gv,oE,zI,BI,AI],encapsulation:2});var EI=function(a){this.dialog=a},cac=function(a,b){return new Promise(function(c){a.open(Object.assign({},b,{onConfirm:function(){c(!0)},onDismiss:function(){c(!1)}}))})};
EI.prototype.open=function(a){var b=a.title;var c=a.content;var d=a.onConfirm;var e=a.onDismiss;qI(this.dialog.open(DI,{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()})};EI.\u0275fac=function(a){return new (a||EI)(n(wI))};EI.\u0275prov=Hc({token:EI,factory:EI.\u0275fac,providedIn:"root"});var FI=function(a,b,c){this.activeSession=a;this.documentationLinks=b;this.confirmationDialogService=c},dac=function(a,b){return new Promise(function(c){GI(a,b,function(){c(!0)},function(){c(!1)})})},GI=function(a,b,c,d){if(a.activeSession.isExternalSession())c&&c();else{var e="",f=wh("");if(b==="VULNERABILITY")e="Set the issue type to \u201cVulnerability\u201d?",b={},f=yh([wh('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}),zh("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=yh([wh('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}),zh("a",(b.href="http://goto.google.com/pib-slo",b.target=
"_blank",b),"Learn more"),wh(".\n\nDO NOT use this type to file ",{preserveNewlines:!0}),zh("a",(f.href="http://goto.google.com/incident-response-policy",f.target="_blank",f),"privacy incidents"),wh(". Incidents should be filed at ",{preserveNewlines:!0}),zh("a",(h.href="http://goto.google.com/privacy-incidents",h.target="_blank",h),"go/privacy-incidents"),wh(".\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(){}})}};FI.\u0275fac=function(a){return new (a||FI)(n(Ir),n(oI),n(EI))};FI.\u0275prov=Hc({token:FI,factory:FI.\u0275fac,providedIn:"root"});var HI=function(a){this.internalArray_=m(a,0,HI.messageId)};X(HI,Y);HI.repeatedFields_=[1];HI.messageId="b.TimeZoneDataList";var II=function(a,b){var c=this;this.executor=a;this.activeSession=b;this.memoized=new d9b(function(d){a:{var e=l(c.activeSession.session.preload.timezones);for(var f=e.next();!f.done;f=e.next())if(f=f.value,d===f.timeZoneId_){e=f;break a}e=void 0}return e?(0,W.of)(e):c.executor.get({url:"action/timezone/"+encodeURIComponent(d),responseConstructor:Ml}).pipe(y(xxa))},10)};II.prototype.get=function(a){return this.memoized.get(a)};
var eac=function(a){return a.executor.get({url:"action/timezone",responseConstructor:HI}).pipe(y(function(b){return b==null?void 0:xj(b,Ml,1,yj()).map(function(c){c=xxa(c);var d=F4b(c.getOffset(new Date));return{id:c.timeZoneId_,displayName:"("+d+") - "+c.timeZoneId_,gmt:d}})}))};II.\u0275fac=function(a){return new (a||II)(n(IB),n(Ir))};II.\u0275prov=Hc({token:II,factory:II.\u0275fac,providedIn:"root"});var fac=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"]]),gac=["P0","P1","P2","P3","P4"],hac="NEW ASSIGNED ACCEPTED FIXED VERIFIED NOT_REPRODUCIBLE INTENDED_BEHAVIOR OBSOLETE INFEASIBLE DUPLICATE".split(" "),iac="BUG FEATURE_REQUEST CUSTOMER_ISSUE INTERNAL_CLEANUP PROCESS VULNERABILITY PRIVACY_ISSUE PROGRAM PROJECT FEATURE MILESTONE EPIC STORY TASK".split(" "),jac=["S0","S1","S2","S3","S4"],kac=new Map([["PRIORITY_UNSPECIFIED","(Unspecified Priority)"],
["P0","P0"],["P1","P1"],["P2","P2"],["P3","P3"],["P4","P4"]]),lac=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"]]),mac=new Set("PROGRAM PROJECT FEATURE MILESTONE EPIC STORY TASK".split(" ")),
nac=iac.map(function(a){return{value:a,displayText:Lm(a),altText:fac.get(a)}}),JI=function(){this.priorities=gac;this.severities=jac;this.editIssueTypes=iac;this.editIssueTypeChoices=nac;this.issueTypesDisplayNames=lac;this.issueTypesShortDescriptions=fac;this.issuePrioritiesDisplayNames=kac;this.supportedTimeZones=[{name:"Local time",id:""},{name:"UTC",id:"UTC"},{name:"America/Los_Angeles",id:"America/Los_Angeles"}]};JI.\u0275fac=function(a){return new (a||JI)};
JI.\u0275prov=Hc({token:JI,factory:JI.\u0275fac,providedIn:"root"});var KI=function(a,b,c,d){Z.call(this);var e=this;this.errorHandler=d;this.cachedFormatters=new Map;this.formatPrefChange$=new W.Subject;this.userTimeZone=null;this.timeZones={};this.userPrefs=vC.dateTimePreferences;Promise.all(c.supportedTimeZones.map(function(f){if(f.id==="")return Promise.resolve({name:"",timeZone:null});var h=b.get(f.id).pipe(qf(e.destroyed$));return(0,W.firstValueFrom)(h).then(function(k){return{name:f.name,timeZone:k}})})).then(function(f){f=l(f);for(var h=f.next();!h.done;h=
f.next())h=h.value,e.timeZones[h.name]=h.timeZone;a.preferences$.pipe(qf(e.destroyed$)).subscribe(function(k){k.dateTimePreferences&&(k=k.dateTimePreferences,e.userPrefs=k,e.userTimeZone=e.timeZones[k.timeZone],e.formatPrefChange$.next())})}).catch(function(f){e.errorHandler.errorHandler(null,f)})};X(KI,Z);KI.\u0275dir=Z.\u0275dir;KI.prototype.format=function(a,b,c){var d=this.cachedFormatters.get(a);d||(d=new UC(a),this.cachedFormatters.set(a,d));return b?d.format(c,b):d.format(c)};
var oac=function(a,b){return a.formatPrefChange$.subscribe(b)};KI.prototype.formatUserCalendar=function(a){return this.format(this.userPrefs.calendarFormat,this.userTimeZone,a)};KI.prototype.formatUserTime=function(a){return this.format(this.userPrefs.timeFormat,this.userTimeZone,a)};KI.\u0275fac=function(a){return new (a||KI)(n(rH),n(II),n(JI),n(uE))};KI.\u0275prov=Hc({token:KI,factory:KI.\u0275fac,providedIn:"root"});var LI=function(a){this.dateFormatter=a};
LI.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(zm(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(zm(c))}).join(", ");if(a.repeatedEnumValue)return a.repeatedEnumValue.values.join(", ");
if(a.repeatedNumericValue)return a.repeatedNumericValue.values.join(", ")}return""};LI.\u0275fac=function(a){return new (a||LI)(n(KI))};LI.\u0275prov=Hc({token:LI,factory:LI.\u0275fac,providedIn:"root"});var MI=function(a,b){this.customFieldFormatter=a;this.hotlistFridge=b;this.FIELD_TEXT_MAP={assignee:"Assignee",type:"Issue Type",componentId:"Component ID",duplicateOfIssueId:"Canonical Issue ID",inProd:"In Prod",priority:"Priority",severity:"Severity",status:"Status",title:"Title",verifier:"Verifier",effortEstimate:"Estimated Effort",sloStartTime:"SLO Start Time",sloEndTime:"SLO End Time",blockingIssueId:"Blocked Issues",ccs:"CCs",changelists:"Changelists",gerritChanges:"Gerrit changes",blockedByIssueId:"Blocking Issues",
foundInVersion:"Found In",hotlists:"Hotlists",targetedToVersion:"Targeted To",verifiedInVersion:"Verified In"};this.ENUM_FIELDS=["type","status"]},rac=function(a,b,c,d){c=c===void 0?null:c;d=d===void 0?"":d;var e;b.bulkEditOps&&(e=XFa(b.bulkEditOps));var f=b.actions||[];!f.length&&b.bulkEditOps&&(f=WFa(b.bulkEditOps));b=pac(f).map(function(h){return qac(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+"."},pac=function(a){var b=[],c=[];a=l(a);for(var d=a.next();!d.done;d=a.next())d=d.value,d.fieldName==="status"?c.push(d):b.push(d);return b.concat(c)},qac=function(a,b,c,d){c=c===void 0?null:c;d=d===void 0?"":d;var e=a.FIELD_TEXT_MAP[b.fieldName]||b.fieldName,f=b.value||"<none>";b.customFieldValue?(d=b.customFieldValue,e=c[d.customFieldId].name||c[d.customFieldId].customFieldName,f=a.customFieldFormatter.format(d)||"<none>"):b.fieldName==="effortEstimate"&&d?e=d:e=a.FIELD_TEXT_MAP[b.fieldName]||
b.fieldName;b.fieldName==="hotlists"?f=b.value.split(",").map(function(h){var k,q;return(k=(q=fo(a.hotlistFridge.watch(String(h),{trustUncertainMemory:!0})))==null?void 0:q.name)?"'"+k+"'":h}).join(","):a.ENUM_FIELDS.includes(b.fieldName)&&(f=f?Ai(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 "'+Qm[b.value].displayValue+'"'};MI.\u0275fac=function(a){return new (a||MI)(n(LI),n(bF))};MI.\u0275prov=Hc({token:MI,factory:MI.\u0275fac,providedIn:"root"});var po=function(a){this.internalArray_=m(a,0,po.messageId)};X(po,Y);po.prototype.getIt=function(){return $i(this,aj,6)};po.prototype.setIt=function(a){return oj(this,aj,6,a)};po.messageId="b.ContentJudgement";var bGa=function(a){this.internalArray_=m(a)};X(bGa,Y);bGa.prototype.getContentJudgement=function(){return $i(this,po,2)};bGa.prototype.setContentJudgement=function(a){return oj(this,po,2,a)};var NI=function(a){this.internalArray_=m(a)};X(NI,Y);NI.prototype.getIssueId=function(){return cu(this,1)};NI.prototype.getIssueId_asLegacyNumberOrString=function(){return cu(this,1)};NI.prototype.getIssueId_asString=function(){return el(this,1)};NI.prototype.setIssueId=function(a){return xl(this,1,a)};NI.repeatedFields_=[3];var sac=function(a){this.internalArray_=m(a)};X(sac,Y);g=sac.prototype;g.getFilename=function(){return Kh(this,1)};g.setFilename=function(a){rj(this,1,a)};g.getMimeType=function(){return Kh(this,2)};g.setMimeType=function(a){rj(this,2,a)};g.getSize=function(){return ej(this,5)};g.setSize=function(a){return yl(this,5,a)};var OI=function(a){this.internalArray_=m(a,0,OI.messageId)};X(OI,Y);OI.prototype.getIt=function(){return $i(this,mj,14)};OI.prototype.setIt=function(a){return oj(this,mj,14,a)};OI.messageId="b.Attachment";var PI=function(a){this.internalArray_=m(a,0,PI.messageId)};X(PI,Y);PI.prototype.getAttachmentsList=function(){return xj(this,OI,1,yj())};PI.prototype.setAttachmentsList=function(a){return gk(this,1,a)};PI.prototype.addAllAttachments=function(a){Zt(this,1,OI,a)};PI.repeatedFields_=[1];PI.messageId="b.CreateAttachmentsResponse";var QI=function(a){this.internalArray_=m(a,0,QI.messageId)};X(QI,Y);QI.prototype.getErrorMessage=function(){return Kh(this,2)};QI.prototype.setErrorMessage=function(a){rj(this,2,a)};QI.messageId="b.EncryptedMediaResponse";var RI=function(a){this.executor=a},tac=function(a,b){var c=new sac;c.setFilename(b.filename);c.setMimeType(b.mimeType);b.encryptedBlobId!=null&&rj(c,3,b.encryptedBlobId);rj(c,4,b.docId);b.size!=null&&c.setSize(b.size);return a.executor.post({url:"action/issues/drive_attachment",body:c,responseConstructor:QI}).then(aGa)};RI.\u0275fac=function(a){return new (a||RI)(n(JB))};RI.\u0275prov=Hc({token:RI,factory:RI.\u0275fac,providedIn:"root"});var SI=function(a){this.executor=a};SI.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})};SI.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:OI}).then(dGa)};
SI.\u0275fac=function(a){return new (a||SI)(n(JB))};SI.\u0275prov=Hc({token:SI,factory:SI.\u0275fac,providedIn:"root"});var TI=function(a){this.internalArray_=m(a)};X(TI,Y);g=TI.prototype;g.getIssueId=function(){return ej(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return ej(this,1)};g.getIssueId_asString=function(){return du(this,1)};g.setIssueId=function(a){return bj(this,1,a)};g.getComment=function(){return $i(this,Xl,2)};g.setComment=function(a){return oj(this,Xl,2,a)};g.setSignificanceOverride=function(a){return dj(this,3,a)};g.getContentJudgement=function(){return $i(this,aj,4)};
g.setContentJudgement=function(a){return oj(this,aj,4,a)};var UI=function(a){this.internalArray_=m(a)};X(UI,Y);g=UI.prototype;g.getIssueId=function(){return ej(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return ej(this,1)};g.getIssueId_asString=function(){return du(this,1)};g.setIssueId=function(a){return bj(this,1,a)};g.getCommentNumber=function(){return gj(this,2)};g.setCommentNumber=function(a){return Gi(this,2,a)};g.getComment=function(){return $i(this,Xl,3)};g.setComment=function(a){return oj(this,Xl,3,a)};var VI=function(a){this.internalArray_=m(a)};X(VI,Y);g=VI.prototype;g.getIssueId=function(){return ej(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return ej(this,1)};g.getIssueId_asString=function(){return du(this,1)};g.setIssueId=function(a){return bj(this,1,a)};g.getCommentNumber=function(){return gj(this,2)};g.setCommentNumber=function(a){return Gi(this,2,a)};g.getRestrictedRetention=function(){return fj(this,3,0)};g.setRestrictedRetention=function(a){return dj(this,3,a)};var WI=function(a){this.internalArray_=m(a,0,WI.messageId)};X(WI,Y);WI.prototype.getIt=function(){return $i(this,Pj,2)};WI.prototype.setIt=function(a){return oj(this,Pj,2,a)};WI.messageId="b.CommentReaction";var uac=function(a){this.internalArray_=m(a)};X(uac,Y);uac.prototype.getIt=function(){return $i(this,TI,5)};uac.prototype.setIt=function(a){return oj(this,TI,5,a)};var XI=function(a){this.internalArray_=m(a,0,XI.messageId)};X(XI,Y);XI.prototype.getIt=function(){return $i(this,Xl,19)};XI.prototype.setIt=function(a){return oj(this,Xl,19,a)};XI.messageId="b.IssueComment";var YI=function(a){this.internalArray_=m(a,0,YI.messageId)};X(YI,Y);YI.prototype.getIssueCommentsList=function(){return xj(this,XI,1,yj())};YI.repeatedFields_=[1];YI.messageId="b.ListIssueCommentHistoryResponse";var vac=function(a){this.internalArray_=m(a)};X(vac,Y);vac.prototype.getIt=function(){return $i(this,UI,5)};vac.prototype.setIt=function(a){return oj(this,UI,5,a)};var wac=function(a){this.internalArray_=m(a)};X(wac,Y);wac.prototype.getIt=function(){return $i(this,VI,4)};wac.prototype.setIt=function(a){return oj(this,VI,4,a)};var ZI=function(a){this.executor=a};g=ZI.prototype;g.get=function(a,b,c){var d={};c&&(d["X-Restricted-Content-Limit"]=String(YFa(c)));return this.executor.get({url:"action/issues/"+a+"/comment/"+b,options:{headers:d},responseConstructor:XI}).pipe(y(yza))};
g.create=function(a,b,c,d,e){var f={};e&&(f["G-Recaptcha-Response-Token"]=e);b=(new TI).setIssueId(a).setComment((new Xl).setComment(b).setFormattingMode(Wj(c)));d&&b.setContentJudgement(kua(d));d=(new uac).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 vac).setIt((new UI).setIssueId(a).setCommentNumber(b).setComment((new Xl).setComment(c).setFormattingMode(Wj(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:XI}).pipe(y(yza))};g.listHistory=function(a,b){return this.executor.get({url:"action/issues/"+a+"/comment/"+b+"/history",responseConstructor:YI}).pipe(y(zza))};
g.updateCommentReaction=function(a){var b=a.issueId;var c=a.commentId;var d=a.reactionType;var e=a.hasReacted;var f;a=new WI;var h=a.setIt,k=new Pj;d=(new Xj).setType((f=Q3b[d])!=null?f:0);f=Kj(d,1,e);f=Mq(k,2,Xj,f);a=h.call(a,f);return this.executor.post({url:"action/issues/"+b+"/comment/"+c+"/updateReaction",body:a,responseConstructor:WI}).pipe(y(Aza))};
g.updateRetention=function(a,b,c){c=(new wac).setIt((new VI).setIssueId(a).setCommentNumber(b).setRestrictedRetention(uua(c)));return this.executor.post({url:"action/issues/"+a+"/comment/"+b+"/update_retention",body:c,responseConstructor:XI}).pipe(y(yza))};ZI.\u0275fac=function(a){return new (a||ZI)(n(IB))};ZI.\u0275prov=Hc({token:ZI,factory:ZI.\u0275fac,providedIn:"root"});var $I=function(a){this.observableApi=a};g=$I.prototype;
g.get=function(a,b,c){return(0,W.firstValueFrom)(this.observableApi.get(a,b,c))};g.create=function(a,b,c,d,e){return(0,W.firstValueFrom)(this.observableApi.create(a,b,c,d,e))};g.update=function(a,b,c,d,e){return(0,W.firstValueFrom)(this.observableApi.update(a,b,c,d,e))};g.delete=function(a,b,c,d){return(0,W.firstValueFrom)(this.observableApi.delete(a,b,c,d))};g.undelete=function(a,b,c){return(0,W.firstValueFrom)(this.observableApi.undelete(a,b,c))};
g.listHistory=function(a,b){return(0,W.firstValueFrom)(this.observableApi.listHistory(a,b))};g.updateCommentReaction=function(a){return(0,W.firstValueFrom)(this.observableApi.updateCommentReaction(a))};g.updateRetention=function(a,b,c){return(0,W.firstValueFrom)(this.observableApi.updateRetention(a,b,c))};$I.\u0275fac=function(a){return new (a||$I)(n(ZI))};$I.\u0275prov=Hc({token:$I,factory:$I.\u0275fac,providedIn:"root"});var aJ=function(a,b,c){this.dialogRef=a;this.data=c;this.readMoreLink=b.baseDocumentationUrl+"/concepts/access-control#explicit_access_warnings";this.userEmails=c.userEmails};aJ.prototype.close=function(a){this.dialogRef.close(a)};aJ.\u0275fac=function(a){return new (a||aJ)(A(pI),A(oI),A(vI))};
aJ.\u0275cmp=p({type:aJ,selectors:[["confirm-no-access-dialog"]],decls:18,vars:2,consts:[[1,"dialog-container"],["mat-dialog-title",""],["mat-dialog-content",""],[4,"ngFor","ngForOf"],["mat-dialog-actions",""],[1,"help-label"],["target","_blank",3,"href"],["mat-button","","color","primary",3,"click"],["mat-button","","color","primary","cdkFocusInitial","",3,"click"]],template:function(a,b){a&1&&(F(0,"div",0)(1,"h1",1),R(2,"User may not have access"),G(),F(3,"section",2)(4,"p"),R(5," The following user(s) may not be able to edit, interact with, or get notifications about this issue: "),
G(),F(6,"ul"),C(7,fGa,2,1,"li",3),G(),F(8,"section"),R(9,"Continue anyway?"),G()(),F(10,"footer",4)(11,"div",5)(12,"a",6),R(13,"Learn more"),G()(),F(14,"button",7),M("click",function(){return b.close(!0)}),R(15,"Continue"),G(),F(16,"button",8),M("click",function(){return b.close(!1)}),R(17,"Cancel"),G()()());a&2&&(z(7),D("ngForOf",b.userEmails),z(5),D("href",b.readMoreLink,Qe))},dependencies:[Fv,IH,Rx,zI,BI,AI],styles:["ul[_ngcontent-%COMP%]{list-style:disc;margin-bottom:10px}"]});var bJ=function(a,b,c,d,e){this.matDialogService=a;this.analytics=b;this.butterBar=c;this.logger=d;this.accessPolicy=e},cJ=function(a,b){var c=b.componentId;var d=b.userEmails;var e=b.relation;var f=b.analyticsEventLabel;var h,k,q;return fe(function(t){switch(t.nextAddress){case 1:if(d.every(function(w){return w.length===0}))return t.return(!0);ge(t,2);return he(t,xac(a,c,d,e),4);case 4:h=t.yieldResult;if(h.length===0)return t.return(!0);a.analytics.trackEvent("addUserWithoutAccess","warn",f);return he(t,
a.confirm(h,e),5);case 5:k=t.yieldResult;if(!k)return Ap(a.butterBar,"Save cancelled.",4E3),a.analytics.trackEvent("addUserWithoutAccess","cancel",f),t.return(!1);a.analytics.trackEvent("addUserWithoutAccess","proceed",f);return t.return(!0);case 2:return q=ke(t),a.logger.error(q),t.return(!1)}})},xac=function(a,b,c,d){var e;return fe(function(f){if(f.nextAddress==1)return he(f,a.accessPolicy.checkPermission(c,d,"ISSUE_DEFAULTS",b),2);e=f.yieldResult;return f.return([].concat(r(e.noAccessEmails||
[]),r(e.unknownEmails||[])))})};bJ.prototype.confirm=function(a,b){var c=this,d,e,f;return fe(function(h){if(h.nextAddress==1)return d={userEmails:a,relation:b},e=c.matDialogService.open(aJ,{width:"400px",data:d}),he(h,(0,W.firstValueFrom)(qI(e)),2);f=h.yieldResult;return h.return(!!f)})};bJ.\u0275fac=function(a){return new (a||bJ)(n(wI),n(bG),n(sE),n(tE),n(qC))};bJ.\u0275prov=Hc({token:bJ,factory:bJ.\u0275fac,providedIn:"root"});var dJ=function(){};dJ.\u0275fac=function(a){return new (a||dJ)};dJ.\u0275mod=dd({type:dJ});dJ.\u0275inj=Ic({providers:[{provide:FXb,useValue:{color:"primary"}}],imports:[Vx]});var yac=new md("GMAT_DIALOG_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var eJ=function(a,b,c,d,e,f,h,k){k.disableGmatStyle||KH(a,"gmat-mdc-dialog");wI.call(this,a,b,c,d,e,f,h)};X(eJ,wI);eJ.\u0275fac=function(a){return new (a||eJ)(n(vx),n(Ae),n(Zv,8),n(Z$b,8),n($$b),n(wI,12),n($w),n(yac))};eJ.\u0275prov=Hc({token:eJ,factory:eJ.\u0275fac});var fJ=function(){};fJ.\u0275fac=function(a){return new (a||fJ)};fJ.\u0275mod=dd({type:fJ});fJ.\u0275inj=Ic({providers:[{provide:wI,useClass:eJ},{provide:vx,useClass:JH}],imports:[CI]});var gJ=function(a,b){this.size=a;this.name=b;this.transferredBytes=0;this.errorMessage="";this.blobRef=null;this.state=1};gJ.prototype.cancel=function(){this.state=4};var zac={UPLOADING:1,COMPLETE:2,ERROR:3,CANCELLED:4,1:"UPLOADING",2:"COMPLETE",3:"ERROR",4:"CANCELLED"};var hJ=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};hJ.prototype.reset=function(){this.value="";Aac(this)};var Aac=function(a){for(var b=l(a.uploads),c=b.next();!c.done;c=b.next())c.value.cancel();a.uploads=[]},Bac=function(a){return a.fromTemplate&&a.initialComment===a.value};
hJ.prototype.getAttachments=function(){for(var a=[],b=l(this.uploads),c=b.next();!c.done;c=b.next())c=c.value,c.state===2&&c.blobRef&&a.push(qi(c.blobRef));return a};hJ.prototype.hasContent=function(){return!(!this.value&&!this.uploads.length)};var Cac=function(a){return!a.isEmpty()&&!Epb(a)};hJ.prototype.isEmpty=function(){return!this.value&&!Dac(this)};
var Epb=function(a){return a.uploads.some(function(b){return b.state===1||b.state===3})},Dac=function(a){return a.uploads.some(function(b){return b.state===2})};var iJ=new md("routeParams",{factory:function(){return Yc(vH).params}});var jJ=function(a,b,c,d){this.routeParams=a;this.issueComments=b;this.draftStore=c;this.errorHandler=d};jJ.prototype.get=function(a){var b=this;if(this.routeParams.comment)return(0,W.of)(this.routeParams.comment);var c=this.routeParams.template_issue;if(c){var d=vi(this.routeParams.template_comment)||1;return(0,W.defer)(function(){return Eac(b,c,d,b.routeParams.do_attribution)})}return a?(0,W.of)(this.draftStore.$window.sessionStorage.getItem(lo(a))||""):(0,W.of)("")};
var Eac=function(a,b,c,d){var e,f,h,k,q;return fe(function(t){if(t.nextAddress==1)return ge(t,2),he(t,a.issueComments.get(b,c),4);if(t.nextAddress!=2)return e=t.yieldResult,f=e.unlinkifiedComment,h=(new Date(Number(e.lastModified)/1E3)).toLocaleDateString(),d?(k="> From issue "+b+" on "+h+":",t.return(k+"\n\n"+f)):t.return(f);q=ke(t);wE(a.errorHandler,q);return t.return("")})};jJ.\u0275fac=function(a){return new (a||jJ)(n(iJ),n($I),n(lI),n(uE))};jJ.\u0275prov=Hc({token:jJ,factory:jJ.\u0275fac,providedIn:"root"});var Fac=function(a,b,c,d,e){var f=this;this.issueId=a;this.defaultCommentSource=b;this.issueFridge=c;this.activeSession=d;this.userPreferencesManager=e;this.issue$=this.issueFridge.watch(this.issueId);this.componentId$=this.issue$.pipe(y(function(h){return h==null?void 0:h.snapshot[0].componentId}),df());this.comment$=this.defaultCommentSource.get(this.issueId).pipe(of(""),df(),tf(this.userPreferencesManager.lastPublishModeProto$),y(function(h){var k=l(h);h=k.next().value;k=k.next().value;h=new hJ(h);
h.formattingMode=k;return h}),mf({bufferSize:1,refCount:!0}));this.comment=function(){return fo(f.comment$)};this.createRestrictedResourcesComponentIds=this.activeSession.getCreateRestrictedSubresourcesComponentIds();this.componentJudgementForNewContent$=this.componentId$.pipe(y(function(h){if(h&&f.createRestrictedResourcesComponentIds.includes(h))return{severity:"RESTRICTED",judgementReason:"None Specified"}}),mf({bufferSize:1,refCount:!0}));this.userDefinedJudgementForNewContent$=new W.BehaviorSubject(void 0);
this.judgementForNewContent$=(0,W.combineLatest)([this.componentJudgementForNewContent$.pipe(of(void 0)),this.userDefinedJudgementForNewContent$]).pipe(y(function(h){var k=l(h);h=k.next().value;k=k.next().value;return k!=null?k:h}),mf({bufferSize:1,refCount:!1}));this.judgementForNewContent=function(){return fo(f.judgementForNewContent$)}};Fac.prototype.setJudgementForNewContent=function(a){this.userDefinedJudgementForNewContent$.next(a)};
var Gac=function(a){var b=a.comment(),c,d=((c=a.judgementForNewContent())==null?void 0:c.severity)==="NONE_DETECTED"?void 0:a.judgementForNewContent();a=b.value;c=b.formattingMode;var e=[];b=l(b.uploads);for(var f=b.next();!f.done;f=b.next())f=f.value,f.state===2&&f.blobRef&&(f=qi({attachment:f.blobRef}),d&&(f.contentJudgement={severity:d.severity,judgementReason:d.judgementReason}),e.push(f));return{judgementForNewContent:d,commentText:a,formattingMode:c,attachmentsWithJudgements:e}},Hac=function(a){var b=
Gac(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},kJ=function(a,b,c,d){this.defaultCommentSource=a;this.issueFridge=b;this.activeSession=c;this.userPreferencesManager=d};kJ.prototype.create=function(a){return new Fac(a,this.defaultCommentSource,this.issueFridge,this.activeSession,this.userPreferencesManager)};
kJ.\u0275fac=function(a){return new (a||kJ)(n(jJ),n(jG),n(Ir),n(rH))};kJ.\u0275prov=Hc({token:kJ,factory:kJ.\u0275fac,providedIn:"root"});var lJ=function(){};lJ.prototype.isSloStartTimeApplied=function(a){return!!a&&a.seconds>Date.now()/1E3};
var mJ=function(a){return!!a&&!!a.targetTime&&a.targetTime.seconds!==0},Iac=function(a){return mJ(a.assignmentBounds)||mJ(a.responseBounds)||mJ(a.closureBounds)},Jac=function(a,b){switch(b){case "ASSIGNMENT":return mJ(a.assignmentBounds);case "RESPONSE":return mJ(a.responseBounds);case "CLOSURE":return mJ(a.closureBounds);default:return Iac(a)}},Kac=function(a){if(!a)return null;var b=[],c=[];a.assignmentBounds&&gGa(b,c,a.assignmentBounds,"ASSIGNMENT");a.responseBounds&&gGa(b,c,a.responseBounds,"RESPONSE");
a.closureBounds&&gGa(b,c,a.closureBounds,"CLOSURE");return b.length>0?(b.sort(hGa),b[0]):c.length>0?(c.sort(hGa),{sloBounds:c[0].sloBounds,sloMetric:""}):null};lJ.\u0275fac=function(a){return new (a||lJ)};lJ.\u0275prov=Hc({token:lJ,factory:lJ.\u0275fac,providedIn:"root"});var Lac=function(a,b,c,d,e){var f=this;this.issueId=a;this.issueFridge=b;this.constants=c;this.activeSession=d;this.sloStatusHelpersService=e;this.enableNonWtdmFieldPerTypeVisibility=this.activeSession.getFlag("enableNonWtdmFieldPerTypeVisibility")||!1;this.showSloStatus=this.activeSession.isInternalSession();this.showChangelists=!this.activeSession.isExternalSession();this.issue$=this.issueFridge.watch(this.issueId);this.issueSnapshot$=this.issue$.pipe(y(function(h){return h==null?void 0:h.snapshot[0]}));
this.hasSloDefined$=this.issue$.pipe(y(function(h){var k;return h==null?void 0:(k=h.aggregatedData)==null?void 0:k.sloStatus}),y(function(h){return!!h&&Iac(h)}));this.isWtdmType$=this.issueSnapshot$.pipe(y(function(h){return(h==null?void 0:h.type)!=null&&mac.has(h.type)}));this.isForgottenFourPrimary$=this.isWtdmType$.pipe(y(function(h){return!h&&!f.enableNonWtdmFieldPerTypeVisibility}));this.isSloStatusPrimary$=(0,W.combineLatest)([this.hasSloDefined$,this.isWtdmType$]).pipe(y(function(h){var k=
l(h);h=k.next().value;k=k.next().value;return h||!k}));this.isSeverityPrimary$=this.isWtdmType$.pipe(y(function(h){return!h}));this.isChangelistPrimary$=(0,W.combineLatest)([this.isWtdmType$,this.issueSnapshot$]).pipe(y(function(h){var k=l(h);h=k.next().value;k=k.next().value;return!h||(k==null?void 0:k.type)==="STORY"||(k==null?void 0:k.type)==="TASK"}));this.customFields$=this.issue$.pipe(y(function(h){var k;return(k=h==null?void 0:h.customFields)!=null?k:[]}));this.visibleFields$=this.issue$.pipe(y(function(h){var k;
return(k=h==null?void 0:h.visibleFields)!=null?k:[]}));this.visibleFieldIds$=this.visibleFields$.pipe(y(function(h){return h.map(function(k){return k.customFieldId}).filter(lj)}),y(function(h){return new Set(h)}),mf({refCount:!0,bufferSize:1}));this.visibleCustomFields$=(0,W.combineLatest)([this.visibleFieldIds$,this.customFields$]).pipe(y(function(h){h=l(h);var k=h.next().value;return h.next().value.filter(function(q){return k.has(q.customFieldId)})}),mf({refCount:!0,bufferSize:1}));this.hiddenCustomFields$=
(0,W.combineLatest)([this.visibleFieldIds$,this.customFields$]).pipe(y(function(h){h=l(h);var k=h.next().value;return h.next().value.filter(function(q){return!k.has(q.customFieldId)})}),mf({refCount:!0,bufferSize:1}));this.hiddenFieldCount$=(0,W.combineLatest)([this.isForgottenFourPrimary$,this.isSeverityPrimary$,this.isSloStatusPrimary$,this.isChangelistPrimary$,this.hiddenCustomFields$]).pipe(y(function(h){var k=l(h);h=k.next().value;var q=k.next().value;var t=k.next().value;var w=k.next().value;
k=k.next().value;return(h?0:4)+(q?0:1)+(!f.showSloStatus||t?0:1)+(!f.showChangelists||w?0:2)+k.length}),mf({refCount:!0,bufferSize:1}));this.hasHiddenFields$=this.hiddenFieldCount$.pipe(y(function(h){return h>0}));this.showHiddenFieldsLabel$=this.hiddenFieldCount$.pipe(y(function(h){return h===1?"Show 1 additional field":"Show "+h+" additional fields"}))},nJ=function(a,b,c,d){this.issueFridge=a;this.constants=b;this.activeSession=c;this.sloStatusHelpersService=d};
nJ.prototype.create=function(a){return new Lac(a,this.issueFridge,this.constants,this.activeSession,this.sloStatusHelpersService)};nJ.\u0275fac=function(a){return new (a||nJ)(n(jG),n(JI),n(Ir),n(lJ))};nJ.\u0275prov=Hc({token:nJ,factory:nJ.\u0275fac,providedIn:"root"});var oJ=function(a,b){Z.call(this);this.analytics=a;this.clearcut=b;this.issueToTrackingState=new Map;this.getState=uk(this.issueToTrackingState,iGa);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")};X(oJ,Z);oJ.\u0275dir=Z.\u0275dir;
var pJ=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),Mac(a,c,"idp-time-to-action",b.variations),d.firstActionSeen=!0)},ur=function(a,b,c){a.getState(b).variations.add(c)},Mac=function(a,b,c,d){RF(a.clearcut,b,c);d=l(d);for(var e=d.next();!e.done;e=d.next())RF(a.clearcut,b,c+"-"+e.value)};oJ.prototype.resetState=function(a){this.issueToTrackingState.delete(a)};
oJ.\u0275fac=function(a){return new (a||oJ)(n(bG),n(QF))};oJ.\u0275prov=Hc({token:oJ,factory:oJ.\u0275fac,providedIn:"root"});var qJ=function(a,b,c,d,e,f){var h=this;this.issueFridge=a;this.teamFridge=b;this.componentFridge=c;this.eventsForIssue=d;this.activatedRoute=e;this.contextSensitiveRegistry=f;this.id$=this.contextSensitiveRegistry.getIssueId().pipe(y(function(k){return k||void 0}));this.urlComment$=this.activatedRoute.fragment.pipe(y(XGa),mf({refCount:!0,bufferSize:1}));this.issueJs$=this.id$.pipe(pf(function(k){return k?h.issueFridge.watch(k):(0,W.of)(void 0)}),mf({refCount:!0,bufferSize:1}));this.eventsJs$=this.id$.pipe(pf(this.eventsForIssue.watch),
y(function(k){var q;return(q=k==null?void 0:k.events)!=null?q:[]}));this.starred$=this.issueJs$.pipe(y(nGa));this.lastViewedTimeMicros$=this.issueJs$.pipe(y(oGa));this.lastViewedTimeMicros$.pipe(y(function(k){return!k}));this.issueJs$.pipe(y(pGa));this.issueJs$.pipe(y(GGa));this.accessLimitLevel$=this.issueJs$.pipe(y(xGa));this.voted$=this.issueJs$.pipe(y(HGa));this.status$=this.issueJs$.pipe(y(qGa));this.priority$=this.issueJs$.pipe(y(rGa));this.assignee$=this.issueJs$.pipe(y(sGa));this.issueJs$.pipe(y(tGa));
this.teamId$=this.issueJs$.pipe(y(uGa));this.team$=this.teamId$.pipe(pf(this.teamFridge.watch),mf({refCount:!0,bufferSize:1}));this.ccUsers$=this.issueJs$.pipe(y(wGa));this.collaboratorsUsers$=this.issueJs$.pipe(y(yGa));this.issueJs$.pipe(y(function(k){var q,t;return(t=(q=zn(k))==null?void 0:q.severity)!=null?t:void 0}));this.type$=this.issueJs$.pipe(y(zGa));this.issueJs$.pipe(y(AGa));this.issueJs$.pipe(y(BGa));this.issueJs$.pipe(y(CGa));this.postmortems$=this.issueJs$.pipe(y(DGa));this.postmortems$.pipe(y(function(k){return k.length>
0}));this.issueJs$.pipe(y(EGa));this.effort$=this.issueJs$.pipe(y(FGa));this.isDeleted$=this.issueJs$.pipe(y(JGa));this.accessLevel$=this.issueJs$.pipe(y(LGa));this.modifiedTime$=this.issueJs$.pipe(y(MGa));this.retention$=this.issueJs$.pipe(y(OGa));this.retention=function(){return fo(h.retention$)};this.retentionState$=this.issueJs$.pipe(y(RGa));this.retentionState=function(){return fo(h.retentionState$)};this.canonicalIssueId$=this.issueJs$.pipe(y(PGa));this.canonicalIssueId$.pipe(pf(this.issueFridge.watch));
this.sloStatus$=this.issueJs$.pipe(y(function(k){var q;return k==null?void 0:(q=k.aggregatedData)==null?void 0:q.sloStatus}));this.sloId$=this.issueJs$.pipe(y(SGa));this.createdTimeMicros$=this.issueJs$.pipe(y(TGa));this.componentId$=this.issueJs$.pipe(y(vGa));this.component$=this.componentId$.pipe(pf(this.componentFridge.watch));this.teamSuggestions$=this.component$.pipe(y(function(k){var q;return(q=k==null?void 0:k.teamSuggestions)!=null?q:[]}));this.effortSpec$=this.component$.pipe(y(UGa));this.isEffortEnabled$=
this.component$.pipe(y(VGa));this.component$.pipe(y(WGa));this.thinking$=this.issueFridge.thinking$};qJ.\u0275fac=function(a){return new (a||qJ)(n(jG),n(lH),n(CC),n(rF),n(ai),n(wH))};qJ.\u0275prov=Hc({token:qJ,factory:qJ.\u0275fac,providedIn:"root"});var Nac={admin:!1,writer:!0,appender:!0,reader:!0},sJ=function(a,b,c,d,e,f){var h=this;this.issueDetailsBrain=a;this.permissionsFridge=b;this.activeSession=c;this.accessPolicyApi=d;this.errorHandler=e;this.userAccess=f;this.currentUserEmail=this.activeSession.getUserEmail();this.currentUserEmailPattern=new RegExp("^"+so(this.currentUserEmail).replace("@","(\\+.*)?@")+"$");this.issueId$=this.issueDetailsBrain.id$;this.issuePermissions$=this.issueId$.pipe(pf(function(k){return k?h.permissionsFridge.watchOne("issues/"+
k):(0,W.of)(void 0)}),y(function(k){return k!=null?k:Nac}),of(Nac),mf({bufferSize:1,refCount:!1}));this.hasAclToView$=this.issuePermissions$.pipe(y(function(k){return!!k.reader}));this.hasAclToEdit$=this.issuePermissions$.pipe(y(function(k){return!!k.writer}));this.hasAclToEdit=function(){return!!fo(h.hasAclToEdit$)};this.hasAclToComment$=this.issuePermissions$.pipe(y(function(k){return!!k.appender}));this.hasAclToComment=function(){return!!fo(h.hasAclToComment$)};this.hasAclToAdmin$=this.issuePermissions$.pipe(y(function(k){return!!k.admin}));
this.hasAclToAdmin=function(){return!!fo(h.hasAclToAdmin$)};this.isCurrentUserCCd$=this.issueDetailsBrain.ccUsers$.pipe(y(function(k){return k.some(function(q){return rJ(h,q.emailAddress)})}));this.isCurrentUserCCd=function(){return!!fo(h.isCurrentUserCCd$)};this.isCurrentUserCollaborator$=this.issueDetailsBrain.collaboratorsUsers$.pipe(y(function(k){return k.some(function(q){return rJ(h,q.emailAddress)})}));this.isCurrentUserCollaborator=function(){return!!fo(h.isCurrentUserCollaborator$)};this.isAllowedToEditCC$=
this.hasAclToEdit$;(0,W.combineLatest)([this.hasAclToEdit$,this.isCurrentUserCCd$]).pipe(y(function(k){var q=l(k);k=q.next().value;q=q.next().value;return k?q?"Un-CC yourself in order to change this setting.":"":"Edit issue permission is required to modify the CC list."}));this.isImplicitAccessEnabled$=this.issueDetailsBrain.componentId$.pipe(df(),pf(function(k){return k?h.accessPolicyApi.checkComponentImplicitAccessEnabled(Number(k)):(0,W.of)(!1)}),$e(function(k){if(k.status===403)return(0,W.of)(!0);
h.errorHandler.errorHandler(null,k);return(0,W.of)(!1)}),mf({bufferSize:1,refCount:!1}));this.isImplicitAccessEnabled=function(){return!!fo(h.isImplicitAccessEnabled$)};this.canDeleteIssue$=this.hasAclToAdmin$;this.canUndeleteIssue$=(0,W.combineLatest)([this.issueDetailsBrain.isDeleted$,this.canDeleteIssue$]).pipe(y(function(k){var q=l(k);k=q.next().value;q=q.next().value;return k&&q}));this.userIsComponentAdmin$=this.issueDetailsBrain.componentId$.pipe(df(),pf(function(k){return k?oD(h.userAccess,
"admin","components/"+k):(0,W.of)(!1)}),$e(function(k){h.errorHandler.errorHandler(null,k);return(0,W.of)(!1)}),mf({bufferSize:1,refCount:!1}));this.accessLevel$=this.issueDetailsBrain.accessLevel$;this.accessLevel=function(){return fo(h.accessLevel$)};this.accessLimitLevel$=this.issueDetailsBrain.accessLimitLevel$;this.isWithinExternalComponent$=this.accessLevel$.pipe(y(function(k){return!(!k||k==="INTERNAL")}));this.audience$=this.isWithinExternalComponent$.pipe(y(function(k){return k?"EXTERNAL":
"INTERNAL"}));this.audience=function(){return fo(h.audience$)};this.canChangeCommentRetention$=this.hasAclToEdit$;this.canChangeCommentRetention=function(){return fo(h.canChangeCommentRetention$)}},rJ=function(a,b){return(b==null?void 0:b.search(a.currentUserEmailPattern))===0},Oac=function(a,b){return xn(b)&&b.commentDeletionStatus==="DELETED"?a.hasAclToAdmin()||pm(b.lastCommentEditorUser)===a.activeSession.getUserEmail()&&a.hasAclToComment()?!0:!1:!1},Pac=function(a,b){return xn(b)&&b.commentDeletionStatus===
"ACTIVE"?sm(b.userPerformingActionUser)===a.activeSession.getUserEmail()?!0:a.hasAclToAdmin():!1};
sJ.prototype.canEditComment$=function(a){var b=this;return(0,W.combineLatest)([this.issueDetailsBrain.component$,this.hasAclToEdit$,this.hasAclToComment$]).pipe(y(function(c){var d=l(c);c=d.next().value;var e=d.next().value;d=d.next().value;return c!==void 0&&c.commentEditState==="ENABLED"&&a.commentDeletionStatus!=="DELETED"&&a.commentDeletionStatus!=="PURGED"&&a.commentNumber?a.commentNumber===1?e:d&&sm(a.userPerformingActionUser)===b.activeSession.getUserEmail():!1}))};
sJ.prototype.canDeleteAttachment$=function(a,b){return a?(a=a.entityStatus)&&"ACTIVE"===a.status?rJ(this,b)?(0,W.of)(!0):this.hasAclToAdmin$:(0,W.of)(!1):(0,W.of)(!1)};sJ.prototype.canUndeleteAttachment$=function(a,b){return a?(a=a.entityStatus)&&"DELETED"===a.status?rJ(this,b)?(0,W.of)(!0):this.hasAclToAdmin$:(0,W.of)(!1):(0,W.of)(!1)};sJ.\u0275fac=function(a){return new (a||sJ)(n(qJ),n(OG),n(Ir),n(qC),n(uE),n(mD))};sJ.\u0275prov=Hc({token:sJ,factory:sJ.\u0275fac,providedIn:"root"});var Qac={type:"TAKE",displayText:"Assign to me",description:"Assign issue to yourself"},Rac={type:"DEFAULT_ASSIGNEE",displayText:"Assign to default",description:"Use the component's default assignee"},Sac={type:"START",displayText:"Start work",description:"Change issue status to '"+Mm.ACCEPTED+"'"},Tac={type:"FIX",displayText:"Mark fixed",description:"Change issue status to '"+Mm.FIXED+"'"},Uac={type:"VERIFY",displayText:"Verify",description:"Change issue status to '"+Mm.VERIFIED+"'"},Vac={type:"REOPEN",
displayText:"Re-open",description:"Change issue status back to '"+Mm.ASSIGNED+"'"};var Xac=function(a,b,c,d){var e=this;this.issueId=a;this.activeSession=b;this.issueFridge=c;this.componentTemplatesFridge=d;this.defaultAssigneeQuickActionEnabled=this.activeSession.isInternalSession();this.issue$=this.issueFridge.watch(this.issueId).pipe(mf({bufferSize:1,refCount:!0}));this.issueSnapshot$=this.issue$.pipe(y(function(f){return f==null?void 0:f.snapshot[0]}));this.currentAssignee$=this.issueSnapshot$.pipe(y(function(f){return(f==null?void 0:f.assigneeUser)&&sm(f.assigneeUser)}),y(jj));
this.defaultAssigneeForComponent$=this.issueSnapshot$.pipe(y(function(f){return f==null?void 0:f.componentId}),df(),pf(function(f){return f?e.componentTemplatesFridge.defaultTemplate$(String(f)):(0,W.of)(void 0)}),y(function(f){return f&&sm(f.snapshot.assigneeUser)}),mf({bufferSize:1,refCount:!0}));this.defaultAssigneeForComponent=function(){return fo(e.defaultAssigneeForComponent$)};this.issueAssigneeQuickAction$=(0,W.combineLatest)([this.currentAssignee$,this.defaultAssigneeForComponent$]).pipe(y(function(f){var h=
l(f);f=h.next().value;h=h.next().value;return e.defaultAssigneeQuickActionEnabled&&h&&f!==h?Rac:void 0}));this.issueStatusQuickAction$=this.issueSnapshot$.pipe(y(function(f){return f&&Wac(e,f)}))},Wac=function(a,b){var c=a.activeSession.getUserEmail();a=sm(b.assigneeUser)===c;c=sm(b.verifierUser)===c;b=b.status;if(c&&b==="FIXED")return Uac;if(a)switch(b){case "ASSIGNED":return Sac;case "ACCEPTED":return Tac;default:return Vac}switch(b){case "NEW":return Qac;case "ASSIGNED":return Qac;case "ACCEPTED":return Qac;
default:return Vac}},tJ=function(a,b,c){this.activeSession=a;this.issueFridge=b;this.componentTemplatesFridge=c};tJ.prototype.create=function(a){return new Xac(a,this.activeSession,this.issueFridge,this.componentTemplatesFridge)};tJ.\u0275fac=function(a){return new (a||tJ)(n(Ir),n(jG),n(zE))};tJ.\u0275prov=Hc({token:tJ,factory:tJ.\u0275fac,providedIn:"root"});var uJ=function(){this.transform=YGa};uJ.\u0275fac=function(a){return new (a||uJ)};uJ.\u0275pipe=gd({name:"toNewEmailPreference",type:uJ,pure:!0});var vJ=function(){this.transform=ZGa};vJ.\u0275fac=function(a){return new (a||vJ)};vJ.\u0275pipe=gd({name:"enumToHuman",type:vJ,pure:!0});var wJ=function(){this.transform=$Ga};wJ.\u0275fac=function(a){return new (a||wJ)};wJ.\u0275pipe=gd({name:"arrayToHuman",type:wJ,pure:!0});var xJ=function(){};xJ.prototype.transform=function(a,b){return xh(aHa(a,b)).toString()};
xJ.\u0275fac=function(a){return new (a||xJ)};xJ.\u0275pipe=gd({name:"boldPrefixMatches",type:xJ,pure:!0});var yJ=function(){this.transform=bHa};yJ.\u0275fac=function(a){return new (a||yJ)};yJ.\u0275pipe=gd({name:"yesNo",type:yJ,pure:!0});var zJ=function(){this.transform=cHa};zJ.\u0275fac=function(a){return new (a||zJ)};zJ.\u0275pipe=gd({name:"teamPath",type:zJ,pure:!0});var AJ=function(){this.transform=dHa};AJ.\u0275fac=function(a){return new (a||AJ)};
AJ.\u0275pipe=gd({name:"humanFileSize",type:AJ,pure:!0});var BJ=function(){this.transform=eHa};BJ.\u0275fac=function(a){return new (a||BJ)};BJ.\u0275pipe=gd({name:"omitObfuscatedEmail",type:BJ,pure:!0});var CJ=function(){this.transform=to};CJ.\u0275fac=function(a){return new (a||CJ)};CJ.\u0275pipe=gd({name:"toString",type:CJ,pure:!0});var DJ=function(){this.transform=fHa};DJ.\u0275fac=function(a){return new (a||DJ)};DJ.\u0275pipe=gd({name:"csv",type:DJ,pure:!0});
var Yac=new Map([["(",")"],[")","("],["{","}"],["}","{"],["[","]"],["]","["],["<",">"],[">","<"]]),EJ=function(){};EJ.prototype.transform=function(a){return a==null?void 0:a.split("").reverse().map(function(b){var c;return(c=Yac.get(b))!=null?c:b}).join("")};EJ.\u0275fac=function(a){return new (a||EJ)};EJ.\u0275pipe=gd({name:"reverse",type:EJ,pure:!0});var FJ=function(){};FJ.prototype.transform=function(a,b,c){a=b.indexOf(a);if(a<0)return!0;c=a+c;return!(c>=0&&c<b.length)};
FJ.\u0275fac=function(a){return new (a||FJ)};FJ.\u0275pipe=gd({name:"isOutOfBounds",type:FJ,pure:!0});var GJ=function(){};GJ.\u0275fac=function(a){return new (a||GJ)};GJ.\u0275mod=dd({type:GJ});GJ.\u0275inj=Ic({});var HJ=function(a){a=a===void 0?[]:a;this.internalValue$=new W.BehaviorSubject(new Set);this.value$=or(this.internalValue$).pipe(y(function(b){return new Set(b)}),df(pi),mf({refCount:!0,bufferSize:1}));this.reset(a)};g=HJ.prototype;g.reset=function(a){this.value.clear();a=l(a);for(var b=a.next();!b.done;b=a.next())this.value.add(b.value);this.internalValue$.next(this.value)};
g.add=function(){for(var a=l(kd.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 sp=function(a,b){return a.internalValue$.pipe(y(function(c){return c.has(b)}),df())};HJ.prototype[Symbol.iterator]=function(){return this.value.values()};
HJ.prototype.toString=function(){return"[ReactiveSet](["+[].concat(r(this.value.values())).join(", ")+"])"};HJ.prototype.indexOf=function(a){return[].concat(r(this.value.values())).indexOf(a)};
ea.Object.defineProperties(HJ.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(y(function(a){return a.size}),df())}}});var Zac=function(){this.propertiesBeingSaved=new HJ};Zac.prototype.get=function(a){return this.propertiesBeingSaved.has(to(a))};var IJ=function(a,b){a.propertiesBeingSaved.add(to(b))},JJ=function(a,b){a.propertiesBeingSaved.delete(to(b))};Zac.prototype.properties=function(){return[].concat(r(this.propertiesBeingSaved))};var gHa={QA:{157:[{emailAddress:"security@chromium.org"}]},PROD:{157:[{emailAddress:"security@chromium.org"}]}};var KJ=function(){};KJ.prototype.transform=function(a){return uo(a)};KJ.\u0275fac=function(a){return new (a||KJ)};KJ.\u0275pipe=gd({name:"appendDomain",type:KJ,pure:!0});var lHa={"\u2705":"good","\u26a0\ufe0f":"warn","\u26a0":"warn","\u26d4":"bad","\u274c":"bad","\ud83d\uded1":"bad","\ud83d\udeab":"bad"};var LJ=function(a,b,c,d,e,f,h,k,q,t,w,B,E,I,J,N,P,U,ba,ma,na,ya,Pa,ia,qa,ua){var Oa=this;this.activeSession=a;this.butterBar=b;this.issueInteractionsTracking=c;this.issueApi=d;this.componentFridge=e;this.permissionsFridge=f;this.eventsForIssueFridge=h;this.statusMessages=k;this.errorHandler=q;this.confirmationDialogService=t;this.principalTypes=w;this.issuePermissionService=B;this.accessPolicy=E;this.issueTypeDialog=I;this.logger=J;this.issueFridge=N;this.confirmNoAccessService=P;this.issueService=
U;this.attachmentsMember=ba;this.userPreferencesManager=ma;this.issueComments=na;this.draftStore=ya;this.attachmentApi=Pa;this.issueFieldsFactory=ia;this.issueQuickActionsFactory=qa;this.issueCommentDraftFactory=ua;this.isSavingMap=new Map;this.savingState=uk(this.isSavingMap,function(){return new Zac});this.issueFieldsMap=new Map;this.issueFields=uk(this.issueFieldsMap,function(Ka){return Oa.issueFieldsFactory.create(Ka)});this.issueQuickActionsMap=new Map;this.issueQuickActions=uk(this.issueQuickActionsMap,
function(Ka){return Oa.issueQuickActionsFactory.create(Ka)});this.editableIssueMap=new Map;this.editableIssue$=uk(this.editableIssueMap,function(Ka){return $ac(Oa,Ka)});this.editableIssue=function(Ka){return Oa.editableIssue$(Ka).value};this.subscriptions=new Map;this.getSubscription=uk(this.subscriptions,function(){return new W.Subscription});this.issueCommentDraftMap=new Map;this.issueCommentDraft=uk(this.issueCommentDraftMap,function(Ka){return Oa.issueCommentDraftFactory.create(Ka)});this.FOR_ISSUE_COMMENT_DIALOGS_SERVICE_ONLY=
{saveCommentDraft:this.saveCommentDraft.bind(this)}};LJ.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()};
LJ.prototype.updateComponent=function(a,b,c,d){var e=this,f,h,k,q,t,w;return fe(function(B){if(B.nextAddress==1)return f=e.editableIssue(a),f.componentId=b,(h=MJ(e,f))&&h.actions&&h.actions.length?he(B,e.getRetentionState(a),2):B.return();k=B.yieldResult;NJ(e,h);q={issueId:a,componentId:b};t=Object.assign({},q,{setLimitViewTrusted:d});w=c?e.issueApi.moveIssueExternal(a,t):e.issueApi.moveIssue(a,q);return B.return(OJ(e,w,h,{originalRetentionState:k}))})};
var O$a=function(a,b,c){var d;return fe(function(e){if(!c)return a.butterBar.showWarning("Reporter can't be empty."),e.return();a.editableIssue(b).setReporter(c);return e.return((d=a.updateIssue(b))!=null?d:Promise.resolve())})},abc=function(a,b,c,d){var e,f,h,k,q,t;return fe(function(w){switch(w.nextAddress){case 1:e=fva(c);if(!e)return a.logger.warn("unknown issue type: "+c),w.return();f=a.editableIssue(b);if(e!=="VULNERABILITY"&&e!=="PRIVACY_ISSUE"){w.jumpTo(2);break}return he(w,dac(a.issueTypeDialog,
e),3);case 3:if(h=w.yieldResult,!h)return w.return();case 2:if(!d||e!=="VULNERABILITY"){w.jumpTo(4);break}k=hHa(a.activeSession.getEnvironmentType(),d);if(k===void 0){w.jumpTo(4);break}ge(w,6);return he(w,a.issueApi.markAsVulnerability(b,k),8);case 8:a.permissionsFridge.poke("issues/"+b);a.issueFridge.poke(b);Ft(w,7);break;case 6:q=ke(w),wE(a.errorHandler,q);case 7:return w.return(Promise.resolve());case 4:return f.setType(e),w.return((t=a.updateIssue(b))!=null?t:Promise.resolve())}})},nbb=function(a,
b,c){var d,e,f;return fe(function(h){d=Yj(c);if(!d)return a.logger.warn("unknown priority: "+c),h.return();e=a.editableIssue(b);e.setPriority(d);return h.return((f=a.updateIssue(b))!=null?f:Promise.resolve())})},cbc=function(a,b,c){var d,e,f;return fe(function(h){d=a.editableIssue(b);d.duplicateOfIssueId=c;d.status="DUPLICATE";e=MJ(a,d);return e?(f=e.actions.find(function(k){return k.fieldName==="duplicateOfIssueId"&&!Hp(k.value||"")}))&&f.value?h.return(bbc(a,b,{actionIssueId:f.value,implicitAppenders:d.cc,
implicitEditors:[],isDeduping:!0,isRemovingSelfFromCc:!1,requestData:e})):h.return():h.return()})},dbc=function(a,b,c){var d,e;return fe(function(f){d=a.editableIssue(b);d.setStatus(c);return f.return((e=a.updateIssue(b))!=null?e:Promise.resolve())})},ebc=function(a,b,c){var d,e,f;return fe(function(h){if(!c)return h.return();d=a.editableIssue(b);var k=e=a.issueQuickActions(b),q=d;switch(c.type){case "TAKE":q.status==="NEW"&&(q.status="ASSIGNED");q.assignee=k.activeSession.getUserEmail();break;case "DEFAULT_ASSIGNEE":if(k=
k.defaultAssigneeForComponent())q.status==="NEW"&&(q.status="ASSIGNED"),q.assignee=k;break;case "START":q.status="ACCEPTED";break;case "FIX":q.status="FIXED";break;case "VERIFY":q.status="VERIFIED";break;case "REOPEN":q.status=q.assignee?"ASSIGNED":"NEW";break;default:Dc(c.type)}return h.return((f=a.updateIssue(b))!=null?f:Promise.resolve())})},V$a=function(a,b,c){var d,e;return fe(function(f){d=a.editableIssue(b);var h;d.effortEstimate=(h=c==null?void 0:c.estimate)!=null?h:null;return f.return((e=
a.updateIssue(b))!=null?e:Promise.resolve())})},Yab=function(a,b,c){var d,e,f;return fe(function(h){d=a.editableIssue(b);e=Pta(c,!1);d.foundInVersion=e;return h.return((f=a.updateIssue(b))!=null?f:Promise.resolve())})},bbb=function(a,b,c){var d,e,f;return fe(function(h){d=a.editableIssue(b);e=Pta(c,!1);d.verifiedInVersion=e;return h.return((f=a.updateIssue(b))!=null?f:Promise.resolve())})},$ab=function(a,b,c){var d,e,f;return fe(function(h){d=a.editableIssue(b);e=Pta(c,!1);d.targetedToVersion=e;return h.return((f=
a.updateIssue(b))!=null?f:Promise.resolve())})},dbb=function(a,b,c){var d,e;return fe(function(f){d=a.editableIssue(b);d.setInProd(c);return f.return((e=a.updateIssue(b))!=null?e:Promise.resolve())})},Qab=function(a,b,c){var d,e,f;return fe(function(h){d=gva(c);if(!d)return a.logger.warn("unknown severity: "+c),h.return();e=a.editableIssue(b);e.setSeverity(d);return h.return((f=a.updateIssue(b))!=null?f:Promise.resolve())})};
LJ.prototype.updateSloStartTime=function(a,b){var c=this,d,e;return fe(function(f){d=c.editableIssue(a);d.sloStartTime=b;return f.return((e=c.updateIssue(a))!=null?e:Promise.resolve())})};LJ.prototype.updateSloEndTime=function(a,b){var c=this,d,e;return fe(function(f){d=c.editableIssue(a);d.setSloEndTime(b);return f.return((e=c.updateIssue(a))!=null?e:Promise.resolve())})};
var Uab=function(a,b,c){var d,e,f;fe(function(h){d=a.editableIssue(b);d.changelist=(e=c)!=null?e:[];return h.return((f=a.updateIssue(b))!=null?f:Promise.resolve())})},Vab=function(a,b,c){var d,e,f;fe(function(h){d=a.editableIssue(b);d.gerritChanges=(e=c)!=null?e:[];return h.return((f=a.updateIssue(b))!=null?f:Promise.resolve())})},kbb=function(a,b,c,d){var e,f;return fe(function(h){e=a.editableIssue(b);e.setCustomField(c,d);return h.return((f=a.updateIssue(b))!=null?f:Promise.resolve())})},kab=function(a,
b,c){var d,e,f,h;return fe(function(k){switch(k.nextAddress){case 1:return d=a.editableIssue(b),a.issuePermissionService.isImplicitAccessEnabled()?he(k,fbc(a,b,"verifier",[c]),5):he(k,cJ(a.confirmNoAccessService,{componentId:String(d.componentId),userEmails:[c],relation:"writer",analyticsEventLabel:"verifier"}),4);case 4:e=k.yieldResult;if(!e)return k.return();k.jumpTo(3);break;case 5:if(f=k.yieldResult,!f)return k.return();case 3:return d.setVerifier(c),k.return((h=a.updateIssue(b))!=null?h:Promise.resolve())}})},
dab=function(a,b,c){var d,e,f,h;return fe(function(k){switch(k.nextAddress){case 1:return d=a.editableIssue(b),a.issuePermissionService.isImplicitAccessEnabled()?he(k,fbc(a,b,"assignee",[c]),5):he(k,cJ(a.confirmNoAccessService,{componentId:String(d.componentId),userEmails:[c],relation:"writer",analyticsEventLabel:"assignee"}),4);case 4:e=k.yieldResult;if(!e)return k.return();k.jumpTo(3);break;case 5:if(f=k.yieldResult,!f)return k.return();case 3:return d.setAssignee(c),k.return((h=a.updateIssue(b))!=
null?h:Promise.resolve())}})},gbc=function(a,b,c){var d,e,f,h,k,q;return fe(function(t){switch(t.nextAddress){case 1:d=a.editableIssue(b);if(a.issuePermissionService.isImplicitAccessEnabled())return he(t,fbc(a,b,"CC",c),5);e=HAa(d.cc,c);f=e.added;return he(t,cJ(a.confirmNoAccessService,{componentId:String(d.componentId),userEmails:f,relation:"reader",analyticsEventLabel:"cc"}),4);case 4:h=t.yieldResult;if(!h)return t.return();t.jumpTo(3);break;case 5:if(k=t.yieldResult,!k)return t.return();case 3:return d.cc=
c,t.return((q=a.updateIssue(b))!=null?q:Promise.resolve())}})},hbc=function(a,b,c){var d,e,f,h,k,q;return fe(function(t){switch(t.nextAddress){case 1:d=a.editableIssue(b);if(a.issuePermissionService.isImplicitAccessEnabled())return he(t,fbc(a,b,"collaborators",c),5);e=HAa(d.collaborators,c);f=e.added;return he(t,cJ(a.confirmNoAccessService,{componentId:String(d.componentId),userEmails:f,relation:"reader",analyticsEventLabel:"collaborators"}),4);case 4:h=t.yieldResult;if(!h)return t.return();t.jumpTo(3);
break;case 5:if(k=t.yieldResult,!k)return t.return();case 3:return d.setCollaborators(c),t.return((q=a.updateIssue(b))!=null?q:Promise.resolve())}})};LJ.prototype.unarchive=function(a){var b=this,c,d;return fe(function(e){c=b.editableIssue(a);c.setIsArchived(!1);return e.return((d=b.updateIssue(a))!=null?d:Promise.resolve())})};
LJ.prototype.updateIssueRetention=function(a,b){var c=this,d,e,f;return fe(function(h){switch(h.nextAddress){case 1:return d={issueId:a,retention:b},e=c.savingState(a),IJ(e,"retention"),ge(h,2,3),he(h,c.issueApi.updateIssueRetention(a,d),5);case 5:return he(h,c.issueFridge.poke(a),6);case 6:Ap(c.butterBar,"Issue retention updated to "+b+".",4E3);case 3:ie(h);JJ(e,"retention");je(h,0);break;case 2:f=ke(h),wE(c.errorHandler,f),h.jumpTo(3)}})};
var ibc=function(a,b){var c,d,e;return fe(function(f){c=a.editableIssue(b);c.setIsDeleted(!0);c.setDeletionReason("ABUSE");d=MJ(a,c);if(!d||!d.actions)return f.jumpTo(0);NJ(a,d);e=a.issueService.delete(b,"ABUSE");return he(f,OJ(a,e,d),0)})},uub=function(a,b){var c,d,e;return fe(function(f){c=a.editableIssue(b);c.setIsDeleted(!1);c.setDeletionReason(null);d=MJ(a,c);if(!d||!d.actions)return f.jumpTo(0);NJ(a,d);e=a.issueService.undelete(b);return he(f,OJ(a,e,d),0)})};
LJ.prototype.updateSubscription=function(a,b){var c=this,d,e,f,h,k;return fe(function(q){switch(q.nextAddress){case 1:return d=c.savingState(a),he(q,(0,W.firstValueFrom)(c.issueFridge.watch(a,{trustUncertainMemory:!0})),2);case 2:e=q.yieldResult;h=(f=e)==null?void 0:f.userData;if(h==null||d.get("subscribe"))return q.return();ge(q,3,4);IJ(d,"subscribe");return he(q,c.issueFridge.setNotificationSubscription(a,b),4);case 4:ie(q);JJ(d,"subscribe");je(q,0);break;case 3:k=ke(q),wE(c.errorHandler,k),q.jumpTo(4)}})};
var jbc=function(a,b,c){var d,e;fe(function(f){switch(f.nextAddress){case 1:d=a.savingState(b);if(!c.attachmentId||d.get("undeleteAttachment"))return f.return();ge(f,2,3);Ap(a.butterBar,"Restoring attachment...");IJ(d,"undeleteAttachment");return he(f,a.attachmentsMember.undelete(b.toString(),c),5);case 5:Ap(a.butterBar,"Attachment restored."),a.issueFridge.poke(b),a.eventsForIssueFridge.poke(b);case 3:ie(f);JJ(d,"undeleteAttachment");je(f,0);break;case 2:e=ke(f),wE(a.errorHandler,e),f.jumpTo(3)}})},
kbc=function(a,b,c,d){var e,f;return fe(function(h){switch(h.nextAddress){case 1:e=a.savingState(b);if(!c.attachmentId||e.get("deleteAttachment"))return h.return();ge(h,2,3);Ap(a.butterBar,"Deleting attachment...");IJ(e,"deleteAttachment");return he(h,a.attachmentsMember.delete(b,c,d),5);case 5:Ap(a.butterBar,"Attachment deleted."),a.issueFridge.poke(b),a.eventsForIssueFridge.poke(b);case 3:ie(h);JJ(e,"deleteAttachment");je(h,0);break;case 2:f=ke(h),wE(a.errorHandler,f),h.jumpTo(3)}})};
LJ.prototype.saveCommentDraft=function(a,b){var c=this,d=this.issueCommentDraft(a),e=d.comment(),f=Gac(d);if(!f.commentText&&!f.attachmentsWithJudgements.length)return Promise.resolve();var h=Hac(d);NJ(this,h);return OJ(this,function(){return fe(function(k){switch(k.nextAddress){case 1:return he(k,lbc(c,a),2);case 2:if(!f.commentText){k.jumpTo(3);break}return he(k,c.issueComments.create(String(a),f.commentText,f.formattingMode,f.judgementForNewContent,b),4);case 4:e.reset(),c.draftStore.$window.sessionStorage.removeItem(lo(a));
case 3:if(!f.attachmentsWithJudgements.length){k.jumpTo(5);break}var q=c.attachmentApi;var t=f.attachmentsWithJudgements,w=new NI;w.setIssueId(String(a));t!==void 0&&(t=t.map(cGa),gk(w,3,t));q=q.executor.post({url:"action/issues/"+a+"/attachments",body:w,responseConstructor:PI}).then(eGa);return he(k,q,6);case 6:e.reset();case 5:return d.setJudgementForNewContent(),k.return(c.issueFridge.poke(a))}})}(),h)};
var lbc=function(a,b){var c,d;return fe(function(e){if(!sH(a.userPreferencesManager).autoCcOnComment||!a.issuePermissionService.hasAclToEdit()||a.issuePermissionService.isCurrentUserCCd())return e.return();var f=c=a.editableIssue(b),h=[].concat(r(c.cc),[a.activeSession.getUserEmail()]);f.cc=h;d={issueId:b,actions:[{fieldName:"ccs",value:a.activeSession.getUserEmail(),actionType:"ADD"}]};return he(e,a.issueApi.updateIssue(b,d),0)})},$ac=function(a,b){var c=a.issueFridge.watch(b).pipe(y(function(e){var f=
new D$b;if(e){var h=mbc(a,b,qi(Na(e.snapshot)));f.currentUserEmail=a.activeSession.getUserEmail();f.setData(h,b,e.customFields)}return f})),d=new W.BehaviorSubject(new D$b);a.getSubscription(b).add(c.subscribe(d));return d};
LJ.prototype.updateIssue=function(a){var b=this.editableIssue(a),c=MJ(this,b);if(!c)return null;for(var d=!1,e=[],f=[],h=a,k=l(c.actions),q=k.next();!q.done;q=k.next()){q=q.value;var t=q.value||"";if(q.actionType!=="REMOVE")switch(q.fieldName){case "ccs":e=t.split(",").filter(Boolean);break;case "verifier":case "assignee":case "collaborators":f=t.split(",").filter(Boolean);break;case "duplicateOfIssueId":Hp(t)||(e=b.cc,h=String(t),d=!0)}}return bbc(this,a,{actionIssueId:h,implicitAppenders:e,implicitEditors:f,
isDeduping:d,isRemovingSelfFromCc:c.actions.length===1&&c.actions[0].fieldName==="ccs"&&c.actions[0].actionType==="REMOVE"&&this.activeSession.getUserEmail()===c.actions[0].value,requestData:c})};
var bbc=function(a,b,c){var d=c.actionIssueId;var e=c.implicitAppenders;var f=c.implicitEditors;var h=c.isDeduping;var k=c.isRemovingSelfFromCc;var q=c.requestData;var t,w,B,E,I,J,N,P,U,ba,ma,na,ya,Pa;return fe(function(ia){switch(ia.nextAddress){case 1:return he(ia,Promise.all([nbc(a,e,"appender",d),nbc(a,f,"writer",d)]),2);case 2:t=ia.yieldResult;w=l(t);B=w.next().value;E=w.next().value;I=B;J=E;N=I.noAccessEmails||[];P=J.noAccessEmails||[];U=[].concat(r(N),r(P));if(U.length===0)return ia.return(obc(a,
q,h,k));ge(ia,3);return he(ia,Promise.all(U.map(function(qa){return pbc(a,qa)})),5);case 5:return ba=ia.yieldResult,ma=oDa({userPrincipals:ba,newEditors:P,newImplicitUsers:U,isExternalSession:a.activeSession.isExternalSession(),issueId:b,actionIssueId:d}),na=ma.title,ya=ma.content,he(ia,cac(a.confirmationDialogService,{title:na,content:wh(ya),confirmButtonText:"Allow"}),6);case 6:if(Pa=ia.yieldResult)return ia.return(obc(a,q,h,k));a.permissionsFridge.poke("issues/"+b);a.issueFridge.poke(b);Ft(ia,
0);break;case 3:ke(ia),a.butterBar.showWarning("Could not determine email type."),le(ia)}})},obc=function(a,b,c,d){NJ(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 OJ(a,e,b)},nbc=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(uo),c,h,d):Promise.resolve(e)},mbc=function(a,b,c){var d=a.isSavingMap.get(b);a=(a=a.editableIssueMap.get(b))&&fo(a);if(!a||!d)return c;d=d.properties();d=l(d);b=d.next();for(var e={};!b.done;e={customFieldId$jscomp$15:void 0},b=d.next())b=b.value,b.match(/^\d+$/)?(e.customFieldId$jscomp$15=vi(b),e=(c.customField||[]).find(function(f){return function(h){return h.customFieldId===f.customFieldId$jscomp$15}}(e)),
b=a.customFieldMap[b],e&&b&&(e.textValue=b.textValue,e.dateValue=b.dateValue,e.enumValue=b.enumValue,e.numericValue=b.numericValue)):(e=void 0,(e=J$b.get(b))==null||e(c,a));return c},MJ=function(a,b){var c=H$b(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(qHa(e)))});return c.actions.length?c:null},NJ=function(a,b){var c=String(b.issueId);Ap(a.butterBar,"Saving...",0);var d=b.actions.map(function(e){return e.fieldName}).join(",");
pJ(a.issueInteractionsTracking,c,{label:d});a=a.savingState(c);b=l(b.actions);for(c=b.next();!c.done;c=b.next())IJ(a,qHa(c.value))},OJ=function(a,b,c,d){var e,f;return fe(function(h){switch(h.nextAddress){case 1:return ge(h,2),he(h,b,4);case 4:return e=h.yieldResult,lG(a.issueFridge,[c.issueId],{eagerUpdate:!1,userActivityType:"EDIT"}).then(function(){var k=String(c.issueId);a.issueFridge.poke(k);a.eventsForIssueFridge.poke(k)}),he(h,qbc(a,c,e,d),5);case 5:Ft(h,0);break;case 2:f=ke(h),rbc(a,c,f),
le(h)}})},qbc=function(a,b,c,d){var e=(d===void 0?{}:d).originalRetentionState;var f,h,k,q;return fe(function(t){f=a.savingState(String(b.issueId));h=l(b.actions);for(k=h.next();!k.done;k=h.next())q=k.value,JJ(f,qHa(q));return c?he(t,sbc(a,b,e),0):t.jumpTo(0)})},rbc=function(a,b,c){var d=String(b.issueId),e=a.savingState(d);b=l(b.actions);for(var f=b.next();!f.done;f=b.next())JJ(e,qHa(f.value));a.permissionsFridge.poke("issues/"+d);a.issueFridge.poke(d);mn(c)&&c.status===403&&nn(c)?vE(a.errorHandler,
nn(c)):wE(a.errorHandler,c)},sbc=function(a,b,c){var d,e,f,h,k,q,t,w,B,E,I;return fe(function(J){switch(J.nextAddress){case 1:return he(J,a.getEffortSpec(String(b.issueId)),2);case 2:d=J.yieldResult;e=a.editableIssue(String(b.issueId));k=rac(a.statusMessages,b,e.customFieldMap,(h=(f=d)==null?void 0:f.name)!=null?h:"");if(!c){J.jumpTo(3);break}return he(J,Promise.all([a.getRetentionState(String(b.issueId)),a.getRetention(String(b.issueId))]),4);case 4:q=J.yieldResult;t=l(q);w=t.next().value;B=t.next().value;
E=w;I=B;if(I!=="INDEFINITE"&&c&&E){var N=c.retentionPeriod?Gm(Math.floor(c.retentionPeriod.seconds*1E3/864E5)):"indefinite";var P=E.retentionPeriod?Gm(Math.floor(E.retentionPeriod.seconds*1E3/864E5)):"indefinite";N=N===P?"":" Issue retention period changed from "+N+" to "+P+"."}else N="";k+=N;case 3:Ap(a.butterBar,k),le(J)}})},fbc=function(a,b,c,d){return fe(function(e){if(e.nextAddress==1){var f=a.editableIssue(b);var h=a.activeSession.getUserEmail();f=new Map([["CC",f.cc],["collaborators",f.collaborators],
["assignee",f.assignee?[f.assignee]:[]],["verifier",f.verifier?[f.verifier]:[]]]);(new Set([].concat(r(f.values())).flat())).has(h)?(f.set(c,d),h=!(new Set([].concat(r(f.values())).flat())).has(h)):h=!1;e=h?he(e,tbc(a,b,a.editableIssue(b).componentId,c),2):e.return(!0)}else e=e.return(e.yieldResult);return e})},tbc=function(a,b,c,d){var e;return fe(function(f){if(f.nextAddress==1)return he(f,nbc(a,[a.activeSession.getUserEmail()],"reader",b,!0,c),2);e=f.yieldResult;return e.noAccessEmails&&e.noAccessEmails.length!==
0?f.return(cac(a.confirmationDialogService,{title:"Removing yourself from "+d+" may revoke your access to the issue",content:wh("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)})};LJ.prototype.getRetentionState=function(a){return(0,W.firstValueFrom)(this.issueFridge.watch(a).pipe(y(RGa)))};
LJ.prototype.getRetention=function(a){return(0,W.firstValueFrom)(this.issueFridge.watch(a).pipe(y(OGa)))};LJ.prototype.getEffortSpec=function(a){return(0,W.firstValueFrom)(this.issueFridge.watch(a).pipe(y(vGa),pf(this.componentFridge.watch),y(UGa)))};var pbc=function(a,b){return fe(function(c){return a.activeSession.isExternalSession()?c.return({principalType:"NON_GAIA",detailedUserType:"NO_DETAILED_TYPE"}):c.return(QG(a.principalTypes,b,!0))})};
LJ.prototype.ngOnDestroy=function(){this.isSavingMap.clear();this.issueFieldsMap.clear();this.issueQuickActionsMap.clear();this.editableIssueMap.clear();for(var a=l(this.subscriptions.values()),b=a.next();!b.done;b=a.next())b.value.unsubscribe();this.subscriptions.clear()};LJ.\u0275fac=function(a){return new (a||LJ)(n(Ir),n(sE),n(oJ),n(PD),n(CC),n(OG),n(rF),n(MI),n(uE),n(EI),n(PG),n(sJ),n(qC),n(FI),n(tE),n(jG),n(bJ),n(hG),n(SI),n(rH),n($I),n(lI),n(RI),n(nJ),n(tJ),n(kJ))};
LJ.\u0275prov=Hc({token:LJ,factory:LJ.\u0275fac,providedIn:"root"});var PJ=function(a,b,c){Z.call(this);this.issueDetailsBrain=a;this.issuePermissionService=b;this.editIssueService=c;this.assigneeInProgress$=new W.ReplaySubject(1);this.ccInProgress$=new W.ReplaySubject(1);this.id$=this.issueDetailsBrain.id$;this.assigneeUpdate$=this.issueDetailsBrain.issueJs$.pipe(y(function(d){return OCa(d)||""}));this.ccUpdate$=this.issueDetailsBrain.issueJs$.pipe(y(function(d){var e;return qm((e=zn(d))==null?void 0:e.ccUsers)||[]}));this.assignee$=this.assigneeUpdate$.pipe(mf({refCount:!0,
bufferSize:1}));this.cc$=this.ccUpdate$.pipe(mf({refCount:!0,bufferSize:1}));this.assigneeUpdating$=this.assigneeInProgress$;this.ccUpdating$=this.ccInProgress$;this.editAccess$=this.issuePermissionService.hasAclToEdit$};X(PJ,Z);PJ.\u0275dir=Z.\u0275dir;
var ubc=function(a,b){var c,d,e;return fe(function(f){switch(f.nextAddress){case 1:c=fo(a.id$);if(!c)return f.return();a.assigneeInProgress$.next(!0);d=b.action==="remove_user"?"":b.email;ge(f,2,3);return he(f,dab(a.editIssueService,c,d),5);case 5:return he(f,(0,W.firstValueFrom)(a.assigneeUpdate$.pipe(te(function(h){h=b.email===h;return b.action==="set_user"?h:!h}),we(6E4))),3);case 3:ie(f);a.assigneeInProgress$.next(!1);je(f,0);break;case 2:throw e=ke(f),e;}})},vbc=function(a,b){var c,d,e,f,h;return fe(function(k){switch(k.nextAddress){case 1:c=
fo(a.id$);if(!c)return k.return();d=a.editIssueService.editableIssue(c);e=d.cc.includes(b.email);f=void 0;b.action!=="set_user"||e?b.action==="remove_user"&&e&&(f=gbc(a.editIssueService,c,d.cc.filter(function(q){return q!==b.email}))):f=gbc(a.editIssueService,c,[].concat(r(d.cc),[b.email]));if(!f)return k.return();ge(k,2,3);a.ccInProgress$.next(!0);return he(k,f,5);case 5:return he(k,(0,W.firstValueFrom)(a.ccUpdate$.pipe(te(function(q){q=q.includes(b.email);return b.action==="set_user"?q:!q}),we(6E4))),
3);case 3:ie(k);a.ccInProgress$.next(!1);je(k,0);break;case 2:throw h=ke(k),h;}})};PJ.\u0275fac=function(a){return new (a||PJ)(n(qJ),n(sJ),n(LJ))};PJ.\u0275prov=Hc({token:PJ,factory:PJ.\u0275fac});var wbc=function(a){return["chip","gmat-caption",a]},QJ=function(){this.variant="grey";this.isTall=!1};QJ.\u0275fac=function(a){return new (a||QJ)};
QJ.\u0275cmp=p({type:QJ,selectors:[["onedev-chip"]],hostVars:2,hostBindings:function(a,b){a&2&&Kf("tall",b.isTall)},inputs:{variant:"variant",isTall:"isTall"},ngContentSelectors:["*"],decls:3,vars:3,consts:[[3,"ngClass"],[1,"centering"]],template:function(a,b){a&1&&(Xf(),F(0,"div",0)(1,"div",1),Yf(2),G()());a&2&&D("ngClass",ug(1,wbc,b.variant))},dependencies:[Ev],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 RJ=function(a){this.chip=a};RJ.\u0275fac=function(a){return new (a||RJ)(A(QJ))};RJ.\u0275dir=fd({type:RJ,selectors:[["","onedevChipIcon",""]],hostVars:10,hostBindings:function(a,b){a&2&&Jf("color","var(--chip-"+b.chip.variant+"-icon")("font-size",b.chip.isTall?"16px":"12px")("height",b.chip.isTall?"16px":"12px")("margin","0 4px 0 0")("width",b.chip.isTall?"16px":"12px")}});var SJ=function(){};SJ.\u0275fac=function(a){return new (a||SJ)};SJ.\u0275mod=dd({type:SJ});SJ.\u0275inj=Ic({imports:[Tv]});var TJ=function(){};TJ.\u0275fac=function(a){return new (a||TJ)};TJ.\u0275cmp=p({type:TJ,selectors:[["","onedevDot",""]],hostVars:1,hostBindings:function(a){a&2&&Bf("aria-hidden",!0)},attrs:["onedevDot",""],decls:1,vars:0,template:function(a){a&1&&R(0,"\u00a0\u00b7\u00a0")},encapsulation:2});var UJ=function(){};UJ.\u0275fac=function(a){return new (a||UJ)};UJ.\u0275mod=dd({type:UJ});UJ.\u0275inj=Ic({});var xbc=[[["","onedev-additional-content",""]],[["onedev-hovercard-action"]]],ybc=function(a){return{"with-avatar":a}},VJ=function(){};VJ.prototype.ngOnInit=function(){};VJ.\u0275fac=function(a){return new (a||VJ)};
VJ.\u0275cmp=p({type:VJ,selectors:[["onedev-person-hovercard-body"]],inputs:{person:"person",outOfOfficeDescription:"outOfOfficeDescription"},standalone:!0,features:[sg],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&&(Xf(xbc),F(0,"div",0)(1,"div",1)(2,"div",2),C(3,rHa,1,2,"img",3),F(4,"div",4),R(5),G(),C(6,sHa,2,1,"div",5),G(),C(7,tHa,4,1,"div",6),F(8,"div",7),C(9,xHa,7,3,"ng-container",8)(10,yHa,4,1,"ng-container",8)(11,zHa,19,4,"ng-container",8),Yf(12),G()(),Yf(13,1),G());a&2&&(z(2),D("ngClass",ug(8,ybc,b.person.imageUrl)),z(),D("ngIf",b.person.imageUrl),z(2),S(" ",b.person.name||b.person.email," "),z(),D("ngIf",b.person.name),z(),D("ngIf",b.outOfOfficeDescription),z(2),
D("ngIf",b.person.title||b.person.department),z(),D("ngIf",b.person.location),z(),D("ngIf",b.person.ldap))},dependencies:[SJ,QJ,RJ,Tv,Ev,Gv,UJ,TJ,AB,zB],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 zbc=function(){};var Abc=function(a){if(a.getCount&&typeof a.getCount=="function")a=a.getCount();else if(Za(a)||typeof a==="string")a=a.length;else{var b=0,c;for(c in a)b++;a=b}return a},WJ=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(Za(a)){for(var b=[],c=a.length,d=0;d<c;d++)b.push(a[d]);return b}return Zda(a)},Bbc=
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(Za(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}}},Cbc=function(a,b,c){if(a.forEach&&typeof a.forEach=="function")a.forEach(b,c);else if(Za(a)||typeof a==="string")Array.prototype.forEach.call(a,
b,c);else for(var d=Bbc(a),e=WJ(a),f=e.length,h=0;h<f;h++)b.call(c,e[h],d&&d[h],a)},Dbc=function(a,b,c){if(typeof a.every=="function")return a.every(b,c);if(Za(a)||typeof a==="string")return Array.prototype.every.call(a,b,c);for(var d=Bbc(a),e=WJ(a),f=e.length,h=0;h<f;h++)if(!b.call(c,e[h],d&&d[h],a))return!1;return!0};var Ebc=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^\\\\/?#]*)@)?([^\\\\/?#]*?)(?::([0-9]+))?(?=[\\\\/?#]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#([\\s\\S]*))?$"),Fbc=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," ")):"")}}},Gbc=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]},Hbc=function(a,b,c){if(Array.isArray(b))for(var d=0;d<b.length;d++)Hbc(a,String(b[d]),c);else b!=null&&c.push(a+(b===""?"":"="+encodeURIComponent(String(b))))},Ibc=function(a,b){var c=[];for(b=b||0;b<a.length;b+=2)Hbc(a[b],a[b+1],c);return c.join("&")},Jbc=function(a){var b=[],c;for(c in a)Hbc(c,a[c],b);return b.join("&")},kKa=function(a,b){var c=arguments.length==2?Ibc(arguments[1],0):Ibc(arguments,
1);return Gbc(a,c)},mKa=function(a,b){b=Jbc(b);return Gbc(a,b)},Kbc=function(a,b,c){c=c!=null?"="+encodeURIComponent(String(c)):"";return Gbc(a,b+c)},Lbc=/#|$/,Mbc=function(a,b){var c=a.search(Lbc);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 bp=function(a,b){this.domain_=this.userInfo_=this.scheme_="";this.port_=null;this.fragment_=this.path_="";this.ignoreCase_=!1;var c;a instanceof bp?(this.ignoreCase_=b!==void 0?b:a.ignoreCase_,XJ(this,a.scheme_),this.setUserInfo(a.getUserInfo()),this.setDomain(a.getDomain()),this.setPort(a.getPort()),this.setPath(a.getPath()),YJ(this,a.queryData_.clone()),ZJ(this,a.fragment_)):a&&(c=String(a).match(Ebc))?(this.ignoreCase_=!!b,XJ(this,c[1]||"",!0),this.setUserInfo(c[2]||"",!0),this.setDomain(c[3]||
"",!0),this.setPort(c[4]),this.setPath(c[5]||"",!0),YJ(this,c[6]||"",!0),ZJ(this,c[7]||"",!0)):(this.ignoreCase_=!!b,this.queryData_=new $J(null,this.ignoreCase_))};
bp.prototype.toString=function(){var a=[],b=this.scheme_;b&&a.push(aK(b,Nbc,!0),":");var c=this.getDomain();if(c||b=="file")a.push("//"),(b=this.getUserInfo())&&a.push(aK(b,Nbc,!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.hasDomain()&&c.charAt(0)!="/"&&a.push("/"),a.push(aK(c,c.charAt(0)=="/"?Obc:Pbc,!0));(c=this.queryData_.toString())&&a.push("?",c);(c=this.fragment_)&&a.push("#",aK(c,
Qbc));return a.join("")};
bp.prototype.resolve=function(a){var b=this.clone(),c=!!a.scheme_;c?XJ(b,a.scheme_):c=a.hasUserInfo();c?b.setUserInfo(a.getUserInfo()):c=a.hasDomain();c?b.setDomain(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.hasDomain()&&!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(Ha(e,"./")||Ha(e,"/.")){d=e.lastIndexOf("/",0)==0;e=e.split("/");
for(var f=[],h=0;h<e.length;){var k=e[h++];k=="."?d&&h==e.length&&f.push(""):k==".."?((f.length>1||f.length==1&&f[0]!="")&&f.pop(),d&&h==e.length&&f.push("")):(f.push(k),d=!0)}d=f.join("/")}else d=e}c?b.setPath(d):c=a.hasQuery();c?YJ(b,a.queryData_.clone()):c=!!a.fragment_;c&&ZJ(b,a.fragment_);return b};bp.prototype.clone=function(){return new bp(this)};var XJ=function(a,b,c){a.scheme_=c?bK(b,!0):b;a.scheme_&&(a.scheme_=a.scheme_.replace(/:$/,""));return a};g=bp.prototype;g.getUserInfo=function(){return this.userInfo_};
g.setUserInfo=function(a,b){this.userInfo_=b?bK(a):a;return this};g.hasUserInfo=function(){return!!this.userInfo_};g.getDomain=function(){return this.domain_};g.setDomain=function(a,b){this.domain_=b?bK(a,!0):a;return this};g.hasDomain=function(){return!!this.domain_};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?bK(a,!0):a;return this};g.hasPath=function(){return!!this.path_};g.hasQuery=function(){return this.queryData_.toString()!==""};var YJ=function(a,b,c){b instanceof $J?(a.queryData_=b,a.queryData_.setIgnoreCase(a.ignoreCase_)):(c||(b=aK(b,Rbc)),a.queryData_=new $J(b,a.ignoreCase_));return a};bp.prototype.setQuery=function(a){return YJ(this,a)};bp.prototype.getQuery=function(){return this.queryData_.toString()};
var cK=function(a,b,c){a.queryData_.set(b,c);return a},dK=function(a,b){return a.queryData_.get(b)},ZJ=function(a,b,c){a.fragment_=c?bK(b):b;return a},eK=function(a){cK(a,"zx",nu());return a};bp.prototype.removeParameter=function(a){this.queryData_.remove(a);return this};bp.prototype.isReadOnly=function(){return!1};bp.prototype.setIgnoreCase=function(a){this.ignoreCase_=a;this.queryData_&&this.queryData_.setIgnoreCase(a)};
var fK=function(a,b){return a instanceof bp?a.clone():new bp(a,b)},Sbc=function(a,b,c,d,e){var f=new bp(null);a&&XJ(f,a);b&&f.setUserInfo(b);c&&f.setDomain(c);d&&f.setPort(d);e&&f.setPath(e);return f},bK=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""},aK=function(a,b,c){return typeof a==="string"?(a=encodeURI(a).replace(b,Tbc),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null},Tbc=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)},
Nbc=/[#\/\?@]/g,Pbc=/[#\?:]/g,Obc=/[#\?]/g,Rbc=/[#\?@]/g,Qbc=/#/g,$J=function(a,b){this.count_=this.keyMap_=null;this.encodedQuery_=a||null;this.ignoreCase_=!!b},gK=function(a){a.keyMap_||(a.keyMap_=new Map,a.count_=0,a.encodedQuery_&&Fbc(a.encodedQuery_,function(b,c){a.add(decodeURIComponent(b.replace(/\+/g," ")),c)}))};g=$J.prototype;g.getCount=function(){gK(this);return this.count_};
g.add=function(a,b){gK(this);this.encodedQuery_=null;a=hK(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){gK(this);a=hK(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(){gK(this);return this.count_==0};g.containsKey=function(a){gK(this);a=hK(this,a);return this.keyMap_.has(a)};
g.containsValue=function(a){var b=this.getValues();return Ta(b,a)};g.forEach=function(a,b){gK(this);this.keyMap_.forEach(function(c,d){c.forEach(function(e){a.call(b,e,d,this)},this)},this)};g.getKeys=function(){gK(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){gK(this);var b=[];if(typeof a==="string")this.containsKey(a)&&(b=b.concat(this.keyMap_.get(hK(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){gK(this);this.encodedQuery_=null;a=hK(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(hK(this,a),Ya(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 $J;a.encodedQuery_=this.encodedQuery_;this.keyMap_&&(a.keyMap_=new Map(this.keyMap_),a.count_=this.count_);return a};var hK=function(a,b){b=String(b);a.ignoreCase_&&(b=b.toLowerCase());return b};$J.prototype.setIgnoreCase=function(a){a&&!this.ignoreCase_&&(gK(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};
$J.prototype.extend=function(a){for(var b=0;b<arguments.length;b++)Cbc(arguments[b],function(c,d){this.add(d,c)},this)};var Ubc=function(a){var b="";qc(a,function(c,d){b+=d;b+=":";b+=c;b+="\r\n"});return b},Vbc=function(a,b,c){if(sc(c))return a;c=Ubc(c);if(typeof a==="string")return Kbc(a,encodeURIComponent(String(b)),c);cK(a,b,c);return a};var wo=function(){this.Serializable$values={}},vo=function(a,b){return a.Serializable$values.hasOwnProperty(b)?a.Serializable$values[b]:null},iK=function(a,b){return a.Serializable$values[b]!=null};var Wbc=function(){};var Xbc=function(a,b){this.requestService=a;this.hookFactory=b===void 0?null:b};X(Xbc,Wbc);
var Ybc=function(a,b,c){var d=AHa(a.hookFactory,b);return d==null?c:W.EMPTY.pipe(sf({complete:function(){d.onBeforeSend()}}),Sja(c.pipe(sf(function(e){d.onSuccess(e)},function(e){d.onError(e)}))))},Zbc=function(a,b){var c=b.responseCtor||void 0,d=a.requestService,e=d.send,f=b.body instanceof wo?HHa(b.body,EHa,FHa,GHa):b.body;return Ybc(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 $bc=function(){};$bc.prototype.send=function(a,b){BHa(a);return this.makeRequest(a).pipe(y(function(c){return b?LHa(b,c):c}))};var acc=new md("API_VERSION"),bcc=new md("REQUEST_SERVICE"),jK=function(){};jK.\u0275fac=function(a){return new (a||jK)};jK.\u0275mod=dd({type:jK});jK.\u0275inj=Ic({});
var ccc={$Xgafv:"$.xgafv",access_token:"access_token",affinityType:"affinityType",alt:"alt",authDelegationContextContactsEncryptedOwnerId:"authDelegationContext.contacts.encryptedOwnerId",authDelegationContextDelegationType:"authDelegationContext.delegationType",authDelegationContextGriffinObfuscatedOwnerId:"authDelegationContext.griffin.obfuscatedOwnerId",authDelegationContextMadisonMadisonGaiaId:"authDelegationContext.madison.madisonGaiaId",authDelegationContextMadisonObfuscatedMadisonId:"authDelegationContext.madison.obfuscatedMadisonId",
authDelegationContextObfuscatedOwnerId:"authDelegationContext.obfuscatedOwnerId",authDelegationContextUnicornObfuscatedOwnerId:"authDelegationContext.unicorn.obfuscatedOwnerId",blockDirection:"blockDirection",callback:"callback",client:"client",clientId:"client.id",clientVersionClientAgent:"clientVersion.clientAgent",clientVersionClientType:"clientVersion.clientType",clientVersionClientVersion:"clientVersion.clientVersion",clientVersionGmsCoreContextAppManagementContext:"clientVersion.gmsCoreContext.appManagementContext",
clientVersionGmsCoreContextIsFirstParty:"clientVersion.gmsCoreContext.isFirstParty",clientVersionGmsCoreContextPackageName:"clientVersion.gmsCoreContext.packageName",clientVersionGmsCoreContextPackageSignature:"clientVersion.gmsCoreContext.packageSignature",consentOptionsStrategy:"consentOptions.strategy",consistencyOptionsConsistentReadOverrideType:"consistencyOptions.consistentReadOverrideType",consistencyOptionsLevel:"consistencyOptions.level",consistencyOptionsLevelOptionsBoundedConsistencyMaxAllowedStaleness:"consistencyOptions.levelOptions.boundedConsistency.maxAllowedStaleness",
consistencyOptionsLevelOptionsExactTimestamp:"consistencyOptions.levelOptions.exactTimestamp",consistencyOptionsLevelOptionsStaleConsistencyConsistencyRequirement:"consistencyOptions.levelOptions.staleConsistency.consistencyRequirement",contactId:"contactId",contactListType:"contactListType",contactLookupOptionsEmailLookupType:"contactLookupOptions.emailLookupType",container:"container",containerId:"containerId",containerIds:"containerIds",contextAllowedRequesterState:"context.allowedRequesterState",
contextAuthDelegationContextContactsEncryptedOwnerId:"context.authDelegationContext.contacts.encryptedOwnerId",contextAuthDelegationContextDelegationType:"context.authDelegationContext.delegationType",contextAuthDelegationContextGriffinObfuscatedOwnerId:"context.authDelegationContext.griffin.obfuscatedOwnerId",contextAuthDelegationContextMadisonMadisonGaiaId:"context.authDelegationContext.madison.madisonGaiaId",contextAuthDelegationContextMadisonObfuscatedMadisonId:"context.authDelegationContext.madison.obfuscatedMadisonId",
contextAuthDelegationContextObfuscatedOwnerId:"context.authDelegationContext.obfuscatedOwnerId",contextAuthDelegationContextUnicornObfuscatedOwnerId:"context.authDelegationContext.unicorn.obfuscatedOwnerId",contextClientType:"context.clientType",contextClientVersionClientAgent:"context.clientVersion.clientAgent",contextClientVersionClientType:"context.clientVersion.clientType",contextClientVersionClientVersion:"context.clientVersion.clientVersion",contextClientVersionGmsCoreContextAppManagementContext:"context.clientVersion.gmsCoreContext.appManagementContext",
contextClientVersionGmsCoreContextIsFirstParty:"context.clientVersion.gmsCoreContext.isFirstParty",contextClientVersionGmsCoreContextPackageName:"context.clientVersion.gmsCoreContext.packageName",contextClientVersionGmsCoreContextPackageSignature:"context.clientVersion.gmsCoreContext.packageSignature",contextConsistencyContextBase64EncodedZookie:"context.consistencyContext.base64EncodedZookie",contextConsistencyContextDirectoryVersionToken:"context.consistencyContext.directoryVersionToken",contextConsistencyContextFbsRequireAllImportantWritesUpToTime:"context.consistencyContext.fbsRequireAllImportantWritesUpToTime",
contextConsistencyContextFbsVersionInfo:"context.consistencyContext.fbsVersionInfo",contextConsistencyOptionsConsistentReadOverrideType:"context.consistencyOptions.consistentReadOverrideType",contextConsistencyOptionsLevel:"context.consistencyOptions.level",contextConsistencyOptionsLevelOptionsBoundedConsistencyMaxAllowedStaleness:"context.consistencyOptions.levelOptions.boundedConsistency.maxAllowedStaleness",contextConsistencyOptionsLevelOptionsExactTimestamp:"context.consistencyOptions.levelOptions.exactTimestamp",
contextConsistencyOptionsLevelOptionsStaleConsistencyConsistencyRequirement:"context.consistencyOptions.levelOptions.staleConsistency.consistencyRequirement",contextMigrationOptionsUseClusterBased:"context.migrationOptions.useClusterBased",contextMigrationOptionsUseLegacyRequestMaskBehavior:"context.migrationOptions.useLegacyRequestMaskBehavior",contextMigrationOptionsUseNewRequestMaskBehavior:"context.migrationOptions.useNewRequestMaskBehavior",contextRequestGroupLoggingId:"context.requestGroupLoggingId",
contextRightOfPublicityContext:"context.rightOfPublicityContext",coreIdParamsCheckIdentityAcl:"coreIdParams.checkIdentityAcl",coreIdParamsEnablePrivateAccountEmails:"coreIdParams.enablePrivateAccountEmails",coreIdParamsEnablePrivateNames:"coreIdParams.enablePrivateNames",coreIdParamsEnforceEdsConditionEnforceEdsType:"coreIdParams.enforceEdsCondition.enforceEdsType",coreIdParamsIdentityAclOptionsContextConfigName:"coreIdParams.identityAclOptions.context.configName",coreIdParamsIdentityAclOptionsContextObjectId:"coreIdParams.identityAclOptions.context.objectId",
coreIdParamsIdentityAclOptionsContextObjectPart:"coreIdParams.identityAclOptions.context.objectPart",coreIdParamsIdentityAclOptionsGroupServiceContextGroupName:"coreIdParams.identityAclOptions.groupServiceContext.groupName",coreIdParamsIdentityAclOptionsGroupServiceContextGroupNames:"coreIdParams.identityAclOptions.groupServiceContext.groupNames",coreIdParamsIdentityAclOptionsGroupServiceContextOwnerGaiaId:"coreIdParams.identityAclOptions.groupServiceContext.ownerGaiaId",coreIdParamsIdentityAclOptionsGroupServiceContextZookie:"coreIdParams.identityAclOptions.groupServiceContext.zookie",
coreIdParamsIdentityAclOptionsMode:"coreIdParams.identityAclOptions.mode",coreIdParamsIgnoreAclConditionIgnoreAclConditionType:"coreIdParams.ignoreAclCondition.ignoreAclConditionType",coreIdParamsUseRealtimeNotificationExpandedAcls:"coreIdParams.useRealtimeNotificationExpandedAcls",coreNameCoreProfileFirstName:"coreName.coreProfileFirstName",coreNameCoreProfileLastName:"coreName.coreProfileLastName",customLookupType:"customLookupType",dataFormatsAffinityFormatsScoreFormat:"dataFormats.affinityFormats.scoreFormat",
dataFormatsProfilePhotoOptionsCorpHeaderPreference:"dataFormats.profilePhotoOptions.corpHeaderPreference",dataFormatsProfilePhotoOptionsPrivateUrlFormat:"dataFormats.profilePhotoOptions.privateUrlFormat",dataJoinParamsPhoneStalenessSpec:"dataJoinParams.phoneStalenessSpec",dataJoinParamsProfileJoinType:"dataJoinParams.profileJoinType",dedupeOption:"dedupeOption",delayFullSync:"delayFullSync",delegatedGroupIdDelegatedGroupId:"delegatedGroupId.delegatedGroupId",deleteContacts:"deleteContacts",deleteTrashedContacts:"deleteTrashedContacts",
deletionContextMutationContextAndroidDeviceInfoId:"deletionContext.mutationContext.androidDeviceInfo.id",deletionContextMutationContextHostAppInfoHostAppName:"deletionContext.mutationContext.hostAppInfo.hostAppName",deletionContextMutationContextSource:"deletionContext.mutationContext.source",deletionContextMutationContextThirdPartyInfoClientName:"deletionContext.mutationContext.thirdPartyInfo.clientName",deletionContextMutationContextThirdPartyInfoProjectNumber:"deletionContext.mutationContext.thirdPartyInfo.projectNumber",
deletionContextMutationContextTimestamp:"deletionContext.mutationContext.timestamp",deviceId:"deviceId",deviceIdentifierClientInstanceId:"deviceIdentifier.clientInstanceId",deviceIdentityDeviceId:"deviceIdentity.deviceId",extensionSetExtendedRequestDataPeopleBackendExtensionApplication:"extensionSet.extendedRequestData.peopleBackendExtension.application",extensionSetExtensionNames:"extensionSet.extensionNames",fieldFilterField:"fieldFilter.field",fieldMask:"fieldMask",fieldValueFilterAdminAssistants:"fieldValueFilter.adminAssistants",
fieldValueFilterDottedLineManagers:"fieldValueFilter.dottedLineManagers",fieldValueFilterExecAssistants:"fieldValueFilter.execAssistants",fieldValueFilterIndirectManagers:"fieldValueFilter.indirectManagers",fieldValueFilterIndirectManagersWithMaxNumHops:"fieldValueFilter.indirectManagersWithMaxNumHops",fieldValueFilterManagers:"fieldValueFilter.managers",fieldValueFilterProfileExternalIdCustomTag:"fieldValueFilter.profileExternalId.customTag",fieldValueFilterProfileExternalIdStandardTag:"fieldValueFilter.profileExternalId.standardTag",
fieldValueFilterProfileExternalIdValue:"fieldValueFilter.profileExternalId.value",fields:"fields",getPeopleRequestContextAllowedRequesterState:"getPeopleRequest.context.allowedRequesterState",getPeopleRequestContextAuthDelegationContextContactsEncryptedOwnerId:"getPeopleRequest.context.authDelegationContext.contacts.encryptedOwnerId",getPeopleRequestContextAuthDelegationContextDelegationType:"getPeopleRequest.context.authDelegationContext.delegationType",getPeopleRequestContextAuthDelegationContextGriffinObfuscatedOwnerId:"getPeopleRequest.context.authDelegationContext.griffin.obfuscatedOwnerId",
getPeopleRequestContextAuthDelegationContextMadisonMadisonGaiaId:"getPeopleRequest.context.authDelegationContext.madison.madisonGaiaId",getPeopleRequestContextAuthDelegationContextMadisonObfuscatedMadisonId:"getPeopleRequest.context.authDelegationContext.madison.obfuscatedMadisonId",getPeopleRequestContextAuthDelegationContextObfuscatedOwnerId:"getPeopleRequest.context.authDelegationContext.obfuscatedOwnerId",getPeopleRequestContextAuthDelegationContextUnicornObfuscatedOwnerId:"getPeopleRequest.context.authDelegationContext.unicorn.obfuscatedOwnerId",
getPeopleRequestContextClientType:"getPeopleRequest.context.clientType",getPeopleRequestContextClientVersionClientAgent:"getPeopleRequest.context.clientVersion.clientAgent",getPeopleRequestContextClientVersionClientType:"getPeopleRequest.context.clientVersion.clientType",getPeopleRequestContextClientVersionClientVersion:"getPeopleRequest.context.clientVersion.clientVersion",getPeopleRequestContextClientVersionGmsCoreContextAppManagementContext:"getPeopleRequest.context.clientVersion.gmsCoreContext.appManagementContext",
getPeopleRequestContextClientVersionGmsCoreContextIsFirstParty:"getPeopleRequest.context.clientVersion.gmsCoreContext.isFirstParty",getPeopleRequestContextClientVersionGmsCoreContextPackageName:"getPeopleRequest.context.clientVersion.gmsCoreContext.packageName",getPeopleRequestContextClientVersionGmsCoreContextPackageSignature:"getPeopleRequest.context.clientVersion.gmsCoreContext.packageSignature",getPeopleRequestContextConsistencyContextDirectoryVersionToken:"getPeopleRequest.context.consistencyContext.directoryVersionToken",
getPeopleRequestContextConsistencyOptionsConsistentReadOverrideType:"getPeopleRequest.context.consistencyOptions.consistentReadOverrideType",getPeopleRequestContextConsistencyOptionsLevel:"getPeopleRequest.context.consistencyOptions.level",getPeopleRequestContextConsistencyOptionsLevelOptionsBoundedConsistencyMaxAllowedStaleness:"getPeopleRequest.context.consistencyOptions.levelOptions.boundedConsistency.maxAllowedStaleness",getPeopleRequestContextConsistencyOptionsLevelOptionsExactTimestamp:"getPeopleRequest.context.consistencyOptions.levelOptions.exactTimestamp",
getPeopleRequestContextConsistencyOptionsLevelOptionsStaleConsistencyConsistencyRequirement:"getPeopleRequest.context.consistencyOptions.levelOptions.staleConsistency.consistencyRequirement",getPeopleRequestContextMigrationOptionsUseClusterBased:"getPeopleRequest.context.migrationOptions.useClusterBased",getPeopleRequestContextMigrationOptionsUseLegacyRequestMaskBehavior:"getPeopleRequest.context.migrationOptions.useLegacyRequestMaskBehavior",getPeopleRequestContextMigrationOptionsUseNewRequestMaskBehavior:"getPeopleRequest.context.migrationOptions.useNewRequestMaskBehavior",
getPeopleRequestContextRequestGroupLoggingId:"getPeopleRequest.context.requestGroupLoggingId",getPeopleRequestContextRightOfPublicityContext:"getPeopleRequest.context.rightOfPublicityContext",getPeopleRequestCoreIdParamsCheckIdentityAcl:"getPeopleRequest.coreIdParams.checkIdentityAcl",getPeopleRequestCoreIdParamsEnablePrivateAccountEmails:"getPeopleRequest.coreIdParams.enablePrivateAccountEmails",getPeopleRequestCoreIdParamsEnablePrivateNames:"getPeopleRequest.coreIdParams.enablePrivateNames",getPeopleRequestCoreIdParamsEnforceEdsConditionEnforceEdsType:"getPeopleRequest.coreIdParams.enforceEdsCondition.enforceEdsType",
getPeopleRequestCoreIdParamsIdentityAclOptionsContextConfigName:"getPeopleRequest.coreIdParams.identityAclOptions.context.configName",getPeopleRequestCoreIdParamsIdentityAclOptionsContextObjectId:"getPeopleRequest.coreIdParams.identityAclOptions.context.objectId",getPeopleRequestCoreIdParamsIdentityAclOptionsContextObjectPart:"getPeopleRequest.coreIdParams.identityAclOptions.context.objectPart",getPeopleRequestCoreIdParamsIdentityAclOptionsGroupServiceContextGroupName:"getPeopleRequest.coreIdParams.identityAclOptions.groupServiceContext.groupName",
getPeopleRequestCoreIdParamsIdentityAclOptionsGroupServiceContextGroupNames:"getPeopleRequest.coreIdParams.identityAclOptions.groupServiceContext.groupNames",getPeopleRequestCoreIdParamsIdentityAclOptionsGroupServiceContextOwnerGaiaId:"getPeopleRequest.coreIdParams.identityAclOptions.groupServiceContext.ownerGaiaId",getPeopleRequestCoreIdParamsIdentityAclOptionsGroupServiceContextZookie:"getPeopleRequest.coreIdParams.identityAclOptions.groupServiceContext.zookie",getPeopleRequestCoreIdParamsIdentityAclOptionsMode:"getPeopleRequest.coreIdParams.identityAclOptions.mode",
getPeopleRequestCoreIdParamsIgnoreAclConditionIgnoreAclConditionType:"getPeopleRequest.coreIdParams.ignoreAclCondition.ignoreAclConditionType",getPeopleRequestCoreIdParamsUseRealtimeNotificationExpandedAcls:"getPeopleRequest.coreIdParams.useRealtimeNotificationExpandedAcls",getPeopleRequestDataFormatsAffinityFormatsScoreFormat:"getPeopleRequest.dataFormats.affinityFormats.scoreFormat",getPeopleRequestDataFormatsProfilePhotoOptionsCorpHeaderPreference:"getPeopleRequest.dataFormats.profilePhotoOptions.corpHeaderPreference",
getPeopleRequestDataFormatsProfilePhotoOptionsPrivateUrlFormat:"getPeopleRequest.dataFormats.profilePhotoOptions.privateUrlFormat",getPeopleRequestDedupeOption:"getPeopleRequest.dedupeOption",getPeopleRequestExtensionSetExtendedRequestDataPeopleBackendExtensionApplication:"getPeopleRequest.extensionSet.extendedRequestData.peopleBackendExtension.application",getPeopleRequestExtensionSetExtensionNames:"getPeopleRequest.extensionSet.extensionNames",getPeopleRequestIncludeFieldAcl:"getPeopleRequest.includeFieldAcl",
getPeopleRequestIncludedProfileStates:"getPeopleRequest.includedProfileStates",getPeopleRequestMergedPersonSourceOptionsCertificateParamsRequestCertificates:"getPeopleRequest.mergedPersonSourceOptions.certificateParams.requestCertificates",getPeopleRequestMergedPersonSourceOptionsDataJoinParamsPhoneStalenessSpec:"getPeopleRequest.mergedPersonSourceOptions.dataJoinParams.phoneStalenessSpec",getPeopleRequestMergedPersonSourceOptionsDataJoinParamsProfileJoinType:"getPeopleRequest.mergedPersonSourceOptions.dataJoinParams.profileJoinType",
getPeopleRequestMergedPersonSourceOptionsDeviceContactFilterDeviceIdentifierClientInstanceId:"getPeopleRequest.mergedPersonSourceOptions.deviceContactFilter.deviceIdentifier.clientInstanceId",getPeopleRequestMergedPersonSourceOptionsDeviceContactFilterFilterType:"getPeopleRequest.mergedPersonSourceOptions.deviceContactFilter.filterType",getPeopleRequestMergedPersonSourceOptionsIncludeAccountLocale:"getPeopleRequest.mergedPersonSourceOptions.includeAccountLocale",getPeopleRequestMergedPersonSourceOptionsIncludeAffinity:"getPeopleRequest.mergedPersonSourceOptions.includeAffinity",
getPeopleRequestMergedPersonSourceOptionsIncludedContactDeletionStates:"getPeopleRequest.mergedPersonSourceOptions.includedContactDeletionStates",getPeopleRequestMergedPersonSourceOptionsIncludedProfileStates:"getPeopleRequest.mergedPersonSourceOptions.includedProfileStates",getPeopleRequestMergedPersonSourceOptionsPersonModelParamsPersonModel:"getPeopleRequest.mergedPersonSourceOptions.personModelParams.personModel",getPeopleRequestMergedPersonSourceOptionsPlaceParamsRequestPhotoTypes:"getPeopleRequest.mergedPersonSourceOptions.placeParams.requestPhotoTypes",
getPeopleRequestMergedPersonSourceOptionsPlaceParamsRequestPlaces:"getPeopleRequest.mergedPersonSourceOptions.placeParams.requestPlaces",getPeopleRequestMergedPersonSourceOptionsReplaceIantWithGiant:"getPeopleRequest.mergedPersonSourceOptions.replaceIantWithGiant",getPeopleRequestPersonId:"getPeopleRequest.personId",getPeopleRequestRequestConfigContextConfigKey:"getPeopleRequest.requestConfigContext.configKey",getPeopleRequestRequestConfigContextVersion:"getPeopleRequest.requestConfigContext.version",
getPeopleRequestRequestMaskCustomRequestMask:"getPeopleRequest.requestMask.customRequestMask",getPeopleRequestRequestMaskImageUrlType:"getPeopleRequest.requestMask.imageUrlType",getPeopleRequestRequestMaskIncludeContainer:"getPeopleRequest.requestMask.includeContainer",getPeopleRequestRequestMaskIncludeField:"getPeopleRequest.requestMask.includeField",getPeopleRequestRequestMaskIncludePeopleInCommon:"getPeopleRequest.requestMask.includePeopleInCommon",getPeopleRequestRequestMaskPersonAttribute:"getPeopleRequest.requestMask.personAttribute",
getPeopleRequestRequestMaskPhotoOptionsPrivateUrlFormat:"getPeopleRequest.requestMask.photoOptions.privateUrlFormat",graphRestricts:"graphRestricts",groupExtensionSetExtensionNames:"groupExtensionSet.extensionNames",groupId:"groupId",id:"id",includeAllAvailableSources:"includeAllAvailableSources",includeAllReachablePeople:"includeAllReachablePeople",includeBlocks:"includeBlocks",includeContent:"includeContent",includeFieldAcl:"includeFieldAcl",includeLinkedPeople:"includeLinkedPeople",includeOthers:"includeOthers",
includedProfileStates:"includedProfileStates",key:"key",listFilterParamsContainer:"listFilterParams.container",listFilterParamsExcludeUnreachablePeople:"listFilterParams.excludeUnreachablePeople",matchType:"matchType",maxContacts:"maxContacts",mergedPersonSourceOptionsCertificateParamsRequestCertificates:"mergedPersonSourceOptions.certificateParams.requestCertificates",mergedPersonSourceOptionsDataJoinParamsPhoneStalenessSpec:"mergedPersonSourceOptions.dataJoinParams.phoneStalenessSpec",mergedPersonSourceOptionsDataJoinParamsProfileJoinType:"mergedPersonSourceOptions.dataJoinParams.profileJoinType",
mergedPersonSourceOptionsDeviceContactFilterDeviceIdentifierClientInstanceId:"mergedPersonSourceOptions.deviceContactFilter.deviceIdentifier.clientInstanceId",mergedPersonSourceOptionsDeviceContactFilterFilterType:"mergedPersonSourceOptions.deviceContactFilter.filterType",mergedPersonSourceOptionsIncludeAccountLocale:"mergedPersonSourceOptions.includeAccountLocale",mergedPersonSourceOptionsIncludeAffinity:"mergedPersonSourceOptions.includeAffinity",mergedPersonSourceOptionsIncludedContactDeletionStates:"mergedPersonSourceOptions.includedContactDeletionStates",
mergedPersonSourceOptionsIncludedProfileStates:"mergedPersonSourceOptions.includedProfileStates",mergedPersonSourceOptionsPersonModelParamsPersonModel:"mergedPersonSourceOptions.personModelParams.personModel",mergedPersonSourceOptionsPlaceParamsRequestPhotoTypes:"mergedPersonSourceOptions.placeParams.requestPhotoTypes",mergedPersonSourceOptionsPlaceParamsRequestPlaces:"mergedPersonSourceOptions.placeParams.requestPlaces",mergedPersonSourceOptionsReplaceIantWithGiant:"mergedPersonSourceOptions.replaceIantWithGiant",
oauth_token:"oauth_token",objectTypesRestricts:"objectTypesRestricts",options:"options",orderBy:"orderBy",pageSize:"pageSize",pageToken:"pageToken",pagingOptionsPageSize:"pagingOptions.pageSize",pagingOptionsPageToken:"pagingOptions.pageToken",peopleType:"peopleType",personAttribute:"personAttribute",personExpansion:"personExpansion",personId:"personId",phoneLookupQuotaOptionsQuotaBypassTokenOptions:"phoneLookupQuotaOptions.quotaBypassTokenOptions",phoneLookupQuotaOptionsQuotaBypassTokens:"phoneLookupQuotaOptions.quotaBypassTokens",
phoneLookupQuotaOptionsQuotaLimitBehavior:"phoneLookupQuotaOptions.quotaLimitBehavior",phones:"phones",photoOptionsMaxHeight:"photoOptions.maxHeight",photoOptionsMaxWidth:"photoOptions.maxWidth",placeParamsRequestPlaces:"placeParams.requestPlaces",postPhotoMutateReadOption:"postPhotoMutateReadOption",prefixQuery:"prefixQuery",prettyPrint:"prettyPrint",profileId:"profileId",profileLookupOptionsEmailLookupOption:"profileLookupOptions.emailLookupOption",profileLookupOptionsExcludeGaiaAccountTypes:"profileLookupOptions.excludeGaiaAccountTypes",
profileLookupOptionsUseTrustedClientPhoneLookupQuota:"profileLookupOptions.useTrustedClientPhoneLookupQuota",query:"query",quotaFilterType:"quotaFilterType",quotaUser:"quotaUser",requestConfigContextConfigKey:"requestConfigContext.configKey",requestConfigContextVersion:"requestConfigContext.version",requestMask:"requestMask",requestMaskCustomRequestMask:"requestMask.customRequestMask",requestMaskImageUrlType:"requestMask.imageUrlType",requestMaskIncludeContainer:"requestMask.includeContainer",requestMaskIncludeField:"requestMask.includeField",
requestMaskIncludePeopleInCommon:"requestMask.includePeopleInCommon",requestMaskPersonAttribute:"requestMask.personAttribute",requestMaskPhotoOptionsPrivateUrlFormat:"requestMask.photoOptions.privateUrlFormat",requestOptionsRequireConsistency:"requestOptions.requireConsistency",requestOptionsTreatRestrictsAsFilter:"requestOptions.treatRestrictsAsFilter",requireCompleteResults:"requireCompleteResults",returnedFieldAcl:"returnedFieldAcl",searchSettingsMinTotalItemsAccuracy:"searchSettings.minTotalItemsAccuracy",
searchSettingsNumToScore:"searchSettings.numToScore",searchSettingsScoringType:"searchSettings.scoringType",skipPostMutateGet:"skipPostMutateGet",sortOptionsSortField:"sortOptions.sortField",sortOptionsSortOrder:"sortOptions.sortOrder",source:"source",sources:"sources",squery:"squery",stFieldSpecExpressionsExpressionNames:"stFieldSpecExpressions.expressionNames",stFieldSpecExpressionsExpressions:"stFieldSpecExpressions.expressions",startIndex:"startIndex",stquery:"stquery",syncParametersFullSyncOption:"syncParameters.fullSyncOption",
syncParametersSyncToken:"syncParameters.syncToken",syncToken:"syncToken",type:"type",uploadType:"uploadType",upload_protocol:"upload_protocol",useBytes:"useBytes"},kK=function(a,b,c){this.gapiVersion=a;this.gapiVersion=a==null?"v2":a;this.$apiClient=new Xbc(b,c)};kK.prototype.list=function(a,b){a=a===void 0?{}:a;b=b===void 0?{}:b;return Zbc(this.$apiClient,{body:null,httpMethod:"GET",methodId:"people_pa.people.lookup.list",path:"/"+this.gapiVersion+"/people/lookup",queryParams:CHa(a,ccc,b)})};
kK.\u0275fac=function(a){return new (a||kK)(n(acc,8),n(bcc),n(zbc,8))};kK.\u0275prov=Hc({token:kK,factory:kK.\u0275fac});var lK=function(){};lK.\u0275fac=function(a){return new (a||lK)};lK.\u0275prov=Hc({token:lK,factory:function(a){return kK.\u0275fac(a)},providedIn:jK});var mK=function(a,b,c){this.gapiVersion=a;this.gapiVersion=a==null?"v2":a;this.$apiClient=new Xbc(b,c)};mK.\u0275fac=function(a){return new (a||mK)(n(acc,8),n(bcc),n(zbc,8))};mK.\u0275prov=Hc({token:mK,factory:mK.\u0275fac});
var nK=function(){};nK.\u0275fac=function(a){return new (a||nK)};nK.\u0275prov=Hc({token:nK,factory:function(a){return mK.\u0275fac(a)},providedIn:jK});var PHa=/.*@google.com/,dcc=new md("onedevPeopleServiceConfig"),ecc={},oK=function(){},gcc=function(a,b){return fcc(a,[b]).pipe(y(function(c){return c[0]}))};oK.\u0275fac=function(a){return new (a||oK)};oK.\u0275prov=Hc({token:oK,factory:oK.\u0275fac});
var pK=function(a,b,c){var d=this;this.lookupApiClient=a;this.destroy$=new W.Subject;this.config=ecc;c&&c.pipe(sf(function(e){window.gapi&&e.accessToken&&window.gapi.auth.setToken({access_token:e.accessToken})}),qf(this.destroy$)).subscribe({next:function(e){d.config=e}})};X(pK,oK);
var fcc=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(y(function(c){return THa(b,c)}))};pK.prototype.ngOnDestroy=function(){this.destroy$.next()};pK.\u0275fac=function(a){return new (a||pK)(n(lK),n(nK),n(dcc,8))};pK.\u0275prov=Hc({token:pK,factory:pK.\u0275fac});var qK=function(){};qK.\u0275fac=function(a){return new (a||qK)};qK.\u0275mod=dd({type:qK});qK.\u0275inj=Ic({providers:[pK,{provide:oK,useExisting:pK}],imports:[jK]});var hcc=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};X(hcc,wo);hcc.prototype.getPartialClassMetadata=function(){return{keys:["dayOfWeek","periodEndMinutes","periodStartMinutes"]}};
ea.Object.defineProperties(hcc.prototype,{dayOfWeek:{configurable:!0,enumerable:!0,get:function(){return iK(this,"dayOfWeek")?vo(this,"dayOfWeek"):0},set:function(a){this.Serializable$values.dayOfWeek=a}},periodEndMinutes:{configurable:!0,enumerable:!0,get:function(){return iK(this,"periodEndMinutes")?vo(this,"periodEndMinutes"):0},set:function(a){this.Serializable$values.periodEndMinutes=a}},periodStartMinutes:{configurable:!0,enumerable:!0,get:function(){return iK(this,"periodStartMinutes")?vo(this,
"periodStartMinutes"):0},set:function(a){this.Serializable$values.periodStartMinutes=a}}});var icc=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};X(icc,wo);icc.prototype.getPartialClassMetadata=function(){return{arrays:{userIds:rK},keys:["debugOptions","userIds"],objects:{debugOptions:sK}}};
ea.Object.defineProperties(icc.prototype,{debugOptions:{configurable:!0,enumerable:!0,get:function(){return iK(this,"debugOptions")?vo(this,"debugOptions"):this.debugOptions=new sK},set:function(a){this.Serializable$values.debugOptions=a}},userIds:{configurable:!0,enumerable:!0,get:function(){return iK(this,"userIds")?vo(this,"userIds"):this.userIds=[]},set:function(a){this.Serializable$values.userIds=a}}});
var jcc=function(a){a=a===void 0?{}:a;this.Serializable$values={};this.Serializable$values.results=a.results==null?null:a.results};X(jcc,wo);jcc.prototype.getPartialClassMetadata=function(){return{arrays:{results:kcc},keys:["results"]}};
ea.Object.defineProperties(jcc.prototype,{hasResults:{configurable:!0,enumerable:!0,get:function(){return vo(this,"results")!==null}},results:{configurable:!0,enumerable:!0,get:function(){return iK(this,"results")?vo(this,"results"):this.results=[]},set:function(a){this.Serializable$values.results=a}}});
var tK=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};X(tK,wo);
tK.prototype.getPartialClassMetadata=function(){return{keys:["committedUntil","eventSummary","nextAvailable","occupiedUntil"]}};
ea.Object.defineProperties(tK.prototype,{committedUntil:{configurable:!0,enumerable:!0,get:function(){return iK(this,"committedUntil")?vo(this,"committedUntil"):""},set:function(a){this.Serializable$values.committedUntil=a}},eventSummary:{configurable:!0,enumerable:!0,get:function(){return iK(this,"eventSummary")?vo(this,"eventSummary"):""},set:function(a){this.Serializable$values.eventSummary=a}},nextAvailable:{configurable:!0,enumerable:!0,get:function(){return iK(this,"nextAvailable")?vo(this,
"nextAvailable"):""},set:function(a){this.Serializable$values.nextAvailable=a}},occupiedUntil:{configurable:!0,enumerable:!0,get:function(){return iK(this,"occupiedUntil")?vo(this,"occupiedUntil"):""},set:function(a){this.Serializable$values.occupiedUntil=a}}});
var uK=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};X(uK,wo);uK.prototype.getPartialClassMetadata=function(){return{keys:["geoCoordinates","label","location"],objects:{geoCoordinates:vK}}};
ea.Object.defineProperties(uK.prototype,{geoCoordinates:{configurable:!0,enumerable:!0,get:function(){return iK(this,"geoCoordinates")?vo(this,"geoCoordinates"):this.geoCoordinates=new vK},set:function(a){this.Serializable$values.geoCoordinates=a}},label:{configurable:!0,enumerable:!0,get:function(){return iK(this,"label")?vo(this,"label"):""},set:function(a){this.Serializable$values.label=a}},location:{configurable:!0,enumerable:!0,get:function(){return iK(this,"location")?vo(this,"location"):""},
set:function(a){this.Serializable$values.location=a}}});var wK=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};X(wK,wo);wK.prototype.getPartialClassMetadata=function(){return{keys:["committedUntil","nextAvailable","occupiedUntil"]}};
ea.Object.defineProperties(wK.prototype,{committedUntil:{configurable:!0,enumerable:!0,get:function(){return iK(this,"committedUntil")?vo(this,"committedUntil"):""},set:function(a){this.Serializable$values.committedUntil=a}},nextAvailable:{configurable:!0,enumerable:!0,get:function(){return iK(this,"nextAvailable")?vo(this,"nextAvailable"):""},set:function(a){this.Serializable$values.nextAvailable=a}},occupiedUntil:{configurable:!0,enumerable:!0,get:function(){return iK(this,"occupiedUntil")?vo(this,
"occupiedUntil"):""},set:function(a){this.Serializable$values.occupiedUntil=a}}});var lcc=function(){this.Serializable$values={}};X(lcc,wo);lcc.prototype.getPartialClassMetadata=function(){return{keys:[]}};
var xK=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};X(xK,wo);
xK.prototype.getPartialClassMetadata=function(){return{keys:["committedUntil","eventSummary","inMeetingsUntil","nextAvailable","occupiedUntil"]}};
ea.Object.defineProperties(xK.prototype,{committedUntil:{configurable:!0,enumerable:!0,get:function(){return iK(this,"committedUntil")?vo(this,"committedUntil"):""},set:function(a){this.Serializable$values.committedUntil=a}},eventSummary:{configurable:!0,enumerable:!0,get:function(){return iK(this,"eventSummary")?vo(this,"eventSummary"):""},set:function(a){this.Serializable$values.eventSummary=a}},inMeetingsUntil:{configurable:!0,enumerable:!0,get:function(){return iK(this,"inMeetingsUntil")?vo(this,
"inMeetingsUntil"):""},set:function(a){this.Serializable$values.inMeetingsUntil=a}},nextAvailable:{configurable:!0,enumerable:!0,get:function(){return iK(this,"nextAvailable")?vo(this,"nextAvailable"):""},set:function(a){this.Serializable$values.nextAvailable=a}},occupiedUntil:{configurable:!0,enumerable:!0,get:function(){return iK(this,"occupiedUntil")?vo(this,"occupiedUntil"):""},set:function(a){this.Serializable$values.occupiedUntil=a}}});var mcc=function(){this.Serializable$values={}};X(mcc,wo);
mcc.prototype.getPartialClassMetadata=function(){return{keys:[]}};var vK=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};X(vK,wo);vK.prototype.getPartialClassMetadata=function(){return{keys:["latitude","longitude"]}};
ea.Object.defineProperties(vK.prototype,{latitude:{configurable:!0,enumerable:!0,get:function(){return iK(this,"latitude")?vo(this,"latitude"):0},set:function(a){this.Serializable$values.latitude=a}},longitude:{configurable:!0,enumerable:!0,get:function(){return iK(this,"longitude")?vo(this,"longitude"):0},set:function(a){this.Serializable$values.longitude=a}}});var yK=function(a){a=a===void 0?{}:a;this.Serializable$values={};this.Serializable$values.timeZone=a.timeZone==null?null:a.timeZone};
X(yK,wo);yK.prototype.getPartialClassMetadata=function(){return{keys:["timeZone"]}};ea.Object.defineProperties(yK.prototype,{timeZone:{configurable:!0,enumerable:!0,get:function(){return iK(this,"timeZone")?vo(this,"timeZone"):""},set:function(a){this.Serializable$values.timeZone=a}}});
var zK=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};X(zK,wo);
zK.prototype.getPartialClassMetadata=function(){return{keys:["experimentalBuildingId","experimentalDeskId","experimentalFloorId","label"]}};
ea.Object.defineProperties(zK.prototype,{experimentalBuildingId:{configurable:!0,enumerable:!0,get:function(){return iK(this,"experimentalBuildingId")?vo(this,"experimentalBuildingId"):""},set:function(a){this.Serializable$values.experimentalBuildingId=a}},experimentalDeskId:{configurable:!0,enumerable:!0,get:function(){return iK(this,"experimentalDeskId")?vo(this,"experimentalDeskId"):""},set:function(a){this.Serializable$values.experimentalDeskId=a}},experimentalFloorId:{configurable:!0,enumerable:!0,
get:function(){return iK(this,"experimentalFloorId")?vo(this,"experimentalFloorId"):""},set:function(a){this.Serializable$values.experimentalFloorId=a}},label:{configurable:!0,enumerable:!0,get:function(){return iK(this,"label")?vo(this,"label"):""},set:function(a){this.Serializable$values.label=a}}});
var AK=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};X(AK,wo);AK.prototype.getPartialClassMetadata=function(){return{keys:["comeBackTime","committedUntil","eventSummary"]}};
ea.Object.defineProperties(AK.prototype,{comeBackTime:{configurable:!0,enumerable:!0,get:function(){return iK(this,"comeBackTime")?vo(this,"comeBackTime"):""},set:function(a){this.Serializable$values.comeBackTime=a}},committedUntil:{configurable:!0,enumerable:!0,get:function(){return iK(this,"committedUntil")?vo(this,"committedUntil"):""},set:function(a){this.Serializable$values.committedUntil=a}},eventSummary:{configurable:!0,enumerable:!0,get:function(){return iK(this,"eventSummary")?vo(this,"eventSummary"):
""},set:function(a){this.Serializable$values.eventSummary=a}}});var BK=function(a){a=a===void 0?{}:a;this.Serializable$values={};this.Serializable$values.comeBackTime=a.comeBackTime==null?null:a.comeBackTime};X(BK,wo);BK.prototype.getPartialClassMetadata=function(){return{keys:["comeBackTime"]}};
ea.Object.defineProperties(BK.prototype,{comeBackTime:{configurable:!0,enumerable:!0,get:function(){return iK(this,"comeBackTime")?vo(this,"comeBackTime"):""},set:function(a){this.Serializable$values.comeBackTime=a}}});var CK=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};X(CK,wo);
CK.prototype.getPartialClassMetadata=function(){return{keys:["code","details","message"],objectMaps:{details:{ctor:null,isPropertyArray:!0,isSerializable:!1,isValueArray:!1}}}};
ea.Object.defineProperties(CK.prototype,{code:{configurable:!0,enumerable:!0,get:function(){return iK(this,"code")?vo(this,"code"):0},set:function(a){this.Serializable$values.code=a}},details:{configurable:!0,enumerable:!0,get:function(){return iK(this,"details")?vo(this,"details"):this.details=[]},set:function(a){this.Serializable$values.details=a}},message:{configurable:!0,enumerable:!0,get:function(){return iK(this,"message")?vo(this,"message"):""},set:function(a){this.Serializable$values.message=
a}}});var DK=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};X(DK,wo);DK.prototype.getPartialClassMetadata=function(){return{keys:["endTime","startTime"]}};
ea.Object.defineProperties(DK.prototype,{endTime:{configurable:!0,enumerable:!0,get:function(){return iK(this,"endTime")?vo(this,"endTime"):""},set:function(a){this.Serializable$values.endTime=a}},startTime:{configurable:!0,enumerable:!0,get:function(){return iK(this,"startTime")?vo(this,"startTime"):""},set:function(a){this.Serializable$values.startTime=a}}});
var EK=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};X(EK,wo);EK.prototype.getPartialClassMetadata=function(){return{keys:["computationDuration","overrideCurrentTime"]}};
ea.Object.defineProperties(EK.prototype,{computationDuration:{configurable:!0,enumerable:!0,get:function(){return iK(this,"computationDuration")?vo(this,"computationDuration"):""},set:function(a){this.Serializable$values.computationDuration=a}},overrideCurrentTime:{configurable:!0,enumerable:!0,get:function(){return iK(this,"overrideCurrentTime")?vo(this,"overrideCurrentTime"):""},set:function(a){this.Serializable$values.overrideCurrentTime=a}}});
var FK=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};X(FK,wo);FK.prototype.getPartialClassMetadata=function(){return{keys:["nextCommitmentStatus","nextCommitmentTime"],objects:{nextCommitmentStatus:GK}}};
ea.Object.defineProperties(FK.prototype,{nextCommitmentStatus:{configurable:!0,enumerable:!0,get:function(){return iK(this,"nextCommitmentStatus")?vo(this,"nextCommitmentStatus"):this.nextCommitmentStatus=new GK},set:function(a){this.Serializable$values.nextCommitmentStatus=a}},nextCommitmentTime:{configurable:!0,enumerable:!0,get:function(){return iK(this,"nextCommitmentTime")?vo(this,"nextCommitmentTime"):""},set:function(a){this.Serializable$values.nextCommitmentTime=a}}});
var HK=function(a){a=a===void 0?{}:a;this.Serializable$values={};this.Serializable$values.timeRange=a.timeRange==null?null:a.timeRange};X(HK,wo);HK.prototype.getPartialClassMetadata=function(){return{keys:["timeRange"],objects:{timeRange:DK}}};ea.Object.defineProperties(HK.prototype,{timeRange:{configurable:!0,enumerable:!0,get:function(){return iK(this,"timeRange")?vo(this,"timeRange"):this.timeRange=new DK},set:function(a){this.Serializable$values.timeRange=a}}});
var IK=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};X(IK,wo);IK.prototype.getPartialClassMetadata=function(){return{arrays:{availabilities:ncc},keys:["availabilities","nextPollTime","workingHours"],objects:{workingHours:JK}}};
ea.Object.defineProperties(IK.prototype,{availabilities:{configurable:!0,enumerable:!0,get:function(){return iK(this,"availabilities")?vo(this,"availabilities"):this.availabilities=[]},set:function(a){this.Serializable$values.availabilities=a}},nextPollTime:{configurable:!0,enumerable:!0,get:function(){return iK(this,"nextPollTime")?vo(this,"nextPollTime"):""},set:function(a){this.Serializable$values.nextPollTime=a}},workingHours:{configurable:!0,enumerable:!0,get:function(){return iK(this,"workingHours")?
vo(this,"workingHours"):this.workingHours=new JK},set:function(a){this.Serializable$values.workingHours=a}}});var sK=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};X(sK,wo);sK.prototype.getPartialClassMetadata=function(){return{keys:["forceEnableUserStatusCache","timeSettings"],objects:{timeSettings:EK}}};
ea.Object.defineProperties(sK.prototype,{forceEnableUserStatusCache:{configurable:!0,enumerable:!0,get:function(){return iK(this,"forceEnableUserStatusCache")?vo(this,"forceEnableUserStatusCache"):!1},set:function(a){this.Serializable$values.forceEnableUserStatusCache=a}},timeSettings:{configurable:!0,enumerable:!0,get:function(){return iK(this,"timeSettings")?vo(this,"timeSettings"):this.timeSettings=new EK},set:function(a){this.Serializable$values.timeSettings=a}}});
var kcc=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};X(kcc,wo);kcc.prototype.getPartialClassMetadata=function(){return{keys:["status","userAvailabilities","userId"],objects:{status:CK,userAvailabilities:IK,userId:rK}}};
ea.Object.defineProperties(kcc.prototype,{hasStatus:{configurable:!0,enumerable:!0,get:function(){return vo(this,"status")!==null}},status:{configurable:!0,enumerable:!0,get:function(){return iK(this,"status")?vo(this,"status"):this.status=new CK},set:function(a){this.Serializable$values.status=a}},hasUserAvailabilities:{configurable:!0,enumerable:!0,get:function(){return vo(this,"userAvailabilities")!==null}},userAvailabilities:{configurable:!0,enumerable:!0,get:function(){return iK(this,"userAvailabilities")?
vo(this,"userAvailabilities"):this.userAvailabilities=new IK},set:function(a){this.Serializable$values.userAvailabilities=a}},hasUserId:{configurable:!0,enumerable:!0,get:function(){return vo(this,"userId")!==null}},userId:{configurable:!0,enumerable:!0,get:function(){return iK(this,"userId")?vo(this,"userId"):this.userId=new rK},set:function(a){this.Serializable$values.userId=a}}});
var ncc=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};X(ncc,wo);ncc.prototype.getPartialClassMetadata=function(){return{keys:["contexts","status","timeRange"],objects:{contexts:KK,status:GK,timeRange:DK}}};
ea.Object.defineProperties(ncc.prototype,{hasContexts:{configurable:!0,enumerable:!0,get:function(){return vo(this,"contexts")!==null}},contexts:{configurable:!0,enumerable:!0,get:function(){return iK(this,"contexts")?vo(this,"contexts"):this.contexts=new KK},set:function(a){this.Serializable$values.contexts=a}},hasStatus:{configurable:!0,enumerable:!0,get:function(){return vo(this,"status")!==null}},status:{configurable:!0,enumerable:!0,get:function(){return iK(this,"status")?vo(this,"status"):this.status=
new GK},set:function(a){this.Serializable$values.status=a}},timeRange:{configurable:!0,enumerable:!0,get:function(){return iK(this,"timeRange")?vo(this,"timeRange"):this.timeRange=new DK},set:function(a){this.Serializable$values.timeRange=a}}});
var KK=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};X(KK,wo);
KK.prototype.getPartialClassMetadata=function(){return{keys:["localTime","upcomingCommitmentContext","upcomingOoo","workingElsewhere"],objects:{localTime:yK,upcomingCommitmentContext:FK,upcomingOoo:HK,workingElsewhere:LK}}};
ea.Object.defineProperties(KK.prototype,{hasLocalTime:{configurable:!0,enumerable:!0,get:function(){return vo(this,"localTime")!==null}},localTime:{configurable:!0,enumerable:!0,get:function(){return iK(this,"localTime")?vo(this,"localTime"):this.localTime=new yK},set:function(a){this.Serializable$values.localTime=a}},upcomingCommitmentContext:{configurable:!0,enumerable:!0,get:function(){return iK(this,"upcomingCommitmentContext")?vo(this,"upcomingCommitmentContext"):this.upcomingCommitmentContext=
new FK},set:function(a){this.Serializable$values.upcomingCommitmentContext=a}},upcomingOoo:{configurable:!0,enumerable:!0,get:function(){return iK(this,"upcomingOoo")?vo(this,"upcomingOoo"):this.upcomingOoo=new HK},set:function(a){this.Serializable$values.upcomingOoo=a}},workingElsewhere:{configurable:!0,enumerable:!0,get:function(){return iK(this,"workingElsewhere")?vo(this,"workingElsewhere"):this.workingElsewhere=new LK},set:function(a){this.Serializable$values.workingElsewhere=a}}});
var rK=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};X(rK,wo);rK.prototype.getPartialClassMetadata=function(){return{keys:["email","obfuscatedGaiaId"]}};
ea.Object.defineProperties(rK.prototype,{email:{configurable:!0,enumerable:!0,get:function(){return iK(this,"email")?vo(this,"email"):""},set:function(a){this.Serializable$values.email=a}},obfuscatedGaiaId:{configurable:!0,enumerable:!0,get:function(){return iK(this,"obfuscatedGaiaId")?vo(this,"obfuscatedGaiaId"):""},set:function(a){this.Serializable$values.obfuscatedGaiaId=a}}});
var MK=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};X(MK,wo);MK.prototype.getPartialClassMetadata=function(){return{keys:["customLocation","homeLocation","officeLocation"],objects:{customLocation:uK,homeLocation:lcc,officeLocation:zK}}};
ea.Object.defineProperties(MK.prototype,{customLocation:{configurable:!0,enumerable:!0,get:function(){return iK(this,"customLocation")?vo(this,"customLocation"):this.customLocation=new uK},set:function(a){this.Serializable$values.customLocation=a}},homeLocation:{configurable:!0,enumerable:!0,get:function(){return iK(this,"homeLocation")?vo(this,"homeLocation"):this.homeLocation=new lcc},set:function(a){this.Serializable$values.homeLocation=a}},officeLocation:{configurable:!0,enumerable:!0,get:function(){return iK(this,
"officeLocation")?vo(this,"officeLocation"):this.officeLocation=new zK},set:function(a){this.Serializable$values.officeLocation=a}}});
var GK=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};X(GK,wo);GK.prototype.getPartialClassMetadata=function(){return{keys:"calendarBusy doNotDisturb inMeeting inactive outOfOffice outsideWorkingHours".split(" "),objects:{calendarBusy:tK,doNotDisturb:wK,inMeeting:xK,inactive:mcc,outOfOffice:AK,outsideWorkingHours:BK}}};
ea.Object.defineProperties(GK.prototype,{calendarBusy:{configurable:!0,enumerable:!0,get:function(){return iK(this,"calendarBusy")?vo(this,"calendarBusy"):this.calendarBusy=new tK},set:function(a){this.Serializable$values.calendarBusy=a}},doNotDisturb:{configurable:!0,enumerable:!0,get:function(){return iK(this,"doNotDisturb")?vo(this,"doNotDisturb"):this.doNotDisturb=new wK},set:function(a){this.Serializable$values.doNotDisturb=a}},inMeeting:{configurable:!0,enumerable:!0,get:function(){return iK(this,
"inMeeting")?vo(this,"inMeeting"):this.inMeeting=new xK},set:function(a){this.Serializable$values.inMeeting=a}},inactive:{configurable:!0,enumerable:!0,get:function(){return iK(this,"inactive")?vo(this,"inactive"):this.inactive=new mcc},set:function(a){this.Serializable$values.inactive=a}},hasOutOfOffice:{configurable:!0,enumerable:!0,get:function(){return vo(this,"outOfOffice")!==null}},outOfOffice:{configurable:!0,enumerable:!0,get:function(){return iK(this,"outOfOffice")?vo(this,"outOfOffice"):
this.outOfOffice=new AK},set:function(a){this.Serializable$values.outOfOffice=a}},outsideWorkingHours:{configurable:!0,enumerable:!0,get:function(){return iK(this,"outsideWorkingHours")?vo(this,"outsideWorkingHours"):this.outsideWorkingHours=new BK},set:function(a){this.Serializable$values.outsideWorkingHours=a}}});var LK=function(a){a=a===void 0?{}:a;this.Serializable$values={};this.Serializable$values.location=a.location==null?null:a.location};X(LK,wo);
LK.prototype.getPartialClassMetadata=function(){return{keys:["location"],objects:{location:MK}}};ea.Object.defineProperties(LK.prototype,{location:{configurable:!0,enumerable:!0,get:function(){return iK(this,"location")?vo(this,"location"):this.location=new MK},set:function(a){this.Serializable$values.location=a}}});var JK=function(a){a=a===void 0?{}:a;this.Serializable$values={};this.Serializable$values.availableTime=a.availableTime==null?null:a.availableTime};X(JK,wo);
JK.prototype.getPartialClassMetadata=function(){return{arrays:{availableTime:hcc},keys:["availableTime"]}};ea.Object.defineProperties(JK.prototype,{availableTime:{configurable:!0,enumerable:!0,get:function(){return iK(this,"availableTime")?vo(this,"availableTime"):this.availableTime=[]},set:function(a){this.Serializable$values.availableTime=a}}});var occ=new md("API_VERSION"),pcc=new md("REQUEST_SERVICE"),NK=function(){};NK.\u0275fac=function(a){return new (a||NK)};NK.\u0275mod=dd({type:NK});
NK.\u0275inj=Ic({});var qcc={$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"},OK=function(a,b,c){this.gapiVersion=a;this.gapiVersion=a==null?"v1alpha":a;this.$apiClient=new Xbc(b,c)};OK.\u0275fac=function(a){return new (a||OK)(n(occ,8),n(pcc),n(zbc,8))};OK.\u0275prov=Hc({token:OK,factory:OK.\u0275fac});var PK=function(){};
PK.\u0275fac=function(a){return new (a||PK)};PK.\u0275prov=Hc({token:PK,factory:function(a){return OK.\u0275fac(a)},providedIn:NK});/*

 Copyright 2005, 2007 Bob Ippolito. All Rights Reserved.
 Copyright The Closure Library Authors.
 SPDX-License-Identifier: MIT
*/
var QK=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};Mt(QK,UHa);
QK.prototype.cancel=function(a){if(this.fired_)this.result_ instanceof QK&&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 RK(this),SK(this),TK(this,!1,a))}};QK.prototype.continue_=function(a,b){this.blocked_=!1;TK(this,a,b)};
var TK=function(a,b,c){a.fired_=!0;a.result_=c;a.hadError_=!b;rcc(a)},SK=function(a){if(a.fired_){if(!a.silentlyCanceled_)throw new scc(a);a.silentlyCanceled_=!1}};QK.prototype.callback=function(a){SK(this);TK(this,!0,a)};QK.prototype.addCallback=function(a,b){return tcc(this,a,null,b)};var tcc=function(a,b,c,d){a.sequence_.push([b,c,d]);a.fired_&&rcc(a);return a};
QK.prototype.then=function(a,b,c){var d,e,f=new gA(function(h,k){e=h;d=k});tcc(this,e,function(h){h instanceof RK?f.cancel():d(h);return ucc},this);return f.then(a,b,c)};QK.prototype.$goog_Thenable=!0;QK.prototype.isError=function(a){return a instanceof Error};
var vcc=function(a){return zRb(a.sequence_,function(b){return typeof b[1]==="function"})},ucc={},rcc=function(a){if(a.unhandledErrorId_&&a.fired_&&vcc(a)){var b=a.unhandledErrorId_,c=wcc[b];c&&(Aa.clearTimeout(c.id_),delete wcc[b]);a.unhandledErrorId_=0}a.parent_&&(a.parent_.branches_--,delete a.parent_);b=a.result_;for(var d=c=!1;a.sequence_.length&&!a.blocked_;){var e=a.sequence_.shift(),f=e[0],h=e[1];e=e[2];if(f=a.hadError_?h:f)try{var k=f.call(e||a.defaultScope_,b);k===ucc&&(k=void 0);k!==void 0&&
(a.hadError_=a.hadError_&&(k==b||a.isError(k)),a.result_=b=k);if(N_b(b)||typeof Aa.Promise==="function"&&b instanceof Aa.Promise)d=!0,a.blocked_=!0}catch(q){b=q,a.hadError_=!0,vcc(a)||(c=!0)}}a.result_=b;d&&(k=Kt(a.continue_,a,!0),d=Kt(a.continue_,a,!1),b instanceof QK?(tcc(b,k,d),b.blocking_=!0):b.then(k,d));c&&(b=new xcc(b),wcc[b.id_]=b,a.unhandledErrorId_=b.id_)},scc=function(){za.call(this)};Mt(scc,za);scc.prototype.message="Deferred has already fired";scc.prototype.name="AlreadyCalledError";
var RK=function(){za.call(this)};Mt(RK,za);RK.prototype.message="Deferred was canceled";RK.prototype.name="CanceledError";var xcc=function(a){this.id_=Aa.setTimeout(Kt(this.throwError,this),0);this.error_=a};xcc.prototype.throwError=function(){delete wcc[this.id_];throw this.error_;};var wcc={};var ZHa=function(a,b){var c=b||{};b=c.document||document;var d=Ec(a).toString(),e=(new Tz(b)).createElement("SCRIPT"),f={script_:e,timeout_:void 0},h=new QK(ycc,f),k=null,q=c.timeout!=null?c.timeout:5E3;q>0&&(k=window.setTimeout(function(){zcc(e,!0);var t=new Acc(1,"Timeout reached for loading script "+d);SK(h);TK(h,!1,t)},q),f.timeout_=k);e.onload=e.onreadystatechange=function(){e.readyState&&e.readyState!="loaded"&&e.readyState!="complete"||(zcc(e,c.cleanupWhenDone||!1,k),h.callback(null))};e.onerror=
function(){zcc(e,!0,k);var t=new Acc(0,"Error while loading script "+d);SK(h);TK(h,!1,t)};f=c.attributes||{};fea(f,{type:"text/javascript",charset:"UTF-8"});p_b(e,f);n_b(e,a);Bcc(b).appendChild(e);return h},Bcc=function(a){var b=Wz("HEAD",a);return b&&b.length!==0?b[0]:a.documentElement},ycc=function(){if(this&&this.script_){var a=this.script_;a&&a.tagName=="SCRIPT"&&zcc(a,!0,this.timeout_)}},zcc=function(a,b,c){c!=null&&Aa.clearTimeout(c);a.onload=function(){};a.onerror=function(){};a.onreadystatechange=
function(){};b&&window.setTimeout(function(){bA(a)},0)},Acc=function(a,b){var c="Jsloader error (code #"+a+")";b&&(c+=": "+b);za.call(this,c);this.code=a};Mt(Acc,za);var $Ha=Bt(["https://apis.google.com/js/api.js"]),VHa=null,bIa=new WeakMap;var UK=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=(0,W.defer)(function(){return XHa().then(function(f){f=f||window.gapi;e.setGapiConfig(f);return dIa(f,{apiKey:e.gapiKey,clientId:e.gapiAuthParams.clientId,scope:e.gapiAuthParams.scope}).then(function(){return f})})})};X(UK,$bc);
UK.prototype.makeRequest=function(a){var b=this;return this.gapi.pipe(pe(function(c){var d=(0,W.of)(void 0);b.gapiAuthParams.minAuthTokenTimeRemaining!==void 0&&(d=(0,W.from)(cIa(c,b.gapiAuthParams.minAuthTokenTimeRemaining)));return d.pipe(pe(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}))}))}))};
UK.prototype.parseResponse=function(a){return new W.Observable(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)})})};UK.prototype.setGapiConfig=function(a){for(var b in this.gapiConfigUpdates)this.gapiConfigUpdates.hasOwnProperty(b)&&aIa(a,b,this.gapiConfigUpdates[b])};var Ccc=function(a,b,c,d,e){d=d===void 0?{}:d;e=e===void 0?{}:e;UK.call(this,a,c,d,e);this.waldoApiKey=b};X(Ccc,UK);Ccc.prototype.makeRequest=function(a){var b=UK.prototype.makeRequest,c=b.call;(a.queryParams||(a.queryParams={})).key=this.waldoApiKey;return c.call(b,this,a)};var VK=function(a){var b=this;this.apiStub=a;this.result=new W.Subject;this.destroyed=new W.ReplaySubject(1);this.trigger=new W.Subject;this.batchedTrigger=this.trigger.pipe(Pja(this.trigger.pipe(Xe(200))));this.responseHandler=function(c){if(c.hasResults){c=l(c.results);for(var d=c.next();!d.done;d=c.next()){var e=d.value;d="";e.hasUserId&&e.userId.email&&(d=e.userId.email);if(d)if(e.hasUserAvailabilities){e=e.userAvailabilities.availabilities[0];if(e.hasStatus&&e.status.hasOutOfOffice){var f=e.status.outOfOffice;
if(f.comeBackTime){var h=f=new Date(f.comeBackTime),k=new Date;f=k.getFullYear()===h.getFullYear()&&k.getMonth()===h.getMonth()&&k.getDate()===h.getDate()?"at "+f.toLocaleString("en-Us",{hour:"numeric",minute:"2-digit",hour12:!0}):"on "+(f.getFullYear()!==(new Date).getFullYear()?f.toLocaleString("en-Us",{weekday:"short",month:"short",day:"numeric",year:"numeric"}):f.toLocaleString("en-Us",{weekday:"short",month:"short",day:"numeric"}));f=" - back "+f}else f="";f="Out of Office"+f}else f="";b.result.next({emailAddress:d,
availability:f,timezone:e.hasContexts&&e.contexts.hasLocalTime?e.contexts.localTime.timeZone:""})}else b.result.next({emailAddress:d,availability:"",timezone:""})}}};this.batchedTrigger.pipe(qf(this.destroyed)).subscribe(function(c){c=[].concat(r(new Set(c)));Dcc(b,c.slice(0,100));c=l(c.slice(100));for(var d=c.next();!d.done;d=c.next())b.trigger.next(d.value)})},Dcc=function(a,b){var c,d;fe(function(e){for(var f=new icc,h=[],k=l(b),q=k.next();!q.done;q=k.next()){q=q.value;var t=new rK;t.email=q;h.push(t)}f.userIds=
h;c=f;f=a.apiStub;var w=w===void 0?{}:w;var B=B===void 0?{}:B;d=Zbc(f.$apiClient,{body:c,httpMethod:"POST",methodId:"waldo_service_api_from_stubby_sandbox.useravailabilities.batchget",path:"/"+f.gapiVersion+"/useravailabilities:batchget",queryParams:CHa(w,qcc,B),responseCtor:jcc});d.pipe(qf(a.destroyed)).subscribe(a.responseHandler);le(e)})},Ecc=function(a,b){if(!b)return(0,W.of)({emailAddress:b,availability:"",timezone:""});a.trigger.next(b);return a.result.pipe(te(function(c){return c.emailAddress===
b}))},Fcc=function(a,b){return Ecc(a,b).pipe(y(function(c){return c.availability}))};VK.prototype.ngOnDestroy=function(){this.destroyed.next()};VK.\u0275fac=function(a){return new (a||VK)(n(PK))};VK.\u0275prov=Hc({token:VK,factory:VK.\u0275fac});var WK=function(a){var b=this;this.waldoAvailabilityService=a;this.user="";this.userSubject=new W.ReplaySubject(1);this.availability=this.userSubject.pipe(pf(function(c){return Fcc(b.waldoAvailabilityService,c)}))};WK.prototype.ngOnChanges=function(){this.userSubject.next(this.user)};WK.\u0275fac=function(a){return new (a||WK)(A(VK))};
WK.\u0275cmp=p({type:WK,selectors:[["waldo-availability-chip"]],inputs:{user:"user"},features:[td],decls:2,vars:3,consts:[["class","chip__container",4,"ngIf"],[1,"chip__container"],["preserveAspectRatio","xMidYMid meet","width","100%","height","100%","version","1.1","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink","viewBox","0 0 24 24","aria-hidden","true",1,"chip__icon"],["d","M9.31 17l2.44-2.44L14.19 17l1.06-1.06-2.44-2.44 2.44-2.44L14.19 10l-2.44 2.44L9.31 10l-1.06 1.06 2.44 2.44-2.44 2.44L9.31 17zM19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11z"],
["aria-hidden","true",1,"chip__text"]],template:function(a,b){a&1&&(C(0,eIa,6,3,"div",0),T(1,"async"));a&2&&D("ngIf",V(1,1,b.availability))},dependencies:[Gv,Lv],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 Gcc=function(a){this.proxiedService=a};X(Gcc,$bc);Gcc.prototype.makeRequest=function(a){var b=this;return(0,W.defer)(function(){return b.proxiedService.makeRequest(a)})};var Hcc=new md("environment"),Icc={"client/cors":!0,"googleapis.config/auth/useFirstPartyAuth":!0,"googleapis.config/auth/useFirstPartyAuthV2":!0},XK=function(){};XK.\u0275fac=function(a){return new (a||XK)};XK.\u0275mod=dd({type:XK});XK.\u0275inj=Ic({imports:[Tv,NK]});var Jcc=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"),Kcc=/^(https?:)?\/\/sp[1-4]\.((ggpht)|(googleusercontent))\.com\//i,Lcc=/^(https?:)?\/\/(qa(-red|-blue)?|dev2?|image-dev)(-|\.)lighthouse(-auth)?\.sandbox\.google\.com\//i,Mcc=/^(https?:)?\/\/lighthouse-(qa(-red|-blue)?|dev2)\.corp\.google\.com\//i,Ncc=function(a){return Jcc.test(a)||Kcc.test(a)||Lcc.test(a)||Mcc.test(a)};var Occ=function(a){this.internalArray_=m(a)};X(Occ,Y);g=Occ.prototype;g.getSize=function(){return bu(this,1)};g.setSize=function(a){return ql(this,1,a)};g.getWidth=function(){return bu(this,12)};g.setWidth=function(a){return ql(this,12,a)};g.getHeight=function(){return bu(this,13)};g.setHeight=function(a){return ql(this,13,a)};g.setStretch=function(a){return pl(this,33,a)};g.setCrop=function(a){return pl(this,2,a)};g.setCircleCrop=function(a){return pl(this,51,a)};
g.setImageCrop=function(a){return pl(this,32,a)};g.setSmartCrop=function(a){return pl(this,19,a)};g.setSmartCropNoClip=function(a){return pl(this,52,a)};g.setSmartCropUseFace=function(a){return pl(this,67,a)};g.setDetectFaces=function(a){pl(this,80,a)};g.setCenterCrop=function(a){return pl(this,20,a)};g.setPad=function(a){return pl(this,60,a)};g.setDownload=function(a){pl(this,3,a)};g.setHtml=function(a){pl(this,4,a)};g.setObjectId=function(a){oo(this,7,a==null?a:Pca(a))};
g.setLooseFaceCrop=function(a){return pl(this,65,a)};g.setFaceCropVersion=function(a){ql(this,94,a)};g.setFrameId=function(a){oo(this,29,a==null?a:Pca(a))};g.setTileX=function(a){ql(this,9,a)};g.setTileY=function(a){ql(this,10,a)};g.setTileZoom=function(a){ql(this,11,a)};g.setTileGeneration=function(a){pl(this,14,a)};g.setForceTileGeneration=function(a){pl(this,34,a)};g.setTilePyramidAsProto=function(a){pl(this,72,a)};g.setExpirationTime=function(a){ql(this,15,a)};
g.setExpirationTimeInMinutes=function(a){ql(this,107,a)};g.setImageFilter=function(a){return rj(this,16,a)};g.setKillAnimation=function(a){return pl(this,17,a)};g.setUnfiltered=function(a){pl(this,18,a)};g.setUnfilteredWithTransforms=function(a){pl(this,45,a)};g.setIncludeMetadata=function(a){pl(this,22,a)};g.setIncludePublicMetadata=function(a){pl(this,54,a)};g.setStripGoogleData=function(a){pl(this,82,a)};g.setPreserveGoogleData=function(a){pl(this,83,a)};
g.setStripMetadata=function(a){pl(this,93,a)};g.setStripGeoinfo=function(a){pl(this,95,a)};g.setEsPortraitApprovedOnly=function(a){return pl(this,21,a)};g.setBypassTakedown=function(a){pl(this,23,a)};g.getToken=function(){return sj(this,24)};g.setToken=function(a){return rj(this,24,a)};g.setVersionedToken=function(a){rj(this,36,a)};g.setSkipRefererCheck=function(a){pl(this,6,a)};g.setRotate=function(a){return ql(this,26,a)};g.setHorizontalFlip=function(a){pl(this,30,a)};
g.setVerticalFlip=function(a){pl(this,31,a)};g.getOverlay=function(){return Xs(this,27)};g.setOverlay=function(a){return pl(this,27,a)};g.setQueryString=function(a){rj(this,28,a)};g.setRequestJpeg=function(a){return pl(this,57,a)};g.setRequestPng=function(a){return pl(this,58,a)};g.setRequestGif=function(a){pl(this,59,a)};g.setRequestAvif=function(a){pl(this,103,a)};g.setRequestWebp=function(a){return pl(this,35,a)};g.setRequestWebpUnlessMaybeTransparent=function(a){pl(this,41,a)};
g.setRequestAnimatedWebp=function(a){pl(this,64,a)};g.setNoWebp=function(a){pl(this,48,a)};g.setRequestH264=function(a){return pl(this,49,a)};g.setLossy=function(a){pl(this,97,a)};g.setNoOverlay=function(a){return pl(this,37,a)};g.setBorderSize=function(a){ql(this,38,a)};g.setBorderRadius=function(a){ql(this,86,a)};g.setBorderColor=function(a){ql(this,39,a)};g.getBackgroundColor=function(){return bu(this,87)};g.setBackgroundColor=function(a){ql(this,87,a)};g.setPadColor=function(a){ql(this,88,a)};
g.setSubstitutionColor=function(a){ql(this,89,a)};g.setNoSilhouette=function(a){pl(this,40,a)};g.setFocusBlur=function(a){ql(this,42,a)};g.setFocalPlane=function(a){ql(this,43,a)};g.setQualityLevel=function(a){return ql(this,44,a)};g.setQualityBucket=function(a){return ql(this,62,a)};g.setNoUpscale=function(a){pl(this,46,a)};g.setPreserveAspectRatio=function(a){pl(this,61,a)};g.setForceTransformation=function(a){pl(this,50,a)};g.setNoDefaultImage=function(a){pl(this,53,a)};
g.setNoCorrectExifOrientation=function(a){pl(this,55,a)};g.setSelectFrameNumber=function(a){ql(this,56,a)};g.setVideoFormat=function(a){ql(this,63,a)};g.setVideoMultiFormat=function(a){rj(this,81,a)};g.setVideoManifest=function(a){pl(this,98,a)};g.setDownloadVideo=function(a){pl(this,90,a)};g.setVideoBegin=function(a){yl(this,68,a)};g.setVideoLength=function(a){yl(this,69,a)};g.setMatchVersion=function(a){pl(this,66,a)};g.setImageDigest=function(a){pl(this,70,a)};
g.setInternalClient=function(a){ql(this,71,a)};g.setMonogram=function(a){pl(this,73,a)};g.setForceMonogram=function(a){return pl(this,84,a)};g.setMonogramDogfood=function(a){pl(this,91,a)};g.setIgnoreLowResProfilePhoto=function(a){pl(this,96,a)};g.setAutoloop=function(a){pl(this,74,a)};g.getImageVersion=function(){return $t(this,75)};g.setImageVersion=function(a){yl(this,75,a)};g.setPitchDegrees=function(a){oo(this,76,Bb(a))};g.setYawDegrees=function(a){oo(this,77,Bb(a))};
g.setRollDegrees=function(a){oo(this,78,Bb(a))};g.setFovDegrees=function(a){oo(this,79,Bb(a))};g.setBadge=function(a){ql(this,85,a)};g.setColorProfile=function(a){ql(this,92,a)};g.setDeepCrop=function(a){rj(this,99,a)};g.setRequestVideoFast=function(a){pl(this,100,a)};g.setVideoFormatFilters=function(a){rj(this,102,a)};g.setDummyCacheKeyModifier=function(a){pl(this,104,a)};g.setGainMap=function(a){pl(this,105,a)};g.setNoGainMap=function(a){pl(this,106,a)};
g.setForceCookieRedirect=function(a){pl(this,108,a)};var YK=function(a){this.value_=void 0;this.childNodes_={};a&&this.setAll(a)};YK.prototype.set=function(a,b){Pcc(this,a,b,!1)};YK.prototype.add=function(a,b){Pcc(this,a,b,!0)};var Pcc=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 YK);a=a.childNodes_[f]}if(d&&a.value_!==void 0)throw Error("nd`"+b);a.value_=c};YK.prototype.setAll=function(a){var b=Bbc(a);a=WJ(a);for(var c=0;c<b.length;c++)this.set(b[c],a[c])};
var Qcc=function(a,b){for(var c=0;c<b.length;c++)if(a=a.childNodes_[b.charAt(c)],!a)return;return a};YK.prototype.get=function(a){return(a=Qcc(this,a))?a.value_:void 0};YK.prototype.getValues=function(){var a=[];Rcc(this,a);return a};var Rcc=function(a,b){a.value_!==void 0&&b.push(a.value_);for(var c in a.childNodes_)Rcc(a.childNodes_[c],b)};
YK.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]}Scc(c,a,b)}else Scc(this,"",b);return b};var Scc=function(a,b,c){a.value_!==void 0&&c.push(b);for(var d in a.childNodes_)Scc(a.childNodes_[d],b+d,c)};g=YK.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(e=c.pop(),b=e[0],e=e[1],b.childNodes_[e].isEmpty())delete b.childNodes_[e];else break;return a};
g.clone=function(){return new YK(this)};g.getCount=function(){return Abc(this.getValues())};g.isEmpty=function(){return this.value_===void 0&&sc(this.childNodes_)};var Vcc=function(){if(!Tcc){var a=Tcc=new YK,b;for(b in Ucc)a.add(b,Ucc[b])}},Tcc,ZK=function(a,b){this.types=a;this.setters=b},Ucc={a:new ZK([3,0],[function(a,b){a.setEsPortraitApprovedOnly(b)},function(a,b){a.setSelectFrameNumber(b)}]),al:new ZK([3],[function(a,b){a.setAutoloop(b)}]),b:new ZK([3,0],[function(a,b){a.setBypassTakedown(b)},function(a,b){a.setBorderSize(b)}]),ba:new ZK([0],[function(a,b){a.setBadge(b)}]),bc:new ZK([0],[function(a,b){a.setBackgroundColor(b)}]),br:new ZK([0],[function(a,
b){a.setBorderRadius(b)}]),c:new ZK([3,0],[function(a,b){a.setCrop(b)},function(a,b){a.setBorderColor(b)}]),cc:new ZK([3],[function(a,b){a.setCircleCrop(b)}]),ci:new ZK([3],[function(a,b){a.setImageCrop(b)}]),ckm:new ZK([3],[function(a,b){a.setDummyCacheKeyModifier(b)}]),cp:new ZK([0],[function(a,b){a.setColorProfile(b)}]),cr:new ZK([3],[function(a,b){a.setForceCookieRedirect(b)}]),cv:new ZK([0],[function(a,b){a.setFaceCropVersion(b)}]),d:new ZK([3],[function(a,b){a.setDownload(b)}]),dc:new ZK([5],
[function(a,b){a.setDeepCrop(b)}]),df:new ZK([3],[function(a,b){a.setDetectFaces(b)}]),dv:new ZK([3],[function(a,b){a.setDownloadVideo(b)}]),e:new ZK([0],[function(a,b){a.setExpirationTime(b)}]),em:new ZK([0],[function(a,b){a.setExpirationTimeInMinutes(b)}]),f:new ZK([4],[function(a,b){a.setImageFilter(b)}]),fg:new ZK([3],[function(a,b){a.setForceTileGeneration(b)}]),fh:new ZK([3],[function(a,b){a.setHorizontalFlip(b)}]),fm:new ZK([3],[function(a,b){a.setForceMonogram(b)}]),fo:new ZK([2],[function(a,
b){a.setFovDegrees(b)}]),ft:new ZK([3],[function(a,b){a.setForceTransformation(b)}]),fv:new ZK([3],[function(a,b){a.setVerticalFlip(b)}]),g:new ZK([3],[function(a,b){a.setTileGeneration(b)}]),gd:new ZK([3],[function(a,b){a.setPreserveGoogleData(b)}]),gm:new ZK([3],[function(a,b){a.setGainMap(b)}]),h:new ZK([3,0],[function(a,b){a.setHtml(b)},function(a,b){a.setHeight(b)}]),i:new ZK([3],[function(a,b){a.setIncludeMetadata(b)}]),ic:new ZK([0],[function(a,b){a.setInternalClient(b)}]),id:new ZK([3],[function(a,
b){a.setImageDigest(b)}]),il:new ZK([3],[function(a,b){a.setIgnoreLowResProfilePhoto(b)}]),ip:new ZK([3],[function(a,b){a.setIncludePublicMetadata(b)}]),iv:new ZK([0],[function(a,b){a.setImageVersion(b)}]),j:new ZK([1],[function(a,b){a.setFrameId(b)}]),k:new ZK([3,0],[function(a,b){a.setKillAnimation(b)},function(a,b){a.setFocusBlur(b)}]),l:new ZK([0],[function(a,b){a.setQualityLevel(b)}]),lf:new ZK([3],[function(a,b){a.setLooseFaceCrop(b)}]),lo:new ZK([3],[function(a,b){a.setLossy(b)}]),m:new ZK([0],
[function(a,b){a.setVideoFormat(b)}]),md:new ZK([3],[function(a,b){a.setMonogramDogfood(b)}]),mm:new ZK([4],[function(a,b){a.setVideoMultiFormat(b)}]),mo:new ZK([3],[function(a,b){a.setMonogram(b)}]),mv:new ZK([3],[function(a,b){a.setMatchVersion(b)}]),n:new ZK([3],[function(a,b){a.setCenterCrop(b)}]),nc:new ZK([3],[function(a,b){a.setNoCorrectExifOrientation(b)}]),nd:new ZK([3],[function(a,b){a.setNoDefaultImage(b)}]),ng:new ZK([3],[function(a,b){a.setStripGeoinfo(b)}]),ngm:new ZK([3],[function(a,
b){a.setNoGainMap(b)}]),no:new ZK([3],[function(a,b){a.setNoOverlay(b)}]),ns:new ZK([3],[function(a,b){a.setNoSilhouette(b)}]),nt0:new ZK([4],[function(a,b){a.setVersionedToken(b)}]),nu:new ZK([3],[function(a,b){a.setNoUpscale(b)}]),nw:new ZK([3],[function(a,b){a.setNoWebp(b)}]),o:new ZK([1,3],[function(a,b){a.setObjectId(b)},function(a,b){a.setOverlay(b)}]),p:new ZK([3,0],[function(a,b){a.setSmartCrop(b)},function(a,b){a.setFocalPlane(b)}]),pa:new ZK([3],[function(a,b){a.setPreserveAspectRatio(b)}]),
pc:new ZK([0],[function(a,b){a.setPadColor(b)}]),pd:new ZK([3],[function(a,b){a.setPad(b)}]),pf:new ZK([3],[function(a,b){a.setSmartCropUseFace(b)}]),pg:new ZK([3],[function(a,b){a.setTilePyramidAsProto(b)}]),pi:new ZK([2],[function(a,b){a.setPitchDegrees(b)}]),pp:new ZK([3],[function(a,b){a.setSmartCropNoClip(b)}]),q:new ZK([4],[function(a,b){a.setQueryString(b)}]),r:new ZK([3,0],[function(a,b){a.setSkipRefererCheck(b)},function(a,b){a.setRotate(b)}]),ra:new ZK([3],[function(a,b){a.setRequestAvif(b)}]),
rf:new ZK([3],[function(a,b){a.setRequestVideoFast(b)}]),rg:new ZK([3],[function(a,b){a.setRequestGif(b)}]),rh:new ZK([3],[function(a,b){a.setRequestH264(b)}]),rj:new ZK([3],[function(a,b){a.setRequestJpeg(b)}]),ro:new ZK([2],[function(a,b){a.setRollDegrees(b)}]),rp:new ZK([3],[function(a,b){a.setRequestPng(b)}]),rw:new ZK([3],[function(a,b){a.setRequestWebp(b)}]),rwa:new ZK([3],[function(a,b){a.setRequestAnimatedWebp(b)}]),rwu:new ZK([3],[function(a,b){a.setRequestWebpUnlessMaybeTransparent(b)}]),
s:new ZK([3,0],[function(a,b){a.setStretch(b)},function(a,b){a.setSize(b)}]),sc:new ZK([0],[function(a,b){a.setSubstitutionColor(b)}]),sg:new ZK([3],[function(a,b){a.setStripGoogleData(b)}]),sm:new ZK([3],[function(a,b){a.setStripMetadata(b)}]),t:new ZK([4],[function(a,b){a.setToken(b)}]),u:new ZK([3],[function(a,b){a.setUnfiltered(b)}]),ut:new ZK([3],[function(a,b){a.setUnfilteredWithTransforms(b)}]),v:new ZK([0],[function(a,b){a.setQualityBucket(b)}]),vb:new ZK([0],[function(a,b){a.setVideoBegin(b)}]),
vf:new ZK([4],[function(a,b){a.setVideoFormatFilters(b)}]),vl:new ZK([0],[function(a,b){a.setVideoLength(b)}]),vm:new ZK([3],[function(a,b){a.setVideoManifest(b)}]),w:new ZK([0],[function(a,b){a.setWidth(b)}]),x:new ZK([0],[function(a,b){a.setTileX(b)}]),y:new ZK([0],[function(a,b){a.setTileY(b)}]),ya:new ZK([2],[function(a,b){a.setYawDegrees(b)}]),z:new ZK([0],[function(a,b){a.setTileZoom(b)}])};
Vcc.prototype.parse=function(a){var b=new Occ,c=new Occ;if(a=="")a=!0;else{a=a.split("-");for(var d=!0,e=0;e<a.length;e++){var f=a[e];if(f.length==0)d=!1;else{var h=f,k=!1;var q=h;var t=h.charAt(0);t!=t.toLowerCase()&&(k=!0,q=h.charAt(0).toLowerCase()+h.substring(1));var w=Tcc;for(t=1;t<=q.length;++t){var B=w,E=q.substring(0,t);if(E.length==0?B.isEmpty():!Qcc(B,E))break}q=t==1?null:(q=w.get(q.substring(0,t-1)))?{option:h.substring(0,t-1),value:h.substring(t-1),signed:k,attributes:q}:null;if(q){h=
[];k=[];t=!1;for(w=0;w<q.attributes.types.length;w++){B=q.attributes.types[w];var I=q.value;E=e;if(q.signed&&B==1)for(var J=I.length;J<12&&E<a.length-1;)I+="-"+a[E+1],J=I.length,++E;else if(B==2)for(;E<a.length-1&&a[E+1].match(/^[\d\.]/);)I+="-"+a[E+1],++E;J=q.attributes.setters[w];I=Wcc(this,B)(q.option,I,b,c,J);if(I===null){t=!0;e=E;break}else h.push(B),k.push(I)}if(!t)for(q=0;q<k.length;q++)w=h[q],I=k[q],Xcc(this,w)(f,I);d=d&&t}else d=!1}}a=d}return new Ycc(b,c,a)};
var $K=function(a,b,c,d,e,f){e(c,b);a=a.charAt(0);f=f(a==a.toUpperCase());e(d,f)};g=Vcc.prototype;g.parseAndSetIntOption_=function(a,b,c,d,e){if(b=="")return 0;b=vi(b);if(isNaN(b))return 1;$K(a,b,c,d,e,Number);return null};g.logIntParseError_=function(){};g.parseAndSetFloatOption_=function(a,b,c,d,e){if(b=="")return 0;b=bk(b);if(isNaN(b))return 1;$K(a,b,c,d,e,Number);return null};g.logFloatParseError_=function(){};
g.parseAndSetBoolOption_=function(a,b,c,d,e){if(b!="")return 2;$K(a,!0,c,d,e,Boolean);return null};g.logBoolParseError_=function(){};g.parseAndSetStringOption_=function(a,b,c,d,e){if(b=="")return 0;$K(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;$K(a,b,c,d,e,function(f){return f?1:0});return null};
var Wcc=function(a,b){switch(b){case 0:return Kt(a.parseAndSetIntOption_,a);case 2:return Kt(a.parseAndSetFloatOption_,a);case 3:return Kt(a.parseAndSetBoolOption_,a);case 4:return Kt(a.parseAndSetStringOption_,a);case 1:return Kt(a.parseAndSetUint64Base64Option_,a);default:return function(){}}},Xcc=function(a,b){switch(b){case 0:return Kt(a.logIntParseError_,a);case 2:return Kt(a.logFloatParseError_,a);case 3:return Kt(a.logBoolParseError_,a);case 4:case 1:return Kt(a.logStringParseError_,a);default:return function(){}}},
Ycc=function(a,b,c){this.valueProto_=a;this.signatureFlagProto_=b;this.valid_=c};Ycc.prototype.isValid=function(){return this.valid_};var Zcc=function(a,b){a!=null&&this.append.apply(this,arguments)};g=Zcc.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 aL=function(a){this.parser_=null;this.components_=[];this.parsedOptions_=null;$cc(this,a)};aL.prototype.getParsedOptions=function(){return this.parsedOptions_};var adc=function(a){a.parser_==null&&(a.parser_=new Vcc);return a.parser_},$cc=function(a,b){a.parsedOptions_=b?typeof b==="string"?adc(a).parse(b):b:adc(a).parse("")},bL=function(a,b){return a==b?!1:!0};g=aL.prototype;
g.setEsPortraitApprovedOnly=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;bL(a,Xs(c,21),Xs(b.signatureFlagProto_,21))&&c.setEsPortraitApprovedOnly(a);return this};g.setSelectFrameNumber=function(a){var b=this.parsedOptions_,c=b.valueProto_;bL(a,bu(c,56),bu(b.signatureFlagProto_,56))&&c.setSelectFrameNumber(a)};g.setAutoloop=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;bL(a,Xs(c,74),Xs(b.signatureFlagProto_,74))&&c.setAutoloop(a)};
g.setBypassTakedown=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;bL(a,Hj(c,23,!1),Hj(b.signatureFlagProto_,23,!1))&&c.setBypassTakedown(a)};g.setBorderSize=function(a){var b=this.parsedOptions_,c=b.valueProto_;bL(a,bu(c,38),bu(b.signatureFlagProto_,38))&&c.setBorderSize(a)};g.setBadge=function(a){var b=this.parsedOptions_,c=b.valueProto_;bL(a,bu(c,85),bu(b.signatureFlagProto_,85))&&c.setBadge(a)};
g.setBackgroundColor=function(a){var b=this.parsedOptions_,c=b.valueProto_;bL(a,c.getBackgroundColor(),b.signatureFlagProto_.getBackgroundColor())&&c.setBackgroundColor(a)};g.setBorderRadius=function(a){var b=this.parsedOptions_,c=b.valueProto_;bL(a,bu(c,86),bu(b.signatureFlagProto_,86))&&c.setBorderRadius(a)};g.setCrop=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;bL(a,Hj(c,2,!1),Hj(b.signatureFlagProto_,2,!1))&&c.setCrop(a);return this};
g.setBorderColor=function(a){var b=this.parsedOptions_,c=b.valueProto_;bL(a,bu(c,39),bu(b.signatureFlagProto_,39))&&c.setBorderColor(a)};g.setCircleCrop=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;bL(a,Xs(c,51),Xs(b.signatureFlagProto_,51))&&c.setCircleCrop(a);return this};g.setImageCrop=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;bL(a,Xs(c,32),Xs(b.signatureFlagProto_,32))&&c.setImageCrop(a);return this};
g.setDummyCacheKeyModifier=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;bL(a,Xs(c,104),Xs(b.signatureFlagProto_,104))&&c.setDummyCacheKeyModifier(a)};g.setColorProfile=function(a){var b=this.parsedOptions_,c=b.valueProto_;bL(a,bu(c,92),bu(b.signatureFlagProto_,92))&&c.setColorProfile(a)};g.setForceCookieRedirect=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;bL(a,Xs(c,108),Xs(b.signatureFlagProto_,108))&&c.setForceCookieRedirect(a)};
g.setFaceCropVersion=function(a){var b=this.parsedOptions_,c=b.valueProto_;bL(a,bu(c,94),bu(b.signatureFlagProto_,94))&&c.setFaceCropVersion(a)};g.setDownload=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;bL(a,Hj(c,3,!1),Hj(b.signatureFlagProto_,3,!1))&&c.setDownload(a)};g.setDeepCrop=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;bL(a,sj(c,99),sj(b.signatureFlagProto_,99))&&c.setDeepCrop(a)};
g.setDetectFaces=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;bL(a,Xs(c,80),Xs(b.signatureFlagProto_,80))&&c.setDetectFaces(a)};g.setDownloadVideo=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;bL(a,Xs(c,90),Xs(b.signatureFlagProto_,90))&&c.setDownloadVideo(a)};g.setExpirationTime=function(a){var b=this.parsedOptions_,c=b.valueProto_;bL(a,bu(c,15),bu(b.signatureFlagProto_,15))&&c.setExpirationTime(a)};
g.setExpirationTimeInMinutes=function(a){var b=this.parsedOptions_,c=b.valueProto_;bL(a,bu(c,107),bu(b.signatureFlagProto_,107))&&c.setExpirationTimeInMinutes(a)};g.setImageFilter=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;bL(a,sj(c,16),sj(b.signatureFlagProto_,16))&&c.setImageFilter(a);return this};g.setForceTileGeneration=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;bL(a,Hj(c,34,!1),Hj(b.signatureFlagProto_,34,!1))&&c.setForceTileGeneration(a)};
g.setHorizontalFlip=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;bL(a,Xs(c,30),Xs(b.signatureFlagProto_,30))&&c.setHorizontalFlip(a)};g.setForceMonogram=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;bL(a,Xs(c,84),Xs(b.signatureFlagProto_,84))&&c.setForceMonogram(a);return this};g.setFovDegrees=function(a){var b=this.parsedOptions_,c=b.valueProto_;bL(a,Pq(c,79),Pq(b.signatureFlagProto_,79))&&c.setFovDegrees(a)};
g.setForceTransformation=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;bL(a,Xs(c,50),Xs(b.signatureFlagProto_,50))&&c.setForceTransformation(a)};g.setVerticalFlip=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;bL(a,Xs(c,31),Xs(b.signatureFlagProto_,31))&&c.setVerticalFlip(a)};g.setTileGeneration=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;bL(a,Hj(c,14,!1),Hj(b.signatureFlagProto_,14,!1))&&c.setTileGeneration(a)};
g.setPreserveGoogleData=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;bL(a,Xs(c,83),Xs(b.signatureFlagProto_,83))&&c.setPreserveGoogleData(a)};g.setGainMap=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;bL(a,Xs(c,105),Xs(b.signatureFlagProto_,105))&&c.setGainMap(a)};g.setHtml=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;bL(a,Hj(c,4,!1),Hj(b.signatureFlagProto_,4,!1))&&c.setHtml(a)};
g.setHeight=function(a){var b=this.parsedOptions_,c=b.valueProto_;bL(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_;bL(a,Xs(c,22),Xs(b.signatureFlagProto_,22))&&c.setIncludeMetadata(a)};g.setInternalClient=function(a){var b=this.parsedOptions_,c=b.valueProto_;bL(a,bu(c,71),bu(b.signatureFlagProto_,71))&&c.setInternalClient(a)};
g.setImageDigest=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;bL(a,Xs(c,70),Xs(b.signatureFlagProto_,70))&&c.setImageDigest(a)};g.setIgnoreLowResProfilePhoto=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;bL(a,Xs(c,96),Xs(b.signatureFlagProto_,96))&&c.setIgnoreLowResProfilePhoto(a)};g.setIncludePublicMetadata=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;bL(a,Xs(c,54),Xs(b.signatureFlagProto_,54))&&c.setIncludePublicMetadata(a)};
g.setImageVersion=function(a){var b=this.parsedOptions_,c=b.valueProto_;bL(a,$t(c,75),$t(b.signatureFlagProto_,75))&&c.setImageVersion(a)};g.setFrameId=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;bL(a,au(c,29),au(b.signatureFlagProto_,29))&&c.setFrameId(a)};g.setKillAnimation=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;bL(a,Xs(c,17),Xs(b.signatureFlagProto_,17))&&c.setKillAnimation(a);return this};
g.setFocusBlur=function(a){var b=this.parsedOptions_,c=b.valueProto_;bL(a,bu(c,42),bu(b.signatureFlagProto_,42))&&c.setFocusBlur(a)};g.setQualityLevel=function(a){var b=this.parsedOptions_,c=b.valueProto_;bL(a,bu(c,44),bu(b.signatureFlagProto_,44))&&c.setQualityLevel(a);return this};g.setLooseFaceCrop=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;bL(a,Xs(c,65),Xs(b.signatureFlagProto_,65))&&c.setLooseFaceCrop(a);return this};
g.setLossy=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;bL(a,Xs(c,97),Xs(b.signatureFlagProto_,97))&&c.setLossy(a)};g.setVideoFormat=function(a){var b=this.parsedOptions_,c=b.valueProto_;bL(a,bu(c,63),bu(b.signatureFlagProto_,63))&&c.setVideoFormat(a)};g.setMonogramDogfood=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;bL(a,Xs(c,91),Xs(b.signatureFlagProto_,91))&&c.setMonogramDogfood(a)};
g.setVideoMultiFormat=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;bL(a,sj(c,81),sj(b.signatureFlagProto_,81))&&c.setVideoMultiFormat(a)};g.setMonogram=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;bL(a,Xs(c,73),Xs(b.signatureFlagProto_,73))&&c.setMonogram(a)};g.setMatchVersion=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;bL(a,Xs(c,66),Xs(b.signatureFlagProto_,66))&&c.setMatchVersion(a)};
g.setCenterCrop=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;bL(a,Hj(c,20,!1),Hj(b.signatureFlagProto_,20,!1))&&c.setCenterCrop(a);return this};g.setNoCorrectExifOrientation=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;bL(a,Xs(c,55),Xs(b.signatureFlagProto_,55))&&c.setNoCorrectExifOrientation(a)};g.setNoDefaultImage=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;bL(a,Xs(c,53),Xs(b.signatureFlagProto_,53))&&c.setNoDefaultImage(a)};
g.setStripGeoinfo=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;bL(a,Xs(c,95),Xs(b.signatureFlagProto_,95))&&c.setStripGeoinfo(a)};g.setNoGainMap=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;bL(a,Xs(c,106),Xs(b.signatureFlagProto_,106))&&c.setNoGainMap(a)};g.setNoOverlay=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;bL(a,Hj(c,37,!1),Hj(b.signatureFlagProto_,37,!1))&&c.setNoOverlay(a);return this};
g.setNoSilhouette=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;bL(a,Xs(c,40),Xs(b.signatureFlagProto_,40))&&c.setNoSilhouette(a)};g.setVersionedToken=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;bL(a,sj(c,36),sj(b.signatureFlagProto_,36))&&c.setVersionedToken(a)};g.setNoUpscale=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;bL(a,Xs(c,46),Xs(b.signatureFlagProto_,46))&&c.setNoUpscale(a)};
g.setNoWebp=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;bL(a,Hj(c,48,!1),Hj(b.signatureFlagProto_,48,!1))&&c.setNoWebp(a)};g.setObjectId=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;bL(a,au(c,7),au(b.signatureFlagProto_,7))&&c.setObjectId(a)};g.setOverlay=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;bL(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_;bL(a,Hj(c,19,!1),Hj(b.signatureFlagProto_,19,!1))&&c.setSmartCrop(a);return this};g.setFocalPlane=function(a){var b=this.parsedOptions_,c=b.valueProto_;bL(a,bu(c,43),bu(b.signatureFlagProto_,43))&&c.setFocalPlane(a)};g.setPreserveAspectRatio=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;bL(a,Xs(c,61),Xs(b.signatureFlagProto_,61))&&c.setPreserveAspectRatio(a)};
g.setPadColor=function(a){var b=this.parsedOptions_,c=b.valueProto_;bL(a,bu(c,88),bu(b.signatureFlagProto_,88))&&c.setPadColor(a)};g.setPad=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;bL(a,Xs(c,60),Xs(b.signatureFlagProto_,60))&&c.setPad(a);return this};g.setSmartCropUseFace=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;bL(a,Hj(c,67,!1),Hj(b.signatureFlagProto_,67,!1))&&c.setSmartCropUseFace(a);return this};
g.setTilePyramidAsProto=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;bL(a,Hj(c,72,!1),Hj(b.signatureFlagProto_,72,!1))&&c.setTilePyramidAsProto(a)};g.setPitchDegrees=function(a){var b=this.parsedOptions_,c=b.valueProto_;bL(a,Pq(c,76),Pq(b.signatureFlagProto_,76))&&c.setPitchDegrees(a)};g.setSmartCropNoClip=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;bL(a,Hj(c,52,!1),Hj(b.signatureFlagProto_,52,!1))&&c.setSmartCropNoClip(a);return this};
g.setQueryString=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;bL(a,sj(c,28),sj(b.signatureFlagProto_,28))&&c.setQueryString(a)};g.setSkipRefererCheck=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;bL(a,Hj(c,6,!1),Hj(b.signatureFlagProto_,6,!1))&&c.setSkipRefererCheck(a)};g.setRotate=function(a){var b=this.parsedOptions_,c=b.valueProto_;bL(a,bu(c,26),bu(b.signatureFlagProto_,26))&&c.setRotate(a);return this};
g.setRequestAvif=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;bL(a,Hj(c,103,!1),Hj(b.signatureFlagProto_,103,!1))&&c.setRequestAvif(a)};g.setRequestVideoFast=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;bL(a,Xs(c,100),Xs(b.signatureFlagProto_,100))&&c.setRequestVideoFast(a)};g.setRequestGif=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;bL(a,Xs(c,59),Xs(b.signatureFlagProto_,59))&&c.setRequestGif(a)};
g.setRequestH264=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;bL(a,Hj(c,49,!1),Hj(b.signatureFlagProto_,49,!1))&&c.setRequestH264(a);return this};g.setRequestJpeg=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;bL(a,Xs(c,57),Xs(b.signatureFlagProto_,57))&&c.setRequestJpeg(a);return this};g.setRollDegrees=function(a){var b=this.parsedOptions_,c=b.valueProto_;bL(a,Pq(c,78),Pq(b.signatureFlagProto_,78))&&c.setRollDegrees(a)};
g.setRequestPng=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;bL(a,Xs(c,58),Xs(b.signatureFlagProto_,58))&&c.setRequestPng(a);return this};g.setRequestWebp=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;bL(a,Hj(c,35,!1),Hj(b.signatureFlagProto_,35,!1))&&c.setRequestWebp(a);return this};g.setRequestAnimatedWebp=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;bL(a,Hj(c,64,!1),Hj(b.signatureFlagProto_,64,!1))&&c.setRequestAnimatedWebp(a)};
g.setRequestWebpUnlessMaybeTransparent=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;bL(a,Hj(c,41,!1),Hj(b.signatureFlagProto_,41,!1))&&c.setRequestWebpUnlessMaybeTransparent(a)};g.setStretch=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;bL(a,Xs(c,33),Xs(b.signatureFlagProto_,33))&&c.setStretch(a);return this};g.setSize=function(a){var b=this.parsedOptions_,c=b.valueProto_;bL(a,c.getSize(),b.signatureFlagProto_.getSize())&&c.setSize(a);return this};
g.setSubstitutionColor=function(a){var b=this.parsedOptions_,c=b.valueProto_;bL(a,bu(c,89),bu(b.signatureFlagProto_,89))&&c.setSubstitutionColor(a)};g.setStripGoogleData=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;bL(a,Xs(c,82),Xs(b.signatureFlagProto_,82))&&c.setStripGoogleData(a)};g.setStripMetadata=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;bL(a,Xs(c,93),Xs(b.signatureFlagProto_,93))&&c.setStripMetadata(a)};
g.setToken=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;bL(a,c.getToken(),b.signatureFlagProto_.getToken())&&c.setToken(a);return this};g.setUnfiltered=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;bL(a,Xs(c,18),Xs(b.signatureFlagProto_,18))&&c.setUnfiltered(a)};g.setUnfilteredWithTransforms=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;bL(a,Xs(c,45),Xs(b.signatureFlagProto_,45))&&c.setUnfilteredWithTransforms(a)};
g.setQualityBucket=function(a){var b=this.parsedOptions_,c=b.valueProto_;bL(a,bu(c,62),bu(b.signatureFlagProto_,62))&&c.setQualityBucket(a);return this};g.setVideoBegin=function(a){var b=this.parsedOptions_,c=b.valueProto_;bL(a,$t(c,68),$t(b.signatureFlagProto_,68))&&c.setVideoBegin(a)};g.setVideoFormatFilters=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;bL(a,sj(c,102),sj(b.signatureFlagProto_,102))&&c.setVideoFormatFilters(a)};
g.setVideoLength=function(a){var b=this.parsedOptions_,c=b.valueProto_;bL(a,$t(c,69),$t(b.signatureFlagProto_,69))&&c.setVideoLength(a)};g.setVideoManifest=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;bL(a,Xs(c,98),Xs(b.signatureFlagProto_,98))&&c.setVideoManifest(a)};g.setWidth=function(a){var b=this.parsedOptions_,c=b.valueProto_;bL(a,c.getWidth(),b.signatureFlagProto_.getWidth())&&c.setWidth(a);return this};
g.setTileX=function(a){var b=this.parsedOptions_,c=b.valueProto_;bL(a,bu(c,9),bu(b.signatureFlagProto_,9))&&c.setTileX(a)};g.setTileY=function(a){var b=this.parsedOptions_,c=b.valueProto_;bL(a,bu(c,10),bu(b.signatureFlagProto_,10))&&c.setTileY(a)};g.setYawDegrees=function(a){var b=this.parsedOptions_,c=b.valueProto_;bL(a,Pq(c,77),Pq(b.signatureFlagProto_,77))&&c.setYawDegrees(a)};g.setTileZoom=function(a){var b=this.parsedOptions_,c=b.valueProto_;bL(a,bu(c,11),bu(b.signatureFlagProto_,11))&&c.setTileZoom(a)};
g.setOptions=function(a){$cc(this,a)};
g.build=function(){this.components_.length=0;var a=this.parsedOptions_,b=a.valueProto_;a=a.signatureFlagProto_;cL(this,"s",b.getSize(),a.getSize());cL(this,"w",b.getWidth(),a.getWidth());dL(this,"c",Hj(b,2,!1),Hj(a,2,!1));dL(this,"d",Hj(b,3,!1),Hj(a,3,!1));cL(this,"h",b.getHeight(),a.getHeight());dL(this,"s",Xs(b,33),Xs(a,33));dL(this,"h",Hj(b,4,!1),Hj(a,4,!1));dL(this,"p",Hj(b,19,!1),Hj(a,19,!1));dL(this,"pp",Hj(b,52,!1),Hj(a,52,!1));dL(this,"pf",Hj(b,67,!1),Hj(a,67,!1));dL(this,"n",Hj(b,20,!1),
Hj(a,20,!1));cL(this,"r",bu(b,26),bu(a,26));dL(this,"r",Hj(b,6,!1),Hj(a,6,!1));dL(this,"o",b.getOverlay(),a.getOverlay());var c=au(b,7);eL(this,"o",c,au(a,7));c=au(b,29);eL(this,"j",c,au(a,29));cL(this,"x",bu(b,9),bu(a,9));cL(this,"y",bu(b,10),bu(a,10));cL(this,"z",bu(b,11),bu(a,11));dL(this,"g",Hj(b,14,!1),Hj(a,14,!1));cL(this,"e",bu(b,15),bu(a,15));eL(this,"f",sj(b,16),sj(a,16));dL(this,"k",Xs(b,17),Xs(a,17));dL(this,"u",Xs(b,18),!0);dL(this,"ut",Xs(b,45),!0);dL(this,"i",Xs(b,22),!0);dL(this,"a",
Xs(b,21),Xs(a,21));dL(this,"b",Hj(b,23,!1),Hj(a,23,!1));cL(this,"b",bu(b,38),bu(a,38));cL(this,"c",bu(b,39),bu(a,39),16,8);eL(this,"q",sj(b,28),sj(a,28));dL(this,"fh",Xs(b,30),Xs(a,30));dL(this,"fv",Xs(b,31),Xs(a,31));dL(this,"fg",Hj(b,34,!1),Hj(a,34,!1));dL(this,"ci",Xs(b,32),Xs(a,32));eL(this,"t",b.getToken(),a.getToken());eL(this,"nt0",sj(b,36),sj(a,36));dL(this,"rw",Hj(b,35,!1),Hj(a,35,!1));dL(this,"rwu",Hj(b,41,!1),Hj(a,41,!1));dL(this,"rwa",Hj(b,64,!1),Hj(a,64,!1));dL(this,"nw",Hj(b,48,!1),
Hj(a,48,!1));dL(this,"rh",Hj(b,49,!1),Hj(a,49,!1));dL(this,"no",Hj(b,37,!1),Hj(a,37,!1));dL(this,"ns",Xs(b,40),Xs(a,40));cL(this,"k",bu(b,42),bu(a,42));cL(this,"p",bu(b,43),bu(a,43));cL(this,"l",bu(b,44),bu(a,44));cL(this,"v",bu(b,62),bu(a,62));dL(this,"nu",Xs(b,46),Xs(a,46));dL(this,"ft",Xs(b,50),Xs(a,50));dL(this,"cc",Xs(b,51),Xs(a,51));dL(this,"nd",Xs(b,53),Xs(a,53));dL(this,"ip",Xs(b,54),Xs(a,54));dL(this,"nc",Xs(b,55),Xs(a,55));cL(this,"a",bu(b,56),bu(a,56));dL(this,"rj",Xs(b,57),Xs(a,57));dL(this,
"rp",Xs(b,58),Xs(a,58));dL(this,"rg",Xs(b,59),Xs(a,59));dL(this,"pd",Xs(b,60),Xs(a,60));dL(this,"pa",Xs(b,61),Xs(a,61));cL(this,"m",bu(b,63),bu(a,63));cL(this,"vb",$t(b,68),$t(a,68));cL(this,"vl",$t(b,69),$t(a,69));dL(this,"lf",Xs(b,65),Xs(a,65));dL(this,"mv",Xs(b,66),Xs(a,66));dL(this,"id",Xs(b,70),Xs(a,70));cL(this,"ic",bu(b,71),!0);dL(this,"pg",Hj(b,72,!1),Hj(a,72,!1));dL(this,"mo",Xs(b,73),Xs(a,73));dL(this,"al",Xs(b,74),Xs(a,74));cL(this,"iv",$t(b,75),$t(a,75));cL(this,"pi",Pq(b,76),Pq(a,76));
cL(this,"ya",Pq(b,77),Pq(a,77));cL(this,"ro",Pq(b,78),Pq(a,78));cL(this,"fo",Pq(b,79),Pq(a,79));dL(this,"df",Xs(b,80),Xs(a,80));eL(this,"mm",sj(b,81),sj(a,81));dL(this,"sg",Xs(b,82),Xs(a,82));dL(this,"gd",Xs(b,83),Xs(a,83));dL(this,"fm",Xs(b,84),Xs(a,84));cL(this,"ba",bu(b,85),bu(a,85));cL(this,"br",bu(b,86),bu(a,86));cL(this,"bc",b.getBackgroundColor(),a.getBackgroundColor(),16,8);cL(this,"pc",bu(b,88),bu(a,88),16,8);cL(this,"sc",bu(b,89),bu(a,89),16,8);dL(this,"dv",Xs(b,90),Xs(a,90));dL(this,"md",
Xs(b,91),Xs(a,91));cL(this,"cp",bu(b,92),bu(a,92));dL(this,"sm",Xs(b,93),Xs(a,93));cL(this,"cv",bu(b,94),bu(a,94));dL(this,"ng",Xs(b,95),Xs(a,95));dL(this,"il",Xs(b,96),Xs(a,96));dL(this,"lo",Xs(b,97),Xs(a,97));dL(this,"vm",Xs(b,98),Xs(a,98));eL(this,"dc",sj(b,99),sj(a,99));dL(this,"rf",Xs(b,100),Xs(a,100));eL(this,"vf",sj(b,102),sj(a,102));dL(this,"ra",Hj(b,103,!1),Hj(a,103,!1));dL(this,"ckm",Xs(b,104),Xs(a,104));dL(this,"gm",Xs(b,105),Xs(a,105));dL(this,"ngm",Xs(b,106),Xs(a,106));cL(this,"em",bu(b,
107),bu(a,107));dL(this,"cr",Xs(b,108),Xs(a,108));return this.components_.join("-")};var cL=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 Zcc;e.append(h==16?"0x":"");h=e.append;f==void 0?f="":(f-=c.length,f=f<=0?"":NSb("0",f));h.call(e,f);e.append(c);bdc(a,b,e.toString(),!!d)}},dL=function(a,b,c,d){c&&bdc(a,b,"",!!d)},eL=function(a,b,c,d){c&&bdc(a,b,c,!!d)},bdc=function(a,b,c,d){d&&(b=b.charAt(0).toUpperCase()+b.substring(1));a.components_.push(b+c)};var fL=function(a){aL.call(this,a)};Mt(fL,aL);g=fL.prototype;g.setCrop=function(a){a&&gL(this);return fL.superClass_.setCrop.call(this,a)};g.setHeight=function(a){a=a==null||a<0?void 0:a;a!=null&&this.setSize();return fL.superClass_.setHeight.call(this,a)};g.setStretch=function(a){a&&gL(this);return fL.superClass_.setStretch.call(this,a)};g.setQualityLevel=function(a){return fL.superClass_.setQualityLevel.call(this,a)};
g.setImageFilter=function(a){a&&(a=a.replace(";",":"));return fL.superClass_.setImageFilter.call(this,a)};g.setImageCrop=function(a){a&&gL(this);return fL.superClass_.setImageCrop.call(this,a)};g.setCircleCrop=function(a){a&&gL(this);return fL.superClass_.setCircleCrop.call(this,a)};g.setSize=function(a){$a(a)&&(a=Math.max(a.width,a.height));a=a==null||a<0?void 0:a;a!=null&&(this.setWidth(),this.setHeight());return fL.superClass_.setSize.call(this,a)};
g.setSmartCrop=function(a){a&&gL(this);return fL.superClass_.setSmartCrop.call(this,a)};g.setSmartCropNoClip=function(a){a&&gL(this);return fL.superClass_.setSmartCropNoClip.call(this,a)};g.setSmartCropUseFace=function(a){a&&gL(this);return fL.superClass_.setSmartCropUseFace.call(this,a)};g.setCenterCrop=function(a){a&&gL(this);return fL.superClass_.setCenterCrop.call(this,a)};g.setPad=function(a){a&&gL(this);return fL.superClass_.setPad.call(this,a)};
g.setWidth=function(a){a=a==null||a<0?void 0:a;a!=null&&this.setSize();return fL.superClass_.setWidth.call(this,a)};var gL=function(a){a.setCenterCrop();a.setCircleCrop();a.setCrop();a.setImageCrop();a.setPad();a.setSmartCrop();a.setSmartCropNoClip();a.setSmartCropUseFace()};
fL.prototype.build=function(){var a=this.getParsedOptions().valueProto_;Xs(a,18)||Xs(a,45)?a.getSize()||this.setSize(0):(a=this.getParsedOptions().valueProto_,a.getSize()||a.getWidth()||a.getHeight()||(this.setSize(),this.setHeight(),this.setWidth(),gL(this)));return fL.superClass_.build.call(this)};var cdc=/^[^\/]*\/\//,hL=function(a,b){b=b===void 0?!1:b;this.original_=a;this.originalPrefix_="";(a=this.original_.match(cdc))&&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_=fK(a,!0);this.isFreeformUrl_=b;this.valid_=!0;this.obfuscated_=!1},ddc=function(a,b){a.pathPrefix_=a.pathPrefix_?a.pathPrefix_+("/"+b):b},iL=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"&&(ddc(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)ddc(a,
a.components_[0]);else if(a.components_[0]=="image")ddc(a,a.components_[0]);else if(b==7||b==3)return a.valid_=!1,a.components_;if(b<=3){a.obfuscated_=!0;b==3&&(ddc(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_};hL.prototype.isValid=function(){iL(this);return this.valid_};var edc=function(a){iL(a);return a.obfuscated_},fdc=function(a){iL(a);return a.isFreeformUrl_};
hL.prototype.getDomain=function(){var a=this.uri_.getPort();return this.uri_.getDomain()+(a?":"+a:"")};hL.prototype.getQuery=function(){return this.uri_.queryData_.toString()};var jL=function(a){iL(a);a.pathPrefix_==void 0&&(a.pathPrefix_=null);return a.pathPrefix_};hL.prototype.hasOptions=function(){switch(iL(this).length){case 7:return!0;case 6:return jL(this)==null;case 5:return!1;case 3:return!0;case 2:return jL(this)==null;case 1:return!1;default:return!1}};
var kL=function(a,b){if(fdc(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=iL(a)[b]}else if(edc(a))a:{var c=jL(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=iL(a)[b]}else a:{c=jL(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=iL(a)[b]}return a};g=hL.prototype;g.getObfuscatedGaiaId=function(){this.obfuscatedGaiaId_==void 0&&(this.obfuscatedGaiaId_=kL(this,0));return this.obfuscatedGaiaId_};g.getPhotoId=function(){this.photoId_==void 0&&(this.photoId_=kL(this,1));return this.photoId_};g.getImageVersion=function(){this.imageVersion_==void 0&&(this.imageVersion_=kL(this,2));return this.imageVersion_};g.getOptions=function(){this.options_==void 0&&(this.options_=kL(this,4));return this.options_};
g.getFilename=function(){this.filename_==void 0&&(this.filename_=kL(this,5));return this.filename_};var gdc=function(){};gdc.prototype.parse=function(a,b){return new hdc(a,b===void 0?!1:b)};var hdc=function(a,b){hL.call(this,a,b===void 0?!1:b)};X(hdc,hL);hdc.prototype.getParsedOptions=function(){if(this.parsedOptions_==void 0){var a=this.getOptions();a||(a="");this.parsedOptions_=(new Vcc).parse(a)}return this.parsedOptions_};var lL=function(a,b){b=b===void 0?!1:b;this.parsedImageUrl_=null;a instanceof hdc||(idc==void 0&&(idc=new gdc),a=idc.parse(a.toString(),b));this.parsedImageUrl_=a;a=this.parsedImageUrl_.getParsedOptions();aL.call(this,a);this.protocolPrefix_=this.parsedImageUrl_.originalPrefix_;this.domain_=this.parsedImageUrl_.getDomain();this.query_=this.parsedImageUrl_.getQuery()},idc;Mt(lL,fL);lL.prototype.isValid=function(){return this.parsedImageUrl_.isValid()};
lL.prototype.build=function(){if(!this.parsedImageUrl_.isValid())return this.parsedImageUrl_.original_;var a=lL.superClass_.build.call(this),b=[];jL(this.parsedImageUrl_)!=null&&b.push(jL(this.parsedImageUrl_));var c=fdc(this.parsedImageUrl_);if(edc(this.parsedImageUrl_)){var d=this.parsedImageUrl_;d.obfuscatedData_==void 0&&(d.obfuscatedData_=kL(d,6));b.push(d.obfuscatedData_+(a?"="+a:""))}else if(c){d=b.push;var e=this.parsedImageUrl_;e.freeformUrlPath_===void 0&&(e.freeformUrlPath_=kL(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_=kL(e,3)),d.call(b,e.signature_),a&&b.push(a),b.push(this.parsedImageUrl_.getFilename());a=fK(this.protocolPrefix_+this.domain_+"/"+(c?b.join("="):b.join("/"))+(this.query_?"?"+this.query_:"")).toString();a.startsWith("%3a//")&&(a=a.replace("%3a//","://"));
return a};var jdc=/\/\/lh[3-6]\./,kdc=function(a,b,c,d){if(!a||!Ncc(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(jdc,"//lh3.");return(new lL(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 ldc=[[["onedev-hovercard-action"]],[["","onedev-additional-content",""]]],mL=function(a,b){var c=this;this.peopleService=a;this.waldoService=b;this.enableWaldo=!1;this.providedEmail$=new W.ReplaySubject(1);this.person$=this.providedEmail$.pipe(pf(function(d){return gcc(c.peopleService,d)}),y(function(d){if(d){var e=Object,f=e.assign;if(d.imageUrl){var h=d.imageUrl;if(Ncc(h)){var k=new lL(h);k.setSize(48);h=k.build()||h}}else h=d.imageUrl;d=f.call(e,{},d,{imageUrl:h})}return d}),mf(1));this.outOfOfficeDescription$=
new W.ReplaySubject;this.init=new W.ReplaySubject(1);this.destroyed$=new W.ReplaySubject(1)};mL.prototype.ngOnInit=function(){var a=this;this.person$.pipe(ef(),qf(this.destroyed$)).subscribe(function(){a.init.next()});this.enableWaldo&&mdc(this)};var mdc=function(a){a.waldoService&&a.person$.pipe(pf(function(b){return b?Fcc(a.waldoService,b.email):(0,W.of)("")}),qf(a.destroyed$)).subscribe(function(b){a.outOfOfficeDescription$.next(b)})};
ea.Object.defineProperties(mL.prototype,{email:{configurable:!0,enumerable:!0,get:function(){return this.emailInternal},set:function(a){this.emailInternal=a;this.providedEmail$.next(a)}}});mL.\u0275fac=function(a){return new (a||mL)(A(oK),A(VK,8))};
mL.\u0275cmp=p({type:mL,selectors:[["onedev-person-hovercard"]],inputs:{email:"email",enableWaldo:"enableWaldo"},outputs:{init:"init"},standalone:!0,features:[sg],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&&(Xf(ldc),C(0,fIa,4,4,"onedev-person-hovercard-body",0),T(1,"async"));a&2&&D("ngIf",V(1,1,b.person$))},dependencies:[Tv,Gv,Lv,
qK,VJ,XK],encapsulation:2,changeDetection:0});var ndc=[[["onedev-hovercard-action"],["",8,"actions"]]],nL=function(){};nL.prototype.ngOnInit=function(){};nL.\u0275fac=function(a){return new (a||nL)};
nL.\u0275cmp=p({type:nL,selectors:[["b-person-card"]],inputs:{email:"email"},ngContentSelectors:["onedev-hovercard-action, .actions"],decls:1,vars:0,consts:[["cardBody",""],[3,"email","enableWaldo","onedevIsHovercardReady",4,"onedevHovercardLazyBody"],[3,"email","enableWaldo","onedevIsHovercardReady"]],template:function(a){a&1&&(Xf(ndc),C(0,gIa,3,3,"onedev-person-hovercard",1))},dependencies:[mL,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 oL=function(){this.isNonObfuscatedEmail=Km};oL.\u0275fac=function(a){return new (a||oL)};
oL.\u0275cmp=p({type:oL,selectors:[["b-person-hovercard"]],inputs:{email:"email"},ngContentSelectors:["*"],decls:3,vars:2,consts:[["content",""],["card",""],[4,"ngIf","ngIfElse"],["role","button","tabindex","0",1,"keep-focus-ring",3,"onedevHovercardTrigger","onedevHovercardActive"],[4,"ngTemplateOutlet"],[3,"email"]],template:function(a,b){a&1&&(Xf(),C(0,iIa,6,4,"ng-container",2)(1,jIa,1,0,"ng-template",null,0,yg));a&2&&(a=Q(2),D("ngIf",!!b.email&&b.isNonObfuscatedEmail(b.email))("ngIfElse",a))},
dependencies:[Gv,Kv,$H,gI,nL],encapsulation:2,changeDetection:0});var pL=function(){this.onAction=new Xu;this.disabled=!1};pL.prototype.handleClick=function(){this.onAction.emit()};pL.\u0275fac=function(a){return new (a||pL)};
pL.\u0275cmp=p({type:pL,selectors:[["onedev-hovercard-action"]],inputs:{disabled:"disabled"},outputs:{onAction:"onAction"},ngContentSelectors:["*"],decls:2,vars:1,consts:[["mat-button","","color","primary",1,"onedev-hovercard-action",3,"click","disabled"]],template:function(a,b){a&1&&(Xf(),F(0,"button",0),M("click",function(){return b.handleClick()}),Yf(1),G());a&2&&D("disabled",b.disabled)},dependencies:[oE],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 qL=function(a,b,c){Z.call(this);this.domSafe=a;this.cdr=b;this.actionService=c;this.currentAssignee="";this.currentCc=[];this.ccActionDisabled=this.assigneeActionDisabled=!1};X(qL,Z);qL.\u0275dir=Z.\u0275dir;
qL.prototype.ngOnInit=function(){var a=this;if(this.actionService){var b;(b=this.actionService)==null||b.assignee$.pipe(qf(this.destroyed$)).subscribe(function(d){a.currentAssignee=d;a.cdr.detectChanges()});var c;(c=this.actionService)==null||c.cc$.pipe(qf(this.destroyed$)).subscribe(function(d){a.currentCc=d;a.cdr.detectChanges()})}};
var kIa=function(a){if(a.actionService&&!a.assigneeActionDisabled){a.assigneeActionDisabled=!0;var b=a.email===a.currentAssignee?"remove_user":"set_user";Gn("personCard","assigneeAction",b);ubc(a.actionService,{email:a.email,action:b}).finally(function(){a.assigneeActionDisabled=!1})}},lIa=function(a){if(a.actionService&&!a.ccActionDisabled){a.ccActionDisabled=!0;var b=a.currentCc.includes(a.email)?"remove_user":"set_user";Gn("personCard","ccAction",b);vbc(a.actionService,{email:a.email,action:b}).finally(function(){a.ccActionDisabled=
!1})}};qL.\u0275fac=function(a){return new (a||qL)(A(FH),A(YF,2),A(PJ,8))};
qL.\u0275cmp=p({type:qL,selectors:[["b-issue-person-card"]],inputs:{email:"email"},features:[qg([YF]),zf],decls:6,vars:4,consts:[[3,"email"],["class","actions",4,"ngIf"],[3,"click"],[1,"actions"],[3,"onAction","disabled"]],template:function(a,b){a&1&&(F(0,"b-person-card",0),C(1,mIa,9,8,"ng-container",1),T(2,"async"),F(3,"onedev-hovercard-action",2),M("click",function(c){Gn("personCard","showAssignedIssuesAction");var d=zo.listIssues.makeHref({q:"assignee:"+b.email+" status:open"});c.ctrlKey||c.metaKey?
b.domSafe.openInNewTab(d):GH(b.domSafe,d)}),F(4,"span"),R(5,"Show assigned issues"),G()()());a&2&&(D("email",b.email),z(),D("ngIf",b.actionService&&V(2,2,b.actionService.editAccess$)))},dependencies:[Gv,pL,nL,Lv],encapsulation:2,changeDetection:0});var rL=function(){this.isMentioningMe=!1};rL.prototype.ngOnInit=function(){this.username=this.email.replace(/@google.com$/,"")};rL.\u0275fac=function(a){return new (a||rL)};
rL.\u0275cmp=p({type:rL,selectors:[["b-mention-chip-widget"]],inputs:{email:"email",isMentioningMe:"isMentioningMe"},decls:6,vars:5,consts:[["el",""],["card",""],[1,"mention",3,"onedevHovercardTrigger"],[3,"email"]],template:function(a,b){a&1&&(F(0,"span",2,0),R(2),G(),F(3,"onedev-hovercard",null,1),H(5,"b-issue-person-card",3),G());a&2&&(a=Q(4),Kf("me",b.isMentioningMe),D("onedevHovercardTrigger",a),z(2),S("@",b.username,""),z(3),D("email",b.email))},dependencies:[qL,$H,gI],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 nIa=RegExp("^https?:\\/\\/((?:screenshot.googleplex.com|screenshot.corp.google.com|screen.corp.google.com|screenshot|screen)\\/([\\w-]+)(?:\\.png)?$)"),qIa=RegExp("^(https?:\\/\\/)(www\\.)?(go|goto|goto\\.google\\.com)\\/([A-Za-z0-9-]+$)");var sL=function(a){this.internalArray_=m(a,0,sL.messageId)};X(sL,Y);sL.prototype.getUrl=function(){return Kh(this,1)};sL.prototype.setUrl=function(a){return rj(this,1,a)};sL.prototype.hasUrl=function(){return $k(this,1)};sL.messageId="b.ImageRedirectRequest";var tL=function(a){this.internalArray_=m(a,0,tL.messageId)};X(tL,Y);tL.prototype.getUrl=function(){return Kh(this,1)};tL.prototype.setUrl=function(a){return rj(this,1,a)};tL.prototype.hasUrl=function(){return $k(this,1)};tL.messageId="b.ImageRedirectResponse";var uL=function(a){this.executor=a},odc=function(a,b){var c=new sL;c.setUrl(b);return a.executor.post({url:"action/imageRedirect",body:c,responseConstructor:tL}).pipe(y(function(d){return d.getUrl()}))};uL.\u0275fac=function(a){return new (a||uL)(n(IB))};uL.\u0275prov=Hc({token:uL,factory:uL.\u0275fac,providedIn:"root"});var vL=function(a,b){var c=this;this.activeSession=a;this.imageRedirector=b;this.src$=new W.BehaviorSubject("");this.enableSnipItCorpEndpoint=this.activeSession.getFlag("enableSnipItCorpEndpoint");this.showImage$=new W.BehaviorSubject(!1);this.error$=new W.BehaviorSubject(!1);this.srcTruncated$=this.src$.pipe(y(function(d){var e=d;e=e===void 0?"":e;var f=f===void 0?48:f;d=[].concat(r(e));if(d.length<=f)f=e;else{var h=Math.floor(f/2);e=d.slice(0,h-1).join("");f=d.slice(-(h-(f%2!==0?1:2))).join("");
String.prototype.trimEnd!=null&&String.prototype.trimStart!=null&&(e=e.trimEnd(),f=f.trimStart());f=e+"..."+f}return f}));this.srcRedirected$=(0,W.combineLatest)([this.src$,this.showImage$]).pipe(te(function(d){d=l(d);d.next();return d.next().value}),pf(function(d){var e=l(d).next().value;return(d=sIa(e,c.enableSnipItCorpEndpoint))?(0,W.of)(d):odc(c.imageRedirector,e).pipe($e(function(){c.error$.next(!0);return e}))}))};vL.prototype.trigger=function(a){a.preventDefault();a.stopPropagation();this.showImage$.next(!0)};
ea.Object.defineProperties(vL.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}}});vL.\u0275fac=function(a){return new (a||vL)(A(Ir),A(uL))};
vL.\u0275cmp=p({type:vL,selectors:[["b-secure-image-widget"]],inputs:{showByDefault:"showByDefault",src:"src",alt:"alt"},decls:6,vars:4,consts:[["widget",""],["error",""],[4,"ngIf","ngIfElse"],[3,"src"],["tabindex","0",1,"normal-link",3,"click","keydown.enter","href","title"],["svgIcon","image",1,"icon-s"],["svgIcon","broken-image",1,"icon-l",3,"matTooltip"]],template:function(a,b){a&1&&(C(0,wIa,3,4,"ng-container",2),T(1,"async"),C(2,xIa,8,9,"ng-template",null,0,yg)(4,yIa,2,4,"ng-template",null,1,
yg));a&2&&(a=Q(5),D("ngIf",V(1,2,b.error$)===!1)("ngIfElse",a))},dependencies:[Gv,zB,LH,OH,HH,Lv],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 pdc={HIDE:"HIDE",COLLAPSE:"COLLAPSE",SHOW:"SHOW"},wL=function(a,b){var c=this;this.activeSession=a;this.userPreferencesManager=b;this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc";this.DisplayMode=pdc;this.src$=new W.BehaviorSubject("");this.isMarkdownImage$=new W.BehaviorSubject(!1);this.displayMode$=(0,W.combineLatest)([this.src$,this.userPreferencesManager.showInlineImages$,this.isMarkdownImage$]).pipe(y(function(d){var e=l(d);d=e.next().value;var f=e.next().value;e=e.next().value;return d&&
c.activeSession.getFlag("enableImageSummary")&&c.activeSession.isInternalSession()?!f&&e?"COLLAPSE":f?"SHOW":"HIDE":"HIDE"}),of("HIDE"))};ea.Object.defineProperties(wL.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}}});wL.\u0275fac=function(a){return new (a||wL)(A(Ir),A(rH))};
wL.\u0275cmp=p({type:wL,selectors:[["b-snipit-image"]],inputs:{src:"src",isMarkdownImage:"isMarkdownImage",alt:"alt"},decls:2,vars:3,consts:[[3,"src","alt","showByDefault"],["target","_blank",3,"href","rel"],[1,"thumbnail",3,"src","alt","showByDefault"]],template:function(a,b){a&1&&(C(0,BIa,3,3),T(1,"async"));if(a&2){var c;Of((c=V(1,1,b.src$))?0:-1,c)}},dependencies:[vL,Lv],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 qdc=Symbol(),rdc=Symbol(),sdc=Symbol(),tdc=Symbol(),udc=Symbol(),vdc=Symbol(),xL=function(a,b,c){this.appRef=a;this.flags=b;this.session=c;this.allComponentRefs=[];this.secureImageRefs=[];this.snipItImageRefs=[];this.mentionChipRefs=[];this.checkboxRefs=[];this.externalHyperlinkRefs=[];this.brokenLinkRefs=[];this.issueReferenceRefs=[]},ydc=function(a,b,c){for(var d=b.querySelectorAll("*"),e=0;e<d.length;e++){var f=d[e],h=f.dataset.bId;h&&(f.id=h)}d=l(b.querySelectorAll("a"));for(e=d.next();!e.done;e=
d.next())if(e=e.value,(h=e.getAttribute("href"))&&oIa(h)&&e&&DFa(e)&&h===e.textContent&&(f=e.nextSibling,wdc(a,e,h,void 0,c),h=void 0,(h=f)!=null&&h.textContent&&(h=f.textContent.match(/(^[^\w]+)/))))h=h[1],f.textContent=f.textContent.substring(h.length),f=document.createElement("span"),f.textContent=h,e.insertAdjacentElement("afterend",f);d=b.querySelectorAll("*[data-b-widget]");for(e=0;e<d.length;e++)switch(h=d[e],h.dataset.bWidget){case "image":f=a;var k=h,q=c;h=k.dataset.bImgSrc;var t=k.dataset.bImgRedirectedSrc;
CIa(k);if(h){var w=k.dataset.bImgAlt;if(oIa(h))wdc(f,k,h,w,q,!0);else if(f.flags.session.getFlag("enableMarkdownInlineImages"))k=f.createComponent(vL,k,q),q=k.instance,q.src=h,w&&(q.alt=w),f.secureImageRefs.push(k);else{var B=document.createElement("a");w?B.appendChild(document.createTextNode(w)):B.appendChild(document.createTextNode(h));k.appendChild(B);xdc(f,B,h,t||h,q)}}break;case "checkbox":f=a;w=h;k=c;h=w.dataset.bCheckboxChecked!=null;CIa(w);w=f.createComponent(SH,w,k);w.instance.checked=h;
f.checkboxRefs.push(w);break;case "url":f=a;w=c;k=h.dataset.bOriginalHref;q=h.dataset.bRedirectedHref;k&&q&&(h.removeAttribute("href"),xdc(f,h,k,q,w));break;case "broken-url":f=a;w=h;q=c;if(k=w.dataset.bOriginalHref){h=Array.from(w.childNodes);w=f.createComponent(PH,w,q);q=w.instance;q.originalHref=k;k=q.getNgContentParentEl();h=l(h);for(q=h.next();!q.done;q=h.next())k.appendChild(q.value);f.brokenLinkRefs.push(w)}break;case "mention":a.session.isInternalSession()&&(w=void 0,f=a,k=h,q=c,h="",((w=
k.textContent)==null?void 0:w[0])==="@"&&(h=k.textContent.slice(1)),CIa(k),w=f.createComponent(rL,k,q),k=w.instance,k.email=h,k.isMentioningMe=f.session.getUserEmail()===h,f.mentionChipRefs.push(w));break;case "issue-reference":t=void 0;f=a;var E=c;w=h.href;k=h.dataset.bIssueId;q=h.dataset.bCommentNumber;if(w&&k){B=Number(q);q=Array.from(h.childNodes);var I=document.createElement("span");(t=h.parentNode)==null||t.insertBefore(I,h);t=f.createComponent(iI,I,E);E=t.instance;E.href=w;E.issueId=k;E.commentNumber=
B;w=E.el.nativeElement;k=l(q);for(q=k.next();!q.done;q=k.next())w.appendChild(q.value);h.remove();f.issueReferenceRefs.push(t)}}a=b.querySelectorAll("a");for(c=0;c<a.length;c++)d=a[c],d.getAttribute("target")||d.setAttribute("target","_self");a=b.querySelectorAll("table");for(c=0;c<a.length;c++)d=a[c],d.parentNode&&(e=document.createElement("div"),e.classList.add("table-overflow"),e.tabIndex=-1,d.parentNode.insertBefore(e,d),e.appendChild(d));b=l(b.querySelectorAll("pre"));for(a=b.next();!a.done;a=
b.next())a.value.tabIndex=-1};xL.prototype.ngOnDestroy=function(){zdc(this)};
var wdc=function(a,b,c,d,e,f){f=f===void 0?!1:f;var h=b;b instanceof HTMLAnchorElement&&(h=document.createElement("span"),b.insertAdjacentElement("afterend",h));b=a.createComponent(wL,h,e);e=b.instance;e.src=c;e.alt=d;e.isMarkdownImage=f;a.snipItImageRefs.push(b)},xdc=function(a,b,c,d,e){var f=Array.from(b.childNodes);b=a.createComponent(TH,b,e);e=b.instance;e.originalHref=c;e.href=d;c=e.getNgContentParentEl();f=l(f);for(d=f.next();!d.done;d=f.next())c.appendChild(d.value);a.externalHyperlinkRefs.push(b)};
xL.prototype.createComponent=function(a,b,c){a=Kma(a,{environmentInjector:this.appRef.injector,elementInjector:c.injector});b.appendChild(a.location.nativeElement);UUb(this.appRef,a.hostView);this.allComponentRefs.push(a);return a};
var zdc=function(a){for(var b=l(a.allComponentRefs),c=b.next();!c.done;c=b.next())c.value.destroy();a.allComponentRefs=[];a.secureImageRefs=[];a.snipItImageRefs=[];a.mentionChipRefs=[];a.checkboxRefs=[];a.externalHyperlinkRefs=[];a.brokenLinkRefs=[];a.issueReferenceRefs=[]};xL.prototype[qdc]=function(){return this.secureImageRefs.slice()};xL.prototype[rdc]=function(){return this.snipItImageRefs.slice()};xL.prototype[sdc]=function(){return this.checkboxRefs.slice()};xL.prototype[tdc]=function(){return this.externalHyperlinkRefs.slice()};
xL.prototype[udc]=function(){return this.brokenLinkRefs.slice()};xL.prototype[vdc]=function(){return this.issueReferenceRefs.slice()};xL.\u0275fac=function(a){return new (a||xL)(n(uv),n(WH),n(Ir))};xL.\u0275prov=Hc({token:xL,factory:xL.\u0275fac});var Adc=["child"],Bdc=Symbol(),yL=function(a,b,c){this.dynamicComponents=a;this.codefont=b;this.viewContainerRef=c};yL.prototype.ngOnInit=function(){};yL.prototype.ngOnChanges=function(){zdc(this.dynamicComponents);var a=this.child.nativeElement;CFa(a,this.content.content);ydc(this.dynamicComponents,a,this.viewContainerRef)};yL.prototype.ngOnDestroy=function(){zdc(this.dynamicComponents)};yL.prototype[Bdc]=function(){return this.dynamicComponents};
yL.\u0275fac=function(a){return new (a||yL)(A(xL,2),A(UH),A(dg))};
yL.\u0275cmp=p({type:yL,selectors:[["b-markdown-format-presenter"]],viewQuery:function(a,b){a&1&&fg(Adc,7);if(a&2){var c;jg(c=kg())&&(b.child=c.first)}},inputs:{content:"content"},features:[qg([{provide:xL,useClass:xL},{provide:a$b,useValue:"MARKDOWN"}]),td],decls:3,vars:4,consts:[["child",""],[1,"type-m","markdown-display"]],template:function(a,b){a&1&&(H(0,"div",1,0),T(2,"async"));a&2&&Kf("codefont",V(2,2,b.codefont.codefont$))},dependencies:[Lv],styles:[':root{--blue-50: #e8f0fe;--blue-100: #d2e3fc;--blue-200: #aecbfa;--blue-300: #8ab4f8;--blue-400: #669df6;--blue-500: #4285f4;--blue-600: #1a73e8;--blue-700: #1967d2;--blue-800: #185abc;--blue-900: #174ea6;--blue: var(--blue-600);--red-50: #fce8e6;--red-100: #fad2cf;--red-200: #f6aea9;--red-300: #f28b82;--red-400: #ee675c;--red-500: #ea4335;--red-600: #d93025;--red-700: #c5221f;--red-800: #b31412;--red-900: #a50e0e;--red: var(--red-600);--yellow-50: #fef7e0;--yellow-100: #feefc3;--yellow-200: #fde293;--yellow-300: #fdd663;--yellow-400: #fcc934;--yellow-500: #fbbc04;--yellow-600: #f9ab00;--yellow-700: #f29900;--yellow-800: #ea8600;--yellow-900: #e37400;--yellow: var(--yellow-600);--green-50: #e6f4ea;--green-100: #ceead6;--green-200: #a8dab5;--green-300: #81c995;--green-400: #5bb974;--green-500: #34a853;--green-600: #1e8e3e;--green-700: #188038;--green-800: #137333;--green-900: #0d652d;--green: var(--green-600);--white: #fff;--grey-50: #f8f9fa;--grey-100: #f1f3f4;--grey-200: #e8eaed;--grey-300: #dadce0;--grey-400: #bdc1c6;--grey-500: #9aa0a6;--grey-600: #80868b;--grey-700: #5f6368;--grey-800: #3c4043;--grey-900: #202124;--black: var(--grey-900);--orange-50: #feefe3;--orange-100: #fedfc8;--orange-200: #fdc69c;--orange-300: #fcad70;--orange-400: #fa903e;--orange-500: #fa7b17;--orange-600: #e8710a;--orange-700: #d56e0c;--orange-800: #c26401;--orange-900: #b06000;--pink-50: #fde7f3;--pink-100: #fdcfe8;--pink-200: #fba9d6;--pink-300: #ff8bcb;--pink-400: #ff63b8;--pink-500: #f439a0;--pink-600: #e52592;--pink-700: #c92786;--pink-800: #b80672;--pink-900: #9c166b;--purple-50: #f3e8fd;--purple-100: #e9d2fd;--purple-200: #d7aefb;--purple-300: #c58af9;--purple-400: #af5cf7;--purple-500: #a142f4;--purple-600: #9334e6;--purple-700: #8430ce;--purple-800: #7627bb;--purple-900: #681da8;--cyan-50: #e4f7fb;--cyan-100: #cbf0f8;--cyan-200: #a1e4f2;--cyan-300: #78d9ec;--cyan-400: #4ecde6;--cyan-500: #24c1e0;--cyan-600: #12b5cb;--cyan-700: #129eaf;--cyan-800: #098591;--cyan-900: #007b83}.markdown-display{word-break:break-word;overflow-wrap:break-word}.markdown-display p{word-break:break-word}.markdown-display hr{height:0;border:0;border-top:1px solid var(--hairline)}.markdown-display h1,.markdown-display h2,.markdown-display h3,.markdown-display h4,.markdown-display h5{font-weight:500}.markdown-display h1{font-size:160%;font-weight:700}.markdown-display h2{font-size:160%}.markdown-display h3{font-size:140%}.markdown-display h4{font-size:120%}.markdown-display h5{font-size:100%}.markdown-display h1,.markdown-display h2,.markdown-display h3,.markdown-display h4,.markdown-display h5{margin:0;margin-block-start:.8em;margin-block-end:.8em}.markdown-display p,.markdown-display blockquote,.markdown-display hr,.markdown-display ul,.markdown-display ol{margin:0;margin-block-start:.8em;margin-block-end:.8em}.markdown-display>*:first-child{margin-block-start:0}.markdown-display ul,.markdown-display ol{padding-inline-start:2rem}.markdown-display blockquote{background-color:var(--markdown-blockquote-background);border-left:4px solid var(--markdown-blockquote-border);color:var(--text-secondary);overflow:hidden;padding-left:8px}.markdown-display ul{list-style:initial}.markdown-display ul ul{list-style:circle}.markdown-display ul ul ul{list-style:square}.markdown-display ul ul,.markdown-display ol ol,.markdown-display ul ol,.markdown-display ol ul{margin:0}.markdown-display li{margin-block-end:.2em}.markdown-display code,.markdown-display pre{background-color:var(--surface-secondary);border-radius:2px;font-family:WorkAroundWebKitAndMozilla,monospace}.markdown-display pre{border:1px solid var(--hairline);overflow-x:auto}.markdown-display code{color:var(--markdown-code);padding:0 2px}.markdown-display pre code{color:var(--text-high-contrast);padding:0}.markdown-display pre{padding:8px 16px}.markdown-display pre,.markdown-display pre code{line-height:1.5}.markdown-display img{max-width:100%}.markdown-display a,.markdown-display a code{color:var(--primary-default);text-decoration:none}.markdown-display a:visited,.markdown-display a code:visited{color:var(--markdown-link-visited)}.markdown-display pre code a{color:inherit;text-decoration:underline}.markdown-display a:hover{text-decoration:underline}.markdown-display a:focus{outline:-webkit-focus-ring-color auto 1px}.markdown-display table{border-collapse:collapse;margin:1em 0}.markdown-display td,.markdown-display th{background-color:var(--surface-default);border:1px solid var(--hairline);padding:4px 8px;vertical-align:top}.markdown-display th{text-align:left;vertical-align:bottom;word-break:keep-all}.markdown-display div.table-overflow{overflow-x:auto}.markdown-display input[type=checkbox]{vertical-align:middle}.markdown-display section.footnotes{font-family:Roboto,Arial,sans-serif;line-height:1rem;font-size:.75rem;letter-spacing:.025em;font-weight:400;margin-top:2.5em;border-top:1px solid #dadce0}.markdown-display sup.footnote-ref::before{content:"["}.markdown-display sup.footnote-ref::after{content:"]"}.markdown-display .footnote-backref{text-decoration:none}.markdown-display .footnote-backref>a{text-decoration:none}.markdown-display .align-left{text-align:left}.markdown-display .align-right{text-align:right}.markdown-display .align-center{text-align:center}.markdown-display .align-justify{text-align:justify}.markdown-display .g3mark-callout{position:relative}.markdown-display .g3mark-callout .g3mark-callout__icon{display:none}.markdown-display code{white-space:break-spaces}.markdown-display pre code{white-space:pre}body:not(.dark-mode) .markdown-display .stx-plain{color:inherit}body:not(.dark-mode) .markdown-display .stx-keyword{color:#708}body:not(.dark-mode) .markdown-display .stx-keyword-strong{color:inherit}body:not(.dark-mode) .markdown-display .stx-string{color:#080}body:not(.dark-mode) .markdown-display .stx-comment{color:#800}body:not(.dark-mode) .markdown-display .stx-number{color:#164}body:not(.dark-mode) .markdown-display .stx-macro{color:#555}body:not(.dark-mode) .markdown-display .stx-class{color:inherit}body:not(.dark-mode) .markdown-display .stx-const{color:inherit}body:not(.dark-mode) .markdown-display .stx-escape-sequence{color:inherit}body:not(.dark-mode) .markdown-display .stx-deprecated{text-decoration:inherit}body:not(.dark-mode) .markdown-display .stx-doc-tag{text-decoration:inherit}body:not(.dark-mode) .markdown-display .stx-task-tag{font-weight:inherit}body:not(.dark-mode) .markdown-display .stx-atom{color:#219}body:not(.dark-mode) .markdown-display .stx-definition{color:blue}body:not(.dark-mode) .markdown-display .stx-type-id{color:#085}body:not(.dark-mode) .markdown-display .stx-qualifier{color:#555}body:not(.dark-mode) .markdown-display .stx-local-ref{color:#05a}body:not(.dark-mode) .markdown-display .stx-md-entity{color:#708}body:not(.dark-mode) .markdown-display .stx-md-bold{font-weight:bold}body:not(.dark-mode) .markdown-display .stx-md-italic{font-style:italic}body:not(.dark-mode) .markdown-display .stx-md-link{color:#080}body:not(.dark-mode) .markdown-display .stx-md-code{color:#555}body:not(.dark-mode) .markdown-display .stx-comment .stx-md-link,body:not(.dark-mode) .markdown-display .stx-comment .stx-md-code{color:#800}body:not(.dark-mode) .markdown-display pre .chl{border:1px solid #ffca28;background-color:#fff59d;padding:1px 0;margin:0 -1px}body:not(.dark-mode) .markdown-display .g3mark-callout{margin:1rem 0;padding:.5rem .5rem .5rem 2rem}body:not(.dark-mode) .markdown-display .g3mark-callout p:first-of-type{margin-top:0}body:not(.dark-mode) .markdown-display .g3mark-callout p:last-child{margin-bottom:0}body:not(.dark-mode) .markdown-display .g3mark-callout blockquote{font-family:inherit;font-weight:inherit;font-size:inherit;letter-spacing:inherit;line-height:inherit;padding-left:initial;border-left:initial;margin:0}body:not(.dark-mode) .markdown-display .g3mark-callout__keyword{font-weight:bold}body:not(.dark-mode) .markdown-display .g3mark-callout__icon::before{position:absolute;font-size:1.25rem;font-family:"Material Icons","Google Material Icons";margin-left:-1.5rem}body:not(.dark-mode) .markdown-display .g3mark-callout-tldr .g3mark-callout__icon::before,body:not(.dark-mode) .markdown-display .g3mark-callout-summary .g3mark-callout__icon::before{color:#174ea6;content:"sms"}body:not(.dark-mode) .markdown-display .g3mark-callout-tip .g3mark-callout__icon::before{color:#0d652d;content:"grade"}body:not(.dark-mode) .markdown-display .g3mark-callout-best_practice .g3mark-callout__icon::before{color:#0d652d;content:"check_circle"}body:not(.dark-mode) .markdown-display .g3mark-callout-note .g3mark-callout__icon::before{color:#202124;content:"bookmark"}body:not(.dark-mode) .markdown-display .g3mark-callout-warning .g3mark-callout__icon::before{color:#a50e0e;content:"warning"}body:not(.dark-mode) .markdown-display .g3mark-callout-important .g3mark-callout__icon::before{color:#b06000;content:"priority_high"}body:not(.dark-mode) .markdown-display .g3mark-callout-tldr,body:not(.dark-mode) .markdown-display .g3mark-callout-summary{border-color:#669df6;background:#e8f0fe;color:#202124}body:not(.dark-mode) .markdown-display .g3mark-callout-tip,body:not(.dark-mode) .markdown-display .g3mark-callout-best_practice{border-color:#5bb974;background:#e6f4ea;color:#202124}body:not(.dark-mode) .markdown-display .g3mark-callout-note{border-color:#bdc1c6;background:#f8f9fa;color:#202124;background:#f1f3f4}body:not(.dark-mode) .markdown-display .g3mark-callout-warning{border-color:#ee675c;background:#fce8e6;color:#202124}body:not(.dark-mode) .markdown-display .g3mark-callout-important{border-color:#fa903e;background:#feefe3;color:#202124}body.dark-mode .markdown-display .stx-plain{color:inherit}body.dark-mode .markdown-display .stx-keyword{color:#d8884b}body.dark-mode .markdown-display .stx-keyword-strong{color:inherit}body.dark-mode .markdown-display .stx-string{color:#97c67b}body.dark-mode .markdown-display .stx-comment{color:#8c9292}body.dark-mode .markdown-display .stx-number{color:#79a9c4}body.dark-mode .markdown-display .stx-macro{color:#9dbed9}body.dark-mode .markdown-display .stx-class{color:inherit}body.dark-mode .markdown-display .stx-const{color:inherit}body.dark-mode .markdown-display .stx-escape-sequence{color:inherit}body.dark-mode .markdown-display .stx-deprecated{text-decoration:inherit}body.dark-mode .markdown-display .stx-doc-tag{text-decoration:inherit}body.dark-mode .markdown-display .stx-task-tag{font-weight:inherit}body.dark-mode .markdown-display .stx-atom{color:#cf7ea9}body.dark-mode .markdown-display .stx-definition{color:#75b3db}body.dark-mode .markdown-display .stx-type-id{color:#eede7b}body.dark-mode .markdown-display .stx-qualifier{color:#97c67b}body.dark-mode .markdown-display .stx-local-ref{color:#aac6e3}body.dark-mode .markdown-display .stx-md-entity{color:#d8884b}body.dark-mode .markdown-display .stx-md-bold{font-weight:bold}body.dark-mode .markdown-display .stx-md-italic{font-style:italic}body.dark-mode .markdown-display .stx-md-link{color:#d8884b}body.dark-mode .markdown-display .stx-md-code{color:#d8884b}body.dark-mode .markdown-display .stx-comment .stx-md-link,body.dark-mode .markdown-display .stx-comment .stx-md-code{color:#89b2cd}body.dark-mode .markdown-display pre .chl{border:1px solid #ffca28;background-color:#6a5619;padding:1px 0;margin:0 -1px}body.dark-mode .markdown-display .g3mark-callout{margin:1rem 0;padding:.5rem .5rem .5rem 2rem}body.dark-mode .markdown-display .g3mark-callout p:first-of-type{margin-top:0}body.dark-mode .markdown-display .g3mark-callout p:last-child{margin-bottom:0}body.dark-mode .markdown-display .g3mark-callout blockquote{font-family:inherit;font-weight:inherit;font-size:inherit;letter-spacing:inherit;line-height:inherit;padding-left:initial;border-left:initial;margin:0}body.dark-mode .markdown-display .g3mark-callout__keyword{font-weight:bold}body.dark-mode .markdown-display .g3mark-callout__icon::before{position:absolute;font-size:1.25rem;font-family:"Material Icons","Google Material Icons";margin-left:-1.5rem}body.dark-mode .markdown-display .g3mark-callout-tldr .g3mark-callout__icon::before,body.dark-mode .markdown-display .g3mark-callout-summary .g3mark-callout__icon::before{color:#174ea6;content:"sms"}body.dark-mode .markdown-display .g3mark-callout-tip .g3mark-callout__icon::before{color:#0d652d;content:"grade"}body.dark-mode .markdown-display .g3mark-callout-best_practice .g3mark-callout__icon::before{color:#0d652d;content:"check_circle"}body.dark-mode .markdown-display .g3mark-callout-note .g3mark-callout__icon::before{color:#202124;content:"bookmark"}body.dark-mode .markdown-display .g3mark-callout-warning .g3mark-callout__icon::before{color:#a50e0e;content:"warning"}body.dark-mode .markdown-display .g3mark-callout-important .g3mark-callout__icon::before{color:#b06000;content:"priority_high"}body.dark-mode .markdown-display .g3mark-callout-tldr,body.dark-mode .markdown-display .g3mark-callout-tip,body.dark-mode .markdown-display .g3mark-callout-note,body.dark-mode .markdown-display .g3mark-callout-warning{border-color:#fff;background:#3c4043;color:#fff}/*# sourceMappingURL=markdown_format_presenter.css.map */\n'],
encapsulation:2,changeDetection:0});var Cdc=["child"],Ddc=function(){return"[_nghost-%COMP%]     a:visited{color:#7627bb;color:var(--link-visited)}"},zL=function(a){this.codefont=a};zL.prototype.ngOnInit=function(){};zL.\u0275fac=function(a){return new (a||zL)(A(UH))};
zL.\u0275cmp=p({type:zL,selectors:[["b-plain-format-presenter"]],inputs:{content:"content"},features:[qg([{provide:a$b,useValue:"PLAIN"}])],decls:3,vars:5,consts:[[1,"type-m"],[4,"ngFor","ngForOf"],[3,"section"]],template:function(a,b){a&1&&(F(0,"div",0),T(1,"async"),C(2,DIa,2,1,"ng-container",1),G());a&2&&(Kf("codefont",V(1,3,b.codefont.codefont$)),z(2),D("ngForOf",b.content.plainSection))},dependencies:function(){return[Fv,AL,Lv]},styles:[Ddc()],changeDetection:0});var AL=function(){};
AL.prototype.ngOnInit=function(){};AL.\u0275fac=function(a){return new (a||AL)};AL.\u0275cmp=p({type:AL,selectors:[["b-plain-format-section"]],inputs:{section:"section"},decls:3,vars:2,consts:[[3,"section",4,"ngIf"],[3,"section"]],template:function(a,b){a&1&&(K(0),C(1,EIa,1,1,"b-plain-format-quoted-section",0)(2,FIa,1,1,"b-plain-format-unquoted-section",0),L());a&2&&(z(),D("ngIf",b.section.isQuoted),z(),D("ngIf",!b.section.isQuoted))},dependencies:function(){return[Gv,BL,CL]},encapsulation:2,changeDetection:0});
var BL=function(){this.showQuote=!1;Edc++;this.childId="plainFormatQuotedSection"+Edc};BL.prototype.ngOnInit=function(){};BL.prototype.ngOnChanges=function(){GIa(this)};var GIa=function(a){var b=a.child.nativeElement;if(a.showQuote)CFa(b,a.section.content);else for(;b.lastChild;)b.lastChild.remove()};BL.\u0275fac=function(a){return new (a||BL)};
BL.\u0275cmp=p({type:BL,selectors:[["b-plain-format-quoted-section"]],viewQuery:function(a,b){a&1&&fg(Cdc,7);if(a&2){var c;jg(c=kg())&&(b.child=c.first)}},inputs:{section:"section"},features:[td],decls:5,vars:3,consts:[["child",""],["class","showhide muted","tabindex","0","role","button","aria-expanded","false",3,"click",4,"ngIf"],["class","showhide muted","tabindex","0","role","button","aria-expanded","true",3,"click",4,"ngIf"],[1,"child",3,"id"],["tabindex","0","role","button","aria-expanded","false",
1,"showhide","muted",3,"click"],["tabindex","0","role","button","aria-expanded","true",1,"showhide","muted",3,"click"]],template:function(a,b){a&1&&(F(0,"div"),C(1,HIa,2,1,"a",1)(2,IIa,2,1,"a",2),H(3,"div",3,0),G());a&2&&(z(),D("ngIf",!b.showQuote),z(),D("ngIf",b.showQuote),z(),D("id",b.childId))},dependencies:[Gv],styles:[Ddc()],changeDetection:0});var Edc=0,CL=function(a,b){this.dynamicComponents=a;this.viewContainerRef=b};CL.prototype.ngOnInit=function(){};
CL.prototype.ngOnChanges=function(){zdc(this.dynamicComponents);var a=this.child.nativeElement;CFa(a,this.section.content);ydc(this.dynamicComponents,a,this.viewContainerRef)};CL.\u0275fac=function(a){return new (a||CL)(A(xL,2),A(dg))};
CL.\u0275cmp=p({type:CL,selectors:[["b-plain-format-unquoted-section"]],viewQuery:function(a,b){a&1&&fg(Cdc,7);if(a&2){var c;jg(c=kg())&&(b.child=c.first)}},inputs:{section:"section"},features:[qg([{provide:xL,useClass:xL}]),td],decls:2,vars:0,consts:[["child",""],[1,"child"]],template:function(a){a&1&&H(0,"div",1,0)},encapsulation:2,changeDetection:0});var DL=function(){};DL.prototype.ngOnInit=function(){};DL.\u0275fac=function(a){return new (a||DL)};
DL.\u0275cmp=p({type:DL,selectors:[["b-formatted-comment-presenter"]],inputs:{formattedComment:"formattedComment"},decls:3,vars:3,consts:[[4,"ngIf"],[3,"content"]],template:function(a,b){a&1&&C(0,JIa,2,1,"ng-container",0)(1,KIa,2,1,"ng-container",0)(2,LIa,2,1,"ng-container",0);a&2&&(D("ngIf",b.formattedComment.literalFormat),z(),D("ngIf",b.formattedComment.markdownFormat),z(),D("ngIf",b.formattedComment.plainFormat))},dependencies:[Gv,VH,yL,zL],encapsulation:2,changeDetection:0});var EL=function(a){this.internalArray_=m(a)};X(EL,Y);g=EL.prototype;g.getFormattingMode=function(){return fj(this,1,0)};g.setFormattingMode=function(a){return dj(this,1,a)};g.getSource=function(){return Kh(this,2)};g.setSource=function(a){return cj(this,2,a)};g.getIssueId=function(){return ej(this,3)};g.getIssueId_asLegacyNumberOrString=function(){return ej(this,3)};g.getIssueId_asString=function(){return du(this,3)};g.setIssueId=function(a){return bj(this,3,a)};
g.getIdPrefix=function(){return Kh(this,4)};g.setIdPrefix=function(a){return cj(this,4,a)};var FL=function(a){this.internalArray_=m(a,0,FL.messageId)};X(FL,Y);FL.prototype.getIt=function(){return $i(this,EL,8)};FL.prototype.setIt=function(a){return oj(this,EL,8,a)};FL.messageId="b.FormatCommentRequest";var GL=function(a){this.internalArray_=m(a)};X(GL,Y);GL.prototype.getFormattedComment=function(){return $i(this,ek,1)};GL.prototype.hasFormattedComment=function(){return dk(this,ek,1)};GL.prototype.getMentionsList=function(a){return xj(this,HB,2,yj(a))};GL.repeatedFields_=[2];var HL=function(a){this.internalArray_=m(a,0,HL.messageId)};X(HL,Y);HL.prototype.getIt=function(){return $i(this,GL,3)};HL.prototype.setIt=function(a){return oj(this,GL,3,a)};HL.messageId="b.FormatCommentResponse";var IL=function(a,b){this.executor=a;this.activeSession=b};IL.prototype.format=function(a){return a.formattingMode==="LITERAL"||a.comment.trim()===""?OIa(a):Fdc(this,a).pipe(y(NIa))};
var Fdc=function(a,b){var c,d=(new EL).setFormattingMode(Wj(b.formattingMode)).setSource(b.comment).setIssueId((c=ij(b.issueId))!=null?c:0).setIdPrefix(b.idPrefix);c=b.audience==="EXTERNAL";var e=a.activeSession.getTracker();c=c?(e==null?void 0:e.externalBaseUrl)||a.activeSession.getExternalBaseUrl():(e==null?void 0:e.internalBaseUrl)||a.activeSession.getInternalBaseUrl();d=cj(d,5,c);b=dj(d,6,K3b[b.audience]);return a.executor.post({url:"action/formatComment",body:(new FL).setIt(b),responseConstructor:HL})};
IL.\u0275fac=function(a){return new (a||IL)(n(IB),n(Ir))};IL.\u0275prov=Hc({token:IL,factory:IL.\u0275fac,providedIn:"root"});var JL=function(a){Z.call(this);var b=this;this.formatter=a;this.issueId="";this.audience="EXTERNAL";this.formattingMode="LITERAL";this.params$=new W.ReplaySubject(1);this.formattedResult$=this.params$.pipe(bf(200),pf(function(c){return b.formatter.format(c).pipe(Gdc,$e(function(){var d={literalFormat:{content:wh(c.comment)}};return(0,W.of)({formattedComment:d,isFallback:!0})}))}))};X(JL,Z);JL.\u0275dir=Z.\u0275dir;
JL.prototype.ngOnInit=function(){var a=this;this.comment$&&this.subscriptions.add(this.comment$.subscribe(function(b){a.params$.next({comment:b,issueId:a.issueId,audience:a.audience!=null?a.audience:"EXTERNAL",formattingMode:a.formattingMode,idPrefix:a.getIdPrefix()})}))};JL.prototype.ngOnChanges=function(){this.comment!=null&&this.params$.next({comment:this.comment,issueId:this.issueId,audience:this.audience!=null?this.audience:"EXTERNAL",formattingMode:this.formattingMode,idPrefix:this.getIdPrefix()})};
JL.prototype.getIdPrefix=function(){return this.idPrefix||"b"+this.issueId+"-draft"};JL.\u0275fac=function(a){return new (a||JL)(A(IL))};
JL.\u0275cmp=p({type:JL,selectors:[["b-live-preview"]],inputs:{comment:"comment",comment$:"comment$",issueId:"issueId",audience:"audience",formattingMode:"formattingMode",idPrefix:"idPrefix"},features:[zf,td],decls:2,vars:3,consts:[[4,"ngIf"],[1,"md-preview"],[3,"formattedComment"]],template:function(a,b){a&1&&(C(0,PIa,3,5,"ng-container",0),T(1,"async"));a&2&&D("ngIf",V(1,1,b.formattedResult$))},dependencies:[Gv,DL,Lv],styles:["[_nghost-%COMP%]{display:block}.md-preview[_ngcontent-%COMP%]{min-height:32px;margin-top:16px}.md-preview[_ngcontent-%COMP%]{box-sizing:border-box;padding:8px;background-color:#f8f9fa;background-color:var(--c50);border-radius:4px}.md-preview.error[_ngcontent-%COMP%]{background-color:#fef4f3;background-color:var(--bad-bg-pale);box-shadow:inset 0 0 0 1px #ea4335;box-shadow:inset 0 0 0 1px var(--bad)}[_nghost-%COMP%]     .markdown-display pre, [_nghost-%COMP%]     .markdown-display code{background-color:#f1f3f4;background-color:var(--c100)}.bv2-note-container-note   [_nghost-%COMP%]   .md-preview[_ngcontent-%COMP%]{min-height:0;margin-top:0;padding:0;background-color:rgba(0,0,0,0)}/*# sourceMappingURL=live_preview.css.map */"],
changeDetection:0});var Gdc=y(function(a){return{formattedComment:a,isFallback:!1}});var KL=function(a,b,c){Z.call(this);var d=this;this.prefs=a;this.flags=b;this.links=c;this.change=new XF;this.checkedSubject=new W.BehaviorSubject(!1);this.mdHelpLink=this.links.session.isInternalSession()?"http://go/buganizer-markdown-quickstart":"https://commonmark.org/help/";this.flags.textDisplayPreferences$.pipe(qf(this.destroyed$)).subscribe(function(e){d.currentTextDisplayPreferences=e});this.flags.commentDisplayOverride$.pipe(qf(this.destroyed$)).subscribe(function(e){d.currentCommentDisplayOverride=
e})};X(KL,Z);KL.\u0275dir=Z.\u0275dir;KL.prototype.ngOnInit=function(){this.checkedSubject.next(this.initialValue==="MARKDOWN")};KL.prototype.ngOnChanges=function(){this.initialValue!=null&&this.checkedSubject.next(this.initialValue==="MARKDOWN")};KL.prototype.save=function(a){a=Object.assign({},this.currentTextDisplayPreferences,a);this.prefs.save({textDisplayPreferences:a}).pipe(qf(this.destroyed$)).subscribe()};KL.\u0275fac=function(a){return new (a||KL)(A(rH),A(WH),A(oI))};
KL.\u0275cmp=p({type:KL,selectors:[["b-markdown-toggle"]],inputs:{initialValue:"initialValue"},outputs:{change:"change"},features:[zf,td],decls:4,vars:4,consts:[["aria-label","Use markdown for this comment","matTooltip","Use Markdown for this comment",3,"change","checked"],["mat-icon-button","","matTooltip","Markdown Help","class","help small","aria-label","Markdown Help","target","_blank",3,"href","disableRipple",4,"ngIf"],["mat-icon-button","","matTooltip","Markdown Help","aria-label","Markdown Help",
"target","_blank",1,"help","small",3,"href","disableRipple"],["svgIcon","help-outline",1,"icon-xs"]],template:function(a,b){a&1&&(F(0,"mat-checkbox",0),T(1,"async"),M("change",function(d){var e=b.currentCommentDisplayOverride;d=d.checked?J4b:e?e:K4b;b.save({lastPublishMode:d});b.change.emit(Xk(d))}),R(2," Markdown "),G(),C(3,QIa,2,2,"a",1));if(a&2){var c;D("checked",(c=V(1,2,b.checkedSubject))!==null&&c!==void 0?c:!1);z(3);D("ngIf",b.mdHelpLink)}},dependencies:[QH,RH,Gv,zB,IH,Ux,LH,OH,Lv],encapsulation:2,
changeDetection:0});var LL=function(a,b){Z.call(this);var c=this;this.appEvents=b;this.init=new XF;this.FormattingMode=DB;a.textDisplayPreferencesSubject$.pipe(qf(this.destroyed$)).subscribe(function(d){switch(d.commentDisplayOverride){case "LITERAL_FORMATTING_MODE":c.formattingModeOverride="LITERAL";break;case "MARKDOWN_FORMATTING_MODE":c.formattingModeOverride="MARKDOWN";break;case "PLAIN_FORMATTING_MODE":c.formattingModeOverride="PLAIN";break;case void 0:c.formattingModeOverride=void 0;break;default:Dc(d.commentDisplayOverride)}})};
X(LL,Z);LL.\u0275dir=Z.\u0275dir;LL.prototype.ngOnInit=function(){};LL.prototype.ngOnChanges=function(){this.rawComment=this.note.unlinkifiedComment||"";this.audience=this.issueAccessLevel&&this.issueAccessLevel==="INTERNAL"?"INTERNAL":"EXTERNAL";this.note.commentNumber&&(this.idPrefix="b"+this.issueId+"-c"+this.note.commentNumber)};LL.prototype.ngAfterViewInit=function(){this.appEvents.commentRendered.next([this.issueId,this.note.commentNumber]);this.init.next(this)};
LL.\u0275fac=function(a){return new (a||LL)(A(rH),A(yE))};
LL.\u0275cmp=p({type:LL,selectors:[["b-note-container"]],inputs:{note:"note",issueAccessLevel:"issueAccessLevel",formattingMode:"formattingMode",issueId:"issueId"},outputs:{init:"init"},features:[zf,td],decls:5,vars:2,consts:[["livePreview",""],[1,"bv2-note-container","bv2-event-note"],[1,"bv2-note-container-note"],[3,"formattedComment",4,"ngIf","ngIfElse"],[3,"formattedComment"],[3,"comment","issueId","audience","formattingMode","idPrefix"]],template:function(a,b){a&1&&(F(0,"div",1)(1,"div",2),C(2,
RIa,1,1,"b-formatted-comment-presenter",3),G()(),C(3,SIa,1,5,"ng-template",null,0,yg));if(a&2){a=Q(4);z(2);var c;if(c=b.note.formattedComment)c=b.note.formattedComment,c=!c||b.formattingModeOverride?!1:c.literalFormat&&b.formattingMode==="LITERAL"||c.plainFormat&&b.formattingMode==="PLAIN"||c.markdownFormat&&b.formattingMode==="MARKDOWN"?!0:!1;D("ngIf",c)("ngIfElse",a)}},dependencies:[Gv,DL,JL],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 ML=function(){};ML.\u0275fac=function(a){return new (a||ML)};ML.\u0275mod=dd({type:ML});ML.\u0275inj=Ic({imports:[Lx,zx,zx]});var NL=function(){};NL.\u0275fac=function(a){return new (a||NL)};NL.\u0275mod=dd({type:NL});NL.\u0275inj=Ic({imports:[ww,ZH,Tv,ML,yx]});var OL=function(){};OL.\u0275fac=function(a){return new (a||OL)};OL.\u0275mod=dd({type:OL});OL.\u0275inj=Ic({imports:[BB,mL,NL]});var PL=function(){};PL.\u0275fac=function(a){return new (a||PL)};PL.\u0275mod=dd({type:PL});PL.\u0275inj=Ic({imports:[BB,NL,OL]});var Hdc=new md("GMAT_MENU_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var QL=function(a,b){this.options=a;a.disableGmatStyle||KH(b,"gmat-mdc-menu")};QL.\u0275fac=function(a){return new (a||QL)(A(Hdc),A(vx))};QL.\u0275dir=fd({type:QL,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],features:[qg([{provide:vx,useClass:JH}])]});var Idc=new md("MAT_MENU_PANEL");var Jdc=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],RL=function(a,b,c,d,e){this._elementRef=a;this._document=b;this._focusMonitor=c;this._parentMenu=d;this._changeDetectorRef=e;this.role="menuitem";this.disableRipple=this.disabled=!1;this._hovered=new W.Subject;this._focused=new W.Subject;this._triggersSubmenu=this._highlighted=!1;var f;d==null||(f=d.addItem)==null||f.call(d,this)};g=RL.prototype;
g.focus=function(a,b){this._focusMonitor&&a?fw(this._focusMonitor,this._getHostElement(),a,b):this._getHostElement().focus(b);this._focused.next(this)};g.ngAfterViewInit=function(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)};g.ngOnDestroy=function(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef);this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this);this._hovered.complete();this._focused.complete()};
g._getTabIndex=function(){return this.disabled?"-1":"0"};g._getHostElement=function(){return this._elementRef.nativeElement};g._checkDisabled=function(a){this.disabled&&(a.preventDefault(),a.stopPropagation())};g._handleMouseEnter=function(){this._hovered.next(this)};g.getLabel=function(){for(var a=this._elementRef.nativeElement.cloneNode(!0),b=a.querySelectorAll("mat-icon, .material-icons"),c=0;c<b.length;c++)b[c].remove();var d;return((d=a.textContent)==null?void 0:d.trim())||""};
g._setHighlighted=function(a){this._highlighted=a;var b;(b=this._changeDetectorRef)==null||b.markForCheck()};g._setTriggersSubmenu=function(a){this._triggersSubmenu=a;var b;(b=this._changeDetectorRef)==null||b.markForCheck()};g._hasFocus=function(){return this._document&&this._document.activeElement===this._getHostElement()};RL.\u0275fac=function(a){return new (a||RL)(A(Rd),A(gh),A(ew),A(Idc,8),A(Ig))};
RL.\u0275cmp=p({type:RL,selectors:[["","mat-menu-item",""]],hostAttrs:[1,"mat-mdc-menu-item","mat-mdc-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&&(Bf("role",b.role)("tabindex",b._getTabIndex())("aria-disabled",b.disabled)("disabled",b.disabled||null),Kf("mat-mdc-menu-item-highlighted",b._highlighted)("mat-mdc-menu-item-submenu-trigger",b._triggersSubmenu))},inputs:{role:"role",
disabled:[2,"disabled","disabled",Gg],disableRipple:[2,"disableRipple","disableRipple",Gg]},exportAs:["matMenuItem"],standalone:!0,features:[Af,sg],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&&(Xf(Jdc),Yf(0),F(1,"span",0),Yf(2,1),G(),H(3,"div",1),C(4,TIa,2,0,":svg:svg",2));a&2&&(z(3),D("matRippleDisabled",b.disableRipple||b.disabled)("matRippleTrigger",b._getHostElement()),z(),Of(b._triggersSubmenu?4:-1))},dependencies:[Ix],encapsulation:2,changeDetection:0});var Kdc=ph("transformMenu",[sh("void",rh({opacity:0,transform:"scale(0.8)"})),uh("void => enter",qh("120ms cubic-bezier(0, 0, 0.2, 1)",rh({opacity:1,transform:"scale(1)"}))),uh("* => void",qh("100ms 25ms linear",rh({opacity:0})))]),Ldc=ph("fadeInItems",[sh("showing",rh({opacity:1})),uh("void => *",[rh({opacity:0}),qh("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])]);var Mdc=new md("MatMenuContent"),SL=function(a,b,c,d,e,f,h){this._template=a;this._componentFactoryResolver=b;this._appRef=c;this._injector=d;this._viewContainerRef=e;this._document=f;this._changeDetectorRef=h;this._attached=new W.Subject};
SL.prototype.attach=function(a){a=a===void 0?{}:a;this._portal||(this._portal=new Ow(this._template,this._viewContainerRef));this.detach();this._outlet||(this._outlet=new Qw(this._document.createElement("div"),this._componentFactoryResolver,this._appRef,this._injector));var b=this._template.elementRef.nativeElement;b.parentNode.insertBefore(this._outlet.outletElement,b);var c;(c=this._changeDetectorRef)==null||c.markForCheck();this._portal.attach(this._outlet,a);this._attached.next()};
SL.prototype.detach=function(){this._portal.isAttached&&this._portal.detach()};SL.prototype.ngOnDestroy=function(){this._outlet&&this._outlet.dispose()};SL.\u0275fac=function(a){return new (a||SL)(A(cg),A(tu),A(uv),A(Ae),A(dg),A(gh),A(Ig))};SL.\u0275dir=fd({type:SL,selectors:[["ng-template","matMenuContent",""]],standalone:!0,features:[qg([{provide:Mdc,useExisting:SL}])]});var Ndc=0,Odc=new md("mat-menu-default-options",{providedIn:"root",factory:VIa}),TL=function(a,b,c,d){this._elementRef=a;this._changeDetectorRef=d;this._elevationPrefix="mat-elevation-z";this._baseElevation=8;this._directDescendantItems=new eg;this._classList={};this._panelAnimationState="void";this._animationDone=new W.Subject;this.close=this.closed=new Xu;this.panelId="mat-menu-panel-"+Ndc++;this._injector=Yc(Ae);this.overlayPanelClass=c.overlayPanelClass||"";this._xPosition=c.xPosition;this._yPosition=
c.yPosition;this.backdropClass=c.backdropClass;this.overlapTrigger=c.overlapTrigger;this.hasBackdrop=c.hasBackdrop};g=TL.prototype;g.ngOnInit=function(){this.setPositionClasses()};
g.ngAfterContentInit=function(){var a=this;this._updateDirectDescendants();this._keyManager=Iw(wWb(Fw(new Lw(this._directDescendantItems))));this._keyManager.tabOut.subscribe(function(){return a.closed.emit("tab")});this._directDescendantItems.changes.pipe(of(this._directDescendantItems),pf(function(b){return W.merge.apply(null,r(b.map(function(c){return c._focused})))})).subscribe(function(b){return Jw(a._keyManager,b)});this._directDescendantItems.changes.subscribe(function(b){var c=a._keyManager,
d;a._panelAnimationState==="enter"&&((d=c.activeItem)==null?0:d._hasFocus())&&(b=b.toArray(),d=Math.max(0,Math.min(b.length-1,c.activeItemIndex||0)),b[d]&&!b[d].disabled?c.setActiveItem(d):c.setNextItemActive())})};g.ngOnDestroy=function(){var a;(a=this._keyManager)==null||a.destroy();this._directDescendantItems.destroy();this.closed.complete();var b;(b=this._firstItemFocusRef)==null||b.destroy()};
g._hovered=function(){return this._directDescendantItems.changes.pipe(of(this._directDescendantItems),pf(function(a){return W.merge.apply(null,r(a.map(function(b){return b._hovered})))}))};g.addItem=function(){};g.removeItem=function(){};
g._handleKeydown=function(a){var b=a.keyCode,c=this._keyManager;switch(b){case 27:$g(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||zWb(c,"keyboard");c.onKeydown(a);return}a.stopPropagation()};
var Pdc=function(a,b){b=b===void 0?"program":b;var c;(c=a._firstItemFocusRef)==null||c.destroy();a._firstItemFocusRef=Fe(function(){var d=null;a._directDescendantItems.length&&(d=a._directDescendantItems.first._getHostElement().closest('[role="menu"]'));if(!d||!d.contains(document.activeElement)){var e=a._keyManager;zWb(e,b)._setActiveItemByIndex(0,1);!e.activeItem&&d&&d.focus()}},{injector:a._injector})};g=TL.prototype;
g.setElevation=function(a){a="mat-elevation-z"+Math.min(8+a,24);var b=Object.keys(this._classList).find(function(c){return c.startsWith("mat-elevation-z")});b&&b!==this._previousElevation||(b=Object.assign({},this._classList),this._previousElevation&&(b[this._previousElevation]=!1),b[a]=!0,this._previousElevation=a,this._classList=b)};
g.setPositionClasses=function(a,b){a=a===void 0?this.xPosition:a;b=b===void 0?this.yPosition:b;var c={};this._classList=Object.assign({},this._classList,(c["mat-menu-before"]=a==="before",c["mat-menu-after"]=a==="after",c["mat-menu-above"]=b==="above",c["mat-menu-below"]=b==="below",c));var d;(d=this._changeDetectorRef)==null||d.markForCheck()};g._startAnimation=function(){this._panelAnimationState="enter"};g._resetAnimation=function(){this._panelAnimationState="void"};
g._onAnimationDone=function(a){this._animationDone.next(a);this._isAnimating=!1};g._onAnimationStart=function(a){this._isAnimating=!0;a.toState==="enter"&&this._keyManager.activeItemIndex===0&&(a.element.scrollTop=0)};g._updateDirectDescendants=function(){var a=this;this._allItems.changes.pipe(of(this._allItems)).subscribe(function(b){a._directDescendantItems.reset(b.filter(function(c){return c._parentMenu===a}));ig(a._directDescendantItems)})};
ea.Object.defineProperties(TL.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}}});TL.\u0275fac=function(a){return new (a||TL)(A(Rd),A(ze),A(Odc),A(Ig))};
TL.\u0275cmp=p({type:TL,selectors:[["mat-menu"]],contentQueries:function(a,b,c){a&1&&(gg(c,Mdc,5),gg(c,RL,5),gg(c,RL,4));if(a&2){var d;jg(d=kg())&&(b.lazyContent=d.first);jg(d=kg())&&(b._allItems=d);jg(d=kg())&&(b.items=d)}},viewQuery:function(a,b){a&1&&fg(cg,5);if(a&2){var c;jg(c=kg())&&(b.templateRef=c.first)}},hostVars:3,hostBindings:function(a){a&2&&Bf("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",Gg],hasBackdrop:[2,"hasBackdrop","hasBackdrop",function(a){return a==null?null:Gg(a)}],panelClass:[0,"class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"},exportAs:["matMenu"],standalone:!0,features:[qg([{provide:Idc,useExisting:TL}]),Af,sg],ngContentSelectors:["*"],
decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-mdc-menu-panel","mat-mdc-elevation-specific",3,"keydown","click","id"],[1,"mat-mdc-menu-content"]],template:function(a){a&1&&(Xf(),C(0,UIa,3,7,"ng-template"))},styles:['mat-menu{display:none}.mat-mdc-menu-content{margin:0;padding:8px 0;list-style-type:none}.mat-mdc-menu-content:focus{outline:none}.mat-mdc-menu-content,.mat-mdc-menu-content .mat-mdc-menu-item .mat-mdc-menu-item-text{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;flex:1;white-space:normal;font-family:var(--mat-menu-item-label-text-font);line-height:var(--mat-menu-item-label-text-line-height);font-size:var(--mat-menu-item-label-text-size);letter-spacing:var(--mat-menu-item-label-text-tracking);font-weight:var(--mat-menu-item-label-text-weight)}.mat-mdc-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;box-sizing:border-box;outline:0;border-radius:var(--mat-menu-container-shape);background-color:var(--mat-menu-container-color);will-change:transform,opacity}.mat-mdc-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-mdc-menu-panel{outline:solid 1px}.mat-mdc-menu-panel .mat-divider{color:var(--mat-menu-divider-color);margin-bottom:var(--mat-menu-divider-bottom-spacing);margin-top:var(--mat-menu-divider-top-spacing)}.mat-mdc-menu-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:var(--mat-menu-item-leading-spacing);padding-right:var(--mat-menu-item-trailing-spacing);-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);cursor:pointer;width:100%;text-align:left;box-sizing:border-box;color:inherit;font-size:inherit;background:none;text-decoration:none;margin:0;align-items:center;min-height:48px}.mat-mdc-menu-item:focus{outline:none}[dir=rtl] .mat-mdc-menu-item,.mat-mdc-menu-item[dir=rtl]{padding-left:var(--mat-menu-item-trailing-spacing);padding-right:var(--mat-menu-item-leading-spacing)}.mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon]){padding-left:var(--mat-menu-item-with-icon-leading-spacing);padding-right:var(--mat-menu-item-with-icon-trailing-spacing)}[dir=rtl] .mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon]),.mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon])[dir=rtl]{padding-left:var(--mat-menu-item-with-icon-trailing-spacing);padding-right:var(--mat-menu-item-with-icon-leading-spacing)}.mat-mdc-menu-item::-moz-focus-inner{border:0}.mat-mdc-menu-item,.mat-mdc-menu-item:visited,.mat-mdc-menu-item:link{color:var(--mat-menu-item-label-text-color)}.mat-mdc-menu-item .mat-icon-no-color,.mat-mdc-menu-item .mat-mdc-menu-submenu-icon{color:var(--mat-menu-item-icon-color)}.mat-mdc-menu-item[disabled]{cursor:default;opacity:.38}.mat-mdc-menu-item[disabled]::after{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.mat-mdc-menu-item .mat-icon{flex-shrink:0;margin-right:var(--mat-menu-item-spacing);height:var(--mat-menu-item-icon-size);width:var(--mat-menu-item-icon-size)}[dir=rtl] .mat-mdc-menu-item{text-align:right}[dir=rtl] .mat-mdc-menu-item .mat-icon{margin-right:0;margin-left:var(--mat-menu-item-spacing)}.mat-mdc-menu-item:not([disabled]):hover{background-color:var(--mat-menu-item-hover-state-layer-color)}.mat-mdc-menu-item:not([disabled]).cdk-program-focused,.mat-mdc-menu-item:not([disabled]).cdk-keyboard-focused,.mat-mdc-menu-item:not([disabled]).mat-mdc-menu-item-highlighted{background-color:var(--mat-menu-item-focus-state-layer-color)}.cdk-high-contrast-active .mat-mdc-menu-item{margin-top:1px}.mat-mdc-menu-submenu-icon{width:var(--mat-menu-item-icon-size);height:10px;fill:currentColor;padding-left:var(--mat-menu-item-spacing)}[dir=rtl] .mat-mdc-menu-submenu-icon{padding-right:var(--mat-menu-item-spacing);padding-left:0}[dir=rtl] .mat-mdc-menu-submenu-icon polygon{transform:scaleX(-1)}.cdk-high-contrast-active .mat-mdc-menu-submenu-icon{fill:CanvasText}.mat-mdc-menu-item .mat-mdc-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}\n'],
encapsulation:2,data:{animation:[Kdc,Ldc]},changeDetection:0});var Qdc=new md("mat-menu-scroll-strategy",{providedIn:"root",factory:function(){var a=Yc(vx);return function(){return a.scrollStrategies.reposition()}}}),Rdc={provide:Qdc,deps:[vx],useFactory:function(a){return function(){return a.scrollStrategies.reposition()}}},Sdc=Wg({passive:!0}),UL=function(a,b,c,d,e,f,h,k,q){var t=this;this._overlay=a;this._element=b;this._viewContainerRef=c;this._menuItemInstance=f;this._dir=h;this._focusMonitor=k;this._ngZone=q;this._overlayRef=null;this._menuOpen=!1;this._menuCloseSubscription=
this._hoverSubscription=this._closingActionsSubscription=W.Subscription.EMPTY;this._changeDetectorRef=Yc(Ig);this._handleTouchStart=function(w){xoa(w)||(t._openedBy="touch")};this._openedBy=void 0;this.restoreFocus=!0;this.onMenuOpen=this.menuOpened=new Xu;this.onMenuClose=this.menuClosed=new Xu;this._scrollStrategy=d;this._parentMaterialMenu=e instanceof TL?e:void 0;b.nativeElement.addEventListener("touchstart",this._handleTouchStart,Sdc)};UL.prototype.ngAfterContentInit=function(){this._handleHover()};
UL.prototype.ngOnDestroy=function(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null);this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,Sdc);this._menuCloseSubscription.unsubscribe();this._closingActionsSubscription.unsubscribe();this._hoverSubscription.unsubscribe()};var VL=function(a){return!!(a._menuItemInstance&&a._parentMaterialMenu&&a.menu)};g=UL.prototype;
g.openMenu=function(){var a=this,b=this.menu;if(!this._menuOpen&&b){var c=this._createOverlay(b),d=c.getConfig(),e=d.positionStrategy;this._setPosition(b,e);d.hasBackdrop=b.hasBackdrop==null?!VL(this):b.hasBackdrop;c.attach(this._getPortal(b));b.lazyContent&&b.lazyContent.attach(this.menuData);this._closingActionsSubscription=this._menuClosingActions().subscribe(function(){return a.closeMenu()});this._initMenu(b);b instanceof TL&&(b._startAnimation(),b._directDescendantItems.changes.pipe(qf(b.close)).subscribe(function(){MWb(QWb(e,
!1));QWb(e,!0)}))}};g.closeMenu=function(){var a;(a=this.menu)==null||a.close.emit()};g.focus=function(a,b){this._focusMonitor&&a?fw(this._focusMonitor,this._element,a,b):this._element.nativeElement.focus(b)};g.updatePosition=function(){var a;(a=this._overlayRef)==null||a.updatePosition()};
g._destroyMenu=function(a){var b=this;if(this._overlayRef&&this.menuOpen){var c=this.menu;this._closingActionsSubscription.unsubscribe();this._overlayRef.detach();!this.restoreFocus||a!=="keydown"&&this._openedBy&&VL(this)||this.focus(this._openedBy);this._openedBy=void 0;if(c instanceof TL)c._resetAnimation(),c.lazyContent?c._animationDone.pipe(te(function(e){return e.toState==="void"}),ef(),qf(c.lazyContent._attached)).subscribe({next:function(){return c.lazyContent.detach()},complete:function(){return b._setIsMenuOpen(!1)}}):
this._setIsMenuOpen(!1);else{this._setIsMenuOpen(!1);var d;c==null||(d=c.lazyContent)==null||d.detach()}}};g._initMenu=function(a){a.parentMenu=VL(this)?this._parentMaterialMenu:void 0;a.direction=this.dir;this._setMenuElevation(a);Pdc(a,this._openedBy||"program");this._setIsMenuOpen(!0)};g._setMenuElevation=function(a){if(a.setElevation){for(var b=0,c=a.parentMenu;c;)b++,c=c.parentMenu;a.setElevation(b)}};
g._setIsMenuOpen=function(a){a!==this._menuOpen&&((this._menuOpen=a)?this.menuOpened.emit():this.menuClosed.emit(),VL(this)&&this._menuItemInstance._setHighlighted(a),this._changeDetectorRef.markForCheck())};g._createOverlay=function(a){if(!this._overlayRef){var b=this._getOverlayConfig(a);this._subscribeToPositions(a,b.positionStrategy);this._overlayRef=this._overlay.create(b);this._overlayRef.keydownEvents().subscribe()}return this._overlayRef};
g._getOverlayConfig=function(a){return new mx({positionStrategy:RWb(OWb(QWb(ux(this._overlay.position(),this._element))),".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:a.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:a.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})};
g._subscribeToPositions=function(a,b){var c=this;a.setPositionClasses&&b.positionChanges.subscribe(function(d){var e=d.connectionPair.overlayX==="start"?"after":"before",f=d.connectionPair.overlayY==="top"?"below":"above";c._ngZone?c._ngZone.run(function(){return a.setPositionClasses(e,f)}):a.setPositionClasses(e,f)})};
g._setPosition=function(a,b){var c=l(a.xPosition==="before"?["end","start"]:["start","end"]),d=c.next().value;c=c.next().value;var e=l(a.yPosition==="above"?["bottom","top"]:["top","bottom"]),f=e.next().value;e=e.next().value;var h=l([f,e]),k=h.next().value;h=h.next().value;var q=l([d,c]),t=q.next().value;q=q.next().value;var w=0;VL(this)?(q=d=a.xPosition==="before"?"start":"end",c=t=d==="end"?"start":"end",this._parentMaterialMenu&&(this._parentInnerPadding==null&&(this._parentInnerPadding=(a=this._parentMaterialMenu.items.first)?
a._getHostElement().offsetTop:0),w=f==="bottom"?this._parentInnerPadding:-this._parentInnerPadding)):a.overlapTrigger||(k=f==="top"?"bottom":"top",h=e==="top"?"bottom":"top");px(b,[{originX:d,originY:k,overlayX:t,overlayY:f,offsetY:w},{originX:c,originY:k,overlayX:q,overlayY:f,offsetY:w},{originX:d,originY:h,overlayX:t,overlayY:e,offsetY:-w},{originX:c,originY:h,overlayX:q,overlayY:e,offsetY:-w}])};
g._menuClosingActions=function(){var a=this,b=this._overlayRef.backdropClick(),c=this._overlayRef._detachments,d=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,W.of)(),e=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe(te(function(f){return f!==a._menuItemInstance}),te(function(){return a._menuOpen})):(0,W.of)();return(0,W.merge)(b,d,e,c)};g._handleMousedown=function(a){woa(a)||(this._openedBy=a.button===0?"mouse":void 0,VL(this)&&a.preventDefault())};
g._handleKeydown=function(a){a=a.keyCode;if(a===13||a===32)this._openedBy="keyboard";VL(this)&&(a===39&&this.dir==="ltr"||a===37&&this.dir==="rtl")&&(this._openedBy="keyboard",this.openMenu())};g._handleClick=function(a){VL(this)?(a.stopPropagation(),this.openMenu()):this._menuOpen?this.closeMenu():this.openMenu()};
g._handleHover=function(){var a=this;VL(this)&&this._parentMaterialMenu&&(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe(te(function(b){return b===a._menuItemInstance&&!b.disabled}),cf(0,W.asapScheduler)).subscribe(function(){a._openedBy="mouse";a.menu instanceof TL&&a.menu._isAnimating?a.menu._animationDone.pipe(ef(),cf(0,W.asapScheduler),qf(a._parentMaterialMenu._hovered())).subscribe(function(){return a.openMenu()}):a.openMenu()}))};
g._getPortal=function(a){this._portal&&this._portal.templateRef===a.templateRef||(this._portal=new Ow(a.templateRef,this._viewContainerRef));return this._portal};
ea.Object.defineProperties(UL.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(VL(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"}}});UL.\u0275fac=function(a){return new (a||UL)(A(vx),A(Rd),A(dg),A(Qdc),A(Idc,8),A(RL,10),A(Uw,8),A(ew),A(ze))};
UL.\u0275dir=fd({type:UL,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&&Bf("aria-haspopup",b.menu?"menu":null)("aria-expanded",b.menuOpen)("aria-controls",b.menuOpen?b.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:[0,"mat-menu-trigger-for",
"_deprecatedMatMenuTriggerFor"],menu:[0,"matMenuTriggerFor","menu"],menuData:[0,"matMenuTriggerData","menuData"],restoreFocus:[0,"matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"},exportAs:["matMenuTrigger"],standalone:!0});var WL=function(){this.segments=[];this.clickMain=new XF;this.clickSegment=new XF};WL.prototype.ngOnInit=function(){};ea.Object.defineProperties(WL.prototype,{showMoreButton:{configurable:!0,enumerable:!0,get:function(){return this.segments.length>0}}});WL.\u0275fac=function(a){return new (a||WL)};
WL.\u0275cmp=p({type:WL,selectors:[["b-fab-segmented"]],inputs:{label:"label",icon:"icon",segments:"segments",href:"href"},outputs:{clickMain:"clickMain",clickSegment:"clickSegment"},decls:5,vars:6,consts:[["createMenu","matMenu"],[1,"shrink-wrap"],["mat-button","","role","button",1,"main","button-xl",3,"click"],[1,"icon-xl",3,"svgIcon"],[4,"ngIf"],["mat-button","","aria-label","More options",1,"more","button-xl","square-left",3,"matMenuTriggerFor"],["svgIcon","arrow-dropdown"],["mat-menu-item","",
3,"href","click",4,"ngFor","ngForOf"],["mat-menu-item","",3,"click","href"]],template:function(a,b){a&1&&(F(0,"span",1)(1,"a",2),M("click",function(){return b.clickMain.emit(b.label)}),H(2,"mat-icon",3),R(3),G(),C(4,XIa,6,2,"ng-container",4),G());a&2&&(z(),Kf("square-right",b.showMoreButton),Bf("href",b.href||void 0,Qe),z(),D("svgIcon",b.icon),z(),S(" ",b.label," "),z(),D("ngIf",b.showMoreButton))},dependencies:[Fv,Gv,zB,oE,pE,QL,TL,RL,UL],styles:["[mat-button][_ngcontent-%COMP%]{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-button[_ngcontent-%COMP%]{border-radius:24px}.main[_ngcontent-%COMP%]{padding-left:10px;padding-right:24px}.main.square-right[_ngcontent-%COMP%]{padding-right:8px}.more[_ngcontent-%COMP%]{padding-right:10px;padding-left:4px;min-width:0;color:#80868b;color:var(--gfx-muted)}.more[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{line-height:24px}.more[_ngcontent-%COMP%]:focus, .more[_ngcontent-%COMP%]:hover{color:#202124;color:var(--text-default)}.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 Tdc=function(a,b){return b.value},XL=function(){this.choices=[];this.value="";this.valueChange=new XF};XL.prototype.onClickButton=function(a){this.value=a;this.valueChange.next(a)};XL.\u0275fac=function(a){return new (a||XL)};
XL.\u0275cmp=p({type:XL,selectors:[["button-toggle"]],inputs:{choices:"choices",value:"value"},outputs:{valueChange:"valueChange"},decls:2,vars:0,consts:[["mat-button","","color","primary","role","radio",1,"gmat-button","medium",3,"disableRipple","matTooltip"],["mat-button","","color","primary","role","radio",1,"gmat-button","medium",3,"click","disableRipple","matTooltip"],[1,"icon-s",3,"svgIcon"]],template:function(a,b){a&1&&Qf(0,ZIa,3,5,"button",0,Tdc);a&2&&Rf(b.choices)},dependencies:[zB,oE,LH,
OH],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-button.gmat-button.gmat-button.gmat-button[_ngcontent-%COMP%]{min-width:24px}.gmat-button.gmat-button.gmat-button.gmat-button[aria-checked=true][_ngcontent-%COMP%]{background-color:#1a73e8;background-color:var(--primary-btn-bg);color:#fff;color:var(--text-inverse)}.gmat-button.gmat-button.gmat-button.gmat-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-button.gmat-button.gmat-button.gmat-button[_ngcontent-%COMP%]:first-of-type{border-top-left-radius:4px;border-bottom-left-radius:4px;padding-left:12px}.gmat-button.gmat-button.gmat-button.gmat-button[_ngcontent-%COMP%]:last-of-type{border-top-right-radius:4px;border-bottom-right-radius:4px;padding-right:12px}.gmat-button.gmat-button.gmat-button.gmat-button[_ngcontent-%COMP%]:last-of-type, .gmat-button.gmat-button.gmat-button.gmat-button[aria-checked=true][_ngcontent-%COMP%]{box-shadow:none}\n/*# sourceMappingURL=button_toggle.css.map */"]});var YL=function(){};YL.\u0275fac=function(a){return new (a||YL)};YL.\u0275mod=dd({type:YL});YL.\u0275inj=Ic({providers:[Rdc],imports:[Tv,Lx,zx,yx,jx,zx]});var ZL=function(){};ZL.\u0275fac=function(a){return new (a||ZL)};ZL.\u0275mod=dd({type:ZL});ZL.\u0275inj=Ic({providers:[{provide:vx,useClass:JH}],imports:[YL]});var $L=function(){};$L.\u0275fac=function(a){return new (a||$L)};$L.\u0275mod=dd({type:$L});$L.\u0275inj=Ic({providers:[P9b],imports:[ww,Tv,yx,zx,zx,jx]});var aM=function(){};aM.\u0275fac=function(a){return new (a||aM)};aM.\u0275mod=dd({type:aM});aM.\u0275inj=Ic({imports:[$L]});var Udc=[WL,XL],bM=function(){};bM.\u0275fac=function(a){return new (a||bM)};bM.\u0275mod=dd({type:bM});bM.\u0275inj=Ic({imports:[BB,ML,ZL,aM]});var cM=function(){};cM.prototype.onPressBack=function(){var a;(a=window.history)==null||a.back()};cM.\u0275fac=function(a){return new (a||cM)};
cM.\u0275cmp=p({type:cM,selectors:[["empty-toolbar"]],decls:3,vars:0,consts:[[1,"button-bar","flex-kids-x","align-items-center","border-bottom","padded-s"],["mat-icon-button","","color","primary","matTooltip","Go back","aria-label","Go back",1,"gmat-button",3,"click"],["svgIcon","arrow-backward"]],template:function(a,b){a&1&&(F(0,"section",0)(1,"button",1),M("click",function(){return b.onPressBack()}),H(2,"mat-icon",2),G()())},dependencies:[zB,oE,LH,OH],styles:[".button-bar[_ngcontent-%COMP%] {\n      height: 46px;\n      box-sizing: border-box;\n    }"]});var dM=function(a,b,c){Z.call(this);this.templateRef=a;this.viewContainer=b;this.cdr=c;this.viewContainer.createEmbeddedView(this.templateRef)};X(dM,Z);ea.Object.defineProperties(dM.prototype,{refreshable:{configurable:!0,enumerable:!0,set:function(a){var b=this;a.pipe(qf(this.destroyed$)).subscribe(function(){b.viewContainer.clear();b.viewContainer.createEmbeddedView(b.templateRef);b.cdr.detectChanges()})}}});dM.\u0275fac=function(a){return new (a||dM)(A(cg),A(dg),A(Ig))};
dM.\u0275dir=fd({type:dM,selectors:[["","refreshable",""]],inputs:{refreshable:"refreshable"},features:[zf]});var eM=function(a,b,c){var d=this;this.cdr=a;this.events=b;this.ngZone=c;this.lastOpenPosition=this.width=220;this.hideToggleBtnOnOpen=this.disableToggleBtn=!1;this.direction="ltr";this.widthChanged=new XF;this.widthAtDragStart=this.width;this.startDragging=function(e){d.dragStart=e;d.widthAtDragStart=d.width};this.minSnapWidth=185;this.onMousemove=function(e){d.isDragging&&(d.setWidth(d.widthAtDragStart+(e.pageX-(d.dragStart||0))*(d.isLTR?1:-1)),d.cdr.detectChanges())};this.onMouseup=function(){d.dragStart=
void 0;d.cdr.detectChanges()};this.broadcastWidthChange=Rz(function(e){d.widthChanged.emit(e);d.events.sidebarWidthChanged.next(e)},400);this.trackKeyboardResizing=Rz(function(){Gn("sidebar","resizeKeyboard")},2E3)};eM.prototype.ngOnInit=function(){var a=this;this.ngZone.runOutsideAngular(function(){document.addEventListener("mousemove",a.onMousemove)});document.addEventListener("mouseup",this.onMouseup,!0)};
eM.prototype.ngOnDestroy=function(){document.removeEventListener("mousemove",this.onMousemove);document.removeEventListener("mouseup",this.onMouseup,!0)};var Vdc=function(a,b){var c=a.width+b;c<a.minSnapWidth&&(c=b<0?0:a.minSnapWidth);a.setWidth(c);a.trackKeyboardResizing()};eM.prototype.toggle=function(){this.setWidth(this.isClosed?this.lastOpenPosition:0)};
eM.prototype.setWidth=function(a){var b=this.minSnapWidth;a=a<90?28:a<b?b:Math.min(a,700);a>=this.minSnapWidth&&(this.lastOpenPosition=a);this.width=a;this.broadcastWidthChange(a)};
ea.Object.defineProperties(eM.prototype,{minWidth:{configurable:!0,enumerable:!0,get:function(){return this.minSnapWidth},set:function(a){a=Number(a);Number.isNaN(a)?this.minSnapWidth=185:this.minSnapWidth=a}},size:{configurable:!0,enumerable:!0,get:function(){return this.width},set:function(a){var b=Number(a);a==="open"?b=this.lastOpenPosition:Number.isNaN(b)&&(b=220);this.setWidth(b)}},isLTR:{configurable:!0,enumerable:!0,get:function(){return this.direction==="ltr"}},isClosed:{configurable:!0,
enumerable:!0,get:function(){return this.width<this.minSnapWidth}},toggleButtonLabel:{configurable:!0,enumerable:!0,get:function(){return this.isClosed?"Open Navigation":"Close Navigation"}},isDragging:{configurable:!0,enumerable:!0,get:function(){return this.dragStart!=null}}});eM.\u0275fac=function(a){return new (a||eM)(A(YF,2),A(yE),A(ze))};
eM.\u0275cmp=p({type:eM,selectors:[["b-resizable-sidebar"]],hostVars:2,hostBindings:function(a,b){a&2&&Lf(b.direction)},inputs:{minWidth:"minWidth",disableToggleBtn:"disableToggleBtn",hideToggleBtnOnOpen:"hideToggleBtnOnOpen",direction:"direction",size:"size"},outputs:{widthChanged:"widthChanged"},features:[qg([YF])],ngContentSelectors:["*"],decls:5,vars:12,consts:[["cdkScrollable","",1,"inner",3,"ngClass"],[1,"content"],["tabindex","0","role","slider","aria-label","Resize side navigation bar","aria-orientation",
"horizontal",1,"resizeHandle",3,"mousedown","keyup.arrowleft","keyup.arrowright","keyup.space","keyup.enter","dblclick"],["mat-icon-button","","class","toggleButton xs","matTooltipPosition","right",3,"ngClass","isClosed","matTooltip","click",4,"ngIf"],["mat-icon-button","","matTooltipPosition","right",1,"toggleButton","xs",3,"click","ngClass","matTooltip"],[3,"svgIcon"]],template:function(a,b){a&1&&(Xf(),F(0,"div",0)(1,"div",1),Yf(2),G(),F(3,"div",2),M("mousedown",function(c){return b.startDragging(c.pageX)})("keyup.arrowleft",
function(){return Vdc(b,-10)})("keyup.arrowright",function(){return Vdc(b,10)})("keyup.space",function(){return b.toggle()})("keyup.enter",function(){return b.toggle()})("dblclick",function(){return b.toggle()}),G()(),C(4,$Ia,2,6,"button",3));a&2&&(Jf("width",b.width+"px"),Kf("isDragging",b.isDragging)("isClosed",b.isClosed),D("ngClass",b.direction),z(),Jf("width",b.lastOpenPosition+"px"),z(2),Bf("aria-valuenow",b.width)("aria-valuetext",b.width+" pixels"),z(),D("ngIf",!b.disableToggleBtn&&!(b.hideToggleBtnOnOpen&&
!b.isClosed)))},dependencies:[Ev,Gv,zB,oE,LH,OH,fx],styles:['[_nghost-%COMP%]{position:relative}.inner[_ngcontent-%COMP%]{height:100%;overflow-y:auto;overflow-x:hidden;transition:width .2s cubic-bezier(0.165, 0.84, 0.44, 1);display:flex;flex-direction:column}.inner.ltr[_ngcontent-%COMP%]{border-right:1px solid;border-color:#dadce0;border-color:var(--divider)}.inner.rtl[_ngcontent-%COMP%]{border-left:1px solid;border-color:#dadce0;border-color:var(--divider)}.inner.isDragging[_ngcontent-%COMP%]{transition:none}.content[_ngcontent-%COMP%]{position:relative;flex:1;opacity:1;transition:opacity .1s ease-in-out;transition-delay:.1s}.isClosed[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]{display:none;opacity:0;transition-delay:0s}.isDragging[_ngcontent-%COMP%]{user-select:none}.resizeHandle[_ngcontent-%COMP%]{position:absolute;top:0;bottom:0;width:8px;cursor:col-resize}.ltr[_ngcontent-%COMP%]   .resizeHandle[_ngcontent-%COMP%]{right:0}.rtl[_ngcontent-%COMP%]   .resizeHandle[_ngcontent-%COMP%]{left:0}.toggleButton[_ngcontent-%COMP%]{position:absolute;bottom:0;top:0;margin:auto}.toggleButton.ltr[_ngcontent-%COMP%]{right:2px}.toggleButton.rtl[_ngcontent-%COMP%]{left:2px}.toggleButton.isClosed[_ngcontent-%COMP%]{z-index:2}.toggleButton.isClosed.ltr[_ngcontent-%COMP%]{right:6px}.toggleButton.isClosed.rtl[_ngcontent-%COMP%]{left:6px}.toggleButton[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{transition:transform .2s ease-in-out}.toggleButton.isClosed[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{transform:rotateZ(180deg)}.resizeHandle[_ngcontent-%COMP%]:hover, .resizeHandle[_ngcontent-%COMP%]:focus, .isDragging[_ngcontent-%COMP%]   .resizeHandle[_ngcontent-%COMP%]{background:url("https://www.gstatic.com/buganizer/img/v0/grippy_large.png") no-repeat 1px 50%;background-color:rgba(0,0,0,.04);background-color:var(--hover-bg)}/*# sourceMappingURL=resizable_sidebar.css.map */'],
changeDetection:0});var Wdc=new md("intersectionObserverFactory",{factory:function(){return function(a,b){return new IntersectionObserver(a,b)}}}),Xdc=new md("isScrolledOnScreen",{factory:function(){return{fully:aJa,partially:bJa}}}),fM=function(a,b){this.intersectionObserverBuilder=a;this.isScrolledOnScreen=b};fM.prototype.getObservable=function(a,b){b=b===void 0?!1:b;return window.IntersectionObserver!=null?cJa(a,this.intersectionObserverBuilder,this.isScrolledOnScreen,b):dJa(a,this.isScrolledOnScreen,b)};
fM.\u0275fac=function(a){return new (a||fM)(n(Wdc),n(Xdc))};fM.\u0275prov=Hc({token:fM,factory:fM.\u0275fac,providedIn:"root"});var gM=function(){};gM.prototype.onClick=function(a,b){Ydc(b)&&a.preventDefault()};var Ydc=function(a){if(window.getSelection){var b=window.getSelection();if(b&&!b.isCollapsed&&a.contains(b.focusNode))return!0}return!1};gM.\u0275fac=function(a){return new (a||gM)};gM.\u0275dir=fd({type:gM,selectors:[["","selectionPreventsClick",""]],hostBindings:function(a,b){a&1&&M("click",function(c){return b.onClick(c,c.target)})}});[].concat(r(Udc),[eM,HH]);var hM=function(){};hM.\u0275fac=function(a){return new (a||hM)};hM.\u0275mod=dd({type:hM});hM.\u0275inj=Ic({imports:[BB,ML,aM,jx,bM]});var iM=function(){};iM.\u0275fac=function(a){return new (a||iM)};iM.\u0275mod=dd({type:iM});iM.\u0275inj=Ic({imports:[RH,zx,zx]});var jM=function(){};jM.\u0275fac=function(a){return new (a||jM)};jM.\u0275mod=dd({type:jM});jM.\u0275inj=Ic({providers:[{provide:U9b,useValue:{color:"primary"}}],imports:[iM]});var Zdc=new md("GMAT_FORM_FIELD_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var kM=function(a){this.options=a};kM.\u0275fac=function(a){return new (a||kM)(A(Zdc))};kM.\u0275dir=fd({type:kM,selectors:[["mat-form-field"]],hostVars:2,hostBindings:function(a,b){a&2&&Kf("gmat-mdc-form-field",!b.options.disableGmatStyle)}});var lM=function(){};lM.\u0275fac=function(a){return new (a||lM)};lM.\u0275mod=dd({type:lM});lM.\u0275inj=Ic({imports:[Xy]});var $dc=new md("GMAT_SELECT_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var mM=function(a){this.options=a};mM.\u0275fac=function(a){return new (a||mM)(A($dc))};mM.\u0275dir=fd({type:mM,selectors:[["mat-select"]],hostVars:2,hostBindings:function(a,b){a&2&&Kf("gmat-mdc-select",!b.options.disableGmatStyle)}});var aec=ph("transformPanel",[sh("void",rh({opacity:0,transform:"scale(1, 0.8)"})),uh("void => showing",qh("120ms cubic-bezier(0, 0, 0.2, 1)",rh({opacity:1,transform:"scale(1, 1)"}))),uh("* => void",qh("100ms linear",rh({opacity:0})))]);var bec=["trigger"],cec=["panel"],dec=[[["mat-select-trigger"]],"*"],eec=0,fec=new md("mat-select-scroll-strategy",{providedIn:"root",factory:function(){var a=Yc(vx);return function(){return a.scrollStrategies.reposition()}}}),gec=new md("MAT_SELECT_CONFIG"),hec={provide:fec,deps:[vx],useFactory:function(a){return function(){return a.scrollStrategies.reposition()}}},iec=new md("MatSelectTrigger"),jec=function(a,b){this.source=a;this.value=b},nM=function(a,b,c,d,e,f,h,k,q,t,w,B,E,I){var J=this;this._viewportRuler=
a;this._changeDetectorRef=b;this._elementRef=e;this._dir=f;this._parentFormField=q;this.ngControl=t;this._liveAnnouncer=E;this._defaultOptions=I;this._positions=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"}];
this._panelOpen=!1;this._compareWith=function(na,ya){return na===ya};this._uid="mat-select-"+eec++;this._triggerAriaLabelledBy=null;this._destroy=new W.Subject;this.stateChanges=new W.Subject;this.disableAutomaticLabeling=!0;this._onChange=function(){};this._onTouched=function(){};this._valueId="mat-select-value-"+eec++;this._panelDoneAnimatingStream=new W.Subject;var N;this._overlayPanelClass=((N=this._defaultOptions)==null?void 0:N.overlayPanelClass)||"";this._focused=!1;this.controlType="mat-select";
this.disableRipple=this.disabled=!1;this.tabIndex=0;var P,U;this._hideSingleSelectionIndicator=(U=(P=this._defaultOptions)==null?void 0:P.hideSingleSelectionIndicator)!=null?U:!1;this._multiple=!1;var ba,ma;this.disableOptionCentering=(ma=(ba=this._defaultOptions)==null?void 0:ba.disableOptionCentering)!=null?ma:!1;this.ariaLabel="";this.panelWidth=this._defaultOptions&&typeof this._defaultOptions.panelWidth!=="undefined"?this._defaultOptions.panelWidth:"auto";this._initialized=new W.Subject;this.optionSelectionChanges=
(0,W.defer)(function(){var na=J.options;return na?na.changes.pipe(of(na),pf(function(){return W.merge.apply(null,r(na.map(function(ya){return ya.onSelectionChange})))})):J._initialized.pipe(pf(function(){return J.optionSelectionChanges}))});this.openedChange=new Xu;this._openedStream=this.openedChange.pipe(te(function(na){return na}),y(function(){}));this._closedStream=this.openedChange.pipe(te(function(na){return!na}),y(function(){}));this.selectionChange=new Xu;this.valueChange=new Xu;this._trackedModal=
null;this._skipPredicate=function(na){return J.panelOpen?!1:na.disabled};this.ngControl&&(this.ngControl.valueAccessor=this);(I==null?void 0:I.typeaheadDebounceInterval)!=null&&(this.typeaheadDebounceInterval=I.typeaheadDebounceInterval);this._errorStateTracker=new ZWb(d,t,k,h,this.stateChanges);this._scrollStrategyFactory=B;this._scrollStrategy=this._scrollStrategyFactory();this.tabIndex=parseInt(w)||0;this.id=this.id};g=nM.prototype;
g._scrollOptionIntoView=function(a){var b=this.options.toArray()[a];if(b){var c=this.panel.nativeElement,d=Yoa(a,this.options,this.optionGroups);b=b._getHostElement();c.scrollTop=a===0&&d===1?0:Zoa(b.offsetTop,b.offsetHeight,c.scrollTop,c.offsetHeight)}};g._positioningSettled=function(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)};g._getChangeEvent=function(a){return new jec(this,a)};
g.ngOnInit=function(){var a=this;this._selectionModel=new gx(this.multiple);this.stateChanges.next();this._panelDoneAnimatingStream.pipe(df(),qf(this._destroy)).subscribe(function(){return a._panelDoneAnimating(a.panelOpen)});this._viewportRuler.change().pipe(qf(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(qf(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(of(null),qf(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&&wWb(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=IYb(this._parentFormField)),this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._applyModalPanelOwnership(),this._panelOpen=!0,Hw(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&&fh(this._trackedModal,"aria-owns",b);Foa(a,"aria-owns",b);this._trackedModal=a}};g._clearFromModal=function(){this._trackedModal&&(fh(this._trackedModal,"aria-owns",this.id+"-panel"),this._trackedModal=null)};
g.close=function(){this._panelOpen&&(this._panelOpen=!1,Hw(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._pressedLetters.length>0||b!==13&&b!==32||$g(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._pressedLetters.length>0;if(d&&a.altKey)a.preventDefault(),this.close();else if(e||c!==13&&c!==32||!b.activeItem||$g(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;(a=this._keyManager)!=null&&(a._pressedLetters=[]);this.disabled||this.panelOpen||(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())};
g._onAttached=function(){var a=this;this._overlayDir.positionChange.pipe(ef()).subscribe(function(){a._changeDetectorRef.detectChanges();a._positioningSettled()})};g._getPanelTheme=function(){return this._parentFormField?"mat-"+this._parentFormField.color:""};g._initializeSelection=function(){var a=this;Promise.resolve().then(function(){a.ngControl&&(a._value=a.ngControl.value);a._setSelectionByValue(a._value);a.stateChanges.next()})};
g._setSelectionByValue=function(a){var b=this;this.options.forEach(function(c){return c.setInactiveStyles()});this._selectionModel.clear();this.multiple&&a?(Array.isArray(a),a.forEach(function(c){return b._selectOptionByValue(c)}),this._sortValues()):(a=this._selectOptionByValue(a))?Jw(this._keyManager,a):this.panelOpen||Jw(this._keyManager,-1);this._changeDetectorRef.markForCheck()};
g._selectOptionByValue=function(a){var b=this,c=this.options.find(function(d){if(b._selectionModel.isSelected(d))return!1;try{return d.value!=null&&b._compareWith(d.value,a)}catch(e){return!1}});c&&this._selectionModel.select(c);return c};g._assignValue=function(a){return a!==this._value||this._multiple&&Array.isArray(a)?(this.options&&this._setSelectionByValue(a),this._value=a,!0):!1};
g._getOverlayWidth=function(a){return this.panelWidth==="auto"?(a instanceof wx?a.elementRef:a||this._elementRef).nativeElement.getBoundingClientRect().width:this.panelWidth===null?"":this.panelWidth};g._syncParentProperties=function(){if(this.options)for(var a=l(this.options),b=a.next();!b.done;b=a.next())b.value._changeDetectorRef.markForCheck()};
g._initKeyManager=function(){var a=this;this._keyManager=Ew(vWb(xWb(Iw(Hw(Gw(wWb(new Kw(this.options),this.typeaheadDebounceInterval)),this._isRtl()?"rtl":"ltr")))),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=(0,W.merge)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(qf(b)).subscribe(function(c){a._onSelect(c.source,c.isUserInput);c.isUserInput&&!a.multiple&&a._panelOpen&&(a.close(),a.focus())});W.merge.apply(null,r(this.options.map(function(c){return c._stateChanges}))).pipe(qf(b)).subscribe(function(){a._changeDetectorRef.detectChanges();a.stateChanges.next()})};
g._onSelect=function(a,b){var c=this._selectionModel.isSelected(a);a.value!=null||this._multiple?(c!==a.selected&&(a.selected?this._selectionModel.select(a):this._selectionModel.deselect(a)),b&&this._keyManager.setActiveItem(a),this.multiple&&(this._sortValues(),b&&this.focus())):(a.deselect(),this._selectionModel.clear(),this.value!=null&&this._propagateChanges(a.value));c!==this._selectionModel.isSelected(a)&&this._propagateChanges();this.stateChanges.next()};
g._sortValues=function(){var a=this;if(this.multiple){var b=this.options.toArray();this._selectionModel.sort(function(c,d){return a.sortComparator?a.sortComparator(c,d,b):b.indexOf(c)-b.indexOf(d)});this.stateChanges.next()}};g._propagateChanges=function(a){var b;this.multiple?b=this.selected.map(function(c){return c.value}):b=this.selected?this.selected.value:a;this._value=b;this.valueChange.emit(b);this._onChange(b);this.selectionChange.emit(this._getChangeEvent(b));this._changeDetectorRef.markForCheck()};
g._highlightCorrectOption=function(){if(this._keyManager)if(this.empty){for(var a=-1,b=0;b<this.options.length;b++)if(!this.options.get(b).disabled){a=b;break}this._keyManager.setActiveItem(a)}else this._keyManager.setActiveItem(this._selectionModel.selected[0])};g._canOpen=function(){var a;return!this._panelOpen&&!this.disabled&&((a=this.options)==null?void 0:a.length)>0};g.focus=function(a){this._elementRef.nativeElement.focus(a)};
g._getPanelAriaLabelledby=function(){if(this.ariaLabel)return null;var a,b=(a=this._parentFormField)==null?void 0:a.getLabelId();return this.ariaLabelledby?(b?b+" ":"")+this.ariaLabelledby:b};g._getAriaActiveDescendant=function(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null};
g._getTriggerAriaLabelledby=function(){if(this.ariaLabel)return null;var a,b=(a=this._parentFormField)==null?void 0:a.getLabelId();a=(b?b+" ":"")+this._valueId;this.ariaLabelledby&&(a+=" "+this.ariaLabelledby);return a};g._panelDoneAnimating=function(a){this.openedChange.emit(a)};g.setDescribedByIds=function(a){a.length?this._elementRef.nativeElement.setAttribute("aria-describedby",a.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")};
g.onContainerClick=function(){this.focus();this.open()};
ea.Object.defineProperties(nM.prototype,{focused:{configurable:!0,enumerable:!0,get:function(){return this._focused||this._panelOpen}},hideSingleSelectionIndicator:{configurable:!0,enumerable:!0,get:function(){return this._hideSingleSelectionIndicator},set:function(a){this._hideSingleSelectionIndicator=a;this._syncParentProperties()}},placeholder:{configurable:!0,enumerable:!0,get:function(){return this._placeholder},set:function(a){this._placeholder=a;this.stateChanges.next()}},required:{configurable:!0,
enumerable:!0,get:function(){var a,b,c,d;return(d=(c=this._required)!=null?c:(a=this.ngControl)==null?void 0:(b=a.control)==null?void 0:$Xb(b))!=null?d:!1},set:function(a){this._required=a;this.stateChanges.next()}},multiple:{configurable:!0,enumerable:!0,get:function(){return this._multiple},set:function(a){this._multiple=a}},compareWith:{configurable:!0,enumerable:!0,get:function(){return this._compareWith},set:function(a){this._compareWith=a;this._selectionModel&&this._initializeSelection()}},
value:{configurable:!0,enumerable:!0,get:function(){return this._value},set:function(a){this._assignValue(a)&&this._onChange(a)}},errorStateMatcher:{configurable:!0,enumerable:!0,get:function(){return this._errorStateTracker.matcher},set:function(a){this._errorStateTracker.matcher=a}},id:{configurable:!0,enumerable:!0,get:function(){return this._id},set:function(a){this._id=a||this._uid;this.stateChanges.next()}},errorState:{configurable:!0,enumerable:!0,get:function(){return this._errorStateTracker.errorState},
set:function(a){this._errorStateTracker.errorState=a}},panelOpen:{configurable:!0,enumerable:!0,get:function(){return this._panelOpen}},selected:{configurable:!0,enumerable:!0,get:function(){var a,b;return this.multiple?((a=this._selectionModel)==null?void 0:a.selected)||[]:(b=this._selectionModel)==null?void 0:b.selected[0]}},triggerValue:{configurable:!0,enumerable:!0,get:function(){if(this.empty)return"";if(this._multiple){var a=this._selectionModel.selected.map(function(b){return b.viewValue});
this._isRtl()&&a.reverse();return a.join(", ")}return this._selectionModel.selected[0].viewValue}},empty:{configurable:!0,enumerable:!0,get:function(){return!this._selectionModel||this._selectionModel.isEmpty()}},shouldLabelFloat:{configurable:!0,enumerable:!0,get:function(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}}});nM.\u0275fac=function(a){return new (a||nM)(A(ix),A(Ig),A(ze),A(Fx),A(Rd),A(Uw,8),A(wy,8),A(Ey,8),A(FYb,8),A(oy,10),Jd("tabindex"),A(fec),A(vw),A(gec,8))};
nM.\u0275cmp=p({type:nM,selectors:[["mat-select"]],contentQueries:function(a,b,c){a&1&&(gg(c,iec,5),gg(c,Kx,5),gg(c,bXb,5));if(a&2){var d;jg(d=kg())&&(b.customTrigger=d.first);jg(d=kg())&&(b.options=d);jg(d=kg())&&(b.optionGroups=d)}},viewQuery:function(a,b){a&1&&(fg(bec,5),fg(cec,5),fg(xx,5));if(a&2){var c;jg(c=kg())&&(b.trigger=c.first);jg(c=kg())&&(b.panel=c.first);jg(c=kg())&&(b._overlayDir=c.first)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","listbox",1,"mat-mdc-select"],
hostVars:19,hostBindings:function(a,b){a&1&&M("keydown",function(c){return b._handleKeydown(c)})("focus",function(){return b._onFocus()})("blur",function(){return b._onBlur()});a&2&&(Bf("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()),
Kf("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",Gg],disableRipple:[2,"disableRipple","disableRipple",Gg],tabIndex:[2,"tabIndex","tabIndex",function(a){return a==null?0:Hg(a)}],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator",
"hideSingleSelectionIndicator",Gg],placeholder:"placeholder",required:[2,"required","required",Gg],multiple:[2,"multiple","multiple",Gg],disableOptionCentering:[2,"disableOptionCentering","disableOptionCentering",Gg],compareWith:"compareWith",value:"value",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:[2,"typeaheadDebounceInterval","typeaheadDebounceInterval",Hg],sortComparator:"sortComparator",
id:"id",panelWidth:"panelWidth"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],standalone:!0,features:[qg([{provide:Ry,useExisting:nM},{provide:aXb,useExisting:nM}]),Af,td,sg],ngContentSelectors:["mat-select-trigger","*"],decls:11,vars:8,consts:[["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],["panel",""],["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],
[1,"mat-mdc-select-value"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-value-text"],[1,"mat-mdc-select-arrow-wrapper"],[1,"mat-mdc-select-arrow"],"viewBox;0 0 24 24;width;24px;height;24px;focusable;false;aria-hidden;true".split(";"),["d","M7 10l5 5 5-5z"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"backdropClick","attach","detach","cdkConnectedOverlayPanelClass",
"cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",3,"keydown","ngClass"]],template:function(a,b){if(a&1){var c=u();Xf(dec);F(0,"div",2,0);M("click",function(){v(c);return x(b.open())});F(3,"div",3);C(4,eJa,2,1,"span",4)(5,hJa,3,1,"span",5);G();F(6,"div",6)(7,"div",7);Gd();F(8,"svg",8);H(9,"path",9);G()()()();C(10,iJa,3,9,"ng-template",10);
M("backdropClick",function(){v(c);return x(b.close())})("attach",function(){v(c);return x(b._onAttached())})("detach",function(){v(c);return x(b.close())})}a&2&&(a=Q(1),z(3),Bf("id",b._valueId),z(),Of(b.empty?4:5),z(6),D("cdkConnectedOverlayPanelClass",b._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",b._scrollStrategy)("cdkConnectedOverlayOrigin",b._preferredOverlayOrigin||a)("cdkConnectedOverlayOpen",b.panelOpen)("cdkConnectedOverlayPositions",b._positions)("cdkConnectedOverlayWidth",b._overlayWidth))},
dependencies:[wx,xx,Ev],styles:['.mat-mdc-select{display:inline-block;width:100%;outline:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-select-enabled-trigger-text-color);font-family:var(--mat-select-trigger-text-font);line-height:var(--mat-select-trigger-text-line-height);font-size:var(--mat-select-trigger-text-size);font-weight:var(--mat-select-trigger-text-weight);letter-spacing:var(--mat-select-trigger-text-tracking)}div.mat-mdc-select-panel{box-shadow:var(--mat-select-container-elevation-shadow)}.mat-mdc-select-disabled{color:var(--mat-select-disabled-trigger-text-color)}.mat-mdc-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-mdc-select-disabled .mat-mdc-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-mdc-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-mdc-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-mdc-select-arrow-wrapper{height:24px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper{transform:none}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-invalid .mat-mdc-select-arrow,.mat-form-field-invalid:not(.mat-form-field-disabled) .mat-mdc-form-field-infix::after{color:var(--mat-select-invalid-arrow-color)}.mat-mdc-select-arrow{width:10px;height:5px;position:relative;color:var(--mat-select-enabled-arrow-color)}.mat-mdc-form-field.mat-focused .mat-mdc-select-arrow{color:var(--mat-select-focused-arrow-color)}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-disabled .mat-mdc-select-arrow{color:var(--mat-select-disabled-arrow-color)}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:GrayText}div.mat-mdc-select-panel{width:100%;max-height:275px;outline:0;overflow:auto;padding:8px 0;border-radius:4px;box-sizing:border-box;position:static;background-color:var(--mat-select-panel-background-color)}.cdk-high-contrast-active div.mat-mdc-select-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) div.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above div.mat-mdc-select-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:bottom center}div.mat-mdc-select-panel .mat-mdc-option{--mdc-list-list-item-container-color: var(--mat-select-panel-background-color)}.mat-mdc-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);color:var(--mat-select-placeholder-text-color)}._mat-animation-noopable .mat-mdc-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-mdc-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-mdc-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper{cursor:pointer}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mat-mdc-floating-label{max-width:calc(100% - 18px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 24px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-text-field--label-floating .mdc-notched-outline__notch{max-width:calc(100% - 24px)}.mat-mdc-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}.mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper{transform:var(--mat-select-arrow-transform)}\n'],
encapsulation:2,data:{animation:[aec]},changeDetection:0});var oM=function(){};oM.\u0275fac=function(a){return new (a||oM)};oM.\u0275dir=fd({type:oM,selectors:[["mat-select-trigger"]],standalone:!0,features:[qg([{provide:iec,useExisting:oM}])]});var pM=function(){};pM.\u0275fac=function(a){return new (a||pM)};pM.\u0275mod=dd({type:pM});pM.\u0275inj=Ic({providers:[hec],imports:[Tv,yx,Nx,zx,jx,Xy,Nx,zx]});var kec={provide:gec,deps:[[new ru,new su,new mTb(gec)],[new ru,new mTb($dc)]],useFactory:function(a,b){return!b||b.disableGmatStyle?a||{}:a?(b=ah(a.overlayPanelClass).concat("gmat-mdc-select"),Object.assign({},a,{overlayPanelClass:b})):{overlayPanelClass:"gmat-mdc-select"}}},qM=function(){};qM.\u0275fac=function(a){return new (a||qM)};qM.\u0275mod=dd({type:qM});qM.\u0275inj=Ic({providers:[kec],imports:[pM,lM]});var lec=new md("GMAT_SNACK_BAR_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var rM=function(a,b,c,d,e,f,h){h.disableGmatStyle||KH(a,"gmat-mdc-snack-bar");XD.call(this,a,b,c,d,e,f)};X(rM,XD);rM.\u0275fac=function(a){return new (a||rM)(n(vx),n(vw),n(Ae),n(pw),n(XD,12),n(K5b),n(lec))};rM.\u0275prov=Hc({token:rM,factory:rM.\u0275fac});var sM=function(){};sM.\u0275fac=function(a){return new (a||sM)};sM.\u0275mod=dd({type:sM});sM.\u0275inj=Ic({providers:[{provide:XD,useClass:rM},{provide:vx,useClass:JH}],imports:[YD]});var mec=new md("GMAT_TABS_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1,appearance:"primary"}}});var nec=function(a){this._items=a};nec.prototype.hide=function(){this._items.forEach(function(a){return oec(a)})};
var qec=function(a,b){var c=a._items.find(function(h){return h.elementRef.nativeElement===b}),d=a._currentItem;if(c!==d&&(d==null||oec(d),c)){var e,f;d=d==null?void 0:(f=(e=d.elementRef.nativeElement).getBoundingClientRect)==null?void 0:f.call(e);pec(c,d);a._currentItem=c}},tM=function(){this._elementRef=Yc(Rd);this._fitToContent=!1},pec=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")},oec=function(a){a._elementRef.nativeElement.classList.remove("mdc-tab-indicator--active")};tM.prototype.ngOnInit=function(){this._createInkBarElement()};
tM.prototype.ngOnDestroy=function(){var a;(a=this._inkBarElement)==null||a.remove();this._inkBarElement=this._inkBarContentElement=null};tM.prototype._createInkBarElement=function(){var a=this._elementRef.nativeElement.ownerDocument||document,b=this._inkBarElement=a.createElement("span");a=this._inkBarContentElement=a.createElement("span");b.className="mdc-tab-indicator";a.className="mdc-tab-indicator__content mdc-tab-indicator__content--underline";b.appendChild(this._inkBarContentElement);this._appendInkBarElement()};
tM.prototype._appendInkBarElement=function(){(this._fitToContent?this._elementRef.nativeElement.querySelector(".mdc-tab__content"):this._elementRef.nativeElement).appendChild(this._inkBarElement)};ea.Object.defineProperties(tM.prototype,{fitInkBarToContent:{configurable:!0,enumerable:!0,get:function(){return this._fitToContent},set:function(a){this._fitToContent!==a&&(this._fitToContent=a,this._inkBarElement&&this._appendInkBarElement())}}});tM.\u0275fac=function(a){return new (a||tM)};
tM.\u0275dir=fd({type:tM,inputs:{fitInkBarToContent:[2,"fitInkBarToContent","fitInkBarToContent",Gg]},features:[Af]});new md("MatInkBarPositioner",{providedIn:"root",factory:function(){return function(a){return{left:a?(a.offsetLeft||0)+"px":"0",width:a?(a.offsetWidth||0)+"px":"0"}}}});var rec=new md("MatTabContent"),uM=function(a){this.template=a};uM.\u0275fac=function(a){return new (a||uM)(A(cg))};uM.\u0275dir=fd({type:uM,selectors:[["","matTabContent",""]],standalone:!0,features:[qg([{provide:rec,useExisting:uM}])]});var sec=ph("translateTab",[sh("center, void, left-origin-center, right-origin-center",rh({transform:"none"})),sh("left",rh({transform:"translate3d(-100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),sh("right",rh({transform:"translate3d(100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),uh("* => left, * => right, left => center, right => center",qh("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),uh("void => left-origin-center",[rh({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"}),
qh("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),uh("void => right-origin-center",[rh({transform:"translate3d(100%, 0, 0)",visibility:"hidden"}),qh("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])]);var tec=function(a){return{animationDuration:a}},uec=function(a,b){return{value:a,params:b}},vM=function(a,b,c,d){Sw.call(this,a,b,d);this._host=c;this._leavingSub=this._centeringSub=W.Subscription.EMPTY};X(vM,Sw);
vM.prototype.ngOnInit=function(){var a=this;Sw.prototype.ngOnInit.call(this);this._centeringSub=this._host._beforeCentering.pipe(of(this._host._isCenterPosition(this._host._position))).subscribe(function(b){b&&!a.hasAttached()&&a.attach(a._host._content)});this._leavingSub=this._host._afterLeavingCenter.subscribe(function(){a._host.preserveContent||a.detach()})};vM.prototype.ngOnDestroy=function(){Sw.prototype.ngOnDestroy.call(this);this._centeringSub.unsubscribe();this._leavingSub.unsubscribe()};
vM.\u0275fac=function(a){return new (a||vM)(A(tu),A(dg),A(Uc(function(){return wM})),A(gh))};vM.\u0275dir=fd({type:vM,selectors:[["","matTabBodyHost",""]],standalone:!0,features:[zf]});
var wM=function(a,b,c){var d=this;this._elementRef=a;this._dir=b;this._dirChangeSubscription=W.Subscription.EMPTY;this._translateTabComplete=new W.Subject;this._onCentering=new Xu;this._beforeCentering=new Xu;this._afterLeavingCenter=new Xu;this._onCentered=new Xu(!0);this.animationDuration="500ms";this.preserveContent=!1;b&&(this._dirChangeSubscription=b.change.subscribe(function(e){d._computePositionAnimationState(e);c.markForCheck()}));this._translateTabComplete.pipe(df(function(e,f){return e.fromState===
f.fromState&&e.toState===f.toState})).subscribe(function(e){d._isCenterPosition(e.toState)&&d._isCenterPosition(d._position)&&d._onCentered.emit();d._isCenterPosition(e.fromState)&&!d._isCenterPosition(d._position)&&d._afterLeavingCenter.emit()})};g=wM.prototype;g.ngOnInit=function(){this._position=="center"&&this.origin!=null&&(this._position=this._computePositionFromOrigin(this.origin))};g.ngOnDestroy=function(){this._dirChangeSubscription.unsubscribe();this._translateTabComplete.complete()};
g._onTranslateTabStarted=function(a){a=this._isCenterPosition(a.toState);this._beforeCentering.emit(a);a&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)};g._getLayoutDirection=function(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"};g._isCenterPosition=function(a){return a=="center"||a=="left-origin-center"||a=="right-origin-center"};
g._computePositionAnimationState=function(a){a=a===void 0?this._getLayoutDirection():a;this._position=this._positionIndex<0?a=="ltr"?"left":"right":this._positionIndex>0?a=="ltr"?"right":"left":"center"};g._computePositionFromOrigin=function(a){var b=this._getLayoutDirection();return b=="ltr"&&a<=0||b=="rtl"&&a>0?"left-origin-center":"right-origin-center"};ea.Object.defineProperties(wM.prototype,{position:{configurable:!0,enumerable:!0,set:function(a){this._positionIndex=a;this._computePositionAnimationState()}}});
wM.\u0275fac=function(a){return new (a||wM)(A(Rd),A(Uw,8),A(Ig))};
wM.\u0275cmp=p({type:wM,selectors:[["mat-tab-body"]],viewQuery:function(a,b){a&1&&fg(Sw,5);if(a&2){var c;jg(c=kg())&&(b._portalHost=c.first)}},hostAttrs:[1,"mat-mdc-tab-body"],inputs:{_content:[0,"content","_content"],origin:"origin",animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"},standalone:!0,features:[sg],decls:3,
vars:6,consts:[["content",""],["cdkScrollable","",1,"mat-mdc-tab-body-content"],["matTabBodyHost",""]],template:function(a,b){if(a&1){var c=u();F(0,"div",1,0);M("@translateTab.start",function(d){v(c);return x(b._onTranslateTabStarted(d))})("@translateTab.done",function(d){v(c);return x(b._translateTabComplete.next(d))});C(2,jJa,0,0,"ng-template",2);G()}a&2&&D("@translateTab",vg(3,uec,b._position,ug(1,tec,b.animationDuration)))},dependencies:[vM,fx],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:[sec]}});var vec=new md("MAT_TABS_CONFIG");var wec=Wg({passive:!0}),xM=function(a,b,c,d,e,f,h){var k=this;this._elementRef=a;this._changeDetectorRef=b;this._viewportRuler=c;this._dir=d;this._ngZone=e;this._platform=f;this._animationMode=h;this._scrollDistance=0;this._selectedIndexChanged=!1;this._destroyed=new W.Subject;this._showPaginationControls=!1;this._disableScrollBefore=this._disableScrollAfter=!0;this._stopScrolling=new W.Subject;this.disablePagination=!1;this._selectedIndex=0;this.selectFocusedIndex=new Xu;this.indexFocused=new Xu;
this._sharedResizeObserver=Yc(Sy);this._injector=Yc(Ae);e.runOutsideAngular(function(){(0,W.fromEvent)(a.nativeElement,"mouseleave").pipe(qf(k._destroyed)).subscribe(function(){k._stopInterval()})})};g=xM.prototype;g.ngAfterViewInit=function(){var a=this;(0,W.fromEvent)(this._previousPaginator.nativeElement,"touchstart",wec).pipe(qf(this._destroyed)).subscribe(function(){a._handlePaginatorPress("before")});(0,W.fromEvent)(this._nextPaginator.nativeElement,"touchstart",wec).pipe(qf(this._destroyed)).subscribe(function(){a._handlePaginatorPress("after")})};
g.ngAfterContentInit=function(){var a=this,b=this._dir?this._dir.change:(0,W.of)("ltr"),c=this._sharedResizeObserver.observe(this._elementRef.nativeElement).pipe(bf(32),qf(this._destroyed)),d=this._viewportRuler.change(150).pipe(qf(this._destroyed)),e=function(){a.updatePagination();a._alignInkBarToSelectedTab()};this._keyManager=Ew(Fw(Iw(Hw(new Lw(this._items),this._getLayoutDirection()))),function(){return!1});Jw(this._keyManager,this._selectedIndex);Fe(e,{injector:this._injector});(0,W.merge)(b,
d,c,this._items.changes,this._itemsResized()).pipe(qf(this._destroyed)).subscribe(function(){a._ngZone.run(function(){Promise.resolve().then(function(){a._scrollDistance=Math.max(0,Math.min(a._getMaxScrollDistance(),a._scrollDistance));e()})});Hw(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"?W.EMPTY:this._items.changes.pipe(of(this._items),pf(function(b){return new W.Observable(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()}})})}),nf(1),te(function(b){return b.some(function(c){return c.contentRect.width>0&&c.contentRect.height>0})}))};
g.ngAfterContentChecked=function(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck());this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck());this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())};
g.ngOnDestroy=function(){var a;(a=this._keyManager)==null||a.destroy();this._destroyed.next();this._destroyed.complete();this._stopScrolling.complete()};g._handleKeydown=function(a){if(!$g(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)?qec(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(),(0,W.timer)(650,100).pipe(qf((0,W.merge)(this._stopScrolling,this._destroyed))).subscribe(function(){var d=c._scrollHeader(a),e=d.maxScrollDistance;d=d.distance;(d===0||d>=e)&&c._stopInterval()}))};
g._scrollTo=function(a){if(this.disablePagination)return{maxScrollDistance:0,distance:0};var b=this._getMaxScrollDistance();this._scrollDistance=Math.max(0,Math.min(b,a));this._scrollDistanceChanged=!0;this._checkScrollingControls();return{maxScrollDistance:b,distance:this._scrollDistance}};
ea.Object.defineProperties(xM.prototype,{selectedIndex:{configurable:!0,enumerable:!0,get:function(){return this._selectedIndex},set:function(a){a=isNaN(a)?0:a;this._selectedIndex!=a&&(this._selectedIndexChanged=!0,this._selectedIndex=a,this._keyManager&&Jw(this._keyManager,a))}},focusIndex:{configurable:!0,enumerable:!0,get:function(){return this._keyManager?this._keyManager.activeItemIndex:0},set:function(a){this._isValidIndex(a)&&this.focusIndex!==a&&this._keyManager&&this._keyManager.setActiveItem(a)}},
scrollDistance:{configurable:!0,enumerable:!0,get:function(){return this._scrollDistance},set:function(a){this._scrollTo(a)}}});xM.\u0275fac=function(a){return new (a||xM)(A(Rd),A(Ig),A(ix),A(Uw,8),A(ze),A($v),A(vu,8))};xM.\u0275dir=fd({type:xM,inputs:{disablePagination:[2,"disablePagination","disablePagination",Gg],selectedIndex:[2,"selectedIndex","selectedIndex",Hg]},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[Af]});var yM=function(a){tM.call(this);this.elementRef=a;this.disabled=!1};X(yM,tM);yM.prototype.focus=function(){this.elementRef.nativeElement.focus()};yM.\u0275fac=function(a){return new (a||yM)(A(Rd))};yM.\u0275dir=fd({type:yM,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(a,b){a&2&&(Bf("aria-disabled",!!b.disabled),Kf("mat-mdc-tab-disabled",b.disabled))},inputs:{disabled:[2,"disabled","disabled",Gg]},standalone:!0,features:[Af,zf]});var xec=["tabListContainer"],yec=["tabList"],zec=["tabListInner"],Aec=["nextPaginator"],Bec=["previousPaginator"],zM=function(a,b,c,d,e,f,h){xM.call(this,a,b,c,d,e,f,h);this.disableRipple=!1};X(zM,xM);zM.\u0275dir=xM.\u0275dir;zM.prototype.ngAfterContentInit=function(){this._inkBar=new nec(this._items);xM.prototype.ngAfterContentInit.call(this)};zM.prototype._itemSelected=function(a){a.preventDefault()};zM.\u0275fac=function(a){return new (a||zM)(A(Rd),A(Ig),A(ix),A(Uw,8),A(ze),A($v),A(vu,8))};
zM.\u0275cmp=p({type:zM,selectors:[["mat-tab-header"]],contentQueries:function(a,b,c){a&1&&gg(c,yM,4);if(a&2){var d;jg(d=kg())&&(b._items=d)}},viewQuery:function(a,b){a&1&&(fg(xec,7),fg(yec,7),fg(zec,7),fg(Aec,5),fg(Bec,5));if(a&2){var c;jg(c=kg())&&(b._tabListContainer=c.first);jg(c=kg())&&(b._tabList=c.first);jg(c=kg())&&(b._tabListInner=c.first);jg(c=kg())&&(b._nextPaginator=c.first);jg(c=kg())&&(b._previousPaginator=c.first)}},hostAttrs:[1,"mat-mdc-tab-header"],hostVars:4,hostBindings:function(a,
b){a&2&&Kf("mat-mdc-tab-header-pagination-controls-enabled",b._showPaginationControls)("mat-mdc-tab-header-rtl",b._getLayoutDirection()=="rtl")},inputs:{disableRipple:[2,"disableRipple","disableRipple",Gg]},standalone:!0,features:[Af,zf,sg],ngContentSelectors:["*"],decls:13,vars:10,consts:[["previousPaginator",""],["tabListContainer",""],["tabList",""],["tabListInner",""],["nextPaginator",""],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-before",
3,"click","mousedown","touchend","matRippleDisabled","disabled"],[1,"mat-mdc-tab-header-pagination-chevron"],[1,"mat-mdc-tab-label-container",3,"keydown"],["role","tablist",1,"mat-mdc-tab-list",3,"cdkObserveContent"],[1,"mat-mdc-tab-labels"],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-after",3,"mousedown","click","touchend","matRippleDisabled","disabled"]],template:function(a,b){if(a&1){var c=u();Xf();F(0,"button",
5,0);M("click",function(){v(c);return x(b._handlePaginatorClick("before"))})("mousedown",function(d){v(c);return x(b._handlePaginatorPress("before",d))})("touchend",function(){v(c);return x(b._stopInterval())});H(2,"div",6);G();F(3,"div",7,1);M("keydown",function(d){v(c);return x(b._handleKeydown(d))});F(5,"div",8,2);M("cdkObserveContent",function(){v(c);return x(b._onContentChanges())});F(7,"div",9,3);Yf(9);G()()();F(10,"button",10,4);M("mousedown",function(d){v(c);return x(b._handlePaginatorPress("after",
d))})("click",function(){v(c);return x(b._handlePaginatorClick("after"))})("touchend",function(){v(c);return x(b._stopInterval())});H(12,"div",6);G()}a&2&&(Kf("mat-mdc-tab-header-pagination-disabled",b._disableScrollBefore),D("matRippleDisabled",b._disableScrollBefore||b.disableRipple)("disabled",b._disableScrollBefore||null),z(3),Kf("_mat-animation-noopable",b._animationMode==="NoopAnimations"),z(7),Kf("mat-mdc-tab-header-pagination-disabled",b._disableScrollAfter),D("matRippleDisabled",b._disableScrollAfter||
b.disableRipple)("disabled",b._disableScrollAfter||null))},dependencies:[Ix,tw],styles:[".mat-mdc-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mdc-tab-indicator .mdc-tab-indicator__content{transition-duration:var(--mat-tab-animation-duration, 250ms)}.mat-mdc-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-mdc-tab-header-pagination::-moz-focus-inner{border:0}.mat-mdc-tab-header-pagination .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-header-pagination-controls-enabled .mat-mdc-tab-header-pagination{display:flex}.mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after{padding-left:4px}.mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-pagination-after{padding-right:4px}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-mdc-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px;border-color:var(--mat-tab-header-pagination-icon-color)}.mat-mdc-tab-header-pagination-disabled{box-shadow:none;cursor:default;pointer-events:none}.mat-mdc-tab-header-pagination-disabled .mat-mdc-tab-header-pagination-chevron{opacity:.4}.mat-mdc-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-mdc-tab-list{transition:none}._mat-animation-noopable span.mdc-tab-indicator__content,._mat-animation-noopable span.mdc-tab__text-label{transition:none}.mat-mdc-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1;border-bottom-style:solid;border-bottom-width:var(--mat-tab-header-divider-height);border-bottom-color:var(--mat-tab-header-divider-color)}.mat-mdc-tab-group-inverted-header .mat-mdc-tab-label-container{border-bottom:none;border-top-style:solid;border-top-width:var(--mat-tab-header-divider-height);border-top-color:var(--mat-tab-header-divider-color)}.mat-mdc-tab-labels{display:flex;flex:1 0 auto}[mat-align-tabs=center]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:flex-end}.mat-mdc-tab::before{margin:5px}.cdk-high-contrast-active .mat-mdc-tab[aria-disabled=true]{color:GrayText}\n"],
encapsulation:2});var Cec=new md("MatTabLabel"),Dec=new md("MAT_TAB"),AM=function(a,b,c){Ow.call(this,a,b);this._closestTab=c};X(AM,Rw);AM.\u0275fac=function(a){return new (a||AM)(A(cg),A(dg),A(Dec,8))};AM.\u0275dir=fd({type:AM,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],standalone:!0,features:[qg([{provide:Cec,useExisting:AM}]),zf]});var Eec=new md("MAT_TAB_GROUP"),BM=function(a,b){this._viewContainerRef=a;this._closestTabGroup=b;this.disabled=!1;this._explicitContent=void 0;this.textLabel="";this._contentPortal=null;this._stateChanges=new W.Subject;this.origin=this.position=null;this.isActive=!1};BM.prototype.ngOnChanges=function(a){(a.hasOwnProperty("textLabel")||a.hasOwnProperty("disabled"))&&this._stateChanges.next()};BM.prototype.ngOnDestroy=function(){this._stateChanges.complete()};
BM.prototype.ngOnInit=function(){this._contentPortal=new Ow(this._explicitContent||this._implicitContent,this._viewContainerRef)};BM.prototype._setTemplateLabelInput=function(a){a&&a._closestTab===this&&(this._templateLabel=a)};ea.Object.defineProperties(BM.prototype,{templateLabel:{configurable:!0,enumerable:!0,get:function(){return this._templateLabel},set:function(a){this._setTemplateLabelInput(a)}},content:{configurable:!0,enumerable:!0,get:function(){return this._contentPortal}}});
BM.\u0275fac=function(a){return new (a||BM)(A(dg),A(Eec,8))};
BM.\u0275cmp=p({type:BM,selectors:[["mat-tab"]],contentQueries:function(a,b,c){a&1&&(gg(c,AM,5),gg(c,uM,7,cg));if(a&2){var d;jg(d=kg())&&(b.templateLabel=d.first);jg(d=kg())&&(b._explicitContent=d.first)}},viewQuery:function(a,b){a&1&&fg(cg,7);if(a&2){var c;jg(c=kg())&&(b._implicitContent=c.first)}},hostAttrs:["hidden",""],inputs:{disabled:[2,"disabled","disabled",Gg],textLabel:[0,"label","textLabel"],ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],labelClass:"labelClass",
bodyClass:"bodyClass"},exportAs:["matTab"],standalone:!0,features:[qg([{provide:Dec,useExisting:BM}]),Af,td,sg],ngContentSelectors:["*"],decls:1,vars:0,template:function(a){a&1&&(Xf(),C(0,kJa,1,0,"ng-template"))},encapsulation:2});var Fec=["tabBodyWrapper"],Gec=["tabHeader"],Hec=0,CM=function(a,b,c,d){this._elementRef=a;this._changeDetectorRef=b;this._animationMode=d;this._tabs=new eg;this._indexToSelect=0;this._lastFocusedTabIndex=null;this._tabBodyWrapperHeight=0;this._tabLabelSubscription=this._tabsSubscription=W.Subscription.EMPTY;this._fitInkBarToContent=!1;this.stretchTabs=!0;this.dynamicHeight=!1;this._selectedIndex=null;this.headerPosition="above";this.preserveContent=this.disableRipple=this.disablePagination=!1;this.selectedIndexChange=
new Xu;this.focusChange=new Xu;this.animationDone=new Xu;this.selectedTabChange=new Xu(!0);this._isServer=!Yc($v).isBrowser;this._groupId=Hec++;this.animationDuration=c&&c.animationDuration?c.animationDuration:"500ms";this.disablePagination=c&&c.disablePagination!=null?c.disablePagination:!1;this.dynamicHeight=c&&c.dynamicHeight!=null?c.dynamicHeight:!1;(c==null?void 0:c.contentTabIndex)!=null&&(this.contentTabIndex=c.contentTabIndex);this.preserveContent=!(c==null||!c.preserveContent);this.fitInkBarToContent=
c&&c.fitInkBarToContent!=null?c.fitInkBarToContent:!1;this.stretchTabs=c&&c.stretchTabs!=null?c.stretchTabs:!0};g=CM.prototype;
g.ngAfterContentChecked=function(){var a=this,b=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=b){var c=this._selectedIndex==null;if(!c){this.selectedTabChange.emit(this._createChangeEvent(b));var d=this._tabBodyWrapper.nativeElement;d.style.minHeight=d.clientHeight+"px"}Promise.resolve().then(function(){a._tabs.forEach(function(e,f){return e.isActive=f===b});c||(a.selectedIndexChange.emit(b),a._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach(function(e,
f){e.position=f-b;a._selectedIndex==null||e.position!=0||e.origin||(e.origin=b-a._selectedIndex)});this._selectedIndex!==b&&(this._selectedIndex=b,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())};
g.ngAfterContentInit=function(){var a=this;this._subscribeToAllTabChanges();this._subscribeToTabLabels();this._tabsSubscription=this._tabs.changes.subscribe(function(){var b=a._clampTabIndex(a._indexToSelect);if(b===a._selectedIndex){for(var c=a._tabs.toArray(),d,e=0;e<c.length;e++)if(c[e].isActive){a._indexToSelect=a._selectedIndex=e;a._lastFocusedTabIndex=null;d=c[e];break}!d&&c[b]&&Promise.resolve().then(function(){c[b].isActive=!0;a.selectedTabChange.emit(a._createChangeEvent(b))})}a._changeDetectorRef.markForCheck()})};
g._subscribeToAllTabChanges=function(){var a=this;this._allTabs.changes.pipe(of(this._allTabs)).subscribe(function(b){a._tabs.reset(b.filter(function(c){return c._closestTabGroup===a||!c._closestTabGroup}));ig(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 Iec;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=W.merge.apply(null,r(this._tabs.map(function(b){return b._stateChanges}))).subscribe(function(){return a._changeDetectorRef.markForCheck()})};g._clampTabIndex=function(a){return Math.min(this._tabs.length-1,Math.max(a||0,0))};
g._getTabLabelId=function(a){return"mat-tab-label-"+this._groupId+"-"+a};g._getTabContentId=function(a){return"mat-tab-content-"+this._groupId+"-"+a};g._setTabBodyWrapperHeight=function(a){if(this.dynamicHeight&&this._tabBodyWrapperHeight){var b=this._tabBodyWrapper.nativeElement;b.style.height=this._tabBodyWrapperHeight+"px";this._tabBodyWrapper.nativeElement.offsetHeight&&(b.style.height=a+"px")}};
g._removeTabBodyWrapperHeight=function(){var a=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=a.clientHeight;a.style.height="";this.animationDone.emit()};g._handleClick=function(a,b,c){b.focusIndex=c;a.disabled||(this.selectedIndex=c)};g._getTabIndex=function(a){var b,c=(b=this._lastFocusedTabIndex)!=null?b:this.selectedIndex;return a===c?0:-1};g._tabFocusChanged=function(a,b){a&&a!=="mouse"&&a!=="touch"&&(this._tabHeader.focusIndex=b)};
ea.Object.defineProperties(CM.prototype,{fitInkBarToContent:{configurable:!0,enumerable:!0,get:function(){return this._fitInkBarToContent},set:function(a){this._fitInkBarToContent=a;this._changeDetectorRef.markForCheck()}},selectedIndex:{configurable:!0,enumerable:!0,get:function(){return this._selectedIndex},set:function(a){this._indexToSelect=isNaN(a)?null:a}},animationDuration:{configurable:!0,enumerable:!0,get:function(){return this._animationDuration},set:function(a){var b=a+"";this._animationDuration=
/^\d+$/.test(b)?a+"ms":b}},contentTabIndex:{configurable:!0,enumerable:!0,get:function(){return this._contentTabIndex},set:function(a){this._contentTabIndex=isNaN(a)?null:a}},backgroundColor:{configurable:!0,enumerable:!0,get:function(){return this._backgroundColor},set:function(a){var b=this._elementRef.nativeElement.classList;b.remove("mat-tabs-with-background","mat-background-"+this.backgroundColor);a&&b.add("mat-tabs-with-background","mat-background-"+a);this._backgroundColor=a}}});
CM.\u0275fac=function(a){return new (a||CM)(A(Rd),A(Ig),A(vec,8),A(vu,8))};
CM.\u0275cmp=p({type:CM,selectors:[["mat-tab-group"]],contentQueries:function(a,b,c){a&1&&gg(c,BM,5);if(a&2){var d;jg(d=kg())&&(b._allTabs=d)}},viewQuery:function(a,b){a&1&&(fg(Fec,5),fg(Gec,5));if(a&2){var c;jg(c=kg())&&(b._tabBodyWrapper=c.first);jg(c=kg())&&(b._tabHeader=c.first)}},hostAttrs:[1,"mat-mdc-tab-group"],hostVars:10,hostBindings:function(a,b){a&2&&(Lf("mat-"+(b.color||"primary")),Jf("--mat-tab-animation-duration",b.animationDuration),Kf("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",Gg],stretchTabs:[2,"mat-stretch-tabs","stretchTabs",Gg],dynamicHeight:[2,"dynamicHeight","dynamicHeight",Gg],selectedIndex:[2,"selectedIndex","selectedIndex",Hg],headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:[2,"contentTabIndex","contentTabIndex",Hg],disablePagination:[2,"disablePagination","disablePagination",
Gg],disableRipple:[2,"disableRipple","disableRipple",Gg],preserveContent:[2,"preserveContent","preserveContent",Gg],backgroundColor:"backgroundColor"},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},exportAs:["matTabGroup"],standalone:!0,features:[qg([{provide:Eec,useExisting:CM}]),Af,sg],ngContentSelectors:["*"],decls:9,vars:6,consts:[["tabHeader",""],["tabBodyWrapper",""],["tabNode",""],[3,"indexFocused",
"selectFocusedIndex","selectedIndex","disableRipple","disablePagination"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-mdc-focus-indicator",3,"id","mdc-tab--active","class","disabled","fitInkBarToContent"],[1,"mat-mdc-tab-body-wrapper"],["role","tabpanel",3,"id","mat-mdc-tab-body-active","class","content","position","origin","animationDuration","preserveContent"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab",
"mat-mdc-focus-indicator",3,"click","cdkFocusChange","id","disabled","fitInkBarToContent"],[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],[1,"mdc-tab__text-label"],[3,"cdkPortalOutlet"],["role","tabpanel",3,"_onCentered","_onCentering","id","content","position","origin","animationDuration","preserveContent"]],template:function(a,b){if(a&1){var c=u();Xf();F(0,"mat-tab-header",3,0);M("indexFocused",function(d){v(c);return x(b._focusChanged(d))})("selectFocusedIndex",
function(d){v(c);return x(b.selectedIndex=d)});Qf(2,oJa,8,17,"div",4,Pf);G();C(4,pJa,1,0);F(5,"div",5,1);Qf(7,qJa,1,13,"mat-tab-body",6,Pf);G()}a&2&&(D("selectedIndex",b.selectedIndex||0)("disableRipple",b.disableRipple)("disablePagination",b.disablePagination),z(2),Rf(b._tabs),z(2),Of(b._isServer?4:-1),z(),Kf("_mat-animation-noopable",b._animationMode==="NoopAnimations"),z(2),Rf(b._tabs))},dependencies:[zM,yM,gw,Ix,Sw,wM],styles:['.mdc-tab{min-width:90px;padding-right:24px;padding-left:24px;display:flex;flex:1 0 auto;justify-content:center;box-sizing:border-box;margin:0;padding-top:0;padding-bottom:0;border:none;outline:none;text-align:center;white-space:nowrap;cursor:pointer;-webkit-appearance:none;z-index:1}.mdc-tab::-moz-focus-inner{padding:0;border:0}.mdc-tab[hidden]{display:none}.mdc-tab--min-width{flex:0 1 auto}.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__icon{transition:150ms color linear;z-index:2}.mdc-tab--stacked .mdc-tab__content{flex-direction:column;align-items:center;justify-content:center}.mdc-tab--stacked .mdc-tab__text-label{padding-top:6px;padding-bottom:4px}.mdc-tab--active .mdc-tab__text-label,.mdc-tab--active .mdc-tab__icon{transition-delay:100ms}.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label{padding-left:8px;padding-right:0}[dir=rtl] .mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label,.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label[dir=rtl]{padding-left:0;padding-right:8px}.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{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__content--icon{align-self:center;margin:0 auto}.mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:1}.mdc-tab-indicator .mdc-tab-indicator__content{transition:250ms transform cubic-bezier(0.4, 0, 0.2, 1)}.mdc-tab-indicator--no-transition .mdc-tab-indicator__content{transition:none}.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition:150ms opacity linear}.mdc-tab-indicator--active.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition-delay:100ms}.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;font-family:var(--mat-tab-header-label-text-font);font-size:var(--mat-tab-header-label-text-size);letter-spacing:var(--mat-tab-header-label-text-tracking);line-height:var(--mat-tab-header-label-text-line-height);font-weight:var(--mat-tab-header-label-text-weight)}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-color:var(--mdc-tab-indicator-active-indicator-color)}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-top-width:var(--mdc-tab-indicator-active-indicator-height)}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-radius:var(--mdc-tab-indicator-active-indicator-shape)}.mat-mdc-tab:not(.mdc-tab--stacked){height:var(--mdc-secondary-navigation-tab-container-height)}.mat-mdc-tab:not(:disabled).mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):hover.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):focus.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):active.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:disabled.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):hover:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):focus:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):active:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:disabled:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab.mdc-tab{flex-grow:0}.mat-mdc-tab:hover .mdc-tab__text-label{color:var(--mat-tab-header-inactive-hover-label-text-color)}.mat-mdc-tab:focus .mdc-tab__text-label{color:var(--mat-tab-header-inactive-focus-label-text-color)}.mat-mdc-tab.mdc-tab--active .mdc-tab__text-label{color:var(--mat-tab-header-active-label-text-color)}.mat-mdc-tab.mdc-tab--active .mdc-tab__ripple::before,.mat-mdc-tab.mdc-tab--active .mat-ripple-element{background-color:var(--mat-tab-header-active-ripple-color)}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab__text-label{color:var(--mat-tab-header-active-hover-label-text-color)}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-hover-indicator-color)}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab__text-label{color:var(--mat-tab-header-active-focus-label-text-color)}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-focus-indicator-color)}.mat-mdc-tab.mat-mdc-tab-disabled{opacity:.4;pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__content{pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__ripple::before,.mat-mdc-tab.mat-mdc-tab-disabled .mat-ripple-element{background-color:var(--mat-tab-header-disabled-ripple-color)}.mat-mdc-tab .mdc-tab__ripple::before{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-header-inactive-label-text-color);display:inline-flex;align-items:center}.mat-mdc-tab .mdc-tab__content{position:relative;pointer-events:auto}.mat-mdc-tab:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-group.mat-mdc-tab-group-stretch-tabs>.mat-mdc-tab-header .mat-mdc-tab{flex-grow:1}.mat-mdc-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-tab-header-with-background-background-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-focus-indicator::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-focus-indicator::before{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mdc-tab__ripple::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header{flex-direction:column-reverse}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header .mdc-tab-indicator__content--underline{align-self:flex-start}.mat-mdc-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-mdc-tab-body-wrapper._mat-animation-noopable{transition:none !important;animation:none !important}\n'],
encapsulation:2});var Iec=function(){};var Jec=["tabListContainer"],Kec=["tabList"],Lec=["tabListInner"],Mec=["nextPaginator"],Nec=["previousPaginator"],Oec=["*"],Pec=0,DM=function(a,b,c,d,e,f,h,k){xM.call(this,a,d,e,b,c,f,h);this._fitInkBarToContent=new W.BehaviorSubject(!1);this.stretchTabs=!0;this.disableRipple=!1;this.color="primary";this.disablePagination=k&&k.disablePagination!=null?k.disablePagination:!1;this.fitInkBarToContent=k&&k.fitInkBarToContent!=null?k.fitInkBarToContent:!1;this.stretchTabs=k&&k.stretchTabs!=null?k.stretchTabs:
!0};X(DM,xM);DM.\u0275dir=xM.\u0275dir;DM.prototype._itemSelected=function(){};DM.prototype.ngAfterContentInit=function(){var a=this;this._inkBar=new nec(this._items);this._items.changes.pipe(of(null),qf(this._destroyed)).subscribe(function(){Qec(a)});xM.prototype.ngAfterContentInit.call(this)};DM.prototype.ngAfterViewInit=function(){xM.prototype.ngAfterViewInit.call(this)};
var Qec=function(a){if(a._items){for(var b=a._items.toArray(),c=0;c<b.length;c++)if(b[c].active){a.selectedIndex=c;a._changeDetectorRef.markForCheck();a.tabPanel&&(a.tabPanel._activeTabId=b[c].id);return}a.selectedIndex=-1;a._inkBar.hide()}};DM.prototype._getRole=function(){return this.tabPanel?"tablist":this._elementRef.nativeElement.getAttribute("role")};
ea.Object.defineProperties(DM.prototype,{fitInkBarToContent:{configurable:!0,enumerable:!0,get:function(){return this._fitInkBarToContent.value},set:function(a){this._fitInkBarToContent.next(a);this._changeDetectorRef.markForCheck()}},animationDuration:{configurable:!0,enumerable:!0,get:function(){return this._animationDuration},set:function(a){var b=a+"";this._animationDuration=/^\d+$/.test(b)?a+"ms":b}},backgroundColor:{configurable:!0,enumerable:!0,get:function(){return this._backgroundColor},
set:function(a){var b=this._elementRef.nativeElement.classList;b.remove("mat-tabs-with-background","mat-background-"+this.backgroundColor);a&&b.add("mat-tabs-with-background","mat-background-"+a);this._backgroundColor=a}}});DM.\u0275fac=function(a){return new (a||DM)(A(Rd),A(Uw,8),A(ze),A(Ig),A(ix),A($v),A(vu,8),A(vec,8))};
DM.\u0275cmp=p({type:DM,selectors:[["","mat-tab-nav-bar",""]],contentQueries:function(a,b,c){a&1&&gg(c,EM,5);if(a&2){var d;jg(d=kg())&&(b._items=d)}},viewQuery:function(a,b){a&1&&(fg(Jec,7),fg(Kec,7),fg(Lec,7),fg(Mec,5),fg(Nec,5));if(a&2){var c;jg(c=kg())&&(b._tabListContainer=c.first);jg(c=kg())&&(b._tabList=c.first);jg(c=kg())&&(b._tabListInner=c.first);jg(c=kg())&&(b._nextPaginator=c.first);jg(c=kg())&&(b._previousPaginator=c.first)}},hostAttrs:[1,"mat-mdc-tab-nav-bar","mat-mdc-tab-header"],hostVars:17,
hostBindings:function(a,b){a&2&&(Bf("role",b._getRole()),Jf("--mat-tab-animation-duration",b.animationDuration),Kf("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",Gg],stretchTabs:[2,"mat-stretch-tabs","stretchTabs",Gg],animationDuration:"animationDuration",backgroundColor:"backgroundColor",disableRipple:[2,"disableRipple","disableRipple",Gg],color:"color",tabPanel:"tabPanel"},exportAs:["matTabNavBar","matTabNav"],standalone:!0,features:[Af,zf,sg],attrs:["mat-tab-nav-bar",""],ngContentSelectors:Oec,decls:13,vars:8,consts:[["previousPaginator",""],["tabListContainer",""],["tabList",""],["tabListInner",""],["nextPaginator",
""],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-before",3,"click","mousedown","touchend","matRippleDisabled","disabled"],[1,"mat-mdc-tab-header-pagination-chevron"],[1,"mat-mdc-tab-link-container",3,"keydown"],[1,"mat-mdc-tab-list",3,"cdkObserveContent"],[1,"mat-mdc-tab-links"],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-after",
3,"mousedown","click","touchend","matRippleDisabled","disabled"]],template:function(a,b){if(a&1){var c=u();Xf();F(0,"button",5,0);M("click",function(){v(c);return x(b._handlePaginatorClick("before"))})("mousedown",function(d){v(c);return x(b._handlePaginatorPress("before",d))})("touchend",function(){v(c);return x(b._stopInterval())});H(2,"div",6);G();F(3,"div",7,1);M("keydown",function(d){v(c);return x(b._handleKeydown(d))});F(5,"div",8,2);M("cdkObserveContent",function(){v(c);return x(b._onContentChanges())});
F(7,"div",9,3);Yf(9);G()()();F(10,"button",10,4);M("mousedown",function(d){v(c);return x(b._handlePaginatorPress("after",d))})("click",function(){v(c);return x(b._handlePaginatorClick("after"))})("touchend",function(){v(c);return x(b._stopInterval())});H(12,"div",6);G()}a&2&&(Kf("mat-mdc-tab-header-pagination-disabled",b._disableScrollBefore),D("matRippleDisabled",b._disableScrollBefore||b.disableRipple)("disabled",b._disableScrollBefore||null),z(10),Kf("mat-mdc-tab-header-pagination-disabled",b._disableScrollAfter),
D("matRippleDisabled",b._disableScrollAfter||b.disableRipple)("disabled",b._disableScrollAfter||null))},dependencies:[Ix,tw],styles:[".mdc-tab{min-width:90px;padding-right:24px;padding-left:24px;display:flex;flex:1 0 auto;justify-content:center;box-sizing:border-box;margin:0;padding-top:0;padding-bottom:0;border:none;outline:none;text-align:center;white-space:nowrap;cursor:pointer;-webkit-appearance:none;z-index:1}.mdc-tab::-moz-focus-inner{padding:0;border:0}.mdc-tab[hidden]{display:none}.mdc-tab--min-width{flex:0 1 auto}.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__icon{transition:150ms color linear;z-index:2}.mdc-tab--stacked .mdc-tab__content{flex-direction:column;align-items:center;justify-content:center}.mdc-tab--stacked .mdc-tab__text-label{padding-top:6px;padding-bottom:4px}.mdc-tab--active .mdc-tab__text-label,.mdc-tab--active .mdc-tab__icon{transition-delay:100ms}.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label{padding-left:8px;padding-right:0}[dir=rtl] .mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label,.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label[dir=rtl]{padding-left:0;padding-right:8px}.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{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__content--icon{align-self:center;margin:0 auto}.mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:1}.mdc-tab-indicator .mdc-tab-indicator__content{transition:250ms transform cubic-bezier(0.4, 0, 0.2, 1)}.mdc-tab-indicator--no-transition .mdc-tab-indicator__content{transition:none}.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition:150ms opacity linear}.mdc-tab-indicator--active.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition-delay:100ms}.mat-mdc-tab-ripple{position:absolute;top:0;left:0;bottom:0;right:0;pointer-events:none}.mat-mdc-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mdc-tab-indicator .mdc-tab-indicator__content{transition-duration:var(--mat-tab-animation-duration, 250ms)}.mat-mdc-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-mdc-tab-header-pagination::-moz-focus-inner{border:0}.mat-mdc-tab-header-pagination .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-header-pagination-controls-enabled .mat-mdc-tab-header-pagination{display:flex}.mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after{padding-left:4px}.mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-pagination-after{padding-right:4px}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-mdc-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px;border-color:var(--mat-tab-header-pagination-icon-color)}.mat-mdc-tab-header-pagination-disabled{box-shadow:none;cursor:default;pointer-events:none}.mat-mdc-tab-header-pagination-disabled .mat-mdc-tab-header-pagination-chevron{opacity:.4}.mat-mdc-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-mdc-tab-list{transition:none}._mat-animation-noopable span.mdc-tab-indicator__content,._mat-animation-noopable span.mdc-tab__text-label{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}.mat-mdc-tab-link-container{display:flex;flex-grow:1;overflow:hidden;z-index:1;border-bottom-style:solid;border-bottom-width:var(--mat-tab-header-divider-height);border-bottom-color:var(--mat-tab-header-divider-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-tab-header-with-background-background-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background.mat-primary>.mat-mdc-tab-link-container .mat-mdc-tab-link .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background.mat-primary>.mat-mdc-tab-link-container .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-link-container .mat-mdc-tab-link:not(.mdc-tab--active) .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-link-container .mat-mdc-tab-link:not(.mdc-tab--active) .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-focus-indicator::before,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-focus-indicator::before{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-ripple-element,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mdc-tab__ripple::before,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{color:var(--mat-tab-header-with-background-foreground-color)}\n"],
encapsulation:2});var EM=function(a,b,c,d,e,f){tM.call(this);var h=this;this._tabNavBar=a;this.elementRef=b;this._focusMonitor=e;this._destroyed=new W.Subject;this.disableRipple=this.disabled=this._isActive=!1;this.tabIndex=0;this.id="mat-tab-link-"+Pec++;this.rippleConfig=c||{};this.tabIndex=parseInt(d)||0;f==="NoopAnimations"&&(this.rippleConfig.animation={enterDuration:0,exitDuration:0});a._fitInkBarToContent.pipe(qf(this._destroyed)).subscribe(function(k){h.fitInkBarToContent=k})};X(EM,tM);
EM.\u0275dir=tM.\u0275dir;g=EM.prototype;g.focus=function(){this.elementRef.nativeElement.focus()};g.ngAfterViewInit=function(){this._focusMonitor.monitor(this.elementRef)};g.ngOnDestroy=function(){this._destroyed.next();this._destroyed.complete();tM.prototype.ngOnDestroy.call(this);this._focusMonitor.stopMonitoring(this.elementRef)};g._handleFocus=function(){this._tabNavBar.focusIndex=this._tabNavBar._items.toArray().indexOf(this)};
g._handleKeydown=function(a){if(a.keyCode===32||a.keyCode===13)this.disabled?a.preventDefault():this._tabNavBar.tabPanel&&(a.keyCode===32&&a.preventDefault(),this.elementRef.nativeElement.click())};g._getAriaControls=function(){var a;return this._tabNavBar.tabPanel?(a=this._tabNavBar.tabPanel)==null?void 0:a.id:this.elementRef.nativeElement.getAttribute("aria-controls")};g._getAriaSelected=function(){return this._tabNavBar.tabPanel?this.active?"true":"false":this.elementRef.nativeElement.getAttribute("aria-selected")};
g._getAriaCurrent=function(){return this.active&&!this._tabNavBar.tabPanel?"page":null};g._getRole=function(){return this._tabNavBar.tabPanel?"tab":this.elementRef.nativeElement.getAttribute("role")};g._getTabIndex=function(){return this._tabNavBar.tabPanel?this._isActive&&!this.disabled?0:-1:this.disabled?-1:this.tabIndex};
ea.Object.defineProperties(EM.prototype,{active:{configurable:!0,enumerable:!0,get:function(){return this._isActive},set:function(a){a!==this._isActive&&(this._isActive=a,Qec(this._tabNavBar))}},rippleDisabled:{configurable:!0,enumerable:!0,get:function(){return this.disabled||this.disableRipple||this._tabNavBar.disableRipple||!!this.rippleConfig.disabled}}});EM.\u0275fac=function(a){return new (a||EM)(A(DM),A(Rd),A(Hx,8),Jd("tabindex"),A(ew),A(vu,8))};
EM.\u0275cmp=p({type:EM,selectors:[["","mat-tab-link",""],["","matTabLink",""]],hostAttrs:[1,"mdc-tab","mat-mdc-tab-link","mat-mdc-focus-indicator"],hostVars:11,hostBindings:function(a,b){a&1&&M("focus",function(){return b._handleFocus()})("keydown",function(c){return b._handleKeydown(c)});a&2&&(Bf("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()),
Kf("mat-mdc-tab-disabled",b.disabled)("mdc-tab--active",b.active))},inputs:{active:[2,"active","active",Gg],disabled:[2,"disabled","disabled",Gg],disableRipple:[2,"disableRipple","disableRipple",Gg],tabIndex:[2,"tabIndex","tabIndex",function(a){return a==null?0:Hg(a)}],id:"id"},exportAs:["matTabLink"],standalone:!0,features:[Af,zf,sg],attrs:["mat-tab-link",""],ngContentSelectors:Oec,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&&(Xf(),H(0,"span",0)(1,"div",1),F(2,"span",2)(3,"span",3),Yf(4),G()());a&2&&(z(),D("matRippleTrigger",b.elementRef.nativeElement)("matRippleDisabled",b.rippleDisabled))},dependencies:[Ix],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;font-family:var(--mat-tab-header-label-text-font);font-size:var(--mat-tab-header-label-text-size);letter-spacing:var(--mat-tab-header-label-text-tracking);line-height:var(--mat-tab-header-label-text-line-height);font-weight:var(--mat-tab-header-label-text-weight)}.mat-mdc-tab-link .mdc-tab-indicator__content--underline{border-color:var(--mdc-tab-indicator-active-indicator-color)}.mat-mdc-tab-link .mdc-tab-indicator__content--underline{border-top-width:var(--mdc-tab-indicator-active-indicator-height)}.mat-mdc-tab-link .mdc-tab-indicator__content--underline{border-radius:var(--mdc-tab-indicator-active-indicator-shape)}.mat-mdc-tab-link:not(.mdc-tab--stacked){height:var(--mdc-secondary-navigation-tab-container-height)}.mat-mdc-tab-link:not(:disabled).mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):hover.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):focus.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):active.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:disabled.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):hover:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):focus:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):active:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:disabled:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link.mdc-tab{flex-grow:0}.mat-mdc-tab-link:hover .mdc-tab__text-label{color:var(--mat-tab-header-inactive-hover-label-text-color)}.mat-mdc-tab-link:focus .mdc-tab__text-label{color:var(--mat-tab-header-inactive-focus-label-text-color)}.mat-mdc-tab-link.mdc-tab--active .mdc-tab__text-label{color:var(--mat-tab-header-active-label-text-color)}.mat-mdc-tab-link.mdc-tab--active .mdc-tab__ripple::before,.mat-mdc-tab-link.mdc-tab--active .mat-ripple-element{background-color:var(--mat-tab-header-active-ripple-color)}.mat-mdc-tab-link.mdc-tab--active:hover .mdc-tab__text-label{color:var(--mat-tab-header-active-hover-label-text-color)}.mat-mdc-tab-link.mdc-tab--active:hover .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-hover-indicator-color)}.mat-mdc-tab-link.mdc-tab--active:focus .mdc-tab__text-label{color:var(--mat-tab-header-active-focus-label-text-color)}.mat-mdc-tab-link.mdc-tab--active:focus .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-focus-indicator-color)}.mat-mdc-tab-link.mat-mdc-tab-disabled{opacity:.4;pointer-events:none}.mat-mdc-tab-link.mat-mdc-tab-disabled .mdc-tab__content{pointer-events:none}.mat-mdc-tab-link.mat-mdc-tab-disabled .mdc-tab__ripple::before,.mat-mdc-tab-link.mat-mdc-tab-disabled .mat-ripple-element{background-color:var(--mat-tab-header-disabled-ripple-color)}.mat-mdc-tab-link .mdc-tab__ripple::before{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-link .mdc-tab__text-label{color:var(--mat-tab-header-inactive-label-text-color);display:inline-flex;align-items:center}.mat-mdc-tab-link .mdc-tab__content{position:relative;pointer-events:auto}.mat-mdc-tab-link:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab-link.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab-link.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab-link .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-header.mat-mdc-tab-nav-bar-stretch-tabs .mat-mdc-tab-link{flex-grow:1}.mat-mdc-tab-link::before{margin:5px}@media(max-width: 599px){.mat-mdc-tab-link{min-width:72px}}\n'],
encapsulation:2,changeDetection:0});var FM=function(){this.id="mat-tab-nav-panel-"+Pec++};FM.\u0275fac=function(a){return new (a||FM)};
FM.\u0275cmp=p({type:FM,selectors:[["mat-tab-nav-panel"]],hostAttrs:["role","tabpanel",1,"mat-mdc-tab-nav-panel"],hostVars:2,hostBindings:function(a,b){a&2&&Bf("aria-labelledby",b._activeTabId)("id",b.id)},inputs:{id:"id"},exportAs:["matTabNavPanel"],standalone:!0,features:[sg],ngContentSelectors:Oec,decls:1,vars:0,template:function(a){a&1&&(Xf(),Yf(0))},encapsulation:2,changeDetection:0});var GM=function(){};GM.\u0275fac=function(a){return new (a||GM)};GM.\u0275mod=dd({type:GM});GM.\u0275inj=Ic({imports:[zx,zx]});var HM=function(a,b,c){this.options=a;this.changeDetectorRef=b;this.tabGroup=c;this.appearance=this.options.appearance};ea.Object.defineProperties(HM.prototype,{appearance:{configurable:!0,enumerable:!0,get:function(){return this.cachedAppearance},set:function(a){this.cachedAppearance===a||this.options.disableGmatStyle||(this.cachedAppearance=a,this.tabGroup.fitInkBarToContent=a==="primary",this.changeDetectorRef.markForCheck())}}});HM.\u0275fac=function(a){return new (a||HM)(A(mec),A(Ig),A(CM))};
HM.\u0275dir=fd({type:HM,selectors:[["mat-tab-group"]],hostVars:4,hostBindings:function(a,b){a&2&&Kf("gmat-mdc-tabs-primary",!b.options.disableGmatStyle&&b.appearance==="primary")("gmat-mdc-tabs-secondary",!b.options.disableGmatStyle&&b.appearance==="secondary")},inputs:{appearance:"appearance"}});var IM=function(a,b,c){this.options=a;this.changeDetectorRef=b;this.tabNav=c;this.appearance=this.options.appearance};
ea.Object.defineProperties(IM.prototype,{appearance:{configurable:!0,enumerable:!0,get:function(){return this.cachedAppearance},set:function(a){this.cachedAppearance===a||this.options.disableGmatStyle||(this.cachedAppearance=a,this.tabNav.fitInkBarToContent=a==="primary",this.changeDetectorRef.markForCheck())}}});IM.\u0275fac=function(a){return new (a||IM)(A(mec),A(Ig),A(DM))};
IM.\u0275dir=fd({type:IM,selectors:[["","mat-tab-nav-bar",""]],hostVars:4,hostBindings:function(a,b){a&2&&Kf("gmat-mdc-tabs-primary",!b.options.disableGmatStyle&&b.appearance==="primary")("gmat-mdc-tabs-secondary",!b.options.disableGmatStyle&&b.appearance==="secondary")},inputs:{appearance:"appearance"}});var JM=function(){};JM.\u0275fac=function(a){return new (a||JM)};JM.\u0275mod=dd({type:JM});JM.\u0275inj=Ic({imports:[GM]});var KM=function(){};KM.\u0275fac=function(a){return new (a||KM)};KM.\u0275mod=dd({type:KM});KM.\u0275inj=Ic({imports:[jM,sM,BB,yx,DH,hM,qM,JM,dJ,aM,OL,PL,NL]});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"}}},LM=Rec;LM=Rec;var Sec={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 Tec={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"},MM=Tec;MM=Tec;var NM=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_=MM.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)};
NM.prototype.applyPattern_=function(a){this.pattern_=a.replace(/ /g,"\u00a0");var b=[0];this.positivePrefix_=Uec(this,a,b);for(var c=b[0],d=-1,e=0,f=0,h=0,k=-1,q=a.length,t=!0;b[0]<q&&t;b[0]++)switch(a.charAt(b[0])){case "#":f>0?h++:e++;k>=0&&d<0&&k++;break;case "0":if(h>0)throw Error("yd`"+a);f++;k>=0&&d<0&&k++;break;case ",":k>0&&this.groupingArray_.push(k);k=0;break;case ".":if(d>=0)throw Error("zd`"+a);d=e+f+h;break;case "E":if(this.useExponentialNotation_)throw Error("Ad`"+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("Bd`"+a);t=!1;break;default:b[0]--,t=!1}f==0&&e>0&&d>=0&&(f=d,f==0&&f++,h=e-f,e=f-1,f=1);if(d<0&&h>0||d>=0&&(d<e||d>e+f)||k==0)throw Error("Cd`"+a);h=e+f+h;this.maximumFractionDigits_=d>=0?h-d:0;d>=0&&(this.minimumFractionDigits_=e+f-d,this.minimumFractionDigits_<0&&(this.minimumFractionDigits_=
0));this.minimumIntegerDigits_=(d>=0?d:h)-e;this.useExponentialNotation_&&(this.maximumIntegerDigits_=e+this.minimumIntegerDigits_,this.maximumFractionDigits_==0&&this.minimumIntegerDigits_==0&&(this.minimumIntegerDigits_=1));this.groupingArray_.push(Math.max(0,k));this.decimalSeparatorAlwaysShown_=d==0||d==h;c=b[0]-c;this.positiveSuffix_=Uec(this,a,b);b[0]<a.length&&a.charAt(b[0])==";"?(b[0]++,this.multiplier_!=1&&(this.negativePercentSignExpected_=!0),this.negativePrefix_=Uec(this,a,b),b[0]+=c,
this.negativeSuffix_=Uec(this,a,b)):(this.negativePrefix_+=this.positivePrefix_,this.negativeSuffix_+=this.positiveSuffix_)};
NM.prototype.applyStandardPattern_=function(a){switch(a){case 1:this.applyPattern_(MM.DECIMAL_PATTERN);break;case 2:this.applyPattern_(MM.SCIENTIFIC_PATTERN);break;case 3:this.applyPattern_(MM.PERCENT_PATTERN);break;case 4:a=this.applyPattern_;var b=MM.CURRENCY_PATTERN;var c=["0"],d=Sec[MM.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:Vec(this,1);break;case 6:Vec(this,2);break;default:throw Error("sd");
}};var Vec=function(a,b){a.compactStyle_=b;a.applyPattern_(MM.DECIMAL_PATTERN);a.minimumFractionDigits_=0;a.maximumFractionDigits_=2;if(a.minimumFractionDigits_>0)throw Error("qd");a.significantDigits_=2};
NM.prototype.parse=function(a,b){b=b||[0];if(this.compactStyle_!==0)throw Error("td");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(MM.INFINITY,b[0])==b[0]){b[0]+=MM.INFINITY.length;var e=Infinity}else{e=
a;var f=!1,h=!1,k=!1,q=-1,t=1,w=MM.DECIMAL_SEP,B=MM.GROUP_SEP,E=MM.EXP_SYMBOL;if(this.compactStyle_!=0)throw Error("ud");B=B.replace(/\u202f/g,"\u00a0");for(var I="";b[0]<e.length;b[0]++){var J=e.charAt(b[0]),N=Wec(J);if(N>=0&&N<=9)I+=N,k=!0;else if(J==w.charAt(0)){if(f||h)break;I+=".";f=!0}else if(J==B.charAt(0)&&("\u00a0"!=B.charAt(0)||b[0]+1<e.length&&Wec(e.charAt(b[0]+1))>=0)){if(f||h)break}else if(J==E.charAt(0)){if(h)break;I+="E";h=!0;q=b[0]}else if(J=="+"||J=="-"){if(k&&q!=b[0]-1)break;I+=
J}else if(this.multiplier_==1&&J==MM.PERCENT.charAt(0)){if(t!=1)break;t=100;if(k){b[0]++;break}}else if(this.multiplier_==1&&J==MM.PERMILL.charAt(0)){if(t!=1)break;t=1E3;if(k){b[0]++;break}}else break}this.multiplier_!=1&&(t=this.multiplier_);e=parseFloat(I)/t}if(c){if(a.indexOf(this.positiveSuffix_,b[0])!=b[0])return NaN;b[0]+=this.positiveSuffix_.length}else if(d){if(a.indexOf(this.negativeSuffix_,b[0])!=b[0])return NaN;b[0]+=this.negativeSuffix_.length}return d?-e:e};
NM.prototype.format=function(a){if(this.minimumFractionDigits_>this.maximumFractionDigits_)throw Error("vd");if(isNaN(a))return MM.NAN;var b=[];var c=a;if(this.compactStyle_==0)c=OM;else{c=Math.abs(c);var d=Xec(this,c<=1?0:Yec(c)).divisorBase;c=Xec(this,d+Yec(Zec(this,PM(c,-d)).intValue))}a=PM(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)$ec(this,e,this.minimumIntegerDigits_,b),afc(this,0,b);else{var f=Math.floor(Math.log(e)/Math.log(10)+2E-15);e=PM(e,-f);var h=this.minimumIntegerDigits_;this.maximumIntegerDigits_>1&&this.maximumIntegerDigits_>this.minimumIntegerDigits_?(h=f%this.maximumIntegerDigits_,h<0&&(h=this.maximumIntegerDigits_+h),e=PM(e,h),f-=h,h=1):this.minimumIntegerDigits_<1?(f++,e=PM(e,-1)):(f-=this.minimumIntegerDigits_-1,e=PM(e,this.minimumIntegerDigits_-
1));$ec(this,e,h,b);afc(this,f,b)}}else $ec(this,a,this.minimumIntegerDigits_,b);else b.push(MM.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 Zec=function(a,b){var c=PM(b,a.maximumFractionDigits_);a.significantDigits_>0&&(c=bfc(c,a.significantDigits_,a.maximumFractionDigits_));c=Math.round(c);isFinite(c)?(b=Math.floor(PM(c,-a.maximumFractionDigits_)),a=Math.floor(c-PM(b,a.maximumFractionDigits_))):a=0;return{intValue:b,fracValue:a}},$ec=function(a,b,c,d){if(a.minimumFractionDigits_>a.maximumFractionDigits_)throw Error("vd");d||(d=[]);b=Zec(a,b);var e=b.intValue,f=b.fracValue,h=a.minimumFractionDigits_>0||f>0||!1;b=a.minimumFractionDigits_;
h&&(b=a.minimumFractionDigits_);for(var k="",q=e;q>1E20;)k="0"+k,q=Math.round(PM(q,-1));k=q+k;var t=MM.DECIMAL_SEP;q=MM.ZERO_DIGIT.codePointAt(0);var w=k.length,B=0;if(e>0||c>0){for(e=w;e<c;e++)d.push(String.fromCodePoint(q));if(a.groupingArray_.length>=2)for(c=1;c<a.groupingArray_.length;c++)B+=a.groupingArray_[c];c=w-B;if(c>0){e=a.groupingArray_;B=w=0;for(var E,I=MM.GROUP_SEP,J=k.length,N=0;N<J;N++)if(d.push(String.fromCodePoint(q+Number(k.charAt(N)))),J-N>1)if(E=e[B],N<c){var P=c-N;(E===1||E>0&&
P%E===1)&&d.push(I)}else B<e.length&&(N===c?B+=1:E===N-c-w+1&&(d.push(I),w+=E,B+=1))}else{c=k;k=a.groupingArray_;e=MM.GROUP_SEP;E=c.length;I=[];for(w=k.length-1;w>=0&&E>0;w--){B=k[w];for(J=0;J<B&&E-J-1>=0;J++)I.push(String.fromCodePoint(q+Number(c.charAt(E-J-1))));E-=B;E>0&&I.push(e)}d.push.apply(d,I.reverse())}}else h||d.push(String.fromCodePoint(q));(a.decimalSeparatorAlwaysShown_||h)&&d.push(t);f=String(f);h=f.split("e+");h.length==2&&(f=String(bfc(parseFloat(h[0]),a.significantDigits_,1)),f=f.replace(".",
""),f+=NSb("0",parseInt(h[1],10)-f.length+1));a.maximumFractionDigits_+1>f.length&&(f="1"+NSb("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))))},afc=function(a,b,c){c.push(MM.EXP_SYMBOL);b<0?(b=-b,c.push(MM.MINUS_SIGN)):a.useSignForPositiveExponent_&&c.push(MM.PLUS_SIGN);b=""+b;for(var d=MM.ZERO_DIGIT,e=b.length;e<a.minExponentDigits_;e++)c.push(d);a=d.codePointAt(0)-cfc;for(d=0;d<b.length;d++)c.push(String.fromCodePoint(a+
b.codePointAt(d)))},Wec=function(a){a=a.codePointAt(0);if(48<=a&&a<58)return a-48;var b=MM.ZERO_DIGIT.codePointAt(0);return b<=a&&a<b+10?a-b:-1},cfc="0".codePointAt(0),Uec=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+=MM.DEF_CURRENCY_CODE):(h=MM.DEF_CURRENCY_CODE,
d+=h in Sec?Sec[h][1]:h);break;case "%":if(!a.negativePercentSignExpected_&&a.multiplier_!=1)throw Error("wd");if(a.negativePercentSignExpected_&&a.multiplier_!=100)throw Error("xd");a.multiplier_=100;a.negativePercentSignExpected_=!1;d+=MM.PERCENT;break;case "\u2030":if(!a.negativePercentSignExpected_&&a.multiplier_!=1)throw Error("wd");if(a.negativePercentSignExpected_&&a.multiplier_!=1E3)throw Error("xd");a.multiplier_=1E3;a.negativePercentSignExpected_=!1;d+=MM.PERMILL;break;default:d+=h}}return d},
OM={divisorBase:0,negative_prefix:"",negative_suffix:"",prefix:"",suffix:""},Xec=function(a,b){a=a.compactStyle_==1?LM.COMPACT_DECIMAL_SHORT_PATTERN:LM.COMPACT_DECIMAL_LONG_PATTERN;a==null&&(a=LM.COMPACT_DECIMAL_SHORT_PATTERN);if(b<3)return OM;b=Math.min(14,b);var c=a[PM(1,b)];for(--b;!c&&b>=3;)c=a[PM(1,b)],b--;if(!c)return OM;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]}:OM:OM},Yec=function(a){if(!isFinite(a))return a>0?a:0;for(var b=0;(a/=10)>=1;)b++;return b},PM=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))},dfc=function(a,b){return a&&isFinite(a)?PM(Math.round(PM(a,b)),-b):a},bfc=function(a,b,c){if(!a)return a;b=b-Yec(a)-1;return b<-c?dfc(a,-c):dfc(a,b)};var efc=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"},ffc=efc;ffc=efc;var gfc=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"},hfc=gfc;hfc=gfc;var QM=function(a){this.pattern_=a;this.parsedPattern_=this.literals_=this.initialLiterals_=null;a=MM;var b=LM;if(ifc!==a||jfc!==b)ifc=a,jfc=b,kfc=new NM(1);this.numberFormatter_=kfc},ifc=null,jfc=null,kfc=null,lfc=RegExp("'([{}#].*?)'","g"),mfc=RegExp("''","g");QM.prototype.format=function(a){return this.format_(a,!1)};
QM.prototype.format_=function(a,b){if(this.pattern_){this.initialLiterals_=[];var c=nfc(this,this.pattern_);this.parsedPattern_=ofc(this,c);this.pattern_=null}if(!this.parsedPattern_||this.parsedPattern_.length==0)return"";this.literals_=Ya(this.initialLiterals_);c=[];pfc(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 pfc=function(a,b,c,d,e){for(var f=0;f<b.length;f++)switch(b[f].type){case 4:e.push(b[f].value);break;case 3:var h=b[f].value,k=a,q=e,t=c[h];t===void 0?q.push("Undefined parameter - "+h):(k.literals_.push(t),q.push(k.buildPlaceholder_(k.literals_)));break;case 2:h=b[f].value;k=a;q=c;t=d;var w=e,B=h.argumentIndex;q[B]===void 0?w.push("Undefined parameter - "+B):(B=h[q[B]],B===void 0&&(B=h.other),pfc(k,B,q,t,w));break;case 0:h=b[f].value;qfc(a,h,c,hfc,d,e);break;case 1:h=b[f].value,qfc(a,h,c,ffc,
d,e)}},qfc=function(a,b,c,d,e,f){var h=b.argumentIndex,k=b.argumentOffset,q=+c[h];isNaN(q)?f.push("Undefined or invalid parameter - "+h):(k=q-k,h=b[c[h]],h===void 0&&(d=d(Math.abs(k)),h=b[d],h===void 0&&(h=b.other)),b=[],pfc(a,h,c,e,b),c=b.join(""),e?f.push(c):(a=a.numberFormatter_.format(k),f.push(c.replace(/#/g,a))))},nfc=function(a,b){var c=a.initialLiterals_,d=Kt(a.buildPlaceholder_,a);b=b.replace(mfc,function(){c.push("'");return d(c)});return b=b.replace(lfc,function(e,f){c.push(f);return d(c)})},
rfc=function(a){var b=0,c=[],d=[],e=/[{}]/g;e.lastIndex=0;for(var f;f=e.exec(a);){var h=f.index;f[0]=="}"?(c.pop(),c.length==0&&(f={type:1},f.value=a.substring(b,h),d.push(f),b=h+1)):(c.length==0&&(b=a.substring(b,h),b!=""&&d.push({type:0,value:b}),b=h+1),c.push("{"))}b=a.substring(b);b!=""&&d.push({type:0,value:b});return d},sfc=/^\s*(\w+)\s*,\s*plural\s*,(?:\s*offset:(\d+))?/,tfc=/^\s*(\w+)\s*,\s*selectordinal\s*,/,ufc=/^\s*(\w+)\s*,\s*select\s*,/,ofc=function(a,b){var c=[];b=rfc(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(sfc.test(f)?0:tfc.test(f)?1:ufc.test(f)?2:/^\s*\w+\s*/.test(f)?3:5){case 2:e.type=2;e.value=vfc(a,b[d].value);break;case 0:e.type=0;e.value=wfc(a,b[d].value);break;case 1:e.type=1;e.value=xfc(a,b[d].value);break;case 3:e.type=3,e.value=b[d].value}}c.push(e)}return c},vfc=function(a,b){var c="";b=b.replace(ufc,function(k,q){c=q;return""});var d={};d.argumentIndex=c;b=rfc(b);for(var e=0;e<
b.length;){var f=b[e].value;e++;var h;1==b[e].type&&(h=ofc(a,b[e].value));d[f.replace(/\s/g,"")]=h;e++}return d},wfc=function(a,b){var c="",d=0;b=b.replace(sfc,function(q,t,w){c=t;w&&(d=parseInt(w,10));return""});var e={};e.argumentIndex=c;e.argumentOffset=d;b=rfc(b);for(var f=0;f<b.length;){var h=b[f].value;f++;var k;1==b[f].type&&(k=ofc(a,b[f].value));e[h.replace(/\s*(?:=)?(\w+)\s*/,"$1")]=k;f++}return e},xfc=function(a,b){var c="";b=b.replace(tfc,function(k,q){c=q;return""});var d={};d.argumentIndex=
c;d.argumentOffset=0;b=rfc(b);for(var e=0;e<b.length;){var f=b[e].value;e++;if(1==b[e].type)var h=ofc(a,b[e].value);d[f.replace(/\s*(?:=)?(\w+)\s*/,"$1")]=h;e++}return d};QM.prototype.buildPlaceholder_=function(a){return"\ufddf_"+(a.length-1).toString(10)+"_"};var zfc=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=X4b(b),f=X4b(c),h=X4b(d);a=b*(c+d)?" ":"";var k=c*d?" ":"";b=yfc("{COUNT, plural, =0 {}=1 {{TEXT} day}other {{TEXT} days}}",b,e);c=yfc("{COUNT, plural, =0 {}=1 {{TEXT} hour}other {{TEXT} hours}}",c,f);d=yfc("{COUNT, plural, =0 {}=1 {{TEXT} minute}other {{TEXT} minutes}}",d,h);return b+a+c+k+d},yfc=function(a,b,c){return(new QM(a)).format({COUNT:b,TEXT:c})};var RM=function(a,b){var c=this;this.userPreferencesManager=a;this.timeZonesApi=b;this.cachedFormatters=new HE(100,!0);this.userDatePrefs$=this.userPreferencesManager.dateTimePreferences$;this.userCalendarFormat$=this.userDatePrefs$.pipe(y(function(d){return d.calendarFormat||"MMM d, yyyy"}));this.userTimeFormat$=this.userDatePrefs$.pipe(y(function(d){return d.timeFormat||"hh:mma"}));this.userTimeZone$=this.userDatePrefs$.pipe(pf(function(d){return d.timeZone?c.timeZonesApi.get(d.timeZone):(0,W.of)(void 0)}))};
RM.prototype.format=function(a,b,c){var d=this.cachedFormatters.get(a);d===void 0&&(d=new UC(a),this.cachedFormatters.set(a,d));return b?d.format(c,b):d.format(c)};RM.prototype.formatUserCalendar=function(a){var b=this;return(0,W.combineLatest)([this.userCalendarFormat$,this.userTimeZone$]).pipe(y(function(c){var d=l(c);c=d.next().value;d=d.next().value;return b.format(c,d,a)}))};
RM.prototype.formatUserTime=function(a){var b=this;return(0,W.combineLatest)([this.userTimeFormat$,this.userTimeZone$]).pipe(y(function(c){var d=l(c);c=d.next().value;d=d.next().value;return b.format(c,d,a)}))};
var SM=function(a,b){return(0,W.combineLatest)([a.userCalendarFormat$,a.userTimeFormat$,a.userTimeZone$]).pipe(y(function(c){var d=l(c);c=d.next().value;var e=d.next().value;d=d.next().value;return a.format(c+" "+e,d,b)}))},Afc=function(a,b,c){return c?a.timeZonesApi.get(c).pipe(y(function(d){return a.format("yyyy-MM-dd HH:mm:ss Z",d,b)})):(0,W.of)(a.format("yyyy-MM-dd HH:mm:ss Z",void 0,b))},inb=function(a,b){var c=void 0;c=c===void 0?0:c;b=b===void 0?!1:b;var d=new ui;c&&d.setTime(c);c=new ui;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 Dv("m",a)),e=Math.floor((c.getTime()-d.getTime())/864E5));d=new Dv(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"};RM.\u0275fac=function(a){return new (a||RM)(n(rH),n(II))};RM.\u0275prov=Hc({token:RM,factory:RM.\u0275fac,providedIn:"root"});var rJa=[["year",31536E3],["month",2592E3],["week",604800],["day",86400],["hour",3600],["minute",60],["second",1]],sJa={year:"yr",month:"mo",week:"w",day:"d",hour:"h",minute:"m",second:"s"};var Bfc=[{name:"local",id:""},{name:"UTC",id:"UTC"},{name:"MTV",id:"America/Los_Angeles"}],Cfc=Symbol("Dd"),Dfc=Symbol("Dd"),TM=function(a){var b=this;this.dateFormatter=a;this.paddingLeftPx=5;this.timestampMs$=new W.ReplaySubject(1);this.timestampIso$=this.timestampMs$.pipe(y(function(c){return c?(new Date(c)).toISOString():""}));this.timestampDate$=this.timestampMs$.pipe(y(function(c){if(c!==void 0)return new Date(c)}));this[Cfc]=this.timestampDate$.pipe(pf(function(c){if(c===void 0)return(0,W.of)("");
var d=c.getTime()/1E3;switch(b.mode){case "date":return b.dateFormatter.formatUserCalendar(c);case "time":return b.dateFormatter.formatUserTime(c);case "datetime":return SM(b.dateFormatter,c);case "relativepast":return c=yo(d),(0,W.of)(c);case "relativepastshort":var e;return(0,W.of)((e=yo(d,!0))!=null?e:"");default:return Dc(b.mode)}}));this[Dfc]=this.timestampDate$.pipe(pf(function(c){return c===void 0?(0,W.of)(""):(0,W.combineLatest)(Bfc.map(function(d){return Afc(b.dateFormatter,c,d.id).pipe(y(function(e){return{formatted:e,
tzName:d.name}}))})).pipe(Efc)}));this.vars$=(0,W.combineLatest)([this[Cfc],this[Dfc]]).pipe(y(function(c){var d=l(c);c=d.next().value;d=d.next().value;return{formatted:c,title:d}}))};TM.prototype.ngOnInit=function(){};
ea.Object.defineProperties(TM.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())}}});TM.\u0275fac=function(a){return new (a||TM)(A(RM))};
TM.\u0275cmp=p({type:TM,selectors:[["b-formatted-date-time"]],inputs:{timestamp:"timestamp",date:"date",mode:"mode",paddingLeftPx:"paddingLeftPx"},decls:2,vars:3,consts:[[4,"ngIf"],[3,"title"]],template:function(a,b){a&1&&(C(0,tJa,4,8,"ng-container",0),T(1,"async"));a&2&&D("ngIf",V(1,1,b.vars$))},dependencies:[Gv,Lv],encapsulation:2,changeDetection:0});
var Efc=(0,W.pipe)(y(function(a){var b=new Map;a=l(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=b.get(c.formatted);d?d.tzNames.push(c.tzName):(d={formatted:c.formatted,tzNames:[c.tzName]},b.set(c.formatted,d))}return Array.from(b.values()).map(function(e){return e.formatted+" ("+e.tzNames.join("/")+")"}).join("\n")}));var UM=function(){};UM.\u0275fac=function(a){return new (a||UM)};UM.\u0275mod=dd({type:UM});UM.\u0275inj=Ic({imports:[BB]});var VM=function(a){this.internalArray_=m(a)};X(VM,Y);VM.prototype.getDisplayName=function(){return Kh(this,1)};VM.prototype.setDisplayName=function(a){return rj(this,1,a)};VM.prototype.getPhotoUrl=function(){return Kh(this,2)};var WM=function(a){this.internalArray_=m(a,0,WM.messageId)};X(WM,Y);WM.messageId="b.UserProfileBatchResponse";var XM=function(a,b){var c=this;this.userProfilesBatchApiConfig=a;this.batchApiAdapter=b;this.batchAdaptedGet=this.batchApiAdapter.adapt(this.userProfilesBatchApiConfig);this.memoizingUserProfileMap=new d9b(function(d){return c.batchAdaptedGet(d)},100)};XM.prototype.get=function(a){return this.memoizingUserProfileMap.get(a)};XM.\u0275fac=function(a){return new (a||XM)(n(YM),n(sC))};XM.\u0275prov=Hc({token:XM,factory:XM.\u0275fac,providedIn:"root"});var YM=function(a){this.executor=a};
YM.prototype.call=function(a){return this.executor.get({url:"action/user_profiles",options:{params:{usernames:[].concat(r(a)).join(",")}},responseConstructor:WM}).pipe($e(function(){return(0,W.of)(new WM)}))};YM.prototype.split=function(a,b){return(a=ic(b,1,VM,Sb).get(a))?{photoUrl:a.getPhotoUrl(),highResolutionPhotoUrl:Kh(a,3),displayName:a.getDisplayName()}:void 0};YM.\u0275fac=function(a){return new (a||YM)(n(IB))};YM.\u0275prov=Hc({token:YM,factory:YM.\u0275fac,providedIn:"root"});var ZM=function(a){this.refreshMonitor=a;this.user="";this.coinonly=null};ZM.\u0275fac=function(a){return new (a||ZM)(A(iG))};ZM.\u0275cmp=p({type:ZM,selectors:[["b-availability-chip"]],inputs:{user:"user",coinonly:"coinonly"},decls:1,vars:1,consts:[[3,"refreshable"],[3,"user"]],template:function(a,b){a&1&&C(0,uJa,1,2,"ng-template",0);a&2&&D("refreshable",b.refreshMonitor.getObservable())},dependencies:[WK,dM],styles:["waldo-availability-chip[_ngcontent-%COMP%] { margin-left: 5px; }"],changeDetection:0});var $M=function(a,b){var c=this;this.session=a;this.userProfiles=b;this.hovercardEnabled=this.availabilityChipEnabled=!0;this.hovercardFocusEnabled=!1;this.email$=new W.ReplaySubject(1);this.showEmail$=new W.BehaviorSubject(!1);this.isNonObfuscatedEmail=Km;this.userProfile$=this.email$.pipe(pf(function(d){return c.userProfiles.get(d)})).pipe(of(void 0));this.content$=(0,W.combineLatest)([this.email$,this.userProfile$,this.showEmail$]).pipe(y(function(d){var e=l(d);d=e.next().value;var f=e.next().value;
e=e.next().value;return(f=f==null?void 0:f.displayName)?e?d+" ("+f+")":f:d}));this.vars$=(0,W.combineLatest)([this.email$,this.content$]).pipe(y(function(d){var e=l(d);d=e.next().value;e=e.next().value;return{email:d,content:e}}));this.enableWaldoAvailability=this.session.getFlag("enableWaldoAvailability")&&this.session.isInternalSession()};ea.Object.defineProperties($M.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)}}});
$M.\u0275fac=function(a){return new (a||$M)(A(Ir),A(XM))};
$M.\u0275cmp=p({type:$M,selectors:[["b-user-display-name"]],inputs:{availabilityChipEnabled:"availabilityChipEnabled",hovercardEnabled:"hovercardEnabled",hovercardFocusEnabled:"hovercardFocusEnabled",email:"email",showEmail:"showEmail"},decls:2,vars:3,consts:[["displayName",""],["card",""],[4,"ngIf"],[4,"ngIf","ngIfElse"],["coinonly","",3,"user"],["role","button",1,"keep-focus-ring",3,"onedevHovercardTrigger"],[4,"ngTemplateOutlet"],[3,"email"]],template:function(a,b){a&1&&(C(0,zJa,4,2,"ng-container",
2),T(1,"async"));a&2&&D("ngIf",V(1,1,b.vars$))},dependencies:[Gv,Kv,ZM,qL,$H,gI,Lv],encapsulation:2,changeDetection:0});var aN=function(a){Z.call(this);var b=this;this.changelistApi=a;this.providedChangelistId$=new W.ReplaySubject(1);this.changelist$=this.providedChangelistId$.pipe(pf(function(c){return b.changelistApi.getChangelistDetails(c)}),mf({refCount:!0,bufferSize:1}));this.init=new W.ReplaySubject(1)};X(aN,Z);aN.\u0275dir=Z.\u0275dir;aN.prototype.ngOnInit=function(){var a=this;this.changelist$.pipe(ef(),qf(this.destroyed$)).subscribe(function(){a.init.next()})};
aN.prototype.ngOnChanges=function(a){a.changelistId&&this.providedChangelistId$.next(this.changelistId)};aN.\u0275fac=function(a){return new (a||aN)(A(jC))};
aN.\u0275cmp=p({type:aN,selectors:[["b-changelist-card"]],inputs:{changelistId:"changelistId"},outputs:{init:"init"},features:[zf,td],decls:4,vars:3,consts:[["role","dialog","aria-label","Changelist hovercard",1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],[4,"ngIf"],[1,"card"],[3,"href"],["class","author",4,"ngIf"],[1,"description"],[3,"innerHTML"],[4,"ngFor","ngForOf"],[1,"author"],[3,"email","hovercardEnabled"],["mode","datetime",1,"float-right",3,"timestamp"]],template:function(a,b){a&
1&&(F(0,"div",0)(1,"div",1),C(2,DJa,16,6,"ng-container",2),T(3,"async"),G()());a&2&&(z(2),D("ngIf",V(3,1,b.changelist$)))},dependencies:[Fv,Gv,$M,TM,Lv],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 bN=function(){this.id=0};bN.\u0275fac=function(a){return new (a||bN)};
bN.\u0275cmp=p({type:bN,selectors:[["changelist-link-plain"]],inputs:{id:"id"},decls:5,vars:3,consts:[["card","onedevHovercard"],["cardBody",""],["target","_blank",1,"cl-link",3,"href","onedevHovercardTrigger"],[3,"onedevIsHovercardReady","changelistId",4,"onedevHovercardLazyBody"],[3,"onedevIsHovercardReady","changelistId"]],template:function(a,b){a&1&&(F(0,"a",2),R(1),G(),F(2,"onedev-hovercard",null,0),C(4,EJa,2,2,"b-changelist-card",3),G());a&2&&(a=Q(3),D("href","http://critique.corp.google.com/"+
b.id,Qe)("onedevHovercardTrigger",a),z(),S(" cl/",b.id,"\n"))},dependencies:[$H,aI,gI,bI,aN],encapsulation:2});var cN=function(){};cN.\u0275fac=function(a){return new (a||cN)};cN.\u0275mod=dd({type:cN});cN.\u0275inj=Ic({imports:[XK,BB,hM]});var dN=function(){};dN.prototype.transform=function(a){if(Km(a))return a};dN.\u0275fac=function(a){return new (a||dN)};dN.\u0275pipe=gd({name:"omitObfuscatedEmail",type:dN,pure:!0});var eN=function(){this.model={};this.hovercardEnabled=this.availabilityChipEnabled=!0;this.hovercardFocusEnabled=!1};eN.prototype.getDisplayString=function(){return pm(this.model)};var Ffc=function(a){var b=a.model;return(b&&b.getUserGaiaStatus?hza(jza(b)):hza(b))&&!!a.getEmailAddress()};eN.prototype.getEmailAddress=function(){return sm(this.model)||""};eN.\u0275fac=function(a){return new (a||eN)};
eN.\u0275cmp=p({type:eN,selectors:[["b-user-display"]],inputs:{model:"model",availabilityChipEnabled:"availabilityChipEnabled",hovercardEnabled:"hovercardEnabled",hovercardFocusEnabled:"hovercardFocusEnabled"},decls:3,vars:2,consts:[[3,"email","hovercardEnabled","availabilityChipEnabled","hovercardFocusEnabled",4,"ngIf"],[4,"ngIf"],[3,"email","hovercardEnabled","availabilityChipEnabled","hovercardFocusEnabled"]],template:function(a,b){a&1&&(K(0),C(1,FJa,1,4,"b-user-display-name",0)(2,GJa,2,1,"span",
1),L());a&2&&(z(),D("ngIf",Ffc(b)),z(),D("ngIf",!Ffc(b)))},dependencies:[Gv,$M],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 JJa={"alertmanager-buganizer-handler@prod.google.com":"https://g3doc.corp.google.com/production/borg/alertmanager/g3doc/templates/AlertManager-darkred.png","blunderbuss-prod@prod.google.com":"https://moma.corp.google.com/team_logos/f5955dadc5abc82300946ee12bf0b610","bugjuggler-beta@google.com":"https://g3doc.corp.google.com/productivity/bugjuggler/g3doc/logo.png?cl=head","bugjuggler-beta@prod.google.com":"https://g3doc.corp.google.com/productivity/bugjuggler/g3doc/logo.png?cl=head","bugjuggler@google.com":"https://g3doc.corp.google.com/productivity/bugjuggler/g3doc/logo.png?cl=head",
"bugjuggler@prod.google.com":"https://g3doc.corp.google.com/productivity/bugjuggler/g3doc/logo.png?cl=head","koalassistant@prod.google.com":"https://g3doc.corp.google.com/platforms/networking/orion/octave/g3doc/images/koalassistant.png?cl=head","mendel-toolbox@google.com":"https://g3doc.corp.google.com/experiments/mendel/g3doc/logo_mendel_bkg-green_32px.svg?cl=head","modem-explorer-jobs@prod.google.com":"https://static.corp.google.com/modem-tools/riemann/logo/riemann_logo.svg","modem-tools-bug-workbench@prod.google.com":"https://static.corp.google.com/modem-tools/riemann/logo/riemann_logo.svg",
"piper-bugupdater@google.com":"https://static.corp.google.com/devtools/codereview/new_logo_only.svg","piper-bugupdater@prod.google.com":"https://static.corp.google.com/devtools/codereview/new_logo_only.svg","pixel-modem-alcedo-issue-sync-server-dev-jobs@prod.google.com":"https://static.corp.google.com/modem-tools/riemann/logo/riemann_logo.svg","pixel-modem-alcedo-issue-sync-server@prod.google.com":"https://static.corp.google.com/modem-tools/riemann/logo/riemann_logo.svg","pixel-modem-tools-bug-traffic-control@prod.google.com":"https://static.corp.google.com/modem-tools/riemann/logo/riemann_logo.svg",
"pixel-modem-tools-issue-classifier-be@prod.google.com":"https://static.corp.google.com/modem-tools/riemann/logo/riemann_logo.svg","pixel-modem-tools-ltp-be@prod.google.com":"https://static.corp.google.com/modem-tools/ltp/logo.svg","pmw-data-prod-jobs@prod.google.com":"https://static.corp.google.com/modem-tools/riemann/logo/riemann_logo.svg","prefilter-fetcher-jobs-dev@prod.google.com":"https://static.corp.google.com/modem-tools/riemann/logo/riemann_logo.svg","pte-pqm-bugbot-dev-jobs@prod.google.com":"https://g3doc.corp.google.com/wireless/android/pixel/testing/bugbot/g3doc/bugbot_logo.png?cl=head",
"pte-pqm-bugbot@prod.google.com":"https://g3doc.corp.google.com/wireless/android/pixel/testing/bugbot/g3doc/bugbot_logo.png?cl=head","spur-workflows@prod.google.com":"https://g3doc.corp.google.com/security/spur/g3doc/spur_logo.jpg?cl=head"};var fN=function(a,b){var c=this;this.userProfiles=a;this.activeSession=b;this.email$=new W.ReplaySubject(1);this.isNonObfuscatedEmail=Km;this.userProfile$=this.email$.pipe(pf(function(d){return d?c.userProfiles.get(d).pipe(of(void 0)):(0,W.of)(void 0)}));this.vars$=(0,W.combineLatest)([this.email$,this.userProfile$]).pipe(y(function(d){var e=l(d);d=e.next().value;e=e.next().value;if(!e)return{email:d,showImage:!1,src:void 0,srcset:void 0};var f=!e.photoUrl,h=f?void 0:e.photoUrl,k;f?k=void 0:k=e.highResolutionPhotoUrl?
e.highResolutionPhotoUrl+" 2x":e.photoUrl+" 1x";return{email:d,showImage:!f,src:h,srcset:k}}))},NJa=function(a,b){return!b||a.activeSession.isExternalSession()?!1:JJa[b]!==void 0};
ea.Object.defineProperties(fN.prototype,{email:{configurable:!0,enumerable:!0,set:function(a){Km(a)?this.email$.next(a):this.email$.next(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"}}});fN.\u0275fac=function(a){return new (a||fN)(A(XM),A(Ir))};
fN.\u0275cmp=p({type:fN,selectors:[["b-user-image"]],hostVars:6,hostBindings:function(a,b){a&2&&Kf("tiny",b.tiny)("small",b.small)("medium",b.medium)},inputs:{email:"email",size:"size"},decls:2,vars:3,consts:[["imageDisplay",""],["card",""],[4,"ngIf"],[4,"ngIf","ngIfElse"],["role","img","aria-label","user avatar",3,"onedevHovercardTrigger"],[4,"ngTemplateOutlet"],[3,"email"],["class","user-avatar material",3,"anonymous",4,"ngIf"],["alt","",1,"user-avatar","material","robo-avatar",3,"src"],[1,"user-avatar",
"material"],["alt","",3,"src","srcset",4,"ngIf"],["alt","",3,"src","srcset"]],template:function(a,b){a&1&&(C(0,PJa,4,2,"ng-container",2),T(1,"async"));a&2&&D("ngIf",V(1,1,b.vars$))},dependencies:[Gv,Kv,qL,$H,gI,Lv],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}.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)}.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)}.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)}'],
changeDetection:0});var gN=function(a){this.session=a;this.isNonObfuscatedEmail=Km;this.email="";this.withProfile=!0;this.enableWaldoAvailability=this.session.getFlag("enableWaldoAvailability")&&this.session.isInternalSession()};gN.\u0275fac=function(a){return new (a||gN)(A(Ir))};
gN.\u0275cmp=p({type:gN,selectors:[["b-user-email"]],inputs:{email:"email",withProfile:"withProfile",ldapOnly:"ldapOnly"},decls:6,vars:4,consts:[["emailDisplay",""],["card",""],[1,"bv2-email-with-profile-container"],["class","bv2-email-with-profile-avatar",3,"email",4,"ngIf"],[4,"ngIf","ngIfElse"],["class","bv2-email-with-profile-waldo",4,"ngIf"],[1,"bv2-email-with-profile-avatar",3,"email"],["role","button",3,"onedevHovercardTrigger"],[4,"ngTemplateOutlet"],[3,"email"],[1,"bv2-email-with-profile-waldo"],
["coinonly","",3,"user"]],template:function(a,b){a&1&&(F(0,"span",2),C(1,QJa,1,1,"b-user-image",3)(2,SJa,6,3,"ng-container",4)(3,TJa,2,1,"ng-template",null,0,yg)(5,UJa,2,1,"span",5),G());a&2&&(a=Q(4),z(),D("ngIf",b.withProfile),z(),D("ngIf",b.isNonObfuscatedEmail(b.email))("ngIfElse",a),z(3),D("ngIf",b.enableWaldoAvailability))},dependencies:[Gv,Kv,ZM,qL,$H,gI,fN],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 Gfc=function(a,b){return[a,b]},hN=function(){this.size=this.name=""};hN.prototype.ngOnInit=function(){};hN.\u0275fac=function(a){return new (a||hN)};
hN.\u0275cmp=p({type:hN,selectors:[["b-icon"]],inputs:{name:"name",size:"size"},decls:1,vars:5,consts:[[3,"svgIcon","ngClass"]],template:function(a,b){a&1&&H(0,"mat-icon",0);a&2&&D("svgIcon",b.name)("ngClass",vg(2,Gfc,b.name,b.size))},dependencies:[Ev,zB],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%]{height:18px;width:18px}[_nghost-%COMP%]   .large[_ngcontent-%COMP%]{height:24px;width:24px}'],changeDetection:0});var iN=function(a,b,c){Z.call(this);var d=this;this.teamsService=a;this.session=b;this.principalTypesFridge=c;this.teamId="";this.enableGroupIcon=this.enableSmallChip=!1;this.providedTeamId$=new W.ReplaySubject(1);this.providedUser$=new W.ReplaySubject(1);this.providedEmail$=new W.ReplaySubject(1);this.isNonObfuscatedEmail=Km;this.isGroup$=this.providedEmail$.pipe(pf(function(e){return d.principalTypesFridge.watch(e)}),te(lj),y(function(e){return e.principalType==="GROUP"}));this.fetchedTeam$=this.providedTeamId$.pipe(pf(function(e){return hH(d.teamsService,
e)}));this.detailedUserType$=this.providedUser$.pipe(y(function(e){e=e?e&&e.getUserGaiaStatus?e.getAliasesList(Pi):e.aliases||[]:[];return e.includes("googlers_unrestricted")?"UNRESTRICTED_GOOGLER":e.includes("google_domain")?"TVC":e.includes("issue_creation_only_accounts")?"ISSUE_CREATION_ONLY":e.includes("external_partners")?"EXTERNAL":e.includes("public_non_google")?"PUBLIC":"NO_DETAILED_TYPE"}),of("NO_DETAILED_TYPE"));this.isTeamMember$=(0,W.combineLatest)([this.providedTeamId$,this.providedEmail$]).pipe(pf(function(e){var f=
l(e);e=f.next().value;f=f.next().value;return m9b(d.teamsService,e,f)}),of(!1),$e(function(){return(0,W.of)(!1)}));this.teamUser$=this.fetchedTeam$.pipe(y(function(e){return"Member of "+e.name}));this.groupMembershipType$=(0,W.combineLatest)([this.detailedUserType$,this.isTeamMember$]).pipe(y(function(e){var f=l(e);e=f.next().value;f=f.next().value;return e==="PUBLIC"?"PUBLIC_USER":e==="EXTERNAL"?"PARTNER_USER":f?"INTERNAL_TEAM_MEMBER":"INTERNAL_NON_TEAM_MEMBER"}));this.enableWaldoAvailability=this.session.getFlag("enableWaldoAvailability")&&
this.session.isInternalSession();this.userTypeClass$=this.groupMembershipType$.pipe(y(function(e){return d.enableSmallChip?"user-chip-small":e&&e!=="INTERNAL_NON_TEAM_MEMBER"?"user-chip":"user-chip-without-icon"}));this.userChipType$=this.groupMembershipType$.pipe(y(function(e){if(e&&e!=="INTERNAL_NON_TEAM_MEMBER"){if(e==="INTERNAL_TEAM_MEMBER")return"team-member-chip";if(e==="PARTNER_USER")return"partner-chip";if(e==="PUBLIC_USER")return"public-chip"}else return"internal-non-team-member-chip";return""}));
this.shouldShowIcon$=this.groupMembershipType$.pipe(y(function(e){return e&&e!=="INTERNAL_NON_TEAM_MEMBER"}));this.iconName$=this.groupMembershipType$.pipe(y(function(e){if(e&&e!=="INTERNAL_NON_TEAM_MEMBER"){if(e==="INTERNAL_TEAM_MEMBER")return"people-outline";if(e==="PARTNER_USER")return"enterprise";if(e==="PUBLIC_USER")return"public"}return""}));this.iconToolTip$=this.groupMembershipType$.pipe(tf(this.teamUser$),y(function(e){var f=l(e);e=f.next().value;f=f.next().value;if(e&&e!=="INTERNAL_NON_TEAM_MEMBER"){if(e===
"INTERNAL_TEAM_MEMBER")return f;if(e==="PARTNER_USER")return"Partner user";if(e==="PUBLIC_USER")return"Public user"}return""}))};X(iN,Z);iN.\u0275dir=Z.\u0275dir;iN.prototype.ngOnInit=function(){};iN.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)};iN.\u0275fac=function(a){return new (a||iN)(A(gH),A(Ir),A(SG))};
iN.\u0275cmp=p({type:iN,selectors:[["b-user-membership-chip"]],inputs:{user:"user",email:"email",teamId:"teamId",enableSmallChip:"enableSmallChip",enableGroupIcon:"enableGroupIcon"},features:[zf,td],decls:11,vars:13,consts:[["smallChipContents",""],["userImage",""],["emailDisplay",""],["card",""],[3,"ngClass"],[4,"ngIf"],[3,"email","hovercardFocusEnabled","availabilityChipEnabled",4,"ngIf","ngIfElse"],[3,"svgIcon","matTooltip",4,"ngIf"],["name","group_24px","size","small",4,"ngIf","ngIfElse"],["name",
"group_24px","size","small"],["size","tiny",3,"email"],[3,"email","hovercardFocusEnabled","availabilityChipEnabled"],[4,"ngIf","ngIfElse"],["tabindex","0","role","button",1,"keep-focus-ring",3,"onedevHovercardTrigger"],[4,"ngTemplateOutlet"],[3,"email"],[1,"user-chip-name"],[3,"svgIcon","matTooltip"],["coinonly","",3,"user"]],template:function(a,b){a&1&&(F(0,"span",4),T(1,"async"),F(2,"span",4),T(3,"async"),C(4,XJa,5,4,"ng-container",5)(5,YJa,1,3,"b-user-display-name",6)(6,bKa,3,2,"ng-template",null,
0,yg)(8,cKa,3,6,"mat-icon",7),T(9,"async"),G()(),C(10,dKa,2,1,"ng-container",5));if(a&2){var c,d;a=Q(7);D("ngClass",(c=V(1,7,b.userTypeClass$))!==null&&c!==void 0?c:"");z(2);D("ngClass",(d=V(3,9,b.userChipType$))!==null&&d!==void 0?d:"");z(2);D("ngIf",b.enableSmallChip);z();D("ngIf",!b.enableSmallChip)("ngIfElse",a);z(3);D("ngIf",V(9,11,b.shouldShowIcon$));z(2);D("ngIf",b.enableWaldoAvailability&&!b.enableSmallChip)}},dependencies:[Ev,Gv,Kv,zB,ZM,hN,LH,OH,qL,$H,gI,fN,$M,Lv],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 jN=function(){};jN.\u0275fac=function(a){return new (a||jN)};jN.\u0275mod=dd({type:jN});jN.\u0275inj=Ic({imports:[BB]});var kN=function(){};kN.\u0275fac=function(a){return new (a||kN)};kN.\u0275mod=dd({type:kN});kN.\u0275inj=Ic({imports:[BB,cN,jN,aM,OL,PL,NL]});var lN=function(){};lN.\u0275fac=function(a){return new (a||lN)};lN.\u0275mod=dd({type:lN});lN.\u0275inj=Ic({imports:[BB,kN,NL,UM]});var mN=function(){},Hfc=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""}};mN.\u0275fac=function(a){return new (a||mN)};
mN.\u0275cmp=p({type:mN,selectors:[["b-issue-priority-display"]],inputs:{issuePriority:"issuePriority"},decls:2,vars:2,consts:[[1,"p-chip",3,"ngClass"]],template:function(a,b){a&1&&(F(0,"span",0),R(1),G());a&2&&(D("ngClass",Hfc(b)),z(),a=b.issuePriority,S(" ",a==null?"--":d5b[a]," "))},dependencies:[Ev],styles:["/*# sourceMappingURL=issue_priority_display.css.map */"],changeDetection:0});var nN=function(){};nN.\u0275fac=function(a){return new (a||nN)};nN.\u0275mod=dd({type:nN});nN.\u0275inj=Ic({imports:[BB]});var Ifc=function(a){this.allowExecution=a;this.queue=[]};Ifc.prototype.addTask=function(a){this.queue.push(a);Jfc(this)};var Jfc=function(a){if(a.queue.length!==0)if(a.allowExecution()){var b=l(a.queue),c=b.next().value;a.queue=pk(b);c();Jfc(a)}else setTimeout(function(){Jfc(a)},0)};var oN=function(a,b,c,d){var e=this;this.location=a;this.platformLocation=b;this.activatedRoute=c;this.router=d;this.scheduler=new Ifc(function(){return!e.router.navigationTransitions.currentNavigation})};oN.prototype.absUrl=function(){return this.platformLocation.href};oN.prototype.hash=function(a,b){typeof a!=="undefined"&&Kfc(this,a!=null?a:"",b);var c;return(c=this.activatedRoute.snapshot.fragment)!=null?c:""};
var Kfc=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})})};oN.prototype.path=function(a,b){typeof a!=="undefined"&&this.setPath(a,b);return this.getPath()};var Lfc=function(a,b){a.path(b,!0)};g=oN.prototype;g.getPath=function(){var a=l(this.location.path().split("?")).next().value;return l(a.split("#")).next().value};
g.setPath=function(a,b){var c=this;a=a===void 0?"":a;b=b===void 0?!1:b;this.addTask(function(){c.router.navigate([a],{replaceUrl:b,queryParamsHandling:"preserve"})});return this};g.search=function(a,b,c){typeof a!=="undefined"&&this.setSearch(a,b,c);return this.getSearch()};g.getSearch=function(){return nKa(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(){qr(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)};
oN.\u0275fac=function(a){return new (a||oN)(n(Zv),n(Uv),n(ai),n(pB))};oN.\u0275prov=Hc({token:oN,factory:oN.\u0275fac,providedIn:"root"});var pN=function(a){this.bLocation=a;this.listIssues=zo.listIssues.makeHref;this.createIssue=zo.createIssue.makeHref};pN.prototype.viewSavedSearch=function(a,b){return eKa(zo.viewSavedSearch.routeDeclarationPath,{id:a,params:b})};var Mfc=function(a,b){b=b.charAt(0)!=="/"?"/"+b:b;a=a.bLocation.getUrl();a=new bp(a);b=new bp(b);return a.getPath()===b.getPath()&&bK(a.queryData_.toString())===bK(b.queryData_.toString())};g=pN.prototype;g.createBookmarkGroup=function(){return zo.createBookmarkGroup.routeDeclarationPath};
g.viewBookmarkGroup=function(a){return eKa(zo.viewBookmarkGroup.routeDeclarationPath,{id:a})};g.editBookmarkGroup=function(a){return Bo(zo.editBookmarkGroup.routeDeclarationPath,{id:a})};g.editSavedSearch=function(a){return Bo(zo.editSavedSearch.routeDeclarationPath,{id:a})};g.getBaseUrl=function(){var a=this.bLocation.absUrl();a=a.slice(0,a.length-this.bLocation.getUrl().length);a.charAt(a.length-1)==="/"&&(a=a.slice(0,a.length-1));return a};
g.settings=function(a){return a?Bo(zo.settingsTab.routeDeclarationPath,{id:a,token:":settingsTab?"}):Bo(zo.settings.routeDeclarationPath)};g.home=function(){return Bo(zo.home.routeDeclarationPath,{params:void 0})};pN.\u0275fac=function(a){return new (a||pN)(n(oN))};pN.\u0275prov=Hc({token:pN,factory:pN.\u0275fac,providedIn:"root"});var Nfc="comment priority status assignee self-assign self-unassign unassign".split(" "),Ofc=["create"],qN=function(a,b){this.paths=a;this.issueFridge=b;this.toIssuePriority=Yj;this.getResponsibleEmailAddress=yFa;this.getChangelistNumber=vFa;this.getPreviousDiffValue=zFa;this.getNewDiffValue=xFa;this.shorthandAllDiffs=wFa;this.getClMetadata=uFa;this.STATUS_CODE_FROM_DISPLAY_STRING=b5b;this.type="default"};qN.prototype.ngOnInit=function(){this.type=AFa(this.event)};
qN.\u0275fac=function(a){return new (a||qN)(A(pN),A(jG))};
qN.\u0275cmp=p({type:qN,selectors:[["recent-event-row"]],inputs:{event:"event"},decls:16,vars:16,consts:[[3,"ldapOnly","email"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[4,"ngIf"],[3,"href","issueId"],["mode","relativepast",3,"timestamp"],[3,"id"],[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&&(H(0,"b-user-email",0),K(1,1),C(2,
oKa,5,4,"ng-container",2)(3,qKa,5,3,"ng-container",2)(4,rKa,5,4,"ng-container",2)(5,sKa,7,5,"ng-container",2)(6,uKa,5,5,"ng-container",2)(7,wKa,6,5,"ng-container",2)(8,xKa,7,6,"ng-container",2)(9,yKa,5,4,"ng-container",2)(10,zKa,5,4,"ng-container",2)(11,AKa,7,6,"ng-container",2)(12,BKa,6,4,"ng-container",2)(13,CKa,6,5,"ng-container",3),L(),C(14,EKa,2,1,"ng-container",4)(15,GKa,2,1,"ng-container",4));a&2&&(D("ldapOnly",!0)("email",b.getResponsibleEmailAddress(b.event)),z(),D("ngSwitch",b.type),z(),
D("ngSwitchCase","create"),z(),D("ngSwitchCase","changelist"),z(),D("ngSwitchCase","comment"),z(),D("ngSwitchCase","priority"),z(),D("ngSwitchCase","status"),z(),D("ngSwitchCase","statusUpdate"),z(),D("ngSwitchCase","assignee"),z(),D("ngSwitchCase","self-assign"),z(),D("ngSwitchCase","self-unassign"),z(),D("ngSwitchCase","unassign"),z(),D("ngSwitchCase","component"),z(2),D("ngIf",Nfc.includes(b.type)),z(),D("ngIf",Ofc.includes(b.type)))},dependencies:[Gv,Hv,Iv,Jv,gN,TM,iI,mN,bN],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 rN=function(a){this.internalArray_=m(a)};X(rN,Y);rN.prototype.getText=function(){return Kh(this,1)};rN.prototype.setText=function(a){return cj(this,1,a)};var sN=function(a){this.internalArray_=m(a)};X(sN,Y);sN.prototype.setModel=function(a){return cj(this,1,a)};sN.prototype.setTemperature=function(a){oo(this,3,Bb(a))};sN.repeatedFields_=[8,9];var IKa=function(a){this.internalArray_=m(a)};X(IKa,Y);IKa.prototype.getOutput=function(){return Kh(this,1)};IKa.repeatedFields_=[2];var HKa=function(a){this.internalArray_=m(a)};X(HKa,Y);HKa.repeatedFields_=[1,2,3,4];var Pfc=function(a){this.internalArray_=m(a,0,Pfc.messageId)};X(Pfc,Y);Pfc.messageId="b.GenerateTextResponse";var tN=function(a){this.executor=a};tN.prototype.generate=function(a){var b;var c=(new sN).setModel((b=a.model)!=null?b:"models/text-bison-001");b=(new rN).setText(a.prompt);c=oj(c,rN,2,b);a.temperature!=null&&c.setTemperature(a.temperature);return this.executor.post({url:"/action/palm/generate",body:c,responseConstructor:Pfc}).then(JKa)};tN.\u0275fac=function(a){return new (a||tN)(n(JB))};tN.\u0275prov=Hc({token:tN,factory:tN.\u0275fac,providedIn:"root"});var uN=function(a){this.palmApi=a},Qfc=function(a,b){var c,d;return fe(function(e){if(e.nextAddress==1)return c={prompt:b},he(e,a.palmApi.generate(c),2);d=e.yieldResult;return e.return(d.output)})};uN.\u0275fac=function(a){return new (a||uN)(n(tN))};uN.\u0275prov=Hc({token:uN,factory:uN.\u0275fac,providedIn:"root"});var vN=function(a,b){Z.call(this);var c=this;this.recentEventsForIssuesFridge=a;this.llmService=b;this.quickFilter=new xy("");this.printStats=YKa;this.defaultNumEvents=6;this.numDisplayed$=new W.BehaviorSubject(this.defaultNumEvents);this.query$=new W.ReplaySubject(1);this.renderDelay$=(0,W.of)(!0).pipe(cf(1E3));this.allEvents$=this.query$.pipe(te(lj),qf(this.destroyed$),y(function(d){return[d,100].join("___")}),pf(this.recentEventsForIssuesFridge.watchOne),y(function(d){var e;return(e=d==null?void 0:
d.events)!=null?e:[]}));this.events$=(0,W.combineLatest)([this.allEvents$,this.quickFilter.valueChanges.pipe(of(""))]).pipe(y(function(d){var e=l(d);d=e.next().value;d=d===void 0?[]:d;e=e.next().value;return d.filter(XKa(e))}));this.bucketedEvents$=(0,W.combineLatest)([this.events$,this.numDisplayed$]).pipe(y(function(d){var e=l(d);d=e.next().value;e=e.next().value;return d.slice(0,e)}),y(ZKa));this.allBucketedEvents$=this.events$.pipe(y(ZKa));this.bucketedEventStats$=this.allBucketedEvents$.pipe(y(function(d){return{"<24h":$Ka("<24h",
d),"24h-7d":$Ka("24h-7d",d),"7d-30d":$Ka("7d-30d",d),">30d":$Ka(">30d",d)}}));this.viewModesEnabled=Ql()&&qn("enableIlpModesWorkArea");this.aiSummary$=this.allEvents$.pipe(y(bLa),pf(function(d){return Qfc(c.llmService,d)}),of("..."))};X(vN,Z);vN.\u0275dir=Z.\u0275dir;
ea.Object.defineProperties(vN.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)}}});vN.\u0275fac=function(a){return new (a||vN)(A(TG),A(uN))};
vN.\u0275cmp=p({type:vN,selectors:[["recent-events"]],inputs:{numEvents:"numEvents",query:"query"},features:[zf],decls:2,vars:3,consts:[[1,"ai-summary","carded","margin-bottom"],[1,"heading-xs","margin-bottom"],["type","search","placeholder","filter","aria-label","filter recent activity",1,"margin-s-left","subtle","b-input-style",3,"formControl"],["svgIcon","chat_spark_24px","color","primary",1,"icon-s"],[1,"muted"],[1,"pre-wrap"],[1,"link-button","margin-s-top"],[1,"muted","bold","margin-s-bottom"],
[3,"event",4,"ngFor","ngForOf"],[3,"event"],[1,"muted","bold","margin-s-bottom","margin-top"],[1,"link-button","margin-s-top",3,"click"]],template:function(a,b){a&1&&(C(0,WKa,6,5),T(1,"async"));a&2&&Of(V(1,1,b.renderDelay$)?0:-1)},dependencies:[mh,qy,Dy,Fv,zB,qN,Lv],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 wN=function(){};wN.\u0275fac=function(a){return new (a||wN)};wN.\u0275mod=dd({type:wN});wN.\u0275inj=Ic({imports:[Ny,My,BB,kN,UM,KM,nN,lN]});var Rfc=rh({opacity:"0"}),Sfc=te(function(a){return a}),Tfc=(0,W.pipe)(df(),Sfc,jf()),Ufc=new md("xap-bubble UX style"),xN=function(a){var b=this;this.activity=new W.Subject;this.openedSubject=new W.BehaviorSubject(!1);this.destroy=new W.ReplaySubject;this.overlayPositions=[];this.overlayPanelClass="";this.hoverDelayMs=50;this.beforeShow=this.beforeOpened=new Xu;this.onOpened=new Xu;this.bubbleStyle=a||"xap-bubble-md1";this.opened=this.openedSubject.pipe(Oja(function(){return b.activity.pipe(bf(b.hoverDelayMs))}));
a=qf(this.destroy);this.opened.pipe(Tfc,a).subscribe(this.onOpened);this.openedSubject.pipe(Sfc,Dka(function(){return b.opened.pipe(te(function(c){return!c}))}),a).subscribe(function(){b.beforeOpened.emit()})};xN.prototype.ngOnDestroy=function(){this.destroy.next();this.destroy.complete()};xN.prototype.toggle=function(a){this.openedSubject.next(a);this.activity.next()};xN.\u0275fac=function(a){return new (a||xN)(A(Ufc,8))};
xN.\u0275cmp=p({type:xN,selectors:[["xap-bubble"]],inputs:{panelTemplate:"panelTemplate",overlayPositions:"overlayPositions",overlayPanelClass:"overlayPanelClass",hoverDelayMs:"hoverDelayMs"},outputs:{beforeOpened:"beforeOpened",beforeShow:"beforeShow",onOpened:"opened"},ngContentSelectors:["*"],decls:5,vars:7,consts:[["trigger","cdkOverlayOrigin"],["cdkOverlayOrigin","",1,"xap-bubble-trigger",3,"mouseenter","mouseleave","mousemove","ngClass"],["cdkConnectedOverlay","","cdkConnectedOverlayPush","true",
3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayPositions","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen"],[1,"xap-bubble-panel",3,"mouseenter","mouseleave","mousemove","ngClass"],[4,"ngTemplateOutlet"]],template:function(a,b){if(a&1){var c=u();Xf();F(0,"span",1,0);M("mouseenter",function(){v(c);return x(b.toggle(!0))})("mouseleave",function(){v(c);return x(b.toggle(!1))})("mousemove",function(){v(c);b.activity.next();return x()});Yf(2);G();C(3,dLa,2,3,"ng-template",2);T(4,"async")}a&
2&&(a=Q(1),D("ngClass",b.bubbleStyle),z(3),D("cdkConnectedOverlayPanelClass",b.overlayPanelClass)("cdkConnectedOverlayPositions",b.overlayPositions)("cdkConnectedOverlayOrigin",a)("cdkConnectedOverlayOpen",V(4,5,b.opened)))},dependencies:[Ev,Kv,xx,wx,Lv],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:[ph("fade",[uh(":enter",[Rfc,qh("225ms")]),uh(":leave",[qh("195ms",Rfc)])])]}});var yN=function(a,b){this.activeSession=a;this.documentationLinks=b;this.labelOnlyMode=this.compactMode=!1;this.chipText=this.bubbleText=this.chipClass=""};
yN.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=""}};yN.\u0275fac=function(a){return new (a||yN)(A(Ir),A(oI))};
yN.\u0275cmp=p({type:yN,selectors:[["b-component-access-level-indicator"]],inputs:{accessLevel:"accessLevel",compactMode:"compactMode",labelOnlyMode:"labelOnlyMode"},features:[td],decls:1,vars:1,consts:[["withBubble",""],["popup",""],[4,"ngIf"],[4,"ngIf","ngIfElse"],[1,"chippy","rounded",3,"ngClass"],[3,"panelTemplate"],[1,"chippy","rounded","nowrap",3,"ngClass"],[1,"bubble"],["target","_blank",3,"href"]],template:function(a,b){a&1&&C(0,hLa,4,2,"ng-container",2);if(a&2){if(a=b.accessLevel)a=b.activeSession.isInternalSession()?
b.accessLevel==="EXTERNAL_PARTNER"||b.accessLevel==="EXTERNAL_PUBLIC":wC(b.activeSession)?b.accessLevel==="EXTERNAL_PUBLIC":!1;D("ngIf",a)}},dependencies:[Ev,Gv,xN],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 Vfc={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"},zN=function(){};zN.prototype.transform=function(a){return Vfc[a]};zN.\u0275fac=function(a){return new (a||zN)};zN.\u0275pipe=gd({name:"toCustomFieldTypeDisplayValue",type:zN,pure:!0});var AN=function(){};AN.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+"@"};AN.\u0275fac=function(a){return new (a||AN)};AN.\u0275pipe=gd({name:"shortenEmail",type:AN,pure:!0});var BN=function(){};BN.\u0275fac=function(a){return new (a||BN)};BN.\u0275mod=dd({type:BN});BN.\u0275inj=Ic({imports:[BB]});var CN=function(){};CN.\u0275fac=function(a){return new (a||CN)};CN.\u0275mod=dd({type:CN});CN.\u0275inj=Ic({imports:[Tv,yx]});var DN=function(){};DN.\u0275fac=function(a){return new (a||DN)};DN.\u0275mod=dd({type:DN});DN.\u0275inj=Ic({imports:[BB,BN,CN]});var EN=function(a,b,c,d){this.activeSession=a;this.issueApi=b;this.analytics=c;this.errorHandler=d;this.onCc=new XF};EN.prototype.ngOnInit=function(){};
EN.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)}))};EN.\u0275fac=function(a){return new (a||EN)(A(Ir),A(PD),A(bG),A(uE))};
EN.\u0275cmp=p({type:EN,selectors:[["b-cc-button"]],inputs:{issueId:"issueId",ccState:"ccState"},outputs:{onCc:"onCc"},decls:3,vars:1,consts:[["mat-button","",1,"gmat-button","medium",3,"click"],[4,"ngIf"]],template:function(a,b){a&1&&(F(0,"button",0),M("click",function(){return b.toggle()}),C(1,iLa,2,0,"ng-container",1),R(2,"CC me\n"),G());a&2&&(z(),D("ngIf",b.ccState))},dependencies:[Gv,oE],encapsulation:2});var Wfc=new RegExp("ALIAS:("+Object.values({GOOGLERS_UNRESTRICTED:"googlers_unrestricted",GOOGLE_DOMAIN:"google_domain",PUBLIC_NON_GOOGLE:"public_non_google",PUBLIC:"public"}).join("|")+")");var No=function(a,b){this.char=a;this.modifiers=b};var Xfc={category:"Edit Issue Page",keys:[Oo("r")],displayAs:"Shift+r",description:"Refresh"},Yfc={category:"Issue List",keys:["u",Oo("r")],displayAs:"u / Shift+r",description:"Refresh search results"},Sq={ASSIGN_ISSUE_TO_DEFAULT_ASSIGNEE:{category:"Edit Issue Page",keys:[Oo("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:Xfc,REFRESH_ISSUE_LIST:Yfc,TOGGLE_MARK_AS_DUPLICATE:{category:"Edit Issue Page",keys:["d"],displayAs:"d",description:"Mark/unmark issue as duplicate"},TOGGLE_STAR:{category:"Edit Issue Page",keys:["s"],displayAs:"s",description:"Star/Unstar this issue"}};/*

 Copyright 2016 Craig Campbell

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

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

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

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

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

 The MIT License (MIT)

 Copyright (c) 2016 Nick Richardson

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

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

 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 SOFTWARE.
*/
var Zfc=function(a,b,c,d,e,f){this.combo=a;this.callback=b;this.allowIn=c;this.description=d;this.action=e;this.persistent=f;this.combo=Array.isArray(a)?a:[a];this.allowIn=c||[];this.description=d||""};
ea.Object.defineProperties(Zfc.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 $fc=new md("HotkeyOptions");var FN=function(a){this.options=a;this.hotkeys=[];this.pausedHotkeys=[];this.cheatSheetToggle=new W.Subject;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 Zfc(this.options.cheatSheetHotkey||"?",function(){this.cheatSheetToggle.next()}.bind(this),[],this.options.cheatSheetDescription||
"Show / hide this help menu"));this.options.cheatSheetCloseEsc&&this.add(new Zfc("esc",function(){this.cheatSheetToggle.next(!1)}.bind(this),["HOTKEYS-CHEATSHEET"],this.options.cheatSheetCloseEscDescription||"Hide this help menu"))};g=FN.prototype;
g.add=function(a,b){var c=this;if(Array.isArray(a)){for(var d=[],e=l(a),f=e.next();!f.done;f=e.next())d.push(this.add(f.value,b));return d}this.remove(a);this.hotkeys.push(a);this.mousetrap.bind(a.combo,function(h,k){var q=!0;if(h){var t=h.target,w=t.nodeName.toUpperCase();(" "+t.className+" ").indexOf(" mousetrap ")>-1?q=!0:c.preventIn.indexOf(w)>-1&&a.allowIn.map(function(B){return B.toUpperCase()}).indexOf(w)===-1&&(q=!1)}if(q)return a.callback.apply(c,[h,k])},b);return a};
g.remove=function(a){var b=[];if(!a){a=l(this.hotkeys);for(var c=a.next();!c.done;c=a.next())b.push(this.remove(c.value));return b}if(Array.isArray(a)){a=l(a);for(c=a.next();!c.done;c=a.next())b.push(this.remove(c.value));return b}b=this.hotkeys.indexOf(a);return b>-1?(this.hotkeys.splice(b,1),this.mousetrap.unbind(a.combo),a):null};
g.get=function(a){if(!a)return this.hotkeys;if(Array.isArray(a)){var b=[];a=l(a);for(var c=a.next();!c.done;c=a.next())b.push(this.get(c.value));return b}for(b=0;b<this.hotkeys.length;b++)if(this.hotkeys[b].combo.indexOf(a)>-1)return this.hotkeys[b];return null};g.pause=function(a){if(!a)return this.pause(this.hotkeys);if(Array.isArray(a)){var b=[];a=l(a.slice());for(var c=a.next();!c.done;c=a.next())b.push(this.pause(c.value));return b}this.remove(a);this.pausedHotkeys.push(a);return a};
g.unpause=function(a){if(!a)return this.unpause(this.pausedHotkeys);if(Array.isArray(a)){var b=[];a=l(a.slice());for(var c=a.next();!c.done;c=a.next())b.push(this.unpause(c.value));return b}b=this.pausedHotkeys.indexOf(a);return b>-1?(this.add(a),this.pausedHotkeys.splice(b,1)):null};g.reset=function(){this.mousetrap.reset()};FN.\u0275fac=function(a){return new (a||FN)(n($fc))};FN.\u0275prov=Hc({token:FN,factory:FN.\u0275fac});var GN=function(){};GN.\u0275fac=function(a){return new (a||GN)};GN.\u0275mod=dd({type:GN});GN.\u0275inj=Ic({imports:[Tv]});var agc;gea("A AREA BUTTON HEAD INPUT LINK MENU META OPTGROUP OPTION PROGRESS STYLE SELECT SOURCE TEXTAREA TITLE TRACK".split(" "));
var bgc="combobox grid group listbox menu menubar radiogroup row rowgroup tablist textbox toolbar tree treegrid".split(" "),HN=function(a,b){b?a.setAttribute("role",b):a.removeAttribute("role")},IN=function(a,b,c){Array.isArray(c)&&(c=c.join(" "));var d="aria-"+b;c===""||c==void 0?(agc||(c={},agc=(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=agc,b in c?a.setAttribute(d,c[b]):a.removeAttribute(d)):a.setAttribute(d,c)},cgc=function(a,b){a=a.getAttribute("aria-"+b);return a==null||a==void 0?"":String(a)},JN=function(a,b){var c="";b&&(c=b.id);IN(a,"activedescendant",c)},dgc=function(a,b){IN(a,"label",b)};var KN=function(a,b,c,d){Z.call(this);var e=this;this.rawHotkeysService=c;this.ngZone=d;this.enabled=!0;this.paused=!1;this.hotkeyGroups=new Map;this.stopCallback=function(f,h){if(!e.enabled||e.paused)h=!0;else if((" "+h.className+" ").indexOf(" mousetrap ")>-1||h.classList.contains("has-hotkey"))h=!1;else{if(f=h.getAttribute)f=h.getAttribute("role")||null,f=Ta(bgc,f);h=f||h.contentEditable==="true"||h.tagName==="INPUT"&&h.type==="text"||h.tagName==="SELECT"||h.tagName==="TEXTAREA"||egc(h)?!0:!1}return h};
b.keyboardPrefs$.pipe(qf(this.destroyed$)).subscribe(function(f){f&&(e.enabled=!!f.enableAllHotkeys)});a.routeChangeStart.pipe(qf(this.destroyed$)).subscribe(function(){e.unpause()});this.rawHotkeysService.mousetrap.stopCallback=this.stopCallback;this.destroyed$.subscribe(function(){fgc(e)})};X(KN,Z);KN.\u0275dir=Z.\u0275dir;KN.prototype.isEnabled=function(){return this.enabled};KN.prototype.isPaused=function(){return this.paused};
var LN=function(a,b){var c=b.title;var d=b.hotkeys;var e;b=(e=a.hotkeyGroups.get(c))!=null?e:[];a.hotkeyGroups.set(c,[].concat(r(b),r(d)));ggc(a);return function(){var f=new Set(d.map(function(q){return q.onPress})),h,k=((h=a.hotkeyGroups.get(c))!=null?h:[]).filter(function(q){return!f.has(q.onPress)});k.length?a.hotkeyGroups.set(c,k):a.hotkeyGroups.delete(c);ggc(a)}},fgc=function(a){var b=[].concat(r(a.rawHotkeysService.hotkeys));b=l(b);for(var c=b.next();!c.done;c=b.next())a.rawHotkeysService.remove(c.value);
a.rawHotkeysService.reset()},ggc=function(a){fgc(a);for(var b=l(a.hotkeyGroups.values()),c=b.next();!c.done;c=b.next()){c=hgc(a,c.value);c=l(c);for(var d=c.next(),e={};!d.done;e={binding$jscomp$1:void 0},d=c.next())e.binding$jscomp$1=d.value,d=new Zfc(oLa(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)}},egc=function(a){return[].concat(r(document.getElementsByClassName("cdk-overlay-pane"))).filter(function(b){return b.style.position===
"static"}).some(function(b){return b.contains(a)})},hgc=function(a,b){var c=[];b=l(b);for(var d=b.next(),e={};!d.done;e={hotkeySpec:void 0},d=b.next()){e.hotkeySpec=d.value;d=l(e.hotkeySpec.keys.entries());for(var f=d.next(),h={};!f.done;h={index$jscomp$3715:void 0},f=d.next()){var k=l(f.value);f=k.next().value;k=k.next().value;h.index$jscomp$3715=f;c.push(new igc(k,function(q,t){return function(){a.ngZone.run(function(){q.hotkeySpec.onPress(t.index$jscomp$3715)})}}(e,h),e.hotkeySpec.allowIn))}}Mba(c,
function(q,t){return q.strokeLength>t.strokeLength?-1:q.strokeLength<t.strokeLength?1:0});return c};KN.prototype.pause=function(){this.paused=!0};KN.prototype.unpause=function(){this.paused=!1};var jgc=function(a){return[].concat(r(a.hotkeyGroups.entries())).map(function(b){var c=l(b);b=c.next().value;c=c.next().value;return{title:b,hotkeys:Rm(c,pLa)}})};KN.\u0275fac=function(a){return new (a||KN)(n(aG),n(rH),n(FN),n(ze))};KN.\u0275prov=Hc({token:KN,factory:KN.\u0275fac,providedIn:"root"});
var igc=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 MN=function(a,b){Z.call(this);this.hotkeys=a;this.tooltip=b;this.hotkeyEnabled=!0;this.onHotkey=new XF};X(MN,Z);MN.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+")"}};
MN.prototype.ngOnInit=function(){var a=this;this.hotkey&&this.hotkeyEnabled&&this.subscriptions.add(LN(this.hotkeys,{title:this.hotkey.category,hotkeys:[Object.assign({},this.hotkey,{onPress:function(b){a.onHotkey.next(b)}})]}))};MN.\u0275fac=function(a){return new (a||MN)(A(KN),A(OH,8))};
MN.\u0275dir=fd({type:MN,selectors:[["","hotkey",""]],hostVars:2,hostBindings:function(a,b){a&2&&Kf("has-hotkey",b.hotkey)},inputs:{hotkey:"hotkey",hotkeyEnabled:"hotkeyEnabled",matTooltip:"matTooltip"},outputs:{onHotkey:"onHotkey"},features:[zf,td]});var NN=function(){};NN.\u0275fac=function(a){return new (a||NN)};NN.\u0275mod=dd({type:NN});NN.\u0275inj=Ic({});var mgc=function(a,b,c,d,e,f){if(Zr&&e)return kgc(a);if(e&&!d)return!1;if(!Ot){typeof b==="number"&&(b=lgc(b));var h=b==17||b==18||Zr&&b==91;if((!c||Zr)&&h||Zr&&b==16&&(d||f))return!1}if(Pt&&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 Ot?f||e?!1:!(c&&d):!0;case 27:return!Pt&&!Ot}return Ot&&(d||e||f)?!1:kgc(a)},kgc=function(a){if(a>=48&&a<=57||a>=96&&a<=106||a>=65&&a<=90||Pt&&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 Ot;default:return!1}},lgc=function(a){if(Ot)a=ngc(a);else if(Zr&&Pt)switch(a){case 93:a=91}return a},ngc=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 ogc=["multiUserInput"],ON=function(a,b,c,d,e,f){Z.call(this);var h=this;this.element=a;this.principalTypes=b;this.activeSession=c;this.documentationLinks=d;this.appEvents=e;this.usersChange=new XF(!0);this.includeViewAliases=this.includeAliases=!1;this.maxUserAllowed=-1;this.customValidators={};this.detailedUserValidators={};this.ariaLabel="";this.isValid=new XF;this.typedText="";this.items=[];this.chipifyFn=function(){pgc(h)};this.additionalContactsFn=function(){return qgc(h)};this.isFocused=
!1;this.selectedChipIndex=-1;this.$element=this.element.nativeElement;this.validators={};this.violations=new Set;this.subscriptions.add(this.appEvents.contactChipsRevertChanges.subscribe(function(){h.typedText=""}));this.subscriptions.add(LN(f,{title:"Manage Component Page",hotkeys:[{keys:[],displayAs:"Right Arrow (>)",description:"Move the Cursor to Input Field",onPress:function(){}}]}))};X(ON,Z);ON.\u0275dir=Z.\u0275dir;
ON.prototype.ngOnInit=function(){var a=this;this.validators=Object.assign({},{validateGaia:function(b,c){return rgc(c)},validateInternalAccessLevel:function(b,c){return sgc(a,c)},validateExternalAccessLevel:function(b,c){return tgc(a,c)}},this.customValidators)};ON.prototype.ngOnChanges=function(a){if(a.users||a.containerChips)this.items=ugc(this,this.users),PN(this)};
var PN=function(a){var b=[].concat(r(a.items)),c=vgc(b),d=wgc(b);b=a.validate(c,d,b);a.isValid.emit(b);a.users&&pi(a.users,c)||(a.users=c,b&&a.usersChange.emit(c))};
ON.prototype.validate=function(a,b,c){for(var d=new Set,e=l(Object.entries(this.validators)),f=e.next();!f.done;f=e.next()){var h=l(f.value);f=h.next().value;h=h.next().value;h(a,c)||d.add(f)}a=l(Object.entries(this.detailedUserValidators));for(c=a.next();!c.done;c=a.next())e=l(c.value),c=e.next().value,e=e.next().value,e(b)||d.add(c);this.violations=d;return this.violations.size===0};
var sLa=function(a){!a.isWidgetDisabled()&&xgc(a)&&(a.isFocused=!0,a.textInputElement.nativeElement.focus())},qLa=function(a){Qo(a,a.selectedChipIndex)&&(a.items[a.selectedChipIndex].isSelected=!1);a.selectedChipIndex=-1};ON.prototype.isWidgetDisabled=function(){return this.$element.classList.contains("disabled")||!!this.$element.hasAttribute("disabled")};var xgc=function(a){var b,c;return a.maxUserAllowed<0||((c=(b=a.users)==null?void 0:b.length)!=null?c:0)<a.maxUserAllowed};
ON.prototype.removeItem=function(a){this.isWidgetDisabled()||!Qo(this,a)||this.items[a].isReadonly||(qLa(this),this.items.splice(a,1),PN(this))};ON.prototype.setAccessLevel=function(a){this.accessLevel=a};
var qgc=function(a){return ygc(a).map(function(b){return{text:Sta(b),id:Eo({alias:b})}})},ygc=function(a){if(!a.includeAliases||xC(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},pgc=function(a){setTimeout(function(){a.typedText&&Ha(a.typedText,",")&&tLa(a,a.typedText.split(",")[0].trim())})},tLa=function(a,b){b&&(b=Wfc.test(b)?zgc(a,b):Agc(a,b),a.items.push(b));
a.typedText="";PN(a)},Qo=function(a,b){return b>=0&&b<a.items.length},zgc=function(a,b){var c=c===void 0?!1:c;var d=Go(b);if(d.alias===void 0)throw Error("Gd`"+b);b=d.alias;d=Sta(b);return new QN("ALIAS",b,d,null,c,a)},Bgc=function(a,b){b=uo(b);var c=new QN("GROUP",b,b,null,!1,a);QG(a.principalTypes,b,!0).then(function(d){c.detailedUserType=d.detailedUserType;PN(a)});return c},Cgc=function(a,b){var c=c===void 0?!1:c;b=uo(b);var d=new QN("USER",b,b,null,c,a);QG(a.principalTypes,b,!0).then(function(e){d.detailedUserType=
e.detailedUserType;PN(a)});return d},Agc=function(a,b){var c=c===void 0?!1:c;b=uo(b);var d=new QN("PRINCIPAL_TYPE_UNSPECIFIED",b,b,null,c,a);QG(a.principalTypes,b,!0).then(function(e){d.principalType=e.principalType;d.detailedUserType=e.detailedUserType;PN(a)});return d},Dgc=function(a,b,c){return new QN("PRINCIPAL_TYPE_UNSPECIFIED","",b,c,!0,a)};ON.prototype.getAccessLevel=function(){return this.accessLevel};ON.prototype.getAppName=function(){return this.activeSession.getAppName()};
ON.prototype.onKeyDown=function(a){a.keyCode===8?Qo(this,this.selectedChipIndex)?(Qo(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?Qo(this,this.selectedChipIndex)&&Qo(this,this.selectedChipIndex)&&this.removeItem(this.selectedChipIndex):a.keyCode===39&&sLa(this)};
var ugc=function(a,b){b=(b||[]).map(function(d){return Egc(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 Dgc(a,d.displayText,d.values.map(function(e){return Egc(a,e)}))});return[].concat(r(c),r(b))}return b},Egc=function(a,b){var c=b.split(":");if(c.length!==2)throw Error("Hd`"+b);var d=c[0];if(d!=="USER"&&d!=="GROUP"&&d!=="ALIAS")throw Error("Hd`"+b);return d==="ALIAS"?zgc(a,b):d===
"USER"?Cgc(a,c[1]):Bgc(a,c[1])},vgc=function(a){return(a||[]).filter(function(b){return b.principalType!=="PRINCIPAL_TYPE_UNSPECIFIED"}).map(function(b){return b.principalType+":"+b.value})},wgc=function(a){return(a||[]).filter(function(b){return b.detailedUserType!=="NO_DETAILED_TYPE"}).map(function(b){return b.detailedUserType+":"+b.value})},rgc=function(a){return!a.some(function(b){return b.isNonGaiaChip()})},sgc=function(a,b){return a.accessLevel!=="INTERNAL"?!0:!b.some(function(c){return c.isInternalAccessViolated()})},
tgc=function(a,b){return a.accessLevel!=="EXTERNAL_PARTNER"?!0:!b.some(function(c){return c.isExternalPartnerAccessViolated()})};ON.\u0275fac=function(a){return new (a||ON)(A(Rd),A(PG),A(Ir),A(oI),A(yE),A(KN))};
ON.\u0275cmp=p({type:ON,selectors:[["b-multi-user-input"]],viewQuery:function(a,b){a&1&&fg(ogc,5);if(a&2){var c;jg(c=kg())&&(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"},outputs:{usersChange:"usersChange",isValid:"isValid"},features:[zf,td],decls:13,vars:12,consts:[["multiUserInput",""],["tabindex","0","role","listbox","aria-describedby","input-description",1,"bv2-multi-user-input","keep-focus-ring",3,"click"],["id","input-description","hidden","",1,"screen-reader-only"],["class","bv2-user-chip","role","listitem",4,"ngFor","ngForOf"],["class","bv2-multi-user-embedded-input","b-adaptive-width-input","","tabindex","0",3,"bContactAutocomplete",
"additionalContactsCallback","ngModel","disabled","autocompleteActive","ngModelChange","focus","blur",4,"ngIf"],["role","alert",1,"bv2-multi-user-errors"],[4,"ngIf"],["role","listitem",1,"bv2-user-chip"],[3,"chipSelection","chipClear","chipRemove","isReadonly","isSelected","isWidgetDisabled","principalType","detailedUserType","nestedChips","value","displayText","accessLevel"],["b-adaptive-width-input","","tabindex","0",1,"bv2-multi-user-embedded-input",3,"autocompleteActive","ngModelChange","focus",
"blur","bContactAutocomplete","additionalContactsCallback","ngModel","disabled"],["target","_blank"]],template:function(a,b){a&1&&(F(0,"div",1),M("click",function(){return sLa(b)}),F(1,"div",2),R(2," Press tab to navigate through users and right arrow to go to input section "),G(),F(3,"div"),C(4,rLa,2,9,"div",3)(5,uLa,2,4,"input",4),G()(),F(6,"div",5),C(7,vLa,4,1,"span",6)(8,wLa,2,0,"span",6)(9,xLa,2,0,"span",6)(10,yLa,2,0,"span",6)(11,zLa,2,0,"span",6)(12,ALa,2,0,"span",6),G());a&2&&(Kf("focused",
b.isFocused),Bf("aria-label",b.idForInputBox),z(4),D("ngForOf",b.items),z(),D("ngIf",xgc(b)),z(),Bf("aria-hidden",b.violations.size===0),z(),D("ngIf",b.violations.has("noRestrictedPlusGroups")),z(),D("ngIf",b.violations.has("validateGaia")),z(),D("ngIf",b.violations.has("validateInternalAccessLevel")),z(),D("ngIf",b.violations.has("validateExternalAccessLevel")),z(),D("ngIf",b.violations.has("sloLeadNotUser")),z(),D("ngIf",b.violations.has("sloLeadNotGoogler")))},styles:[".bv2-multi-user-embedded-input[_ngcontent-%COMP%]{background-color:rgba(0,0,0,0);color:#202124;color:var(--text-high-contrast)}.bv2-multi-user-input[_ngcontent-%COMP%]{border:1px solid;border-color:#dadce0;border-color:var(--divider);border-radius:1px;cursor:text;min-height:27px;padding:6px;width:600px}.bv2-multi-user-input[_ngcontent-%COMP%]:hover{box-shadow:inset 0px 1px 2px rgba(0,0,0,.1)}.bv2-multi-user-input.focused[_ngcontent-%COMP%]{box-shadow:inset 0px 1px 2px rgba(0,0,0,.3);border-color:#1a73e8;border-color:var(--primary)}.bv2-multi-user-input[_ngcontent-%COMP%]   input.bv2-multi-user-embedded-input[_ngcontent-%COMP%]{border:0;display:inline-block;height:24px;min-width:100px;max-width:500px;width:auto;outline:none;padding-left:5px}.bv2-multi-user-input[_ngcontent-%COMP%]   .bv2-user-chip[_ngcontent-%COMP%]{cursor:default;display:inline-block;font-size:.8125rem;padding:3px;padding-top:2px;vertical-align:top}.ng-invalid[_ngcontent-%COMP%] > .bv2-multi-user-input[_ngcontent-%COMP%]{border-color:#c5221f;border-color:var(--bad-high-contrast)}[disabled][_ngcontent-%COMP%] > .bv2-multi-user-input[_ngcontent-%COMP%], .disabled[_ngcontent-%COMP%] > .bv2-multi-user-input[_ngcontent-%COMP%]{border-color:#dadce0;border-color:var(--divider);color:#5f6368;color:var(--text-muted);cursor:initial}[disabled][_ngcontent-%COMP%] > .bv2-multi-user-input[_ngcontent-%COMP%]   input.bv2-multi-user-embedded-input[disabled][_ngcontent-%COMP%], .disabled[_ngcontent-%COMP%] > .bv2-multi-user-input[_ngcontent-%COMP%]   input.bv2-multi-user-embedded-input[disabled][_ngcontent-%COMP%]{background-color:#fff;background-color:var(--surface-default);display:none}[disabled][_ngcontent-%COMP%] > .bv2-multi-user-input[_ngcontent-%COMP%]   .bv2-user-chip[_ngcontent-%COMP%]   span.bv2-user-chip-item[_ngcontent-%COMP%]   .user-chip-x[_ngcontent-%COMP%], .disabled[_ngcontent-%COMP%] > .bv2-multi-user-input[_ngcontent-%COMP%]   .bv2-user-chip[_ngcontent-%COMP%]   span.bv2-user-chip-item[_ngcontent-%COMP%]   .user-chip-x[_ngcontent-%COMP%]{display:none}.disabled[_ngcontent-%COMP%] > .bv2-multi-user-input[_ngcontent-%COMP%]:hover, [disabled][_ngcontent-%COMP%] > .bv2-multi-user-input[_ngcontent-%COMP%]:hover{border-color:#dadce0;border-color:var(--divider);box-shadow:none}.bv2-multi-user-errors[_ngcontent-%COMP%]{color:#ea4335;color:var(--bad);font-size:.8125rem;line-height:18px;margin:0 0 1em;padding:9px 0}/*# sourceMappingURL=multi_user_input.css.map */"]});
var QN=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=QN.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("Id`"+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 RN={type:"no_indicator",displayText:""},Fgc={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."},ELa={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."},Ggc={type:"visible_to_partners",
displayText:"Visible to partners",displayTextCompact:"Partners",explanation:"This issue is visible to partner users."},BLa={type:"visible_to_public",displayText:"Visible to public",displayTextCompact:"Public",explanation:"This issue is visible to the public."},SN=function(a,b,c){this.issueFridge=a;this.componentAccessPolicyFridge=b;this.activeSession=c},Jgc=function(a,b,c){var d=a.issueFridge.watch(b);b=(0,W.defer)(function(){return c?(0,W.of)(c):d.pipe(y(function(e){return e==null?void 0:e.snapshot[0].componentId}))}).pipe(pf(function(e){return a.componentAccessPolicyFridge.watch(e)}));
return(0,W.combineLatest)([d,b]).pipe(y(function(e){var f=l(e);e=f.next().value;f=f.next().value;var h,k;var q=(k=e==null?void 0:e.snapshot[0].issueAccessLimitLevel)!=null?k:void 0;k=e==null?void 0:(h=e.accessLimit)==null?void 0:h.accessLevel;if(xC(a.activeSession))h=RN;else if(wC(a.activeSession))h=Hgc(q,k,f);else if(a.activeSession.isInternalSession())h=Igc(q,k,f);else throw Error("Jd");return h}))},Hgc=function(a,b,c){switch(b){case "INTERNAL":return RN;case "EXTERNAL_PARTNER":return RN;case "EXTERNAL_PUBLIC":return FLa(a,
c);case "ACCESS_LEVEL_UNSPECIFIED":return RN;default:return RN}},Igc=function(a,b,c){switch(b){case "INTERNAL":return RN;case "EXTERNAL_PARTNER":return a&&DLa(a)?Fgc:Ggc;case "EXTERNAL_PUBLIC":return FLa(a,c);case "ACCESS_LEVEL_UNSPECIFIED":return RN;default:return RN}};SN.\u0275fac=function(a){return new (a||SN)(n(jG),n(rC),n(Ir))};SN.\u0275prov=Hc({token:SN,factory:SN.\u0275fac,providedIn:"root"});var TN=function(a,b,c,d){Z.call(this);var e=this;this.accessIndicatorService=a;this.documentationLinks=b;this.issueFridge=c;this.issueResources=d;this.compactMode=!1;this.issueId$=new W.ReplaySubject;this.accessIndicator$=this.issueId$.pipe(pf(function(f){return Jgc(e.accessIndicatorService,f)}));this.chipClass$=this.accessIndicator$.pipe(y(function(f){return f.type}));this.chipText$=this.accessIndicator$.pipe(y(function(f){return e.compactMode?f.displayTextCompact||f.displayText:f.displayText}));
this.bubbleText$=this.accessIndicator$.pipe(y(function(f){return f.explanation}));this.shouldShowIndicator$=this.accessIndicator$.pipe(y(function(f){return f.type!=="no_indicator"}));this.issue$=this.issueId$.pipe(pf(function(f){return e.issueFridge.watch(f)}));this.viewers$=(0,W.combineLatest)([this.issue$,this.accessIndicator$]).pipe(bf(0,W.asapScheduler),pf(function(f){var h=l(f);f=h.next().value;h=h.next().value;if(!f||!LLa(h.type))return(0,W.of)([]);var k,q;return e.issueResources.getRetainedAccessPrincipals(f==
null?void 0:f.issueId,(q=f==null?void 0:(k=f.snapshot[0])==null?void 0:k.issueAccessLimitLevel)!=null?q:"LIMIT_NONE",[],[]).pipe(y(function(t){t=[].concat(r(Jo(t.writers)),r(Jo(t.appenders)),r(Jo(t.readers)));return[].concat(r(new Set(t)))}))}),mf({refCount:!0,bufferSize:1}));this.showHovercard$=this.viewers$.pipe(y(function(f){return!!f.length}),te(Boolean),y(function(){}));this.loadTooltip$=new W.ReplaySubject(1);this.tooltipText$=this.loadTooltip$.pipe(pf(function(){return e.viewers$}),y(function(f){return f.length?
"Press Alt + Right arrow for more details":""}));this.loadTooltipOnce=Pn(function(){e.loadTooltip$.next()})};X(TN,Z);TN.\u0275dir=Z.\u0275dir;TN.prototype.ngOnInit=function(){var a=this;this.subscriptions.add(this.tooltipText$.subscribe(function(b){b&&(a.matTooltip.message=b,a.matTooltip.show())}))};ea.Object.defineProperties(TN.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.issueId$.next(a)}}});TN.\u0275fac=function(a){return new (a||TN)(A(SN),A(oI),A(jG),A(OD))};
TN.\u0275cmp=p({type:TN,selectors:[["b-issue-visibility-chip"]],viewQuery:function(a,b){a&1&&fg(OH,5);if(a&2){var c;jg(c=kg())&&(b.matTooltip=c.first)}},inputs:{issueId:"issueId",compactMode:"compactMode"},features:[zf],decls:2,vars:3,consts:[["tooltip","matTooltip"],["card","onedevHovercard"],[4,"ngIf"],["tabindex","0",1,"chippy","rounded","nowrap","keep-focus-ring",3,"focus","blur","onedevHovercardTrigger","matTooltipDisabled","matTooltip","ngClass"],[1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],
[1,"issue-visibility-chip-bubble"],["target","_blank",3,"href",4,"ngIf"],[3,"onedevIsHovercardReady",4,"onedevHovercardLazyBody"],["target","_blank",3,"href"],[3,"onedevIsHovercardReady"],["idForInputBox","Users who can view",3,"users"]],template:function(a,b){a&1&&(C(0,KLa,16,17,"ng-container",2),T(1,"async"));a&2&&D("ngIf",V(1,1,b.shouldShowIndicator$))},dependencies:[Ev,Gv,ON,$H,aI,gI,bI,LH,OH,Lv],styles:[".chippy[_ngcontent-%COMP%]{margin-right:8px;cursor:pointer}.chippy[_ngcontent-%COMP%]:hover, .chippy[_ngcontent-%COMP%]:focus, .chippy[_ngcontent-%COMP%]:focus-visible, .chippy[_ngcontent-%COMP%]:focus-within{outline:1px solid;outline-color:#1967d2;outline-color:var(--primary-c700);outline-color:-webkit-focus-ring-color;outline-offset:2px}.chippy.visible_to_partners[_ngcontent-%COMP%]{background-color:#ffdeb5;background-color:var(--partner-bg);color:#202124;color:var(--partner-text);box-shadow:inset 0 0 0 2px var(--partner-outline)}.chippy.visible_to_listed_partners[_ngcontent-%COMP%]{background-color:rgba(0,0,0,0);background-color:var(--partner-listed-bg);color:#202124;color:var(--partner-text);box-shadow:inset 0 0 0 2px var(--partner-listed-outline)}.chippy.visible_to_public[_ngcontent-%COMP%]{background-color:#fbe983;background-color:var(--public-bg);color:#202124;color:var(--public-text);box-shadow:inset 0 0 0 2px var(--public-outline)}.chippy.visible_to_listed_public_users[_ngcontent-%COMP%]{background-color:rgba(0,0,0,0);background-color:var(--public-listed-bg);color:#202124;color:var(--public-text);box-shadow:inset 0 0 0 2px var(--public-listed-outline)}  .issue-visibility-chip-bubble a{color:#1a73e8;color:var(--link)}  .issue-visibility-chip-bubble a:visited{color:#7627bb;color:var(--link-visited)}  .issue-visibility-chip-bubble div.bv2-multi-user-input{width:auto}"],
changeDetection:0});var UN=function(a,b){Z.call(this);this.errorHandler=a;this.issueFridge=b;this.upvoted=!1;this.voteCount=0;this.onVote=new XF;this.tooltip="Indicate that you are affected by this issue";this.isSaving=!1};X(UN,Z);UN.\u0275dir=Z.\u0275dir;
UN.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;o8b(this.issueFridge,String(this.issueId),this.upvoted).pipe(ef(),qf(this.destroyed$)).subscribe(function(){a.isSaving=!1},function(c){a.isSaving=!1;a.errorHandler.errorHandler(null,c);a.upvoted=!a.upvoted;a.voteCount-=b})}};UN.\u0275fac=function(a){return new (a||UN)(A(uE),A(jG))};
UN.\u0275cmp=p({type:UN,selectors:[["b-app-vote-button"]],hostVars:2,hostBindings:function(a,b){a&2&&Kf("no-votes",b.voteCount<=0)},inputs:{issueId:"issueId",upvoted:"upvoted",voteCount:"voteCount"},outputs:{onVote:"onVote"},features:[zf],decls:4,vars:6,consts:[["mat-button","",1,"gmat-button","small",3,"click","matTooltip"],["svgIcon","exposure_plus_1_24px",1,"icon-m"],[3,"title"]],template:function(a,b){a&1&&(F(0,"button",0),M("click",function(){return b.onClick()}),H(1,"mat-icon",1),F(2,"output",
2),R(3),G()());a&2&&(D("matTooltip",b.upvoted?"Remove vote: I am not impacted":"Vote: I am impacted"),Bf("aria-pressed",b.upvoted)("aria-label","Vote count "+b.voteCount),z(2),Zf("title","",b.voteCount," votes on this issue"),z(),S(" ",b.voteCount>99999?"99999+":b.voteCount," "))},dependencies:[zB,oE,LH,OH],styles:["[_nghost-%COMP%]{display:inline-block;margin-right:12px}.gmat-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-button[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{width:18px;height:18px}.gmat-button[_ngcontent-%COMP%]:hover{box-shadow:inset 0 0 0 1px #d2e3fc;box-shadow:inset 0 0 0 1px var(--primary-c100)}.gmat-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-button[aria-pressed=true][_ngcontent-%COMP%]:hover{background-color:#4285f4;background-color:var(--primary-btn-bg-hover)}button.gmat-button.mat-button[aria-pressed=true][_ngcontent-%COMP%]{color:#fff;color:var(--text-inverse)}.bv2-material   [_nghost-%COMP%]     button.gmat-button:not(.mat-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 aMa=function(){return[]},VN=function(a,b,c,d,e,f){Z.call(this);var h=this;this.cdr=a;this.activeSession=b;this.analytics=c;this.relationshipService=d;this.issueFridge=e;this.butterBar=f;this.STATUS_JS_FULL_TEXT=Mm;this.ISSUE_PRIORITY_TEXT_JS=d5b;this.ISSUE_PRIORITY_ENUM=O3b;this.ROUTES=zo;this.providedIssueId$=new W.ReplaySubject(1);this.issue$=this.providedIssueId$.pipe(pf(function(k){return h.issueFridge.watch(k)}),te(lj));this.FormattingMode=DB;this.enableNewVisibilityChips=this.activeSession.getFlag("enableNewVisibilityChips");
this.init=new W.ReplaySubject(1)};X(VN,Z);VN.\u0275dir=Z.\u0275dir;VN.prototype.ngOnInit=function(){var a=this;this.providedIssueId$.next(this.issueId);this.issue$.pipe(qf(this.destroyed$)).subscribe(function(b){a.issue=b;a.firstEvent=b.description&&qza(b.description,b);a.cdr.markForCheck();a.init.next()})};VN.prototype.priorityClass=function(a){switch(a){case "P0":return"high p0";case "P1":return"high";default:return"low"}};
var $La=function(a,b){return qm(b).includes(a.activeSession.getUserEmail())},VLa=function(a,b){var c;return fe(function(d){if(d.nextAddress==1)return c=a.issueId,TB(a.issueFridge,b,function(e){var f=e.parentIssueIds.indexOf(c);f<0||(e.parentIssueIds.splice(f,1),Object.assign({},e))}),ge(d,2,3),he(d,(0,W.firstValueFrom)(a.relationshipService.delete(c,"CHILD",b)),3);if(d.nextAddress!=2)return ie(d),a.issueFridge.poke(b),je(d,0);ke(d);a.butterBar.showWarning("Error removing the parent issue.");return d.jumpTo(3)})};
VN.\u0275fac=function(a){return new (a||VN)(A(YF,2),A(Ir),A(bG),A(AG),A(jG),A(sE))};
VN.\u0275cmp=p({type:VN,selectors:[["b-issue-card"]],inputs:{issueId:"issueId",location:"location",childContextId:"childContextId"},outputs:{init:"init"},features:[qg([YF]),zf],decls:2,vars:1,consts:[["role","dialog","aria-label","Issue Hovercard",1,"onedev-hovercard-content"],[4,"ngIf"],[1,"bv2-hovercard-wide"],[3,"href"],[1,"bv2-issue-card-title"],[1,"issue-card-id-snippets"],[3,"issueId"],[3,"labelOnlyMode","accessLevel"],[1,"priority-status"],[1,"bv2-priority",3,"ngClass"],[3,"ngSwitch",4,"ngIf"],
[1,"issue-card-buttons","margin-y"],[3,"onCc","issueId","ccState"],["class","bv2-issue-card-comment",4,"ngIf"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[3,"model","hovercardEnabled"],[3,"issueId","voteCount","upvoted"],["mat-button","","matTooltip","Remove the parent/child relationship with this issue",1,"gmat-button","medium",3,"click"],["mode","date",1,"float-right",3,"timestamp"],[1,"bv2-issue-card-comment"],[3,"issueId","issueAccessLevel","formattingMode","note"]],template:function(a,
b){a&1&&(F(0,"div",0),C(1,bMa,24,16,"ng-container",1),G());a&2&&(z(),D("ngIf",b.issue&&b.issue.snapshot[0]))},dependencies:[Ev,Gv,Hv,Iv,Jv,yN,oE,LH,OH,eN,TM,LL,UN,TN,EN],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 WN=function(a){this.el=a;this.minWidth=100;this.maxWidth=500;this.shadowInput=document.createElement("span");this.shadowInput.style.position="absolute";this.shadowInput.style.top="0px";this.shadowInput.style.left="0px";this.shadowInput.style.visibility="hidden";this.shadowInput.style.width="10px";this.shadowInput.style.whiteSpace="pre";this.shadowInput.style.overflow="hidden";this.shadowInput.style.padding="0";document.body.appendChild(this.shadowInput)};WN.prototype.onInput=function(){this.resize(this.el.nativeElement.value)};
WN.prototype.ngOnDestroy=function(){document.body.removeChild(this.shadowInput)};WN.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"};WN.\u0275fac=function(a){return new (a||WN)(A(Rd))};
WN.\u0275dir=fd({type:WN,selectors:[["","b-adaptive-width-input",""]],hostBindings:function(a,b){a&1&&M("input",function(){return b.onInput()})},inputs:{minWidth:"minWidth",maxWidth:"maxWidth"}});var XN=function(){};XN.\u0275fac=function(a){return new (a||XN)};XN.\u0275mod=dd({type:XN});XN.\u0275inj=Ic({});var YN=function(a){this.activeSession=a;this.sessionIsExternal=a.isExternalSession()};YN.prototype.shouldShowLinks=function(){return!this.sessionIsExternal&&!!Km(this.email)};YN.prototype.getName=function(){return this.email===void 0?"":this.email.split("@")[0]};YN.\u0275fac=function(a){return new (a||YN)(A(Ir))};
YN.\u0275cmp=p({type:YN,selectors:[["b-group-email-card"]],inputs:{email:"email"},ngContentSelectors:["*"],decls:3,vars:2,consts:[["content",""],["card",""],[4,"ngIf","ngIfElse"],["role","button","tabindex","0",1,"keep-focus-ring",3,"onedevHovercardTrigger"],[4,"ngTemplateOutlet"],["role","dialog","aria-label","Group email hovercard",1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],[1,"bv2-hovercard-narrow","bv2-group-email-card"],[1,"bv2-group-email-card-content"],[1,"bv2-group-email-card-name"],
[1,"bv2-group-email-card-email"],["svgIcon","group"],["class","bv2-group-email-card-links-container",4,"ngIf"],[1,"bv2-group-email-card-links-container"],["target","_blank",1,"bv2-group-email-card-link",3,"href"],[4,"ngIf"]],template:function(a,b){a&1&&(Xf(),C(0,hMa,17,5,"ng-container",2)(1,iMa,1,0,"ng-template",null,0,yg));a&2&&(a=Q(2),D("ngIf",!!Km(b.email))("ngIfElse",a))},dependencies:[Gv,Kv,zB,$H,gI],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 ZN=function(){};ZN.\u0275fac=function(a){return new (a||ZN)};ZN.\u0275mod=dd({type:ZN});ZN.\u0275inj=Ic({imports:[BB,NL]});var mMa=function(a,b,c){var d=this;this.realGapiClient=a;this.peopleApiProxy=b;this.activeSession=c;this.request=function(e){var f=e.path;if(!kp(d.activeSession)||f!=="v2/people/autocomplete")return d.realGapiClient.request(e);var h=kMa(e.params);return(0,W.firstValueFrom)(d.peopleApiProxy.call(f,h)).then(function(k){return{result:k}}).catch(function(){Ci("falling back to gapi",e);return d.realGapiClient.request(e)})}};var $N=function(a){this.internalArray_=m(a,0,$N.messageId)};X($N,Y);$N.prototype.getPath=function(){return Kh(this,1)};$N.prototype.setPath=function(a){return rj(this,1,a)};$N.prototype.hasPath=function(){return $k(this,1)};var Kgc=function(a,b){return rj(a,2,b)};$N.messageId="b.PeopleApiProxyRequest";var Lgc=function(a){this.internalArray_=m(a,0,Lgc.messageId)};X(Lgc,Y);Lgc.messageId="b.PeopleApiProxyResponse";var aO=function(a){this.executor=a};aO.prototype.call=function(a,b){a=Kgc((new $N).setPath(a),JSON.stringify(b));return this.executor.post({url:"action/peopleApiProxy",body:a,responseConstructor:Lgc}).pipe(y(function(c){return JSON.parse(Kh(c,1))}))};aO.\u0275fac=function(a){return new (a||aO)(n(IB))};aO.\u0275prov=Hc({token:aO,factory:aO.\u0275fac,providedIn:"root"});var bO=function(a){this.activeSession=a;this.createIframe=j_b(function(){var b=document.createElement("iframe");b.id="first_party_auth_helper";b.setAttribute("aria-hidden","true");b.setAttribute("style","width:1px;height:1px;position:absolute;top:-100px;display:none;");document.body.appendChild(b);return b})},Mgc=function(a){var b,c;fe(function(d){if(d.nextAddress==1){if(a.activeSession.isAnonymous()||!a.activeSession.getPassiveLoginIframeUrl())return d.return();ge(d,2);b=a.createIframe();return he(d,
new Promise(function(e,f){var h=function(){try{var q,t,w;if((q=b.contentWindow)==null?0:(t=q.location)==null?0:(w=t.href)==null?0:w.includes("/action/yes"))b.removeEventListener("load",h),clearTimeout(k),e()}catch(B){}},k=setTimeout(function(){b.removeEventListener("load",h);f(Error("Ld"))},5E3);b.addEventListener("load",h);oea(b,a.activeSession.getPassiveLoginIframeUrl())}),4)}if(d.nextAddress!=2)return Ft(d,0);c=ke(d);console.log("first party auth passive login "+c);le(d)})};
bO.\u0275fac=function(a){return new (a||bO)(n(Ir))};bO.\u0275prov=Hc({token:bO,factory:bO.\u0275fac,providedIn:"root"});var cO=function(a){this.internalArray_=m(a)};X(cO,Y);cO.prototype.getSocialApplication=function(){return fj(this,3,0)};cO.prototype.getSocialApplicationOrUndefined=function(){return tt(this,3)};cO.prototype.getAffinityType=function(){return Kh(this,12,"CONTACT_STORE_DEFAULT_AFFINITY")};cO.prototype.setAffinityType=function(a){return rj(this,12,a)};var dO=function(a){this.internalArray_=m(a)};X(dO,Y);dO.prototype.getExperimentIdsList=function(a){return Ek(this,4,yj(a))};dO.prototype.setExperimentIdsList=function(a){return jc(this,4,a,Hb)};dO.prototype.getExperimentIds=function(){return eu(this,4)};dO.prototype.setExperimentIds=function(a){iu(this,4,a)};dO.repeatedFields_=[4];var Ngc=function(a){this.internalArray_=m(a)};X(Ngc,Y);g=Ngc.prototype;g.getClientInfo=function(){return $i(this,cO,1)};g.getMutableClientInfo=function(){return Yt(this,cO,1)};g.setClientInfo=function(a){oj(this,cO,1,a)};g.getExperiments=function(){return $i(this,dO,2)};g.setExperiments=function(a){return oj(this,dO,2,a)};g.hasExperiments=function(){return dk(this,dO,2)};var Ogc=cra(Ngc);var Pgc;var Qgc=function(a){this.internalArray_=m(a)};X(Qgc,Y);g=Qgc.prototype;g.getDelegatorId=function(){return Kh(this,2)};g.getEnvType=function(){return fj(this,5,0)};g.getEnvType_legacyNullable=function(){return et(this,5)};g.setEnvType=function(a){sl(this,5,a)};g.getCacheSize=function(){return gj(this,7)};g.setCacheSize=function(a){ql(this,7,a)};g.hasCacheSize=function(){return Zk(this,7)};var qMa=/^https?:\/\/(?:\w|[\-\.])+\.google\.(?:\w|[\-:\.])+(?:\/[^\?#]*)?\/u\/(\d)\//,oMa=/([#].*?&|[#])authuser=([^&#]*)\b/,pMa=/([?][^#]*?&|[?])authuser=([^&#]*)\b/;var eO=function(){this.config_=Tb(Pgc||(Pgc=Ogc('[["AIzaSyBuUpn1wi2-0JpM3S-tq2csYx0z2_m_pqc","ANVavNLWozk6oXyP9qguyx4QAuef5j_qQw4Y3Rw",740,"MINIMAL_DOMAIN","BUGANIZER",null,null,null,null,true,true],[]]')));this.userInfo_=new Qgc;this.onAuthError_=this.gapiClientThenable_=null};eO.prototype.getClientInfo=function(){return this.config_.getClientInfo()};eO.prototype.getExperiments=function(){return this.config_.getExperiments()};eO.prototype.getUserInfo=function(){return this.userInfo_};
var Rgc=function(a){a.gapiClientThenable_||(a.gapiClientThenable_=wMa(10,5E3).then(function(b){return b.client}));return a.gapiClientThenable_},Sgc=function(a,b){b&&(a.gapiClientThenable_=b.then(function(c){return c},function(){return wMa(10,5E3).then(function(c){return c.client})}))};eO.prototype.getAuthErrorHandler=function(){return this.onAuthError_};eO.prototype.setAuthErrorHandler=function(a){this.onAuthError_=a};var Tgc=function(){};var fO=[];fO.push=function(){throw Error("Md");};var gO={cancel:function(){},isPending:function(){return!1}};var hO=function(a){this.response_=a||function(){};this.timer_=Cq(this.onTimer_,0,this);this.addressBookId_=""};g=hO.prototype;g.setResponse=function(a){this.response_=a};g.setAddressBookId=function(a){this.addressBookId_=a};g.getAddressBookId=function(){return this.addressBookId_};g.cancel=function(){Dq(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 Ugc=new Map([["personal",2],["domain",4],["pcab",3]]);var To=function(a){this.internalArray_=m(a)};X(To,Y);g=To.prototype;g.getEventType=function(){return fj(this,1,0)};g.setEventType=function(a){return sl(this,1,a)};g.getApiType=function(){return fj(this,2,0)};g.setApiType=function(a){return sl(this,2,a)};g.getCacheStatus=function(){return fj(this,3,0)};g.setCacheStatus=function(a){return sl(this,3,a)};g.getAddressBook=function(){return fj(this,4,0)};g.setAddressBook=function(a){return sl(this,4,a)};g.getRpcType=function(){return fj(this,5,0)};
g.setRpcType=function(a){return sl(this,5,a)};g.getLookupType=function(){return fj(this,6,0)};g.setLookupType=function(a){return sl(this,6,a)};g.getToken=function(){return Kh(this,7,"")};g.setToken=function(a){return rj(this,7,a)};var iO=function(a){this.internalArray_=m(a)};X(iO,Y);g=iO.prototype;g.setDevice=function(a){return sl(this,1,a)};g.getApplication=function(){return fj(this,2,0)};g.setApplication=function(a){return sl(this,2,a)};g.getApplicationOrUndefined=function(){return tt(this,2)};g.setPlatform=function(a){sl(this,3,a)};var jO=function(a){this.internalArray_=m(a)};X(jO,Y);g=jO.prototype;g.setEventSource=function(a){sl(this,2,a)};g.getEventSourceOrUndefined=function(){return tt(this,2)};g.setEventSourceId=function(a){ql(this,15,a)};g.getEventSourceIdOrUndefined=function(){return gu(this,15)};g.getSocialClient=function(){return $i(this,iO,3)};g.setSocialClient=function(a){return oj(this,iO,3,a)};g.setVersionName=function(a){return rj(this,5,a)};g.getBaselineCl=function(){return $t(this,7)};
g.setBaselineCl=function(a){return yl(this,7,a)};g.hasBaselineCl=function(){return il(this,7)};g.getBaselineClOrUndefined=function(){return nt(this,7)};g.setClientAgent=function(a){return sl(this,9,a)};g.getClientAgentOrUndefined=function(){return tt(this,9)};g.getPeoplekitEntryPoint=function(){return et(this,11)};g.setPeoplekitEntryPoint=function(a){return sl(this,11,a)};g.getPeoplekitEntryPointOrUndefined=function(){return tt(this,11)};g.setEnvironment=function(a){return sl(this,13,a)};
g.getEnvironmentOrUndefined=function(){return tt(this,13)};g.setSharekitEntryPoint=function(a){sl(this,14,a)};g.getSharekitEntryPointOrUndefined=function(){return tt(this,14)};jO.repeatedFields_=[6];var Vgc=function(a){this.internalArray_=m(a)};X(Vgc,Y);g=Vgc.prototype;g.getApiType=function(){return fj(this,1,0)};g.setApiType=function(a){return sl(this,1,a)};g.getItemCount=function(){return gj(this,2)};g.setItemCount=function(a){return ql(this,2,a)};g.hasItemCount=function(){return Zk(this,2)};var Wgc=function(a){this.internalArray_=m(a)};X(Wgc,Y);g=Wgc.prototype;g.getApiType=function(){return fj(this,1,0)};g.setApiType=function(a){return sl(this,1,a)};g.getItemCount=function(){return gj(this,2)};g.setItemCount=function(a){return ql(this,2,a)};g.hasItemCount=function(){return Zk(this,2)};g.getStatus=function(){return fj(this,4,2)};g.setStatus=function(a){return sl(this,4,a)};g.hasStatus=function(){return al(this,4)};g.setTotalUsec=function(a){return yl(this,5,a)};
g.setBlockedUsec=function(a){return yl(this,6,a)};g.setNetworkUsec=function(a){yl(this,7,a)};g.getCacheStatus=function(){return fj(this,8,0)};g.setCacheStatus=function(a){return sl(this,8,a)};g.getAddressBook=function(){return fj(this,9,0)};g.setAddressBook=function(a){return sl(this,9,a)};var kO=function(a){this.internalArray_=m(a)};X(kO,Y);kO.prototype.getStatus=function(){return fj(this,1,2)};kO.prototype.setStatus=function(a){return sl(this,1,a)};kO.prototype.hasStatus=function(){return al(this,1)};kO.prototype.setTotalUsec=function(a){return yl(this,2,a)};var lO=function(a){this.internalArray_=m(a)};X(lO,Y);lO.prototype.getRpcType=function(){return fj(this,1,0)};lO.prototype.setRpcType=function(a){return sl(this,1,a)};lO.prototype.getLookupType=function(){return fj(this,2,0)};lO.prototype.setLookupType=function(a){return sl(this,2,a)};var Xgc=function(a){this.internalArray_=m(a)};X(Xgc,Y);g=Xgc.prototype;g.getRpcType=function(){return fj(this,1,0)};g.setRpcType=function(a){return sl(this,1,a)};g.getLookupType=function(){return fj(this,2,0)};g.setLookupType=function(a){return sl(this,2,a)};g.getStatus=function(){return fj(this,3,2)};g.setStatus=function(a){return sl(this,3,a)};g.hasStatus=function(){return al(this,3)};g.setTotalUsec=function(a){return yl(this,4,a)};g.setBlockedUsec=function(a){return yl(this,5,a)};
g.setNetworkUsec=function(a){yl(this,6,a)};var mO=function(a){this.internalArray_=m(a)};X(mO,Y);g=mO.prototype;g.getEnvType=function(){return fj(this,1,0)};g.getEnvType_legacyNullable=function(){return et(this,1)};g.setEnvType=function(a){sl(this,1,a)};g.getCacheSize=function(){return gj(this,2)};g.setCacheSize=function(a){ql(this,2,a)};g.hasCacheSize=function(){return Zk(this,2)};var nO=function(a){this.internalArray_=m(a)};X(nO,Y);g=nO.prototype;g.getClientInterface=function(){return $i(this,jO,1)};g.setClientInterface=function(a){return oj(this,jO,1,a)};g.getSource=function(){return fj(this,2,0)};g.setSource=function(a){return sl(this,2,a)};g.hasSource=function(){return al(this,2)};g.getSourceOrUndefined=function(){return tt(this,2)};g.getEventType=function(){return fj(this,3,0)};g.getEventType_legacyNullable=function(){return et(this,3)};
g.setEventType=function(a){return sl(this,3,a)};g.setRpcRequest=function(a){return Gj(this,5,oO,a)};g.setRpcResponse=function(a){return Gj(this,6,oO,a)};g.setApiCall=function(a){return Gj(this,7,oO,a)};g.setApiResult=function(a){return Gj(this,8,oO,a)};g.getUserInfo=function(){return $i(this,mO,9)};g.setUserInfo=function(a){return oj(this,mO,9,a)};g.hasUserInfo=function(){return dk(this,mO,9)};var oO=[4,5,6,7,8];var Ygc=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]]),Zgc=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]]),$gc=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]]),ahc=function(a){return Zgc.has(a)?Zgc.get(a):1},bhc=function(a){return $gc.has(a)?$gc.get(a):2};var chc=function(a){this.request_=a;this.errorCode_=0},dhc=function(a,b){b=new chc(b);b.errorCode_=a;b.errorMessage_="A server error has occurred.";return b};g=chc.prototype;g.hasChanges=function(){return this.mutateResponse_&&fj(this.mutateResponse_,2,0)?fj(this.mutateResponse_,2,0).hasChanges():!1};g.getError=function(){return this.errorCode_};g.getErrorCode=function(){return this.errorCode_};g.getQuery=function(){return this.request_.getQuery()};g.getConfiguration=function(){return this.queryResponse_.getConfiguration()};
g.getUserData=function(){return this.queryResponse_?this.queryResponse_.getUserData():null};var pO=function(a){this.map_=new EE;this.size=0;a&&this.addAll(a)},ehc=function(a){var b=typeof a;return b=="object"&&a||b=="function"?"o"+ab(a):b.charAt(0)+a};g=pO.prototype;g.getCount=function(){return this.map_.size};g.add=function(a){this.map_.set(ehc(a),a);this.setSizeInternal_(this.map_.size)};g.addAll=function(a){a=WJ(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=WJ(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(ehc(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(ehc(a))};g.contains=function(a){return this.map_.containsKey(ehc(a))};g.intersection=function(a){var b=new pO;a=WJ(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 pO(this)};g.equals=function(a){return this.getCount()==Abc(a)&&fhc(this,a)};
var fhc=function(a,b){var c=Abc(b);if(a.getCount()>c)return!1;!(b instanceof pO)&&c>5&&(b=new pO(b));return Dbc(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(Za(e)||typeof e==="string")d=Ta(e,d);else a:{for(var f in e)if(e[f]==d){d=!0;break a}d=!1}return d})};pO.prototype.__iterator__=function(){return this.map_.__iterator__(!1)};pO.prototype[Symbol.iterator]=function(){return this.values()};
pO.prototype.setSizeInternal_=function(a){this.size=a};var qO=function(a,b,c){this.fields_=a;this.name_=b;this.contains_=new pO(c);this.extraFields_=[]};qO.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 ghc=function(a){a.fieldSet_||(a.fieldSet_=new pO(a.fields_));return a.fieldSet_};
qO.prototype.contains=function(a){if(this.contains_.contains(a))return!0;this.doesntContain_||(this.doesntContain_=new pO);if(this.doesntContain_.has(a))return!1;var b=ghc(this),c=ghc(a);if(Dbc(c,b.contains,b))return this.contains_.add(a),!0;this.doesntContain_.add(a);return!1};var hhc=new qO(["6","12"],"1"),ihc=new qO("2 1f 1c 12 16 13 14 1d 22 1b 20".split(" "),"4",[hhc]);new qO("6 12 16 17 18 1a".split(" "),"3",[hhc]);
new qO("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",[hhc,ihc]);new qO([]);var jhc=function(a){try{return Aa.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("Nd`"+a);},khc=function(){this.replacer_=void 0};
khc.prototype.serialize=function(a){var b=[];lhc(this,a,b);return b.join("")};
var lhc=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],lhc(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),mhc(d,c),c.push(":"),lhc(a,a.replacer_?a.replacer_.call(b,
d,e):e,c),f=","));c.push("}");return}}switch(typeof b){case "string":mhc(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("Od`"+typeof b);}}},nhc={'"':'\\"',"\\":"\\\\","/":"\\/","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\u000b"},ohc=/\uffff/.test("\uffff")?/[\\"\x00-\x1f\x7f-\uffff]/g:/[\\"\x00-\x1f\x7f-\xff]/g,mhc=function(a,b){b.push('"',a.replace(ohc,
function(c){var d=nhc[c];d||(d="\\u"+(c.charCodeAt(0)|65536).toString(16).slice(1),nhc[c]=d);return d}),'"')};var phc={token:"",addressBookId:"personal",matchType:1,includeContacts:!0,includeGroups:!0,isAutoCompleteMode:!0,delayMillis:5E3,maxMatches:-1,maxTries:10,name:"Load All Contacts"};var qhc=function(a,b,c){Gz.call(this);this.scheduler=a;this.runFunction_=b;this.group=c||a.createGroup()};X(qhc,Gz);g=qhc.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 rhc=function(a){Gz.call(this);this.scheduler=a;this.maxNumRetries_=0;this.reset()};X(rhc,Gz);g=rhc.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(){Gz.prototype.disposeInternal.call(this);this.scheduler=null};var shc=function(){Gz.call(this);this.states={};this.currentGroup=1};X(shc,Gz);shc.prototype.schedule=function(a,b,c,d){b=b||0;var e=Date.now()+b,f=this.states[a.getGroup()];f||(f=new rhc(this),this.states[a.getGroup()]=f);f.setMaxNumRetries(Math.max(c||1,f.getMaxNumRetries()));switch(f.runState){case 1:case 5:f.reset();thc(a,b,e);break;case 6:thc(a,b,e);break;case 4:d&&(f.reset(),thc(a,b,e));break;case 2:e<f.runTime?(this.cancel(f),f.reset(),thc(a,b,e)):f.numTriesLeft=f.maxNumRetries_}};
var thc=function(a,b,c){b==0?(a.setRunState(3),a.run()):(a.setRunState(2),a.setRunTime(c),a.setRunTimerId(Cq(a.run,b,a)))};g=shc.prototype;g.getState=function(a){return this.states[a]};g.createGroup=function(){return""+this.currentGroup++};g.disposeInternal=function(){Gz.prototype.disposeInternal.call(this);for(var a in this.states){var b=this.states[a];this.cancel(b);Nh(b)}this.states={}};g.cancel=function(a){a.runState==2&&Dq(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 uhc={SOMETHING_CHANGED:"a",ERROR:"b"},rO=function(a,b){Hz.call(this,a&&a[0].getError()?"b":"a");this.responses_=a;this.source_=b||"d"};X(rO,Hz);rO.prototype.getChanges=function(){if(!this.changes_){if(!this.responses_)return null;var a=[];Sa(this.responses_,function(b){b=fj(b,2,0).getChanges();a&&b?a=a.concat(b):a=null});this.changes_=a}return this.changes_};rO.prototype.getSource=function(){return this.source_};var vhc=function(a,b){this.fn_=a;this.handler_=b};vhc.prototype.execute=function(a){this.fn_&&(this.fn_.call(this.handler_||null,a),this.fn_=this.handler_=null)};vhc.prototype.abort=function(){this.handler_=this.fn_=null};QZb(function(a){vhc.prototype.execute=a(vhc.prototype.execute)});var whc=[];var sO=function(a,b){var c=c||[];this.serviceId_=a;this.moduleId_=b||null;this.dependencies_=[];xhc(this,c)};sO.prototype.toString=function(){return this.serviceId_};sO.prototype.getModuleId=function(){return this.moduleId_};var xhc=function(a,b){var c=!1;c=c===void 0?!1:c;a.dependencies_=a.dependencies_.concat(b);if(c){if(!a.moduleId_)throw Error("Pd`"+a.serviceId_);b.map(function(d){return d.getModuleId()}).forEach(function(d){whc.push(function(e){e.addExtraEdge(a.moduleId_,d)})})}};new sO("z72MOc","z72MOc");new sO("IW8Usd");new sO("jbDgG");new sO("hdXIif");new sO("ZtVrH");new sO("rJmJrc","rJmJrc");new sO("fJuxOc");new sO("NGntwf");new sO("ofuapc");new sO("BWETze");new sO("ZmXAm");new sO("n73qwf","n73qwf");new sO("Bgf0ib");new sO("MpJwZc","MpJwZc");new sO("UUJqVe","UUJqVe");new sO("GHAeAc","GHAeAc");new sO("Wt6vjf","Wt6vjf");new sO("byfTOb","byfTOb");new sO("TuDsZ");new sO("o1bZcd");new sO("b8xKu");new sO("LEikZe","LEikZe");new sO("lsjVmc","lsjVmc");new sO("pVbxBc");new sO("klpyYe");new sO("OPbIxb");new sO("pg9hFd");new sO("IaqD3e");new sO("Xpw1of");new sO("v5BQle");new sO("tdUkaf");new sO("WSziFf");new sO("UBSgGf");new sO("zZa4xc");new sO("WwG67d");new sO("JccZRe");new sO("amY3Td");new sO("ABma3e");new sO("gSshPb");new sO("yu4DA");new sO("vk3Wc");new sO("IykvEf");new sO("J5K1Ad");new sO("d0RAGb");new sO("AzG0ke");new sO("J4QWB");new sO("mITR5c");new sO("DFElXb");new sO("FENZqe");new sO("tLnxq");var tO=function(){Gz.call(this);this.eventTarget_=new Xo;this.updateCacheEventTarget_=new Xo;this.mutationIdMap_=new HE};X(tO,Gz);tO.prototype.dispatchEvent=function(a){this.updateCacheEventTarget_.dispatchEvent(a);this.eventTarget_.dispatchEvent(a)};tO.prototype.getEventTarget=function(){return this.eventTarget_};
tO.prototype.disposeInternal=function(){Gz.prototype.disposeInternal.call(this);this.eventTarget_.dispose();this.eventTarget_=null;this.updateCacheEventTarget_.dispose();this.updateCacheEventTarget_=null};var Lr=function(a){Gz.call(this);this.handler_=a;this.keys_={}};Mt(Lr,Gz);var yhc=[];Lr.prototype.listen=function(a,b,c,d){Array.isArray(b)||(b&&(yhc[0]=b.toString()),b=yhc);for(var e=0;e<b.length;e++){var f=Yo(a,b[e],c||this.handleEvent,d||!1,this.handler_||this);if(!f)break;this.keys_[f.key]=f}return this};Lr.prototype.listenOnce=function(a,b,c,d){return zhc(this,a,b,c,d)};
var zhc=function(a,b,c,d,e,f){if(Array.isArray(c))for(var h=0;h<c.length;h++)zhc(a,b,c[h],d,e,f);else{b=Lz(b,c,d||a.handleEvent,e,f||a.handler_||a);if(!b)return a;a.keys_[b.key]=b}return a};
Lr.prototype.unlisten=function(a,b,c,d,e){if(Array.isArray(b))for(var f=0;f<b.length;f++)this.unlisten(a,b[f],c,d,e);else c=c||this.handleEvent,d=$a(d)?!!d.capture:!!d,e=e||this.handler_||this,c=b_b(c),d=!!d,b=Jz(a)?a.getListener(b,c,d,e):a?(a=Mz(a))?a.getListener(b,c,d,e):null:null,b&&(Oz(b),delete this.keys_[b.key]);return this};Lr.prototype.removeAll=function(){qc(this.keys_,function(a,b){this.keys_.hasOwnProperty(b)&&Oz(a)},this);this.keys_={}};
Lr.prototype.disposeInternal=function(){Lr.superClass_.disposeInternal.call(this);this.removeAll()};Lr.prototype.handleEvent=function(){throw Error("Qd");};var qt=function(a){this.internalArray_=m(a)};X(qt,Y);var pt=function(a,b){return rj(a,1,b)};g=qt.prototype;g.getLogSource=function(){return fj(this,2,-1)};g.setLogSource=function(a){return sl(this,2,a)};g.getApplication=function(){return fj(this,3,0)};g.setApplication=function(a){return sl(this,3,a)};g.getApplicationOrUndefined=function(){return tt(this,3)};g.getVersion=function(){return Kh(this,4)};g.setVersion=function(a){return rj(this,4,a)};g.getVersionOrUndefined=function(){return hu(this,4)};
g.getBaselineCl=function(){return gj(this,5)};g.setBaselineCl=function(a){return ql(this,5,a)};g.hasBaselineCl=function(){return Zk(this,5)};g.getBaselineClOrUndefined=function(){return gu(this,5)};g.getEnableClearcut=function(){return Hj(this,6)};g.setEnableClearcut=function(a){return pl(this,6,a)};var cQb=function(a,b){return jc(a,7,b,Hb)};g=qt.prototype;g.getExperimentId=function(){return eu(this,7)};g.setClientAgent=function(a){return sl(this,8,a)};
g.getClientAgentOrUndefined=function(){return tt(this,8)};g.setEventSource=function(a){sl(this,9,a)};g.getEventSourceOrUndefined=function(){return tt(this,9)};g.setEventSourceId=function(a){ql(this,14,a)};g.getEventSourceIdOrUndefined=function(){return gu(this,14)};g.getClearcutUrl=function(){return Kh(this,10)};g.setClearcutUrl=function(a){rj(this,10,a)};g.setEnvironment=function(a){return sl(this,11,a)};g.getEnvironmentOrUndefined=function(){return tt(this,11)};
g.getPeoplekitEntryPoint=function(){return fj(this,12,0)};g.setPeoplekitEntryPoint=function(a){return sl(this,12,a)};g.getPeoplekitEntryPointOrUndefined=function(){return tt(this,12)};g.setSharekitEntryPoint=function(a){sl(this,13,a)};g.getSharekitEntryPointOrUndefined=function(){return tt(this,13)};qt.repeatedFields_=[7];var Ahc=window&&window.performance&&window.performance.now&&window.performance.timing&&window.performance.timing.navigationStart?function(){return window.performance.timing.navigationStart+window.performance.now()}:function(){return Date.now()};var Bhc=function(a){this.start_=a;this.end_=NaN};Bhc.prototype.duration=function(){return this.end_-this.start_};Bhc.prototype.stop=function(a){this.end_=a;return this.duration()};var uO=function(a){var b=b===void 0?Ahc:b;this.source_=a;this.nowFn_=b;this.durations_=new Map;this.lastLabel_="_"};uO.prototype.source=function(){return this.source_};var Chc=function(a,b){b&&(a.lastLabel_=b);return a.lastLabel_};
uO.prototype.duration=function(a){a=Chc(this,a===void 0?"":a);return this.durations_.has(a)?this.durations_.get(a).duration():NaN};var vO=function(a,b){return AMa(a.duration(b===void 0?"":b))};uO.prototype.toString=function(a,b){b=b===void 0?1:b;return this.duration(a===void 0?"":a).toFixed(b)};uO.prototype.start=function(a){a=a===void 0?"":a;var b=this.nowFn_();a=Chc(this,a);this.durations_.set(a,new Bhc(b));return this};
uO.prototype.stop=function(a){a=a===void 0?"":a;var b=this.nowFn_();a=Chc(this,a);this.durations_.has(a)&&this.durations_.get(a).stop(b);return this};uO.prototype.clear=function(){this.durations_.clear();return this};var Dhc=function(a){this.internalArray_=m(a)};X(Dhc,Y);var mt=function(a){this.internalArray_=m(a)};X(mt,Y);g=mt.prototype;g.getQueryId=function(){return $t(this,1)};g.setQueryId=function(a){return yl(this,1,a)};g.setSelectionId=function(a){return yl(this,2,a)};g.getInstanceId=function(){return sj(this,4)};g.setInstanceId=function(a){return rj(this,4,a)};g.clearInstanceId=function(){oo(this,4)};g.hasInstanceId=function(){return $k(this,4)};g.getInstanceIdOrUndefined=function(){return hu(this,4)};g.getAffinityVersion=function(){return bu(this,5)};
g.setAffinityVersion=function(a){ql(this,5,a)};g.getAffinityVersionOrUndefined=function(){return gu(this,5)};var Ehc=function(a){this.internalArray_=m(a)};X(Ehc,Y);g=Ehc.prototype;g.getQueryLength=function(){return bu(this,1)};g.setQueryLength=function(a){return ql(this,1,a)};g.hasQueryLength=function(){return Zk(this,1)};g.getQuery=function(){return sj(this,2)};g.setQuery=function(a){return rj(this,2,a)};g.clearQuery=function(){oo(this,2)};g.hasQuery=function(){return $k(this,2)};var Fhc=function(a){this.internalArray_=m(a)};X(Fhc,Y);Fhc.prototype.setLatencyUsec=function(a){ql(this,1,a)};var wO=function(a){this.internalArray_=m(a)};X(wO,Y);g=wO.prototype;g.getColumn=function(){return bu(this,2)};g.setColumn=function(a){return ql(this,2,a)};g.getType=function(){return et(this,3)};g.setType=function(a){return sl(this,3,a)};g.hasType=function(){return al(this,3)};var xO=function(a){this.internalArray_=m(a)};X(xO,Y);xO.prototype.getExistingSelectionsCount=function(){return bu(this,1)};xO.prototype.setExistingSelectionsCount=function(a){ql(this,1,a)};xO.prototype.getPosition=function(){return $i(this,wO,2)};xO.prototype.setPosition=function(a){return oj(this,wO,2,a)};var yO=function(a){this.internalArray_=m(a)};X(yO,Y);g=yO.prototype;g.getType=function(){return et(this,5)};g.setType=function(a){return sl(this,5,a)};g.hasType=function(){return al(this,5)};g.getEmail=function(){return sj(this,1)};g.getEmail_legacyNullable=function(){return sj(this,1)};g.setEmail=function(a){return rj(this,1,a)};g.hasEmail=function(){return $k(this,1)};g.getPhone=function(){return sj(this,2)};g.getPhone_legacyNullable=function(){return sj(this,2)};
g.setPhone=function(a){return rj(this,2,a)};g.hasPhone=function(){return $k(this,2)};g.getObfuscatedGaiaId=function(){return sj(this,3)};g.getObfuscatedGaiaId_legacyNullable=function(){return sj(this,3)};g.setObfuscatedGaiaId=function(a){rj(this,3,a)};g.getContactId=function(){return $t(this,4)};g.setContactId=function(a){yl(this,4,a)};g.getGroupId=function(){return sj(this,6)};g.setGroupId=function(a){rj(this,6,a)};g.hasGroupId=function(){return $k(this,6)};var zO=function(a){this.internalArray_=m(a)};X(zO,Y);zO.prototype.getName=function(){return sj(this,1)};zO.prototype.setName=function(a){return rj(this,1,a)};zO.prototype.hasName=function(){return $k(this,1)};zO.prototype.getNameOrUndefined=function(){return hu(this,1)};var AO=function(a){this.internalArray_=m(a)};X(AO,Y);g=AO.prototype;g.getPosition=function(){return $i(this,wO,1)};g.setPosition=function(a){return oj(this,wO,1,a)};g.getProvenance=function(){return rSb(this,3)};g.setProvenance=function(a){return oc(this,3,Gb,a,void 0,nl)};g.getIsPlaceholder=function(){return Xs(this,7)};g.setIsPlaceholder=function(a){pl(this,7,a)};g.getIsSelf=function(){return Xs(this,11)};g.getQueryId=function(){return $t(this,15)};g.setQueryId=function(a){return yl(this,15,a)};
g.setSelectionId=function(a){return yl(this,16,a)};AO.repeatedFields_=[4,3];var BO=function(a){this.internalArray_=m(a)};X(BO,Y);BO.prototype.getLoggingId=function(){return sj(this,1)};BO.prototype.setLoggingId=function(a){rj(this,1,a)};BO.prototype.getMetadata=function(){return $i(this,AO,3)};BO.prototype.setMetadata=function(a){oj(this,AO,3,a)};var CO=function(a){this.internalArray_=m(a)};X(CO,Y);CO.prototype.getAffinityVersion=function(){return bu(this,2)};CO.prototype.setAffinityVersion=function(a){ql(this,2,a)};CO.prototype.getAffinityVersionOrUndefined=function(){return gu(this,2)};var Ghc=function(a){this.internalArray_=m(a)};X(Ghc,Y);g=Ghc.prototype;g.getEventType=function(){return et(this,1)};g.getEventType_legacyNullable=function(){return et(this,1)};g.setEventType=function(a){return sl(this,1,a)};g.getMetadata=function(){return $i(this,CO,4)};g.setMetadata=function(a){oj(this,CO,4,a)};g.getClientInterface=function(){return $i(this,jO,5)};g.setClientInterface=function(a){return oj(this,jO,5,a)};Ghc.repeatedFields_=[2];var Hhc=new Map([[1,4],[2,2],[3,1],[4,7]]),Ihc=function(a,b){b=b===void 0?0:b;this.clientConfig_=a;this.transportType_=b;switch(b){case 1:b="ppl.store.peopleapi";var c=Hj(a.getExperiments(),1,!0);break;case 2:b="ppl.store.ppl.store.ozcontactstore";c=Hj(a.getExperiments(),2,!0);break;default:b="ppl.store",c=!1}var d=Hhc.get(a.getUserInfo().getEnvType_legacyNullable())||0;this.logContext_=nc(cQb(pt(new qt,b).setLogSource(932).setApplication(a.getClientInfo().getSocialApplicationOrUndefined()).setEnvironment(d).setVersion("1013").setBaselineCl(336195648).setClientAgent(3).setEnableClearcut(c),
a.getExperiments().getExperimentIdsList()),7,Hb,20090307)};g=Ihc.prototype;g.getLogContext=function(){return this.logContext_};
g.createCountMetric=function(a,b){b=b.source();var c=Jhc(this);switch(b.getEventType()){case 2:case 3:return(new nO).setClientInterface(a).setUserInfo(c).setSource(2).setEventType(2).setRpcRequest((new lO).setRpcType(b.getRpcType()).setLookupType(b.getLookupType()));case 4:case 5:return(new nO).setClientInterface(a).setUserInfo(c).setEventType(4).setApiCall((new Vgc).setApiType(b.getApiType()));default:return null}};
g.createStatusMetric=function(a,b,c){var d=b.source(),e=Jhc(this);switch(d.getEventType()){case 1:d=(new nO).setClientInterface(a).setUserInfo(e).setSource(1).setEventType(1);a=this.transportType_;e=(new kO).setStatus(c);if(c==0||c==4)c=e.setTotalUsec(vO(b,"total")),b=vO(b,"blocked"),b=yl(c,3,b),sl(b,5,a);return Gj(d,4,oO,e);case 2:case 3:return a=(new nO).setClientInterface(a).setUserInfo(e).setSource(2).setEventType(3),e=a.setRpcResponse,d=(new Xgc).setRpcType(d.getRpcType()).setLookupType(d.getLookupType()).setStatus(c),
c!=0&&c!=4||d.setTotalUsec(vO(b,"total")).setBlockedUsec(vO(b,"blocked")).setNetworkUsec(vO(b,"network")),e.call(a,d);case 4:case 5:a=(new nO).setClientInterface(a).setUserInfo(e).setEventType(5);e=a.setApiResult;var f=new Wgc;f.setApiType(d.getApiType()).setCacheStatus(d.getCacheStatus()).setAddressBook(d.getAddressBook()).setStatus(c);c!==0&&c!==4||f.setTotalUsec(vO(b,"total"));return e.call(a,f);default:return null}};g.createErrorMetric=function(){return null};g.createLatencyMetric=function(){return null};
var Jhc=function(a){a=a.clientConfig_.getUserInfo();var b=new mO;var c=!!a.getDelegatorId();b=pl(b,4,c);a.hasCacheSize()&&b.setCacheSize(a.getCacheSize());b.setEnvType(fj(a,6,0)||0);return b};var EMa=function(a){this.internalArray_=m(a)};X(EMa,Y);EMa.repeatedFields_=[1,2,3,4];var DO=function(a,b){this.name_=b||"";this.address=a||""},Khc=/"/g,Lhc=/\\"/g,Mhc=/\\/g,Nhc=/\\\\/g,Ohc=RegExp("^[+a-zA-Z0-9_.!#$%&'*\\/=?^`{|}~-]+@([a-zA-Z0-9-]+\\.)+[a-zA-Z0-9]{2,63}$"),Phc=new RegExp("["+Zda({LRE:"\u202a",RLE:"\u202b",PDF:"\u202c",LRM:"\u200e",RLM:"\u200f"}).join("")+"]","g");DO.prototype.getName=function(){return this.name_};DO.prototype.getAddress=function(){return this.address};DO.prototype.setName=function(a){this.name_=a};DO.prototype.toString=function(){return Qhc(this,'()<>@:\\".[],;')};
var Qhc=function(a,b){var c=a.getName();c=c.replace(Khc,"");a:{for(var d=c,e=0;e<b.length;e++)if(Ha(d,b[e])){b=!0;break a}b=!1}b&&(c='"'+c.replace(Mhc,"\\\\")+'"');return c==""?a.address:a.address==""?c:c+" <"+a.address+">"};DO.prototype.isValid=function(){return Ohc.test(this.address)};
var Thc=function(a){var b=Rhc;a=a.replace(Phc,"");for(var c="",d="",e=0;e<a.length;){var f=a;var h=e,k=f.charAt(h),q='"<(['.indexOf(k);if(q==-1||Shc(f,h))f=k;else{q='">)]'.charAt(q);for(var t=f.indexOf(q,h+1);t>=0&&Shc(f,t);)t=f.indexOf(q,t+1);f=t>=0?f.substring(h,t+1):k}f.charAt(0)=="<"&&f.indexOf(">")!=-1?(d=f.indexOf(">"),d=f.substring(1,d)):d==""&&(c+=f);e+=f.length}d==""&&c.indexOf("@")!=-1&&(d=c,c="");c=LSb(c);c=MSb(c,"'");c=MSb(c,'"');c=c.replace(Lhc,'"');c=c.replace(Nhc,"\\");d=LSb(d);return new b(d,
c)},Shc=function(a,b){if(a.charAt(b)!='"')return!1;var c=0;for(--b;b>=0&&a.charAt(b)=="\\";b--)c++;return c%2!=0};var Rhc=function(a,b){DO.call(this,a,b)};Mt(Rhc,DO);var Uhc=RegExp("^((?!\\s)[+a-zA-Z0-9_.!#$%&'*\\/=?^`{|}~\u0080-\uffffFF-])+@((?!\\s)[a-zA-Z0-9\u0080-\u3001\u3003-\uff0d\uff0f-\uff60\uff62-\uffffFF-]+[\\.\\uFF0E\\u3002\\uFF61])+(?!\\s)[a-zA-Z0-9\u0080-\u3001\u3003-\uff0d\uff0f-\uff60\uff62-\uffffFF-]{2,63}$");Rhc.prototype.isValid=function(){return EO(this.address)};var EO=function(a){return a==null?!1:Uhc.test(a)};Rhc.prototype.toString=function(){return Qhc(this,'()<>@:\\".[],;\u055d\u060c\u1363\u1802\u1808\u2e41\u3001\uff0c\u061b\u1364\uff1b\uff64\u104a')};var Vhc=/[^a-z0-9]+/ig,Whc=[9,11,10,12,13,14,15,16,19],Xhc=[9,19,11],Yhc=[1,6],Zhc=[2,7],$hc=[3,8],aic=[1,2,6,7,8,9,11,10,12,13,14,15,16,18,19],xOb=[3,4,5,17,20],Ts=function(a,b,c){this.type_=a;this.normalizedValue_=Uo(b);this.originalValue_=Uo(c===void 0?b:c)};Ts.prototype.getType=function(){return this.type_};Ts.prototype.getValue=function(){return this.normalizedValue_};Ts.prototype.getOriginalValue=function(){return this.originalValue_};
var Ns=function(a){return Whc.includes(a.getType())},FO=function(a){return Xhc.includes(a.getType())},Os=function(a,b){switch(a){case 1:return Rs(b);case 6:return new Ts(6,Uo(b).toLowerCase(),b);case 2:return LOb(b);case 7:return NOb(b);case 3:return uOb(b);case 8:return new Ts(8,Uo(b).toLowerCase(),b);case 5:return new Ts(5,Uo(b).toLowerCase(),b);case 4:return vOb(b);case 9:return bic(b);case 12:return new Ts(12,Uo(b),b);case 13:return new Ts(13,Uo(b),b);case 14:return new Ts(14,Uo(b),b);case 15:return new Ts(15,
Uo(b),b);case 16:return new Ts(16,Uo(b),b);case 10:return new Ts(10,Uo(b),b);case 11:return new Ts(11,Uo(b),b);case 18:return wOb(b);case 19:return new Ts(19,Uo(b),b);case 20:return new Ts(20,Uo(b),b);case 17:return cic;default:return new Ts(0,b)}},Rs=function(a){return new Ts(1,Uo(a).toLowerCase(),a)},LOb=function(a){var b=Uo(a).toLowerCase().replace(Vhc,"");return new Ts(2,b,a)},uOb=function(a){var b=Uo(a).toLowerCase();return b==="me"?cic:new Ts(3,b,a)},vOb=function(a){return new Ts(4,Uo(a).toLowerCase(),
a)},NOb=function(a){var b=Uo(a).toLowerCase().replace(Vhc,"");return new Ts(7,b,a)},bic=function(a){return new Ts(9,Uo(a).toLowerCase(),a)},wOb=function(a){return new Ts(18,Uo(a),a)},GO=function(a){var b=a.indexOf(":");return Os(b>0?parseInt(a.substring(0,b),10):0,a.substring(b+1))};Ts.prototype.toString=function(){return this.type_+":"+this.normalizedValue_};Ts.prototype.serialize=function(){return this.type_+":"+this.originalValue_};
Ts.prototype.equals=function(a){return a?this===a?!0:this.type_===a.type_&&this.normalizedValue_===a.normalizedValue_:!1};var dic=function(a){switch(a.getType()){case 1:case 6:return EO(a.originalValue_);case 2:case 7:return a=a.originalValue_.replace(Vhc,""),a.length>=3&&a[0]>="0"&&a[0]<="9";case 3:case 8:return!!Uo(a.originalValue_);default:return!0}},Vs=Os(0,""),cic=new Ts(17,"me");var eic=function(a,b){this.apiEnv_=a;this.experimentsConfig_=b};var fic=function(a){this.profileId_=a};fic.prototype.getProfileId=function(){return this.profileId_};var gic=Object.freeze({preferOauth:!1}),HO=Object.freeze({userProfileId:"",apiEnv:4,userEmail:"",clearcut:gic});var hic=function(){return Fa&&Ga?!Ga.mobile&&(Ia("iPad")||Ia("Android")||Ia("Silk")):Ia("iPad")||Ia("Android")&&!Ia("Mobile")||Ia("Silk")};var CMa=new WeakMap,BMa=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 iic=function(a,b){this.clearcut_=a;this.logContextFactory_=b;this.device_=Aba()||Ia("iPod")?4:Ia("iPad")?5:zba()?hic()?3:2:(Fa&&Ga?Ga.mobile:!hic()&&(Ia("iPod")||Ia("iPhone")||Ia("Android")||Ia("IEMobile")))||hic()?0:1},kic=function(a){var b=a.getLogContext(),c=null;if(b.getEnableClearcut()){var d,e;c=b.getLogSource();var f=rMa();var h=Ek(b,7,yj(Pi));c=jic(c,f,h,(e=(d=HO.clearcut)==null?void 0:d.preferOauth)!=null?e:!1,b.getClearcutUrl())}return new iic(c,a)},IO=function(a){var b=a.logContextFactory_.getLogContext(),
c=new iO;c.setApplication(b.getApplicationOrUndefined());c.setDevice(a.device_);a=new jO;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},JO=function(a,b){var c=new HF;G7b(c,b.serialize());a.clearcut_&&NF(a.clearcut_,c)},jic=Vo(FMa);var lic=function(a,b){this.clearcut_=a;this.logEventFactory_=b};lic.prototype.logError=function(a){var b=IO(this.clearcut_);(a=this.logEventFactory_.createErrorMetric(b,a))&&JO(this.clearcut_,a)};var mic=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 nic=function(){this.logContext_=pt(new qt,"ppl.store")};g=nic.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 oic=function(a){this.clearcut_=a},Fs=function(a){a=new lic(kic(a),a);return new oic(a)};g=oic.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=IO(c.clearcut_);(a=c.logEventFactory_.createCountMetric(d,a,b))&&JO(c.clearcut_,a);return this};g.status=function(a,b){var c=this.clearcut_,d=IO(c.clearcut_);(a=c.logEventFactory_.createStatusMetric(d,a,b))&&JO(c.clearcut_,a);return this};g.latency=function(a){var b=this.clearcut_,c=IO(b.clearcut_);(a=b.logEventFactory_.createLatencyMetric(c,a))&&JO(b.clearcut_,a);return this};g.error=function(a){this.clearcut_.logError(a);return this};
g.logError=function(){};g.logInfo=function(){return this};var KO=function(a,b){this.addressBookMap_={};this.addressBooks=[];this.ownedAddressBooks_=[];this.scheduler_=new shc;this.eventHandler_=new Lr(this);this.ownsContactNotificationService_=!a;this.queryFilters_=[];this.contactNotificationService_=a||new tO;(a=b)||(a=Fs(new nic));this.metrics=a;this.queryFilters_.push(this.contactNotificationService_)};Mt(KO,Gz);g=KO.prototype;
g.addAddressBook=function(a,b){this.addressBooks.push(a);b&&this.ownedAddressBooks_.push(a);this.addressBookMap_[a.getId()]=a;this.eventHandler_.listen(a,Zda(uhc),Kt(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 rO(null,"c"))};
g.loadContactRows=function(a,b){var c=this,d=(new To).setEventType(4).setApiType(2),e=new uO(d);this.metrics.count(e);this.metrics.start(e,"total");return pic(this,a,function(f){return f.loadContactRows},function(f,h,k,q,t){qic(function(w,B,E,I){var J=B===gO||B instanceof hO?2:1;e.source().setCacheStatus(J);e.source().setAddressBook(E?Ugc.get(E)||1:1);c.metrics.stop(e,"total");c.metrics.status(e,bhc(t||0));b&&b(w,B,E,I,t)},f,h,k,q)})};
var pic=function(a,b,c,d){var e=new ric(d,a.metrics),f;if(b.addressBookId){var h=a.addressBookMap_[b.addressBookId];b.delayMillis>0||b.maxTries>1?f=sic(a,h,c(h),b,d):f=c(h).call(h,b,d);f&&e.add(f)}else for(var k=0;k<a.addressBooks.length;k++)h=a.addressBooks[k],b.delayMillis>0||b.maxTries>1?f=sic(a,h,c(h),b,d):f=c(h).call(h,b,d),f&&e.add(f);return e};
KO.prototype.execute=function(a){var b=this,c=(new To).setEventType(4).setApiType(1),d=new uO(c);this.metrics.count(d);this.metrics.start(d,"total");tic(this,a);a.addSuccessOrFailureCallback(function(e){var f=e?bhc(e.getErrorCode()):2;e=(e=e?e.request_:null)?e.getAddressBookId():"";d.source().setCacheStatus(e?1:2);d.source().setAddressBook(e?e?Ugc.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 uic(b,e,d)}))?
c:uic(this,a,d)};
var tic=function(a,b){Sa(a.queryFilters_,function(){});b.isMutate()&&(b=fj(b,2,0))&&(b=b.getQueryAfterMutate())&&tic(a,b)},uic=function(a,b,c){if(b.isMutate()){var d=fj(b,2,0);d&&(d=d.getMutationId())&&a.contactNotificationService_.mutationIdMap_.set(d,Date.now())}if(d=b.getAddressBookId())if(d=a.addressBookMap_[d])return d.execute(b);c=new ric(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},sic=function(a,b,c,
d,e){var f=a.scheduler_;b=Kt(a.runScheduledQuery_,a,b,c,d,e);f=new qhc(f,b,d.name);a.scheduler_.schedule(f,d.delayMillis,d.maxTries,d.force);return new vic(f)};KO.prototype.runScheduledQuery_=function(a,b,c,d,e){e.request=b.call(a,c,function(f,h,k,q,t){e.isDone(!t)&&d&&d(f,h,k,q,t)})};
var qic=function(a,b,c,d,e){a&&(b&&(e.filter&&(b=e.filter(b,e.token)),wic(b)),a(b||[],c,d,e))},wic=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)}};
KO.prototype.disposeInternal=function(){KO.superClass_.disposeInternal.call(this);Nh(this.scheduler_);this.scheduler_=null;Sa(this.ownedAddressBooks_,Nh);this.ownedAddressBooks_=this.addressBookMap_=this.addressBooks=null;Nh(this.eventHandler_);this.eventHandler_=null;Sa(this.queryFilters_,function(a){a!=this.contactNotificationService_&&Nh(a)},this);this.queryFilters_=null;this.ownsContactNotificationService_&&(Nh(this.contactNotificationService_),this.contactNotificationService_=null)};
var xic=function(a){var b=new Ihc(a,0);pt(b.getLogContext(),"ppl.store");b.getLogContext().setEnableClearcut(Hj(a.getExperiments(),3,!0));return Fs(b)},ric=function(a,b,c){this.requests_=[];this.handler=a;this.metrics_=b;this.state_=c;this.addressBookId_=""};g=ric.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 vic=function(a){this.op=a;this.request=null};vic.prototype.cancel=function(){this.op.cancel();this.request&&this.request.cancel()};
vic.prototype.isPending=function(){return this.op.isPending()||this.op.request&&this.op.request.isPending()};var yic=function(a,b){this.text=a;this.specialRowHandler=b};Mt(yic,Tgc);g=yic.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 zic=function(a,b){KO.call(this,a,b)};X(zic,KO);zic.prototype.addAddressBook=function(a,b){this.addressBooks.length==1&&(this.combiner_=new Aic(this.metrics),this.combiner_.addAddressBook(this.addressBooks[0]));KO.prototype.addAddressBook.call(this,a,b);this.combiner_&&this.combiner_.addAddressBook(a)};zic.prototype.loadContactRows=function(a,b){return this.combiner_&&a.isAutoCompleteMode&&!a.addressBookId?this.combiner_.loadContactRows(a,b):KO.prototype.loadContactRows.call(this,a,b)};
var Aic=function(a){this.addrBooks_=[];this.rowSets_=null;this.metrics_=a};Aic.prototype.addAddressBook=function(a){this.addrBooks_.push(new Bic(this,this.addrBooks_.length,a))};Aic.prototype.loadContactRows=function(a,b){a=new Cic(a,this.metrics_,b);Dic(this,a);return a};
var Dic=function(a,b,c,d){a.rowSets_=[];for(var e=0;e<a.addrBooks_.length&&!(e==c?a.rowSets_[e]=d:a.addrBooks_[e].loadContactRows(b),e==0&&a.rowSets_[e]&&a.rowSets_[e].length>=b.query.maxMatches);e++);c=b.query;d=a.rowSets_;var f=[];e=!1;for(var h,k=0;k<d.length&&f.length<c.maxMatches;k++)if(d[k]){h=f.length;e=!0;var q=d[k],t=c.maxMatches,w=f.length;if(w==0)f=q.length>t?q.slice(0,t):q;else for(var B=0;B<q.length;B++){for(var E=null,I=0;I<w&&!(E=Eic(f[I],q[B]));I++);if(E)E===q[B]&&(f[I]=E);else if(f.length==
w?f=f.concat(q[B]):f.push(q[B]),f.length==t)break}h>0&&f.length>h&&(f[h].flags|=1)}e?(wic(f),c=f):c=null;c&&b.handler&&a.addrBooks_[0]&&a.addrBooks_[0].madeCallback_&&b.handler(c,b,null,b.query);a.rowSets_=null},Eic=function(a,b){if(a.specialRowHandler||b.specialRowHandler)return null;if(a.text==b.text)return a;if(a.getEmail()==b.getEmail()&&a.getType()==b.getType()){if(!b.getName())return a;if(!a.getName())return b}return null},Fic=function(a,b,c,d){a.rowSets_?a.rowSets_[c]=d:Dic(a,b,c,d)};
Aic.prototype.handleSpecialRow=function(){};var Bic=function(a,b,c){this.combiner_=a;this.id_=b;this.addrBook_=c;this.lastAsyncLatency_=0;this.isSynchronous_=!1};
Bic.prototype.loadContactRows=function(a){var b=this,c=a.storedResults_[this.id_];if(!c){this.isSynchronous_=!0;this.madeCallback_=!1;var d=Date.now(),e=this.addrBook_.loadContactRows(a.query,function(f,h,k,q,t){b.matchListener_(a,d,f,t)});a.addRequest(this.id_,e);this.isSynchronous_=!1;this.madeCallback_||a.query.isAutoCompleteMode&&this.lastAsyncLatency_>300&&(c=[Gic(this)])}c&&Fic(this.combiner_,a,this.id_,c)};
var Gic=function(a){var b=a.addrBook_.title_;return new yic(b?"Searching for matches from "+b:"Searching for more matches.",a.combiner_.handleSpecialRow)};
Bic.prototype.matchListener_=function(a,b,c,d){d=d===void 0?0:d;this.madeCallback_=!0;this.isSynchronous_||(this.lastAsyncLatency_=Date.now()-b);a.query.filter&&c&&(c=a.query.filter(c,a.query.token));b=this.id_;var e=this.addrBook_.getId();a.storedResults_[b]=c;a.storedErrorCodes_[b]=d;a.addressBooksToReport_[b]=e;Fic(this.combiner_,a,this.id_,c)};Bic.prototype.dispose=function(){this.combiner_=this.matcher_=null};
var Cic=function(a,b,c){var d=this;this.query=a;this.activeRequests_={};this.storedResults_={};this.addressBooksToReport_=[];this.storedErrorCodes_=[];var e=new uO((new To).setEventType(4).setApiType(2));b.count(e);b.start(e,"total");this.handler=function(f,h,k,q){d.addressBooksToReport_.forEach(function(t,w){var B=d.activeRequests_[w];B=B===gO||B instanceof hO?2:1;e.source().setCacheStatus(B);e.source().setAddressBook(t?Ugc.get(t)||1:1);b.stop(e,"total");b.status(e,bhc(d.storedErrorCodes_[w]))});
d.addressBooksToReport_=[];c&&c(f,h,k,q)}};Cic.prototype.cancel=function(){for(var a in this.activeRequests_)this.activeRequests_[a].cancel();this.activeRequests_={}};Cic.prototype.isPending=function(){for(var a in this.activeRequests_)if(this.activeRequests_[a].isPending())return!0;return!1};Cic.prototype.addRequest=function(a,b){this.activeRequests_[a]=b};var Hic={198:"AE",230:"ae",306:"IJ",307:"ij",338:"AE",339:"ae"},Ms=function(a){for(var b=[],c=0,d=0;d<a.length;d++){var e=a.charCodeAt(d);if(e<192||e>382)e=null;else{var f=Hic[e];f?e=f:(f="AAAAAA*CEEEEIIIIDNOOOOOx0UUUUYpBaaaaaa*ceeeeiiiionooooo^ouuuuypyAaAaAaCcCcCcCcDdDdEeEeEeEeEeGgGgGgGgHhHhIiIiIiIiIi**JjKkkLlLlLLLlllNnNnNnnNnOoOoOo**RrRrRrSsSsSsSsTtTtttUuUuUuUuUuUuWwYyYZzZzZz"[e-192],e=f=="^"?null:f)}e&&(c!=d&&b.push(a.substr(c,d-c)),c=d+1,b.push(e))}return b.length>0?(b.push(a.substr(c)),b.join("")):
a};var LO=function(a,b,c,d,e,f){Xo.call(this);this.cacheMaxSize_=e||0;this.rowMatchingFunction_=f||Iic;this.cache_=new HE(this.cacheMaxSize_,!0);this.cacheSize_=a||0;this.cacheMinExpiryAge_=b||0;this.cacheMaxExpiryAge_=c||0;this.cacheByType_=!!d};Mt(LO,Xo);LO.prototype.disposeInternal=function(){LO.superClass_.disposeInternal.call(this);this.cache_=null};LO.prototype.clear=function(){this.cache_.clear()};
var Iic=function(a){var b=so(Ms(a.token));return function(c){var d=new RegExp("(^|\\W+)"+b,"i");(d=Ms(String(c[1])).match(d)!=null)||(d=c[0],d=c[2].match(new RegExp("^"+b,"i"))!=null&&String(d)!="cl");return d}},Jic=function(a,b){var c="^"+a.token.toLowerCase();b&&(a.includeContacts||(c="nc"+c),a.includeGroups||(c="ng"+c),a.includePhoneContacts||(c="np"+c),a.isContactAutoComplete||(c="na"+c));a.includeProfileAddresses&&(c="pa"+c);return c},Kic=function(a,b,c){a.cache_.set(Jic(b,a.cacheByType_),c);
if(a.cacheSize_&&(b=a.cache_.getCount(),b>a.cacheSize_)){c=Date.now()-a.cacheMinExpiryAge_;do{if(a.cache_.head_.prev.value.created>=c)break;a.cache_.pop()}while(--b>a.cacheSize_)}},Lic=function(a,b,c){c=c?a.cache_.get(b):V6b(a.cache_,b);return a.isStale(c)?(a.cache_.remove(b),null):c},Mic=function(a,b,c){c=b.length-c.length;for(var d=b.length;d>=c;d--){var e=Lic(a,b,!1);if(e)return e;b=b.substr(0,d-1)}return null},Nic=function(a,b){if(b.isContactAutoComplete)return null;var c=Jic(b,a.cacheByType_),
d=Mic(a,c,b.token);return d?d:a.cacheByType_&&c.lastIndexOf("^",0)!=0?(c=Jic(b,!1),Mic(a,c,b.token)):null};LO.prototype.isStale=function(a){return!!a&&!!this.cacheMaxExpiryAge_&&a.created+this.cacheMaxExpiryAge_<Date.now()};LO.prototype.invalidateCache=function(a){for(var b=this.cache_.getKeys(),c=0;c<b.length;c++){var d=b[c],e={token:V6b(this.cache_,d).token};this.rowMatchingFunction_(e)(a)&&this.cache_.remove(d)}};
var MO=function(a,b,c){this.token=a;this.matches_=b;this.partialResult_=!!c;this.count=1;this.created=Date.now()};MO.prototype.getMatches=function(a){a&&this.count++;return this.matches_};MO.prototype.isComplete=function(a){return!this.partialResult_||a>=0&&a<=this.matches_.length};Mt(Zo,Xo);g=Zo.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(Hp(a.token)&&!c.allowEmptyQueries_)var d=fO;else{d=a.maxMatches;var e=Lic(c,Jic(a,c.cacheByType_),!0);(d=e&&d&&!e.isComplete(d)?null:e)?d=d.getMatches():(d=Nic(c,a))&&d.getMatches().length==0?(Kic(c,a,new MO(a.token,fO)),d=fO):d&&!d.partialResult_&&c.clientFilteringOk_?(d=d.getMatches(),d=xRb(d,c.rowMatchingFunction_(a),c),Kic(c,a,new MO(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,gO,this.getId(),a),gO):this.transport_.loadContactRows(a,this.getId(),Kt(this.cacheContactRowsAndInvokeHandler_,this,b))}b&&b(fO,gO,this.getId(),a,4);return gO};g.cacheContactRowsAndInvokeHandler_=function(a,b,c,d,e,f){f||Kic(this.cache_,e,new MO(e.token,b,e.maxMatches!=-1&&b.length>=e.maxMatches));a&&(b&&e.maxMatches>=0&&b.length>e.maxMatches&&(b=b.slice(0,e.maxMatches)),a(b,c,d,e,f))};g.onContactsChange_=function(){this.cache_.clear()};
g.disposeInternal=function(){Zo.superClass_.disposeInternal.call(this);this.cache_.dispose();this.cache_=null;Oic(this.transport_,this.id_);this.transport_=null};var Qic=function(a,b,c){LO.call(this,100,18E5,432E5,!0,0,c||Pic);this.clientFilteringOk_=a;this.allowEmptyQueries_=b};X(Qic,LO);var Pic=function(a){return function(b){var c=b.getType(),d;if(d=Ric(a,c)){d=new RegExp("(^|\\W+)"+so(Ms(a.token)),"i");var e=Ms(b.getName()||"");(d=d.test(e))||(d=a.token,d=((b=b.getEmail())?(new RegExp("^"+so(Ms(d)),"i")).test(b):!1)&&c!="cl")}return d}},Ric=function(a,b){switch(b){case "ct":return a.includeContacts;case "cl":case "li":return a.includeGroups;case "pt":return a.includePhoneContacts}return!1};var NO=function(a,b,c){this.includeDomainGroups_=!!c;b=b||new Qic(!0,!1,Sic);Zo.call(this,a,b,"domain")};Mt(NO,Zo);NO.prototype.loadContactRows=function(a,b){a.includeGroups&&!this.includeDomainGroups_&&(a=vc(a),a.includeGroups=!1);return NO.superClass_.loadContactRows.call(this,a,b)};
var Sic=function(a){for(var b=LSb(a.token).toLowerCase().split(/\s+/),c=[],d=[],e=0;e<b.length;e++){var f=so(b[e]),h=new RegExp("^"+f,"i");c.push(new RegExp("(^|\\W+)"+f,"i"));d.push(h)}return function(k){if(Ric(a,k.getType())){for(var q=0;q<c.length;q++)if(!k.getName().match(c[q])&&!k.getEmail().match(d[q]))return!1;return!0}return!1}};NO.prototype.execute=function(a){a=this.transport_.execute(a);a.setAddressBookId(this.getId());return a};var Tic=function(a,b){this.personId=a;this.contactId=b.CONTACT||"";this.syntheticId=b.DOMAIN_CONTACT||"";this.profileId=b.PROFILE||b.DOMAIN_PROFILE||"";this.loggingId=""},Vic=function(a){if(!a)return Uic;var b=HMa(So("metadata.identityInfo.sourceIds",a)),c=So("metadata.contactId",a);c&&c[0]?b.CONTACT=c[0]:b.CONTACT&&(c=parseInt(b.CONTACT,16),isFinite(c)&&(b.CONTACT=String(c)));return new Tic(a.personId||"",b)},Uic=new Tic("",{});var Wic=function(a,b){this.isLocal_=a;this.edgeIndex_=b};Wic.prototype.toString=function(){return""};var OO=function(a,b){this.metadata_=a||{};this.edgeCollection_=b};OO.prototype.toString=function(){return""};var Yic=function(a){return Xic(a).some(function(b){return!b.isLocal_})};OO.prototype.getSource=function(a){return Xic(this)[a]};OO.prototype.hasSource=function(){return void 0<Xic(this).length};var Xic=function(a){return a.edgeCollection_?a.edgeCollection_.getSources(a.metadata_.encodedContainerId,a.metadata_.containerType):[]};OO.prototype.getCause=function(a){return Zic(this)[a]};
var Zic=function(a){return a.edgeCollection_?$ic(a.edgeCollection_,a.metadata_.edgeKeyInfo):[]};OO.prototype.getContainerType=function(){return this.metadata_.containerType};var ajc=new OO({},null);var bjc=function(a,b){this.email_=a;this.edgeCollection_=b;this.metadata_=null};g=bjc.prototype;g.toString=function(){return""};g.getMetaData=function(){this.metadata_||(this.metadata_=this.hasMetaData()?new OO(this.email_.metadata,this.edgeCollection_):ajc);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 cjc=new bjc({},null);var djc=function(a,b){this.emails_=[];a=l(a);for(var c=a.next();!c.done;c=a.next())this.emails_.push(new bjc(c.value,b))};g=djc.prototype;g.toString=function(){return""};g.getMetaData=function(){return null};g.hasMetaData=function(){return!!this.getMetaData()};g.getField=function(a){return this.emails_[a]||cjc};g.getFieldLength=function(){return this.emails_.length};var ejc=new djc([],null);var fjc=function(a,b){this.name_=a||{};this.edgeCollection_=b;this.metadata_=null};g=fjc.prototype;g.toString=function(){return""};g.getMetaData=function(){this.metadata_||(this.metadata_=new OO(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 gjc=new fjc({},null);var hjc=function(a){this.field_=a};g=hjc.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 ijc=new hjc(gjc);var jjc=["CONTACT","PROFILE","DOMAIN_PROFILE"],kjc=function(a,b){this.names_=[];a=l(a);for(var c=a.next();!c.done;c=a.next())this.names_.push(new fjc(c.value,b))};g=kjc.prototype;g.toString=function(){return""};g.getMetaData=function(){return null};g.hasMetaData=function(){return!!this.getMetaData()};g.getField=function(a){return this.names_[a]||gjc};g.getFieldLength=function(){return this.names_.length};var ljc=new kjc([],null);var mjc=function(a,b){this.phone_=a;this.edgeCollection_=b;this.metadata_=null};g=mjc.prototype;g.toString=function(){return""};g.getMetaData=function(){this.metadata_||(this.metadata_=this.hasMetaData()?new OO(this.phone_.metadata,this.edgeCollection_):ajc);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 njc=new mjc({},null);var ojc=function(a,b){this.phones_=[];a=l(a);for(var c=a.next();!c.done;c=a.next())this.phones_.push(new mjc(c.value,b))};g=ojc.prototype;g.toString=function(){return""};g.getMetaData=function(){return null};g.hasMetaData=function(){return!!this.getMetaData()};g.getField=function(a){return this.phones_[a]||njc};g.getFieldLength=function(){return this.phones_.length};var pjc=new ojc([],null);var qjc=function(a,b){this.photo_=a;this.edgeCollection_=b;this.metadata_=null};g=qjc.prototype;g.toString=function(){return""};g.getMetaData=function(){this.metadata_||(this.metadata_=this.hasMetaData()?new OO(this.photo_.metadata,this.edgeCollection_):ajc);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 rjc=new qjc({},null);var sjc=function(a,b){this.photos_=[];a=l(a);for(var c=a.next();!c.done;c=a.next())c=c.value,c.isMonogram||c.isDefault||this.photos_.push(new qjc(c,b))};g=sjc.prototype;g.toString=function(){return""};g.getMetaData=function(){return null};g.hasMetaData=function(){return!!this.getMetaData()};g.getField=function(a){return this.photos_[a]||rjc};g.getFieldLength=function(){return this.photos_.length};var tjc=new sjc([],null);var PO=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};
PO.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_?IMa(this.getName().getValue(),this.getEmail().getField(this.emailIndex_).getValue()):"";this.text_=a}return this.text_};PO.prototype.hasName=function(){return!!this.getName()};
PO.prototype.getName=function(){if(!this.name_){a:{var a=NMa(this);if(a.names_.length){for(var b=l(jjc),c=b.next();!c.done;c=b.next()){c=c.value;for(var d=l(a.names_),e=d.next();!e.done;e=d.next())if(e=e.value,e.getMetaData().getContainerType()===c){a=new hjc(e);break a}}a=new hjc(a.names_[0])}else a=ijc}this.name_=a}return this.name_};
var NMa=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 kjc(b,a.edgeCollection_):ljc}return a.nameRepeated_};g=PO.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:JMa(this.contactLabel_)}]);this.email_=a?new djc(a,this.edgeCollection_):ejc}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 ojc(a,this.edgeCollection_):pjc}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 sjc(a,this.edgeCollection_):tjc}return this.photo_};g.getAddress=function(){return null};g.getStatus=function(){return null};g.hasStatus=function(){return!!this.getStatus()};g.hasAttribute=function(a){return!!this.getAttribute(a)};g.getAttribute=function(){return null};g.getDisplayName=function(){return null};g.getRelation=function(){return null};
var IMa=function(a,b){return a?b&&a!=b?'"'+a.replace(/[\\"]/g,"\\$&")+'" <'+b+">":a:b||""},ujc=new PO(null,null,null,null);var vjc=function(){this.keyToIndex_=new Map},wjc=function(a,b,c){return c.map(function(d){return a.get(b,d)}).filter(function(d){return d!=null})};vjc.prototype.get=function(a,b){b==="DOMAIN_PROFILE"&&(b="PROFILE");return this.contains(a,b)?this.keyToIndex_.get(a+"="+b):null};vjc.prototype.set=function(a,b,c){b==="DOMAIN_PROFILE"&&(b="PROFILE");this.keyToIndex_.set(a+"="+b,c)};vjc.prototype.contains=function(a,b){b==="DOMAIN_PROFILE"&&(b="PROFILE");return this.keyToIndex_.has(a+"="+b)};var LMa=function(a){this.evergreenProfile_=a?new PO(a,null,null,null):ujc};LMa.prototype.toString=function(){return""};var xjc=new LMa(null);var yjc=new Wic(!0,null),QO=function(a){this.edgeIndexResolver_=new vjc;this.sourcesCache_=new Map;this.encodedContainerIds_=[];this.readonlyOutgoingEdges_=MMa(a,this.edgeIndexResolver_,this.encodedContainerIds_)};QO.prototype.get=function(a){return this.readonlyOutgoingEdges_[a]||xjc};var $ic=function(a,b){return b?b.map(function(c){return a.edgeIndexResolver_.get(c.containerId,c.containerType)}).filter(function(c){return c!=null}):[]};QO.prototype.getSize=function(){return this.readonlyOutgoingEdges_.length};
QO.prototype.getSources=function(a,b){if(!a||!b)return[];if(b==="CONTACT")return[yjc];var c=a+"="+b;this.sourcesCache_.has(c)||this.sourcesCache_.set(c,wjc(this.edgeIndexResolver_,a,[b]).map(function(d){return new Wic(!1,d)}));return this.sourcesCache_.get(c)};var zjc=new QO(null);var RO=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 QO(this.person_);this.emailIndex_=b;this.profile_=new PO(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()};X(RO,Tgc);g=RO.prototype;
g.toString=function(){return this.getType()==="cl"?this.getEmail()||"":this.text};g.getAllIds_=function(){if(!this.allIds_){if(this.person_)var a=Vic(this.person_);else if(this.googleGroup_)if(a=this.googleGroup_){var b=HMa(a.sourceIds);a=new Tic(a.personId||"",b)}else a=Uic;else this.contactLabel_?(a=this.contactLabel_)?(b={},b.CONTACT=So("id.id",a)||"",a=new Tic("",b)):a=Uic:a=Uic;this.allIds_=a}return this.allIds_};g.getId=function(){return this.getAllIds_().contactId};
g.getName=function(){this.name_===null&&(this.name_=OMa(this.profile_,function(a){return!!a&&!Yic(a)}),this.name_===null&&(this.name_=Ajc(this,OMa)));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_=PMa(this.profile_,function(a){return!!a&&!Yic(a)}),this.photoUrl_===null&&(this.photoUrl_=Ajc(this,PMa)));return this.photoUrl_};g.getEncryptionSupport=function(){var a=1,b=Bjc(this);if(b){(b=b.extendedData)&&b.smtpServerSupportsTls&&(a=2);b=0;var c=Bjc(this);if(c&&(c=c.certificate)){c=l(c);for(var d=c.next();!d.done;d=c.next())if(d=So("status.statusCode",d.value),d===1){b=1;break}else d&&(b=d)}b===1&&(a=a===2?3:4)}return a};
g.getLoggingId=function(){return this.getAllIds_().loggingId};
var Bjc=function(a){var b=So("email",a.person_)||So("emails",a.googleGroup_);return b?b[a.emailIndex_]||null:null},Ajc=function(a,b){for(var c=a.profile_.getEmail().getField(a.emailIndex_).getMetaData(),d=0;d<Zic(c).length;d++){var e=c.getCause(d);e=a.edgeCollection_.get(e).evergreenProfile_;e=b(e);if(e!==null)return e}for(d=0;d<Xic(c).length;d++)if(e=c.getSource(d),e.edgeIndex_!==null&&(e=a.edgeCollection_.get(e.edgeIndex_||0).evergreenProfile_,e=b(e),e!==null))return e;return""},Cjc=function(a,
b,c){c=c===void 0?!1:c;if(b===void 0?0:b)return a.map(function(q){return new RO(q,void 0,!0)});b=new Set;var d=[];a=l(a);for(var e=a.next();!e.done;e=a.next()){e=e.value;var f=So("person.email",e)||So("googleGroup.emails",e)||[];if(c||f&&f.length)for(var h=0;h<f.length;h++){var k=(So("value",f[h])||"").trim().toLowerCase();if(c){if(b.has(k))continue;b.add(k)}d.push(new RO(e,h))}else d.push(new RO(e))}return d};var Djc=function(a,b,c,d,e,f,h,k,q,t,w,B,E,I,J,N){J=J===void 0?new dO:J;N=N===void 0?!1:N;this.metrics=a;this.peopleRoot=b;this.gapiApiKey=c;this.clientId=d;this.clientName=e;this.clientVersion=f||"contact_store_336195648";this.affinityType=h;this.delegatorId=k;this.timeoutMs=q;this.onAuthError=t?t:function(){};this.autocompletePageSize=w;this.rankedTargetsPageSize=B;this.peopleContainerMask=E.split(/[\s,]+/).filter(function(P){return!!P});this.peopleFieldMask=I;this.experiments=J;this.includeOnlyNames=
N};Djc.prototype.setTimeout=function(a){var b=this.timeoutMs;a>0&&(this.timeoutMs=a);return b};var SO=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};X(SO,Error);var TO=function(a,b,c){this.config=a;this.onAuthError_=a.onAuthError;this.timeoutMs_=a.timeoutMs;this.metrics_=a.metrics;this.metric_=new uO(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=TO.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_=R_b(new iA),Ejc(this,null,11)}};
g.send=function(a){var b=this;if(this.state_!==0)return this.promise_;this.metrics_.count(this.metric_);this.metrics_.stop(this.metric_,"blocked");this.metrics_.start(this.metric_,"network");this.state_=1;var c=this.buildRequest();if(c&&c.path){var d=this.config.gapiApiKey||"";d&&!sMa()&&(c.params=c.params||{},c.params.key=d);c.headers=uMa(d);c.root=this.config.peopleRoot;c.authType="auto";a=a.request(c)}else a=Promise.resolve({result:{}});return this.promise_=a0b(U_b([a,j0b(this.timeoutMs_,"TIMEOUT")]),
function(){b.state_=2;b.metrics_.stop(b.metric_,"network")}).then(function(e){return b.onResponse_(e)},function(e){return b.onError_(e)})};g.onResponse_=function(a){if(a==="TIMEOUT")this.onError_(a);else{var b=a&&a.result;if(!b||"error"in b)this.onError_(a);else{try{var c=this.processResponse(b)}catch(d){this.onError_(d);return}try{Ejc(this,c,0)}finally{this.metrics_.stop(this.metric_,"total"),this.metrics_.status(this.metric_,0)}}}};
g.onError_=function(a){var b=!1,c=2,d=1;try{if(a==="TIMEOUT")c=4,d=10;else if(a instanceof iA)c=1,d=11;else if(a instanceof SO)c=a.code,d=ahc(c);else if(a&&typeof a==="object"){var e=So("result.error.code",a)||a.status,f=e;f=Number(f);c=Ygc.has(f)?Ygc.get(f):f>=200&&f<300?0:f>=400&&f<500?9:f>=500&&f<600?13:2;d=ahc(c);b=e==401||e==403;c===2&&this.metrics_.logError("Bad status code (HTTP="+e+")",a)}else c=2,d=1}finally{this.metrics_.status(this.metric_,c),Ejc(this,null,d,b)}};
var Ejc=function(a,b,c,d){if(d===void 0?0:d)try{a.onAuthError_()}catch(e){throw a.metrics_.logError("AuthError handler: "+e,e),e;}try{a.handler_(b||[],c)}catch(e){throw a.metrics_.logError("Client handler: "+e,e),e;}};var Fjc=function(a,b,c){var d=(new To).setEventType(2).setRpcType(1).setToken(b);TO.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};X(Fjc,TO);
Fjc.prototype.buildRequest=function(){var a={query:this.token_,client:this.clientId_,"clientVersion.clientAgent":"CONTACT_STORE","clientVersion.clientType":this.clientName_,"clientVersion.clientVersion":this.clientVersion_,pageSize:this.pageSize_};this.delegatorId_&&(a["authDelegationContext.delegationType"]="GMAIL",a["authDelegationContext.obfuscatedOwnerId"]=this.delegatorId_);return{method:"GET",path:"v2/people/autocomplete",params:a}};
Fjc.prototype.processResponse=function(a){var b=a.status;if(b){if(b.personalResultsNotReady)throw new SO(14,"PersonalResultsNotReady");if(b.requestThrottled)throw new SO(8,"RequestThrottled");if(b.containsPartialResults)throw new SO(8,"ContainsPartialResults");}return Cjc(a.results||[],this.config.includeOnlyNames)};var Gjc=function(a,b){this.person_=a;this.allIds_=null;this.edgeCollection_=b;this.profile_=this.person_?new PO(this.person_,null,null,this.edgeCollection_):ujc};g=Gjc.prototype;g.toString=function(){return""};g.getAllIds_=function(){this.allIds_||(this.allIds_=Vic(this.person_));return this.allIds_};g.getId=function(){return this.getAllIds_().contactId||this.getAllIds_().profileId||this.getAllIds_().syntheticId};g.hasAttribute=function(a){return!!this.getAttribute(a)};g.getAttribute=function(){return null};
g.getAffinity=function(){return null};g.hasAffinity=function(){return!!this.getAffinity()};g.getDeleted=function(){return!1};var Hjc=new Gjc(null,zjc);var Ijc=function(a){a=a===void 0?null:a;this.edgeCollection_=new QO(a);this.contact_=a?new Gjc(a,this.edgeCollection_):Hjc};g=Ijc.prototype;g.toString=function(){return""};g.getId=function(){return this.contact_.getId()};g.getAttribute=function(a){return this.contact_.getAttribute(a)};g.hasAttribute=function(a){return this.contact_.hasAttribute(a)};g.getAffinity=function(){return this.contact_.getAffinity()};g.hasAffinity=function(){return this.contact_.hasAffinity()};g.getDeleted=function(){return this.contact_.getDeleted()};var Jjc=function(a,b,c){TO.call(this,a,(new To).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};X(Jjc,TO);
Jjc.prototype.buildRequest=function(){if(!this.personIds_.length)return{};var a={personId:this.personIds_,context:{clientVersion:{clientAgent:"CONTACT_STORE",clientType:this.clientName_,clientVersion:this.clientVersion_}},mergedPersonSourceOptions:{includedProfileStates:"CORE_ID",personModelParams:{personModel:"CONTACT_CENTRIC"}},requestMask:{imageUrlType:"FIFE_URL",includeContainer:this.peopleContainerMask_,includeField:this.peopleFieldMask_}};this.delegatorId_&&(a.context.authDelegationContext=
{delegationType:"GMAIL",obfuscatedOwnerId:this.delegatorId_});return{method:"POST",path:"v2/people:batchGet",body:a}};Jjc.prototype.processResponse=function(a){return(a.personResponse||[]).filter(function(b){return b.status=="SUCCESS"}).map(function(b){return new Ijc(b.person)})};var UO=function(a,b,c,d){TO.call(this,a,zMa(b),d);this.clientName_=a.clientName;this.clientVersion_=a.clientVersion;this.delegatorId_=a.delegatorId;this.lookupType_=Kjc(b);this.knownIds_=c.filter(function(e){return!!e});this.peopleContainerMask_=a.peopleContainerMask;this.peopleFieldMask_=a.peopleFieldMask};X(UO,TO);
UO.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}};
UO.prototype.processResponse=function(a){var b=a.matches,c=a.people,d=[];b&&c&&b.forEach(function(e){e=l(e.personId);for(var f=e.next();!f.done;f=e.next())(f=c[f.value])&&d.push(new Ijc(f))});return d};var Kjc=function(a){switch(a){case 1:return"EMAIL";case 2:return"PHONE";case 3:return"CONTACT";case 5:return"SYNTHETIC";default:return""}};var Ljc=function(a,b){TO.call(this,a,(new To).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_=[];Hj(a.experiments,6,!0)&&this.peopleExtensionNames_.push("FILTER_TO_PRIMARY")};X(Ljc,TO);
Ljc.prototype.buildRequest=function(){var a={"affinity.type":this.affinityType_,"context.clientVersion.clientAgent":"CONTACT_STORE","context.clientVersion.clientType":this.clientName_,"context.clientVersion.clientVersion":this.clientVersion_,"pagingOptions.pageSize":this.pageSize_,"requestMask.includeContainer":this.peopleContainerMask_,"requestMask.includeField":this.peopleFieldMask_,"mergedPersonSourceOptions.includedProfileStates":"CORE_ID","mergedPersonSourceOptions.personModelParams.personModel":"CONTACT_CENTRIC"};
this.peopleExtensionNames_.length&&(a["extensionSet.extensionNames"]=this.peopleExtensionNames_);return{method:"GET",path:"v2/people/rankedTargets",params:a}};Ljc.prototype.processResponse=function(a){return Cjc(a.rankedTarget||[],this.config.includeOnlyNames,!0)};g=QMa.prototype;g.getQuery=function(){return this.query_};g.setQuery=function(a){this.query_=a};g.getError=function(){return this.error_};g.setError=function(a){this.error_=a};g.getConfiguration=function(){return this.config_};g.setConfiguration=function(a){this.config_=a};g.getUserData=function(){return this.userData_};g.setUserData=function(a){this.userData_=a};var Mjc=new Map([[1,4],[2,2],[3,1],[4,7]]),VO=function(a,b){Gz.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 uO((new To).setEventType(1));this.metrics_.start(this.gapiMetric_,"total");this.metrics_.start(this.gapiMetric_,"blocked");b.then(function(d){c.metrics_.stop(c.gapiMetric_,"blocked");d?Njc(c,d):Ojc(c,5)},function(d){c.metrics_.logError("gapi.client failed to load: "+d,d);Ojc(c,5)})};
X(VO,Gz);var Njc=function(a,b){b&&b.request?(yMa(),a.metrics_.stop(a.gapiMetric_,"total"),a.metrics_.status(a.gapiMetric_,0),a.gapiClient_=b,a.queuedRequests_.forEach(function(c,d){return c.forEach(function(e){return Pjc(a,d,e)})})):Ojc(a,9)};VO.prototype.disposeInternal=function(){for(var a=l(this.queuedRequests_.keys()),b=a.next();!b.done;b=a.next())Oic(this,b.value)};
var Ojc=function(a,b){a.metrics_.status(a.gapiMetric_,b);a.gapiFailed_=!0;a.disposeInternal()},Oic=function(a,b){b=b||"";a.queuedRequests_.has(b)&&(Qjc(a.queuedRequests_.get(b)),a.queuedRequests_.delete(b))},Rjc=function(a,b,c){a.gapiFailed_?c.cancel():(GMa(a,b).push(c),Pjc(a,b,c))},Pjc=function(a,b,c){a.gapiClient_&&a0b(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)}})},GMa=function(a,b){b=b||"";if(a.queuedRequests_.has(b))return a.queuedRequests_.get(b);
var c=[];a.queuedRequests_.set(b,c);return c},Qjc=function(a){a&&a.length&&(a.forEach(function(b){return b.cancel()}),a.length=0)};VO.prototype.loadContactRows=function(a,b,c){var d=a&&a.token||"",e=function(h,k){return c(h,f,b,a,k)},f=d?new Fjc(this.config_,d,e):new Ljc(this.config_,e);Rjc(this,b,f);return f};
VO.prototype.execute=function(a){if(a.isMutate())return this.metrics_.status(new uO((new To).setEventType(2).setRpcType(4)),12),Sjc(a);var b=a.getQueryParameters&&a.getQueryParameters()||{},c=b.addressBookId,d=function(w,B){if(B)a.setResponse(dhc(B,h));else{w=a.setResponse;B=new QMa(b);var E=new chc(h);E.queryResponse_=B;E.errorCode_=B.getError();w.call(a,E)}},e=this.config_.setTimeout(Tjc(a));try{var f=b.emailAddresses||[];if(f.length)var h=new UO(this.config_,1,f,d);else{var k=b.contactIds||[];
if(k.length)h=new UO(this.config_,3,k,d);else{var q=b.profileIds||[];if(q.length)h=new Jjc(this.config_,q,d);else{var t=b.syntheticIds||[];if(t.length)h=new UO(this.config_,5,t,d);else return this.metrics_.status(new uO((new To).setEventType(2)),12),Sjc(a)}}}}finally{this.config_.setTimeout(e)}h.setQuery(a);Rjc(this,c,h);return h};var Sjc=function(a){var b=new hO(function(){return a.setResponse(dhc(5,b))});b.setQuery(a);return b};var WO=function(a,b,c,d){Zo.call(this,a,b,c,d)};X(WO,Zo);WO.prototype.execute=function(a){a.isMutate()&&a.addSuccessCallback(Kt(this.handleExecuteResponse_,this,a));a=this.transport_.execute(a);a.setAddressBookId(this.getId());return a};WO.prototype.handleExecuteResponse_=function(a,b){if(b.hasChanges()){var c=b.mutateResponse_;if(a.getNotifyOnChange()||c&&c.getError())a=new rO([b.mutateResponse_],"c"),this.dispatchEvent(a)}};var Ujc=function(a,b,c){b=b||new Qic(!0,!0);Zo.call(this,a,b,"personal",c)};X(Ujc,WO);Ujc.prototype.configure=function(a,b){WO.prototype.configure.call(this,a,b)};var Vjc=function(){throw Error("Rd");};var Wjc={},Xjc={},Yjc={},Zjc={},$jc={},XO=function(){throw Error("Td");};XO.prototype.contentDir=null;XO.prototype.getContent=function(){return this.content};XO.prototype.toString=function(){return this.content};XO.prototype.toSafeHtml=function(){if(this.contentKind!==Wjc)throw Error("Ud");return vh(this.toString())};var akc=function(){XO.call(this)};Mt(akc,XO);akc.prototype.contentKind=Wjc;var bkc=function(){XO.call(this)};Mt(bkc,XO);bkc.prototype.contentKind=Xjc;bkc.prototype.contentDir=1;var ckc=function(a){if(a!=null)switch(a.contentDir){case 1:return 1;case -1:return-1;case 0:return 0}return null},es=function(a){return YO(a,Wjc)?a:a instanceof Bc?cs(xh(a).toString()):cs(String(String(a)).replace(dkc,ekc),ckc(a))},cs=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}}(akc),fkc=function(a){function b(c){this.content=c}b.prototype=a.prototype;return function(c){return new b(String(c))}}(bkc),
ZO=function(a){return a instanceof XO?!!a.getContent():!!a},fs=function(a){return YO(a,Wjc)?a:cs(gkc(a,hkc),ckc(a))},ikc=RegExp("^<(?:area|base|br|col|command|embed|hr|img|input|keygen|link|meta|param|source|track|wbr)\\b"),gkc=function(a,b){if(!b)return TMa(String(a),function(){return""}).replace(jkc,"&lt;");a=String(a).replace(/\[/g,"&#91;");var c=[],d=[];a=TMa(a,function(f,h){if(h&&(h=h.toLowerCase(),b.hasOwnProperty(h)&&b[h])){var k=c.length,q="</",t="";if(f.charAt(1)!=="/"){q="<";for(var w;w=
kkc.exec(f);)if(w[1]&&w[1].toLowerCase()==="dir"){if(f=w[2]){if(f.charAt(0)==="'"||f.charAt(0)==='"')f=f.substr(1,f.length-2);f=f.toLowerCase();if(f==="ltr"||f==="rtl"||f==="auto")t=' dir="'+f+'"'}break}kkc.lastIndex=0}c[k]=q+h+">";d[k]=t;return"["+k+"]"}return""});a=String(a).replace(lkc,ekc);var e=mkc(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},RMa=RegExp.prototype.hasOwnProperty("sticky"),SMa=new RegExp((RMa?"":"^")+"(?:!|/?([a-zA-Z][a-zA-Z0-9:-]*))",
RMa?"gy":"g"),nkc=function(a){return a.replace(/<\//g,"<\\/").replace(/\]\]>/g,"]]\\>")},mkc=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]="":ikc.test(e)||b.push("</"+e.substring(1))}return b.reverse().join("")},ds=function(a){return YO(a,Wjc)?String(gkc(a.getContent())).replace(lkc,ekc):String(a).replace(dkc,ekc)},okc=function(a){YO(a,
Zjc)&&(a=a.getContent());return(a&&!a.startsWith(" ")?" ":"")+a},skc=function(a){YO(a,Xjc)||YO(a,Yjc)?a=$O(a):a instanceof wc?a=$O(xc(a)):a instanceof ku?a=$O(Ec(a).toString()):(a=String(a),a=pkc.test(a)?a.replace(qkc,rkc):"about:invalid#zSoyz");return a},ukc=function(a){YO(a,Xjc)||YO(a,Yjc)?a=$O(a):a instanceof wc?a=$O(xc(a)):a instanceof ku?a=$O(Ec(a).toString()):(a=String(a),a=tkc.test(a)?a.replace(qkc,rkc):"about:invalid#zSoyz");return a},aP=function(a){YO(a,$jc)?a=nkc(a.getContent()):a==null?
a="":a instanceof DSb?(a instanceof DSb&&a.constructor===DSb?a=a.privateDoNotAccessOrElseSafeStyleWrappedValue_:(Db(a),a="type_error:SafeStyle"),a=nkc(a)):a instanceof ESb?(a instanceof ESb&&a.constructor===ESb?a=a.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_:(Db(a),a="type_error:SafeStyleSheet"),a=nkc(a)):(a=String(a),a=vkc.test(a)?a:"zSoyz");return a},YO=function(a,b){return a!=null&&a.contentKind===b},wkc={"\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;"},ekc=function(a){return wkc[a]},xkc={"\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"},rkc=function(a){return xkc[a]},dkc=/[\x00\x22\x26\x27\x3c\x3e]/g,lkc=/[\x00\x22\x27\x3c\x3e]/g,qkc=/[\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,vkc=/^(?!-*(?:expression|(?:moz-)?binding))(?:(?:[.#]?-?(?:[_a-z0-9-]+)(?:-[_a-z0-9-]+)*-?|(?:calc|cubic-bezier|drop-shadow|hsl|hsla|hue-rotate|invert|linear-gradient|max|min|rgb|rgba|rotate|rotateZ|translate|translate3d|translateX|translateY|var)\((?:(?:(?:(?:\/(?![\/\*]))|(?:\*(?!\/)))?[-\u0020\t,+.!#%_0-9a-zA-Z]+)*|(?:calc|cubic-bezier|drop-shadow|hsl|hsla|hue-rotate|invert|linear-gradient|max|min|rgb|rgba|rotate|rotateZ|translate|translate3d|translateX|translateY|var)\((?:(?:(?:\/(?![\/\*]))|(?:\*(?!\/)))?[-\u0020\t,+.!#%_0-9a-zA-Z]+)*\))+\)|[-+]?(?:[0-9]+(?:\.[0-9]*)?|\.[0-9]+)(?:e-?[0-9]+)?(?:[a-z]{1,4}|%)?|(?:(?:\/(?![\/\*]))|(?:\*(?!\/)))|!important)(?:\s*[,\u0020]\s*|$))*$/i,
pkc=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i,tkc=/^[^&:\/?#]*(?:[\/?#]|$)|^https?:|^ftp:|^data:image\/[a-z0-9+-]+;base64,[a-z0-9+\/]+=*$|^blob:/i,ykc=/^(?!on|src|(?:action|archive|background|cite|classid|codebase|content|data|dsync|href|http-equiv|longdesc|style|usemap)\s*$)(?:[a-z0-9_$:-]*)$/i,$O=function(a){return String(a).replace(qkc,rkc)},zkc=function(a){a=String(a);return ykc.test(a)?a:"zSoyz"},jkc=/</g,hkc={b:!0,br:!0,em:!0,i:!0,s:!0,strong:!0,sub:!0,sup:!0,u:!0},kkc=/([a-zA-Z][a-zA-Z0-9:\-]*)[\t\n\r\u0020]*=[\t\n\r\u0020]*("[^"]*"|'[^']*')/g;var UMa={};var bP=function(a,b,c){Xo.call(this);this.matcher_=a;this.selectionHandler_=c;this.renderer_=b;Yo(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_={}};Mt(bP,Xo);g=bP.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_[Akc(this,a)];c=!!d&&b.isRowDisabled&&b.isRowDisabled(d);d&&!c&&this.hiliteId_!=a&&this.hiliteId(a)}c||this.selectHilited();break;case "canceldismiss":Bkc(this);break;case "dismiss":Ckc(this)}};
g.setToken=function(a){this.token_!=a&&(this.token_=a,this.matcher_.requestMatchingRows(this.token_,this.maxMatches_,Kt(this.matchListener_,this)),Bkc(this))};g.getTarget=function(){return this.target_};g.setTarget=function(a){this.target_=a};g.isOpen=function(){return this.renderer_.isVisible()};var Dkc=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}};
bP.prototype.hiliteId=function(a){var b=Akc(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)};
bP.prototype.selectHilited=function(){var a=Akc(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=Ekc(c,c.getValue(),c.getCursorPosition()),f=Fkc(c,c.getValue());c.separatorCheck_&&!c.separatorCheck_.test(d)&&(d=d.replace(/[\s\xa0]+$/,"")+c.defaultSeparator_);e==0||Hp(f[e-1])||(d=" "+d);e==f.length-1&&(d+=" ");if(d!=f[e]){f[e]=d;d=c.activeElement_;d.value=f.join("");for(var h=0,k=0;k<=e;k++)h+=f[k].length;d.focus();
e=h;f=c.activeElement_;Gkc(f)&&(f.selectionStart=e);f=c.activeElement_;Gkc(f)&&(f.selectionEnd=e)}}else c.setValue(d);c.rowJustSelected_=!0}this.dismiss();this.dispatchEvent({type:"update",row:b,index:a});return!0}this.dismiss();this.dispatchEvent({type:"update",row:null,index:null});return!1};
bP.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 Ckc=function(a){a.dismissTimer_||(a.dismissTimer_=window.setTimeout(Kt(a.dismiss,a),100))};
bP.prototype.immediatelyCancelDelayedDismiss_=function(){return this.dismissTimer_?(window.clearTimeout(this.dismissTimer_),this.dismissTimer_=null,!0):!1};var Bkc=function(a){a.immediatelyCancelDelayedDismiss_()||window.setTimeout(Kt(a.immediatelyCancelDelayedDismiss_,a),10)};bP.prototype.disposeInternal=function(){bP.superClass_.disposeInternal.call(this);delete this.inputToAnchorMap_;this.renderer_.dispose();this.selectionHandler_.dispose();this.matcher_=null};
bP.prototype.matchListener_=function(a,b,c){this.token_==a&&this.renderRows(b,c)};
bP.prototype.renderRows=function(a,b){var c=Db(b)=="object"&&b;b=(c?c.getPreserveHilited():b)?Akc(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_[ab(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):Dkc(this));this.dispatchEvent("suggestionsupdate")};var Akc=function(a,b){b-=a.firstRowId_;return b<0||b>=a.rows_.length?-1:b};bP.prototype.attachInputs=function(a){var b=this.selectionHandler_;b.attachInputs.apply(b,arguments)};bP.prototype.detachInputs=function(a){var b=this.selectionHandler_;b.detachInputs.apply(b,arguments);Array.prototype.forEach.call(arguments,function(c){uc(this.inputToAnchorMap_,ab(c))},this)};bP.prototype.update=function(a){this.selectionHandler_.update(a)};var Hkc=function(a,b){var c=0,d=0;Gkc(a)&&(c=a.selectionStart,d=b?-1:a.selectionEnd);return[c,d]},Gkc=function(a){try{return typeof a.selectionStart=="number"}catch(b){return!1}};var Ikc=function(a,b,c,d){Iz.call(this,d);this.type="key";this.keyCode=a;this.charCode=b;this.repeat=c};Mt(Ikc,Iz);var Jkc=function(a,b){Xo.call(this);a&&this.attach(a,b)};Mt(Jkc,Xo);g=Jkc.prototype;g.element_=null;g.keyPressKey_=null;g.keyDownKey_=null;g.keyUpKey_=null;g.lastKey_=-1;g.keyCode_=-1;g.altKey_=!1;
var Kkc={3:13,12:144,63232:38,63233:40,63234:37,63235:39,63236:112,63237:113,63238:114,63239:115,63240:116,63241:117,63242:118,63243:119,63244:120,63245:121,63246:122,63247:123,63248:44,63272:46,63273:36,63275:35,63276:33,63277:34,63289:144,63302:45},Lkc={Up:38,Down:40,Left:37,Right:39,Enter:13,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,"U+007F":46,Home:36,End:35,PageUp:33,PageDown:34,Insert:45},Mkc=Zr&&Ot;g=Jkc.prototype;
g.handleKeyDown_=function(a){Pt&&(this.lastKey_==17&&!a.ctrlKey||this.lastKey_==18&&!a.altKey||Zr&&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));mgc(a.keyCode,this.lastKey_,a.shiftKey,a.ctrlKey,a.altKey,a.metaKey)?(this.keyCode_=lgc(a.keyCode),Mkc&&(this.altKey_=a.altKey)):this.handleEvent(a)};g.resetState=function(){this.keyCode_=this.lastKey_=-1};
g.handleKeyup_=function(a){this.resetState();this.altKey_=a.altKey};
g.handleEvent=function(a){var b=a.event_,c=b.altKey;if(Pt&&a.type=="keypress"){var d=this.keyCode_;var e=b.charCode>=0&&b.charCode<63232&&kgc(d)?b.charCode:0}else a.type=="keypress"?(Mkc&&(c=this.altKey_),b.keyCode==b.charCode?b.keyCode<32?(d=b.keyCode,e=0):(d=this.keyCode_,e=b.charCode):(d=b.keyCode||this.keyCode_,e=b.charCode||0)):(d=b.keyCode||this.keyCode_,e=b.charCode||0),Zr&&e==63&&d==224&&(d=191);var f=d=lgc(d);d?d>=63232&&d in Kkc?f=Kkc[d]:d==25&&a.shiftKey&&(f=9):b.keyIdentifier&&b.keyIdentifier in
Lkc&&(f=Lkc[b.keyIdentifier]);if(!Ot||a.type!="keypress"||mgc(f,this.lastKey_,a.shiftKey,a.ctrlKey,c,a.metaKey))a=f==this.lastKey_,this.lastKey_=f,b=new Ikc(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_=Yo(this.element_,"keypress",this,b);this.keyDownKey_=Yo(this.element_,"keydown",this.handleKeyDown_,b,this);this.keyUpKey_=Yo(this.element_,"keyup",this.handleKeyup_,b,this)};g.detach=function(){this.keyPressKey_&&(Oz(this.keyPressKey_),Oz(this.keyDownKey_),Oz(this.keyUpKey_),this.keyUpKey_=this.keyDownKey_=this.keyPressKey_=null);this.element_=null;this.keyCode_=this.lastKey_=-1};
g.disposeInternal=function(){Jkc.superClass_.disposeInternal.call(this);this.detach()};var cP=function(a,b,c,d){Gz.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 jA(d):null;this.eh_=new Lr(this);this.activateHandler_=new Lr(this);this.keyHandler_=new Jkc;this.lastKeyCode_=-1};
Mt(cP,Gz);g=cP.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 Hkc(this.activeElement_,!0)[0]};
g.attachInputs=function(a){for(var b=0;b<arguments.length;b++){var c=arguments[b];cA(c)&&(HN(c,"combobox"),IN(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_),cA(c))){var d=Uz(c);try{var e=d&&d.activeElement;var f=e&&e.nodeName?e:null}catch(h){f=null}f==c&&Nkc(this,c)}}};
g.detachInputs=function(a){for(var b=0;b<arguments.length;b++){var c=arguments[b];cA(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(){cP.superClass_.disposeInternal.call(this);this.eh_.dispose();delete this.eh_;this.activateHandler_.dispose();this.keyHandler_.dispose();Nh(this.timer_)};
var Okc=function(a,b){switch(b.keyCode){case 40:if(a.ac_.isOpen()){Dkc(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()};
cP.prototype.handleKeyUp=function(){return!1};cP.prototype.handleFocus=function(a){Nkc(this,a.target||null)};var Nkc=function(a,b){a.activateHandler_.removeAll();a.ac_&&Bkc(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=cP.prototype;
g.handleBlur=function(){this.activeElement_&&(this.eh_.unlisten(this.keyHandler_,"key",this.onKey_),this.keyHandler_.detach(),this.eh_.unlisten(this.activeElement_,"keyup",this.handleKeyUp),this.eh_.unlisten(this.activeElement_,"mousedown",this.onMouseDown_),this.waitingForIme_&&Pkc(this),this.activeElement_=null,this.timer_&&(this.timer_.stop(),this.eh_.unlisten(this.timer_,"tick",this.onTick_)),this.ac_&&Ckc(this.ac_))};g.onTick_=function(){this.update()};g.onKeyDownOnInactiveElement_=function(a){this.handleFocus(a)};
g.onKey_=function(a){this.lastKeyCode_=a.keyCode;this.ac_&&Okc(this,a)};g.onKeyPress_=function(){this.waitingForIme_&&this.lastKeyCode_!=229&&Pkc(this)};g.onKeyUp_=function(a){this.waitingForIme_&&(a.keyCode==13||a.keyCode==77&&a.ctrlKey)&&Pkc(this)};g.onMouseDown_=function(){};var Pkc=function(a){a.waitingForIme_&&(a.waitingForIme_=!1,a.eh_.unlisten(a.activeElement_,"keypress",a.onKeyPress_),a.eh_.unlisten(a.activeElement_,"keyup",a.onKeyUp_))};
cP.prototype.update=function(a){if(this.activeElement_&&(a||this.getValue()!=this.lastValue_)){if(a||!this.rowJustSelected_){a=this.getCursorPosition();var b=this.getValue();a=Fkc(this,b)[Ekc(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 Ekc=function(a,b,c){a=Fkc(a,b);if(c==b.length)return a.length-1;for(var d=b=0,e=0;d<a.length&&e<=c;d++)e+=a[d].length,b=d;return b},Fkc=function(a,b){if(!a.multi_)return[b];b=String(b).split("");for(var c=[],d=[],e=0,f=!1;e<b.length;e++)a.literals_&&a.literals_.indexOf(b[e])!=-1?(f||(c.push(d.join("")),d.length=0),d.push(b[e]),f=!f):f||a.separators_.indexOf(b[e])==-1?d.push(b[e]):(d.push(b[e]),c.push(d.join("")),d.length=0);c.push(d.join(""));return c};var Qkc=function(a){return typeof a.className=="string"?a.className:a.getAttribute&&a.getAttribute("class")||""},Rkc=function(a){return a.classList?a.classList:Qkc(a).match(/\S+/g)||[]},Skc=function(a,b){typeof a.className=="string"?a.className=b:a.setAttribute&&a.setAttribute("class",b)},Tkc=function(a,b){return a.classList?a.classList.contains(b):Ta(Rkc(a),b)},Ukc=function(a,b){if(a.classList)a.classList.add(b);else if(!Tkc(a,b)){var c=Qkc(a);Skc(a,c+(c.length>0?" "+b:b))}},dP=function(a,b){if(a.classList)Array.prototype.forEach.call(b,
function(e){Ukc(a,e)});else{var c={};Array.prototype.forEach.call(Rkc(a),function(e){c[e]=!0});Array.prototype.forEach.call(b,function(e){c[e]=!0});b="";for(var d in c)b+=b.length>0?" "+d:d;Skc(a,b)}},Vkc=function(a,b){a.classList?a.classList.remove(b):Tkc(a,b)&&Skc(a,Array.prototype.filter.call(Rkc(a),function(c){return c!=b}).join(" "))},Wkc=function(a,b){a.classList?Array.prototype.forEach.call(b,function(c){Vkc(a,c)}):Skc(a,Array.prototype.filter.call(Rkc(a),function(c){return!Ta(b,c)}).join(" "))};var Xkc=function(a,b){if(b&&a in b)return a;var c=Pt?"Webkit":Ot?"Moz":ls?"ms":null;return c?(c=c.toLowerCase(),a=c+Ai(a),b===void 0||a in b?a:null):null};var eP=function(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d};g=eP.prototype;g.getWidth=function(){return this.right-this.left};g.getHeight=function(){return this.bottom-this.top};g.clone=function(){return new eP(this.top,this.right,this.bottom,this.left)};g.contains=function(a){return this&&a?a instanceof eP?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){$a(a)?(this.top-=a.top,this.right+=a.right,this.bottom+=a.bottom,this.left-=a.left):(this.top-=a,this.right+=Number(b),this.bottom+=Number(c),this.left-=Number(d));return this};g.ceil=function(){this.top=Math.ceil(this.top);this.right=Math.ceil(this.right);this.bottom=Math.ceil(this.bottom);this.left=Math.ceil(this.left);return this};
g.floor=function(){this.top=Math.floor(this.top);this.right=Math.floor(this.right);this.bottom=Math.floor(this.bottom);this.left=Math.floor(this.left);return this};g.round=function(){this.top=Math.round(this.top);this.right=Math.round(this.right);this.bottom=Math.round(this.bottom);this.left=Math.round(this.left);return this};
g.translate=function(a,b){a instanceof Qr?(this.left+=a.x,this.right+=a.x,this.top+=a.y,this.bottom+=a.y):(this.left+=a,this.right+=a,typeof b==="number"&&(this.top+=b,this.bottom+=b));return this};g.scale=function(a,b){b=typeof b==="number"?b:a;this.left*=a;this.right*=a;this.top*=b;this.bottom*=b;return this};var fP=function(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d};fP.prototype.clone=function(){return new fP(this.left,this.top,this.width,this.height)};var kLb=function(a){return new fP(a.left,a.top,a.right-a.left,a.bottom-a.top)};
fP.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 Ykc=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 fP(c,e,d-c,a-e)}return null};
g=fP.prototype;g.contains=function(a){return a instanceof Qr?a.x>=this.left&&a.x<=this.left+this.width&&a.y>=this.top&&a.y<=this.top+this.height:this.left<=a.left&&this.left+this.width>=a.left+a.width&&this.top<=a.top&&this.top+this.height>=a.top+a.height};g.distance=function(a){var b=a.x<this.left?this.left-a.x:Math.max(a.x-(this.left+this.width),0);a=a.y<this.top?this.top-a.y:Math.max(a.y-(this.top+this.height),0);return Math.sqrt(b*b+a*a)};g.getSize=function(){return new Sz(this.width,this.height)};
g.ceil=function(){this.left=Math.ceil(this.left);this.top=Math.ceil(this.top);this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};g.floor=function(){this.left=Math.floor(this.left);this.top=Math.floor(this.top);this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};g.round=function(){this.left=Math.round(this.left);this.top=Math.round(this.top);this.width=Math.round(this.width);this.height=Math.round(this.height);return this};
g.translate=function(a,b){a instanceof Qr?(this.left+=a.x,this.top+=a.y):(this.left+=a,typeof b==="number"&&(this.top+=b));return this};g.scale=function(a,b){b=typeof b==="number"?b:a;this.left*=a;this.width*=a;this.top*=b;this.height*=b;return this};var gP=function(a,b){var c=Uz(a);return c.defaultView&&c.defaultView.getComputedStyle&&(a=c.defaultView.getComputedStyle(a,null))?a[b]||a.getPropertyValue(b)||"":""},iq=function(a,b){return gP(a,b)||(a.currentStyle?a.currentStyle[b]:null)||a.style&&a.style[b]},Sr=function(a,b,c){if(b instanceof Qr){var d=b.x;b=b.y}else d=b,b=c;a.style.left=hP(d,!1);a.style.top=hP(b,!1)},Zkc=function(a){try{return a.getBoundingClientRect()}catch(b){return{left:0,top:0,right:0,bottom:0}}},vMb=function(a){var b=Uz(a),
c=iq(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=iq(a,"position"),d=d&&c=="static"&&a!=b.documentElement&&a!=b.body,!d&&(a.scrollWidth>a.clientWidth||a.scrollHeight>a.clientHeight||c=="fixed"||c=="absolute"||c=="relative"))return a;return null},Pr=function(a){for(var b=new eP(0,Infinity,Infinity,0),c=$o(a),d=c.document_.body,e=c.document_.documentElement,f=Zz(c.document_);a=vMb(a);)if((!Pt||a.clientHeight!=0||a!=d)&&a!=
d&&a!=e&&iq(a,"overflow")!="visible"){var h=iP(a),k=new Qr(a.clientLeft,a.clientTop);h.x+=k.x;h.y+=k.y;b.top=Math.max(b.top,h.y);b.right=Math.min(b.right,h.x+a.clientWidth);b.bottom=Math.min(b.bottom,h.y+a.clientHeight);b.left=Math.max(b.left,h.x)}d=f.scrollLeft;f=f.scrollTop;b.left=Math.max(b.left,d);b.top=Math.max(b.top,f);c=c.getViewportSize();b.right=Math.min(b.right,d+c.width);b.bottom=Math.min(b.bottom,f+c.height);return b.top>=0&&b.left>=0&&b.bottom>b.top&&b.right>b.left?b:null},wMb=function(a,
b){b=b||Zz(document);var c=b||Zz(document);var d=iP(a),e=iP(c),f=gP(c,"borderLeftWidth");var h=gP(c,"borderRightWidth");var k=gP(c,"borderTopWidth"),q=gP(c,"borderBottomWidth");h=new eP(parseFloat(k),parseFloat(h),parseFloat(q),parseFloat(f));c==Zz(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=$kc(a);e=c.clientHeight-a.height;h=c.scrollLeft;k=c.scrollTop;h+=Math.min(f,Math.max(f-(c.clientWidth-a.width),0));k+=Math.min(d,Math.max(d-e,0));c=new Qr(h,k);b.scrollLeft=
c.x;b.scrollTop=c.y},iP=function(a){var b=Uz(a),c=new Qr(0,0);if(a==(b?Uz(b):document).documentElement)return c;a=Zkc(a);b=$z($o(b).document_);c.x=a.left+b.x;c.y=a.top+b.y;return c},lLb=function(a,b,c){if(b.document_!=c.document_){b=b.document_.body;c=c.getWindow();var d=new Qr(0,0),e=aA(Uz(b));if(BRb(e,"parent")){var f=b;do{if(e==c)var h=iP(f);else h=Zkc(f),h=new Qr(h.left,h.top);d.x+=h.x;d.y+=h.y}while(e&&e!=c&&e!=e.parent&&(f=e.frameElement)&&(e=e.parent))}b=nLb(d,iP(b));a.left+=b.x;a.top+=b.y}},
alc=function(a,b,c){if(b instanceof Sz)c=b.height,b=b.width;else if(c==void 0)throw Error("Xd");a.style.width=hP(b,!0);a.style.height=hP(c,!0)},hP=function(a,b){typeof a=="number"&&(a=(b?Math.round(a):a)+"px");return a},Rr=function(a){var b=$kc;if(iq(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},$kc=function(a){var b=a.offsetWidth,c=a.offsetHeight,
d=Pt&&!b&&!c;return(b===void 0||d)&&a.getBoundingClientRect?(a=Zkc(a),new Sz(a.right-a.left,a.bottom-a.top)):new Sz(b,c)},Or=function(a){var b=iP(a);a=Rr(a);return new fP(b.x,b.y,a.width,a.height)},blc=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+")")},jP=function(a,b){a.style.display=b?"":"none"},kP=function(a){return"rtl"==iq(a,"direction")},clc=Ot?"MozUserSelect":Pt||DRb?"WebkitUserSelect":null,
dlc=function(a){var b=a.getElementsByTagName("*");if(clc&&(a.style&&(a.style[clc]="none"),b)){a=0;for(var c;c=b[a];a++)c.style&&(c.style[clc]="none")}},rLb=function(a,b){a=a.style;Ot?a.MozBoxSizing="border-box":Pt?a.WebkitBoxSizing="border-box":a.boxSizing="border-box";a.width=Math.max(b.width,0)+"px";a.height=Math.max(b.height,0)+"px"},elc=function(a){var b=gP(a,"marginLeft"),c=gP(a,"marginRight"),d=gP(a,"marginTop");a=gP(a,"marginBottom");return new eP(parseFloat(d),parseFloat(c),parseFloat(a),
parseFloat(b))};var flc=function(){if(FRb){var a=/Windows NT ([0-9.]+)/;return(a=a.exec(Ea()))?a[1]:"0"}return Zr?(a=/1[0|1][_.][0-9_.]+/,(a=a.exec(Ea()))?a[0].replace(/_/g,"."):"10"):HRb?(a=/Android\s+([^\);]+)(\)|;)/,(a=a.exec(Ea()))?a[1]:""):IRb||JRb||KRb?(a=/(?:iPhone|CPU)\s+OS\s+(\S+)/,(a=a.exec(Ea()))?a[1].replace(/_/g,"."):""):""}();var lP=function(a){return(a=a.exec(Ea()))?a[1]:""},glc=function(){if(SRb)return lP(/Firefox\/([0-9.]+)/);if(ls||DRb||CRb)return RRb;if(WRb){if(Ma()||Bba()){var a=lP(/CriOS\/([0-9.]+)/);if(a)return a}return lP(/Chrome\/([0-9.]+)/)}if(XRb&&!Ma())return lP(/Version\/([0-9.]+)/);if(TRb||URb){if(a=/Version\/(\S+).*Mobile\/(\S+)/.exec(Ea()))return a[1]+"."+a[2]}else if(VRb)return(a=lP(/Android\s+([0-9.]+)/))?a:lP(/Version\/([0-9.]+)/);return""}();var jLb=function(a){if(a=a.offsetParent){var b=a.tagName=="HTML"||a.tagName=="BODY";if(!b||iq(a,"position")!="static"){var c=iP(a);if(!b){b=kP(a);var d;if(d=b){d=XRb&&sRb(glc,10)>=0;var e;if(e=LRb)e=sRb(flc,10)>=0;var f=WRb&&sRb(glc,85)>=0;d=Ot||d||e||f}b=d?-a.scrollLeft:b&&iq(a,"overflowX")!="visible"?a.scrollWidth-a.clientWidth-a.scrollLeft:a.scrollLeft;c=nLb(c,new Qr(b,a.scrollTop))}}}return c||new Qr},oLb=function(a,b,c,d,e,f){a=a.clone();b=b.clone();var h=0;if(d||c!=0)c&4?a.x-=b.width+(d?d.right:
0):c&2?a.x-=b.width/2:d&&(a.x+=d.left),c&1?a.y-=b.height+(d?d.bottom:0):d&&(a.y+=d.top);if(f){if(e){h=a;c=b;d=0;(f&65)==65&&(h.x<e.left||h.x>=e.right)&&(f&=-2);(f&132)==132&&(h.y<e.top||h.y>=e.bottom)&&(f&=-5);h.x<e.left&&f&1&&(h.x=e.left,d|=1);if(f&16){var k=h.x;h.x<e.left&&(h.x=e.left,d|=4);h.x+c.width>e.right&&(c.width=Math.min(e.right-h.x,k+c.width-e.left),c.width=Math.max(c.width,0),d|=4)}h.x+c.width>e.right&&f&1&&(h.x=Math.max(e.right-c.width,e.left),d|=1);f&2&&(d|=(h.x<e.left?16:0)|(h.x+c.width>
e.right?32:0));h.y<e.top&&f&4&&(h.y=e.top,d|=2);f&32&&(k=h.y,h.y<e.top&&(h.y=e.top,d|=8),h.y+c.height>e.bottom&&(c.height=Math.min(e.bottom-h.y,k+c.height-e.top),c.height=Math.max(c.height,0),d|=8));h.y+c.height>e.bottom&&f&4&&(h.y=Math.max(e.bottom-c.height,e.top),d|=2);f&8&&(d|=(h.y<e.top?64:0)|(h.y+c.height>e.bottom?128:0));e=d}else e=256;h=e}e=new fP(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}},mLb=function(a,b){return(b&8&&kP(a)?b^4:b)&-9};var $r=function(){};$r.instance_=void 0;$r.getInstance=function(){return $r.instance_?$r.instance_:$r.instance_=new $r};$r.prototype.nextId_=0;$r.prototype.idPrefix_="";$r.prototype.setIdPrefix=function(a){this.idPrefix_=a};var Nr=function(a){return a.idPrefix_+":"+(a.nextId_++).toString(36)};var mP=function(a,b,c,d){Xo.call(this);this.parent_=a||document.body;this.dom_=$o(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};Mt(mP,Xo);g=mP.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_=[];hlc(this)};g.dismiss=function(){this.visible_&&(this.visible_=!1,ilc(this,!1),jP(this.element_,!1))};g.show=function(){this.visible_||(this.visible_=!0,ilc(this,!0),jP(this.element_,!0))};
var ilc=function(a,b){a.target_&&(IN(a.target_,"haspopup",b),IN(a.element_,"expanded",b),IN(a.target_,"expanded",b),b?IN(a.target_,"owns",a.element_.id):(a.target_.removeAttribute("aria-owns"),JN(a.target_,null)))};mP.prototype.isVisible=function(){return this.visible_};
var jlc=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&&Wkc(a.rowDivs_[a.hilitedRow_],["ac-active","active"]),a.hilitedRow_=b,d&&(dP(d,["ac-active","active"]),a.target_&&JN(a.target_,d),wMb(d,a.element_)))};mP.prototype.hiliteId=function(a){if(a==-1)jlc(this,-1);else for(var b=0;b<this.rows_.length;b++)if(this.rows_[b].id==a){jlc(this,b);break}};
var klc=function(a){if(!a.element_){var b=a.dom_.createDom("DIV",{style:"display:none"});a.element_=b;dP(b,zi(a.className).split(" "));HN(b,"listbox");b.id=Nr($r.getInstance());a.dom_.appendChild(a.parent_,b);Yo(b,"click",a.handleClick_,!1,a);Yo(b,"mousedown",a.handleMouseDown_,!1,a);Yo(b,"mouseover",a.handleMouseOver_,!1,a)}},hlc=function(a){klc(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:Nr($r.getInstance())});HN(d,"option");this.customRenderer_&&this.customRenderer_.renderRow?this.customRenderer_.renderRow(b,c,d):dA(d,b.data.toString());c&&this.useStandardHighlighting_&&(this.wasHighlightedAtLeastOnce_=!1,llc(this,d,c));Ukc(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(),dlc(a.element_))};
mP.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=jLb(c),f=Or(a),h=Pr(a);h&&f.intersection(kLb(h));lLb(f,$o(a),$o(c));a=mLb(a,b);b=f.left;a&4?b+=f.width:a&2&&(b+=f.width/2);a=new Qr(b,f.top+(a&1?f.height:0));a=nLb(a,e);if(f=Pr(c))f.top-=e.y,f.right-=e.x,f.bottom-=e.y,f.left-=e.x;e=a.clone();a=mLb(c,d);d=Rr(c);b=d.clone();e=oLb(e,b,a,null,f,65);e.status&496||(f=e.rect,Sr(c,new Qr(f.left,
f.top)),b=e.rect.getSize(),qLb(d,b)||rLb(c,b))}};mP.prototype.getTarget=function(){return this.target_||null};mP.prototype.disposeInternal=function(){this.element_&&(Nz(this.element_,"click",this.handleClick_,!1,this),Nz(this.element_,"mousedown",this.handleMouseDown_,!1,this),Nz(this.element_,"mouseover",this.handleMouseOver_,!1,this),this.dom_.removeNode(this.element_),this.element_=null,this.visible_=!1);Nh(this.animation_);this.parent_=null;mP.superClass_.disposeInternal.call(this)};
var llc=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=mlc(a,c);if(c.length!=0){var e=b.nodeValue,f=new RegExp("\\b(?:"+c+")","gi");c=[];for(var h=0,k=f.exec(e),q=0;k;)q++,c.push(e.substring(h,k.index)),c.push(e.substring(k.index,f.lastIndex)),h=f.lastIndex,k=f.exec(e);c.push(e.substring(h));if(c.length>1){d=a.highlightAllTokens_?q:1;for(e=0;e<d;e++)f=2*e,b.nodeValue=c[f],h=
a.dom_.createElement("B"),h.className=a.highlightedClassName,a.dom_.appendChild(h,a.dom_.createTextNode(c[f+1])),h=b.parentNode.insertBefore(h,b.nextSibling),b.parentNode.insertBefore(a.dom_.createTextNode(""),h.nextSibling),b=h.nextSibling;b.nodeValue=c.slice(d*2).join("");a.wasHighlightedAtLeastOnce_=!0}else d&&llc(a,b,d)}}else for(b=b.firstChild;b;)d=b.nextSibling,llc(a,b,c),b=d},mlc=function(a,b){var c="";if(!b)return c;Array.isArray(b)&&(b=b.filter(function(d){return!Hp(Gp(d))}));a.highlightAllTokens_?
Array.isArray(b)?c=b.map(so).join("|"):(c=LSb(b),c=so(c),c=c.replace(/ /g,"|")):Array.isArray(b)?c=b.length>0?so(b[0]):"":/^\W/.test(b)||(c=so(b));return c},nlc=function(a,b){for(;b&&b!=a.element_&&!Tkc(b,"ac-row");)b=b.parentNode;return b?a.rowDivs_.indexOf(b):-1};mP.prototype.handleClick_=function(a){var b=nlc(this,a.target);b>=0&&this.dispatchEvent({type:"select",row:this.rows_[b].id});a.stopPropagation()};mP.prototype.handleMouseDown_=function(a){a.stopPropagation();a.preventDefault()};
mP.prototype.handleMouseOver_=function(a){a=nlc(this,a.target);a>=0&&!(Date.now()-this.startRenderingRows_<300)&&this.dispatchEvent({type:"hilite",row:this.rows_[a].id})};var nP=function(a,b,c,d,e,f,h,k,q,t){f=f||new cP(",;",'"');h=new mP(h||null,q||this,t);h.reposition_=!0;h.className=b;h.highlightAllTokens_=!0;bP.call(this,this,h,f);this.inputHandler_=this.selectionHandler_;this.inputHandler_.ac_=this;this.contactStore_=a;this.addressBookId_=c;this.filter_=d||null;this.maxMatches_=e||15;this.ownsContactStore_=!!k};Mt(nP,bP);
var plc=function(a,b,c,d,e,f,h){b=new nP(null,b,void 0,f,c,d,e,void 0,void 0,h);fK(a);Kt(olc,null,b,!0);throw Error("Sd");},qlc=function(a,b,c,d,e,f,h){b=new nP(null,b,void 0,f,c,d,e,void 0,void 0,h);c=olc;e=a.getClientInfo();d=(f=Hj(e,10)||Hj(a.getExperiments(),5,!0))?new zic(void 0,xic(a)):new KO(void 0,xic(a));h=Fs(new Ihc(a,1));var k=a.getUserInfo().getEnvType()||1;var q=Mjc.get(k)||4;q=vMa("people-pa",q===void 0?0:q);k=k===4?Kh(a.getClientInfo(),2)||"":Kh(a.getClientInfo(),1)||"";var t=Kh(a.getClientInfo(),
4),w=Kh(a.getClientInfo(),5),B=Kh(a.getClientInfo(),6)||"",E=a.getClientInfo().getAffinityType()||"",I=sj(a.getUserInfo(),2),J=a.getAuthErrorHandler(),N=gj(a.getClientInfo(),8,3E4),P=Hj(a.getClientInfo(),17,!1);h=new Djc(h,q,k,t,w,B,E,I,N,J,gj(a.getClientInfo(),13,15),gj(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(),
P);a=new VO(h,Rgc(a));h=new Ujc(a);h.configure(null,"Personal Contacts");d.addAddressBook(h,!0);f&&(a=new NO(a,null,!!Hj(e,11)),a.configure(null,"Domain Contacts"),d.addAddressBook(a,!0));c(b,!0,d);return b},olc=function(a,b,c){b&&c.loadContactRows(phc,function(){});rlc(a,c)};nP.prototype.disposeInternal=function(){this.inputHandler_.dispose();this.contactStore_&&this.ownsContactStore_&&Nh(this.contactStore_);nP.superClass_.disposeInternal.call(this)};
var rlc=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=nP.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:hhc,addressBookId:this.addressBookId_,filter:this.filter_,isAutoCompleteMode:!0,isContactAutoComplete:!!this.returnFullContacts,includeEvergreenData:!1};c=Kt(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 hO;var d=[];this.filter_&&(d=this.filter_(d,a.token));b.setResponse(Lt(c,d,b,null,a))}};g.handleAutoCompleteContacts_=function(a,b,c,d,e){a(e.token,b)};g.renderRows=function(a,b){nP.superClass_.renderRows.call(this,a,b)};g.dismiss=function(){nP.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=cs('<div class="'+ds("goog-contacts-ui-autocomplete-name-nochat")+(ZO(b)?" "+ds("goog-contacts-ui-autocomplete-new-section"):"")+'">'+es(a)+"</div>"))&&a.renderElement&&c?a.renderElement(c):(a=VMa(a),WMa(c,a))};g.selectHilited=function(){var a=Akc(this,this.hiliteId_);return a!=-1&&(a=this.rows_[a],a.specialRowHandler)?(a.specialRowHandler(),!0):nP.superClass_.selectHilited.call(this)};
g.fireSelectionEvent=function(a){this.dispatchEvent(new slc(a))};var slc=function(a){Hz.call(this,"g");this.row=a};Mt(slc,Hz);bRb("createAutoComplete",function(a,b,c,d,e,f,h,k,q,t){d&&(b=b+d+"/");b=Vjc(fK(b));f&&b.loadContactRows(phc,function(){});c=new nP(b,c,void 0,q,e,k,t,!0);c.attachInputs(Vz(document,a));return c});var oP=function(){this.eventHandler_=new Lr(this);oP.prototype.addInput=oP.prototype.addInput;oP.prototype.removeInput=oP.prototype.removeInput;oP.prototype.setTarget=oP.prototype.setTarget},tlc=function(a,b){var c=new oP;c.create(a,b);return c};g=oP.prototype;
g.create=function(a,b){a=Vz(document,a);this.acWidget_=b.contactStoreConfig?qlc(b.contactStoreConfig,b.acCssName||"ac-renderer",b.maxMatches||15,b.inputHandler,a.ownerDocument.body,b.filter,b.rightAlign):plc(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(Aa,d.target.getTarget())});
this.addInput(a)};g.dispose=function(){era(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;
Aa._EmailAc_create=tlc;var ulc=function(a,b){return new cp("/",a,void 0,void 0,void 0,void 0,b)};cp.prototype.setLocale=function(){};var vlc=function(a){this.params=a;this.pendingInputs=new Set;this.emailac=null};vlc.prototype.setTarget=function(a){this.emailac&&this.emailac.setTarget(a)};
cp.prototype.initAutocomplete=function(a){if(this.emailAcInitialized_)throw Error("Zd");this.emailAcInitialized_=!0;this.commonAcParams_=a||{};for(var b in this.acWrappers_)wlc(this,this.acWrappers_[b]);this.focusedElement_&&(a=ab(this.focusedElement_),(a=this.inputToAcWrapper_[a])&&a.setTarget(this.focusedElement_));for(var c in this.acWrappers_)for(a=[].concat(r(this.acWrappers_[c].pendingInputs.values())),b=1;b<a.length;b++)Nz(a[b],"focus",this.onTargetFocus_,!1,this)};
var wlc=function(a,b){var c=b.params;c.serverBase=a.serverBase_;c.onComplete=Kt(a.onCompleteCallback_,a);c.ua=a.useApiary_;c.acd=a.apiaryClientDeferred_;c.onAuthError=a.onAuthError_;c.tg=a.testGaia_;c.contactStoreConfig=a.contactStoreConfig_;for(var d in a.commonAcParams_)c[d]=a.commonAcParams_[d];a=[].concat(r(b.pendingInputs.values()));b.emailac=tlc(a[0],c);for(c=1;c<a.length;c++)b.emailac.addInput(a[c]);b.pendingInputs.clear()};g=cp.prototype;
g.attachAutocomplete=function(a,b,c){a=Vz(document,a);var d=b||{};b=ab(a);this.onAcCompleteListeners_[b]=c;c="";for(var e in d)c+=e+"="+d[e]+";";e=this.acWrappers_[c];e||(e=new vlc(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_?wlc(this,e):Yo(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_[ab(a)];b&&b(a)};g.detachAutocomplete=function(a){a=Vz(document,a);Nz(a,"focus",this.onTargetFocus_,!1,this);var b=ab(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)};bRb("goog.NewContactTools",cp);
bRb("goog.NewContactTools.create",ulc);cp.prototype.setLocale=cp.prototype.setLocale;cp.prototype.attachAutocompleteTo=cp.prototype.attachAutocompleteTo;cp.prototype.initAutocomplete=cp.prototype.initAutocomplete;cp.prototype.attachAutocomplete=cp.prototype.attachAutocomplete;cp.prototype.detachAutocomplete=cp.prototype.detachAutocomplete;var aNa=function(a){this.rows_=a||[]};aNa.prototype.requestMatchingRows=function(a,b,c){var d=this.rows_;var e=[];if(a!="")for(var f=new RegExp("(^|\\W+)"+so(a),"i"),h=0;h<d.length&&e.length<b;h++){var k=d[h];String(k).match(f)&&e.push(k)}e.length==0&&(e=xlc(a,b,d));c(a,e)};
var $Ma=function(a,b,c){return xlc(b,c,a.rows_)},xlc=function(a,b,c){for(var d=[],e=0;e<c.length;e++){var f=c[e],h=a.toLowerCase(),k=String(f).toLowerCase(),q=0;if(k.indexOf(h)!=-1)q=parseInt((k.indexOf(h)/4).toString(),10);else for(var t=h.split(""),w=-1,B=10,E=0,I;I=t[E];E++)I=k.indexOf(I),I>w?(w=I-w-1,w>B-5&&(w=B-5),q+=w,w=I):(q+=B,B+=5);q<h.length*6&&d.push({str:f,score:q,index:e})}d.sort(function(J,N){var P=J.score-N.score;return P!=0?P:J.index-N.index});a=[];for(E=0;E<b&&E<d.length;E++)a.push(d[E].str);
return a};var pP=function(a,b,c,d){var e=this;this.activeSession=b;this.firstPartyAuthHelper=d;this.contactTools=null;this.subscription=new W.Subscription;this.acReadyDeferred=Wm();window.gapi&&jMa().then(function(f){f.config.update("googleapis.config/auth/useFirstPartyAuth",!0);f.config.update("googleapis.config/auth/useFirstPartyAuthV2",!0);var h=e.activeSession.getEnvironmentType()==="QA";h&&f.config.update("googleapis.config/root-1p","https://content-googleapis-test.sandbox.google.com");var k="0",q=/\/u\/(\d+)\//.exec(a.absUrl());
q&&(k=q[1]);f.config.update("googleapis.config/sessionIndex",k);e.acReadyDeferred.resolve(void 0);e.contactTools=c.create(h,function(){Mgc(e.firstPartyAuthHelper)});e.contactTools.initAutocomplete()})};pP.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()};
pP.prototype.attach=function(a,b,c){var d=this,e=function(h,k){return bNa(h,k,c)},f=new W.Subscription;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};pP.\u0275fac=function(a){return new (a||pP)(n(oN),n(Ir),n(qP),n(bO))};pP.\u0275prov=Hc({token:pP,factory:pP.\u0275fac,providedIn:"root"});
var qP=function(a,b){this.activeSession=a;this.peopleApiProxy=b};qP.prototype.create=function(a,b){var c=new eO,d=c.getUserInfo();sl(d,6,a?5:1);a=c.getExperiments();a=pl(a,5,!0);a=pl(a,1,!0);a=pl(a,3,!0);pl(a,2,!0);c.setAuthErrorHandler(b);Sgc(c,nMa(this.peopleApiProxy,this.activeSession));return ulc("xapi",c)};qP.\u0275fac=function(a){return new (a||qP)(n(Ir),n(aO))};qP.\u0275prov=Hc({token:qP,factory:qP.\u0275fac,providedIn:"root"});var rP=function(a,b,c){Z.call(this);this.element=a;this.focusContacts=b;this.activeSession=c;this.autocompleteActive=new XF;this.additionalContactsCallback=function(){return[]};this.$element=this.element.nativeElement};X(rP,Z);
rP.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-"+nu());if(!this.activeSession.isAnonymous()){if(this.fieldType==="SINGLE")var b=function(){a.$element.value=ylc(zlc(a.$element.value));a.autocompleteActive.emit(!1);a.$element.dispatchEvent(new Event("change"));
a.$element.dispatchEvent(new Event("input"))};else if(this.fieldType==="MULTI")b=function(){for(var d="",e=[],f=a.$element,h=l(f.value.split(",")),k=h.next();!k.done;k=h.next())d+=k.value.trim(),d.match(/^[a-z0-9@\-\._\+]+$/i)?(e.push(ylc(d)),d=""):Wfc.test(d)?(e.push(d),d=""):d.match(/(".+" )?<.+>/)&&(d=ylc(zlc(d)),e.push(d),d="");f.value=e.join(", ")+", ";a.autocompleteActive.emit(!1);a.$element.dispatchEvent(new Event("change"));a.$element.dispatchEvent(new Event("input"))};else throw Error("$d`"+
this.fieldType);var c=this.additionalContactsCallback();c=Alc(c);this.subscriptions.add(this.focusContacts.attach(this.$element,b,c))}};
var Blc=function(a){(0,W.timer)(150).pipe(qf(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)})},Alc=function(a){return a.map(function(b){return{text:b.text,getEmail:function(){return b.text},toString:function(){return b.id},getPriority:function(){}}})},zlc=function(a){return a.substr(Math.max(0,a.lastIndexOf("<"))).trim().replace(/[<>]/g,"")},ylc=function(a){a=a.trim();
Na(a)===","&&(a=a.slice(0,-1));a=uo(a);var b=a.split("@");return b.length===2?b[0]+"@"+b[1].toLowerCase():a};rP.\u0275fac=function(a){return new (a||rP)(A(Rd),A(pP),A(Ir))};
rP.\u0275dir=fd({type:rP,selectors:[["","bContactAutocomplete",""]],hostBindings:function(a,b){a&1&&M("keydown",function(){return Blc(b)},!1,Ud)("mousedown",function(){return Blc(b)})},inputs:{fieldType:[0,"bContactAutocomplete","fieldType"],additionalContactsCallback:"additionalContactsCallback"},outputs:{autocompleteActive:"autocompleteActive"},features:[zf]});var sP=function(){};sP.\u0275fac=function(a){return new (a||sP)};sP.\u0275mod=dd({type:sP});sP.\u0275inj=Ic({imports:[BB]});var mma=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}},tP=function(a){Z.call(this);this.activeSession=a;this.isReadonly=!0;this.isSelected=!1;this.isWidgetDisabled=!0;this.nestedChips=this.detailedUserType=this.principalType=null;this.displayText=this.value="";this.accessLevel=void 0;this.chipSelection=new XF;this.chipClear=new XF;this.chipRemove=new XF};X(tP,Z);tP.\u0275dir=Z.\u0275dir;
g=tP.prototype;g.isPublicChip=function(){return this.principalType==="ALIAS"&&["public_non_google","public"].includes(this.value)};g.isNonGaiaChip=function(){return this.principalType==="NON_GAIA"};g.isContainerChip=function(){return this.nestedChips!==null};g.isUserChip=function(){return this.principalType==="USER"};g.isGroupChip=function(){return this.principalType==="GROUP"};g.isDomainChip=function(){return this.principalType==="ALIAS"&&["googlers_unrestricted","google_domain"].includes(this.value)};
g.isExternalChip=function(){return this.detailedUserType==="EXTERNAL"||this.detailedUserType==="PUBLIC"||this.isPublicChip()};g.isExternalPartnerAccessViolated=function(){return this.accessLevel==="EXTERNAL_PARTNER"&&this.isPublicChip()};g.isInternalAccessViolated=function(){return this.accessLevel==="INTERNAL"&&(this.isExternalChip()||this.isPublicChip())};
g.getTooltip=function(){if(this.principalType!=="ALIAS")return"";switch(this.value){case "googlers_unrestricted":return"Full time employees and other users with access to view most "+this.activeSession.getAppName()+" issues.";case "google_domain":return"All users associated with the google.com domain.";case "public_non_google":return"All users, excluding the google.com domain.";case "public":return"All users";default:throw Error("Id`"+this.value);}};
var Clc=function(a){if(a.isGroupChip())return"group";if(a.isDomainChip())return"acl-alias-domain";if(a.isPublicChip())return"public"};tP.\u0275fac=function(a){return new (a||tP)(A(Ir))};
tP.\u0275cmp=p({type:tP,selectors:[["b-contact-chip"]],inputs:{isReadonly:"isReadonly",isSelected:"isSelected",isWidgetDisabled:"isWidgetDisabled",principalType:"principalType",detailedUserType:"detailedUserType",nestedChips:"nestedChips",value:"value",displayText:"displayText",accessLevel:"accessLevel"},outputs:{chipSelection:"chipSelection",chipClear:"chipClear",chipRemove:"chipRemove"},features:[zf],decls:9,vars:15,consts:[[1,"bv2-user-chip-item",3,"focus","blur","ngClass","matTooltip"],[1,"alias-icon"],
[3,"svgIcon",4,"ngIf"],[1,"user-chip-name"],[3,"email",4,"ngIf"],[4,"ngIf"],["role","button","tabindex","0","class","user-chip-x keep-focus-ring",3,"matTooltip","click","keydown.enter",4,"ngIf"],["class","bv2-user-chip-nested-content-container",4,"ngIf"],[3,"svgIcon"],[3,"email"],["role","button","tabindex","0",1,"user-chip-x","keep-focus-ring",3,"click","keydown.enter","matTooltip"],["svgIcon","close"],[1,"bv2-user-chip-nested-content-container"],[1,"bv2-user-chip-nested-content"],[1,"jfk-bubble"],
["class","bv2-user-chip",4,"ngFor","ngForOf"],[1,"jfk-bubble-arrow","jfk-bubble-arrowup"],[1,"jfk-bubble-arrowimplbefore"],[1,"jfk-bubble-arrowimplafter"],[1,"bv2-user-chip"],[3,"value","detailedUserType","principalType","accessLevel","displayText"]],template:function(a,b){a&1&&(F(0,"span",0),M("focus",function(){return b.chipSelection.emit()})("blur",function(){return b.chipClear.emit()}),F(1,"span",1),C(2,cNa,1,1,"mat-icon",2),G(),F(3,"div",3),C(4,dNa,2,2,"b-person-hovercard",4)(5,eNa,2,2,"b-group-email-card",
4)(6,fNa,2,1,"div",5),G(),C(7,gNa,2,3,"div",6)(8,iNa,7,1,"div",7),G());a&2&&(D("ngClass",nma(b.isExternalChip(),b.isNonGaiaChip(),b.isInternalAccessViolated()||b.isExternalPartnerAccessViolated(),b.isContainerChip(),b.isSelected,b.isReadonly))("matTooltip",b.getTooltip()),z(2),D("ngIf",Clc(b)),z(2),D("ngIf",b.isUserChip()),z(),D("ngIf",b.isGroupChip()),z(),D("ngIf",!b.isUserChip()&&!b.isGroupChip()),z(),D("ngIf",!b.isReadonly&&!b.isWidgetDisabled),z(),D("ngIf",b.isContainerChip()))},dependencies:[Ev,
Fv,Gv,zB,LH,OH,oL,YN,tP],styles:["span.bv2-user-chip-item[_ngcontent-%COMP%]{background-color:#f8f9fa;background-color:var(--button-bg);border:1px solid;border-color:#dadce0;border-color:var(--divider);border-radius:3px;display:block;height:20px;white-space:nowrap}span.bv2-user-chip-item[_ngcontent-%COMP%]   .alias-icon[_ngcontent-%COMP%] > mat-icon[_ngcontent-%COMP%]{width:18px;height:20px;margin-left:3px;margin-right:-3px;opacity:.6}span.bv2-user-chip-item[_ngcontent-%COMP%]   .user-chip-name[_ngcontent-%COMP%]{display:inline-block;line-height:16px;margin:2px 5px;max-width:550px;overflow:hidden;text-overflow:ellipsis}span.bv2-user-chip-item[_ngcontent-%COMP%]   .user-chip-x[_ngcontent-%COMP%]{cursor:pointer;display:inline-block}span.bv2-user-chip-item[_ngcontent-%COMP%]   .user-chip-x[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{width:16px;height:20px;opacity:.6;margin-left:-3px;margin-right:2px}span.bv2-user-chip-item[_ngcontent-%COMP%]   .bv2-user-chip-nested-content-container[_ngcontent-%COMP%]{margin-top:10px;position:relative;white-space:normal}span.bv2-user-chip-item[_ngcontent-%COMP%]   .bv2-user-chip-nested-content-container[_ngcontent-%COMP%] > .bv2-user-chip-nested-content[_ngcontent-%COMP%]{position:absolute;width:600px}span.bv2-user-chip-item[_ngcontent-%COMP%]   .bv2-user-chip-nested-content-container[_ngcontent-%COMP%] > .bv2-user-chip-nested-content[_ngcontent-%COMP%] > .jfk-bubble[_ngcontent-%COMP%]{z-index:900 !important;padding:10px}span.bv2-user-chip-item[_ngcontent-%COMP%]   .bv2-user-chip-nested-content-container[_ngcontent-%COMP%] > .bv2-user-chip-nested-content[_ngcontent-%COMP%] > .jfk-bubble[_ngcontent-%COMP%] > .bv2-user-chip[_ngcontent-%COMP%] > span.bv2-user-chip-item[_ngcontent-%COMP%]:active{border-color:#3c4043;border-color:var(--gfx)}span.bv2-user-chip-item[_ngcontent-%COMP%]   .bv2-user-chip-nested-content-container[_ngcontent-%COMP%] > .bv2-user-chip-nested-content[_ngcontent-%COMP%] > .jfk-bubble[_ngcontent-%COMP%] > .jfk-bubble-arrow[_ngcontent-%COMP%] > .jfk-bubble-arrowimplbefore[_ngcontent-%COMP%]{left:-1px}span.bv2-user-chip-item[_ngcontent-%COMP%]   .bv2-user-chip-nested-content-container[_ngcontent-%COMP%] > .bv2-user-chip-nested-content[_ngcontent-%COMP%] > .jfk-bubble[_ngcontent-%COMP%] > .jfk-bubble-arrow[_ngcontent-%COMP%] > .jfk-bubble-arrowimplafter[_ngcontent-%COMP%]{left:0}span.bv2-user-chip-item.selected[_ngcontent-%COMP%]   .bv2-user-chip-nested-content[_ngcontent-%COMP%], span.bv2-user-chip-item[_ngcontent-%COMP%]:hover:not(.selected)   .bv2-user-chip-nested-content[_ngcontent-%COMP%], span.bv2-user-chip-item.selected[_ngcontent-%COMP%]:not(:hover)   .bv2-user-chip-nested-content[_ngcontent-%COMP%]{display:block}span.bv2-user-chip-item[_ngcontent-%COMP%]:not(.selected)   .bv2-user-chip-nested-content[_ngcontent-%COMP%], span.bv2-user-chip-item[_ngcontent-%COMP%]:not(:hover)   .bv2-user-chip-nested-content[_ngcontent-%COMP%]{display:none}span.bv2-user-chip-item[_ngcontent-%COMP%]:active, span.bv2-user-chip-item.selected[_ngcontent-%COMP%], span.bv2-user-chip-item.selected[_ngcontent-%COMP%]:hover, span.bv2-user-chip-item.selected[_ngcontent-%COMP%]:active, span.bv2-user-chip-item.readonly[_ngcontent-%COMP%]:active, span.bv2-user-chip-item.readonly.selected[_ngcontent-%COMP%], span.bv2-user-chip-item.readonly.selected[_ngcontent-%COMP%]:hover, span.bv2-user-chip-item.readonly.selected[_ngcontent-%COMP%]:active{border-color:#1a73e8;border-color:var(--primary)}span.bv2-user-chip-item.readonly[_ngcontent-%COMP%]{color:#5f6368;color:var(--text-muted)}span.bv2-user-chip-item.readonly[_ngcontent-%COMP%]   .user-chip-x[_ngcontent-%COMP%]{display:none}span.bv2-user-chip-item.bv2-user-chip-external[_ngcontent-%COMP%]{background-color:#fbe983;background-color:var(--public-bg)}span.bv2-user-chip-item.bv2-user-chip-non-gaia[_ngcontent-%COMP%]{border:1px dashed;border-color:#ea4335;border-color:var(--bad)}span.bv2-user-chip-item.bv2-user-chip-not-accessible[_ngcontent-%COMP%]{border:1px solid;border-color:#ea4335;border-color:var(--bad)}span.bv2-user-chip-item.bv2-user-chip-container[_ngcontent-%COMP%]{cursor:pointer}span.bv2-user-chip-item.bv2-user-chip-container[_ngcontent-%COMP%] > .user-chip-name[_ngcontent-%COMP%]{border-bottom:1px solid;border-bottom-color:#dadce0;border-bottom-color:var(--divider);border-style:dashed;height:14px}/*# sourceMappingURL=contact_chip.css.map */"]});var uP=function(){};uP.\u0275fac=function(a){return new (a||uP)};uP.\u0275mod=dd({type:uP});uP.\u0275inj=Ic({imports:[BB,My,aM,OL,ZN,GJ,sP,XN]});qma(ON,[Fv,Gv,mh,qy,yy,rP,WN,tP],[]);var vP=function(){};vP.\u0275fac=function(a){return new (a||vP)};vP.\u0275mod=dd({type:vP});vP.\u0275inj=Ic({imports:[BB,BN,uP,NL,aM]});var wP=function(){};wP.\u0275fac=function(a){return new (a||wP)};wP.\u0275mod=dd({type:wP});wP.\u0275inj=Ic({imports:[BB,ML,aM]});var xP=function(){};xP.\u0275fac=function(a){return new (a||xP)};xP.\u0275mod=dd({type:xP});xP.\u0275inj=Ic({providers:[{provide:e$b,useValue:VN}],imports:[BB,DN,ML,aM,kN,UM,KM,wP,vP]});var Dlc=new md("GMAT_LIST_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var yP=function(a){this.options=a};yP.\u0275fac=function(a){return new (a||yP)(A(Dlc))};yP.\u0275dir=fd({type:yP,selectors:[["mat-list"],["mat-action-list"],["mat-nav-list"],["mat-selection-list"]],hostVars:2,hostBindings:function(a,b){a&2&&Kf("gmat-mdc-list",!b.options.disableGmatStyle)}});var Elc=new md("ListOption");var Flc=function(a){this._elementRef=a};Flc.\u0275fac=function(a){return new (a||Flc)(A(Rd))};Flc.\u0275dir=fd({type:Flc,selectors:[["","matListItemTitle",""]],hostAttrs:[1,"mat-mdc-list-item-title","mdc-list-item__primary-text"],standalone:!0});var Glc=function(a){this._elementRef=a};Glc.\u0275fac=function(a){return new (a||Glc)(A(Rd))};Glc.\u0275dir=fd({type:Glc,selectors:[["","matListItemLine",""]],hostAttrs:[1,"mat-mdc-list-item-line","mdc-list-item__secondary-text"],standalone:!0});
var zP=function(a){this._listOption=a};zP.prototype._isAlignedAtStart=function(){var a;return!this._listOption||((a=this._listOption)==null?void 0:a._getTogglePosition())==="after"};zP.\u0275fac=function(a){return new (a||zP)(A(Elc,8))};zP.\u0275dir=fd({type:zP,hostVars:4,hostBindings:function(a,b){a&2&&Kf("mdc-list-item__start",b._isAlignedAtStart())("mdc-list-item__end",!b._isAlignedAtStart())},standalone:!0});var AP=function(){zP.apply(this,arguments)};X(AP,zP);
AP.\u0275fac=function(){var a;return function(b){return(a||(a=Od(AP)))(b||AP)}}();AP.\u0275dir=fd({type:AP,selectors:[["","matListItemAvatar",""]],hostAttrs:[1,"mat-mdc-list-item-avatar"],standalone:!0,features:[zf]});var BP=function(){zP.apply(this,arguments)};X(BP,zP);BP.\u0275fac=function(){var a;return function(b){return(a||(a=Od(BP)))(b||BP)}}();BP.\u0275dir=fd({type:BP,selectors:[["","matListItemIcon",""]],hostAttrs:[1,"mat-mdc-list-item-icon"],standalone:!0,features:[zf]});var Hlc=new md("MAT_LIST_CONFIG");var CP=function(){this._isNonInteractive=!0;this._disabled=this._disableRipple=!1;this._defaultOptions=Yc(Hlc,{optional:!0})};ea.Object.defineProperties(CP.prototype,{disableRipple:{configurable:!0,enumerable:!0,get:function(){return this._disableRipple},set:function(a){this._disableRipple=bh(a)}},disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled},set:function(a){this._disabled=bh(a)}}});CP.\u0275fac=function(a){return new (a||CP)};
CP.\u0275dir=fd({type:CP,hostVars:1,hostBindings:function(a,b){a&2&&Bf("aria-disabled",b.disabled)},inputs:{disableRipple:"disableRipple",disabled:"disabled"},standalone:!0});
var DP=function(a,b,c,d,e,f){this._elementRef=a;this._ngZone=b;this._listBase=c;this._platform=d;this._explicitLines=null;this._disabled=this._disableRipple=!1;this._subscriptions=new W.Subscription;this._rippleRenderer=null;this._hasUnscopedTextContent=!1;this.rippleConfig=e||{};this._hostElement=this._elementRef.nativeElement;this._isButtonElement=this._hostElement.nodeName.toLowerCase()==="button";this._noopAnimations=f==="NoopAnimations";c&&!c._isNonInteractive&&this._initInteractiveListItem();
this._isButtonElement&&!this._hostElement.hasAttribute("type")&&this._hostElement.setAttribute("type","button")};g=DP.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 kXb(this,this._ngZone,this._hostElement,this._platform);nXb(this._rippleRenderer,this._hostElement)};g._monitorProjectedLinesAndTitle=function(){var a=this;this._ngZone.runOutsideAngular(function(){a._subscriptions.add((0,W.merge)(a._lines.changes,a._titles.changes).subscribe(function(){return a._updateItemLines(!1)}))})};
g._updateItemLines=function(a){if(this._lines&&this._titles&&this._unscopedContent){a&&this._checkDomForUnscopedTextContent();var b;a=(b=this._explicitLines)!=null?b:this._inferLinesFromContent();b=this._unscopedContent.nativeElement;this._hostElement.classList.toggle("mat-mdc-list-item-single-line",a<=1);this._hostElement.classList.toggle("mdc-list-item--with-one-line",a<=1);this._hostElement.classList.toggle("mdc-list-item--with-two-lines",a===2);this._hostElement.classList.toggle("mdc-list-item--with-three-lines",
a===3);this._hasUnscopedTextContent?(a=this._titles.length===0&&a===1,b.classList.toggle("mdc-list-item__primary-text",a),b.classList.toggle("mdc-list-item__secondary-text",!a)):(b.classList.remove("mdc-list-item__primary-text"),b.classList.remove("mdc-list-item__secondary-text"))}};g._inferLinesFromContent=function(){var a=this._titles.length+this._lines.length;this._hasUnscopedTextContent&&(a+=1);return a};
g._checkDomForUnscopedTextContent=function(){this._hasUnscopedTextContent=Array.from(this._unscopedContent.nativeElement.childNodes).filter(function(a){return a.nodeType!==a.COMMENT_NODE}).some(function(a){return!(!a.textContent||!a.textContent.trim())})};
ea.Object.defineProperties(DP.prototype,{lines:{configurable:!0,enumerable:!0,set:function(a){this._explicitLines=eh(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=bh(a)}},disabled:{configurable:!0,enumerable:!0,get:function(){var a;return this._disabled||!((a=this._listBase)==null||!a.disabled)},
set:function(a){this._disabled=bh(a)}},rippleDisabled:{configurable:!0,enumerable:!0,get:function(){return this.disableRipple||!!this.rippleConfig.disabled}}});DP.\u0275fac=function(a){return new (a||DP)(A(Rd),A(ze),A(CP,8),A($v),A(Hx,8),A(vu,8))};
DP.\u0275dir=fd({type:DP,contentQueries:function(a,b,c){a&1&&(gg(c,AP,4),gg(c,BP,4));if(a&2){var d;jg(d=kg())&&(b._avatars=d);jg(d=kg())&&(b._icons=d)}},hostVars:4,hostBindings:function(a,b){a&2&&(Bf("aria-disabled",b.disabled)("disabled",b._isButtonElement&&b.disabled||null),Kf("mdc-list-item--disabled",b.disabled))},inputs:{lines:"lines",disableRipple:"disableRipple",disabled:"disabled"},standalone:!0});var Ilc=["unscopedContent"],Jlc=[[["","matListItemTitle",""]],[["","matListItemLine",""]],"*",[["mat-divider"]],[["","matListItemAvatar",""],["","matListItemIcon",""]]],Klc=new md("SelectionList"),EP=function(a,b,c,d,e,f,h){DP.call(this,a,b,c,d,f,h);this._selectionList=c;this._changeDetectorRef=e;this.selectedChange=new Xu;this.togglePosition="after";this._inputsInitialized=this._selected=!1};X(EP,DP);EP.\u0275dir=DP.\u0275dir;g=EP.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;DP.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+"")};
ea.Object.defineProperties(EP.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=bh(a);a!==this._selected&&(this._setSelected(a),(a||this._selectionList.multiple)&&this._selectionList._reportValueChange())}}});EP.\u0275fac=function(a){return new (a||EP)(A(Rd),A(ze),A(Klc),A($v),A(Ig),A(Hx,8),A(vu,8))};
EP.\u0275cmp=p({type:EP,selectors:[["mat-list-option"]],contentQueries:function(a,b,c){a&1&&(gg(c,Glc,5),gg(c,Flc,5));if(a&2){var d;jg(d=kg())&&(b._lines=d);jg(d=kg())&&(b._titles=d)}},viewQuery:function(a,b){a&1&&fg(Ilc,5);if(a&2){var c;jg(c=kg())&&(b._unscopedContent=c.first)}},hostAttrs:["role","option",1,"mat-mdc-list-item","mat-mdc-list-option","mdc-list-item"],hostVars:25,hostBindings:function(a,b){a&1&&M("blur",function(){return b._handleBlur()})("click",function(){return b._toggleOnInteraction()});
a&2&&(Bf("aria-selected",b.selected),Kf("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-accent",b.color!=="primary"&&b.color!=="warn")("mat-warn",b.color==="warn")("_mat-animation-noopable",b._noopAnimations))},inputs:{togglePosition:"togglePosition",checkboxPosition:"checkboxPosition",color:"color",value:"value",selected:"selected"},outputs:{selectedChange:"selectedChange"},exportAs:["matListOption"],standalone:!0,features:[qg([{provide:DP,
useExisting:EP},{provide:Elc,useExisting:EP}]),zf,sg],ngContentSelectors:["[matListItemTitle]","[matListItemLine]","*","mat-divider","[matListItemAvatar],[matListItemIcon]"],decls:20,vars:4,consts:[["icons",""],["checkbox",""],["radio",""],["unscopedContent",""],[1,"mdc-list-item__start","mat-mdc-list-option-checkbox-before"],[1,"mdc-list-item__start","mat-mdc-list-option-radio-before"],[3,"ngTemplateOutlet"],[1,"mdc-list-item__content"],[1,"mat-mdc-list-item-unscoped-content",3,"cdkObserveContent"],
[1,"mdc-list-item__end"],[1,"mat-mdc-focus-indicator"],[1,"mdc-checkbox"],["type","checkbox",1,"mdc-checkbox__native-control",3,"checked","disabled"],[1,"mdc-checkbox__background"],["viewBox","0 0 24 24","aria-hidden","true",1,"mdc-checkbox__checkmark"],["fill","none","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-checkbox__checkmark-path"],[1,"mdc-checkbox__mixedmark"],[1,"mdc-radio"],["type","radio",1,"mdc-radio__native-control",3,"checked","disabled"],[1,"mdc-radio__background"],[1,"mdc-radio__outer-circle"],
[1,"mdc-radio__inner-circle"]],template:function(a,b){if(a&1){var c=u();Xf(Jlc);C(0,jNa,1,0,"ng-template",null,0,yg)(2,kNa,6,4,"ng-template",null,1,yg)(4,lNa,5,4,"ng-template",null,2,yg)(6,nNa,2,1,"span",4)(7,pNa,2,1,"span",5)(8,rNa,1,1,null,6);F(9,"span",7);Yf(10);Yf(11,1);F(12,"span",8,3);M("cdkObserveContent",function(){v(c);return x(b._updateItemLines(!0))});Yf(14,2);G()();C(15,tNa,2,1,"span",9)(16,vNa,2,1,"span",9)(17,xNa,1,1,null,6);Yf(18,3);H(19,"div",10)}a&2&&(z(6),Of(b._hasCheckboxAt("before")?
6:b._hasRadioAt("before")?7:-1),z(2),Of(b._hasIconsOrAvatarsAt("before")?8:-1),z(7),Of(b._hasCheckboxAt("after")?15:b._hasRadioAt("after")?16:-1),z(2),Of(b._hasIconsOrAvatarsAt("after")?17:-1))},dependencies:[Kv,tw],styles:['.mat-mdc-list-option-with-trailing-avatar.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mat-mdc-list-option-with-trailing-avatar.mdc-list-item,.mat-mdc-list-option-with-trailing-avatar.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mat-mdc-list-option-with-trailing-avatar .mdc-list-item__end{margin-left:16px;margin-right:16px}[dir=rtl] .mat-mdc-list-option-with-trailing-avatar .mdc-list-item__end,.mat-mdc-list-option-with-trailing-avatar .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:16px}.mat-mdc-list-option-with-trailing-avatar .mdc-list-item__end{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-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}.mat-mdc-list-option .mdc-radio[hidden]{display:none}.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:""}.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%}.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%}.mat-mdc-list-option .mdc-radio__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit;z-index:1}.mat-mdc-list-option .mdc-radio--touch{margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mat-mdc-list-option .mdc-radio--touch .mdc-radio__native-control{top:calc((40px - 48px) / 2);right:calc((40px - 48px) / 2);left:calc((40px - 48px) / 2);width:48px;height:48px}.mat-mdc-list-option .mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring,.mat-mdc-list-option .mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%}@media screen and (forced-colors: active){.mat-mdc-list-option .mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring,.mat-mdc-list-option .mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring{border-color:CanvasText}}.mat-mdc-list-option .mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring::after,.mat-mdc-list-option .mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mat-mdc-list-option .mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring::after,.mat-mdc-list-option .mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring::after{border-color:CanvasText}}.mat-mdc-list-option .mdc-radio--disabled{cursor:default;pointer-events:none}.mat-mdc-list-option .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle{transform:scale(0.5)}.mat-mdc-list-option .mdc-radio__native-control:disabled+.mdc-radio__background,.mat-mdc-list-option [aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background{cursor:default}.mat-mdc-list-option .mdc-radio__native-control:focus+.mdc-radio__background::before{transform:scale(1);opacity:.12}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__background::before{transition:opacity 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__outer-circle{transition:border-color 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__inner-circle{transition:transform 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1),border-color 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__native-control:checked+.mdc-radio__background,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__native-control:disabled+.mdc-radio__background{transition:opacity 120ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__outer-circle{transition:border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{transition:transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1),border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle{transition:transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1),border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__native-control:focus+.mdc-radio__background::before{transition:opacity 120ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-list-option .mdc-checkbox{display:inline-block;position:relative;flex:0 0 18px;box-sizing:content-box;width:18px;height:18px;line-height:0;white-space:nowrap;cursor:pointer;vertical-align:bottom;padding:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px)/2);margin:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px))/2)}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit;width:var(--mdc-checkbox-state-layer-size, 40px);height:var(--mdc-checkbox-state-layer-size, 40px);top:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px))/2);right:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px))/2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px))/2)}.mat-mdc-list-option .mdc-checkbox--disabled{cursor:default;pointer-events:none}.mat-mdc-list-option .mdc-checkbox__background{display:inline-flex;position:absolute;align-items:center;justify-content:center;box-sizing:border-box;width:18px;height:18px;border:2px solid currentColor;border-radius:2px;background-color:rgba(0,0,0,0);pointer-events:none;will-change:background-color,border-color;transition:background-color 90ms cubic-bezier(0.4, 0, 0.6, 1),border-color 90ms cubic-bezier(0.4, 0, 0.6, 1);border-color:var(--mdc-checkbox-unselected-icon-color);top:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px)/2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px)/2)}.mat-mdc-list-option .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-icon-color);background-color:var(--mdc-checkbox-selected-icon-color)}.mat-mdc-list-option .mdc-checkbox--disabled .mdc-checkbox__background{border-color:var(--mdc-checkbox-disabled-unselected-icon-color)}.mat-mdc-list-option .mdc-checkbox__native-control:disabled:checked~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox__native-control:disabled:indeterminate~.mdc-checkbox__background{background-color:var(--mdc-checkbox-disabled-selected-icon-color);border-color:rgba(0,0,0,0)}.mat-mdc-list-option .mdc-checkbox:hover .mdc-checkbox__native-control:not(:checked)~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:hover .mdc-checkbox__native-control:not(:indeterminate)~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-hover-icon-color);background-color:rgba(0,0,0,0)}.mat-mdc-list-option .mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:hover .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-hover-icon-color);background-color:var(--mdc-checkbox-selected-hover-icon-color)}.mat-mdc-list-option .mdc-checkbox__native-control:focus:focus:not(:checked)~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox__native-control:focus:focus:not(:indeterminate)~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-focus-icon-color)}.mat-mdc-list-option .mdc-checkbox__native-control:focus:focus:checked~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox__native-control:focus:focus:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-focus-icon-color);background-color:var(--mdc-checkbox-selected-focus-icon-color)}.mat-mdc-list-option .mdc-checkbox__checkmark{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;opacity:0;transition:opacity 180ms cubic-bezier(0.4, 0, 0.6, 1);color:var(--mdc-checkbox-selected-checkmark-color)}.mat-mdc-list-option .mdc-checkbox--disabled .mdc-checkbox__checkmark{color:var(--mdc-checkbox-disabled-selected-checkmark-color)}.mat-mdc-list-option .mdc-checkbox__checkmark-path{transition:stroke-dashoffset 180ms cubic-bezier(0.4, 0, 0.6, 1);stroke:currentColor;stroke-width:3.12px;stroke-dashoffset:29.7833385;stroke-dasharray:29.7833385}.mat-mdc-list-option .mdc-checkbox__mixedmark{width:100%;height:0;transform:scaleX(0) rotate(0deg);border-width:1px;border-style:solid;opacity:0;transition:opacity 90ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms cubic-bezier(0.4, 0, 0.6, 1);border-color:var(--mdc-checkbox-selected-checkmark-color)}.cdk-high-contrast-active .mat-mdc-list-option .mdc-checkbox__mixedmark{margin:0 1px}.mat-mdc-list-option .mdc-checkbox--disabled .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-disabled-selected-checkmark-color)}.mat-mdc-list-option .mdc-checkbox--anim-unchecked-checked .mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox--anim-checked-unchecked .mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__background{animation-duration:180ms;animation-timing-function:linear}.mat-mdc-list-option .mdc-checkbox--anim-unchecked-checked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-unchecked-checked-checkmark-path 180ms linear;transition:none}.mat-mdc-list-option .mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear;transition:none}.mat-mdc-list-option .mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-checked-unchecked-checkmark-path 90ms linear;transition:none}.mat-mdc-list-option .mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark{animation:mdc-checkbox-checked-indeterminate-checkmark 90ms linear;transition:none}.mat-mdc-list-option .mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-checked-indeterminate-mixedmark 90ms linear;transition:none}.mat-mdc-list-option .mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark{animation:mdc-checkbox-indeterminate-checked-checkmark 500ms linear;transition:none}.mat-mdc-list-option .mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-checked-mixedmark 500ms linear;transition:none}.mat-mdc-list-option .mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear;transition:none}.mat-mdc-list-option .mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{transition:border-color 90ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-list-option .mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mat-mdc-list-option .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark-path{stroke-dashoffset:0}.mat-mdc-list-option .mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark{transition:opacity 180ms cubic-bezier(0, 0, 0.2, 1),transform 180ms cubic-bezier(0, 0, 0.2, 1);opacity:1}.mat-mdc-list-option .mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(-45deg)}.mat-mdc-list-option .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark{transform:rotate(45deg);opacity:0;transition:opacity 90ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-list-option .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(0deg);opacity:1}@keyframes mdc-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:29.7833385}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 1)}100%{stroke-dashoffset:0}}@keyframes mdc-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mdc-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);opacity:1;stroke-dashoffset:0}to{opacity:0;stroke-dashoffset:-29.7833385}}@keyframes mdc-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(45deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(45deg);opacity:0}to{transform:rotate(360deg);opacity:1}}@keyframes mdc-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(-45deg);opacity:0}to{transform:rotate(0deg);opacity:1}}@keyframes mdc-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(315deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;transform:scaleX(1);opacity:1}32.8%,100%{transform:scaleX(0);opacity:0}}.mat-mdc-list-option._mat-animation-noopable .mdc-checkbox *,.mat-mdc-list-option._mat-animation-noopable .mdc-checkbox *::before{transition:none !important;animation:none !important}.mat-mdc-list-option .mdc-radio{padding:calc((40px - 20px) / 2);padding:calc((var(--mdc-radio-state-layer-size, 40px) - 20px) / 2)}.mat-mdc-list-option .mdc-radio [aria-disabled=true] .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-list-option .mdc-radio .mdc-radio__native-control:disabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:black;border-color:var(--mdc-radio-disabled-selected-icon-color, black)}.mat-mdc-list-option .mdc-radio [aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-list-option .mdc-radio .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:black;border-color:var(--mdc-radio-disabled-selected-icon-color, black)}.mat-mdc-list-option .mdc-radio [aria-disabled=true] .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-list-option .mdc-radio .mdc-radio__native-control:disabled:checked+.mdc-radio__background .mdc-radio__outer-circle{opacity:0.38;opacity:var(--mdc-radio-disabled-selected-icon-opacity, 0.38)}.mat-mdc-list-option .mdc-radio [aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-list-option .mdc-radio .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{opacity:0.38;opacity:var(--mdc-radio-disabled-selected-icon-opacity, 0.38)}.mat-mdc-list-option .mdc-radio [aria-disabled=true] .mdc-radio__native-control:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-list-option .mdc-radio .mdc-radio__native-control:disabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:black;border-color:var(--mdc-radio-disabled-unselected-icon-color, black)}.mat-mdc-list-option .mdc-radio [aria-disabled=true] .mdc-radio__native-control:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-list-option .mdc-radio .mdc-radio__native-control:disabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{opacity:0.38;opacity:var(--mdc-radio-disabled-unselected-icon-opacity, 0.38)}.mat-mdc-list-option .mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-list-option .mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:#f44336;border-color:var(--mdc-radio-selected-focus-icon-color, #f44336)}.mat-mdc-list-option .mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-list-option .mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:#f44336;border-color:var(--mdc-radio-selected-focus-icon-color, #f44336)}.mat-mdc-list-option .mdc-radio:hover .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:#f44336;border-color:var(--mdc-radio-selected-hover-icon-color, #f44336)}.mat-mdc-list-option .mdc-radio:hover .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:#f44336;border-color:var(--mdc-radio-selected-hover-icon-color, #f44336)}.mat-mdc-list-option .mdc-radio .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:#f44336;border-color:var(--mdc-radio-selected-icon-color, #f44336)}.mat-mdc-list-option .mdc-radio .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:#f44336;border-color:var(--mdc-radio-selected-icon-color, #f44336)}.mat-mdc-list-option .mdc-radio:not(:disabled):active .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:#f44336;border-color:var(--mdc-radio-selected-pressed-icon-color, #f44336)}.mat-mdc-list-option .mdc-radio:not(:disabled):active .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:#f44336;border-color:var(--mdc-radio-selected-pressed-icon-color, #f44336)}.mat-mdc-list-option .mdc-radio:hover .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:#212121;border-color:var(--mdc-radio-unselected-hover-icon-color, #212121)}.mat-mdc-list-option .mdc-radio .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:rgba(0, 0, 0, 0.54);border-color:var(--mdc-radio-unselected-icon-color, rgba(0, 0, 0, 0.54))}.mat-mdc-list-option .mdc-radio:not(:disabled):active .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:rgba(0, 0, 0, 0.54);border-color:var(--mdc-radio-unselected-pressed-icon-color, rgba(0, 0, 0, 0.54))}.mat-mdc-list-option .mdc-radio .mdc-radio__background::before{top:calc(-1 * (40px - 20px) / 2);top:calc(-1 * (var(--mdc-radio-state-layer-size, 40px) - 20px) / 2);left:calc(-1 * (40px - 20px) / 2);left:calc(-1 * (var(--mdc-radio-state-layer-size, 40px) - 20px) / 2);width:40px;width:var(--mdc-radio-state-layer-size, 40px);height:40px;height:var(--mdc-radio-state-layer-size, 40px)}.mat-mdc-list-option .mdc-radio .mdc-radio__native-control{top:calc((40px - 40px) / 2);top:calc((var(--mdc-radio-state-layer-size, 40px) - var(--mdc-radio-state-layer-size, 40px)) / 2);right:calc((40px - 40px) / 2);right:calc((var(--mdc-radio-state-layer-size, 40px) - var(--mdc-radio-state-layer-size, 40px)) / 2);left:calc((40px - 40px) / 2);left:calc((var(--mdc-radio-state-layer-size, 40px) - var(--mdc-radio-state-layer-size, 40px)) / 2);width:40px;width:var(--mdc-radio-state-layer-size, 40px);height:40px;height:var(--mdc-radio-state-layer-size, 40px)}.mat-mdc-list-option .mdc-checkbox__native-control,.mat-mdc-list-option .mdc-radio__native-control{display:none}.cdk-high-contrast-active .mat-mdc-list-option.mdc-list-item--selected::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active .mat-mdc-list-option.mdc-list-item--selected [dir=rtl]::after{right:auto;left:16px}\n'],
encapsulation:2,changeDetection:0});var Llc={provide:jy,useExisting:Uc(function(){return FP}),multi:!0},Mlc=function(a,b){this.source=a;this.options=b},FP=function(a,b){CP.call(this);var c=this;this._element=a;this._ngZone=b;this._initialized=!1;this._destroyed=new W.Subject;this._onChange=function(){};this.selectionChange=new Xu;this.color="accent";this.compareWith=function(f,h){return f===h};this._multiple=!0;var d,e;this._hideSingleSelectionIndicator=(e=(d=this._defaultOptions)==null?void 0:d.hideSingleSelectionIndicator)!=null?
e:!1;this.selectedOptions=new gx(this._multiple);this._onTouched=function(){};this._selectionListDisabled=!1;this._handleFocusout=function(){setTimeout(function(){c._containsFocus()||c._resetActiveOption()})};this._handleFocusin=function(f){if(!c.disabled){var h=c._items.toArray().findIndex(function(k){return k._elementRef.nativeElement.contains(f.target)});h>-1?c._setActiveOption(h):c._resetActiveOption()}};this._isNonInteractive=!1};X(FP,CP);FP.\u0275dir=CP.\u0275dir;g=FP.prototype;
g.ngAfterViewInit=function(){var a=this;this._initialized=!0;this._setupRovingTabindex();this._ngZone.runOutsideAngular(function(){a._element.nativeElement.addEventListener("focusin",a._handleFocusin);a._element.nativeElement.addEventListener("focusout",a._handleFocusout)});this._value&&this._setOptionsFromValues(this._value);this._watchForSelectionChange()};
g.ngOnChanges=function(a){var b=a.disabled,c=a.disableRipple;a=a.hideSingleSelectionIndicator;(c&&!c.firstChange||b&&!b.firstChange||a&&!a.firstChange)&&this._markOptionsForCheck()};g.ngOnDestroy=function(){var a;(a=this._keyManager)==null||a.destroy();this._element.nativeElement.removeEventListener("focusin",this._handleFocusin);this._element.nativeElement.removeEventListener("focusout",this._handleFocusout);this._destroyed.next();this._destroyed.complete();this._isDestroyed=!0};g.focus=function(a){this._element.nativeElement.focus(a)};
g.selectAll=function(){this._setAllOptionsSelected(!0)};g.deselectAll=function(){return this._setAllOptionsSelected(!1)};g._reportValueChange=function(){if(this.options&&!this._isDestroyed){var a=this._getSelectedOptionValues();this._onChange(a);this._value=a}};g._emitChangeEvent=function(a){this.selectionChange.emit(new Mlc(this,a))};g.writeValue=function(a){this._value=a;this.options&&this._setOptionsFromValues(a||[])};g.setDisabledState=function(a){this.disabled=a};
g.registerOnChange=function(a){this._onChange=a};g.registerOnTouched=function(a){this._onTouched=a};g._watchForSelectionChange=function(){var a=this;this.selectedOptions.changed.pipe(qf(this._destroyed)).subscribe(function(b){for(var c=l(b.added),d=c.next();!d.done;d=c.next())d.value.selected=!0;b=l(b.removed);for(c=b.next();!c.done;c=b.next())c.value.selected=!1;a._containsFocus()||a._resetActiveOption()})};
g._setOptionsFromValues=function(a){var b=this;this.options.forEach(function(c){return c._setSelected(!1)});a.forEach(function(c){var d=b.options.find(function(e){return e.selected?!1:b.compareWith(e.value,c)});d&&d._setSelected(!0)})};g._getSelectedOptionValues=function(){return this.options.filter(function(a){return a.selected}).map(function(a){return a.value})};g._markOptionsForCheck=function(){this.options&&this.options.forEach(function(a){return a._markForCheck()})};
g._setAllOptionsSelected=function(a,b){var c=[];this.options.forEach(function(d){b&&d.disabled||!d._setSelected(a)||c.push(d)});c.length&&this._reportValueChange();return c};
g._handleKeydown=function(a){var b=this._keyManager.activeItem;if(a.keyCode!==13&&a.keyCode!==32||this._keyManager._pressedLetters.length>0||!b||b.disabled)if(a.keyCode!==65||!this.multiple||this._keyManager._pressedLetters.length>0||!$g(a,"ctrlKey"))this._keyManager.onKeydown(a);else b=this.options.some(function(c){return!c.disabled&&!c.selected}),a.preventDefault(),this._emitChangeEvent(this._setAllOptionsSelected(b,!0));else a.preventDefault(),b._toggleOnInteraction()};
g._setupRovingTabindex=function(){var a=this;this._keyManager=Ew(Fw(wWb(Iw(new Lw(this._items)))),function(){return a.disabled});this._resetActiveOption();this._keyManager.change.subscribe(function(b){return a._setActiveOption(b)});this._items.changes.pipe(qf(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)});Jw(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=Yg();return a&&this._element.nativeElement.contains(a)};
ea.Object.defineProperties(FP.prototype,{multiple:{configurable:!0,enumerable:!0,get:function(){return this._multiple},set:function(a){a=bh(a);a!==this._multiple&&(this._multiple=a,this.selectedOptions=new gx(this._multiple,this.selectedOptions.selected))}},hideSingleSelectionIndicator:{configurable:!0,enumerable:!0,get:function(){return this._hideSingleSelectionIndicator},set:function(a){this._hideSingleSelectionIndicator=bh(a)}},disabled:{configurable:!0,enumerable:!0,get:function(){return this._selectionListDisabled},
set:function(a){if(this._selectionListDisabled=bh(a)){var b;(b=this._keyManager)==null||b.setActiveItem(-1)}}},options:{configurable:!0,enumerable:!0,get:function(){return this._items}}});FP.\u0275fac=function(a){return new (a||FP)(A(Rd),A(ze))};
FP.\u0275cmp=p({type:FP,selectors:[["mat-selection-list"]],contentQueries:function(a,b,c){a&1&&gg(c,EP,5);if(a&2){var d;jg(d=kg())&&(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&&Bf("aria-multiselectable",b.multiple)},inputs:{color:"color",compareWith:"compareWith",multiple:"multiple",hideSingleSelectionIndicator:"hideSingleSelectionIndicator",
disabled:"disabled"},outputs:{selectionChange:"selectionChange"},exportAs:["matSelectionList"],standalone:!0,features:[qg([Llc,{provide:CP,useExisting:FP},{provide:Klc,useExisting:FP}]),zf,td,sg],ngContentSelectors:["*"],decls:1,vars:0,template:function(a){a&1&&(Xf(),Yf(0))},styles:['@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-list-divider::after{content:"";display:block;border-bottom-width:1px;border-bottom-style:solid}}.mdc-list{margin:0;padding:8px 0;list-style-type:none}.mdc-list:focus{outline:none}.mdc-list-item__wrapper{display:block}.mdc-list-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;align-items:stretch;cursor:pointer}.mdc-list-item:focus{outline:none}.mdc-list-item.mdc-list-item--with-one-line{height:48px}.mdc-list-item.mdc-list-item--with-two-lines{height:64px}.mdc-list-item.mdc-list-item--with-three-lines{height:88px}.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-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.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-one-line .mdc-list-item__end{align-self:center;margin-top:0}.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 .mdc-list-item__end{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--disabled,.mdc-list-item.mdc-list-item--non-interactive{cursor:auto}.mdc-list-item:not(.mdc-list-item--selected):focus::before,.mdc-list-item.mdc-ripple-upgraded--background-focused::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 screen and (forced-colors: active){.mdc-list-item:not(.mdc-list-item--selected):focus::before,.mdc-list-item.mdc-ripple-upgraded--background-focused::before{border-color:CanvasText}}.mdc-list-item.mdc-list-item--selected::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:3px double rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-list-item.mdc-list-item--selected::before{border-color:CanvasText}}.mdc-list-item.mdc-list-item--selected:focus::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:3px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-list-item.mdc-list-item--selected:focus::before{border-color:CanvasText}}a.mdc-list-item{color:inherit;text-decoration:none}.mdc-list-item__start{fill:currentColor;flex-shrink:0;pointer-events:none}.mdc-list-item__end{flex-shrink:0;pointer-events:none}.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__content[for]{pointer-events:none}.mdc-list-item__primary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.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;line-height:normal}.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__overline-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:24px;content:"";vertical-align:0}.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-three-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-three-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-three-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-avatar.mdc-list-item,.mdc-list-item--with-leading-avatar.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-avatar .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-avatar .mdc-list-item__start,.mdc-list-item--with-leading-avatar .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.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-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-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-avatar.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.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-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-leading-avatar.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-avatar .mdc-list-item__start{border-radius:50%}.mdc-list-item--with-leading-icon.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-icon.mdc-list-item,.mdc-list-item--with-leading-icon.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-icon .mdc-list-item__start{margin-left:16px;margin-right:32px}[dir=rtl] .mdc-list-item--with-leading-icon .mdc-list-item__start,.mdc-list-item--with-leading-icon .mdc-list-item__start[dir=rtl]{margin-left:32px;margin-right:16px}.mdc-list-item--with-leading-icon.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-icon.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-icon.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-icon.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-icon.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-icon.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-leading-icon.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-thumbnail.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-thumbnail.mdc-list-item,.mdc-list-item--with-leading-thumbnail.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-thumbnail .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-thumbnail .mdc-list-item__start,.mdc-list-item--with-leading-thumbnail .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-thumbnail.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-thumbnail.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-thumbnail.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-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-thumbnail.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-thumbnail.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-leading-thumbnail.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-image.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-image.mdc-list-item,.mdc-list-item--with-leading-image.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-image .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-image .mdc-list-item__start,.mdc-list-item--with-leading-image .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-image.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-image.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-image.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-image.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-image.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-image.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-leading-image.mdc-list-item--with-one-line{height:72px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-leading-video.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-video.mdc-list-item,.mdc-list-item--with-leading-video.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-video .mdc-list-item__start{margin-left:0;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-video .mdc-list-item__start,.mdc-list-item--with-leading-video .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:0}.mdc-list-item--with-leading-video.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-video.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-video.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-video.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-video.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-video.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-leading-video.mdc-list-item--with-one-line{height:72px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-checkbox.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-checkbox.mdc-list-item,.mdc-list-item--with-leading-checkbox.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-checkbox .mdc-list-item__start{margin-left:8px;margin-right:24px}[dir=rtl] .mdc-list-item--with-leading-checkbox .mdc-list-item__start,.mdc-list-item--with-leading-checkbox .mdc-list-item__start[dir=rtl]{margin-left:24px;margin-right:8px}.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-leading-checkbox.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-checkbox.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-checkbox.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-checkbox.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-checkbox.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-checkbox.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-leading-checkbox.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-radio.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-radio.mdc-list-item,.mdc-list-item--with-leading-radio.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-radio .mdc-list-item__start{margin-left:8px;margin-right:24px}[dir=rtl] .mdc-list-item--with-leading-radio .mdc-list-item__start,.mdc-list-item--with-leading-radio .mdc-list-item__start[dir=rtl]{margin-left:24px;margin-right:8px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-leading-radio.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{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{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__overline-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__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__overline-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{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{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-switch.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-switch.mdc-list-item,.mdc-list-item--with-leading-switch.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-switch .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-switch .mdc-list-item__start,.mdc-list-item--with-leading-switch .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item--with-leading-switch.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-switch.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-switch.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-switch.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-switch.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-switch.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-leading-switch.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-trailing-icon.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-icon.mdc-list-item,.mdc-list-item--with-trailing-icon.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-icon .mdc-list-item__end{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-icon .mdc-list-item__end,.mdc-list-item--with-trailing-icon .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end{align-self:flex-start;margin-top:0}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:0}.mdc-list-item--with-trailing-meta.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-meta.mdc-list-item,.mdc-list-item--with-trailing-meta.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-meta .mdc-list-item__end{margin-left:28px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-meta .mdc-list-item__end,.mdc-list-item--with-trailing-meta .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:28px}.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.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-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-trailing-meta .mdc-list-item__end{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-caption-font-family);font-size:var(--mdc-typography-caption-font-size);line-height:var(--mdc-typography-caption-line-height);font-weight:var(--mdc-typography-caption-font-weight);letter-spacing:var(--mdc-typography-caption-letter-spacing);text-decoration:var(--mdc-typography-caption-text-decoration);text-transform:var(--mdc-typography-caption-text-transform)}.mdc-list-item--with-trailing-checkbox.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-checkbox.mdc-list-item,.mdc-list-item--with-trailing-checkbox.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-checkbox .mdc-list-item__end{margin-left:24px;margin-right:8px}[dir=rtl] .mdc-list-item--with-trailing-checkbox .mdc-list-item__end,.mdc-list-item--with-trailing-checkbox .mdc-list-item__end[dir=rtl]{margin-left:8px;margin-right:24px}.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-item--with-trailing-radio.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-radio.mdc-list-item,.mdc-list-item--with-trailing-radio.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-radio .mdc-list-item__end{margin-left:24px;margin-right:8px}[dir=rtl] .mdc-list-item--with-trailing-radio .mdc-list-item__end,.mdc-list-item--with-trailing-radio .mdc-list-item__end[dir=rtl]{margin-left:8px;margin-right:24px}.mdc-list-item--with-trailing-radio.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:8px}.mdc-list-item--with-trailing-switch.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-switch.mdc-list-item,.mdc-list-item--with-trailing-switch.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-switch .mdc-list-item__end{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-switch .mdc-list-item__end,.mdc-list-item--with-trailing-switch .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-trailing-switch.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:16px}.mdc-list-item--with-overline.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-overline.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:20px;content:"";vertical-align:0}.mdc-list-item--with-overline.mdc-list-item--with-three-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-overline.mdc-list-item--with-three-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:20px;content:"";vertical-align:0}.mdc-list-item{padding-left:16px;padding-right:16px}[dir=rtl] .mdc-list-item,.mdc-list-item[dir=rtl]{padding-left:16px;padding-right:16px}.mdc-list-group .mdc-deprecated-list{padding:0}.mdc-list-group__subheader{margin:calc((3rem - 1.5rem)/2) 16px}.mdc-list-divider{padding:0;background-clip:content-box}.mdc-list-divider.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-text.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-icon.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-image.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-switch.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-radio.mdc-list-divider--with-leading-inset{padding-left:16px;padding-right:auto}[dir=rtl] .mdc-list-divider.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-text.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-icon.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-image.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-avatar.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-switch.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-radio.mdc-list-divider--with-leading-inset,.mdc-list-divider.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-text.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-icon.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-image.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-switch.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-radio.mdc-list-divider--with-leading-inset[dir=rtl]{padding-left:auto;padding-right:16px}.mdc-list-divider.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-text.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-icon.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-image.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-switch.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-radio.mdc-list-divider--with-trailing-inset{padding-left:auto;padding-right:16px}[dir=rtl] .mdc-list-divider.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-text.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-icon.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-image.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-avatar.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-switch.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-radio.mdc-list-divider--with-trailing-inset,.mdc-list-divider.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-text.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-icon.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-image.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-switch.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-radio.mdc-list-divider--with-trailing-inset[dir=rtl]{padding-left:16px;padding-right:auto}.mdc-list-divider--with-leading-video.mdc-list-divider--with-leading-inset{padding-left:0px;padding-right:auto}[dir=rtl] .mdc-list-divider--with-leading-video.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-video.mdc-list-divider--with-leading-inset[dir=rtl]{padding-left:auto;padding-right:0px}[dir=rtl] .mdc-list-divider,.mdc-list-divider[dir=rtl]{padding:0}.mdc-list-item{background-color:var(--mdc-list-list-item-container-color)}.mdc-list-item.mdc-list-item--selected{background-color:var(--mdc-list-list-item-selected-container-color)}.mdc-list-item--with-one-line{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-one-line.mdc-list-item--with-leading-avatar,.mdc-list-item--with-one-line.mdc-list-item--with-leading-icon,.mdc-list-item--with-one-line.mdc-list-item--with-leading-thumbnail,.mdc-list-item--with-one-line.mdc-list-item--with-leading-checkbox,.mdc-list-item--with-one-line.mdc-list-item--with-leading-radio,.mdc-list-item--with-one-line.mdc-list-item--with-leading-switch{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-one-line.mdc-list-item--with-leading-image,.mdc-list-item--with-one-line.mdc-list-item--with-leading-video{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-two-lines{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-two-lines.mdc-list-item--with-leading-avatar,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-icon,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-thumbnail,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-checkbox,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-radio,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-switch,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-image,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-video{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-three-lines{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item.mdc-list-item--with-one-line{height:var(--mdc-list-list-item-one-line-container-height)}.mdc-list-item.mdc-list-item--with-two-lines{height:var(--mdc-list-list-item-two-line-container-height)}.mdc-list-item.mdc-list-item--with-three-lines{height:var(--mdc-list-list-item-three-line-container-height)}.mdc-list-item__content,.mdc-list-item__primary-text{color:var(--mdc-list-list-item-label-text-color)}.mdc-list-item__primary-text{font-family:var(--mdc-list-list-item-label-text-font);line-height:var(--mdc-list-list-item-label-text-line-height);font-size:var(--mdc-list-list-item-label-text-size);font-weight:var(--mdc-list-list-item-label-text-weight);letter-spacing:var(--mdc-list-list-item-label-text-tracking)}.mdc-list-item__secondary-text{color:var(--mdc-list-list-item-supporting-text-color)}.mdc-list-item__secondary-text{font-family:var(--mdc-list-list-item-supporting-text-font);line-height:var(--mdc-list-list-item-supporting-text-line-height);font-size:var(--mdc-list-list-item-supporting-text-size);font-weight:var(--mdc-list-list-item-supporting-text-weight);letter-spacing:var(--mdc-list-list-item-supporting-text-tracking)}.mdc-list-item--with-leading-icon .mdc-list-item__start{color:var(--mdc-list-list-item-leading-icon-color)}.mdc-list-item--with-leading-icon .mdc-list-item__start{width:var(--mdc-list-list-item-leading-icon-size);height:var(--mdc-list-list-item-leading-icon-size)}.mdc-list-item--with-leading-icon .mdc-list-item__start>i{font-size:var(--mdc-list-list-item-leading-icon-size)}.mdc-list-item--with-leading-icon .mdc-list-item__start .mdc-list-item__icon{font-size:var(--mdc-list-list-item-leading-icon-size);width:var(--mdc-list-list-item-leading-icon-size);height:var(--mdc-list-list-item-leading-icon-size)}.mdc-list-item--with-leading-icon .mdc-list-item__start .mdc-list-item__icon,.mdc-list-item--with-leading-icon .mdc-list-item__start .mdc-list-item__icon>.materialdesignWizIconSvgsSvgIcon{display:block}.mdc-list-item--with-leading-avatar .mdc-list-item__start{width:var(--mdc-list-list-item-leading-avatar-size);height:var(--mdc-list-list-item-leading-avatar-size)}.mdc-list-item.mdc-list-item--with-trailing-meta .mdc-list-item__end{color:var(--mdc-list-list-item-trailing-supporting-text-color)}.mdc-list-item--with-trailing-meta .mdc-list-item__end{font-family:var(--mdc-list-list-item-trailing-supporting-text-font);line-height:var(--mdc-list-list-item-trailing-supporting-text-line-height);font-size:var(--mdc-list-list-item-trailing-supporting-text-size);font-weight:var(--mdc-list-list-item-trailing-supporting-text-weight);letter-spacing:var(--mdc-list-list-item-trailing-supporting-text-tracking)}.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-trailing-icon-color)}.mdc-list-item--with-trailing-icon .mdc-list-item__end{width:var(--mdc-list-list-item-trailing-icon-size);height:var(--mdc-list-list-item-trailing-icon-size)}.mdc-list-item--with-trailing-icon .mdc-list-item__end>i{font-size:var(--mdc-list-list-item-trailing-icon-size)}.mdc-list-item--with-trailing-icon .mdc-list-item__end .mdc-list-item__icon{font-size:var(--mdc-list-list-item-trailing-icon-size);width:var(--mdc-list-list-item-trailing-icon-size);height:var(--mdc-list-list-item-trailing-icon-size)}.mdc-list-item--with-trailing-icon .mdc-list-item__end .mdc-list-item__icon,.mdc-list-item--with-trailing-icon .mdc-list-item__end .mdc-list-item__icon>.materialdesignWizIconSvgsSvgIcon{display:block}.mdc-list-item--selected.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-selected-trailing-icon-color)}.mdc-list-item--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,.mdc-list-item--disabled .mdc-list-item__overline-text{opacity:var(--mdc-list-list-item-disabled-label-text-opacity)}.mdc-list-item--disabled.mdc-list-item--with-leading-icon .mdc-list-item__start{color:var(--mdc-list-list-item-disabled-leading-icon-color)}.mdc-list-item--disabled.mdc-list-item--with-leading-icon .mdc-list-item__start{opacity:var(--mdc-list-list-item-disabled-leading-icon-opacity)}.mdc-list-item--disabled.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-disabled-trailing-icon-color)}.mdc-list-item--disabled.mdc-list-item--with-trailing-icon .mdc-list-item__end{opacity:var(--mdc-list-list-item-disabled-trailing-icon-opacity)}.mdc-list-item:hover .mdc-list-item__content,.mdc-list-item:hover .mdc-list-item__primary-text{color:var(--mdc-list-list-item-hover-label-text-color)}.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-trailing-icon:hover .mdc-list-item__end{color:var(--mdc-list-list-item-hover-trailing-icon-color)}.mdc-list-item:focus .mdc-list-item__content,.mdc-list-item:focus .mdc-list-item__primary-text{color:var(--mdc-list-list-item-focus-label-text-color)}.mdc-list-item.mdc-list-item--disabled .mdc-list-item__primary-text{color:var(--mdc-list-list-item-disabled-label-text-color)}.mdc-list-item:hover::before{background-color:var(--mdc-list-list-item-hover-state-layer-color);opacity:var(--mdc-list-list-item-hover-state-layer-opacity)}.mdc-list-item.mdc-list-item--disabled::before{background-color:var(--mdc-list-list-item-disabled-state-layer-color);opacity:var(--mdc-list-list-item-disabled-state-layer-opacity)}.mdc-list-item:focus::before{background-color:var(--mdc-list-list-item-focus-state-layer-color);opacity:var(--mdc-list-list-item-focus-state-layer-opacity)}.mdc-list-item--disabled .mdc-radio,.mdc-list-item--disabled .mdc-checkbox{opacity:var(--mdc-list-list-item-disabled-label-text-opacity)}.mdc-list-item--with-leading-avatar .mat-mdc-list-item-avatar{border-radius:var(--mdc-list-list-item-leading-avatar-shape);background-color:var(--mdc-list-list-item-leading-avatar-color)}.mat-mdc-list-item-icon{font-size:var(--mdc-list-list-item-leading-icon-size)}.cdk-high-contrast-active a.mdc-list-item--activated::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active a.mdc-list-item--activated [dir=rtl]::after{right:auto;left:16px}.mat-mdc-list-base{display:block}.mat-mdc-list-base .mdc-list-item__start,.mat-mdc-list-base .mdc-list-item__end,.mat-mdc-list-base .mdc-list-item__content{pointer-events:auto}.mat-mdc-list-item,.mat-mdc-list-option{width:100%;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-list-item:not(.mat-mdc-list-item-interactive),.mat-mdc-list-option:not(.mat-mdc-list-item-interactive){cursor:default}.mat-mdc-list-item .mat-divider-inset,.mat-mdc-list-option .mat-divider-inset{position:absolute;left:0;right:0;bottom:0}.mat-mdc-list-item .mat-mdc-list-item-avatar~.mat-divider-inset,.mat-mdc-list-option .mat-mdc-list-item-avatar~.mat-divider-inset{margin-left:72px}[dir=rtl] .mat-mdc-list-item .mat-mdc-list-item-avatar~.mat-divider-inset,[dir=rtl] .mat-mdc-list-option .mat-mdc-list-item-avatar~.mat-divider-inset{margin-right:72px}.mat-mdc-list-item-interactive::before{top:0;left:0;right:0;bottom:0;position:absolute;content:"";opacity:0;pointer-events:none}.mat-mdc-list-item>.mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-list-item:focus>.mat-mdc-focus-indicator::before{content:""}.mat-mdc-list-item.mdc-list-item--with-three-lines .mat-mdc-list-item-line.mdc-list-item__secondary-text{white-space:nowrap;line-height:normal}.mat-mdc-list-item.mdc-list-item--with-three-lines .mat-mdc-list-item-unscoped-content.mdc-list-item__secondary-text{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:rgba(0,0,0,0);text-align:start}mat-action-list button::-moz-focus-inner{border:0}.mdc-list-item--with-leading-icon .mdc-list-item__start{margin-inline-start:var(--mat-list-list-item-leading-icon-start-space);margin-inline-end:var(--mat-list-list-item-leading-icon-end-space)}.mat-mdc-nav-list .mat-mdc-list-item{border-radius:var(--mat-list-active-indicator-shape);--mat-mdc-focus-indicator-border-radius:var(--mat-list-active-indicator-shape)}.mat-mdc-nav-list .mat-mdc-list-item.mdc-list-item--activated{background-color:var(--mat-list-active-indicator-color)}\n'],
encapsulation:2,changeDetection:0});var GP=function(a,b,c,d){Z.call(this);this.dialogRef=a;this.savedSearchFridge=b;this.currentUserBookmarksFridge=c;this.activeSession=d;this.selectedIds=new Set;this.savedSearches$=this.activeSession.getFlag("enableLeanFeF")?kF(this.currentUserBookmarksFridge):this.savedSearchFridge.watchMany({parent:"me"}).pipe(y(function(e){return e.results}))};X(GP,Z);GP.\u0275dir=Z.\u0275dir;GP.prototype.trackBySearchId=function(a,b){return b.searchId};
GP.prototype.onChangeMatList=function(a){var b=this;a.options.forEach(function(c){c.selected?b.selectedIds.add(c.value):b.selectedIds.delete(c.value)})};GP.prototype.onSave=function(){var a=[].concat(r(this.selectedIds)).map(String);this.dialogRef.close(a)};GP.prototype.onCancel=function(){this.dialogRef.close()};GP.\u0275fac=function(a){return new (a||GP)(A(pI),A(gF),A(hF),A(Ir))};
GP.\u0275cmp=p({type:GP,selectors:[["saved-search-picker-dialog"]],features:[zf],decls:10,vars:5,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[4,"ngIf"],["mat-dialog-actions",""],["mat-button","",1,"gmat-button","medium","cancel",3,"click"],["mat-flat-button","","color","primary","data-test","save",1,"gmat-button","medium",3,"click","disabled"],["aria-label","Add a Saved Search",3,"selectionChange"],["checkboxPosition","before",3,"selected","value","height",4,"ngFor","ngForOf","ngForTrackBy"],
["checkboxPosition","before",3,"selected","value"],[1,"savedsearch-name","type-m","flex-kids-x","align-items-center"],[1,"overflow-ellipsis"],["class","line-clamp-2 muted type-s",4,"ngIf"],[1,"line-clamp-2","muted","type-s"]],template:function(a,b){a&1&&(F(0,"header",0),R(1," Add a Saved Search\n"),G(),F(2,"div",1),C(3,ANa,3,2,"ng-container",2),T(4,"async"),G(),F(5,"div",3)(6,"button",4),M("click",function(){return b.onCancel()}),R(7," Cancel "),G(),F(8,"button",5),M("click",function(){return b.onSave()}),
R(9),G()());a&2&&(z(3),D("ngIf",V(4,3,b.savedSearches$)),z(5),D("disabled",b.selectedIds.size===0),z(),S(" Save ",b.selectedIds.size>1?"("+b.selectedIds.size+")":""," "))},dependencies:[Fv,Gv,oE,zI,BI,AI,yP,FP,EP,Lv],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 Nlc=new md("GMAT_AUTOCOMPLETE_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var HP=function(a,b){a.disableGmatStyle||KH(b,"gmat-mdc-autocomplete")};HP.\u0275fac=function(a){return new (a||HP)(A(Nlc),A(vx))};HP.\u0275dir=fd({type:HP,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],features:[qg([{provide:vx,useClass:JH}])]});var Olc=ph("panelAnimation",[sh("void, hidden",rh({opacity:0,transform:"scaleY(0.8)"})),uh(":enter, hidden => visible",[Rpa([qh("0.03s linear",rh({opacity:1})),qh("0.12s cubic-bezier(0, 0, 0.2, 1)",rh({transform:"scaleY(1)"}))])]),uh(":leave, visible => hidden",[qh("0.075s linear",rh({opacity:0}))])]);var Plc=["panel"],Qlc=0,Rlc=function(a,b){this.source=a;this.option=b},Slc=new md("mat-autocomplete-default-options",{providedIn:"root",factory:CNa}),IP=function(a,b,c){this._changeDetectorRef=a;this._elementRef=b;this._defaults=c;this._activeOptionChanges=W.Subscription.EMPTY;this._animationDone=new Xu;this._isOpen=this.showPanel=!1;this.displayWith=null;this.optionSelected=new Xu;this.opened=new Xu;this.closed=new Xu;this.optionActivated=new Xu;this.id="mat-autocomplete-"+Qlc++;this.autoActiveFirstOption=
!!c.autoActiveFirstOption;this.autoSelectActiveOption=!!c.autoSelectActiveOption;this.requireSelection=!!c.requireSelection;var d;this._hideSingleSelectionIndicator=(d=this._defaults.hideSingleSelectionIndicator)!=null?d:!1};g=IP.prototype;g._setColor=function(a){this._color=a;this._changeDetectorRef.markForCheck()};g._syncParentProperties=function(){if(this.options)for(var a=l(this.options),b=a.next();!b.done;b=a.next())b.value._changeDetectorRef.markForCheck()};
g.ngAfterContentInit=function(){var a=this;this._keyManager=Ew(Fw(new Kw(this.options)),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 Rlc(this,a))};g._getPanelAriaLabelledby=function(a){return this.ariaLabel?null:this.ariaLabelledby?(a?a+" ":"")+this.ariaLabelledby:a};g._skipPredicate=function(){return!1};
ea.Object.defineProperties(IP.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()}}});
IP.\u0275fac=function(a){return new (a||IP)(A(Ig),A(Rd),A(Slc),A($v))};
IP.\u0275cmp=p({type:IP,selectors:[["mat-autocomplete"]],contentQueries:function(a,b,c){a&1&&(gg(c,Kx,5),gg(c,bXb,5));if(a&2){var d;jg(d=kg())&&(b.options=d);jg(d=kg())&&(b.optionGroups=d)}},viewQuery:function(a,b){a&1&&(fg(cg,7),fg(Plc,5));if(a&2){var c;jg(c=kg())&&(b.template=c.first);jg(c=kg())&&(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",Gg],autoSelectActiveOption:[2,"autoSelectActiveOption","autoSelectActiveOption",Gg],requireSelection:[2,"requireSelection","requireSelection",Gg],panelWidth:"panelWidth",disableRipple:[2,"disableRipple","disableRipple",Gg],classList:[0,"class","classList"],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",Gg]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},
exportAs:["matAutocomplete"],standalone:!0,features:[qg([{provide:aXb,useExisting:IP}]),Af,sg],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&&(Xf(),C(0,BNa,3,16,"ng-template"))},styles:["div.mat-mdc-autocomplete-panel{width:100%;max-height:256px;visibility:hidden;transform-origin:center top;overflow:auto;padding:8px 0;box-sizing:border-box;position:static;border-radius:var(--mat-autocomplete-container-shape);box-shadow:var(--mat-autocomplete-container-elevation-shadow);background-color:var(--mat-autocomplete-background-color)}.cdk-high-contrast-active div.mat-mdc-autocomplete-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-autocomplete-panel-above) div.mat-mdc-autocomplete-panel{border-top-left-radius:0;border-top-right-radius:0}.mat-mdc-autocomplete-panel-above div.mat-mdc-autocomplete-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:center bottom}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-visible{visibility:visible}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-hidden{visibility:hidden;pointer-events:none}mat-autocomplete{display:none}\n"],
encapsulation:2,data:{animation:[Olc]},changeDetection:0});var Tlc={provide:jy,useExisting:Uc(function(){return JP}),multi:!0},Ulc=new md("mat-autocomplete-scroll-strategy",{providedIn:"root",factory:function(){var a=Yc(vx);return function(){return a.scrollStrategies.reposition()}}}),Vlc={provide:Ulc,deps:[vx],useFactory:function(a){return function(){return a.scrollStrategies.reposition()}}},JP=function(a,b,c,d,e,f,h,k,q,t,w){var B=this;this._element=a;this._overlay=b;this._viewContainerRef=c;this._zone=d;this._changeDetectorRef=e;this._dir=h;this._formField=
k;this._document=q;this._viewportRuler=t;this._defaults=w;this._manuallyFloatingLabel=this._componentDestroyed=!1;this._viewportSubscription=W.Subscription.EMPTY;this._canOpenOnNextFocus=!0;this._closeKeyEventStream=new W.Subject;this._windowBlurHandler=function(){B._canOpenOnNextFocus=B._document.activeElement!==B._element.nativeElement||B.panelOpen};this._onChange=function(){};this._onTouched=function(){};this.position="auto";this.autocompleteAttribute="off";this._initialized=new W.Subject;this._injector=
Yc(Ae);this._aboveClass="mat-mdc-autocomplete-panel-above";this._overlayAttached=!1;this.optionSelections=(0,W.defer)(function(){var E=B.autocomplete?B.autocomplete.options:null;return E?E.changes.pipe(of(E),pf(function(){return W.merge.apply(null,r(E.map(function(I){return I.onSelectionChange})))})):B._initialized.pipe(pf(function(){return B.optionSelections}))});this._handlePanelKeydown=function(E){if(E.keyCode===27&&!$g(E)||E.keyCode===38&&$g(E,"altKey")){if(B._pendingAutoselectedOption){var I;
B._updateNativeInputValue((I=B._valueBeforeAutoSelection)!=null?I:"");B._pendingAutoselectedOption=null}B._closeKeyEventStream.next();B._resetActiveItem();E.stopPropagation();E.preventDefault()}};this._trackedModal=null;this._scrollStrategy=f};JP.prototype.ngAfterViewInit=function(){var a=this;this._initialized.next();this._initialized.complete();var b=this._getWindow();typeof b!=="undefined"&&this._zone.runOutsideAngular(function(){return b.addEventListener("blur",a._windowBlurHandler)})};
JP.prototype.ngOnChanges=function(a){a.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())};JP.prototype.ngOnDestroy=function(){var a=this._getWindow();typeof a!=="undefined"&&a.removeEventListener("blur",this._windowBlurHandler);this._viewportSubscription.unsubscribe();this._componentDestroyed=!0;this._destroyPanel();this._closeKeyEventStream.complete();this._clearFromModal()};
var Hib=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&&
fh(a._trackedModal,"aria-owns",a.autocomplete.id))};g=JP.prototype;g.updatePosition=function(){this._overlayAttached&&this._overlayRef.updatePosition()};
g._getOutsideClickStream=function(){var a=this;return(0,W.merge)((0,W.fromEvent)(this._document,"click"),(0,W.fromEvent)(this._document,"auxclick"),(0,W.fromEvent)(this._document,"touchend")).pipe(te(function(b){b=Zg(b);var c=a._formField?IYb(a._formField).nativeElement:null,d=a.connectedTo?a.connectedTo.elementRef.nativeElement:null;return a._overlayAttached&&b!==a._element.nativeElement&&a._document.activeElement!==a._element.nativeElement&&(!c||!c.contains(b))&&(!d||!d.contains(b))&&!!a._overlayRef&&
!a._overlayRef.overlayElement.contains(b)}))};g.writeValue=function(a){var b=this;Promise.resolve(null).then(function(){return b._assignOptionValue(a)})};g.registerOnChange=function(a){this._onChange=a};g.registerOnTouched=function(a){this._onTouched=a};g.setDisabledState=function(a){this._element.nativeElement.disabled=a};
g._handleKeydown=function(a){var b=a.keyCode,c=$g(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 W.Observable(function(d){Fe(function(){d.next()},{injector:a._injector})}),c=this.autocomplete.options.changes.pipe(sf(function(){return MWb(a._positionStrategy)}),cf(0));return(0,W.merge)(b,c).pipe(pf(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})}),ef()).subscribe(function(d){return a._setValueAndClose(d)})};g._emitOpened=function(){this.autocomplete.opened.emit()};g._destroyPanel=function(){this._overlayRef&&(Hib(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(ef()).subscribe(function(){return b._onChange(null)}):
this._onChange(null));Hib(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&&Foa(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 Ow(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()})})}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 mx({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=PWb(rx(ux(this._overlay.position(),this._getConnectedElement()),!1),!1);this._setStrategyPositions(a);return this._positionStrategy=a};
g._setStrategyPositions=function(a){var b=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],c=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-autocomplete-panel-above"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:"mat-mdc-autocomplete-panel-above"}];b=this.position==="above"?c:this.position==="below"?b:[].concat(r(b),r(c));px(a,b)};
g._getConnectedElement=function(){return this.connectedTo?this.connectedTo.elementRef:this._formField?IYb(this._formField):this._element};g._getPanelWidth=function(){return this.autocomplete.panelWidth||this._getHostWidth()};g._getHostWidth=function(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width};g._resetActiveItem=function(){var a=this.autocomplete;if(a.autoActiveFirstOption){for(var b=-1,c=0;c<a.options.length;c++)if(!a.options.get(c).disabled){b=c;break}a._keyManager.setActiveItem(b)}else a._keyManager.setActiveItem(-1)};
g._canOpen=function(){var a=this._element.nativeElement;return!a.readOnly&&!a.disabled&&!this.autocompleteDisabled};g._getWindow=function(){var a;return((a=this._document)==null?void 0:a.defaultView)||window};g._scrollToOption=function(a){var b=this.autocomplete,c=Yoa(a,b.options,b.optionGroups);a===0&&c===1?b._setScrollTop(0):b.panel&&(a=b.options.toArray()[a])&&(a=a._getHostElement(),b._setScrollTop(Zoa(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&&fh(this._trackedModal,"aria-owns",b);Foa(a,"aria-owns",b);this._trackedModal=a}};g._clearFromModal=function(){this._trackedModal&&(fh(this._trackedModal,"aria-owns",this.autocomplete.id),this._trackedModal=null)};
ea.Object.defineProperties(JP.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(0,W.merge)(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe(te(function(){return a._overlayAttached})),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef._detachments.pipe(te(function(){return a._overlayAttached})):
(0,W.of)()).pipe(y(function(b){return b instanceof rXb?b:null}))}},activeOption:{configurable:!0,enumerable:!0,get:function(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}}});JP.\u0275fac=function(a){return new (a||JP)(A(Rd),A(vx),A(dg),A(ze),A(Ig),A(Ulc),A(Uw,8),A(FYb,9),A(gh,8),A(ix),A(Slc,8))};
JP.\u0275dir=fd({type:JP,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&&Bf("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",Gg]},exportAs:["matAutocompleteTrigger"],standalone:!0,features:[qg([Tlc]),Af,td]});var KP=function(){};KP.\u0275fac=function(a){return new (a||KP)};KP.\u0275mod=dd({type:KP});KP.\u0275inj=Ic({providers:[Vlc],imports:[yx,Nx,zx,Tv,jx,Nx,zx]});var LP=function(){};LP.\u0275fac=function(a){return new (a||LP)};LP.\u0275mod=dd({type:LP});LP.\u0275inj=Ic({imports:[KP]});var MP=function(){this._inset=this._vertical=!1};ea.Object.defineProperties(MP.prototype,{vertical:{configurable:!0,enumerable:!0,get:function(){return this._vertical},set:function(a){this._vertical=bh(a)}},inset:{configurable:!0,enumerable:!0,get:function(){return this._inset},set:function(a){this._inset=bh(a)}}});MP.\u0275fac=function(a){return new (a||MP)};
MP.\u0275cmp=p({type:MP,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(a,b){a&2&&(Bf("aria-orientation",b.vertical?"vertical":"horizontal"),Kf("mat-divider-vertical",b.vertical)("mat-divider-horizontal",!b.vertical)("mat-divider-inset",b.inset))},inputs:{vertical:"vertical",inset:"inset"},standalone:!0,features:[sg],decls:0,vars:0,template:function(){},styles:[".mat-divider{display:block;margin:0;border-top-style:solid;border-top-color:var(--mat-divider-color);border-top-width:var(--mat-divider-width)}.mat-divider.mat-divider-vertical{border-top:0;border-right-style:solid;border-right-color:var(--mat-divider-color);border-right-width:var(--mat-divider-width)}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}\n"],
encapsulation:2,changeDetection:0});var NP=function(){};NP.\u0275fac=function(a){return new (a||NP)};NP.\u0275mod=dd({type:NP});NP.\u0275inj=Ic({imports:[zx,zx]});new md("MatList");new md("MatNavList");var OP=function(){};OP.\u0275fac=function(a){return new (a||OP)};OP.\u0275mod=dd({type:OP});OP.\u0275inj=Ic({imports:[uw,Tv,zx,Lx,Mx,NP]});var PP=function(){};PP.\u0275fac=function(a){return new (a||PP)};PP.\u0275mod=dd({type:PP});PP.\u0275inj=Ic({imports:[OP]});var QP=function(){};QP.\u0275fac=function(a){return new (a||QP)};QP.\u0275mod=dd({type:QP});QP.\u0275inj=Ic({imports:[BB,ML,fJ,aM,jM,PP,My,Ny,GJ,ML,LP,xP,NL]});var RP=function(a){this.dialog=a};RP.prototype.open=function(a){var b=this,c={panelClass:"no-jitter"};return new Promise(function(d){qI(b.dialog.open(GP,c)).subscribe(function(e){e=e===void 0?[]:e;a==null||a(e);d(e)})})};RP.\u0275fac=function(a){return new (a||RP)(n(wI))};RP.\u0275prov=Hc({token:RP,factory:RP.\u0275fac,providedIn:"root"});var SP=function(){this.LIMIT_INCREMENT=32;this.limit=8;this.emails=[]};SP.\u0275fac=function(a){return new (a||SP)};
SP.\u0275cmp=p({type:SP,selectors:[["avatar-bunch"]],inputs:{emails:"emails"},decls:3,vars:6,consts:[["size","medium",3,"email",4,"ngFor","ngForOf"],[4,"ngIf"],["size","medium",3,"email"],[1,"link-button","subtle-link",3,"click","title"]],template:function(a,b){a&1&&(C(0,DNa,1,1,"b-user-image",0),T(1,"slice"),C(2,FNa,2,1,"ng-container",1));a&2&&(D("ngForOf",pma(1,2,b.emails,b.limit)),z(2),D("ngIf",b.emails.length-b.limit>0))},dependencies:[Fv,Gv,fN,Sv],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 INa=["assigned-to-me","recent-stuff-i-follow"],Wlc=["BUGANIZER","CRITIQUE","DRIVE"],Xlc=["NON_WTDM","WTDM","CRITIQUE","DRIVE"],Ylc={BUGANIZER:{displayName:"Buganizer",filterType:"BUGANIZER",tooltipText:"Buganizer issues of all types"},NON_WTDM:{displayName:"Bugs",filterType:"NON_WTDM",tooltipText:"Issue types including bug, feature request, customer issue, internal cleanup, process, vulnerability, and privacy issue"},WTDM:{displayName:"Tasks",filterType:"WTDM",tooltipText:"Work tracking issue types including project, milestone, feature, epic, story, and task"},
CRITIQUE:{displayName:"Critique",filterType:"CRITIQUE",tooltipText:"CLs from Critique"},DRIVE:{displayName:"Drive",filterType:"DRIVE",tooltipText:"Drive files including Google Docs, Sheets, Slides"},ARIANE:{displayName:"Launch",filterType:"ARIANE",tooltipText:"Launches and related action items"},GERRIT:{displayName:"Gerrit",filterType:"GERRIT",tooltipText:"Gerrit changes"}},Zlc;
Zlc={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 ONa=function(){return[]},TP=function(){this.makeCritiqueUrl=GNa;this.submitted=[];this.pending=[]};TP.\u0275fac=function(a){return new (a||TP)};
TP.\u0275cmp=p({type:TP,selectors:[["cl-counts"]],inputs:{submitted:"submitted",pending:"pending"},decls:1,vars:1,consts:[["class","flex-kids-x align-items-center",4,"ngIf"],[1,"flex-kids-x","align-items-center"],["aria-hidden","true","alt","","src","https://static.corp.google.com/devtools/codereview/new_logo_only.svg",1,"logo"],["target","_blank","title","Number of total CLs and pending CLs associated with all of these issues",1,"subtle-link",3,"href"],["target","_blank","class","subtle-link","title",
"Number of pending CLs associated with all of these issues",3,"href",4,"ngIf"],["target","_blank","title","Number of pending CLs associated with all of these issues",1,"subtle-link",3,"href"]],template:function(a,b){a&1&&C(0,QNa,7,3,"div",0);a&2&&D("ngIf",b.submitted.length+b.pending.length)},dependencies:[Gv],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 $lc=function(){this.changes=[]};$lc.\u0275fac=function(a){return new (a||$lc)};$lc.\u0275cmp=p({type:$lc,selectors:[["gerrit-changes-count"]],inputs:{changes:"changes"},decls:5,vars:2,consts:[[1,"flex-kids-x","align-items-center"],["svgIcon","gerrit-logo",1,"icon-xs"]],template:function(a,b){a&1&&(F(0,"div",0),H(1,"mat-icon",1),R(2," \u00a0 "),F(3,"p"),R(4),G()());a&2&&(z(4),mg("",b.changes.length," ",b.changes.length>1?"gerrit changes":"gerrit change",""))},dependencies:[zB],styles:["a[_ngcontent-%COMP%]:hover, a[_ngcontent-%COMP%]:focus {\n      color: var(--text-good);\n    }"]});var amc=Bt(["https://www.gstatic.com/buganizer/gfx/","/",""]),UP=Bt(["https://www.gstatic.com/buganizer/img/v2/",""]),bmc=Bh(amc,"2024-05-22-8452fdcc","all-icons.svg"),cmc=Bh(UP,"empty_blocker_light.png"),dmc=Bh(UP,"empty_blocker_dark.png"),emc=Bh(UP,"empty_child_light.png"),fmc=Bh(UP,"empty_child_dark.png"),gmc=Bh(UP,"robot_sleeping.png"),hmc=Bh(UP,"tea_light.png"),imc=Bh(UP,"tea_dark.png"),jmc=Bh(UP,"space_empty_state.png"),kmc=Bh(UP,"eg_work_area.png");var VP=function(){this.ICON_URL=bmc;this.LOGO_LIGHT="https://www.gstatic.com/buganizer/img/v3/logo_light.svg";this.EMPTY_BLOCKER_LIGHT=cmc;this.EMPTY_BLOCKER_DARK=dmc;this.EMPTY_CHILD_LIGHT=emc;this.EMPTY_CHILD_DARK=fmc;this.ROBOT_SLEEPING=gmc;this.TEA_LIGHT=hmc;this.TEA_DARK=imc;this.SPACE_EMPTY_STATE=jmc;this.WORK_AREA_EXAMPLE_ILLUSTRATION=kmc};VP.\u0275fac=function(a){return new (a||VP)};VP.\u0275prov=Hc({token:VP,factory:VP.\u0275fac,providedIn:"root"});var WP=function(a){this.imageUrls=a;this.LOGO_LIGHT=this.imageUrls.LOGO_LIGHT};ea.Object.defineProperties(WP.prototype,{ref:{configurable:!0,enumerable:!0,set:function(a){this.searchPageUrl=a?KNa(a):void 0}}});WP.\u0275fac=function(a){return new (a||WP)(A(VP))};
WP.\u0275cmp=p({type:WP,selectors:[["issue-count"]],inputs:{ref:"ref",count:"count"},decls:5,vars:2,consts:[["title","Total issues in this area, in any status",1,"flex-kids-x","align-items-center"],["aria-hidden","true","alt","",1,"logo",3,"src"],[1,"subtle-link",3,"routerLink"],["class","subtle-link",3,"routerLink",4,"ngIf"]],template:function(a,b){a&1&&(F(0,"div",0),H(1,"img",1),R(2," \u00a0 "),C(3,SNa,1,1,"a",2)(4,TNa,1,1),G());a&2&&(z(),D("src",b.LOGO_LIGHT,Qe),z(2),Of(b.searchPageUrl?3:4))},
dependencies:[Gv,rB],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 XP=function(){this.JOINING_ARROW="\u2192";this.showIcon=!0};ea.Object.defineProperties(XP.prototype,{issue:{configurable:!0,enumerable:!0,set:function(a){if(a!=null){var b=hDa(1049928)(a);this.startDate=jAa(b==null?void 0:b.dateValue);a=hDa(1049953)(a);this.endDate=jAa(a==null?void 0:a.dateValue);this.startDateShortStr=kAa(this.startDate);this.endDateShortStr=kAa(this.endDate)}}}});XP.\u0275fac=function(a){return new (a||XP)};
XP.\u0275cmp=p({type:XP,selectors:[["issue-timeframe"]],inputs:{issue:"issue",showIcon:"showIcon"},decls:1,vars:1,consts:[["class","flex-kids-x align-items-center",4,"ngIf"],[1,"flex-kids-x","align-items-center"],["svgIcon","calendar_month_24px","title","Start date and/or end date for this project",1,"icon-m","margin-xs-right"],["class","margin-xs-right date",3,"title",4,"ngIf"],[1,"date",3,"title"],[1,"muted"],[1,"margin-xs-right","date",3,"title"]],template:function(a,b){a&1&&C(0,YNa,5,3,"div",
0);a&2&&D("ngIf",b.startDate||b.endDate)},dependencies:[Gv,zB,Ov],styles:["[_nghost-%COMP%] {\n      white-space: nowrap;\n    }\n    .date[_ngcontent-%COMP%] {\n      display: inline-block;\n    }"],changeDetection:0});var YP=function(){this.makePie=HNa;this.total=this.closed=0;this.useXofYLabel=!1};ea.Object.defineProperties(YP.prototype,{issue:{configurable:!0,enumerable:!0,set:function(a){a!=null&&(this.total=a.descendantCount,this.closed=this.total-a.openDescendantCount)}}});YP.\u0275fac=function(a){return new (a||YP)};
YP.\u0275cmp=p({type:YP,selectors:[["progress-pie"]],inputs:{issue:"issue",closed:"closed",total:"total"},decls:1,vars:1,consts:[["class","flex-kids-x align-items-center",3,"title","click",4,"ngIf"],[1,"flex-kids-x","align-items-center",3,"click","title"],[1,"pie","margin-s-right"]],template:function(a,b){a&1&&C(0,ZNa,7,14,"div",0);a&2&&D("ngIf",b.total>0)},dependencies:[Gv,Rv],encapsulation:2,changeDetection:0});var ZP=function(){};ZP.\u0275fac=function(a){return new (a||ZP)};ZP.\u0275mod=dd({type:ZP});ZP.\u0275inj=Ic({imports:[BB,JM,AB,ML,kN]});var lmc=function(){return[]},$P=function(a,b){Z.call(this);var c=this;this.issueFridge=a;this.changelistFridge=b;this.query$=new W.ReplaySubject(1);this.issues$=this.query$.pipe(pf(function(d){return c.issueFridge.watchMany(d)}),y(function(d){return d.results}));this.emails$=this.issues$.pipe(y(function(d){return d.map(OCa).filter(lj)}),y(KAa));this.submittedClLinks$=this.issues$.pipe(y(function(d){return d.flatMap(function(e){var f,h,k;return(k=(f=e.snapshot)==null?void 0:(h=f[0])==null?void 0:h.changelist)!=
null?k:[]})}));this.pendingCls$=this.issues$.pipe(y(function(d){return d.map(function(e){return e.issueId})}),pf(function(d){return c.changelistFridge.watchMany({pendingForIssues:d})}),y(function(d){return d.results}))};X($P,Z);$P.\u0275dir=Z.\u0275dir;$P.prototype.getHotlistId=function(){if(hp(this.ref)==="hotlist")return gp(this.ref)};ea.Object.defineProperties($P.prototype,{query:{configurable:!0,enumerable:!0,set:function(a){a!=null&&this.query$.next(a)}}});
$P.\u0275fac=function(a){return new (a||$P)(A(jG),A(lC))};
$P.\u0275cmp=p({type:$P,selectors:[["rollups-list"]],inputs:{ref:"ref",query:"query"},features:[zf],decls:11,vars:16,consts:[[1,"flex-kids-x","align-items-center"],[1,"flex-kids-x","align-items-center","dividers-between"],[3,"ref","count"],[3,"submitted","pending"],[3,"emails",4,"ngIf"],[1,"shrink-0","margin-left-auto"],["mat-stroked-button","","class","gmat-button small pop-out-link","target","_blank",3,"href",4,"ngIf"],[3,"emails"],["mat-stroked-button","","target","_blank",1,"gmat-button","small",
"pop-out-link",3,"href"],["svgIcon","pop-out",1,"icon-xs"]],template:function(a,b){a&1&&(F(0,"section",0)(1,"div",1),H(2,"issue-count",2),T(3,"async"),H(4,"cl-counts",3),T(5,"async"),T(6,"async"),C(7,$Na,1,1,"avatar-bunch",4),T(8,"async"),G(),F(9,"div",5),C(10,aOa,3,1,"a",6),G()());if(a&2){var c,d,e;z(2);D("ref",b.ref)("count",(c=V(3,6,b.issues$))==null?null:c.length);z(2);D("submitted",(d=V(5,8,b.submittedClLinks$))!==null&&d!==void 0?d:tg(14,lmc))("pending",(e=V(6,10,b.pendingCls$))!==null&&e!==
void 0?e:tg(15,lmc));z(3);D("ngIf",V(8,12,b.emails$));z(3);var f=f===void 0?Rl():f;a=b.getHotlistId();D("ngIf",a!=null&&f?"https://taskflow.corp.google.com/hotlists/"+a:void 0)}},dependencies:[Gv,zB,pE,SP,TP,WP,Lv],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}.pop-out-link[_ngcontent-%COMP%]   .icon-xs[_ngcontent-%COMP%]{margin-top:-3px;margin-right:-4px}\n/*# sourceMappingURL=rollups_list.css.map */"],
changeDetection:0});var cOa=function(){return[]},aQ=function(a,b,c,d,e){Z.call(this);var f=this;this.activeSession=a;this.issueRelationshipsFridge=b;this.metadataFridge=c;this.issueFridge=d;this.changelistFridge=e;this.gerritChangesEnabled=this.activeSession.getFlag("enableGerritChangesInRollup");this.id$=new W.ReplaySubject(1);this.issue$=this.id$.pipe(pf(this.issueFridge.watchOne));this.metadata$=this.id$.pipe(pf(this.metadataFridge.watchOne));this.closedAndTotal$=this.metadata$.pipe(y(DCa));this.metadata$.pipe(y(FCa));
this.gerritChanges$=this.metadata$.pipe(y(GCa));this.emails$=this.metadata$.pipe(y(HCa));this.pendingCls$=(0,W.combineLatest)([this.id$,this.metadata$]).pipe(pf(function(h){var k=l(h);h=k.next().value;k=k.next().value;var q;k=(q=k==null?void 0:k.issueIds)!=null?q:[];q=[h].concat(r(k));return f.changelistFridge.watchMany({pendingForIssues:q})}),y(function(h){return h.results}));this.subscriptions.add((0,W.merge)(this.issueRelationshipsFridge.memoryWasSet$,this.issueRelationshipsFridge.collectiveMemoryWasSet$,
this.issueFridge.memoryWasSet$,this.issueFridge.collectiveMemoryWasSet$).pipe(af(this.id$),bf(2E3)).subscribe(function(h){return void f.metadataFridge.poke(h[1])}))};X(aQ,Z);aQ.\u0275dir=Z.\u0275dir;ea.Object.defineProperties(aQ.prototype,{id:{configurable:!0,enumerable:!0,set:function(a){this.id$.next(a)}}});aQ.\u0275fac=function(a){return new (a||aQ)(A(Ir),A(CG),A(VB),A(jG),A(lC))};
aQ.\u0275cmp=p({type:aQ,selectors:[["rollups-project"]],inputs:{id:"id"},features:[zf],decls:10,vars:13,consts:[[1,"flex-kids-x","align-items-center","dividers-between"],[3,"closed","total",4,"ngIf"],[3,"issue"],[3,"submitted","pending",4,"ngIf"],[3,"emails",4,"ngIf"],[3,"closed","total"],[3,"submitted","pending"],[3,"changes"],[3,"emails"]],template:function(a,b){a&1&&(F(0,"section",0),C(1,bOa,1,2,"progress-pie",1),T(2,"async"),H(3,"issue-timeframe",2),T(4,"async"),C(5,dOa,2,5,"cl-counts",3),T(6,
"async"),C(7,gOa,2,3)(8,hOa,1,1,"avatar-bunch",4),T(9,"async"),G());a&2&&(z(),D("ngIf",V(2,5,b.closedAndTotal$)),z(2),D("issue",V(4,7,b.issue$)),z(2),D("ngIf",V(6,9,b.metadata$)),z(2),Of(b.gerritChangesEnabled?7:-1),z(),D("ngIf",V(9,11,b.emails$)))},dependencies:[Gv,SP,TP,YP,XP,$lc,Lv],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 mmc=(new FJ).transform,bQ=function(a){this.kansasPrefsManager=a;this.destroyed$=new W.ReplaySubject(1);this.prefs$=this.kansasPrefsManager.preferences$.pipe(y(function(b){var c;return(c=b==null?void 0:b.missionControlPreferences)!=null?c:{}}));this.prefsSubject$=eo(this.prefs$.pipe(qf(this.destroyed$)),{});this.myTasksSources$=this.prefs$.pipe(y(function(b){var c,d=(c=b==null?void 0:b.myTasksSources)!=null?c:[];b=b==null?void 0:b.isMyTasksSourcesConfigured;return d.length!==0||b?d.map(jOa):[].concat(r(Xlc))}));
this.needsAttentionSources$=this.prefs$.pipe(y(function(b){var c,d=(c=b==null?void 0:b.needsAttentionSources)!=null?c:[];b=b==null?void 0:b.isNeedsAttentionSourcesConfigured;return d.length!==0||b?d.map(jOa):[].concat(r(Wlc))}));this.needsAttentionTimeBoundary$=this.prefs$.pipe(y(function(b){var c;return(c=b==null?void 0:b.needsAttentionDaysOld)!=null?c:30}))};bQ.prototype.ngOnDestroy=function(){this.destroyed$.next();this.destroyed$.complete()};
var Bp=function(a,b){a.kansasPrefsManager.save({missionControlPreferences:Object.assign({},a.prefs,b)}).subscribe()},jVa=function(a,b,c){switch(b){case "mc-my-tasks":a.prefs.myTasksTab=c;Bp(a,{myTasksTab:c});break;case "work-areas-wrapper-card":a.prefs.workAreaTab=c;Bp(a,{workAreaTab:c});break;default:console.error("unhandled tab key, cannot save preference")}};
bQ.prototype.toggleCollapsed=function(a){var b;this.prefs.collapsed=(b=this.prefs.collapsed)!=null?b:{};this.prefs.collapsed[a]=!this.prefs.collapsed[a];Bp(this,{collapsed:this.prefs.collapsed})};bQ.prototype.isCollapsed=function(a){var b;return!((b=this.prefs.collapsed)==null||!b[a])};var nmc=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")}};
bQ.prototype.getMyTasksSources=function(){var a,b=(a=this.prefs.myTasksSources)!=null?a:[];a=this.prefs.isMyTasksSourcesConfigured;return b.length!==0||a?b.map(jOa):[].concat(r(Xlc))};var omc=function(a,b){var c;(a=(c=a.prefs.workAreaQuickFilters)==null?void 0:c[b])?(a==="UNKNOWN_KEY"&&console.error("an UNKNOWN QuickIssueFilterKey snuck in"),b=[a]):b=[];return b};bQ.prototype.addHotlist=function(a){cQ(this,ep(a))};bQ.prototype.hasHotlist=function(a){return a==null?!1:pmc(this,ep(a))};
bQ.prototype.hasSavedSearch=function(a){return a==null?!1:pmc(this,fp(a))};
var pmc=function(a,b){var c;return((c=a.prefs.workAreaUrls)!=null?c:[]).indexOf(b)>=0},cQ=function(a,b){typeof b==="string"&&(b=[b]);if(b!=null&&b.length!==0){var c,d=(c=a.prefs.workAreaUrls)!=null?c:[];d=GAa(b,d);Bp(a,{workAreaUrls:d})}},fVa=function(a,b,c){var d,e=((d=a.prefs.workAreaUrls)!=null?d:[]).slice();mmc(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,Bp(a,{workAreaUrls:e}))};
ea.Object.defineProperties(bQ.prototype,{prefs:{configurable:!0,enumerable:!0,get:function(){return this.prefsSubject$.value}}});bQ.\u0275fac=function(a){return new (a||bQ)(n(rH))};bQ.\u0275prov=Hc({token:bQ,factory:bQ.\u0275fac,providedIn:"root"});var dQ=function(a){this.issueFridge=a;this.candidateIssues$=this.issueFridge.watchMany(Zlc);this.suggestions$=this.candidateIssues$.pipe(y(NNa))};dQ.\u0275fac=function(a){return new (a||dQ)(n(jG))};dQ.\u0275prov=Hc({token:dQ,factory:dQ.\u0275fac,providedIn:"root"});var qmc=Pl().user.email,ip={ASSIGNED_TO_ME:{key:"ASSIGNED_TO_ME",displayAs:"Assigned to me",check:function(a){var b,c=(b=a.snapshot[0].assigneeUser)==null?void 0:b.emailAddress;return c?c===qmc&&An(a):!1},queryFragment:"assignee:me status:open",tooltip:"Open issues with me as the assignee"},OPEN:{key:"OPEN",displayAs:"Open",check:function(a){return An(a)},queryFragment:"status:open",tooltip:'Issues that match "status:open"'},FIXED:{key:"FIXED",displayAs:"Fixed",check:function(a){return UCa(a,"FIXED")},
queryFragment:"status:fixed"},BROAD_IN_PROGRESS:{key:"BROAD_IN_PROGRESS",displayAs:"Assigned",check:function(a){return UCa(a,"ASSIGNED")||UCa(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)&&An(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&&An(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(bDa(a))&&An(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 lDa(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 eQ=function(a){var b=this;this.prefsService=a;this.isNumeric=ho;this.isActive=function(){return rmc(b,b.prefsService.prefs,b.filter.key)};this.active$=this.prefsService.prefs$.pipe(y(function(c){var d;return rmc(b,c,(d=b.filter)==null?void 0:d.key)}))};
eQ.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];Bp(b,{workAreaQuickFilters:b.prefs.workAreaQuickFilters})}};eQ.prototype.isDisabled=function(){return String(this.countDisplay)==="0"&&!this.isActive()};
var rmc=function(a,b,c){if(b==null||a.prefKey==null)return!1;var d;return((d=b.workAreaQuickFilters)==null?void 0:d[a.prefKey])===c};
ea.Object.defineProperties(eQ.prototype,{metadata:{configurable:!0,enumerable:!0,set:function(a){this.metadataInternal=a;if(a!=null)if(this.filter.key==="OPEN"){if(a==null)var b=0;else{b=0;a=l(a.aggregatedStatus);for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=c.issueIds===void 0?[]:c.issueIds,e=void 0;if((e=Qm[c.status])==null?0:e.open)b+=d.length}}this.countDisplay=b}else if(this.filter.key==="BROAD_IN_PROGRESS")b=ECa(a,"ASSIGNED"),a=ECa(a,"ACCEPTED"),this.countDisplay=b+a;else throw Error("ae`"+
this.filter.key);},get:function(){return this.metadataInternal}},key:{configurable:!0,enumerable:!0,set:function(a){this.filter=ip[a]}},computeCountFor:{configurable:!0,enumerable:!0,set:function(a){if(a==null)this.countDisplay="-";else{var b,c,d=(c=ip[(b=this.filter)==null?void 0:b.key])==null?void 0:c.check;this.countDisplay=a.filter(d).length}}}});eQ.\u0275fac=function(a){return new (a||eQ)(A(bQ))};
eQ.\u0275cmp=p({type:eQ,selectors:[["qif-stat"]],hostBindings:function(a,b){a&1&&M("click",function(){return b.onClick()})},inputs:{metadata:"metadata",key:"key",prefKey:"prefKey",computeCountFor:"computeCountFor"},decls:5,vars:7,consts:[[1,"unstyled-button","stat-card",3,"title"],[4,"ngIf"],[1,"big-number"]],template:function(a,b){a&1&&(F(0,"button",0),T(1,"async"),F(2,"label"),R(3),G(),C(4,mOa,3,3,"ng-container",1),G());if(a&2){var c;D("title",(c=b.filter.tooltip)!==null&&c!==void 0?c:"");Bf("aria-pressed",
V(1,5,b.active$))("disabled",b.isDisabled()?"true":null);z(3);lg(b.filter.displayAs);z();D("ngIf",b.metadata||b.countDisplay!==void 0)}},dependencies:[Gv,Lv],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 fQ=function(){};fQ.\u0275fac=function(a){return new (a||fQ)};fQ.\u0275mod=dd({type:fQ});fQ.\u0275inj=Ic({imports:[BB,JM,AB,ML]});var gQ=function(a){var b=this;this.issueFridge=a;this.query$=new W.ReplaySubject(1);this.issues$=this.query$.pipe(pf(function(c){return b.issueFridge.watchMany(c)}),y(function(c){return c.results}))};ea.Object.defineProperties(gQ.prototype,{query:{configurable:!0,enumerable:!0,set:function(a){a!=null&&this.query$.next(a)}}});gQ.\u0275fac=function(a){return new (a||gQ)(A(jG))};
gQ.\u0275cmp=p({type:gQ,selectors:[["stat-cards-list"]],inputs:{prefKey:"prefKey",query:"query"},decls:17,vars:32,consts:[[1,"flex-kids-x","gap"],["key","OPEN",3,"prefKey","computeCountFor"],["key","BROAD_IN_PROGRESS",3,"prefKey","computeCountFor"],["key","ASSIGNED_TO_ME",3,"prefKey","computeCountFor"],["key","NEWLY_FILED",3,"prefKey","computeCountFor"],["key","RECENTLY_ACTIVE",3,"prefKey","computeCountFor"],["key","HIGH_PRIORITY",3,"prefKey","computeCountFor"],["key","TRENDING",3,"prefKey","computeCountFor"],
["key","PROGRESS",3,"prefKey","computeCountFor"]],template:function(a,b){a&1&&(F(0,"div",0),H(1,"qif-stat",1),T(2,"async"),H(3,"qif-stat",2),T(4,"async"),H(5,"qif-stat",3),T(6,"async"),H(7,"qif-stat",4),T(8,"async"),H(9,"qif-stat",5),T(10,"async"),H(11,"qif-stat",6),T(12,"async"),H(13,"qif-stat",7),T(14,"async"),H(15,"qif-stat",8),T(16,"async"),G());a&2&&(z(),D("prefKey",b.prefKey)("computeCountFor",V(2,16,b.issues$)),z(2),D("prefKey",b.prefKey)("computeCountFor",V(4,18,b.issues$)),z(2),D("prefKey",
b.prefKey)("computeCountFor",V(6,20,b.issues$)),z(2),D("prefKey",b.prefKey)("computeCountFor",V(8,22,b.issues$)),z(2),D("prefKey",b.prefKey)("computeCountFor",V(10,24,b.issues$)),z(2),D("prefKey",b.prefKey)("computeCountFor",V(12,26,b.issues$)),z(2),D("prefKey",b.prefKey)("computeCountFor",V(14,28,b.issues$)),z(2),D("prefKey",b.prefKey)("computeCountFor",V(16,30,b.issues$)))},dependencies:[eQ,Lv],styles:["[_nghost-%COMP%]{display:block;padding-left:1px}\n/*# sourceMappingURL=stat_cards_list.css.map */"],
changeDetection:0});var hQ=function(a){this.metadataFridge=a;this.id$=new W.ReplaySubject(1);this.metadata$=this.id$.pipe(pf(this.metadataFridge.watchOne))};ea.Object.defineProperties(hQ.prototype,{id:{configurable:!0,enumerable:!0,set:function(a){this.id$.next(a);this.idInternal=a},get:function(){return this.idInternal}}});hQ.\u0275fac=function(a){return new (a||hQ)(A(VB))};
hQ.\u0275cmp=p({type:hQ,selectors:[["stat-cards-project"]],inputs:{id:"id"},decls:5,vars:8,consts:[[1,"flex-kids-x","gap"],["key","OPEN",3,"prefKey","metadata"],["key","BROAD_IN_PROGRESS",3,"prefKey","metadata"]],template:function(a,b){a&1&&(F(0,"div",0),H(1,"qif-stat",1),T(2,"async"),H(3,"qif-stat",2),T(4,"async"),G());a&2&&(z(),D("prefKey",b.id)("metadata",V(2,4,b.metadata$)),z(2),D("prefKey",b.id)("metadata",V(4,6,b.metadata$)))},dependencies:[eQ,Lv],styles:["[_nghost-%COMP%]{display:block;padding-left:1px}\n/*# sourceMappingURL=stat_cards_project.css.map */"],
changeDetection:0});var iQ=function(){};iQ.\u0275fac=function(a){return new (a||iQ)};iQ.\u0275mod=dd({type:iQ});iQ.\u0275inj=Ic({imports:[BB,JM,AB,ML,ZP,fQ]});var smc=["button"],jQ=function(){this.color="primary";this.format="hairline";this.disabled=!1;this.size="medium";this.onAction=new XF};jQ.prototype.onClick=function(a){this.onAction.emit(a)};jQ.prototype.focus=function(){this.nativeButton.focus()};jQ.\u0275fac=function(a){return new (a||jQ)};
jQ.\u0275cmp=p({type:jQ,selectors:[["b-button"]],viewQuery:function(a,b){a&1&&fg(smc,5);if(a&2){var c;jg(c=kg())&&(b.nativeButton=c.first)}},inputs:{color:"color",format:"format",disabled:"disabled",size:"size",bAriaLabel:"bAriaLabel",bAriaExpanded:"bAriaExpanded",tooltip:"tooltip"},outputs:{onAction:"onAction"},ngContentSelectors:["*"],decls:8,vars:5,consts:[["buttonContent",""],["button",""],[3,"ngSwitch"],["type","button","mat-stroked-button","",3,"color","disabled","ngClass","matTooltip","click",
4,"ngSwitchCase"],["type","button","mat-button","",3,"color","disabled","ngClass","matTooltip","click",4,"ngSwitchCase"],["type","button","mat-flat-button","",3,"color","disabled","ngClass","matTooltip","click",4,"ngSwitchCase"],["type","button","mat-icon-button","",3,"color","disabled","ngClass","matTooltip","click",4,"ngSwitchCase"],["type","button","mat-stroked-button","",3,"color","disabled","ngClass","matTooltip","click",4,"ngSwitchDefault"],["type","button","mat-stroked-button","",3,"click",
"color","disabled","ngClass","matTooltip"],[4,"ngTemplateOutlet"],["type","button","mat-button","",3,"click","color","disabled","ngClass","matTooltip"],["type","button","mat-flat-button","",3,"click","color","disabled","ngClass","matTooltip"],["type","button","mat-icon-button","",3,"click","color","disabled","ngClass","matTooltip"]],template:function(a,b){a&1&&(Xf(),C(0,nOa,1,0,"ng-template",null,0,yg),K(2,2),C(3,pOa,3,7,"button",3)(4,rOa,3,7,"button",4)(5,tOa,3,7,"button",5)(6,vOa,3,7,"button",6)(7,
xOa,3,7,"button",7),L());a&2&&(z(2),D("ngSwitch",b.format),z(),D("ngSwitchCase","hairline"),z(),D("ngSwitchCase","flat"),z(),D("ngSwitchCase","fill"),z(),D("ngSwitchCase","icon"))},dependencies:[IH,Rx,Tx,LH,OH,Ev,Kv,Hv,Iv,Jv],encapsulation:2,changeDetection:0});var tmc="focus-indicator title type team id assignee status menu".split(" "),umc="focus-indicator drag-handle title type id assignee status menu".split(" "),vmc="priority title assignee status id modifiedTime".split(" "),wmc="priority title assignee progress id modifiedTime".split(" "),xmc="focus-indicator drag-handle title assignee status id menu".split(" "),ymc={modes:{assignee:"avatar-if-open",modifiedTime:"relativepast"},rowLimit:15},zmc={modes:{assignee:"avatar-if-open"},hideColumnHeaders:!0};var kQ=function(a){this.activeSession=a},Amc=function(a){var b;if((a=(b=a.activeSession.getTracker())==null?void 0:b.trackerId)&&a!=="0")return[a]},lQ=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:Bmc(a,b,!0,c.trackerId,d)):a=Bmc(a,b,!1,"",d);return a},Bmc=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},mr=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}};kQ.\u0275fac=function(a){return new (a||kQ)(n(Ir))};kQ.\u0275prov=Hc({token:kQ,factory:kQ.\u0275fac,providedIn:"root"});var mQ=function(a,b,c,d){this.activeSession=a;this.documentationLinks=b;this.trackerHelpers=c;this.imageUrls=d;this.compactMode=!1;this.showHovercard=!0;this.isGlobalBuganizer=!1;this.logoDark=this.logoLight=this.extendedName=this.name=this.redirectUrl=""};
mQ.prototype.ngOnChanges=function(a){if(a.tracker||a.isGlobalBuganizer){this.redirectUrl=lQ(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}};mQ.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:""};mQ.\u0275fac=function(a){return new (a||mQ)(A(Ir),A(oI),A(kQ),A(VP))};
mQ.\u0275cmp=p({type:mQ,selectors:[["b-tracker-chip"]],inputs:{tracker:"tracker",compactMode:"compactMode",showHovercard:"showHovercard",isGlobalBuganizer:"isGlobalBuganizer"},features:[td],decls:1,vars:1,consts:[["card","onedevHovercard"],[4,"ngIf"],[1,"chippy","rounded",3,"onedevHovercardTrigger","onedevHovercardActive"],["alt","",1,"logo","light-only",3,"src"],["alt","",1,"logo","dark-only",3,"src"],["class","name",4,"ngIf"],[1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],[1,"hovertext"],
[1,"flex-kids-y","padded-s-top","actions"],["mat-button","","target","_blank",1,"gmat-button","primary",3,"href"],["mat-button","","class","gmat-button primary","target","_blank",3,"href",4,"ngIf"],[1,"name"]],template:function(a,b){a&1&&C(0,BOa,16,12,"ng-container",1);a&2&&D("ngIf",b.tracker||b.isGlobalBuganizer)},dependencies:[Gv,$H,gI,pE],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 nQ=function(a,b){var c=this;this.activeSession=a;this.trackerFridge=b;this.compactMode=!1;this.showHovercard=!0;this.trackerId$=new W.BehaviorSubject(void 0);this.tracker$=this.trackerId$.pipe(pf(function(d){return d?c.trackerFridge.watch(d).pipe($e(function(){return(0,W.of)(void 0)})):(0,W.of)(void 0)}));this.isCurrentTracker$=this.trackerId$.pipe(y(function(d){var e,f=(e=c.activeSession.getTracker())==null?void 0:e.trackerId;return f?f===d:!d}))};
nQ.prototype.ngOnChanges=function(a){a.trackerId&&this.trackerId$.next(this.trackerId)};ea.Object.defineProperties(nQ.prototype,{isGlobalBuganizer:{configurable:!0,enumerable:!0,get:function(){return!this.trackerId$.value}}});nQ.\u0275fac=function(a){return new (a||nQ)(A(Ir),A(pH))};
nQ.\u0275cmp=p({type:nQ,selectors:[["b-tracker-chip-smart"]],inputs:{trackerId:"trackerId",compactMode:"compactMode",showHovercard:"showHovercard"},features:[td],decls:2,vars:3,consts:[[3,"tracker","compactMode","showHovercard","isGlobalBuganizer",4,"ngIf"],[3,"tracker","compactMode","showHovercard","isGlobalBuganizer"]],template:function(a,b){a&1&&(C(0,COa,2,6,"b-tracker-chip",0),T(1,"async"));a&2&&D("ngIf",V(1,1,b.isCurrentTracker$)===!1)},dependencies:[Gv,mQ,Lv],encapsulation:2,changeDetection:0});var oQ=function(){};oQ.\u0275fac=function(a){return new (a||oQ)};oQ.\u0275cmp=p({type:oQ,selectors:[["b-async-data-placeholder"]],inputs:{isReady:"isReady"},ngContentSelectors:["*"],decls:2,vars:2,consts:[["class","animated-loading-bar",4,"ngIf"],[4,"ngIf"],[1,"animated-loading-bar"]],template:function(a,b){a&1&&(Xf(),C(0,DOa,1,0,"div",0)(1,EOa,2,0,"ng-container",1));a&2&&(D("ngIf",!b.isReady),z(),D("ngIf",b.isReady))},dependencies:[Gv],encapsulation:2});var pQ=function(a){this.appEvents=a;this.issue=null;this.enableHovercard=this.useButtonToNavigate=!1;this.title="";this.isDataLoaded=!1;this.link=""};pQ.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:"")};pQ.prototype.getIssueUrl=function(a){return this.issueUrlFactory?this.issueUrlFactory(a):zo.viewIssue.makeHref(a)};
var FOa=function(a){var b,c=(b=a.issue)==null?void 0:b.issueId;c!=null&&a.appEvents.didShowIssueHovercard.next(c)};pQ.\u0275fac=function(a){return new (a||pQ)(A(yE))};
pQ.\u0275cmp=p({type:pQ,selectors:[["b-issue-title-cell"]],hostAttrs:[1,"flex-kids-x","line-clamp-3"],inputs:{issue:"issue",issueUrlFactory:"issueUrlFactory",useButtonToNavigate:"useButtonToNavigate",anchorTarget:"anchorTarget",enableHovercard:"enableHovercard",trailingChip:"trailingChip"},features:[td],decls:9,vars:7,consts:[["useLinkToNavigate",""],["issueHovercard","onedevHovercard"],[1,"title","title-location",3,"isReady"],[3,"trackerId","compactMode"],[4,"ngIf","ngIfElse"],["class","b-chip s margin-s-left",
3,"class","matTooltip",4,"ngIf"],[3,"issueId",4,"ngIf"],[1,"line-clamp-3",3,"onedevHovercardShown","onedevHovercardTrigger","onedevHovercardActive"],["mat-icon-button","","tabindex","0","matTooltip","Open issue in a new tab","aria-label","Open issue",1,"small","visible-on-row-active","hover-link",3,"keydown","click","routerLink","target","matTooltipShowDelay"],["svgIcon","pop-out",1,"icon-s"],[1,"hover-link","line-clamp-3","break-word",3,"keydown","click","onedevHovercardShown","routerLink","target",
"onedevHovercardTrigger","onedevHovercardActive"],[1,"b-chip","s","margin-s-left",3,"matTooltip"],[3,"issueId"]],template:function(a,b){a&1&&(F(0,"b-async-data-placeholder",2),H(1,"b-tracker-chip-smart",3),C(2,GOa,5,6,"ng-container",4)(3,HOa,2,5,"ng-template",null,0,yg)(5,IOa,2,7,"span",5),G(),F(6,"onedev-hovercard",null,1),C(8,JOa,1,1,"b-issue-card",6),G());a&2&&(a=Q(4),D("isReady",b.isDataLoaded),z(),D("trackerId",b.issue==null?null:b.issue.trackerId)("compactMode",!0),z(),D("ngIf",b.useButtonToNavigate)("ngIfElse",
a),z(3),D("ngIf",b.trailingChip),z(3),D("ngIf",b.issue))},dependencies:[oQ,Gv,zB,rB,pE,LH,OH,nQ,VN,$H,gI],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 qQ=function(){this.expandable=this.issue=null;this.expanded=!1;this.level=0;this.expansionChange=new XF;this.title=""};qQ.prototype.ngOnChanges=function(){var a,b;this.title=((a=this.issue)==null?void 0:(b=a.snapshot[0])==null?void 0:b.title)||""};qQ.\u0275fac=function(a){return new (a||qQ)};
qQ.\u0275cmp=p({type:qQ,selectors:[["b-expandable-issue-title-cell"]],inputs:{issue:"issue",expandable:"expandable",expanded:"expanded",level:"level"},outputs:{expansionChange:"expansionChange"},features:[td],decls:4,vars:5,consts:[[1,"flex-kids-x","align-items-center"],["mat-icon-button","","class","gmat-button medium expander",3,"collapsed","click",4,"ngIf"],["class","leaf",4,"ngIf"],[3,"issue"],["mat-icon-button","",1,"gmat-button","medium","expander",3,"click"],["name","arrow-dropdown","size",
"small"],[1,"leaf"]],template:function(a,b){a&1&&(F(0,"div",0),C(1,KOa,2,3,"button",1)(2,LOa,1,0,"div",2),H(3,"b-issue-title-cell",3),G());a&2&&(Jf("margin-left",b.level*24,"px"),z(),D("ngIf",b.expandable),z(),D("ngIf",!b.expandable),z(),D("issue",b.issue))},dependencies:[Gv,hN,oE,pQ],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 rQ=function(){this.issue=null;this.isDataLoaded=!1};rQ.prototype.ngOnChanges=function(){var a;this.assignee=eHa(sm((a=this.issue)==null?void 0:a.snapshot[0].assigneeUser)||void 0);this.isDataLoaded=this.issue!==null};rQ.\u0275fac=function(a){return new (a||rQ)};
rQ.\u0275cmp=p({type:rQ,selectors:[["b-issue-assignee-cell"]],inputs:{issue:"issue"},features:[td],decls:4,vars:3,consts:[["noData",""],[3,"isReady"],[3,"email",4,"ngIf","ngIfElse"],[3,"email"]],template:function(a,b){a&1&&(F(0,"b-async-data-placeholder",1),C(1,MOa,2,2,"b-person-hovercard",2)(2,NOa,1,0,"ng-template",null,0,yg),G());a&2&&(a=Q(3),D("isReady",b.isDataLoaded),z(),D("ngIf",b.assignee)("ngIfElse",a))},dependencies:[oQ,Gv,oL],encapsulation:2,changeDetection:0});var sQ=function(){this.relayOnly=!1;this.keydown$=new W.Subject};sQ.prototype.onKeydown=function(a){this.relayOnly||this.keydown$.next(a)};ea.Object.defineProperties(sQ.prototype,{tabindex:{configurable:!0,enumerable:!0,get:function(){return this.relayOnly?null:"0"}}});sQ.\u0275fac=function(a){return new (a||sQ)};
sQ.\u0275dir=fd({type:sQ,selectors:[["","onedevKeyEventReceiver",""]],hostVars:1,hostBindings:function(a,b){a&1&&M("keydown",function(c){return b.onKeydown(c)});a&2&&Bf("tabindex",b.tabindex)},inputs:{relayOnly:"relayOnly"}});var Cmc=0,tQ=function(a){this.keyEventReceiver=a;this.id="onedev-popup-panel-"+Cmc;this.closePanel$=new W.ReplaySubject(1);Cmc++};tQ.prototype.processKeydown=function(a){this.keyEventReceiver&&this.keyEventReceiver.keydown$.next(a);var b=a.code;(b==="Escape"||a.altKey&&b==="ArrowUp")&&this.closePanel$.next()};tQ.\u0275fac=function(a){return new (a||tQ)(A(sQ,8))};
tQ.\u0275cmp=p({type:tQ,selectors:[["onedev-popup-panel"]],viewQuery:function(a,b){a&1&&fg(cg,7);if(a&2){var c;jg(c=kg())&&(b.templateRef=c.first)}},inputs:{className:"className"},exportAs:["onedevPopupPanel"],ngContentSelectors:["*"],decls:1,vars:0,consts:[[1,"onedev-popup-panel","gmat-elevation-z2",3,"keydown"]],template:function(a){a&1&&(Xf(),C(0,OOa,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 uQ=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 Xu;this.closed=new Xu;this.isOpen=!1;this.destroyed$=new W.ReplaySubject(1);this.closingActionsSubscription=W.Subscription.EMPTY};uQ.prototype.ngOnDestroy=function(){this.close();this.destroyed$.next();this.destroyed$.complete()};
uQ.prototype.open=function(){var a=this;this.disabled||this.isOpen||(this.overlayRef=this.createOverlay(),this.templatePortal=new Ow(this.popupPanel.templateRef,this.viewContainerRef),this.overlayRef.attach(this.templatePortal),this.closingActionsSubscription=Dmc(this).pipe(qf(this.destroyed$)).subscribe(function(){a.close()}),this.trapFocus(),this.isOpen=!0,this.opened.emit())};
uQ.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()}};
uQ.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 Dmc=function(a){var b=a.overlayRef.backdropClick(),c=a.overlayRef._detachments,d=a.popupPanel.closePanel$;return a.closeOnBackdropClick?(0,W.merge)(b,c,d):(0,W.merge)(c,d)};
uQ.prototype.trapFocus=function(){this.overlayRef&&(this.focusTrap=this.focusTrapFactory.create(this.overlayRef.hostElement),this.focusTrap.focusInitialElement())};
uQ.prototype.getPositionStrategy=function(){return px(qx(rx(ux(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"}])};uQ.prototype.getScrollStrategy=function(){return this.overlay.scrollStrategies.reposition()};
ea.Object.defineProperties(uQ.prototype,{onedevPopupPanelTriggerFor:{configurable:!0,enumerable:!0,get:function(){return this.popupPanel},set:function(a){this.popupPanel=a}}});uQ.\u0275fac=function(a){return new (a||uQ)(A(vx),A(Rd),A(dg),A(Cw),A(Ig))};
uQ.\u0275dir=fd({type:uQ,selectors:[["","onedevPopupPanelTrigger",""]],hostAttrs:["aria-haspopup","true"],hostVars:3,hostBindings:function(a,b){a&2&&Bf("aria-disabled",b.disabled)("aria-expanded",b.isOpen||null)("aria-controls",b.isOpen?b.popupPanel.id:null)},inputs:{onedevPopupPanelTriggerFor:"onedevPopupPanelTriggerFor",disabled:[0,"onedevPopupPanelTriggerDisabled","disabled"],closeOnBackdropClick:[0,"onedevPopupPanelTriggerCloseOnBackdropClick","closeOnBackdropClick"]},outputs:{opened:"onedevPopupPanelTriggerOpened",
closed:"onedevPopupPanelTriggerClosed"},exportAs:["onedevPopupPanelTrigger"],standalone:!0});var vQ=function(a,b,c,d){Z.call(this);this.activeSession=a;this.trackerHelpers=b;this.clipboard=c;this.butterBar=d;this.componentId=0;this.issueTitle=this.issueId="";this.disabled=this.isExternalIssue=!1;this.showCopyOptions=this.enableHotkeys=!0;this.isOpen=!1;this.HOTKEYS=Sq};X(vQ,Z);vQ.\u0275dir=Z.\u0275dir;vQ.prototype.copyIssueId=function(){this.clipboard.copy(this.issueId);Ap(this.butterBar,"Issue ID copied",2E3)};var jp=function(a,b){a.clipboard.copy(b.value);a.trigger.close()};
vQ.prototype.getIssueUrl=function(){return this.getAppBaseUrl(this.isExternalIssue)};vQ.prototype.getAppBaseUrl=function(a){return lQ(this.trackerHelpers,this.issueId,void 0,a===void 0?!1:a)};vQ.\u0275fac=function(a){return new (a||vQ)(A(Ir),A(kQ),A(MH),A(sE))};
vQ.\u0275cmp=p({type:vQ,selectors:[["b-issue-id-picker"]],viewQuery:function(a,b){a&1&&fg(uQ,5);if(a&2){var c;jg(c=kg())&&(b.trigger=c.first)}},inputs:{componentId:"componentId",issueId:"issueId",issueTitle:"issueTitle",isExternalIssue:"isExternalIssue",disabled:"disabled",enableHotkeys:"enableHotkeys",showCopyOptions:"showCopyOptions"},features:[zf],decls:4,vars:6,consts:[["trigger","onedevPopupPanelTrigger"],["contentPanel","onedevPopupPanel"],["issueIdField",""],["issueUrlField",""],["urlAndTitleField",
""],["issueShortlinkField",""],["issueEmailField",""],["todoCommentField",""],["matTooltip","Copy issue ID","matTooltipShowDelay","750","disableRipple","true",1,"unstyled","square-right","issue-id",3,"click"],["svgIcon","copy","class","icon-xs invisible",4,"ngIf"],[4,"ngIf"],["svgIcon","copy",1,"icon-xs","invisible"],["matTooltip","Show links for this issue","onedevPopupPanelTrigger","","disableRipple","true",1,"unstyled","square-left",3,"onHotkey","onedevPopupPanelTriggerOpened","onedevPopupPanelTriggerClosed",
"click","onedevPopupPanelTriggerFor","hotkey","hotkeyEnabled"],["svgIcon","arrow-dropdown",1,"icon-xs"],["role","region"],["class","issue-id-picker-popup","cdkTrapFocus","",3,"cdkTrapFocusAutoCapture",4,"ngIf"],["cdkTrapFocus","",1,"issue-id-picker-popup",3,"cdkTrapFocusAutoCapture"],[1,"id-details-row"],[3,"htmlFor"],["cdkFocusInitial","","type","text","readonly","","id","id-details-issue-id-field",1,"value",3,"onHotkey","focus","hotkey","hotkeyEnabled"],["class","muted shortcut",4,"ngIf"],["mat-icon-button",
"","tabindex","-1","aria-label","Copy ID","matTooltip","Copy ID",1,"gmat-button","copy",3,"onHotkey","click","hotkey","hotkeyEnabled"],["svgIcon","copy",1,"icon-s"],["class","id-details-row",4,"ngIf"],["type","text","readonly","","id","id-details-issue-url-field",1,"value",3,"onHotkey","focus","hotkey","hotkeyEnabled"],["mat-icon-button","","tabindex","-1","aria-label","Copy URL","matTooltip","Copy URL",1,"gmat-button","copy",3,"onHotkey","click","hotkey","hotkeyEnabled"],["type","text","readonly",
"","id","id-details-url-and-title-field",1,"value",3,"onHotkey","focus","hotkey","hotkeyEnabled"],["mat-icon-button","","tabindex","-1","aria-label","Copy text","matTooltip","Copy text",1,"gmat-button","copy",3,"onHotkey","click","hotkey","hotkeyEnabled"],[1,"muted","shortcut"],["type","text","readonly","","id","id-details-issue-shortlink-field",1,"value",3,"onHotkey","focus","hotkey","hotkeyEnabled"],["mat-icon-button","","tabindex","-1","aria-label","Copy shortlink","matTooltip","Copy shortlink",
1,"gmat-button","copy",3,"onHotkey","click","hotkey","hotkeyEnabled"],["type","text","readonly","","id","id-details-issue-email-field","matTooltip","Email this address to add comments to this issue",1,"value",3,"onHotkey","focus","hotkey","hotkeyEnabled"],["mat-icon-button","","tabindex","-1","aria-label","Copy email","matTooltip","Copy email",1,"gmat-button","copy",3,"onHotkey","click","hotkey","hotkeyEnabled"],["type","text","readonly","","id","id-details-todo-comment-field","matTooltip","TODO comment for code",
1,"value",3,"onHotkey","focus","hotkey","hotkeyEnabled"],["mat-icon-button","","tabindex","-1","aria-label","Copy comment","matTooltip","Copy comment",1,"gmat-button","copy",3,"onHotkey","click","hotkey","hotkeyEnabled"]],template:function(a,b){a&1&&(F(0,"button",8),M("click",function(){return b.copyIssueId()}),R(1),C(2,POa,1,0,"mat-icon",9),G(),C(3,$Oa,7,5,"ng-container",10));a&2&&(Kf("square-right",b.showCopyOptions),Bf("aria-label","Copy issue number "+b.issueId),z(),S(" ",b.issueId," "),z(),D("ngIf",
!b.showCopyOptions),z(),D("ngIf",b.showCopyOptions))},dependencies:[mw,Gv,zB,MN,oE,LH,OH,tQ,uQ],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)}"],
changeDetection:0});var wQ=function(){};wQ.prototype.ngOnInit=function(){};wQ.prototype.onClick=function(a){a.stopPropagation()};wQ.\u0275fac=function(a){return new (a||wQ)};
wQ.\u0275cmp=p({type:wQ,selectors:[["b-issue-id-cell"]],hostBindings:function(a,b){a&1&&M("click",function(c){return b.onClick(c)})},inputs:{id:"id"},decls:2,vars:2,consts:[[3,"isReady"],[3,"issueId","showCopyOptions",4,"ngIf"],[3,"issueId","showCopyOptions"]],template:function(a,b){a&1&&(F(0,"b-async-data-placeholder",0),C(1,aPa,1,2,"b-issue-id-picker",1),G());a&2&&(D("isReady",!!b.id),z(),D("ngIf",b.id))},dependencies:[oQ,Gv,vQ],encapsulation:2,changeDetection:0});var xQ=function(a){this.changelistFridge=a;this.IssueStatus=W3b;this.STATUS_JS_FULL_TEXT=Mm;this.STATUS_JS_TERSE=a5b;this.issue=null;this.isDataLoaded=!1};xQ.prototype.ngOnChanges=function(){if(this.showPendingFix&&this.issue){var a=this.changelistFridge.peekAllRecords(),b;this.pendingFixCl=fPa(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};
xQ.\u0275fac=function(a){return new (a||xQ)(A(lC))};
xQ.\u0275cmp=p({type:xQ,selectors:[["b-issue-status-cell"]],inputs:{issue:"issue",showPendingFix:"showPendingFix"},features:[td],decls:5,vars:2,consts:[["noData",""],[3,"isReady"],["target","_blank",3,"class","href","matTooltip"],[3,"class","title"],["target","_blank",3,"href","matTooltip"],[3,"class","title",4,"ngIf","ngIfElse"],[3,"title"]],template:function(a,b){a&1&&(F(0,"b-async-data-placeholder",1),C(1,bPa,2,8,"a",2)(2,dPa,1,2,"div",3)(3,ePa,1,0,"ng-template",null,0,yg),G());if(a&2){var c;D("isReady",
b.isDataLoaded);z();Of((c=b.pendingFixCl)?1:2,c)}},dependencies:[oQ,Gv,LH,OH],encapsulation:2,changeDetection:0});var Emc=0,yQ=function(a,b){Z.call(this);var c=this;this.teamsService=b;this.ROUTES=zo;this.anchorLinkEnabled=!0;this.teamNotAssignedMessage="No team assigned";this.linkFocused=new XF;this.linkBlurred=new XF;this.teamName=this.teamId;this.teamLogoUrl=this.teamDescription="";this.providedTeamId$=new W.ReplaySubject(1);this.teamLinkId="b-team-link-content-"+Emc;this.fetchedTeam$=this.providedTeamId$.pipe(df(),te(function(d){return d!=="0"}),pf(function(d){return hH(c.teamsService,d)}));this.isTeamFetched$=
this.fetchedTeam$.pipe(y(function(){return!0}),of(!1));this.fetchedTeam$.pipe(qf(this.destroyed$)).subscribe(function(d){c.teamName=d.name;c.teamDescription=d.description;c.teamLogoUrl="https://moma-teams-photos.corp.google.com/logo/"+d.teamId});Emc++};X(yQ,Z);yQ.\u0275dir=Z.\u0275dir;yQ.prototype.ngOnInit=function(){};yQ.prototype.ngOnChanges=function(a){a.teamId&&this.providedTeamId$.next(this.teamId)};yQ.prototype.trackClick=function(a){Gn("teamCard","click",a,1)};
yQ.prototype.linkAriaLabelledBy=function(){if(this.labelledById)return this.labelledById+" "+this.teamLinkId};yQ.\u0275fac=function(a){return new (a||yQ)(A(Ir),A(gH))};
yQ.\u0275cmp=p({type:yQ,selectors:[["b-team-card"]],inputs:{teamId:"teamId",componentId:"componentId",anchorLinkEnabled:"anchorLinkEnabled",teamNotAssignedMessage:"teamNotAssignedMessage",labelledById:"labelledById"},outputs:{linkFocused:"linkFocused",linkBlurred:"linkBlurred"},features:[zf,td],decls:21,vars:9,consts:[["role","dialog","aria-label","Team hovercard",1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],[1,"flex-kids-x"],["alt","Team logo"],[1,"flex-kids-y","margin-s-left","margin-s-bottom"],
[1,"type-m"],["svgIcon","supervisor_account_24px",1,"icon-xxs"],[1,"type-s","id-text"],[1,"card-description"],[1,"flex-kids-y","padded-s-top","hovercard-action-container"],["aria-label","View team settings",3,"click","routerLink"],["mat-button","",1,"gmat-button","primary","hovercard-action"],["target","_blank","aria-label","View team in Moma",3,"click","href"],["svgIcon","pop-out",1,"icon-xxs"],["aria-label","View team association on component",3,"href","click",4,"ngIf"],["aria-label","View team association on component",
3,"click","href"]],template:function(a,b){a&1&&(F(0,"div",0)(1,"div",1)(2,"div",2),H(3,"img",3),F(4,"div",4)(5,"div",5),H(6,"mat-icon",6),R(7),G(),F(8,"div",7),R(9),G()()(),F(10,"p",8),R(11),G(),F(12,"div",9)(13,"a",10),M("click",function(){return b.trackClick("viewTeamSettingsPage")}),F(14,"button",11),R(15,"View team settings"),G()(),F(16,"a",12),M("click",function(){return b.trackClick("viewTeamInMoma")}),F(17,"button",11),R(18,"View team in Moma "),H(19,"mat-icon",13),G()(),C(20,gPa,3,1,"a",14),
G()()());a&2&&(z(3),Bf("src",b.teamLogoUrl,Qe),z(4),S(" Team: ",b.teamName," "),z(2),S("Team ID: ",b.teamId,""),z(2),lg(b.teamDescription),z(2),Zf("routerLink","/teams/",b.teamId,"/edit"),z(3),Zf("href","https://moma.corp.google.com/team/",b.teamId,"",Qe),z(4),D("ngIf",b.componentId))},dependencies:[Gv,zB,rB,oE],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 Fmc=0,zQ=function(a){Z.call(this);var b=this;this.teamsService=a;this.anchorLinkEnabled=!0;this.teamNotAssignedMessage="No team assigned";this.providedTeamId$=new W.ReplaySubject(1);this.teamLinkId="b-team-link-content-"+Fmc;this.teamName=this.teamId;this.fetchedTeam$=this.providedTeamId$.pipe(df(),te(function(c){return c!=="0"}),pf(function(c){return hH(b.teamsService,c)}));this.isTeamFetched$=this.fetchedTeam$.pipe(y(function(){return!0}),of(!1));this.fetchedTeam$.pipe(qf(this.destroyed$)).subscribe(function(c){b.teamName=
c.name});Fmc++};X(zQ,Z);zQ.\u0275dir=Z.\u0275dir;zQ.prototype.ngOnInit=function(){};zQ.prototype.ngOnChanges=function(a){a.teamId&&this.providedTeamId$.next(this.teamId)};zQ.prototype.trackClick=function(a){Gn("teamCard","click",a,1)};zQ.prototype.linkAriaLabelledBy=function(){if(this.labelledById)return this.labelledById+" "+this.teamLinkId};zQ.\u0275fac=function(a){return new (a||zQ)(A(gH))};
zQ.\u0275cmp=p({type:zQ,selectors:[["b-team-display"]],inputs:{teamId:"teamId",componentId:"componentId",anchorLinkEnabled:"anchorLinkEnabled",teamNotAssignedMessage:"teamNotAssignedMessage",labelledById:"labelledById"},features:[zf,td],decls:8,vars:6,consts:[["card","onedevHovercard"],["loading",""],[4,"ngIf","ngIfElse"],[3,"componentId","teamId"],["target","_blank","class","card-anchor keep-focus-ring",3,"href","onedevHovercardTrigger","click",4,"ngIf"],[3,"onedevHovercardTrigger",4,"ngIf"],["target",
"_blank",1,"card-anchor","keep-focus-ring",3,"click","href","onedevHovercardTrigger"],["svgIcon","pop-out",1,"icon-xs"],[3,"onedevHovercardTrigger"],["class","animated-loading-bar",4,"ngIf"],[4,"ngIf"],[1,"animated-loading-bar"]],template:function(a,b){a&1&&(C(0,jPa,3,2,"ng-container",2),T(1,"async"),F(2,"onedev-hovercard",null,0),K(4),H(5,"b-team-card",3),L(),G(),C(6,mPa,2,2,"ng-template",null,1,yg));a&2&&(a=Q(7),D("ngIf",b.teamId!="0"&&V(1,4,b.isTeamFetched$))("ngIfElse",a),z(5),D("componentId",
b.componentId==null?null:b.componentId.toString())("teamId",b.teamId.toString()))},dependencies:[Gv,zB,$H,gI,yQ,Lv]});var AQ=function(){this.issue=null;this.componentId=this.teamId="";this.isDataLoaded=!1};AQ.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};AQ.\u0275fac=function(a){return new (a||AQ)};
AQ.\u0275cmp=p({type:AQ,selectors:[["b-issue-team-cell"]],inputs:{issue:"issue"},features:[td],decls:4,vars:3,consts:[["noData",""],[3,"isReady"],["teamNotAssignedMessage","--",3,"teamId","componentId","anchorLinkEnabled",4,"ngIf","ngIfElse"],["teamNotAssignedMessage","--",3,"teamId","componentId","anchorLinkEnabled"]],template:function(a,b){a&1&&(F(0,"b-async-data-placeholder",1),C(1,nPa,1,3,"b-team-display",2)(2,oPa,1,0,"ng-template",null,0,yg),G());a&2&&(a=Q(3),D("isReady",b.isDataLoaded),z(),
D("ngIf",b.teamId)("ngIfElse",a))},dependencies:[oQ,Gv,zQ],encapsulation:2,changeDetection:0});var BQ=function(){this.type=this.issue=null;this.isDataLoaded=!1};BQ.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};BQ.\u0275fac=function(a){return new (a||BQ)};
BQ.\u0275cmp=p({type:BQ,selectors:[["b-issue-type-cell"]],inputs:{issue:"issue"},features:[td],decls:4,vars:3,consts:[["noData",""],[1,"nowrap",3,"isReady"],[4,"ngIf","ngIfElse"]],template:function(a,b){a&1&&(F(0,"b-async-data-placeholder",1),C(1,pPa,3,3,"ng-container",2)(2,qPa,1,0,"ng-template",null,0,yg),G());a&2&&(a=Q(3),D("isReady",b.isDataLoaded),z(),D("ngIf",b.type)("ngIfElse",a))},dependencies:[oQ,Gv,vJ],encapsulation:2,changeDetection:0});var Gmc=["theInput"],CQ=function(){this.placeholder=this.value="";this.readonly=!1;this.autoFocus=!0;this.valueChange=new XF;this.commit=new XF};CQ.prototype.ngAfterViewInit=function(){this.autoFocus&&this.input.nativeElement.focus()};CQ.\u0275fac=function(a){return new (a||CQ)};
CQ.\u0275cmp=p({type:CQ,selectors:[["b-text-input-cell"]],viewQuery:function(a,b){a&1&&fg(Gmc,5);if(a&2){var c;jg(c=kg())&&(b.input=c.first)}},inputs:{value:"value",placeholder:"placeholder",readonly:"readonly",autoFocus:"autoFocus"},outputs:{valueChange:"valueChange",commit:"commit"},decls:2,vars:7,consts:[["theInput",""],["type","text",3,"keydown.enter","ngModelChange","placeholder","disabled","ngModel"]],template:function(a,b){if(a&1){var c=u();F(0,"input",1,0);M("keydown.enter",function(d){v(c);
b.readonly||b.commit.emit(d);return x()})("ngModelChange",function(d){v(c);return x(b.valueChange.emit(d))});G()}a&2&&(Kf("readonly",b.readonly)("override",b.readonly),D("placeholder",b.placeholder)("disabled",b.readonly)("ngModel",b.value))},dependencies:[mh,qy,yy],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 Hmc={CANCEL:"CANCEL",ARCHIVE_ALL:"ARCHIVE_ALL",ARCHIVE_ONE:"ARCHIVE_ONE"},Imc=function(a,b){this.data=a;this.paths=b;this.descendantIssuesUrl=this.paths.listIssues({q:"parentId:"+this.data.issueId+"+"});this.numberOfDescendants=this.data.numberOfDescendants;this.ActionType=Hmc};Imc.\u0275fac=function(a){return new (a||Imc)(A(vI),A(pN))};
Imc.\u0275cmp=p({type:Imc,selectors:[["b-issue-archive-dialog"]],decls:18,vars:5,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["target","_blank",3,"href"],["href","http://go/b-issue-archive","target","_blank"],["mat-dialog-actions",""],["mat-button","",1,"gmat-button","medium",3,"matDialogClose"],["mat-flat-button","","color","primary","cdkFocusInitial","",1,"gmat-button","medium",3,"matDialogClose"]],template:function(a,b){a&1&&(F(0,"h1",0),R(1,"Archive with all descendant issues?"),
G(),F(2,"div",1),R(3),H(4,"br")(5,"br"),F(6,"a",2),R(7,"View all descendant issues"),G(),H(8,"br"),F(9,"a",3),R(10,"Learn more"),G()(),F(11,"div",4)(12,"button",5),R(13,"Cancel"),G(),F(14,"button",5),R(15," Just this one "),G(),F(16,"button",6),R(17," Archive all "),G()());a&2&&(z(3),S(" 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? "),z(3),$f("href",b.descendantIssuesUrl,
Qe),z(6),D("matDialogClose",b.ActionType.CANCEL),z(2),D("matDialogClose",b.ActionType.ARCHIVE_ONE),z(2),D("matDialogClose",b.ActionType.ARCHIVE_ALL))},dependencies:[oE,xI,zI,BI,AI],encapsulation:2});var DQ=function(a,b,c,d,e,f,h,k,q){this.issueApi=a;this.dialog=b;this.confirmationDialogService=c;this.issueRelationshipsFridge=d;this.issueFridge=e;this.eventsForIssueFridge=f;this.paths=h;this.butterBar=k;this.editIssueService=q};
DQ.prototype.submitArchivalState=function(a,b){var c=this;return fe(function(d){if(d.nextAddress==1)return b?he(d,c.archive(a),5):he(d,c.editIssueService.unarchive(a),0);c.issueFridge.poke(a);c.eventsForIssueFridge.poke(a);le(d)})};
DQ.prototype.archive=function(a){var b=this,c,d,e,f,h,k,q,t,w,B;return fe(function(E){if(E.nextAddress==1)return he(E,Promise.all([b.getDescendants(a),(0,W.firstValueFrom)(b.issueFridge.watch(a))]),2);c=E.yieldResult;d=l(c);e=d.next().value;f=d.next().value;h=e;k=f;q=h;t=q.childToParents;w=q.completeResult;B=[].concat(r(t.keys()));t.set(a,k.parentIssueIds||[]);return B.length===0?E.return(Jmc(b,a,t)):w?E.return(Kmc(b,a,B,t)):E.return(Lmc(b,a,t))})};
var Kmc=function(a,b,c,d){var e,f,h;return fe(function(k){if(k.nextAddress==1)return e={numberOfDescendants:c.length,issueId:b},f={data:e,width:"500px"},he(k,(0,W.firstValueFrom)(qI(a.dialog.open(Imc,f))),2);h=k.yieldResult;switch(h){case "ARCHIVE_ALL":return k.return(Mmc(a,[b].concat(r(c)),d));case "ARCHIVE_ONE":return k.return(Jmc(a,b,d));case "CANCEL":return k.return();default:return k.return(Dc(h))}})},Mmc=function(a,b,c){var d=[{issueIds:b,actions:[{fieldName:"isArchived",value:"true"}]}];Nmc(a,
c);Ap(a.butterBar,"Archiving "+b.length+" issues...");return a.issueApi.issueBulkEdit({bulkEditOps:d}).then(function(){Ap(a.butterBar,"Archived "+b.length+" issues successfully.")}).catch(function(e){a.butterBar.showWarning(e);Omc(a,c)})},Jmc=function(a,b,c){Nmc(a,c);return a.issueApi.updateIssue(b,{issueId:b,actions:[{fieldName:"isArchived",value:"true"}]}).then(function(){Ap(a.butterBar,"Archived successfully.")}).catch(function(d){a.butterBar.showWarning(d);Omc(a,c)})},Lmc=function(a,b,c){return new Promise(function(d){a.confirmationDialogService.open({title:"Archive issue with descendant issues?",
content:yh([wh("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."),zh("br",{}),zh("br",{}),zh("a",{href:a.paths.listIssues({q:"parentId:"+b+"+"}),target:"_blank"},"View all descendant issues"),zh("br",{}),zh("a",{href:"http://go/b-issue-archive",target:"_blank"},"Learn more")]),cancelButtonText:"Cancel",confirmButtonText:"Just this one",
onConfirm:function(){Jmc(a,b,c).then(d)},onDismiss:d})})},Nmc=function(a,b){b=l(b.entries());for(var c=b.next();!c.done;c=b.next()){var d=l(c.value);c=d.next().value;d=d.next().value;d=l(d);for(var e=d.next();!e.done;e=d.next())a.issueRelationshipsFridge.unlinkFromParent(c,e.value,!0)}},Omc=function(a,b){b=[].concat(r(b.values())).flat();b=l(b);for(var c=b.next();!c.done;c=b.next())a.issueRelationshipsFridge.poke(c.value)};
DQ.prototype.getDescendants=function(a){var b=this,c,d,e,f,h,k,q,t,w,B,E,I;return fe(function(J){if(J.nextAddress==1)return he(J,(0,W.firstValueFrom)(E8b(b.issueRelationshipsFridge,a)),2);c=J.yieldResult;d=c.results;e=!0;f=new Map;h=l(d);for(k=h.next();!k.done;k=h.next()){q=k.value;t=l(q.relatedChildren);for(w=t.next();!w.done;w=t.next())B=w.value,E=void 0,I=(E=f.get(B.targetIssueId))!=null?E:[],I.push(q.issueId),f.set(B.targetIssueId,I);q.totalChildCount===q.relatedChildren.length||(e=!1)}return J.return({childToParents:f,
completeResult:e})})};DQ.\u0275fac=function(a){return new (a||DQ)(n(PD),n(wI),n(EI),n(CG),n(jG),n(rF),n(pN),n(sE),n(LJ))};DQ.\u0275prov=Hc({token:DQ,factory:DQ.\u0275fac,providedIn:"root"});var EQ=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)};EQ.prototype.ngOnDestroy=function(){this.checks=[];window.removeEventListener("beforeunload",this.beforeUnloadEventHandler);window.removeEventListener("unload",this.onUnload)};var FQ=function(a,b,c){var d={dataChanged:b,triggerOnSearch:c};a.checks.push(d);return new W.Subscription(function(){a.checks=a.checks.filter(function(e){return e!==d})})};
EQ.prototype.canDeactivate=function(a,b,c,d){a:{a=fK(c.url).getPath()===fK(d.url).getPath();b=l(this.checks);for(c=b.next();!c.done;c=b.next())if(c=c.value,a){if(c.triggerOnSearch&&c.dataChanged()){a=!0;break a}}else if(c.dataChanged()){a=!0;break a}a=!1}return a?Pmc(this)?(this.checks=[],!0):!1:!0};var Pmc=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};
EQ.\u0275fac=function(a){return new (a||EQ)};EQ.\u0275prov=Hc({token:EQ,factory:EQ.\u0275fac,providedIn:"root"});var GQ=function(a){this.pathToAncestor=a},vp=function(a){return new GQ(a.split(">"))},Qmc=function(a,b){return new GQ([].concat(r(a.pathToAncestor),[b]))};GQ.prototype.hash=function(){return this.pathToAncestor.join(">")};GQ.prototype.equals=function(a){return!!a&&pi(this.pathToAncestor,a.pathToAncestor)};var Rmc=function(a,b){a=l(a.pathToAncestor.entries());for(var c=a.next();!c.done;c=a.next()){c=l(c.value);var d=c.next().value;if(c.next().value!==b.pathToAncestor[d])return!1}return!0};
GQ.prototype.contains=function(a){return this.pathToAncestor.join(",").includes(a.pathToAncestor.join(","))};GQ.prototype.some=function(a){return this.pathToAncestor.some(a)};GQ.prototype.toString=function(){return this.hash()};
ea.Object.defineProperties(GQ.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 GQ(this.pathToAncestor.slice(0,this.size-1))}},root:{configurable:!0,enumerable:!0,get:function(){return this.pathToAncestor[0]}}});var rp={displayAs:"Open",queryAtom:"status:open",tooltip:'Issues that match "status:open"'};var op=function(a){this.internalArray_=m(a)};X(op,Y);g=op.prototype;g.getIssueId=function(){return ej(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return ej(this,1)};g.getIssueId_asString=function(){return du(this,1)};g.setIssueId=function(a){return bj(this,1,a)};g.setScope=function(a){return cj(this,2,a)};g.setMaxResults=function(a){return Gi(this,5,a)};var np=function(a){this.internalArray_=m(a,0,np.messageId)};X(np,Y);np.prototype.getIt=function(){return $i(this,op,1)};np.prototype.setIt=function(a){return oj(this,op,1,a)};np.messageId="b.LookupSimilarIssuesRequest";var Smc=function(a){this.internalArray_=m(a)};X(Smc,Y);g=Smc.prototype;g.getIssueId=function(){return ej(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return ej(this,1)};g.getIssueId_asString=function(){return du(this,1)};g.setIssueId=function(a){return bj(this,1,a)};g.getScore=function(){return Aj(this,2)};g.setScore=function(a){return lk(this,2,a)};var Tmc=function(a){this.internalArray_=m(a)};X(Tmc,Y);Tmc.repeatedFields_=[1,2];var HQ=function(a){this.internalArray_=m(a,0,HQ.messageId)};X(HQ,Y);HQ.prototype.getIt=function(){return $i(this,Tmc,3)};HQ.prototype.setIt=function(a){return oj(this,Tmc,3,a)};HQ.messageId="b.LookupSimilarIssuesResponse";var Umc={},Vmc=(Umc[rp.queryAtom]=!0,Umc),IQ=function(a){this.executor=a},Wmc=function(a,b){return a.executor.post({url:"action/lookup_similar_issues",body:tPa(b),responseConstructor:HQ}).pipe(y(function(c){var d=xj(c.getIt(),em,1,yj()).map(ok);c=xj(c.getIt(),Smc,2,yj()).map(function(e){return e.getScore()});return{similarIssues:d,scores:c}}))},Xmc=function(a,b,c,d){d=d===void 0?new Set:d;d={maxResults:7,scope:mp.apply(null,[b?lp("-id",b):void 0,lp("modified","365d")].concat(r(Array.from(d).map(function(e){return e.queryAtom})))),
scopeSortOrder:"vote_count desc"};c==null?d.issueId=Number(b):d.keyword=c;return Wmc(a,d)},Ymc=function(a,b,c,d){d=d===void 0?new Set:d;return Wmc(a,{issueId:Number(b),maxResults:7,scope:mp.apply(null,[lp("-id",b),lp("id",c)].concat(r(Array.from(d).map(function(e){return e.queryAtom}).filter(function(e){return Vmc[e]}))))})};IQ.\u0275fac=function(a){return new (a||IQ)(n(IB))};IQ.\u0275prov=Hc({token:IQ,factory:IQ.\u0275fac,providedIn:"root"});var Zmc=Tm(function(a){var b,c;return(c=a==null?void 0:(b=a.aggregatedData)==null?void 0:b.voteCount)!=null?c:0},Um),$mc=new Set([rp]),JQ=function(a,b,c){this.issueFridge=a;this.similarIssuesApi=b;this.analytics=c;this.recentlyViewedIds$=this.issueFridge.watchMany({custom:"viewed",pageSize:50}).pipe(y(function(d){return d.results.map(function(e){return e.issueId})}));this.componentIdToRecentCanonicals=new Map},anc=function(a,b,c){c=c===void 0?$mc:c;var d=Xmc(a.similarIssuesApi,b,void 0,c),e=(0,W.of)([]).pipe(cf(5E3));
e=(0,W.race)(e,a.recentlyViewedIds$).pipe(pf(function(f){return Ymc(a.similarIssuesApi,b,f,c)}));return(0,W.combineLatest)([d,e]).pipe(y(function(f){var h=l(f);f=h.next().value;h=h.next().value;return uPa(f,h).similarIssues.slice(0,7)}),$e(function(f){Ei("IssuePickerSearchService::searchSimilarIssuesById() error: ",f);var h,k,q=(k=f==null?void 0:(h=f.error)==null?void 0:h.status)!=null?k:f==null?void 0:f.status;a.analytics.trackEvent("issue-picker-svc","error","by-id",q);return(0,W.of)([])}))},cnc=
function(a,b,c,d,e){c=c===void 0?$mc:c;return b.trim()?d==="canonical"?Xmc(a.similarIssuesApi,e==null?void 0:e.id,b,c).pipe(y(function(f){return f.similarIssues}),$e(function(f){Ei("IssuePickerSearchService::searchSimilarIssues() error: ",f);var h,k,q=(k=f==null?void 0:(h=f.error)==null?void 0:h.status)!=null?k:f==null?void 0:f.status;a.analytics.trackEvent("issue-picker-svc","error","by-text",q);return(0,W.of)([])})):bnc(a,b):(0,W.of)(void 0)};
JQ.prototype.search=function(a,b,c,d){var e=this;if(!a.trim())return(0,W.of)(void 0);if(b==="canonical"){b=dnc(this,a,d);d=enc(this,d).pipe(pf(function(h){return e.issueFridge.watchMany({filter:mp(a,lp("-id",c==null?void 0:c.id),lp("status","open"),lp("componentid",h)),pageSize:10})}),y(function(h){return h==null?void 0:h.results}));var f=this.issueFridge.watchMany({filter:mp(a,lp("-id",c==null?void 0:c.id)),pageSize:10,sort:"modified_time:desc"}).pipe(y(function(h){return h==null?void 0:h.results}),
of([]));return(0,W.combineLatest)([b,d,f]).pipe(y(function(h){return Rm(h.flat(),function(k){return k.issueId})}),y(function(h){return h.slice(0,10)}),y(function(h){return Zmc(h,"desc")}))}return bnc(this,a)};
var bnc=function(a,b){return a.issueFridge.watchMany({filter:b,pageSize:10}).pipe(y(function(c){return c==null?void 0:c.results}))},dnc=function(a,b,c){return c?fnc(a,c).pipe(pf(function(d){return d.length===0?(0,W.of)([]):a.issueFridge.watchMany({filter:mp(b,lp("id",d),lp("status","open")),pageSize:10}).pipe(y(function(e){return e==null?void 0:e.results}))})):(0,W.of)([])},fnc=function(a,b){if(!b)return(0,W.of)([]);if(a.componentIdToRecentCanonicals.has(b))return a.componentIdToRecentCanonicals.get(b);
var c=a.issueFridge.watchMany({filter:mp(lp("componentid",b,!0),lp("status","duplicate")),sort:"modified_time:desc",pageSize:250}).pipe(y(function(d){return d==null?void 0:d.results}),y(function(d){return d.map(function(e){return e.snapshot[0].duplicateOfIssueId})}),y(function(d){return Sm(d.filter(lj))}),mf({bufferSize:1,refCount:!0}));a.componentIdToRecentCanonicals.set(b,c);return c},enc=function(a,b){return b?fnc(a,b).pipe(pf(function(c){return a.issueFridge.watchSet(c)}),y(function(c){return c.map(function(d){return d.snapshot[0].componentId})}),
y(function(c){return[b].concat(r(c.filter(lj)))}),y(Sm),mf({bufferSize:1,refCount:!0})):(0,W.of)([])};JQ.\u0275fac=function(a){return new (a||JQ)(n(jG),n(IQ),n(bG))};JQ.\u0275prov=Hc({token:JQ,factory:JQ.\u0275fac,providedIn:"root"});var KQ=function(){this.mode="datetime";this.isDataLoaded=!1};KQ.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};KQ.\u0275fac=function(a){return new (a||KQ)};
KQ.\u0275cmp=p({type:KQ,selectors:[["b-issue-created-time-cell"]],inputs:{issue:"issue",mode:"mode"},features:[td],decls:4,vars:3,consts:[["noData",""],[1,"nowrap",3,"isReady"],[3,"mode","timestamp","paddingLeftPx",4,"ngIf","ngIfElse"],[3,"mode","timestamp","paddingLeftPx"]],template:function(a,b){a&1&&(F(0,"b-async-data-placeholder",1),C(1,vPa,1,3,"b-formatted-date-time",2),G(),C(2,wPa,1,0,"ng-template",null,0,yg));a&2&&(a=Q(3),D("isReady",b.isDataLoaded),z(),D("ngIf",b.createdTime)("ngIfElse",a))},
dependencies:[oQ,Gv,TM],encapsulation:2,changeDetection:0});var LQ=function(){this.priority=this.issue=null;this.isDataLoaded=!1};LQ.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};LQ.\u0275fac=function(a){return new (a||LQ)};
LQ.\u0275cmp=p({type:LQ,selectors:[["b-issue-priority-cell"]],inputs:{issue:"issue"},features:[td],decls:4,vars:3,consts:[["noData",""],[1,"nowrap",3,"isReady"],[4,"ngIf","ngIfElse"],[3,"issuePriority"]],template:function(a,b){a&1&&(F(0,"b-async-data-placeholder",1),C(1,xPa,2,1,"ng-container",2)(2,yPa,1,0,"ng-template",null,0,yg),G());a&2&&(a=Q(3),D("isReady",b.isDataLoaded),z(),D("ngIf",b.priority)("ngIfElse",a))},dependencies:[oQ,Gv,mN],encapsulation:2,changeDetection:0});new Promise(function(){});var gnc=function(a,b){return[a,b]},hnc=[[["b-callout-body"]],[["b-callout-actions"]]],MQ=function(){this.messageType="info";this.format="default"};MQ.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"}};MQ.\u0275fac=function(a){return new (a||MQ)};
MQ.\u0275cmp=p({type:MQ,selectors:[["b-callout"]],hostVars:5,hostBindings:function(a,b){a&2&&Lf(vg(2,gnc,b.messageType,b.format).join(" "))},inputs:{messageType:"messageType",format:"format",iconOverride:"iconOverride"},ngContentSelectors:["b-callout-body","b-callout-actions"],decls:6,vars:1,consts:[[1,"callout"],["role","alert",1,"content"],[3,"svgIcon"],[1,"actions"]],template:function(a,b){a&1&&(Xf(hnc),F(0,"div",0)(1,"div",1),H(2,"mat-icon",2),Yf(3),G(),F(4,"div",3),Yf(5,1),G()());a&2&&(z(2),
D("svgIcon",b.getIconName()))},dependencies:[zB],styles:["[_nghost-%COMP%]{display:block;border-radius:8px;color:#3c4043;color:var(--c800);padding:8px 4px}[_nghost-%COMP%]     .mat-button{min-height:28px;line-height:28px;padding:0px 8px}.app[_nghost-%COMP%]{border-radius:0;padding-left:24px}.app[_nghost-%COMP%]   mat-icon[_ngcontent-%COMP%]{margin-left:0;margin-right:10px}.content[_ngcontent-%COMP%]{display:flex;align-items:center;flex-grow:1}.actions[_ngcontent-%COMP%]{flex-grow:1}[_nghost-%COMP%]     b-callout-actions{display:flex;flex-wrap:nowrap;gap:4px;justify-content:flex-end}mat-icon[_ngcontent-%COMP%]{margin-left:4px;margin-right:8px}.callout[_ngcontent-%COMP%]{display:flex;align-items:center;min-height:36px;flex-wrap:wrap}.info[_nghost-%COMP%]{background-color:#e8f0fe;background-color:var(--primary-c50)}.info[_nghost-%COMP%]   mat-icon[_ngcontent-%COMP%]{color:#1a73e8;color:var(--text-primary)}.info[_nghost-%COMP%]    .mat-button, .info[_nghost-%COMP%]    .gmat-mdc-button.mat-mdc-button, .info[_nghost-%COMP%]    .mat-stroked-button, .info[_nghost-%COMP%]    .mat-mdc-outlined-button, .info[_nghost-%COMP%]    .mat-icon-button{color:#1a73e8;color:var(--link);--mat-text-button-state-layer-color: var(--link)}.info[_nghost-%COMP%]    .gmat-mdc-button.mat-mdc-button:not(.mat-mdc-button-disabled):not([disabled]):not(:disabled):hover, .info[_nghost-%COMP%]    .gmat-mdc-button.mat-mdc-button:not(.mat-mdc-button-disabled):not([disabled]):not(:disabled):focus{color:#1a73e8;color:var(--link)}.info[_nghost-%COMP%]    .mat-flat-button, .info[_nghost-%COMP%]    .mat-mdc-unelevated-button, .info[_nghost-%COMP%]    .mat-raised-button{background-color:#1a73e8;background-color:var(--primary-btn-bg);color:#fff;color:var(--text-inverse)}.archived[_nghost-%COMP%], .caution[_nghost-%COMP%]{background-color:#feefc3;background-color:var(--warn-c50);border-color:#fbbc04;border-color:var(--warn-gfx-muted)}.archived[_nghost-%COMP%]   mat-icon[_ngcontent-%COMP%], .caution[_nghost-%COMP%]   mat-icon[_ngcontent-%COMP%]{color:#e37400;color:var(--warn-gfx)}.archived[_nghost-%COMP%]    .mat-button, .archived[_nghost-%COMP%]    .gmat-mdc-button.mat-mdc-button, .archived[_nghost-%COMP%]    .mat-stroked-button, .archived[_nghost-%COMP%]    .mat-mdc-outlined-button, .archived[_nghost-%COMP%]    .mat-icon-button, .caution[_nghost-%COMP%]    .mat-button, .caution[_nghost-%COMP%]    .gmat-mdc-button.mat-mdc-button, .caution[_nghost-%COMP%]    .mat-stroked-button, .caution[_nghost-%COMP%]    .mat-mdc-outlined-button, .caution[_nghost-%COMP%]    .mat-icon-button{color:rgba(0,0,0,.7);color:var(--text-warn);--mat-text-button-state-layer-color: var(--text-warn)}.archived[_nghost-%COMP%]    .gmat-mdc-button.mat-mdc-button:not(.mat-mdc-button-disabled):not([disabled]):not(:disabled):hover, .archived[_nghost-%COMP%]    .gmat-mdc-button.mat-mdc-button:not(.mat-mdc-button-disabled):not([disabled]):not(:disabled):focus, .caution[_nghost-%COMP%]    .gmat-mdc-button.mat-mdc-button:not(.mat-mdc-button-disabled):not([disabled]):not(:disabled):hover, .caution[_nghost-%COMP%]    .gmat-mdc-button.mat-mdc-button:not(.mat-mdc-button-disabled):not([disabled]):not(:disabled):focus{color:rgba(0,0,0,.7);color:var(--text-warn)}.archived[_nghost-%COMP%]    .mat-flat-button, .archived[_nghost-%COMP%]    .mat-mdc-unelevated-button, .archived[_nghost-%COMP%]    .mat-raised-button, .caution[_nghost-%COMP%]    .mat-flat-button, .caution[_nghost-%COMP%]    .mat-mdc-unelevated-button, .caution[_nghost-%COMP%]    .mat-raised-button{background-color:#e37400;background-color:var(--warn-gfx);color:#fff;color:var(--text-inverse)}.error[_nghost-%COMP%]{background-color:#fef4f3;background-color:var(--bad-bg-pale);border-color:#f6aea9;border-color:var(--bad-gfx-muted)}.error[_nghost-%COMP%]   mat-icon[_ngcontent-%COMP%]{color:#c5221f;color:var(--bad-gfx)}.error[_nghost-%COMP%]    .mat-button, .error[_nghost-%COMP%]    .gmat-mdc-button.mat-mdc-button, .error[_nghost-%COMP%]    .mat-stroked-button, .error[_nghost-%COMP%]    .mat-mdc-outlined-button, .error[_nghost-%COMP%]    .mat-icon-button{color:#c5221f;color:var(--bad-link);--mat-text-button-state-layer-color: var(--bad-link)}.error[_nghost-%COMP%]    .gmat-mdc-button.mat-mdc-button:not(.mat-mdc-button-disabled):not([disabled]):not(:disabled):hover, .error[_nghost-%COMP%]    .gmat-mdc-button.mat-mdc-button:not(.mat-mdc-button-disabled):not([disabled]):not(:disabled):focus{color:#c5221f;color:var(--bad-link)}.error[_nghost-%COMP%]    .mat-flat-button, .error[_nghost-%COMP%]    .mat-mdc-unelevated-button, .error[_nghost-%COMP%]    .mat-raised-button{background-color:#a50e0e;background-color:var(--bad-bg-inverse);color:#fff;color:var(--text-inverse)}.success[_nghost-%COMP%]{background-color:#eafaef;background-color:var(--good-bg-pale);border-color:#1e8e3e;border-color:var(--good-gfx)}.success[_nghost-%COMP%]   mat-icon[_ngcontent-%COMP%]{color:#1e8e3e;color:var(--good-gfx)}.success[_nghost-%COMP%]    .mat-button, .success[_nghost-%COMP%]    .gmat-mdc-button.mat-mdc-button, .success[_nghost-%COMP%]    .mat-stroked-button, .success[_nghost-%COMP%]    .mat-mdc-outlined-button, .success[_nghost-%COMP%]    .mat-icon-button{color:#1e8e3e;color:var(--good-link);--mat-text-button-state-layer-color: var(--good-link)}.success[_nghost-%COMP%]    .gmat-mdc-button.mat-mdc-button:not(.mat-mdc-button-disabled):not([disabled]):not(:disabled):hover, .success[_nghost-%COMP%]    .gmat-mdc-button.mat-mdc-button:not(.mat-mdc-button-disabled):not([disabled]):not(:disabled):focus{color:#1e8e3e;color:var(--good-link)}.success[_nghost-%COMP%]    .mat-flat-button, .success[_nghost-%COMP%]    .mat-mdc-unelevated-button, .success[_nghost-%COMP%]    .mat-raised-button{background-color:#34a853;background-color:var(--good);color:#fff;color:var(--text-inverse)}/*# sourceMappingURL=callout.css.map */"]});
var NQ=function(){};NQ.\u0275fac=function(a){return new (a||NQ)};NQ.\u0275dir=fd({type:NQ,selectors:[["b-callout-body"],["b-callout-actions"]]});var inc=function(){this.text="..."};inc.\u0275fac=function(a){return new (a||inc)};
inc.\u0275cmp=p({type:inc,selectors:[["ai-spinner"]],hostVars:2,hostBindings:function(a,b){a&2&&Kf("large",b.large)},inputs:{large:"large",text:"text"},decls:2,vars:1,template:function(a,b){a&1&&(F(0,"label"),R(1),G());a&2&&(z(),S(" ",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 jnc=new NM(3);var knc=new md("GMAT_PROGRESS_SPINNER_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var lnc=["determinateSpinner"],mnc=new md("mat-progress-spinner-default-options",{providedIn:"root",factory:BPa}),OQ=function(a,b,c){this._elementRef=a;this._defaultColor="primary";this._value=0;this._diameter=100;this._noopAnimations=b==="NoopAnimations"&&!!c&&!c._forceAnimations;this.mode=a.nativeElement.nodeName.toLowerCase()==="mat-spinner"?"indeterminate":"determinate";c&&(c.color&&(this.color=this._defaultColor=c.color),c.diameter&&(this.diameter=c.diameter),c.strokeWidth&&(this.strokeWidth=
c.strokeWidth))};g=OQ.prototype;g._circleRadius=function(){return(this.diameter-10)/2};g._viewBox=function(){var a=this._circleRadius()*2+this.strokeWidth;return"0 0 "+a+" "+a};g._strokeCircumference=function(){return 2*Math.PI*this._circleRadius()};g._strokeDashOffset=function(){return this.mode==="determinate"?this._strokeCircumference()*(100-this._value)/100:null};g._circleStrokeWidth=function(){return this.strokeWidth/this.diameter*100};
ea.Object.defineProperties(OQ.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}}});OQ.\u0275fac=function(a){return new (a||OQ)(A(Rd),A(vu,8),A(mnc))};
OQ.\u0275cmp=p({type:OQ,selectors:[["mat-progress-spinner"],["mat-spinner"]],viewQuery:function(a,b){a&1&&fg(lnc,5);if(a&2){var c;jg(c=kg())&&(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&&(Bf("aria-valuemin",0)("aria-valuemax",100)("aria-valuenow",b.mode==="determinate"?b.value:null)("mode",b.mode),Lf("mat-"+b.color),Jf("width",b.diameter,"px")("height",b.diameter,"px")("--mdc-circular-progress-size",
b.diameter+"px")("--mdc-circular-progress-active-indicator-width",b.diameter+"px"),Kf("_mat-animation-noopable",b._noopAnimations)("mdc-circular-progress--indeterminate",b.mode==="indeterminate"))},inputs:{color:"color",mode:"mode",value:[2,"value","value",Hg],diameter:[2,"diameter","diameter",Hg],strokeWidth:[2,"strokeWidth","strokeWidth",Hg]},exportAs:["matProgressSpinner"],standalone:!0,features:[Af,sg],decls:14,vars:11,consts:[["circle",""],["determinateSpinner",""],["aria-hidden","true",1,"mdc-circular-progress__determinate-container"],
["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__determinate-circle-graphic"],["cx","50%","cy","50%",1,"mdc-circular-progress__determinate-circle"],["aria-hidden","true",1,"mdc-circular-progress__indeterminate-container"],[1,"mdc-circular-progress__spinner-layer"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-left"],[3,"ngTemplateOutlet"],[1,"mdc-circular-progress__gap-patch"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-right"],
["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__indeterminate-circle-graphic"],["cx","50%","cy","50%"]],template:function(a,b){a&1&&(C(0,APa,2,8,"ng-template",null,0,yg),F(2,"div",2,1),Gd(),F(4,"svg",3),H(5,"circle",4),G()(),Ad.currentNamespace=null,F(6,"div",5)(7,"div",6)(8,"div",7),Sf(9,8),G(),F(10,"div",9),Sf(11,8),G(),F(12,"div",10),Sf(13,8),G()()());a&2&&(a=Q(1),z(4),Bf("viewBox",b._viewBox()),z(),Jf("stroke-dasharray",b._strokeCircumference(),"px")("stroke-dashoffset",
b._strokeDashOffset(),"px")("stroke-width",b._circleStrokeWidth(),"%"),Bf("r",b._circleRadius()),z(4),D("ngTemplateOutlet",a),z(2),D("ngTemplateOutlet",a),z(2),D("ngTemplateOutlet",a))},dependencies:[Kv],styles:["@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-color-1-fade-in-out{from{opacity:.99}25%{opacity:.99}26%{opacity:0}89%{opacity:0}90%{opacity:.99}to{opacity:.99}}@keyframes mdc-circular-progress-color-2-fade-in-out{from{opacity:0}15%{opacity:0}25%{opacity:.99}50%{opacity:.99}51%{opacity:0}to{opacity:0}}@keyframes mdc-circular-progress-color-3-fade-in-out{from{opacity:0}40%{opacity:0}50%{opacity:.99}75%{opacity:.99}76%{opacity:0}to{opacity:0}}@keyframes mdc-circular-progress-color-4-fade-in-out{from{opacity:0}65%{opacity:0}75%{opacity:.99}90%{opacity:.99}to{opacity:0}}@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)}}.mdc-circular-progress{display:inline-flex;position:relative;direction:ltr;line-height:0;transition:opacity 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.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-container{font-size:0;letter-spacing:0;white-space:nowrap;opacity:0}.mdc-circular-progress__determinate-circle-graphic,.mdc-circular-progress__indeterminate-circle-graphic{fill:rgba(0,0,0,0)}.mdc-circular-progress__determinate-circle{transition:stroke-dashoffset 500ms 0ms 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{display:inline-flex;position:relative;width:50%;height:100%;overflow:hidden}.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__determinate-container{opacity:0}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{opacity:1}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{animation:mdc-circular-progress-container-rotate 1568.2352941176ms linear infinite}.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}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-1{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-1-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-2{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-2-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-3{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-3-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-4{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-4-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.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--closed{opacity: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)}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}.mat-mdc-progress-spinner circle{stroke-width:var(--mdc-circular-progress-active-indicator-width)}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-1 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-2 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-3 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-4 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}.mat-mdc-progress-spinner .mdc-circular-progress{width:var(--mdc-circular-progress-size) !important;height:var(--mdc-circular-progress-size) !important}.mat-mdc-progress-spinner{display:block;overflow:hidden;line-height:0}.mat-mdc-progress-spinner._mat-animation-noopable,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__determinate-circle{transition:none}.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}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container circle{stroke-dasharray:0 !important}.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic,.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle{stroke:currentColor;stroke:CanvasText}\n"],
encapsulation:2,changeDetection:0});var PQ=function(){};PQ.\u0275fac=function(a){return new (a||PQ)};PQ.\u0275mod=dd({type:PQ});PQ.\u0275inj=Ic({imports:[Tv,zx]});var QQ=function(a,b){var c=this;this.options=a;this.progressSpinner=b;this.destroyed=new W.Subject;this.labelElement=document.createElement("label");this.labelElement.classList.add("cdk-visually-hidden");this.labelElement.classList.add("gmat-mdc-progress-spinner-accessible-label");zPa(b._elementRef.nativeElement).pipe(qf(this.destroyed)).subscribe(function(d){c.writeLabelSpan(d[0],d[1])})};QQ.prototype.ngOnInit=function(){this.initializeLabelSpan()};
QQ.prototype.ngOnDestroy=function(){this.labelElement.remove();this.destroyed.next();this.destroyed.complete()};QQ.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())};
QQ.prototype.writeLabelSpan=function(a,b){a=b==="indeterminate"?a:a+" "+jnc.format(Number(b)/100);this.labelElement.textContent=a};QQ.\u0275fac=function(a){return new (a||QQ)(A(knc),A(OQ,10))};QQ.\u0275dir=fd({type:QQ,selectors:[["mat-progress-spinner"],["mat-spinner"]],hostAttrs:["aria-hidden","true"],hostVars:3,hostBindings:function(a,b){a&2&&(Bf("tabindex",null),Kf("gmat-mdc-progress-spinner",!b.options.disableGmatStyle))}});var RQ=function(){this.ariaLabel="loading"};RQ.\u0275fac=function(a){return new (a||RQ)};
RQ.\u0275cmp=p({type:RQ,selectors:[["b-spinner"]],inputs:{large:"large",ariaLabel:"ariaLabel"},decls:2,vars:2,consts:[["class","large",3,"diameter",4,"ngIf"],["class","small",3,"diameter","strokeWidth",4,"ngIf"],[1,"large",3,"diameter"],[1,"small",3,"diameter","strokeWidth"]],template:function(a,b){a&1&&C(0,CPa,1,2,"mat-spinner",0)(1,DPa,1,3,"mat-spinner",1);a&2&&(D("ngIf",b.large),z(),D("ngIf",!b.large))},dependencies:[Gv,QQ,OQ],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 SQ=function(a,b){this.checker=a;this.document=b};SQ.prototype.focusFirstFocusableElement=function(a){(a=nnc(this,a,!0))&&a.focus()};var nnc=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?nnc(a,b[c]):null;if(d)return d}return null};SQ.\u0275fac=function(a){return new (a||SQ)(n(hw),n(gh))};SQ.\u0275prov=Hc({token:SQ,factory:SQ.\u0275fac,providedIn:"root"});var TQ=function(a,b){this.elementRef=a;this.interactivityHelper=b};TQ.prototype.ngOnInit=function(){};TQ.prototype.focus=function(){this.interactivityHelper.focusFirstFocusableElement(this.elementRef.nativeElement)};ea.Object.defineProperties(TQ.prototype,{element:{configurable:!0,enumerable:!0,get:function(){return this.elementRef.nativeElement}}});TQ.\u0275fac=function(a){return new (a||TQ)(A(Rd),A(SQ))};TQ.\u0275dir=fd({type:TQ,selectors:[["tr","row",""]],inputs:{row:"row"}});var UQ=function(){};UQ.\u0275fac=function(a){return new (a||UQ)};UQ.\u0275mod=dd({type:UQ});UQ.\u0275inj=Ic({});var onc=function(a,b){Lw.call(this,a);this.directives=a;this.isEqual=b};X(onc,Lw);var tp=function(a,b){var c;return fe(function(d){if(d.nextAddress==1)return he(d,(0,W.firstValueFrom)(a.directives.changes.pipe(of(a.directives.toArray()),y(function(e){return e.find(function(f){return a.isEqual(f.row,b)})}),te(Boolean),we(3E3))),2);c=d.yieldResult;Jw(a,c);le(d)})};var pnc={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 VQ=function(a,b,c){var d=this;this.document=a;this.focusTrapFactory=b;this.elementRef=c;this.dismiss=new Xu;this.action=new Xu;this.pointerPosition=2;this.color="blue";this.actionBtnIcon=this.actionBtnText="";this.Position=pnc;this.width=272;this.previouslyFocusedElement=null;this.focusTrap=this.focusTrapFactory.create(this.elementRef.nativeElement,{defer:!0});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.document.addEventListener("keydown",this.dismissIfEscape);this.document.addEventListener("focusin",this.setPreviouslyFocusedElement)};VQ.prototype.ngAfterContentInit=function(){jw(this.focusTrap);this.setPreviouslyFocusedElement();mWb(this.focusTrap)};
VQ.prototype.ngOnDestroy=function(){this.document.removeEventListener("keydown",this.dismissIfEscape);this.document.removeEventListener("focusin",this.setPreviouslyFocusedElement);this.focusTrap.destroy()};
VQ.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)};ea.Object.defineProperties(VQ.prototype,{widthOffset:{configurable:!0,enumerable:!0,set:function(a){this.width=272+a*64}}});
VQ.\u0275fac=function(a){return new (a||VQ)(A(gh),A(Cw),A(Rd))};
VQ.\u0275cmp=p({type:VQ,selectors:[["onedev-feature-tooltip-body"]],hostVars:16,hostBindings:function(a,b){a&2&&Kf("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"},features:[qg([{provide:uWb,useValue:{preventFocus:function(){},allowFocus:function(){}}},Cw])],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&&(Xf(),F(0,"div",0)(1,"div",1),H(2,"div",2),G(),Yf(3),F(4,"div",3),C(5,FPa,4,
2,"button",4),F(6,"button",5),M("click",function(){return b.dismissTooltip()}),R(7," Got it "),G()()());a&2&&(Jf("width",b.width,"px"),D("ngClass",b.color),z(5),D("ngIf",b.actionBtnText),z(),D("color",b.color==="white"?"primary":""))},dependencies:[mw,Ev,Gv,oE,zB],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 WQ=function(){};WQ.\u0275fac=function(a){return new (a||WQ)};WQ.\u0275mod=dd({type:WQ});WQ.\u0275inj=Ic({});var XQ=function(){this.anchorMap=new Map},qnc=function(a,b){if(a.anchorMap.has(b))return a.anchorMap.get(b);var c={created$:new W.ReplaySubject(1),destroyed$:new W.Subject,dismissTooltip$:new W.Subject};a.anchorMap.set(b,c);return c},rnc=function(a,b,c){qnc(a,b).created$.next(c)},snc=function(a,b){qnc(a,b).destroyed$.next();qnc(a,b).created$.next(void 0)};XQ.prototype.dismissTooltip=function(){qnc(this).dismissTooltip$.next()};XQ.\u0275fac=function(a){return new (a||XQ)};
XQ.\u0275prov=Hc({token:XQ,factory:XQ.\u0275fac,providedIn:WQ});var YQ={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}}},tnc=[YQ.TOP_CENTER_RIGHT,YQ.TOP_CENTER_LEFT,YQ.BOTTOM_CENTER_RIGHT,YQ.BOTTOM_CENTER_LEFT],unc=[YQ.TOP_LEFT,YQ.TOP_RIGHT,YQ.BOTTOM_LEFT,YQ.BOTTOM_RIGHT],vnc=[YQ.LEFT_CENTER_BOTTOM,YQ.LEFT_CENTER_TOP,YQ.RIGHT_CENTER_BOTTOM,YQ.RIGHT_CENTER_TOP],wnc=[YQ.LEFT_TOP,YQ.LEFT_BOTTOM,YQ.RIGHT_TOP,YQ.RIGHT_BOTTOM];var ZQ=function(){};ZQ.\u0275fac=function(a){return new (a||ZQ)};ZQ.\u0275mod=dd({type:ZQ});ZQ.\u0275inj=Ic({});var $Q=function(){},ync=function(a,b){return xnc(a,b).map(function(c){return c.connectedPosition})},znc=function(a,b,c){a=xnc(a,b).find(function(d){return d.connectedPosition===c});if(!a)throw Error("be`"+JSON.stringify(c));return a.pointerPosition},xnc=function(a,b){b=Anc(b).filter(function(c){return!a.includes(c)});return a.concat(b)},Anc=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?tnc:unc).concat(a!==void 0&&a<60?vnc:wnc)};$Q.\u0275fac=function(a){return new (a||$Q)};$Q.\u0275prov=Hc({token:$Q,factory:$Q.\u0275fac,providedIn:ZQ});var Bnc=["template"],aR=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 W.Subject;this.customPositions=[];this.widthOffset=0;this.color="blue";this.hasBackdrop=!1;this.actionBtnIcon=this.actionBtnText="";this.dismiss=new Xu;this.beforeShown=new Xu;this.action=new Xu;this.pointerPosition=0;this.destroyed$=new W.ReplaySubject;this.init$=new W.ReplaySubject;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}};aR.prototype.ngOnChanges=function(a){if(a.customPositions){var b;(b=this.overlayRef)==null||JWb(b,Cnc(this))}};
aR.prototype.ngOnInit=function(){var a=qnc(this.anchorService,this.tooltipId),b=a.destroyed$,c=a.dismissTooltip$;Dnc(this,a.created$);b.pipe(qf(this.destroyed$)).subscribe(this.hideFeatureTooltip);Enc(this,c)};aR.prototype.ngAfterViewInit=function(){this.init$.next()};aR.prototype.ngOnDestroy=function(){this.hideFeatureTooltip();this.destroyed$.next()};
var Dnc=function(a,b){a.open$.pipe(yka(a.init$),sf(function(){a.beforeShown.emit()}),pf(function(){return b.pipe(qf(a.dismiss))}),qf(a.destroyed$),te(function(c){return!!c&&!a.isVisible()})).subscribe(function(c){a.anchor=c;c=c.nativeElement;if(a.hasBackdrop){var d=c.style,e=d.position;a.savedAnchorStyles={zIndex:d.zIndex,position:e};if(e==="static"||e==="")c.style.position="relative";c.style.zIndex="1001"}a.overlayRef=a.overlay.create({positionStrategy:Cnc(a),scrollStrategy:a.getScrollStrategy(),
minWidth:"fit-content",hasBackdrop:a.hasBackdrop});var f;(f=a.overlayRef)==null||f.attach(new Ow(a.templateRef,a.containerRef))})},Enc=function(a,b){b.pipe(qf(a.destroyed$),te(function(){return a.isVisible()})).subscribe(function(){a.hideFeatureTooltip();a.dismiss.emit()})};aR.prototype.getScrollStrategy=function(){var a=this.overlay.scrollStrategies;return this.hasBackdrop?a.block():a.reposition()};
aR.prototype.getPositionStrategy=function(){if(!this.anchor)throw Error("ce");return px(ux(this.overlay.position(),this.anchor),ync(this.customPositions,this.anchor))};var Cnc=function(a){var b=a.getPositionStrategy();b.positionChanges.subscribe(function(c){a.ngZone.run(function(){a.pointerPosition=znc(a.customPositions,a.anchor,c.connectionPair);a.changeDetectorRef.markForCheck()})});return b};aR.prototype.isVisible=function(){return!!this.overlayRef};
aR.\u0275fac=function(a){return new (a||aR)(A(XQ),A(vx),A(dg),A(ze),A(Ig),A($Q))};
aR.\u0275cmp=p({type:aR,selectors:[["onedev-feature-tooltip"]],viewQuery:function(a,b){a&1&&fg(Bnc,5);if(a&2){var c;jg(c=kg())&&(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"},features:[td],ngContentSelectors:["*"],decls:2,vars:0,consts:[["template",
""],[3,"action","dismiss","actionBtnText","actionBtnIcon","color","pointerPosition","widthOffset"]],template:function(a){a&1&&(Xf(),C(0,GPa,2,5,"ng-template",null,0,yg))},dependencies:[VQ],encapsulation:2,changeDetection:0});var bR=function(){};bR.\u0275fac=function(a){return new (a||bR)};bR.\u0275mod=dd({type:bR});bR.\u0275inj=Ic({});var cR=function(){};cR.\u0275fac=function(a){return new (a||cR)};cR.\u0275mod=dd({type:cR});cR.\u0275inj=Ic({imports:[bR]});var dR=function(){};dR.prototype.getValue=function(a){a=window.localStorage.getItem(a);return(0,W.of)(a?JSON.parse(a):null)};dR.prototype.getValues=function(a){return(0,W.of)(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))};dR.prototype.setValue=function(a,b){window.localStorage.setItem(a,JSON.stringify(b));return(0,W.of)(void 0)};dR.\u0275fac=function(a){return new (a||dR)};
dR.\u0275prov=Hc({token:dR,factory:dR.\u0275fac,providedIn:bR});var Fnc=new md("Feature Tooltip Controller Config"),eR=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"},Gnc=function(a){return a.keyValueStore.getValue(a.lastTooltipKey).pipe(y(function(b){return b===
null?!0:(new Date).getTime()-b>=a.config.cooldownMilliseconds}))};eR.prototype.hideTooltip=function(a){var b;(b=this.clientStreamzService)==null||fI(b,this.config.hiddenMetricName,!0);(0,W.forkJoin)([this.keyValueStore.setValue(this.lastTooltipKey,(new Date).getTime()),this.keyValueStore.setValue(fR(this,a),"HIDDEN")]).pipe(jf())};
var Hnc=function(a,b){a.keyValueStore.getValue(fR(a,b)).pipe(te(function(c){return c!=="SHOWING"})).subscribe(function(){a.keyValueStore.setValue(fR(a,b),"HIDDEN")})},Jnc=function(a,b,c){var d=c.map(function(e){return fR(a,e)});return a.keyValueStore.getValues(d).pipe(y(function(e){return Inc(a,b,c,e)}))};
eR.prototype.showTooltip=function(a){var b;(b=this.clientStreamzService)==null||fI(b,this.config.shownMetricName,!0);(0,W.forkJoin)([this.keyValueStore.setValue(this.lastTooltipKey,(new Date).getTime()),this.keyValueStore.setValue(fR(this,a),"SHOWING")]).pipe(jf())};var Inc=function(a,b,c,d){return c.filter(function(e){e=d.get(fR(a,e));return e===b||b==="UNSEEN"&&e===null})},fR=function(a,b){return"onedev.tooltips."+a.config.productName+"."+b};
eR.\u0275fac=function(a){return new (a||eR)(n(Fnc),n(dR),n(Ae))};eR.\u0275prov=Hc({token:eR,factory:eR.\u0275fac,providedIn:cR});var gR=function(a){var b=this;this.featureTooltipService=a;this.showTooltip$=(0,W.of)(void 0);this.destroyed$=new W.ReplaySubject;this.getCurrentlyShowingTooltips=function(){return Jnc(b.featureTooltipService,"SHOWING",Knc(b))}};
gR.prototype.ngAfterContentInit=function(){var a=this,b=this.showTooltip$.pipe(pf(this.getCurrentlyShowingTooltips),pf(function(c){return c.length>0?(0,W.of)(c[0]):(0,W.of)(void 0).pipe(Lnc(a),Mnc(a))}),y(function(c){return Nnc(a,c)}),te(function(c){return!!c}),y(function(c){return c}),mf({bufferSize:1,refCount:!0}));Onc(this,b);b.pipe(qf(this.destroyed$)).subscribe(function(c){c.open$.next();a.featureTooltipService.showTooltip(c.tooltipId)})};gR.prototype.ngOnDestroy=function(){this.destroyed$.next()};
var Lnc=function(a){return(0,W.pipe)(pf(function(){return Gnc(a.featureTooltipService)}),te(W.identity))},Mnc=function(a){return(0,W.pipe)(pf(function(){return Jnc(a.featureTooltipService,"UNSEEN",Knc(a))}),te(function(b){return b.length>0}),y(function(b){return b[0]}))},Onc=function(a,b){b.pipe(pf(function(c){return c.dismiss.pipe(jf(c.tooltipId))}),qf(a.destroyed$)).subscribe(function(c){a.featureTooltipService.hideTooltip(c)})},Knc=function(a){return a.tooltips.map(function(b){return b.tooltipId})},
Nnc=function(a,b){return a.tooltips.find(function(c){return c.tooltipId===b})};gR.\u0275fac=function(a){return new (a||gR)(A(eR))};gR.\u0275cmp=p({type:gR,selectors:[["onedev-feature-tooltip-controller"]],contentQueries:function(a,b,c){a&1&&gg(c,aR,4);if(a&2){var d;jg(d=kg())&&(b.tooltips=d)}},inputs:{showTooltip$:"showTooltip$"},decls:0,vars:0,template:function(){},encapsulation:2,changeDetection:0});var hR=function(a,b){this.anchorService=a;this.element=b;this.hideTooltipWhenAnchorNotVisible=!1};hR.prototype.ngOnInit=function(){var a=this;this.hideTooltipWhenAnchorNotVisible?(this.intersectionObserver=new IntersectionObserver(function(b){l(b).next().value.isIntersecting?rnc(a.anchorService,a.tooltipId,a.element):snc(a.anchorService,a.tooltipId)}),this.intersectionObserver.observe(this.element.nativeElement)):rnc(this.anchorService,this.tooltipId,this.element)};
hR.prototype.ngOnDestroy=function(){snc(this.anchorService,this.tooltipId);var a;(a=this.intersectionObserver)==null||a.disconnect()};hR.\u0275fac=function(a){return new (a||hR)(A(XQ),A(Rd))};hR.\u0275dir=fd({type:hR,selectors:[["","onedevTooltipAnchor",""]],inputs:{tooltipId:[0,"onedevTooltipAnchor","tooltipId"],hideTooltipWhenAnchorNotVisible:"hideTooltipWhenAnchorNotVisible"}});var iR=function(a,b,c){var d=this;this.featureTooltipService=a;this.renderer=b;this.elementRef=c;this.preventTooltipFromShowing=function(){Hnc(d.featureTooltipService,d.tooltipId)}};iR.prototype.ngOnInit=function(){this.unsubscribeFromEvent||(this.event="click")};iR.prototype.ngOnDestroy=function(){var a;(a=this.unsubscribeFromEvent)==null||a.call(this)};
ea.Object.defineProperties(iR.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)}}});iR.\u0275fac=function(a){return new (a||iR)(A(eR),A(wu),A(Rd))};iR.\u0275dir=fd({type:iR,selectors:[["","onedevTooltipPreventer",""]],inputs:{tooltipId:[0,"onedevTooltipPreventer","tooltipId"],event:[0,"onedevPreventTooltipOn","event"]}});var Pnc=new md("TooltipAnchor"),Qnc=new md("TooltipPeventer"),jR=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)};jR.prototype.ngOnInit=function(){this.tooltipPreventer.ngOnInit();this.tooltipAnchor.ngOnInit()};
jR.prototype.ngOnDestroy=function(){this.tooltipPreventer.ngOnDestroy();this.tooltipAnchor.ngOnDestroy()};ea.Object.defineProperties(jR.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}}});
jR.\u0275fac=function(a){return new (a||jR)(A(eR),A(XQ),A(Rd),A(wu),A(Pnc),A(Qnc))};jR.\u0275dir=fd({type:jR,selectors:[["","onedevFeatureTooltip",""]],inputs:{tooltipId:[0,"onedevFeatureTooltip","tooltipId"],hideTooltipWhenAnchorNotVisible:"hideTooltipWhenAnchorNotVisible",event:[0,"onedevPreventTooltipOn","event"]},features:[qg([{provide:Pnc,useValue:hR},{provide:Qnc,useValue:iR}])]});var Rnc=function(){this.className="gmat-subtitle-1 tooltip-title"};Rnc.\u0275fac=function(a){return new (a||Rnc)};Rnc.\u0275dir=fd({type:Rnc,selectors:[["","onedevTooltipTitle",""]],hostVars:2,hostBindings:function(a,b){a&2&&Lf(b.className)}});var Snc=new md("GMAT_CHIPS_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var kR=function(a){this.options=a};kR.\u0275fac=function(a){return new (a||kR)(A(Snc))};
kR.\u0275dir=fd({type:kR,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&&Kf("gmat-mdc-chip",!b.options.disableGmatStyle)("gmat-input-chip",b.appearance==="input")("gmat-filter-chip",b.appearance==="hairline-filter"||b.appearance==="protected-filter")("gmat-suggestive-chip",b.appearance==="hairline-suggestive"||b.appearance==="protected-suggestive")("gmat-assistive-chip",b.appearance===
"hairline-assistive"||b.appearance==="protected-assistive")("gmat-hairline-chip",b.appearance==="input"||b.appearance==="hairline-filter"||b.appearance==="hairline-suggestive"||b.appearance==="hairline-assistive")("gmat-protected-chip",b.appearance==="protected-filter"||b.appearance==="protected-suggestive"||b.appearance==="protected-assistive")("gmat-selectable-chip",b.appearance==="input"||b.appearance==="hairline-filter"||b.appearance==="protected-filter")},inputs:{appearance:"appearance"}});var Tnc=new md("GMAT_TABLE_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var lR=function(a){this.options=a};lR.\u0275fac=function(a){return new (a||lR)(A(Tnc))};lR.\u0275dir=fd({type:lR,selectors:[["table","mat-table",""],["mat-table"]],hostVars:2,hostBindings:function(a,b){a&2&&Kf("gmat-mdc-table",!b.options.disableGmatStyle)}});var Unc=new md("mat-chips-default-options",{providedIn:"root",factory:function(){return{separatorKeyCodes:[13]}}}),Vnc=new md("MatChipAvatar"),Wnc=new md("MatChipTrailingIcon"),Xnc=new md("MatChipRemove"),Ync=new md("MatChip");var mR=function(a,b){this._elementRef=a;this._parentChip=b;this._isPrimary=this.isInteractive=!0;this._disabled=!1;this.tabIndex=-1;this._allowFocusWhenDisabled=!1;a.nativeElement.nodeName==="BUTTON"&&a.nativeElement.setAttribute("type","button")};g=mR.prototype;g._getDisabledAttribute=function(){return this.disabled&&!this._allowFocusWhenDisabled?"":null};g._getTabindex=function(){return this.disabled&&!this._allowFocusWhenDisabled||!this.isInteractive?null:this.tabIndex.toString()};g.focus=function(){this._elementRef.nativeElement.focus()};
g._handleClick=function(a){!this.disabled&&this.isInteractive&&this._isPrimary&&(a.preventDefault(),this._parentChip._handlePrimaryActionInteraction())};g._handleKeydown=function(a){a.keyCode!==13&&a.keyCode!==32||this.disabled||!this.isInteractive||!this._isPrimary||this._parentChip._isEditing||(a.preventDefault(),this._parentChip._handlePrimaryActionInteraction())};
ea.Object.defineProperties(mR.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled||this._parentChip.disabled},set:function(a){this._disabled=a}}});mR.\u0275fac=function(a){return new (a||mR)(A(Rd),A(Ync))};
mR.\u0275dir=fd({type:mR,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&&(Bf("tabindex",b._getTabindex())("disabled",b._getDisabledAttribute())("aria-disabled",b.disabled),Kf("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",Gg],tabIndex:[2,"tabIndex","tabIndex",function(a){return a==null?-1:Hg(a)}],_allowFocusWhenDisabled:"_allowFocusWhenDisabled"},standalone:!0,features:[Af]});var pR=function(){mR.apply(this,arguments);this._isPrimary=this.isInteractive=!1};X(pR,mR);pR.\u0275fac=function(){var a;return function(b){return(a||(a=Od(pR)))(b||pR)}}();pR.\u0275dir=fd({type:pR,selectors:[["mat-chip-trailing-icon"],["","matChipTrailingIcon",""]],hostAttrs:["aria-hidden","true",1,"mat-mdc-chip-trailing-icon","mdc-evolution-chip__icon","mdc-evolution-chip__icon--trailing"],standalone:!0,features:[qg([{provide:Wnc,useExisting:pR}]),zf]});var Znc=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],$nc=0,qR=function(a,b,c,d,e,f,h,k){this._changeDetectorRef=a;this._elementRef=b;this._ngZone=c;this._focusMonitor=d;this._globalRippleOptions=h;this._onFocus=new W.Subject;this._onBlur=new W.Subject;this.role=null;this._hasFocusInternal=!1;this.id="mat-mdc-chip-"+$nc++;this.ariaDescription=this.ariaLabel=null;this._ariaDescriptionId=this.id+"-aria-description";
this.removable=!0;this.disabled=this.disableRipple=this.highlighted=!1;this.tabIndex=-1;this.removed=new Xu;this.destroyed=new Xu;this.basicChipAttrName="mat-basic-chip";this._rippleLoader=Yc(Ox);this._injector=Yc(Ae);this._document=e;this._animationsDisabled=f==="NoopAnimations";if(k!=null){var q;this.tabIndex=(q=parseInt(k))!=null?q:-1}this._monitorFocus();var t;(t=this._rippleLoader)==null||vXb(t,this._elementRef.nativeElement,{className:"mat-mdc-chip-ripple",disabled:this._isRippleDisabled()})};
g=qR.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=(0,W.merge)(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||uXb(a,this._elementRef.nativeElement);var b;(b=this._actionChanges)==null||b.unsubscribe();this.destroyed.emit({chip:this});this.destroyed.complete()};g.remove=function(){this.removable&&this.removed.emit({chip:this})};g._isRippleDisabled=function(){var a;return this.disabled||this.disableRipple||this._animationsDisabled||this._isBasicChip||!((a=this._globalRippleOptions)==null||!a.disabled)};
g._hasTrailingIcon=function(){return!(!this.trailingIcon&&!this.removeIcon)};g._handleKeydown=function(a){if(a.keyCode===8&&!a.repeat||a.keyCode===46)a.preventDefault(),this.remove()};g.focus=function(){this.disabled||(this.primaryAction?this.primaryAction.focus():this._pendingFocus=!0)};g._getSourceAction=function(a){return this._getActions().find(function(b){b=b._elementRef.nativeElement;return b===a||b.contains(a)})};
g._getActions=function(){var a=[];this.primaryAction&&a.push(this.primaryAction);this.removeIcon&&a.push(this.removeIcon);this.trailingIcon&&a.push(this.trailingIcon);return a};g._handlePrimaryActionInteraction=function(){};g._getTabIndex=function(){return this.role?this.disabled?-1:this.tabIndex:null};
g._monitorFocus=function(){var a=this;this._focusMonitor.monitor(this._elementRef,!0).subscribe(function(b){b=b!==null;b!==a._hasFocusInternal&&((a._hasFocusInternal=b)?a._onFocus.next({chip:a}):Fe(function(){return a._ngZone.run(function(){return a._onBlur.next({chip:a})})},{injector:a._injector}))})};
ea.Object.defineProperties(qR.prototype,{value:{configurable:!0,enumerable:!0,get:function(){return this._value!==void 0?this._value:this._textElement.textContent.trim()},set:function(a){this._value=a}},ripple:{configurable:!0,enumerable:!0,get:function(){var a;return(a=this._rippleLoader)==null?void 0:wXb(a,this._elementRef.nativeElement)},set:function(a){var b;(b=this._rippleLoader)==null||xXb(b,this._elementRef.nativeElement,a)}}});
qR.\u0275fac=function(a){return new (a||qR)(A(Ig),A(Rd),A(ze),A(ew),A(gh),A(vu,8),A(Hx,8),Jd("tabindex"))};
qR.\u0275cmp=p({type:qR,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(a,b,c){a&1&&(gg(c,Vnc,5),gg(c,Wnc,5),gg(c,Xnc,5),gg(c,Vnc,5),gg(c,Wnc,5),gg(c,Xnc,5));if(a&2){var d;jg(d=kg())&&(b.leadingIcon=d.first);jg(d=kg())&&(b.trailingIcon=d.first);jg(d=kg())&&(b.removeIcon=d.first);jg(d=kg())&&(b._allLeadingIcons=d);jg(d=kg())&&(b._allTrailingIcons=d);jg(d=kg())&&(b._allRemoveIcons=d)}},viewQuery:function(a,b){a&1&&fg(mR,5);if(a&2){var c;
jg(c=kg())&&(b.primaryAction=c.first)}},hostAttrs:[1,"mat-mdc-chip"],hostVars:32,hostBindings:function(a,b){a&1&&M("keydown",function(c){return b._handleKeydown(c)});a&2&&(Tf("id",b.id),Bf("role",b.role)("tabindex",b._getTabIndex())("aria-label",b.ariaLabel),Lf("mat-"+(b.color||"primary")),Kf("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",Gg],highlighted:[2,"highlighted","highlighted",Gg],disableRipple:[2,"disableRipple","disableRipple",Gg],disabled:[2,"disabled","disabled",Gg],tabIndex:[2,"tabIndex","tabIndex",function(a){return a==null?void 0:Hg(a)}]},outputs:{removed:"removed",destroyed:"destroyed"},exportAs:["matChip"],standalone:!0,features:[qg([{provide:Ync,useExisting:qR}]),Af,sg],ngContentSelectors:["*","mat-chip-avatar, [matChipAvatar]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"],
decls:8,vars:3,consts:[[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipAction","",3,"isInteractive"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],[1,"mat-mdc-chip-primary-focus-indicator","mat-mdc-focus-indicator"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(a,b){a&1&&(Xf(Znc),H(0,"span",0),F(1,"span",1)(2,"span",2),C(3,
HPa,2,0,"span",3),F(4,"span",4),Yf(5),H(6,"span",5),G()()(),C(7,IPa,2,0,"span",6));a&2&&(z(2),D("isInteractive",!1),z(),Of(b.leadingIcon?3:-1),z(4),Of(b._hasTrailingIcon()?7:-1))},dependencies:[mR],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 .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{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{overflow-x:hidden}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mdc-evolution-chip__action--primary:before{box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1}.mdc-evolution-chip--touch{margin-top:8px;margin-bottom:8px}.mdc-evolution-chip__action-touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-evolution-chip__text-label{white-space:nowrap;user-select:none;text-overflow:ellipsis;overflow:hidden}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mdc-evolution-chip__checkmark-background{opacity:0}.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__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.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--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__graphic{transition:width 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark{transition:opacity 50ms 0ms linear,transform 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-50%, -50%)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@keyframes mdc-evolution-chip-enter{from{transform:scale(0.8);opacity:.4}to{transform:scale(1);opacity:1}}.mdc-evolution-chip--enter{animation:mdc-evolution-chip-enter 100ms 0ms cubic-bezier(0, 0, 0.2, 1)}@keyframes mdc-evolution-chip-exit{from{opacity:1}to{opacity:0}}.mdc-evolution-chip--exit{animation:mdc-evolution-chip-exit 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-evolution-chip--hidden{opacity:0;pointer-events:none;transition:width 150ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-standard-chip{border-radius:var(--mdc-chip-container-shape-radius);height:var(--mdc-chip-container-height)}.mat-mdc-standard-chip .mdc-evolution-chip__ripple{border-radius:var(--mdc-chip-container-shape-radius)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-radius:var(--mdc-chip-container-shape-radius)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mdc-chip-with-avatar-avatar-shape-radius)}.mat-mdc-standard-chip.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width:var(--mdc-chip-with-avatar-avatar-size)}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{height:var(--mdc-chip-with-avatar-avatar-size);width:var(--mdc-chip-with-avatar-avatar-size);font-size:var(--mdc-chip-with-avatar-avatar-size)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--primary:before{border-color:var(--mdc-chip-outline-color)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational).mdc-ripple-upgraded--background-focused:before,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational):not(.mdc-ripple-upgraded):focus:before{border-color:var(--mdc-chip-focus-outline-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--primary:before{border-color:var(--mdc-chip-disabled-outline-color)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-outline-width)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-flat-selected-outline-width)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-selected-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-flat-disabled-selected-container-color)}.mat-mdc-standard-chip .mdc-evolution-chip__text-label{font-family:var(--mdc-chip-label-text-font);line-height:var(--mdc-chip-label-text-line-height);font-size:var(--mdc-chip-label-text-size);font-weight:var(--mdc-chip-label-text-weight);letter-spacing:var(--mdc-chip-label-text-tracking)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-label-text-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-selected-label-text-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{height:var(--mdc-chip-with-icon-icon-size);width:var(--mdc-chip-with-icon-icon-size);font-size:var(--mdc-chip-with-icon-icon-size)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-disabled-icon-color)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-disabled-icon-color)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-trailing-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-color)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary .mdc-evolution-chip__ripple::before,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary .mdc-evolution-chip__ripple::after{background-color:var(--mdc-chip-hover-state-layer-color)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:hover .mdc-evolution-chip__ripple::before,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary.mdc-ripple-surface--hover .mdc-evolution-chip__ripple::before{opacity:var(--mdc-chip-hover-state-layer-opacity)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary.mdc-ripple-upgraded--background-focused .mdc-evolution-chip__ripple::before,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:not(.mdc-ripple-upgraded):focus .mdc-evolution-chip__ripple::before{transition-duration:75ms;opacity:var(--mdc-chip-focus-state-layer-opacity)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary .mdc-evolution-chip__ripple::before,.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary .mdc-evolution-chip__ripple::after{background-color:var(--mdc-chip-selected-hover-state-layer-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary:hover .mdc-evolution-chip__ripple::before,.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary.mdc-ripple-surface--hover .mdc-evolution-chip__ripple::before{opacity:var(--mdc-chip-selected-hover-state-layer-opacity)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary.mdc-ripple-upgraded--background-focused .mdc-evolution-chip__ripple::before,.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary:not(.mdc-ripple-upgraded):focus .mdc-evolution-chip__ripple::before{transition-duration:75ms;opacity:var(--mdc-chip-selected-focus-state-layer-opacity)}.mat-mdc-chip-highlighted{--mdc-chip-with-icon-icon-color:var(--mdc-chip-with-icon-selected-icon-color);--mdc-chip-elevated-container-color:var(--mdc-chip-elevated-selected-container-color);--mdc-chip-label-text-color:var(--mdc-chip-selected-label-text-color);--mdc-chip-outline-width:var(--mdc-chip-flat-selected-outline-width)}.mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color)}.mat-mdc-chip-selected .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-focus-state-layer-color)}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-hover-state-layer-color);opacity:var(--mdc-chip-hover-state-layer-opacity)}.mat-mdc-chip-focus-overlay .mat-mdc-chip-selected:hover,.mat-mdc-chip-highlighted:hover .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-hover-state-layer-color);opacity:var(--mdc-chip-selected-hover-state-layer-opacity)}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color);opacity:var(--mdc-chip-focus-state-layer-opacity)}.mat-mdc-chip-selected.cdk-focused .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-focus-state-layer-color);opacity:var(--mdc-chip-selected-focus-state-layer-opacity)}.mdc-evolution-chip--disabled:not(.mdc-evolution-chip--selected) .mat-mdc-chip-avatar{opacity:var(--mdc-chip-with-avatar-disabled-avatar-opacity)}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{opacity:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity)}.mdc-evolution-chip--disabled.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{opacity:var(--mdc-chip-with-icon-disabled-icon-opacity)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:var(--mat-chip-disabled-container-opacity)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-trailing-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-disabled-trailing-icon-color)}.mat-mdc-chip-remove{opacity:var(--mat-chip-trailing-action-opacity)}.mat-mdc-chip-remove:focus{opacity:var(--mat-chip-trailing-action-focus-opacity)}.mat-mdc-chip-remove::after{background:var(--mat-chip-trailing-action-state-layer-color)}.mat-mdc-chip-remove:hover::after{opacity:var(--mat-chip-trailing-action-hover-state-layer-opacity)}.mat-mdc-chip-remove:focus::after{opacity:var(--mat-chip-trailing-action-focus-state-layer-opacity)}.mat-mdc-chip-selected .mat-mdc-chip-remove::after,.mat-mdc-chip-highlighted .mat-mdc-chip-remove::after{background:var(--mat-chip-selected-trailing-action-state-layer-color)}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove{opacity:calc(var(--mat-chip-trailing-action-opacity)*var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity))}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove:focus{opacity:calc(var(--mat-chip-trailing-action-focus-opacity)*var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity))}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-style:solid}.mat-mdc-standard-chip .mdc-evolution-chip__checkmark{height:20px;width:20px}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.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,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.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,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{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__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.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}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{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__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.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,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.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,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.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,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{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__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,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.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,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{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__ripple--trailing{left:8px;right:initial}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.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,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0)}.cdk-high-contrast-active .mat-mdc-standard-chip{outline:solid 1px}.cdk-high-contrast-active .mat-mdc-standard-chip .mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}.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 .mdc-evolution-chip__cell--primary{flex-basis:100%}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit}.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-basic-chip .mdc-evolution-chip__action--primary{font:inherit}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip .mat-ripple.mat-mdc-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-chip-avatar{text-align:center;line-height:1;color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-chip{position:relative;z-index:0}.mat-mdc-chip-action-label{text-align:left;z-index:1}[dir=rtl] .mat-mdc-chip-action-label{text-align:right}.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label{position:relative}.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.mat-mdc-chip-action-label .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-chip-remove::before{margin:calc(var(--mat-mdc-focus-indicator-border-width, 3px)*-1);left:8px;right:8px}.mat-mdc-chip-remove::after{content:"";display:block;opacity:0;position:absolute;top:-2px;bottom:-2px;left:6px;right:6px;border-radius:50%}.mat-mdc-chip-remove .mat-icon{width:18px;height:18px;font-size:18px;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}.cdk-high-contrast-active .mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}.mat-mdc-chip-action:focus .mat-mdc-focus-indicator::before{content:""}\n'],
encapsulation:2,changeDetection:0});var aoc=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],rR=function(){qR.apply(this,arguments);this._defaultOptions=Yc(Unc,{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 Xu};X(rR,qR);g=rR.prototype;g.ngOnInit=function(){qR.prototype.ngOnInit.call(this);this.role="presentation"};g.select=function(){this._setSelectedState(!0,!1,!0)};g.deselect=function(){this._setSelectedState(!1,!1,!0)};g._handlePrimaryActionInteraction=function(){this.disabled||(this.focus(),this.selectable&&this._setSelectedState(!this.selected,!0,!0))};g._hasLeadingGraphic=function(){return this.leadingIcon?!0:!this._chipListHideSingleSelectionIndicator||this._chipListMultiple};
g._setSelectedState=function(a,b,c){a!==this.selected&&(this._selected=a,c&&this.selectionChange.emit({source:this,isUserInput:b,selected:this.selected}),this._changeDetectorRef.markForCheck())};
ea.Object.defineProperties(rR.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}}});
rR.\u0275fac=function(){var a;return function(b){return(a||(a=Od(rR)))(b||rR)}}();
rR.\u0275cmp=p({type:rR,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&&(Tf("id",b.id),Bf("tabindex",null)("aria-label",null)("aria-description",null)("role",b.role),Kf("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",Gg],selected:[2,"selected","selected",Gg]},outputs:{selectionChange:"selectionChange"},standalone:!0,features:[qg([{provide:qR,useExisting:rR},{provide:Ync,useExisting:rR}]),Af,zf,sg],ngContentSelectors:["*","mat-chip-avatar, [matChipAvatar]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"],decls:10,vars:9,consts:[[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__cell",
"mdc-evolution-chip__cell--primary"],["matChipAction","","role","option",3,"tabIndex","_allowFocusWhenDisabled"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],[1,"mat-mdc-chip-primary-focus-indicator","mat-mdc-focus-indicator"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"],[1,"cdk-visually-hidden",3,"id"],[1,"mdc-evolution-chip__checkmark"],["viewBox","-2 -3 30 30","focusable","false","aria-hidden","true",
1,"mdc-evolution-chip__checkmark-svg"],["fill","none","stroke","currentColor","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-evolution-chip__checkmark-path"]],template:function(a,b){a&1&&(Xf(aoc),H(0,"span",0),F(1,"span",1)(2,"button",2),C(3,JPa,5,0,"span",3),F(4,"span",4),Yf(5),H(6,"span",5),G()()(),C(7,KPa,2,0,"span",6),F(8,"span",7),R(9),G());a&2&&(z(2),D("tabIndex",b.tabIndex)("_allowFocusWhenDisabled",!0),Bf("aria-selected",b.ariaSelected)("aria-label",b.ariaLabel)("aria-describedby",b._ariaDescriptionId),
z(),Of(b._hasLeadingGraphic()?3:-1),z(4),Of(b._hasTrailingIcon()?7:-1),z(),D("id",b._ariaDescriptionId),z(),lg(b.ariaDescription))},dependencies:[mR],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 .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{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{overflow-x:hidden}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mdc-evolution-chip__action--primary:before{box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1}.mdc-evolution-chip--touch{margin-top:8px;margin-bottom:8px}.mdc-evolution-chip__action-touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-evolution-chip__text-label{white-space:nowrap;user-select:none;text-overflow:ellipsis;overflow:hidden}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mdc-evolution-chip__checkmark-background{opacity:0}.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__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.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--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__graphic{transition:width 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark{transition:opacity 50ms 0ms linear,transform 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-50%, -50%)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@keyframes mdc-evolution-chip-enter{from{transform:scale(0.8);opacity:.4}to{transform:scale(1);opacity:1}}.mdc-evolution-chip--enter{animation:mdc-evolution-chip-enter 100ms 0ms cubic-bezier(0, 0, 0.2, 1)}@keyframes mdc-evolution-chip-exit{from{opacity:1}to{opacity:0}}.mdc-evolution-chip--exit{animation:mdc-evolution-chip-exit 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-evolution-chip--hidden{opacity:0;pointer-events:none;transition:width 150ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-standard-chip{border-radius:var(--mdc-chip-container-shape-radius);height:var(--mdc-chip-container-height)}.mat-mdc-standard-chip .mdc-evolution-chip__ripple{border-radius:var(--mdc-chip-container-shape-radius)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-radius:var(--mdc-chip-container-shape-radius)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mdc-chip-with-avatar-avatar-shape-radius)}.mat-mdc-standard-chip.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width:var(--mdc-chip-with-avatar-avatar-size)}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{height:var(--mdc-chip-with-avatar-avatar-size);width:var(--mdc-chip-with-avatar-avatar-size);font-size:var(--mdc-chip-with-avatar-avatar-size)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--primary:before{border-color:var(--mdc-chip-outline-color)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational).mdc-ripple-upgraded--background-focused:before,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational):not(.mdc-ripple-upgraded):focus:before{border-color:var(--mdc-chip-focus-outline-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--primary:before{border-color:var(--mdc-chip-disabled-outline-color)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-outline-width)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-flat-selected-outline-width)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-selected-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-flat-disabled-selected-container-color)}.mat-mdc-standard-chip .mdc-evolution-chip__text-label{font-family:var(--mdc-chip-label-text-font);line-height:var(--mdc-chip-label-text-line-height);font-size:var(--mdc-chip-label-text-size);font-weight:var(--mdc-chip-label-text-weight);letter-spacing:var(--mdc-chip-label-text-tracking)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-label-text-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-selected-label-text-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{height:var(--mdc-chip-with-icon-icon-size);width:var(--mdc-chip-with-icon-icon-size);font-size:var(--mdc-chip-with-icon-icon-size)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-disabled-icon-color)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-disabled-icon-color)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-trailing-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-color)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary .mdc-evolution-chip__ripple::before,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary .mdc-evolution-chip__ripple::after{background-color:var(--mdc-chip-hover-state-layer-color)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:hover .mdc-evolution-chip__ripple::before,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary.mdc-ripple-surface--hover .mdc-evolution-chip__ripple::before{opacity:var(--mdc-chip-hover-state-layer-opacity)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary.mdc-ripple-upgraded--background-focused .mdc-evolution-chip__ripple::before,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:not(.mdc-ripple-upgraded):focus .mdc-evolution-chip__ripple::before{transition-duration:75ms;opacity:var(--mdc-chip-focus-state-layer-opacity)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary .mdc-evolution-chip__ripple::before,.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary .mdc-evolution-chip__ripple::after{background-color:var(--mdc-chip-selected-hover-state-layer-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary:hover .mdc-evolution-chip__ripple::before,.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary.mdc-ripple-surface--hover .mdc-evolution-chip__ripple::before{opacity:var(--mdc-chip-selected-hover-state-layer-opacity)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary.mdc-ripple-upgraded--background-focused .mdc-evolution-chip__ripple::before,.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary:not(.mdc-ripple-upgraded):focus .mdc-evolution-chip__ripple::before{transition-duration:75ms;opacity:var(--mdc-chip-selected-focus-state-layer-opacity)}.mat-mdc-chip-highlighted{--mdc-chip-with-icon-icon-color:var(--mdc-chip-with-icon-selected-icon-color);--mdc-chip-elevated-container-color:var(--mdc-chip-elevated-selected-container-color);--mdc-chip-label-text-color:var(--mdc-chip-selected-label-text-color);--mdc-chip-outline-width:var(--mdc-chip-flat-selected-outline-width)}.mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color)}.mat-mdc-chip-selected .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-focus-state-layer-color)}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-hover-state-layer-color);opacity:var(--mdc-chip-hover-state-layer-opacity)}.mat-mdc-chip-focus-overlay .mat-mdc-chip-selected:hover,.mat-mdc-chip-highlighted:hover .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-hover-state-layer-color);opacity:var(--mdc-chip-selected-hover-state-layer-opacity)}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color);opacity:var(--mdc-chip-focus-state-layer-opacity)}.mat-mdc-chip-selected.cdk-focused .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-focus-state-layer-color);opacity:var(--mdc-chip-selected-focus-state-layer-opacity)}.mdc-evolution-chip--disabled:not(.mdc-evolution-chip--selected) .mat-mdc-chip-avatar{opacity:var(--mdc-chip-with-avatar-disabled-avatar-opacity)}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{opacity:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity)}.mdc-evolution-chip--disabled.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{opacity:var(--mdc-chip-with-icon-disabled-icon-opacity)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:var(--mat-chip-disabled-container-opacity)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-trailing-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-disabled-trailing-icon-color)}.mat-mdc-chip-remove{opacity:var(--mat-chip-trailing-action-opacity)}.mat-mdc-chip-remove:focus{opacity:var(--mat-chip-trailing-action-focus-opacity)}.mat-mdc-chip-remove::after{background:var(--mat-chip-trailing-action-state-layer-color)}.mat-mdc-chip-remove:hover::after{opacity:var(--mat-chip-trailing-action-hover-state-layer-opacity)}.mat-mdc-chip-remove:focus::after{opacity:var(--mat-chip-trailing-action-focus-state-layer-opacity)}.mat-mdc-chip-selected .mat-mdc-chip-remove::after,.mat-mdc-chip-highlighted .mat-mdc-chip-remove::after{background:var(--mat-chip-selected-trailing-action-state-layer-color)}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove{opacity:calc(var(--mat-chip-trailing-action-opacity)*var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity))}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove:focus{opacity:calc(var(--mat-chip-trailing-action-focus-opacity)*var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity))}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-style:solid}.mat-mdc-standard-chip .mdc-evolution-chip__checkmark{height:20px;width:20px}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.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,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.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,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{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__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.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}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{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__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.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,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.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,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.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,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{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__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,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.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,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{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__ripple--trailing{left:8px;right:initial}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.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,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0)}.cdk-high-contrast-active .mat-mdc-standard-chip{outline:solid 1px}.cdk-high-contrast-active .mat-mdc-standard-chip .mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}.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 .mdc-evolution-chip__cell--primary{flex-basis:100%}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit}.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-basic-chip .mdc-evolution-chip__action--primary{font:inherit}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip .mat-ripple.mat-mdc-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-chip-avatar{text-align:center;line-height:1;color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-chip{position:relative;z-index:0}.mat-mdc-chip-action-label{text-align:left;z-index:1}[dir=rtl] .mat-mdc-chip-action-label{text-align:right}.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label{position:relative}.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.mat-mdc-chip-action-label .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-chip-remove::before{margin:calc(var(--mat-mdc-focus-indicator-border-width, 3px)*-1);left:8px;right:8px}.mat-mdc-chip-remove::after{content:"";display:block;opacity:0;position:absolute;top:-2px;bottom:-2px;left:6px;right:6px;border-radius:50%}.mat-mdc-chip-remove .mat-icon{width:18px;height:18px;font-size:18px;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}.cdk-high-contrast-active .mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}.mat-mdc-chip-action:focus .mat-mdc-focus-indicator::before{content:""}\n'],
encapsulation:2,changeDetection:0});var sR=function(a,b,c){this._elementRef=a;this._changeDetectorRef=b;this._dir=c;this._lastDestroyedFocusedChipIndex=null;this._destroyed=new W.Subject;this._defaultRole="presentation";this._disabled=!1;this.tabIndex=0;this._explicitRole=null;this._chipActions=new eg};g=sR.prototype;g.ngAfterViewInit=function(){this._setUpFocusManagement();this._trackChipSetChanges();this._trackDestroyedFocusedChip()};
g.ngOnDestroy=function(){var a;(a=this._keyManager)==null||a.destroy();this._chipActions.destroy();this._destroyed.next();this._destroyed.complete()};g._hasFocusedChip=function(){return this._chips&&this._chips.some(function(a){return a._hasFocus()})};g._syncChipsState=function(){var a=this;this._chips&&this._chips.forEach(function(b){b.disabled=a._disabled;b._changeDetectorRef.markForCheck()})};g.focus=function(){};g._handleKeydown=function(a){if(this._originatesFromChip(a))this._keyManager.onKeydown(a)};
g._isValidIndex=function(a){return a>=0&&a<this._chips.length};g._allowFocusEscape=function(){var a=this;if(this.tabIndex!==-1){var b=this.tabIndex;this.tabIndex=-1;setTimeout(function(){return a.tabIndex=b})}};g._getChipStream=function(a){var b=this;return this._chips.changes.pipe(of(null),pf(function(){return W.merge.apply(null,r(b._chips.map(a)))}))};g._originatesFromChip=function(a){for(a=a.target;a&&a!==this._elementRef.nativeElement;){if(a.classList.contains("mat-mdc-chip"))return!0;a=a.parentElement}return!1};
g._setUpFocusManagement=function(){var a=this;this._chips.changes.pipe(of(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);ig(a._chipActions)});this._keyManager=Ew(Iw(Hw(Gw(new Lw(this._chipActions)),this._dir?this._dir.value:"ltr")),function(c){return a._skipPredicate(c)});this.chipFocusChanges.pipe(qf(this._destroyed)).subscribe(function(c){(c=c.chip._getSourceAction(document.activeElement))&&
Jw(a._keyManager,c)});var b;(b=this._dir)==null||b.change.pipe(qf(this._destroyed)).subscribe(function(c){return Hw(a._keyManager,c)})};g._skipPredicate=function(a){return!a.isInteractive||a.disabled};g._trackChipSetChanges=function(){var a=this;this._chips.changes.pipe(of(null),qf(this._destroyed)).subscribe(function(){a.disabled&&Promise.resolve().then(function(){return a._syncChipsState()});a._redirectDestroyedChipFocus()})};
g._trackDestroyedFocusedChip=function(){var a=this;this.chipDestroyedChanges.pipe(qf(this._destroyed)).subscribe(function(b){var c=a._chips.toArray().indexOf(b.chip);a._isValidIndex(c)&&b.chip._hasFocus()&&(a._lastDestroyedFocusedChipIndex=c)})};
g._redirectDestroyedChipFocus=function(){if(this._lastDestroyedFocusedChipIndex!=null){if(this._chips.length){var a=Math.min(this._lastDestroyedFocusedChipIndex,this._chips.length-1);a=this._chips.toArray()[a];a.disabled?this._chips.length===1?this.focus():this._keyManager.setPreviousItemActive():a.focus()}else this.focus();this._lastDestroyedFocusedChipIndex=null}};
ea.Object.defineProperties(sR.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()}}});sR.\u0275fac=function(a){return new (a||sR)(A(Rd),A(Ig),A(Uw,8))};
sR.\u0275cmp=p({type:sR,selectors:[["mat-chip-set"]],contentQueries:function(a,b,c){a&1&&gg(c,qR,5);if(a&2){var d;jg(d=kg())&&(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&&Bf("role",b.role)},inputs:{disabled:[2,"disabled","disabled",Gg],role:"role",tabIndex:[2,"tabIndex","tabIndex",function(a){return a==null?0:Hg(a)}]},standalone:!0,features:[Af,sg],ngContentSelectors:["*"],
decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(a){a&1&&(Xf(),F(0,"div",0),Yf(1),G())},styles:[".mdc-evolution-chip-set{display:flex}.mdc-evolution-chip-set:focus{outline:none}.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mdc-evolution-chip-set--overflow .mdc-evolution-chip-set__chips{flex-flow:nowrap}.mdc-evolution-chip-set .mdc-evolution-chip-set__chips{margin-left:-8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip-set__chips,.mdc-evolution-chip-set .mdc-evolution-chip-set__chips[dir=rtl]{margin-left:0;margin-right:-8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-left:8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip,.mdc-evolution-chip-set .mdc-evolution-chip[dir=rtl]{margin-left:0;margin-right:8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-top:4px;margin-bottom:4px}.mat-mdc-chip-set .mdc-evolution-chip-set__chips{min-width:100%}.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 boc=function(a,b){this.source=a;this.value=b},coc={provide:jy,useExisting:Uc(function(){return tR}),multi:!0},tR=function(){sR.apply(this,arguments);this._onTouched=function(){};this._onChange=function(){};this._defaultRole="listbox";this._defaultOptions=Yc(Unc,{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 Xu;this._chips=void 0};X(tR,sR);g=tR.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(of(null),qf(this._destroyed)).subscribe(function(){a._syncListboxProperties()});this.chipBlurChanges.pipe(qf(this._destroyed)).subscribe(function(){return a._blur()});this.chipSelectionChanges.pipe(qf(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&&sR.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 boc(this,a));this._onChange(a);this._changeDetectorRef.markForCheck()};g._clearSelection=function(a){this._chips.forEach(function(b){b!==a&&b.deselect()})};
g._selectValue=function(a,b){var c=this,d=this._chips.find(function(e){return e.value!=null&&c.compareWith(e.value,a)});d&&(b?d._setSelectedState(!0,!0,!0):d.select());return d};g._syncListboxProperties=function(){var a=this;this._chips&&Promise.resolve().then(function(){a._chips.forEach(function(b){b._chipListMultiple=a.multiple;b.chipListSelectable=a._selectable;b._chipListHideSingleSelectionIndicator=a.hideSingleSelectionIndicator;b._changeDetectorRef.markForCheck()})})};
g._getFirstSelectedChip=function(){return Array.isArray(this.selected)?this.selected.length?this.selected[0]:void 0:this.selected};g._skipPredicate=function(a){return!a.isInteractive};
ea.Object.defineProperties(tR.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}}});tR.\u0275fac=function(){var a;return function(b){return(a||(a=Od(tR)))(b||tR)}}();
tR.\u0275cmp=p({type:tR,selectors:[["mat-chip-listbox"]],contentQueries:function(a,b,c){a&1&&gg(c,rR,5);if(a&2){var d;jg(d=kg())&&(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&&(Tf("tabIndex",b.disabled||b.empty?-1:b.tabIndex),Bf("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),Kf("mat-mdc-chip-list-disabled",b.disabled)("mat-mdc-chip-list-required",b.required))},inputs:{multiple:[2,"multiple","multiple",Gg],ariaOrientation:[0,"aria-orientation","ariaOrientation"],selectable:[2,"selectable","selectable",Gg],compareWith:"compareWith",required:[2,"required","required",Gg],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",
Gg],value:"value"},outputs:{change:"change"},standalone:!0,features:[qg([coc]),Af,zf,sg],ngContentSelectors:["*"],decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(a){a&1&&(Xf(),F(0,"div",0),Yf(1),G())},styles:[".mdc-evolution-chip-set{display:flex}.mdc-evolution-chip-set:focus{outline:none}.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mdc-evolution-chip-set--overflow .mdc-evolution-chip-set__chips{flex-flow:nowrap}.mdc-evolution-chip-set .mdc-evolution-chip-set__chips{margin-left:-8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip-set__chips,.mdc-evolution-chip-set .mdc-evolution-chip-set__chips[dir=rtl]{margin-left:0;margin-right:-8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-left:8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip,.mdc-evolution-chip-set .mdc-evolution-chip[dir=rtl]{margin-left:0;margin-right:8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-top:4px;margin-bottom:4px}.mat-mdc-chip-set .mdc-evolution-chip-set__chips{min-width:100%}.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 doc=["input"],eoc=["formField"],foc=0,goc=function(a,b){this.source=a;this.value=b},hoc={provide:jy,useExisting:Uc(function(){return uR}),multi:!0},ioc=new md("MatRadioGroup"),joc=new md("mat-radio-default-options",{providedIn:"root",factory:LPa}),uR=function(a){this._changeDetector=a;this._value=null;this._name="mat-radio-group-"+foc++;this._selected=null;this._isInitialized=!1;this._labelPosition="after";this._required=this._disabled=!1;this._controlValueAccessorChangeFn=function(){};this.onTouched=
function(){};this.change=new Xu};g=uR.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 goc(this._selected,this._value))};
g._markRadiosForCheck=function(){this._radios&&this._radios.forEach(function(a){return a._markForCheck()})};g.writeValue=function(a){this.value=a;this._changeDetector.markForCheck()};g.registerOnChange=function(a){this._controlValueAccessorChangeFn=a};g.registerOnTouched=function(a){this.onTouched=a};g.setDisabledState=function(a){this.disabled=a;this._changeDetector.markForCheck()};
ea.Object.defineProperties(uR.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()}}});
uR.\u0275fac=function(a){return new (a||uR)(A(Ig))};
uR.\u0275dir=fd({type:uR,selectors:[["mat-radio-group"]],contentQueries:function(a,b,c){a&1&&gg(c,vR,5);if(a&2){var d;jg(d=kg())&&(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",Gg],required:[2,"required","required",Gg]},outputs:{change:"change"},exportAs:["matRadioGroup"],standalone:!0,features:[qg([hoc,{provide:ioc,useExisting:uR}]),Af]});
var vR=function(a,b,c,d,e,f,h,k){this._elementRef=b;this._changeDetector=c;this._focusMonitor=d;this._radioDispatcher=e;this._providerOverride=h;this.id=this._uniqueId="mat-radio-"+ ++foc;this.disableRipple=!1;this.tabIndex=0;this.change=new Xu;this._checked=!1;this._value=null;this._removeUniqueSelectionListener=function(){};this._injector=Yc(Ae);this.radioGroup=a;this._noopAnimations=f==="NoopAnimations";k&&(this.tabIndex=Hg(k,0))};g=vR.prototype;
g.focus=function(a,b){b?fw(this._focusMonitor,this._inputElement,b,a):this._inputElement.nativeElement.focus(a)};g._markForCheck=function(){this._changeDetector.markForCheck()};g.ngOnInit=function(){var a=this;if(this.radioGroup){if(this.checked=this.radioGroup.value===this._value)this.radioGroup.selected=this;this.name=this.radioGroup.name}this._removeUniqueSelectionListener=this._radioDispatcher.listen(function(b,c){b!==a.id&&c===a.name&&(a.checked=!1)})};g.ngDoCheck=function(){this._updateTabIndex()};
g.ngAfterViewInit=function(){var a=this;this._updateTabIndex();this._focusMonitor.monitor(this._elementRef,!0).subscribe(function(b){!b&&a.radioGroup&&a.radioGroup._touch()})};g.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef);this._removeUniqueSelectionListener()};g._emitChangeEvent=function(){this.change.emit(new goc(this,this._value))};g._isRippleDisabled=function(){return this.disableRipple||this.disabled};g._onInputClick=function(a){a.stopPropagation()};
g._onInputInteraction=function(a){a.stopPropagation();this.checked||this.disabled||(a=this.radioGroup&&this.value!==this.radioGroup.value,this.checked=!0,this._emitChangeEvent(),this.radioGroup&&(this.radioGroup._controlValueAccessorChangeFn(this.value),a&&this.radioGroup._emitChangeEvent()))};g._onTouchTargetClick=function(a){this._onInputInteraction(a);this.disabled||this._inputElement.nativeElement.focus()};g._setDisabled=function(a){this._disabled!==a&&(this._disabled=a,this._changeDetector.markForCheck())};
g._updateTabIndex=function(){var a=this,b=this.radioGroup;var c=b&&b.selected&&!this.disabled?b.selected===this?this.tabIndex:-1:this.tabIndex;if(c!==this._previousTabIndex){var d,e=(d=this._inputElement)==null?void 0:d.nativeElement;e&&(e.setAttribute("tabindex",c+""),this._previousTabIndex=c,Fe(function(){queueMicrotask(function(){if(b&&b.selected&&b.selected!==a&&document.activeElement===e){var f;(f=b.selected)==null||f._inputElement.nativeElement.focus();document.activeElement===e&&a._inputElement.nativeElement.blur()}})},
{injector:this._injector}))}};
ea.Object.defineProperties(vR.prototype,{checked:{configurable:!0,enumerable:!0,get:function(){return this._checked},set:function(a){this._checked!==a&&((this._checked=a)&&this.radioGroup&&this.radioGroup.value!==this.value?this.radioGroup.selected=this:!a&&this.radioGroup&&this.radioGroup.value===this.value&&(this.radioGroup.selected=null),a&&this._radioDispatcher.notify(this.id,this.name),this._changeDetector.markForCheck())}},value:{configurable:!0,enumerable:!0,get:function(){return this._value},set:function(a){this._value!==
a&&(this._value=a,this.radioGroup!==null&&(this.checked||(this.checked=this.radioGroup.value===a),this.checked&&(this.radioGroup.selected=this)))}},labelPosition:{configurable:!0,enumerable:!0,get:function(){return this._labelPosition||this.radioGroup&&this.radioGroup.labelPosition||"after"},set:function(a){this._labelPosition=a}},disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled||this.radioGroup!==null&&this.radioGroup.disabled},set:function(a){this._setDisabled(a)}},required:{configurable:!0,
enumerable:!0,get:function(){return this._required||this.radioGroup&&this.radioGroup.required},set:function(a){this._required=a}},color:{configurable:!0,enumerable:!0,get:function(){return this._color||this.radioGroup&&this.radioGroup.color||this._providerOverride&&this._providerOverride.color||"accent"},set:function(a){this._color=a}},inputId:{configurable:!0,enumerable:!0,get:function(){return(this.id||this._uniqueId)+"-input"}}});
vR.\u0275fac=function(a){return new (a||vR)(A(ioc,8),A(Rd),A(Ig),A(ew),A(hx),A(vu,8),A(joc,8),Jd("tabindex"))};
vR.\u0275cmp=p({type:vR,selectors:[["mat-radio-button"]],viewQuery:function(a,b){a&1&&(fg(doc,5),fg(eoc,7,Rd));if(a&2){var c;jg(c=kg())&&(b._inputElement=c.first);jg(c=kg())&&(b._rippleTrigger=c.first)}},hostAttrs:[1,"mat-mdc-radio-button"],hostVars:15,hostBindings:function(a,b){a&1&&M("focus",function(){return b._inputElement.nativeElement.focus()});a&2&&(Bf("id",b.id)("tabindex",null)("aria-label",null)("aria-labelledby",null)("aria-describedby",null),Kf("mat-primary",b.color==="primary")("mat-accent",
b.color==="accent")("mat-warn",b.color==="warn")("mat-mdc-radio-checked",b.checked)("_mat-animation-noopable",b._noopAnimations))},inputs:{id:"id",name:"name",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],disableRipple:[2,"disableRipple","disableRipple",Gg],tabIndex:[2,"tabIndex","tabIndex",function(a){return a==null?0:Hg(a)}],checked:[2,"checked","checked",Gg],value:"value",labelPosition:"labelPosition",
disabled:[2,"disabled","disabled",Gg],required:[2,"required","required",Gg],color:"color"},outputs:{change:"change"},exportAs:["matRadioButton"],standalone:!0,features:[Af,sg],ngContentSelectors:["*"],decls:13,vars:16,consts:[["formField",""],["input",""],["mat-internal-form-field","",3,"labelPosition"],[1,"mdc-radio"],[1,"mat-mdc-radio-touch-target",3,"click"],["type","radio",1,"mdc-radio__native-control",3,"change","id","checked","disabled","required"],[1,"mdc-radio__background"],[1,"mdc-radio__outer-circle"],
[1,"mdc-radio__inner-circle"],["mat-ripple","",1,"mat-radio-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mat-ripple-element","mat-radio-persistent-ripple"],[1,"mdc-label",3,"for"]],template:function(a,b){if(a&1){var c=u();Xf();F(0,"div",2,0)(2,"div",3)(3,"div",4);M("click",function(d){v(c);return x(b._onTouchTargetClick(d))});G();F(4,"input",5,1);M("change",function(d){v(c);return x(b._onInputInteraction(d))});G();F(6,"div",6);H(7,"div",7)(8,
"div",8);G();F(9,"div",9);H(10,"div",10);G()();F(11,"label",11);Yf(12);G()()}a&2&&(D("labelPosition",b.labelPosition),z(2),Kf("mdc-radio--disabled",b.disabled),z(2),D("id",b.inputId)("checked",b.checked)("disabled",b.disabled)("required",b.required),Bf("name",b.name)("value",b.value)("aria-label",b.ariaLabel)("aria-labelledby",b.ariaLabelledby)("aria-describedby",b.ariaDescribedby),z(5),D("matRippleTrigger",b._rippleTrigger.nativeElement)("matRippleDisabled",b._isRippleDisabled())("matRippleCentered",
!0),z(2),D("for",b.inputId))},dependencies:[Ix,Gx],styles:['.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}.mdc-radio[hidden]{display:none}.mdc-radio__background{display:inline-block;position:relative;box-sizing:border-box;width:20px;height:20px}.mdc-radio__background::before{position:absolute;transform:scale(0, 0);border-radius:50%;opacity:0;pointer-events:none;content:"";transition:opacity 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.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 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.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 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1),border-color 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-radio__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit;z-index:1}.mdc-radio--touch{margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-radio--touch .mdc-radio__native-control{top:calc((40px - 48px) / 2);right:calc((40px - 48px) / 2);left:calc((40px - 48px) / 2);width:48px;height:48px}.mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring,.mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%}@media screen and (forced-colors: active){.mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring,.mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring{border-color:CanvasText}}.mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring::after,.mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring::after,.mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring::after{border-color:CanvasText}}.mdc-radio__native-control:checked+.mdc-radio__background,.mdc-radio__native-control:disabled+.mdc-radio__background{transition:opacity 120ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__outer-circle{transition:border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle,.mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{transition:transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1),border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-radio--disabled{cursor:default;pointer-events:none}.mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle{transform:scale(0.5);transition:transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1),border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-radio__native-control:disabled+.mdc-radio__background,[aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background{cursor:default}.mdc-radio__native-control:focus+.mdc-radio__background::before{transform:scale(1);opacity:.12;transition:opacity 120ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-radio-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-radio-button .mdc-radio{padding:calc((var(--mdc-radio-state-layer-size) - 20px) / 2)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-disabled-selected-icon-color)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-disabled-selected-icon-color)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled:checked+.mdc-radio__background .mdc-radio__outer-circle{opacity:var(--mdc-radio-disabled-selected-icon-opacity)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{opacity:var(--mdc-radio-disabled-selected-icon-opacity)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-disabled-unselected-icon-color)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{opacity:var(--mdc-radio-disabled-unselected-icon-opacity)}.mat-mdc-radio-button .mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-selected-focus-icon-color)}.mat-mdc-radio-button .mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-radio-button .mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-selected-focus-icon-color)}.mat-mdc-radio-button .mdc-radio:hover .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-selected-hover-icon-color)}.mat-mdc-radio-button .mdc-radio:hover .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-selected-hover-icon-color)}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-selected-icon-color)}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-selected-icon-color)}.mat-mdc-radio-button .mdc-radio:not(:disabled):active .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-selected-pressed-icon-color)}.mat-mdc-radio-button .mdc-radio:not(:disabled):active .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-selected-pressed-icon-color)}.mat-mdc-radio-button .mdc-radio:hover .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-hover-icon-color)}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-icon-color)}.mat-mdc-radio-button .mdc-radio:not(:disabled):active .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-pressed-icon-color)}.mat-mdc-radio-button .mdc-radio .mdc-radio__background::before{top:calc(-1 * (var(--mdc-radio-state-layer-size) - 20px) / 2);left:calc(-1 * (var(--mdc-radio-state-layer-size) - 20px) / 2);width:var(--mdc-radio-state-layer-size);height:var(--mdc-radio-state-layer-size)}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control{top:calc((var(--mdc-radio-state-layer-size) - var(--mdc-radio-state-layer-size)) / 2);right:calc((var(--mdc-radio-state-layer-size) - var(--mdc-radio-state-layer-size)) / 2);left:calc((var(--mdc-radio-state-layer-size) - var(--mdc-radio-state-layer-size)) / 2);width:var(--mdc-radio-state-layer-size);height:var(--mdc-radio-state-layer-size)}.mat-mdc-radio-button .mdc-radio .mdc-radio__background::before{background-color:var(--mat-radio-ripple-color)}.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.mat-mdc-radio-checked .mdc-radio__background::before{background-color:var(--mat-radio-checked-ripple-color)}.mat-mdc-radio-button.mat-mdc-radio-checked .mat-ripple-element{background-color:var(--mat-radio-checked-ripple-color)}.mat-mdc-radio-button .mat-internal-form-field{color:var(--mat-radio-label-text-color);font-family:var(--mat-radio-label-text-font);line-height:var(--mat-radio-label-text-line-height);font-size:var(--mat-radio-label-text-size);letter-spacing:var(--mat-radio-label-text-tracking);font-weight:var(--mat-radio-label-text-weight)}.mat-mdc-radio-button .mdc-radio--disabled+label{color:var(--mat-radio-disabled-label-color)}.mat-mdc-radio-button .mat-radio-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:50%}.mat-mdc-radio-button .mat-radio-ripple .mat-ripple-element{opacity:.14}.mat-mdc-radio-button .mat-radio-ripple::before{border-radius:50%}.mat-mdc-radio-button._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 .mdc-radio__native-control:focus:enabled:not(:checked)~.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-focus-icon-color, black)}.mat-mdc-radio-button.cdk-focused .mat-mdc-focus-indicator::before{content:""}.mat-mdc-radio-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-radio-touch-target-display)}[dir=rtl] .mat-mdc-radio-touch-target{left:0;right:50%;transform:translate(50%, -50%)}\n'],
encapsulation:2,changeDetection:0});var wR=new md("CDK_TABLE");new md("text-column-options");var xR=function(a){this.template=a};xR.\u0275fac=function(a){return new (a||xR)(A(cg))};xR.\u0275dir=fd({type:xR,selectors:[["","cdkCellDef",""]],standalone:!0});var yR=function(a){this.template=a};yR.\u0275fac=function(a){return new (a||yR)(A(cg))};yR.\u0275dir=fd({type:yR,selectors:[["","cdkHeaderCellDef",""]],standalone:!0});var zR=function(a){this.template=a};zR.\u0275fac=function(a){return new (a||zR)(A(cg))};zR.\u0275dir=fd({type:zR,selectors:[["","cdkFooterCellDef",""]],standalone:!0});
var AR=function(a){this._table=a;this._stickyEnd=this._sticky=this._hasStickyChanged=!1};AR.prototype.hasStickyChanged=function(){var a=this._hasStickyChanged;this.resetStickyChanged();return a};AR.prototype.resetStickyChanged=function(){this._hasStickyChanged=!1};AR.prototype._updateColumnCssClassName=function(){this._columnCssClassName=["cdk-column-"+this.cssClassFriendlyName]};AR.prototype._setNameInput=function(a){a&&(this._name=a,this.cssClassFriendlyName=a.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())};
ea.Object.defineProperties(AR.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)}}});
AR.\u0275fac=function(a){return new (a||AR)(A(wR,8))};AR.\u0275dir=fd({type:AR,selectors:[["","cdkColumnDef",""]],contentQueries:function(a,b,c){a&1&&(gg(c,xR,5),gg(c,yR,5),gg(c,zR,5));if(a&2){var d;jg(d=kg())&&(b.cell=d.first);jg(d=kg())&&(b.headerCell=d.first);jg(d=kg())&&(b.footerCell=d.first)}},inputs:{name:[0,"cdkColumnDef","name"],sticky:[2,"sticky","sticky",Gg],stickyEnd:[2,"stickyEnd","stickyEnd",Gg]},standalone:!0,features:[qg([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:AR}]),Af]});
var BR=function(a,b){b.nativeElement.classList.add.apply(b.nativeElement.classList,r(a._columnCssClassName))},CR=function(a,b){BR.call(this,a,b)};X(CR,BR);CR.\u0275fac=function(a){return new (a||CR)(A(AR),A(Rd))};CR.\u0275dir=fd({type:CR,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],standalone:!0,features:[zf]});
var DR=function(a,b){BR.call(this,a,b);var c;(a=(c=a._table)==null?void 0:c._getCellRole())&&b.nativeElement.setAttribute("role",a)};X(DR,BR);DR.\u0275fac=function(a){return new (a||DR)(A(AR),A(Rd))};DR.\u0275dir=fd({type:DR,selectors:[["cdk-footer-cell"],["td","cdk-footer-cell",""]],hostAttrs:[1,"cdk-footer-cell"],standalone:!0,features:[zf]});var ER=function(a,b){BR.call(this,a,b);var c;(a=(c=a._table)==null?void 0:c._getCellRole())&&b.nativeElement.setAttribute("role",a)};X(ER,BR);
ER.\u0275fac=function(a){return new (a||ER)(A(AR),A(Rd))};ER.\u0275dir=fd({type:ER,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],standalone:!0,features:[zf]});var koc=function(){this.tasks=[];this.endTasks=[]},loc=new md("_COALESCED_STYLE_SCHEDULER"),FR=function(){this._currentSchedule=null;this._ngZone=Yc(ze)};FR.prototype.schedule=function(a){this._createScheduleIfNeeded();this._currentSchedule.tasks.push(a)};
FR.prototype._createScheduleIfNeeded=function(){var a=this;this._currentSchedule||(this._currentSchedule=new koc,this._ngZone.runOutsideAngular(function(){return queueMicrotask(function(){for(;a._currentSchedule.tasks.length||a._currentSchedule.endTasks.length;){var b=a._currentSchedule;a._currentSchedule=new koc;for(var c=l(b.tasks),d=c.next();!d.done;d=c.next())d=d.value,d();b=l(b.endTasks);for(c=b.next();!c.done;c=b.next())c=c.value,c()}a._currentSchedule=null})}))};
FR.\u0275fac=function(a){return new (a||FR)(n(ze))};FR.\u0275prov=Hc({token:FR,factory:FR.\u0275fac});var GR=function(a,b){this.template=a;this._differs=b};GR.prototype.ngOnChanges=function(a){this._columnsDiffer||(a=a.columns&&a.columns.currentValue||[],this._columnsDiffer=this._differs.find(a).create(),this._columnsDiffer.diff(a))};GR.\u0275fac=function(a){return new (a||GR)(A(cg),A(xv))};GR.\u0275dir=fd({type:GR,features:[td]});var HR=function(a,b,c){GR.call(this,a,b);this._table=c;this._sticky=this._hasStickyChanged=!1};X(HR,GR);
HR.prototype.ngOnChanges=function(a){GR.prototype.ngOnChanges.call(this,a)};HR.prototype.hasStickyChanged=function(){var a=this._hasStickyChanged;this.resetStickyChanged();return a};HR.prototype.resetStickyChanged=function(){this._hasStickyChanged=!1};ea.Object.defineProperties(HR.prototype,{sticky:{configurable:!0,enumerable:!0,get:function(){return this._sticky},set:function(a){a!==this._sticky&&(this._sticky=a,this._hasStickyChanged=!0)}}});
HR.\u0275fac=function(a){return new (a||HR)(A(cg),A(xv),A(wR,8))};HR.\u0275dir=fd({type:HR,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:[0,"cdkHeaderRowDef","columns"],sticky:[2,"cdkHeaderRowDefSticky","sticky",Gg]},standalone:!0,features:[Af,zf,td]});var IR=function(a,b,c){GR.call(this,a,b);this._table=c;this._sticky=this._hasStickyChanged=!1};X(IR,GR);IR.prototype.ngOnChanges=function(a){GR.prototype.ngOnChanges.call(this,a)};
IR.prototype.hasStickyChanged=function(){var a=this._hasStickyChanged;this.resetStickyChanged();return a};IR.prototype.resetStickyChanged=function(){this._hasStickyChanged=!1};ea.Object.defineProperties(IR.prototype,{sticky:{configurable:!0,enumerable:!0,get:function(){return this._sticky},set:function(a){a!==this._sticky&&(this._sticky=a,this._hasStickyChanged=!0)}}});IR.\u0275fac=function(a){return new (a||IR)(A(cg),A(xv),A(wR,8))};
IR.\u0275dir=fd({type:IR,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:[0,"cdkFooterRowDef","columns"],sticky:[2,"cdkFooterRowDefSticky","sticky",Gg]},standalone:!0,features:[Af,zf,td]});var JR=function(a,b,c){GR.call(this,a,b);this._table=c};X(JR,GR);JR.\u0275fac=function(a){return new (a||JR)(A(cg),A(xv),A(wR,8))};JR.\u0275dir=fd({type:JR,selectors:[["","cdkRowDef",""]],inputs:{columns:[0,"cdkRowDefColumns","columns"],when:[0,"cdkRowDefWhen","when"]},standalone:!0,features:[zf]});
var KR=function(a){this._viewContainer=a;moc=this};KR.prototype.ngOnDestroy=function(){moc===this&&(moc=null)};var moc=null;KR.\u0275fac=function(a){return new (a||KR)(A(dg))};KR.\u0275dir=fd({type:KR,selectors:[["","cdkCellOutlet",""]],standalone:!0});var LR=function(){};LR.\u0275fac=function(a){return new (a||LR)};
LR.\u0275cmp=p({type:LR,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],standalone:!0,features:[sg],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(a){a&1&&Sf(0,0)},dependencies:[KR],encapsulation:2});var MR=function(){};MR.\u0275fac=function(a){return new (a||MR)};
MR.\u0275cmp=p({type:MR,selectors:[["cdk-footer-row"],["tr","cdk-footer-row",""]],hostAttrs:["role","row",1,"cdk-footer-row"],standalone:!0,features:[sg],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(a){a&1&&Sf(0,0)},dependencies:[KR],encapsulation:2});var NR=function(){};NR.\u0275fac=function(a){return new (a||NR)};
NR.\u0275cmp=p({type:NR,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],standalone:!0,features:[sg],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(a){a&1&&Sf(0,0)},dependencies:[KR],encapsulation:2});var OR=function(a){this.templateRef=a;this._contentClassName="cdk-no-data-row"};OR.\u0275fac=function(a){return new (a||OR)(A(cg))};OR.\u0275dir=fd({type:OR,selectors:[["ng-template","cdkNoDataRow",""]],standalone:!0});var noc=new md("CDK_SPL");var ooc=["top","bottom","left","right"],poc=function(a,b,c,d,e,f,h){e=e===void 0?!0:e;f=f===void 0?!0:f;this._isNativeHtmlTable=a;this._stickCellCss=b;this.direction=c;this._coalescedStyleScheduler=d;this._isBrowser=e;this._needsPositionStickyOnElement=f;this._positionListener=h;this._cachedCellWidths=[];this._borderCellCss={top:b+"-border-elem-top",bottom:b+"-border-elem-bottom",left:b+"-border-elem-left",right:b+"-border-elem-right"}},qoc=function(a,b,c){var d=[];b=l(b);for(var e=b.next();!e.done;e=
b.next())if(e=e.value,e.nodeType===e.ELEMENT_NODE){d.push(e);for(var f=0;f<e.children.length;f++)d.push(e.children[f])}a._coalescedStyleScheduler.schedule(function(){for(var h=l(d),k=h.next();!k.done;k=h.next())a._removeStickyStyle(k.value,c)})},roc=function(a,b,c,d,e){e=e===void 0?!0:e;b.length&&a._isBrowser&&(c.some(function(f){return f})||d.some(function(f){return f}))?a._coalescedStyleScheduler.schedule(function(){var f=b[0],h=f.children.length;f=a._getCellWidths(f,e);var k=a._getStickyStartColumnPositions(f,
c),q=a._getStickyEndColumnPositions(f,d),t=c.lastIndexOf(!0),w=d.indexOf(!0),B=a.direction==="rtl",E=B?"right":"left";B=B?"left":"right";for(var I=l(b),J=I.next();!J.done;J=I.next()){J=J.value;for(var N=0;N<h;N++){var P=J.children[N];c[N]&&a._addStickyStyle(P,E,k[N],N===t);d[N]&&a._addStickyStyle(P,B,q[N],N===w)}}a._positionListener&&(a._positionListener.stickyColumnsUpdated({sizes:t===-1?[]:f.slice(0,t+1).map(function(U,ba){return c[ba]?U:null})}),a._positionListener.stickyEndColumnsUpdated({sizes:w===
-1?[]:f.slice(w).map(function(U,ba){return d[ba+w]?U:null}).reverse()}))}):a._positionListener&&(a._positionListener.stickyColumnsUpdated({sizes:[]}),a._positionListener.stickyEndColumnsUpdated({sizes:[]}))},soc=function(a,b,c,d){a._isBrowser&&a._coalescedStyleScheduler.schedule(function(){for(var e=d==="bottom"?b.slice().reverse():b,f=d==="bottom"?c.slice().reverse():c,h=[],k=[],q=[],t=0,w=0;t<e.length;t++)if(f[t]){h[t]=w;var B=e[t];q[t]=a._isNativeHtmlTable?Array.from(B.children):[B];B=B.getBoundingClientRect().height;
w+=B;k[t]=B}t=f.lastIndexOf(!0);for(w=0;w<e.length;w++)if(f[w]){B=h[w];for(var E=w===t,I=l(q[w]),J=I.next();!J.done;J=I.next())a._addStickyStyle(J.value,d,B,E)}if(d==="top"){var N;(N=a._positionListener)==null||N.stickyHeaderRowsUpdated({sizes:k,offsets:h,elements:q})}else{var P;(P=a._positionListener)==null||P.stickyFooterRowsUpdated({sizes:k,offsets:h,elements:q})}})},toc=function(a,b,c){a._isNativeHtmlTable&&a._coalescedStyleScheduler.schedule(function(){var d=b.querySelector("tfoot");d&&(c.some(function(e){return!e})?
a._removeStickyStyle(d,["bottom"]):a._addStickyStyle(d,"bottom",0,!1))})};g=poc.prototype;g._removeStickyStyle=function(a,b){for(var c=l(b),d=c.next();!d.done;d=c.next())d=d.value,a.style[d]="",a.classList.remove(this._borderCellCss[d]);ooc.some(function(e){return b.indexOf(e)===-1&&a.style[e]})?a.style.zIndex=this._getCalculatedZIndex(a):(a.style.zIndex="",this._needsPositionStickyOnElement&&(a.style.position=""),a.classList.remove(this._stickCellCss))};
g._addStickyStyle=function(a,b,c,d){a.classList.add(this._stickCellCss);d&&a.classList.add(this._borderCellCss[b]);a.style[b]=c+"px";a.style.zIndex=this._getCalculatedZIndex(a);this._needsPositionStickyOnElement&&(a.style.cssText+="position: -webkit-sticky; position: sticky; ")};g._getCalculatedZIndex=function(a){for(var b={top:100,bottom:10,left:1,right:1},c=0,d=l(ooc),e=d.next();!e.done;e=d.next())e=e.value,a.style[e]&&(c+=b[e]);return c?""+c:""};
g._getCellWidths=function(a,b){if(b!==void 0&&!b&&this._cachedCellWidths.length)return this._cachedCellWidths;b=[];a=a.children;for(var c=0;c<a.length;c++)b.push(a[c].getBoundingClientRect().width);return this._cachedCellWidths=b};g._getStickyStartColumnPositions=function(a,b){for(var c=[],d=0,e=0;e<a.length;e++)b[e]&&(c[e]=d,d+=a[e]);return c};g._getStickyEndColumnPositions=function(a,b){for(var c=[],d=0,e=a.length;e>0;e--)b[e]&&(c[e]=d,d+=a[e]);return c};var uoc=[[["caption"]],[["colgroup"],["col"]],"*"],PR=function(a,b){this.viewContainer=a;this.elementRef=b;a=Yc(wR);a._rowOutlet=this;a._outletAssigned()};PR.\u0275fac=function(a){return new (a||PR)(A(dg),A(Rd))};PR.\u0275dir=fd({type:PR,selectors:[["","rowOutlet",""]],standalone:!0});var QR=function(a,b){this.viewContainer=a;this.elementRef=b;a=Yc(wR);a._headerRowOutlet=this;a._outletAssigned()};QR.\u0275fac=function(a){return new (a||QR)(A(dg),A(Rd))};
QR.\u0275dir=fd({type:QR,selectors:[["","headerRowOutlet",""]],standalone:!0});var RR=function(a,b){this.viewContainer=a;this.elementRef=b;a=Yc(wR);a._footerRowOutlet=this;a._outletAssigned()};RR.\u0275fac=function(a){return new (a||RR)(A(dg),A(Rd))};RR.\u0275dir=fd({type:RR,selectors:[["","footerRowOutlet",""]],standalone:!0});var SR=function(a,b){this.viewContainer=a;this.elementRef=b;a=Yc(wR);a._noDataRowOutlet=this;a._outletAssigned()};SR.\u0275fac=function(a){return new (a||SR)(A(dg),A(Rd))};
SR.\u0275dir=fd({type:SR,selectors:[["","noDataRowOutlet",""]],standalone:!0});
var TR=function(a,b,c,d,e,f,h,k,q,t,w){this._differs=a;this._changeDetectorRef=b;this._elementRef=c;this._dir=e;this._platform=h;this._viewRepeater=k;this._coalescedStyleScheduler=q;this._viewportRuler=t;this._stickyPositioningListener=w;this._onDestroy=new W.Subject;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 Xu;this._injector=Yc(Ae);d||c.nativeElement.setAttribute("role","table");this._document=f;this._isServer=!h.isBrowser;this._isNativeHtmlTable=c.nativeElement.nodeName==="TABLE"};g=TR.prototype;
g._getCellRole=function(){if(this._cellRoleInternal===void 0){var a=this._elementRef.nativeElement.getAttribute("role");a=a==="grid"||a==="treegrid"?"gridcell":"cell";this._cellRoleInternal=this._isNativeHtmlTable&&a==="cell"?null:a}return this._cellRoleInternal};
g.ngOnInit=function(){var a=this;this._setupStickyStyler();this._dataDiffer=this._differs.find([]).create(function(b,c){return a.trackBy?a.trackBy(c.dataIndex,c.data):c});this._viewportRuler.change().pipe(qf(this._onDestroy)).subscribe(function(){a._forceRecalculateCellWidths=!0})};g.ngAfterContentInit=function(){this._hasInitialized=!0};g.ngAfterContentChecked=function(){this._canRender()&&this._render()};
g.ngOnDestroy=function(){var a,b,c;[(a=this._rowOutlet)==null?void 0:a.viewContainer,(b=this._headerRowOutlet)==null?void 0:b.viewContainer,(c=this._footerRowOutlet)==null?void 0:c.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(function(d){d==null||d.clear()});this._headerRowDefs=[];this._footerRowDefs=[];this._defaultRowDef=null;this._onDestroy.next();this._onDestroy.complete();
Moa(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;HWb(b,c,function(d,e,f){return a._getEmbeddedViewArgs(d.item,f)},function(d){d.operation===1&&d.context&&a._renderCellTemplateForItem(d.record.item.rowDef,d.context)});this._updateRowIndexContext();fVb(b,function(d){c.get(d.currentIndex).context.$implicit=d.item.data});this._updateNoDataRow();Fe(function(){voc(a)},{injector:this._injector})}else this._updateNoDataRow();
this.contentChanged.next()};
var woc=function(a){var b=a._getRenderedRows(a._headerRowOutlet);if(a._isNativeHtmlTable){var c=QPa(a._headerRowOutlet,"thead");c&&(c.style.display=b.length?"":"none")}c=a._headerRowDefs.map(function(d){return d.sticky});qoc(a._stickyStyler,b,["top"]);soc(a._stickyStyler,b,c,"top");a._headerRowDefs.forEach(function(d){return d.resetStickyChanged()})},xoc=function(a){var b=a._getRenderedRows(a._footerRowOutlet);if(a._isNativeHtmlTable){var c=QPa(a._footerRowOutlet,"tfoot");c&&(c.style.display=b.length?
"":"none")}c=a._footerRowDefs.map(function(d){return d.sticky});qoc(a._stickyStyler,b,["bottom"]);soc(a._stickyStyler,b,c,"bottom");toc(a._stickyStyler,a._elementRef.nativeElement,c);a._footerRowDefs.forEach(function(d){return d.resetStickyChanged()})},voc=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)qoc(a._stickyStyler,[].concat(r(b),r(c),
r(d)),["left","right"]),a._stickyColumnStylesNeedReset=!1;b.forEach(function(e,f){a._addStickyColumnStyles([e],a._headerRowDefs[f])});a._rowDefs.forEach(function(e){for(var f=[],h=0;h<c.length;h++)a._renderRows[h].rowDef===e&&f.push(c[h]);a._addStickyColumnStyles(f,e)});d.forEach(function(e,f){a._addStickyColumnStyles([e],a._footerRowDefs[f])});Array.from(a._columnDefsByName.values()).forEach(function(e){return e.resetStickyChanged()})};g=TR.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&&voc(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();PPa(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=PPa(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs);this._footerRowDefs=PPa(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs);this._rowDefs=PPa(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);this._defaultRowDef=this._rowDefs.filter(function(a){return!a.when})[0]};
g._renderUpdatedColumns=function(){var a=function(d,e){return d||!!e._columnsDiffer.diff(e.columns)},b=this._rowDefs.reduce(a,!1);b&&this._forceRenderDataRows();var c=this._headerRowDefs.reduce(a,!1);c&&this._forceRenderHeaderRows();(a=this._footerRowDefs.reduce(a,!1))&&this._forceRenderFooterRows();return b||c||a};
g._switchDataSource=function(a){this._data=[];Moa(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;Moa(this.dataSource)?b=this.dataSource.connect(this):(0,W.isObservable)(this.dataSource)?b=this.dataSource:Array.isArray(this.dataSource)&&(b=(0,W.of)(this.dataSource));this._renderChangeSubscription=b.pipe(qf(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)});woc(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)});xoc(this)};
g._addStickyColumnStyles=function(a,b){var c=this,d=Array.from(b.columns||[]).map(function(e){return c._columnDefsByName.get(e)});b=d.map(function(e){return e.sticky});d=d.map(function(e){return e.stickyEnd});roc(this._stickyStyler,a,b,d,!this._fixedLayout||this._forceRecalculateCellWidths)};g._getRenderedRows=function(a){for(var b=[],c=0;c<a.viewContainer.length;c++){var d=a.viewContainer.get(c);b.push(d.rootNodes[0])}return b};
g._getRowDefs=function(a,b){if(this._rowDefs.length==1)return[this._rowDefs[0]];var c=[];if(this.multiTemplateDataRows)c=this._rowDefs.filter(function(e){return!e.when||e.when(b,a)});else{var d=this._rowDefs.find(function(e){return e.when&&e.when(b,a)})||this._defaultRowDef;d&&c.push(d)}return c};g._getEmbeddedViewArgs=function(a,b){return{templateRef:a.rowDef.template,context:{$implicit:a.data},index:b}};
g._renderRow=function(a,b,c,d){d=d===void 0?{}:d;a=a.viewContainer.createEmbeddedView(b.template,d,c);this._renderCellTemplateForItem(b,d);return a};g._renderCellTemplateForItem=function(a,b){a=l(this._getCellTemplates(a));for(var c=a.next();!c.done;c=a.next())c=c.value,moc&&moc._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 HR?c.headerCell.template:a instanceof IR?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)&&woc(this);this._footerRowDefs.reduce(a,!1)&&xoc(this);Array.from(this._columnDefsByName.values()).reduce(a,!1)&&(this._stickyColumnStylesNeedReset=!0,voc(this))};
g._setupStickyStyler=function(){var a=this;this._stickyStyler=new poc(this._isNativeHtmlTable,this.stickyCssClass,this._dir?this._dir.value:"ltr",this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener);(this._dir?this._dir.change:(0,W.of)()).pipe(qf(this._onDestroy)).subscribe(function(b){a._stickyStyler.direction=b;voc(a)})};g._getOwnDefs=function(a){var b=this;return a.filter(function(c){return!c._table||c._table===b})};
g._updateNoDataRow=function(){var a=this._customNoDataRow||this._noDataRow;if(a){var b=this._rowOutlet.viewContainer.length===0;if(b!==this._isShowingNoDataRow){var c=this._noDataRowOutlet.viewContainer;if(b){c=c.createEmbeddedView(a.templateRef);var d=c.rootNodes[0];c.rootNodes.length===1&&(d==null?void 0:d.nodeType)===this._document.ELEMENT_NODE&&(d.setAttribute("role","row"),d.classList.add(a._contentClassName))}else c.clear();this._isShowingNoDataRow=b;this._changeDetectorRef.markForCheck()}}};
ea.Object.defineProperties(TR.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(),voc(this))}},fixedLayout:{configurable:!0,enumerable:!0,get:function(){return this._fixedLayout},set:function(a){this._fixedLayout=a;this._stickyColumnStylesNeedReset=this._forceRecalculateCellWidths=!0}}});TR.\u0275fac=function(a){return new (a||TR)(A(xv),A(Ig),A(Rd),Jd("role"),A(Uw,8),A(gh),A($v),A(FWb),A(loc),A(ix),A(noc,12),A(ze,8))};
TR.\u0275cmp=p({type:TR,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(a,b,c){a&1&&(gg(c,OR,5),gg(c,AR,5),gg(c,JR,5),gg(c,HR,5),gg(c,IR,5));if(a&2){var d;jg(d=kg())&&(b._noDataRow=d.first);jg(d=kg())&&(b._contentColumnDefs=d);jg(d=kg())&&(b._contentRowDefs=d);jg(d=kg())&&(b._contentHeaderRowDefs=d);jg(d=kg())&&(b._contentFooterRowDefs=d)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(a,b){a&2&&Kf("cdk-table-fixed-layout",b.fixedLayout)},inputs:{trackBy:"trackBy",
dataSource:"dataSource",multiTemplateDataRows:[2,"multiTemplateDataRows","multiTemplateDataRows",Gg],fixedLayout:[2,"fixedLayout","fixedLayout",Gg]},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],standalone:!0,features:[qg([{provide:wR,useExisting:TR},{provide:FWb,useClass:GWb},{provide:loc,useClass:FR},{provide:noc,useValue:null}]),Af,sg],ngContentSelectors:["caption","colgroup, col","*"],decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",
""],["footerRowOutlet",""]],template:function(a,b){a&1&&(Xf(uoc),Yf(0),Yf(1,1),C(2,MPa,1,0)(3,NPa,7,0)(4,OPa,4,0));a&2&&(z(2),Of(b._isServer?2:-1),z(),Of(b._isNativeHtmlTable?3:4))},dependencies:[QR,PR,SR,RR],styles:[".cdk-table-fixed-layout{table-layout:fixed}\n"],encapsulation:2});var UR=function(){};UR.\u0275fac=function(a){return new (a||UR)};UR.\u0275mod=dd({type:UR});UR.\u0275inj=Ic({imports:[kx]});var VR=function(){xR.apply(this,arguments)};X(VR,xR);VR.\u0275fac=function(){var a;return function(b){return(a||(a=Od(VR)))(b||VR)}}();VR.\u0275dir=fd({type:VR,selectors:[["","matCellDef",""]],standalone:!0,features:[qg([{provide:xR,useExisting:VR}]),zf]});var WR=function(){yR.apply(this,arguments)};X(WR,yR);WR.\u0275fac=function(){var a;return function(b){return(a||(a=Od(WR)))(b||WR)}}();
WR.\u0275dir=fd({type:WR,selectors:[["","matHeaderCellDef",""]],standalone:!0,features:[qg([{provide:yR,useExisting:WR}]),zf]});var YR=function(){zR.apply(this,arguments)};X(YR,zR);YR.\u0275fac=function(){var a;return function(b){return(a||(a=Od(YR)))(b||YR)}}();YR.\u0275dir=fd({type:YR,selectors:[["","matFooterCellDef",""]],standalone:!0,features:[qg([{provide:zR,useExisting:YR}]),zf]});var ZR=function(){AR.apply(this,arguments)};X(ZR,AR);
ZR.prototype._updateColumnCssClassName=function(){AR.prototype._updateColumnCssClassName.call(this);this._columnCssClassName.push("mat-column-"+this.cssClassFriendlyName)};ea.Object.defineProperties(ZR.prototype,{name:{configurable:!0,enumerable:!0,get:function(){return this._name},set:function(a){this._setNameInput(a)}}});ZR.\u0275fac=function(){var a;return function(b){return(a||(a=Od(ZR)))(b||ZR)}}();
ZR.\u0275dir=fd({type:ZR,selectors:[["","matColumnDef",""]],inputs:{name:[0,"matColumnDef","name"]},standalone:!0,features:[qg([{provide:AR,useExisting:ZR},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:ZR}]),zf]});var $R=function(){CR.apply(this,arguments)};X($R,CR);$R.\u0275fac=function(){var a;return function(b){return(a||(a=Od($R)))(b||$R)}}();
$R.\u0275dir=fd({type:$R,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-mdc-header-cell","mdc-data-table__header-cell"],standalone:!0,features:[zf]});var aS=function(){DR.apply(this,arguments)};X(aS,DR);aS.\u0275fac=function(){var a;return function(b){return(a||(a=Od(aS)))(b||aS)}}();aS.\u0275dir=fd({type:aS,selectors:[["mat-footer-cell"],["td","mat-footer-cell",""]],hostAttrs:[1,"mat-mdc-footer-cell","mdc-data-table__cell"],standalone:!0,features:[zf]});
var bS=function(){ER.apply(this,arguments)};X(bS,ER);bS.\u0275fac=function(){var a;return function(b){return(a||(a=Od(bS)))(b||bS)}}();bS.\u0275dir=fd({type:bS,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:[1,"mat-mdc-cell","mdc-data-table__cell"],standalone:!0,features:[zf]});var cS=function(){HR.apply(this,arguments)};X(cS,HR);cS.\u0275fac=function(){var a;return function(b){return(a||(a=Od(cS)))(b||cS)}}();cS.\u0275dir=fd({type:cS,selectors:[["","matHeaderRowDef",""]],inputs:{columns:[0,"matHeaderRowDef","columns"],sticky:[2,"matHeaderRowDefSticky","sticky",Gg]},standalone:!0,features:[qg([{provide:HR,useExisting:cS}]),Af,zf]});var dS=function(){IR.apply(this,arguments)};X(dS,IR);dS.\u0275fac=function(){var a;return function(b){return(a||(a=Od(dS)))(b||dS)}}();
dS.\u0275dir=fd({type:dS,selectors:[["","matFooterRowDef",""]],inputs:{columns:[0,"matFooterRowDef","columns"],sticky:[2,"matFooterRowDefSticky","sticky",Gg]},standalone:!0,features:[qg([{provide:IR,useExisting:dS}]),Af,zf]});var eS=function(){JR.apply(this,arguments)};X(eS,JR);eS.\u0275fac=function(){var a;return function(b){return(a||(a=Od(eS)))(b||eS)}}();
eS.\u0275dir=fd({type:eS,selectors:[["","matRowDef",""]],inputs:{columns:[0,"matRowDefColumns","columns"],when:[0,"matRowDefWhen","when"]},standalone:!0,features:[qg([{provide:JR,useExisting:eS}]),zf]});var fS=function(){};X(fS,LR);fS.\u0275fac=function(){var a;return function(b){return(a||(a=Od(fS)))(b||fS)}}();
fS.\u0275cmp=p({type:fS,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-mdc-header-row","mdc-data-table__header-row"],exportAs:["matHeaderRow"],standalone:!0,features:[qg([{provide:LR,useExisting:fS}]),zf,sg],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(a){a&1&&Sf(0,0)},dependencies:[KR],encapsulation:2});var gS=function(){};X(gS,MR);gS.\u0275fac=function(){var a;return function(b){return(a||(a=Od(gS)))(b||gS)}}();
gS.\u0275cmp=p({type:gS,selectors:[["mat-footer-row"],["tr","mat-footer-row",""]],hostAttrs:["role","row",1,"mat-mdc-footer-row","mdc-data-table__row"],exportAs:["matFooterRow"],standalone:!0,features:[qg([{provide:MR,useExisting:gS}]),zf,sg],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(a){a&1&&Sf(0,0)},dependencies:[KR],encapsulation:2});var hS=function(){};X(hS,NR);hS.\u0275fac=function(){var a;return function(b){return(a||(a=Od(hS)))(b||hS)}}();
hS.\u0275cmp=p({type:hS,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-mdc-row","mdc-data-table__row"],exportAs:["matRow"],standalone:!0,features:[qg([{provide:NR,useExisting:hS}]),zf,sg],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(a){a&1&&Sf(0,0)},dependencies:[KR],encapsulation:2});var iS=function(){OR.apply(this,arguments);this._contentClassName="mat-mdc-no-data-row"};X(iS,OR);
iS.\u0275fac=function(){var a;return function(b){return(a||(a=Od(iS)))(b||iS)}}();iS.\u0275dir=fd({type:iS,selectors:[["ng-template","matNoDataRow",""]],standalone:!0,features:[qg([{provide:OR,useExisting:iS}]),zf]});var yoc=[[["caption"]],[["colgroup"],["col"]],"*"],jS=function(){TR.apply(this,arguments);this.stickyCssClass="mat-mdc-table-sticky";this.needsPositionStickyOnElement=!1};X(jS,TR);jS.\u0275fac=function(){var a;return function(b){return(a||(a=Od(jS)))(b||jS)}}();
jS.\u0275cmp=p({type:jS,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-mdc-table","mdc-data-table__table"],hostVars:2,hostBindings:function(a,b){a&2&&Kf("mdc-table-fixed-layout",b.fixedLayout)},exportAs:["matTable"],standalone:!0,features:[qg([{provide:TR,useExisting:jS},{provide:wR,useExisting:jS},{provide:loc,useClass:FR},{provide:FWb,useClass:GWb},{provide:noc,useValue:null}]),zf,sg],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&&(Xf(yoc),Yf(0),Yf(1,1),C(2,RPa,1,0)(3,SPa,7,0)(4,TPa,4,0));a&2&&(z(2),Of(b._isServer?2:-1),z(),Of(b._isNativeHtmlTable?3:4))},dependencies:[QR,PR,SR,RR],styles:[".mat-mdc-table-sticky{position:sticky !important}mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}.mat-mdc-table{min-width:100%;border:0;border-spacing:0;table-layout:auto;white-space:normal;background-color:var(--mat-table-background-color)}.mdc-data-table__cell{box-sizing:border-box;overflow:hidden;text-align:left;text-overflow:ellipsis}[dir=rtl] .mdc-data-table__cell{text-align:right}.mdc-data-table__cell,.mdc-data-table__header-cell{padding:0 16px}.mat-mdc-header-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-header-container-height, 56px);color:var(--mat-table-header-headline-color, rgba(0, 0, 0, 0.87));font-family:var(--mat-table-header-headline-font, Roboto, sans-serif);line-height:var(--mat-table-header-headline-line-height);font-size:var(--mat-table-header-headline-size, 14px);font-weight:var(--mat-table-header-headline-weight, 500)}.mat-mdc-row{height:var(--mat-table-row-item-container-height, 52px);color:var(--mat-table-row-item-label-text-color, rgba(0, 0, 0, 0.87))}.mat-mdc-row,.mdc-data-table__content{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-table-row-item-label-text-font, Roboto, sans-serif);line-height:var(--mat-table-row-item-label-text-line-height);font-size:var(--mat-table-row-item-label-text-size, 14px);font-weight:var(--mat-table-row-item-label-text-weight)}.mat-mdc-footer-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-footer-container-height, 52px);color:var(--mat-table-row-item-label-text-color, rgba(0, 0, 0, 0.87));font-family:var(--mat-table-footer-supporting-text-font, Roboto, sans-serif);line-height:var(--mat-table-footer-supporting-text-line-height);font-size:var(--mat-table-footer-supporting-text-size, 14px);font-weight:var(--mat-table-footer-supporting-text-weight);letter-spacing:var(--mat-table-footer-supporting-text-tracking)}.mat-mdc-header-cell{border-bottom-color:var(--mat-table-row-item-outline-color, rgba(0, 0, 0, 0.12));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-header-headline-tracking);font-weight:inherit;line-height:inherit;box-sizing:border-box;text-overflow:ellipsis;overflow:hidden;outline:none;text-align:left}[dir=rtl] .mat-mdc-header-cell{text-align:right}.mat-mdc-cell{border-bottom-color:var(--mat-table-row-item-outline-color, rgba(0, 0, 0, 0.12));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-row-item-label-text-tracking);line-height:inherit}.mdc-data-table__row:last-child .mat-mdc-cell{border-bottom:none}.mat-mdc-footer-cell{letter-spacing:var(--mat-table-row-item-label-text-tracking)}mat-row.mat-mdc-row,mat-header-row.mat-mdc-header-row,mat-footer-row.mat-mdc-footer-row{border-bottom:none}.mat-mdc-table tbody,.mat-mdc-table tfoot,.mat-mdc-table thead,.mat-mdc-cell,.mat-mdc-footer-cell,.mat-mdc-header-row,.mat-mdc-row,.mat-mdc-footer-row,.mat-mdc-table .mat-mdc-header-cell{background:inherit}.mat-mdc-table mat-header-row.mat-mdc-header-row,.mat-mdc-table mat-row.mat-mdc-row,.mat-mdc-table mat-footer-row.mat-mdc-footer-cell{height:unset}mat-header-cell.mat-mdc-header-cell,mat-cell.mat-mdc-cell,mat-footer-cell.mat-mdc-footer-cell{align-self:stretch}\n"],
encapsulation:2});var zoc=["searchInput"],VPa=function(a){return[a]},Aoc={title:"Select an issue.",defaultChoices:[],allowMultipleIds:!1},Boc={SIMILAR_ISSUES:"Similar issues",SEARCH_RESULTS:"Search results",SEMANTIC_SEARCH_RESULTS:"Semantic search results",ISSUE_IDS:"Issue IDs"},Coc={},Doc=(Coc["Similar issues"]="similar",Coc["Search results"]="exact",Coc["Semantic search results"]="semantic",Coc["Issue IDs"]="id",Coc),Eoc={SEMANTIC_SEARCH:"Smart search",EXACT_MATCH:"Exact match"},kS=function(a,b,c,d,e,f,h,k,q,t){Z.call(this);
var w=this;this.dialogRef=a;this.initialData=b;this.issueFridge=c;this.issuePickerSearchService=d;this.analytics=e;this.activeSession=f;this.componentFridge=h;this.teamFridge=k;this.featureTooltipService=q;this.domSafe=t;this.isSimilarIssuesUiEnabled=this.activeSession.isInternalSession()||this.activeSession.getFlag("enableSimilarIssueExternal");this.isInternalSession=this.activeSession.isInternalSession();this.data=Object.assign({},Aoc,this.initialData);var B;this.currentComponentId=(B=this.data.componentId)!=
null?B:void 0;this.currentIssueId$=(0,W.defer)(function(){var E;return((E=w.data.currentResource)==null?void 0:E.type)==="issue"?(0,W.of)(w.data.currentResource.id):W.NEVER});this.currentIssue$=this.currentIssueId$.pipe(pf(this.issueFridge.watch),mf({bufferSize:1,refCount:!0}));this.team$=this.currentIssue$.pipe(te(function(E){return!!(E&&E.aggregatedData&&E.aggregatedData.teamId)}),pf(function(E){return w.teamFridge.watch(E.aggregatedData.teamId)}),mf({bufferSize:1,refCount:!0}));this.component$=
this.componentFridge.watch(this.currentComponentId);this.selectedIssues=new HJ;this.tableColumns="single-selection title id priority status duplicateCount votes createdTime".split(" ");this.issueUrlFactory=zo.viewIssue.makeHref;this.trackByIssueId=function(E,I){return I.issueId};this.searchText$=new W.BehaviorSubject("");this.searchTextTrimmed$=this.searchText$.pipe(y(function(E){return E.trim()}),df());this.idsInSearchText$=this.searchTextTrimmed$.pipe(y(nHa),y(Sm),df(pi));this.issuesWithIdMatches$=
this.idsInSearchText$.pipe(pf(function(E){return w.issueFridge.watchSet(E)}),sf(function(){w.isLoading=!1}));this.openFilter=rp;this.teamFilter=this.componentFilter=void 0;this.includeDescendants=!1;this.selectedFilters$=new HJ([this.openFilter]);this.similarIssues$=(0,W.combineLatest)([this.currentIssue$.pipe(te(lj)),this.selectedFilters$.value$,this.searchTextTrimmed$]).pipe(te(function(){return w.isSimilarIssuesUiEnabled}),te(function(E){E=l(E);E.next();E.next();return E.next().value===""}),sf(function(){w.isLoading=
!0}),pf(function(E){var I=l(E);E=I.next().value;I=I.next().value;return anc(w.issuePickerSearchService,E.issueId,I)}),sf(function(){w.isLoading=!1}),mf({bufferSize:1,refCount:!0}));this.SearchSource=Eoc;this.selectedSearchSource$=new W.BehaviorSubject(this.isSimilarIssuesUiEnabled?"Smart search":"Exact match");this.searchResults$=(0,W.combineLatest)([this.searchTextTrimmed$.pipe(sf(function(){w.isLoading=!0}),bf(200)),this.selectedFilters$.value$.pipe(sf(function(){w.isLoading=!0})),this.selectedSearchSource$]).pipe(pf(function(E){var I=
l(E);E=I.next().value;var J=I.next().value;return I.next().value==="Smart search"?(w.analytics.trackEvent("assistive-issue-picker","semantic-search-"+w.data.edgeType),cnc(w.issuePickerSearchService,E,J,w.data.edgeType,w.data.currentResource)):w.issuePickerSearchService.search(E,w.data.edgeType,w.data.currentResource,w.currentComponentId)}),sf(function(){w.isLoading=!1}),mf({bufferSize:1,refCount:!0}));this.TOOLTIP_ISSUE_PICKER_SIMILAR_ISSUE="tooltipIdIssuePickerSimilarIssueHovercard";this.TOOLTIP_POSITIONS=
YQ;this.showFeatureTooltip$=Jnc(this.featureTooltipService,"HIDDEN",["tooltipIdIssuePickerSimilarIssueHovercard"]).pipe(te(function(E){return E.length===0}),cf(1E3),y(function(){}));this.idsToAutoSelect$=this.issuesWithIdMatches$.pipe(y(function(E){return E.length!==1||E[0].issueId.length<4?[]:[E[0].issueId]}),df(pi),sf(function(E){E.length===0&&(w.isPasteResultInSuggestion=!1);var I,J=(I=fo(w.similarIssues$))!=null?I:[];w.isPasteResultInSuggestion=J.map(function(N){return N.issueId}).includes(E[0])}));
this.TableDataSource=Boc;this.tableDataSource="Search results";this.issues$=(0,W.combineLatest)([this.searchTextTrimmed$,this.idsToAutoSelect$,this.similarIssues$.pipe(of([])),this.selectedSearchSource$]).pipe(pf(function(E){var I=l(E);E=I.next().value;var J=I.next().value;var N=I.next().value;I=I.next().value;return J.length?(w.tableDataSource="Issue IDs",w.issuesWithIdMatches$):E?(w.tableDataSource=I==="Smart search"?"Semantic search results":"Search results",w.searchResults$):N?(N.length>0&&(w.tableDataSource=
"Similar issues"),w.similarIssues$):(0,W.of)(void 0)}),df());this.correctedDisplayedRows=new eg;this.isPasteResultInSuggestion=this.isLoading=!1};X(kS,Z);kS.\u0275dir=Z.\u0275dir;
kS.prototype.ngOnInit=function(){var a=this;this.subscriptions.add(this.idsToAutoSelect$.subscribe(function(b){a.selectedIssues.reset(b)}));this.subscriptions.add(this.component$.pipe(ef()).subscribe(function(b){b&&(a.componentFilter=sPa(b,!1),a.selectedScopeFilter=a.componentFilter,a.selectedFilters$.add(a.componentFilter))}));this.subscriptions.add(this.team$.pipe(ef()).subscribe(function(b){b&&(a.teamFilter=rPa(b,!1))}));this.data.edgeType==="canonical"&&this.subscriptions.add(fnc(this.issuePickerSearchService,
this.currentComponentId).subscribe())};kS.prototype.ngAfterViewInit=function(){this.focusManager=Iw(new onc(this.correctedDisplayedRows,function(a,b){return a.issueId===b.issueId}))};
var bQa=function(a,b){if(a.componentFilter&&a.teamFilter&&a.selectedScopeFilter!==b){a.selectedScopeFilter=b;var c=new Set(fo(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)}},GQa=function(a,b){var c,d;return fe(function(e){if(e.nextAddress==1)return he(e,qp(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(lj);
a.correctedDisplayedRows.reset(d);ig(a.correctedDisplayedRows);le(e)})};kS.prototype.onPressConfirm=function(){var a=this,b,c;return fe(function(d){if(!a.selectedIssues.size)return d.return();b=[].concat(r(a.selectedIssues));c={selectedIssueIds:b};a.dialogRef.close(c);Foc(a,b[0]);return he(d,Goc(a,b[0]),0)})};kS.prototype.onPressCancel=function(){this.dialogRef.close()};kS.prototype.selectIssue=function(a){this.selectedIssues.reset([a])};
kS.prototype.onRowKeydown=function(a,b,c){if(a===0&&c.key==="ArrowUp")this.inputEl.nativeElement.focus(),c.preventDefault();else this.focusManager.onKeydown(c)};
var Goc=function(a,b){var c,d;return fe(function(e){if(e.nextAddress==1)return he(e,Hoc(a,b),2);c=e.yieldResult;d=Doc[a.tableDataSource];a.analytics.trackEvent("assistive-issue-picker","picked-c-"+a.data.edgeType,c?d+"-hit":d+"-miss",c?1:0);le(e)})},Foc=function(a,b){if(a.isSimilarIssuesUiEnabled){var c,d=(c=fo(a.similarIssues$))!=null?c:[],e=d.map(function(f){return f.issueId});c=Doc[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)}},Hoc=function(a,b){var c,d;return fe(function(e){if(e.nextAddress==1){if(a.data.edgeType!=="canonical")return e.return(!1);c=Set;return he(e,(0,W.firstValueFrom)(fnc(a.issuePickerSearchService,a.currentComponentId)),2)}d=new c(e.yieldResult);return e.return(d.has(b))})};kS.prototype.openLearnMore=function(){this.domSafe.openInNewTab("http://go/b-mark-as-duplicate")};
kS.\u0275fac=function(a){return new (a||kS)(A(pI),A(vI),A(jG),A(JQ),A(bG),A(Ir),A(CC),A(lH),A(eR),A(FH))};
kS.\u0275cmp=p({type:kS,selectors:[["assistive-issue-picker-dialog"]],viewQuery:function(a,b){a&1&&(fg(zoc,5),fg(TQ,5));if(a&2){var c;jg(c=kg())&&(b.inputEl=c.first);jg(c=kg())&&(b.displayedRows=c)}},hostBindings:function(a,b){a&1&&M("keydown.control.enter",function(){return b.onPressConfirm()})("keydown.meta.enter",function(){return b.onPressConfirm()})},features:[zf],decls:24,vars:19,consts:[["searchInput",""],["teamComponentMenu","matMenu"],["menuTrigger","matMenuTrigger"],["mat-dialog-title",
""],["class","heading flex-kids-y gap-s border-bottom padded-bottom margin-s-bottom",4,"ngIf"],[1,"heading","flex-kids-x","gap-xxs","align-items-center","padded-s-y","heading-m"],["svgIcon","merge_type_24px",1,"rotate-180","green"],[1,"search-field","margin-s-bottom","flex-kids-x","align-items-center","heading-xs",3,"onedevFeatureTooltip"],[3,"showTooltip$",4,"ngIf"],["placeholder","Search by title, contents, or id",3,"keydown.arrowdown","input","keydown.enter"],["class","padded-s",3,"value","selectionChange",
4,"ngIf"],[4,"ngIf"],["class","center-text padded margined pos-rel",4,"ngIf"],["mat-dialog-actions",""],["mat-button","",1,"gmat-button","medium","cancel",3,"click"],["mat-flat-button","","color","primary",1,"gmat-button","medium","confirm",3,"click","disabled"],[1,"heading","flex-kids-y","gap-s","border-bottom","padded-bottom","margin-s-bottom"],[1,"type-xs"],[1,"heading-s","line-clamp-3"],[3,"showTooltip$"],[3,"customPositions","tooltipId"],["onedevTooltipTitle",""],["svgIcon","search_spark_24px",
1,"icon-m"],["svgIcon","search",1,"icon-m"],[1,"padded-s",3,"selectionChange","value"],["matTooltip","Searches by semantic similarity of the query. Does not support search atoms (like 'status:open')","matTooltipShowDelay","750","matTooltipPosition","left",3,"value"],["matTooltip","Searches by the exact query text. Supports search atoms (like 'status:open')","matTooltipShowDelay","750","matTooltipPosition","left",3,"value"],[1,"flex-kids-x","align-items-center","margin-s-bottom","gap-s"],["aria-label",
"Filter open issues",3,"change"],["appearance","hairline-filter",3,"selected","value"],[3,"matTooltip"],["aria-label","Scope search to component or team",3,"selectable",4,"ngIf"],["xPosition","before"],["mat-menu-item","","matTooltipPosition","right","matTooltipShowDelay","500",3,"matTooltip","click",4,"ngIf"],["aria-label","Include subcomponents or subteams",3,"change"],["appearance","hairline-filter",1,"include-descendants-chip"],["matTooltip","Include subcomponents or subteams"],["mat-icon-button",
"","class","gmat-button","matTooltip","Learn more","aria-label","help",3,"click",4,"ngIf"],["aria-label","Scope search to component or team",3,"selectable"],["appearance","hairline-filter","aria-label","Select search scope","selected","","color","primary","role","button",1,"team-component-filters",3,"keydown.enter","keyup.space","matMenuTriggerFor"],["matChipTrailingIcon","","svgIcon","arrow-dropdown"],["mat-menu-item","","matTooltipPosition","right","matTooltipShowDelay","500",3,"click","matTooltip"],
["svgIcon","done"],["mat-icon-button","","matTooltip","Learn more","aria-label","help",1,"gmat-button",3,"click"],["svgIcon","help-outline"],[1,"center-text","padded","margined","pos-rel"],["text","Finding similar issues...",3,"large"],["text","Searching..."],["ariaLabel","Loading results",1,"margined","inline-block"],["mat-dialog-content",""],["messageType","info","iconOverride","lightbulb_24px",4,"ngIf"],[1,"heading-xs"],["mat-table","","class","full-width",3,"dataSource","trackBy","contentChanged",
4,"ngIf"],["class","center-text padded",4,"ngIf"],["messageType","info","iconOverride","lightbulb_24px"],["href","http://go/b-mark-as-duplicate","target","\u201d_blank\u201d"],["svgIcon","spark_24px","color","primary",1,"valign-middle"],["mat-table","",1,"full-width",3,"contentChanged","dataSource","trackBy"],["matColumnDef","single-selection"],["mat-header-cell","",4,"matHeaderCellDef"],["aria-label","Select issue",3,"change"],["mat-cell","",4,"matCellDef"],["matColumnDef","title"],["matColumnDef",
"id"],["matColumnDef","priority"],["matColumnDef","status"],["mat-header-cell","","mat-sort-header","status",4,"matHeaderCellDef"],["matColumnDef","duplicateCount"],["mat-cell","","class","center-text",4,"matCellDef"],["matColumnDef","votes"],["mat-header-cell","","matTooltip","Votes",4,"matHeaderCellDef"],["matColumnDef","createdTime"],["mat-header-cell","","mat-sort-header","createdTime",4,"matHeaderCellDef"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","","class","clickable",3,"row","keydown",
"keydown.enter","focusin","click",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],[1,"a11y-only"],["mat-cell",""],["tabindex","0",3,"checked","aria-label","value"],["anchorTarget","_blank",3,"issue","issueUrlFactory","useButtonToNavigate","enableHovercard"],[3,"id"],[3,"issue"],["mat-header-cell","","mat-sort-header","status"],["mat-cell","",1,"center-text"],["mat-header-cell","","matTooltip","Votes"],["svgIcon","exposure_plus_1_24px",1,"icon-xs"],["mat-header-cell","","mat-sort-header",
"createdTime"],["mode","relativepastshort",3,"issue"],["mat-header-row",""],["mat-row","",1,"clickable",3,"keydown","keydown.enter","focusin","click","row"],[1,"center-text","padded"],[1,"margined","inline-block"]],template:function(a,b){if(a&1){var c=u();F(0,"div",3);C(1,UPa,5,1,"div",4);T(2,"async");F(3,"div",5);H(4,"mat-icon",6);F(5,"span");R(6,"Close as duplicate of:");G()();F(7,"header",7);C(8,WPa,6,5,"onedev-feature-tooltip-controller",8)(9,ZPa,2,1);T(10,"async");F(11,"input",9,0);M("keydown.arrowdown",
function(){v(c);return x(b.focusManager.setActiveItem(0))})("input",function(){v(c);var e=Q(12);return x(b.searchText$.next(e.value))})("keydown.enter",function(){v(c);return x(b.onPressConfirm())});G();C(13,$Pa,6,7,"mat-select",10);G();C(14,hQa,3,3,"ng-container",11);G();C(15,lQa,5,3,"div",12)(16,JQa,6,4,"ng-container",11);T(17,"async");F(18,"div",13)(19,"button",14);M("click",function(){v(c);return x(b.onPressCancel())});R(20," Cancel ");G();F(21,"button",15);T(22,"async");M("click",function(){v(c);
return x(b.onPressConfirm())});R(23," Close as duplicate ");G()()}if(a&2){var d;z();D("ngIf",V(2,11,b.currentIssue$));z(6);D("onedevFeatureTooltip",b.TOOLTIP_ISSUE_PICKER_SIMILAR_ISSUE);z();D("ngIf",b.isSimilarIssuesUiEnabled);z();Of((d=V(10,13,b.selectedSearchSource$))?9:-1,d);z(2);Kf("additional-padding-right",b.isSimilarIssuesUiEnabled);z(2);D("ngIf",b.isSimilarIssuesUiEnabled);z();D("ngIf",b.isSimilarIssuesUiEnabled);z();D("ngIf",b.isLoading);z();D("ngIf",V(17,15,b.issues$));z(5);D("disabled",
!V(22,17,b.selectedIssues.size$))}},dependencies:[Gv,zB,kR,tR,rR,pR,KQ,wQ,LQ,xQ,pQ,oE,zI,BI,AI,QL,TL,RL,UL,uR,vR,mM,nM,Kx,lR,jS,WR,cS,ZR,VR,eS,$R,bS,fS,hS,LH,OH,inc,RQ,TQ,aR,gR,jR,Rnc,MQ,NQ,Lv],styles:[".mat-mdc-header-cell[_ngcontent-%COMP%]{font-weight:500}tr.mat-mdc-header-row[_ngcontent-%COMP%], tr.mat-mdc-row[_ngcontent-%COMP%]{height:32px}td.mat-mdc-cell[_ngcontent-%COMP%], td.mat-mdc-footer-cell[_ngcontent-%COMP%], th.mat-mdc-header-cell[_ngcontent-%COMP%]{font-size:.8125rem;padding:0 4px}td.mat-mdc-cell[_ngcontent-%COMP%], td.mat-mdc-footer-cell[_ngcontent-%COMP%]{color:#202124;color:var(--row-default-text)}th.mat-mdc-header-cell[_ngcontent-%COMP%]{color:#202124;color:var(--text-high-contrast)}td.mat-column-menu[_ngcontent-%COMP%], td.mat-column-save[_ngcontent-%COMP%]{width:32px;height:32px}.mat-mdc-cell[_ngcontent-%COMP%]:first-of-type, .mat-mdc-footer-cell[_ngcontent-%COMP%]:first-of-type, .mat-mdc-header-cell[_ngcontent-%COMP%]:first-of-type{padding-left:0}.mat-mdc-cell[_ngcontent-%COMP%]:last-of-type, .mat-mdc-footer-cell[_ngcontent-%COMP%]:last-of-type, .mat-mdc-header-cell[_ngcontent-%COMP%]:last-of-type{padding-right:0}.mat-mdc-row[_ngcontent-%COMP%]:last-of-type   .mat-mdc-cell[_ngcontent-%COMP%]{border-bottom:1px solid;border-bottom-color:#dadce0;border-bottom-color:var(--divider)}tr.mat-mdc-row.clickable[_ngcontent-%COMP%]{cursor:pointer}tr.mat-mdc-row.clickable[_ngcontent-%COMP%]:hover{background-color:rgba(0,0,0,.04);background-color:var(--hover-bg)}.mat-mdc-dialog-title[_ngcontent-%COMP%]{margin:0}.heading[_ngcontent-%COMP%]{padding-left:4px}.mat-mdc-menu-item[_ngcontent-%COMP%]{height:auto}.search-field[_ngcontent-%COMP%]{position:relative}.search-field[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{position:absolute;top:9px;left:5px}.search-field[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{height:40px;width:100%;min-width:320px;background-color:#f1f3f4;background-color:var(--main-search-bg);color:#202124;color:var(--text-high-contrast);border-radius:8px;border:none;padding:0 16px;padding-left:40px}.search-field[_ngcontent-%COMP%]   input.additional-padding-right[_ngcontent-%COMP%]{padding-right:140px}.search-field[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]:focus-visible{box-shadow:inset 0 0 0 2px #1a73e8;box-shadow:inset 0 0 0 2px var(--primary);outline:none}.search-field[_ngcontent-%COMP%]   mat-select[_ngcontent-%COMP%]{position:absolute;right:8px;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;border-radius:8px}.search-field[_ngcontent-%COMP%]   mat-select[_ngcontent-%COMP%]:hover{background-color:rgba(0,0,0,.04);background-color:var(--hover-bg)}.search-field[_ngcontent-%COMP%]   mat-select[_ngcontent-%COMP%]:focus-visible{box-shadow:inset 0 0 0 2px #1a73e8;box-shadow:inset 0 0 0 2px var(--primary);outline:none}[_nghost-%COMP%]     .mat-mdc-select-arrow, [_nghost-%COMP%]     .mat-mdc-select-value{color:#1a73e8;color:var(--primary)}@media (forced-colors:active){[_nghost-%COMP%]   .mat-mdc-dialog-actions[_ngcontent-%COMP%]     button.gmat-button{border:1px solid;border-color:#dadce0;border-color:var(--divider)}[_nghost-%COMP%]   .mat-mdc-dialog-actions[_ngcontent-%COMP%]     button.gmat-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-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}[_nghost-%COMP%]   .mat-mdc-dialog-actions[_ngcontent-%COMP%]     button.gmat-button:not([disabled]):focus.confirm .mat-button-focus-overlay{background-color:#174ea6;background-color:var(--primary-c900);opacity:0}.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 Ioc={provide:O9b,deps:[vx],useFactory:function(a){return function(){return a.scrollStrategies.reposition({scrollThrottle:20})}}},Joc=Wg({passive:!0}),lS=function(a,b,c,d,e,f,h,k,q,t,w,B){var E=this;this._overlay=a;this._elementRef=b;this._scrollDispatcher=c;this._viewContainerRef=d;this._ngZone=e;this._platform=f;this._ariaDescriber=h;this._focusMonitor=k;this._dir=t;this._defaultOptions=w;this._position="below";this._pointerExitEventsInitialized=this._viewInitialized=this._disabled=this._positionAtOrigin=
!1;this._viewportMargin=8;this._cssClassPrefix="mat";this.touchGestures="auto";this._message="";this._passiveListeners=[];this._destroyed=new W.Subject;this._scrollStrategy=q;this._document=B;w&&(this._showDelay=w.showDelay,this._hideDelay=w.hideDelay,w.position&&(this.position=w.position),w.positionAtOrigin&&(this.positionAtOrigin=w.positionAtOrigin),w.touchGestures&&(this.touchGestures=w.touchGestures));t.change.pipe(qf(this._destroyed)).subscribe(function(){E._overlayRef&&E._updatePosition(E._overlayRef)})};
g=lS.prototype;g.ngAfterViewInit=function(){var a=this;this._viewInitialized=!0;this._setupPointerEnterEventsIfNeeded();this._focusMonitor.monitor(this._elementRef).pipe(qf(this._destroyed)).subscribe(function(b){b?b==="keyboard"&&a._ngZone.run(function(){return a.show()}):a._ngZone.run(function(){return a.hide(0)})})};
g.ngOnDestroy=function(){var a=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout);this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null);this._passiveListeners.forEach(function(b){var c=l(b);b=c.next().value;c=c.next().value;a.removeEventListener(b,c,Joc)});this._passiveListeners.length=0;this._destroyed.next();this._destroyed.complete();zw(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 Nw(this._tooltipComponent,this._viewContainerRef),b=this._tooltipInstance=b.attach(this._portal).instance,b._triggerElement=this._elementRef.nativeElement,b._mouseLeaveHideDelay=this._hideDelay,b.afterHidden().pipe(qf(this._destroyed)).subscribe(function(){return c._detach()}),
this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),b.show(a)};g.hide=function(a){a=a===void 0?this.hideDelay:a;var b=this._tooltipInstance;b&&(b.isVisible()?b.hide(a):(b._cancelPendingAnimations(),this._detach()))};g.toggle=function(a){this._isTooltipVisible()?this.hide():this.show(void 0,a)};g._isTooltipVisible=function(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()};
g._createOverlay=function(a){var b=this;if(this._overlayRef){var c=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!a)&&c._origin instanceof Rd)return this._overlayRef;this._detach()}c=EWb(this._scrollDispatcher,this._elementRef);a=NWb(qx(rx(RWb(ux(this._overlay.position(),this.positionAtOrigin?a||this._elementRef:this._elementRef),"."+this._cssClassPrefix+"-tooltip"),!1),this._viewportMargin),c);a.positionChanges.pipe(qf(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(qf(this._destroyed)).subscribe(function(){return b._detach()});this._overlayRef.outsidePointerEvents().pipe(qf(this._destroyed)).subscribe(function(){var e;
return(e=b._tooltipInstance)==null?void 0:e._handleBodyInteraction()});this._overlayRef.keydownEvents().pipe(qf(this._destroyed)).subscribe(function(e){b._isTooltipVisible()&&e.keyCode===27&&!$g(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();px(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(ef(),qf(this._destroyed)).subscribe(function(){a._tooltipInstance&&a._overlayRef.updatePosition()}))};g._setTooltipClass=function(a){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=a,this._tooltipInstance._markForCheck())};
g._invertPosition=function(a,b){this.position==="above"||this.position==="below"?b==="top"?b="bottom":b==="bottom"&&(b="top"):a==="end"?a="start":a==="start"&&(a="end");return{x:a,y:b}};
g._updateCurrentPositionClass=function(a){var b=a.overlayY,c=a.originX;a=a.originY;b=b==="center"?this._dir&&this._dir.value==="rtl"?c==="end"?"left":"right":c==="start"?"left":"right":b==="bottom"&&a==="top"?"above":"below";if(b!==this._currentPosition){if(c=this._overlayRef)a=this._cssClassPrefix+"-tooltip-panel-",c.removePanelClass(a+this._currentPosition),c.addPanelClass(a+b);this._currentPosition=b}};
g._setupPointerEnterEventsIfNeeded=function(){var a=this;!this._disabled&&this.message&&this._viewInitialized&&!this._passiveListeners.length&&(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",function(b){a._setupPointerExitEventsIfNeeded();var c=void 0;b.x!==void 0&&b.y!==void 0&&(c=b);a.show(void 0,c)}]):this.touchGestures!=="off"&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",function(b){var c,d=(b=(c=b.targetTouches)==null?void 0:
c[0])?{x:b.clientX,y:b.clientY}:void 0;a._setupPointerExitEventsIfNeeded();clearTimeout(a._touchstartTimeout);a._touchstartTimeout=setTimeout(function(){return a.show(void 0,d)},500)}])),this._addListeners(this._passiveListeners))};
g._setupPointerExitEventsIfNeeded=function(){var a=this;if(!this._pointerExitEventsInitialized){this._pointerExitEventsInitialized=!0;var b=[];if(this._platformSupportsMouseEvents())b.push(["mouseleave",function(d){d=d.relatedTarget;var e;d&&((e=a._overlayRef)==null?0:e.overlayElement.contains(d))||a.hide()}],["wheel",function(d){return a._wheelListener(d)}]);else if(this.touchGestures!=="off"){this._disableNativeGesturesIfNecessary();var c=function(){clearTimeout(a._touchstartTimeout);a.hide(a._defaultOptions.touchendHideDelay)};
b.push(["touchend",c],["touchcancel",c])}this._addListeners(b);this._passiveListeners.push.apply(this._passiveListeners,r(b))}};g._addListeners=function(a){var b=this;a.forEach(function(c){var d=l(c);c=d.next().value;d=d.next().value;b._elementRef.nativeElement.addEventListener(c,d,Joc)})};g._platformSupportsMouseEvents=function(){return!this._platform.IOS&&!this._platform.ANDROID};
g._wheelListener=function(a){if(this._isTooltipVisible()){a=this._document.elementFromPoint(a.clientX,a.clientY);var b=this._elementRef.nativeElement;a===b||b.contains(a)||this.hide()}};
g._disableNativeGesturesIfNecessary=function(){var a=this.touchGestures;if(a!=="off"){var b=this._elementRef.nativeElement,c=b.style;if(a==="on"||b.nodeName!=="INPUT"&&b.nodeName!=="TEXTAREA")c.userSelect=c.msUserSelect=c.webkitUserSelect=c.MozUserSelect="none";a!=="on"&&b.draggable||(c.webkitUserDrag="none");c.touchAction="none";c.webkitTapHighlightColor="transparent"}};
ea.Object.defineProperties(lS.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=bh(a);this._detach();this._overlayRef=null}},disabled:{configurable:!0,
enumerable:!0,get:function(){return this._disabled},set:function(a){(this._disabled=bh(a))?this.hide(0):this._setupPointerEnterEventsIfNeeded()}},showDelay:{configurable:!0,enumerable:!0,get:function(){return this._showDelay},set:function(a){this._showDelay=eh(a)}},hideDelay:{configurable:!0,enumerable:!0,get:function(){return this._hideDelay},set:function(a){this._hideDelay=eh(a);this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}},message:{configurable:!0,enumerable:!0,
get:function(){return this._message},set:function(a){var b=this;zw(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(){yw(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)}}});lS.\u0275fac=function(){Ge()};
lS.\u0275dir=fd({type:lS,inputs:{position:[0,"matTooltipPosition","position"],positionAtOrigin:[0,"matTooltipPositionAtOrigin","positionAtOrigin"],disabled:[0,"matTooltipDisabled","disabled"],showDelay:[0,"matTooltipShowDelay","showDelay"],hideDelay:[0,"matTooltipHideDelay","hideDelay"],touchGestures:[0,"matTooltipTouchGestures","touchGestures"],message:[0,"matTooltip","message"],tooltipClass:[0,"matTooltipClass","tooltipClass"]}});
var mS=function(a,b){this._changeDetectorRef=a;this._isVisible=this._closeOnInteraction=!1;this._onHide=new W.Subject;this._animationsDisabled=b==="NoopAnimations"};g=mS.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))};
mS.\u0275fac=function(a){return new (a||mS)(A(Ig),A(vu,8))};mS.\u0275dir=fd({type:mS});var Koc=["tooltip"],oS=function(a,b,c,d,e,f,h,k,q,t,w,B){lS.call(this,a,b,c,d,e,f,h,k,q,t,w,B);this._tooltipComponent=nS};X(oS,lS);oS.\u0275fac=function(a){return new (a||oS)(A(vx),A(Rd),A(ex),A(dg),A(ze),A($v),A(xw),A(ew),A(O9b),A(Uw,8),A(Q9b,8),A(gh))};oS.\u0275dir=fd({type:oS,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],hostVars:2,hostBindings:function(a,b){a&2&&Kf("mat-tooltip-disabled",b.disabled)},exportAs:["matTooltip"],features:[zf]});
var nS=function(a,b,c){mS.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)")};X(nS,mS);nS.\u0275dir=mS.\u0275dir;nS.\u0275fac=function(a){return new (a||nS)(A(Ig),A(pw),A(vu,8))};
nS.\u0275cmp=p({type:nS,selectors:[["mat-tooltip-component"]],viewQuery:function(a,b){a&1&&fg(Koc,7);if(a&2){var c;jg(c=kg())&&(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&&(Bf("mat-id-collision",null),Jf("zoom",b.isVisible()?1:null))},features:[zf],decls:4,vars:6,consts:[["tooltip",""],[1,"mat-tooltip",3,"animationend","ngClass"]],template:function(a,b){if(a&1){var c=u();F(0,"div",
1,0);T(2,"async");M("animationend",function(e){v(c);return x(b._handleAnimationEnd(e))});R(3);G()}if(a&2){var d;Kf("mat-tooltip-handset",(d=V(2,4,b._isHandset))==null?null:d.matches);D("ngClass",b.tooltipClass);z(3);lg(b.message)}},dependencies:[Ev,Lv],styles:[".mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis;-webkit-transform:scale(0);transform:scale(0)}.mat-tooltip._mat-animation-noopable{-webkit-animation:none;animation:none;-webkit-transform:scale(1);transform:scale(1)}.cdk-high-contrast-active .mat-tooltip{outline:1px solid}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}.mat-tooltip-panel-non-interactive{pointer-events:none}@-webkit-keyframes mat-tooltip-show{0%{opacity:0;-webkit-transform:scale(0);transform:scale(0)}50%{opacity:.5;-webkit-transform:scale(.99);transform:scale(.99)}to{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}@keyframes mat-tooltip-show{0%{opacity:0;-webkit-transform:scale(0);transform:scale(0)}50%{opacity:.5;-webkit-transform:scale(.99);transform:scale(.99)}to{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}@-webkit-keyframes mat-tooltip-hide{0%{opacity:1;-webkit-transform:scale(1);transform:scale(1)}to{opacity:0;-webkit-transform:scale(1);transform:scale(1)}}@keyframes mat-tooltip-hide{0%{opacity:1;-webkit-transform:scale(1);transform:scale(1)}to{opacity:0;-webkit-transform:scale(1);transform:scale(1)}}.mat-tooltip-show{-webkit-animation:mat-tooltip-show .2s cubic-bezier(0,0,.2,1) forwards;animation:mat-tooltip-show .2s cubic-bezier(0,0,.2,1) forwards}.mat-tooltip-hide{-webkit-animation:mat-tooltip-hide .1s cubic-bezier(0,0,.2,1) forwards;animation:mat-tooltip-hide .1s cubic-bezier(0,0,.2,1) forwards}"],
encapsulation:2,changeDetection:0});var pS=function(){};pS.\u0275fac=function(a){return new (a||pS)};pS.\u0275mod=dd({type:pS});pS.\u0275inj=Ic({providers:[Ioc],imports:[ww,Tv,yx,zx,zx,jx]});var qS=function(){};qS.\u0275fac=function(a){return new (a||qS)};qS.\u0275mod=dd({type:qS});qS.\u0275inj=Ic({imports:[Tv,yx,Tw,ML,pS,ww,ZH]});var rS=function(){};rS.\u0275fac=function(a){return new (a||rS)};rS.\u0275mod=dd({type:rS});rS.\u0275inj=Ic({imports:[ww,BB,NN,ML,aM,qS]});var sS=function(){this.issue=null;this.isDataLoaded=!1};sS.prototype.ngOnChanges=function(){var a;this.reporter=eHa(sm((a=this.issue)==null?void 0:a.snapshot[0].reporterUser)||void 0);this.isDataLoaded=this.issue!==null};sS.\u0275fac=function(a){return new (a||sS)};
sS.\u0275cmp=p({type:sS,selectors:[["b-issue-reporter-cell"]],inputs:{issue:"issue"},features:[td],decls:4,vars:3,consts:[["noData",""],[3,"isReady"],[3,"email",4,"ngIf","ngIfElse"],[3,"email"]],template:function(a,b){a&1&&(F(0,"b-async-data-placeholder",1),C(1,KQa,2,2,"b-person-hovercard",2)(2,LQa,1,0,"ng-template",null,0,yg),G());a&2&&(a=Q(3),D("isReady",b.isDataLoaded),z(),D("ngIf",b.reporter)("ngIfElse",a))},dependencies:[oQ,Gv,oL],encapsulation:2,changeDetection:0});var tS=function(){};tS.\u0275fac=function(a){return new (a||tS)};tS.\u0275mod=dd({type:tS});tS.\u0275inj=Ic({imports:[BB,ML]});var uS=function(){};uS.\u0275fac=function(a){return new (a||uS)};uS.\u0275mod=dd({type:uS});uS.\u0275inj=Ic({imports:[BB,NL,tS]});var vS=function(){};vS.\u0275fac=function(a){return new (a||vS)};vS.\u0275mod=dd({type:vS});vS.\u0275inj=Ic({imports:[BB,NL,ML]});var wS=function(){};wS.\u0275fac=function(a){return new (a||wS)};wS.\u0275mod=dd({type:wS});wS.\u0275inj=Ic({imports:[BB]});var xS=function(){};xS.\u0275fac=function(a){return new (a||xS)};xS.\u0275mod=dd({type:xS});xS.\u0275inj=Ic({imports:[wS,GJ,BB,UM,My,jN,rS,nN,ML,aM,OL,uS,vS,xP,NL]});var yS=function(){};yS.\u0275fac=function(a){return new (a||yS)};yS.\u0275mod=dd({type:yS});yS.\u0275inj=Ic({imports:[BB]});var zS=function(){};zS.\u0275fac=function(a){return new (a||zS)};zS.\u0275mod=dd({type:zS});zS.\u0275inj=Ic({imports:[PQ]});var AS=function(){};AS.\u0275fac=function(a){return new (a||AS)};AS.\u0275mod=dd({type:AS});AS.\u0275inj=Ic({imports:[BB,zS]});var BS=function(){};BS.\u0275fac=function(a){return new (a||BS)};BS.\u0275mod=dd({type:BS});BS.\u0275inj=Ic({imports:[ww,WQ,Tv,cR,ML,AB,yx,ZQ]});var CS=function(){};CS.\u0275fac=function(a){return new (a||CS)};CS.\u0275mod=dd({type:CS});CS.\u0275inj=Ic({providers:[Fx,{provide:Unc,useValue:{separatorKeyCodes:[13]}}],imports:[zx,Lx,zx]});var DS=function(){};DS.\u0275fac=function(a){return new (a||DS)};DS.\u0275mod=dd({type:DS});DS.\u0275inj=Ic({imports:[CS]});var ES=function(){};ES.\u0275fac=function(a){return new (a||ES)};ES.\u0275mod=dd({type:ES});ES.\u0275inj=Ic({imports:[zx,UR,zx]});var FS=function(){};FS.\u0275fac=function(a){return new (a||FS)};FS.\u0275mod=dd({type:FS});FS.\u0275inj=Ic({imports:[ES]});var GS=function(){};GS.\u0275fac=function(a){return new (a||GS)};GS.\u0275mod=dd({type:GS});GS.\u0275inj=Ic({imports:[zx,Tv,Lx,vR,zx]});var HS=function(){};HS.\u0275fac=function(a){return new (a||HS)};HS.\u0275mod=dd({type:HS});HS.\u0275inj=Ic({imports:[BB,DS,JM,xS,ML,fJ,ZL,GS,qM,FS,aM,AS,UQ,BS,yS]});var IS=function(a){this.issuesApi=a};IS.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})};IS.\u0275fac=function(a){return new (a||IS)(n(PD))};IS.\u0275prov=Hc({token:IS,factory:IS.\u0275fac,providedIn:"root"});var JS=function(a,b,c,d,e,f,h){Z.call(this);var k=this;this.cdr=a;this.paths=b;this.issueFridge=c;this.relatedIssues=d;this.errorHandler=e;this.domSafe=f;this.activeSession=h;this.STATUS_ICON=f5b;this.entrySelect=new XF;this.selectedIssues=[];this.asyncChoices=[];this.choices=[];this.currentQuery="";this.hasLoadedResults=!0;this.searchingForSelf=!1;this.queryInternal="";this.queryChange=new XF;this.getTextToPutInInputOnSelect=function(){return k.query}};X(JS,Z);JS.\u0275dir=Z.\u0275dir;
JS.prototype.ngOnInit=function(){var a=this;this.queryChange.pipe(bf(250),qf(this.destroyed$)).subscribe(function(b){a.doSearch(b)})};JS.prototype.ngOnChanges=function(a){a.defaultChoices&&(this.choices=[].concat(r(this.defaultChoices),r(this.asyncChoices)))};JS.prototype.selectIssue=function(a){Loc(this,[a])};
var Noc=function(a){var b=a.split(",").map(function(c){return c.trim()}).filter(function(c){return!!c});if(Moc(b))return b;b=a;a.startsWith("b/")?b=a.substring(2):a.startsWith("http://b/")&&(b=a.substring(9));return ho(b)?[b]:[]},Moc=function(a){return!a.some(function(b){return!ho(b)})};JS.prototype.search=function(a){typeof a==="string"&&(this.query=a)};
JS.prototype.doSearch=function(a){this.currentQuery=a;this.searchingForSelf=!1;if(a==="")Ooc(this);else{var b=Noc(a);b.length===1||b.length>1&&this.allowMultipleIds?(this.lastSearchType="id",Poc(this,b,a)):(this.lastSearchType="query",Qoc(this,a))}};
var Ooc=function(a){a.choices=a.defaultChoices;a.asyncChoices=[];a.hasLoadedResults=!0;Loc(a,[])},Loc=function(a,b){a.selectedIssues=b;a.entrySelect.emit(a.selectedIssues);var c;(c=a.autocomplete)==null||Hib(c)},Poc=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,Ooc(a)):(a.choices=Roc(a,b),a.hasLoadedResults=!1,a.issueFridge.watchSet(b).pipe(ef(),qf(a.destroyed$)).subscribe(function(e){if(a.currentQuery===
c){var f=e.reduce(function(h,k){var q=Na(k.snapshot);return h.set(k.issueId,{resourceId:k.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(r(a.choices),r(a.asyncChoices));Loc(a,a.asyncChoices);a.hasLoadedResults=!0;a.cdr.detectChanges()}},function(){a.asyncChoices=[];a.hasLoadedResults=!0;a.cdr.detectChanges()}))},Qoc=function(a,b){a.choices=Soc(a,b);a.hasLoadedResults=
!1;if(Hp(b))a.hasLoadedResults=!0;else{var c=Toc(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:ij((f=a.currentResource)==null?void 0:f.id),nonParallelRequest:!0}).then(function(h){a.currentQuery===b&&(h=h.issueDigests.map(function(k){return{resourceId:k.issueId,displayText:k.title,status:k.status,relations:[]}}),a.choices=[].concat(r(a.choices),r(h)),a.cdr.detectChanges())},
function(h){a.errorHandler.errorHandler(null,h)}).finally(function(){a.hasLoadedResults=!0})}},Roc=function(a,b){return a.defaultChoices.filter(function(c){return c.resourceId.toString().startsWith(b[0])})},Soc=function(a,b){return Hp(b)?a.defaultChoices:a.defaultChoices.filter(function(c){return c.displayText.toLowerCase().startsWith(b.toLowerCase())})};JS.prototype.getIssueLink=function(a){return Ao(a.resourceId)};
var RQa=function(a){return a.relations.map(function(b){return Uoc.get(b)}).filter(function(b){return!!b}).join("/")},Toc=function(a,b){if(b.length===0)return a;b=b.map(function(c){return c.resourceId}).join("|");return a+" -id:("+b+")"};JS.prototype.onEnter=function(a){var b;((b=this.autocomplete)==null?0:b.panelOpen)&&a.stopPropagation()};ea.Object.defineProperties(JS.prototype,{query:{configurable:!0,enumerable:!0,get:function(){return this.queryInternal},set:function(a){this.queryInternal=a;this.queryChange.emit(a)}}});
JS.\u0275fac=function(a){return new (a||JS)(A(YF,2),A(pN),A(jG),A(IS),A(uE),A(FH),A(Ir))};
JS.\u0275cmp=p({type:JS,selectors:[["b-simple-issue-picker"]],viewQuery:function(a,b){a&1&&fg(JP,5);if(a&2){var c;jg(c=kg())&&(b.autocomplete=c.first)}},inputs:{defaultChoices:"defaultChoices",currentResource:"currentResource",allowMultipleIds:"allowMultipleIds"},outputs:{entrySelect:"entrySelect",queryChange:"queryChange"},features:[qg([IS,YF]),zf,td],decls:9,vars:8,consts:[["auto","matAutocomplete"],["issueHovercard","onedevHovercard"],["cardBody",""],[1,"bv2-issue-picker"],[4,"ngIf"],[1,"bv2-resource-picker",
"bv2-picker"],["type","text","placeholder","Type issue ID or search query...","autocomplete","off","spellcheck","false","aria-autocomplete","list","role","combobox","autofocus","autofocus","cdkFocusInitial","",1,"bv2-resource-picker-input",3,"ngModelChange","keydown.enter","keydown.alt.arrowright","ngModel","matAutocomplete"],[1,"issue-picker","base-resource-picker",3,"optionActivated","optionSelected","displayWith"],["disabled","",4,"ngIf"],["disabled","","class","bv2-resource-picker-message",4,
"ngIf"],["class","bv2-resource-picker-item bv2-issue-picker-item",3,"value",4,"ngFor","ngForOf"],[1,"bv2-issue-picker-message"],["disabled",""],[1,"spinner-container"],[3,"large"],["disabled","",1,"bv2-resource-picker-message"],[1,"bv2-resource-picker-item","bv2-issue-picker-item",3,"value"],["role","region","tabindex","0"],["class","icon-s margin-none",3,"svgIcon",4,"ngIf"],[1,"bv2-issue-picker-issue-id",3,"title"],[3,"onedevIsHovercardReady","issueId",4,"onedevHovercardLazyBody"],["mat-icon-button",
"","aria-label","Go to issue page.","data-stable","issue-pop-out","target","_blank",1,"gmat-button","small","bv2-issue-picker-pop-out",3,"click","onedevHovercardTrigger","href"],["svgIcon","pop-out",1,"icon-s"],[1,"bv2-issue-picker-relations"],[1,"bv2-issue-picker-description",3,"title","innerHTML"],[1,"icon-s","margin-none",3,"svgIcon"],[3,"onedevIsHovercardReady","issueId"]],template:function(a,b){if(a&1){var c=u();F(0,"div",3);C(1,MQa,3,0,"div",4);F(2,"div",5)(3,"input",6);M("ngModelChange",function(d){v(c);
return x(b.search(d))})("keydown.enter",function(d){v(c);return x(b.onEnter(d))})("keydown.alt.arrowright",function(){v(c);b.activeChoice&&b.domSafe.openInNewTab(b.getIssueLink(b.activeChoice));return x()});G();F(4,"mat-autocomplete",7,0);M("optionActivated",function(d){v(c);b.activeChoice=d.option==null?null:d.option.value;return x()})("optionSelected",function(d){v(c);return x(b.selectIssue(d.option.value))});C(6,NQa,3,1,"mat-option",8)(7,OQa,2,0,"mat-option",9)(8,SQa,14,13,"mat-option",10);G()()()}a&
2&&(a=Q(5),z(),D("ngIf",b.searchingForSelf),z(2),D("ngModel",b.query)("matAutocomplete",a),Bf("aria-label",b.selectedIssues.length>0?"issue "+b.selectedIssues[0].resourceId+" selected. Change.":"Choose issue"),z(),D("displayWith",b.getTextToPutInInputOnSelect),z(2),D("ngIf",b.query!==""&&!b.hasLoadedResults),z(),D("ngIf",b.query!==""&&!!b.hasLoadedResults&&b.choices.length===0),z(),D("ngForOf",b.choices))},dependencies:[Fv,Gv,zB,mh,qy,yy,$H,aI,gI,bI,VN,HP,IP,Kx,JP,pE,RQ,xJ],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 Uoc=new Map([["BLOCKED_BY","blocked"],["BLOCKING","blocking"],["DUPLICATE","duplicate"]]);var KS=function(a,b,c){this.dialogRef=a;this.params=c;this.DEFAULTS={title:"Select an issue.",defaultChoices:[],allowMultipleIds:!1};this.isQueryRestricted=!1;this.selectedIssues=[];this.data=Object.assign({},this.DEFAULTS,b);this.queryRestriction=this.data.componentId?"componentid:"+this.data.componentId+"+":""},WQa=function(a){if(a.queryRestriction!==""&&a.issuePicker!=null){var b=a.issuePicker.query;a.issuePicker.query=a.isQueryRestricted?b.replace(new RegExp(so(a.queryRestriction)+" ?"),""):a.queryRestriction+
" "+b}};g=KS.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()};
KS.\u0275fac=function(a){return new (a||KS)(A(pI),A(vI),A(vH))};
KS.\u0275cmp=p({type:KS,selectors:[["ng-component"]],viewQuery:function(a,b){a&1&&fg(JS,5);if(a&2){var c;jg(c=kg())&&(b.issuePicker=c.first)}},hostBindings:function(a,b){a&1&&M("keydown.escape",function(){return b.onEscape()})},decls:15,vars:10,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[1,"bv2-rel-issue-text"],["class","bv2-rel-issue-preview-link",4,"ngIf"],[1,"bv2-rel-issue-search"],[1,"bv2-rel-issue-bubble-issue-picker"],["class","bv2-rel-issue-narrow-to-component",4,"ngIf"],[1,
"bv2-rel-issue-issue-picker",3,"keydown.enter","entrySelect","queryChange","defaultChoices","currentResource","allowMultipleIds"],["mat-dialog-actions",""],["mat-button","",1,"gmat-button","medium","cancel",3,"click"],["mat-flat-button","","color","primary",1,"gmat-button","medium","confirm",3,"click","disabled"],[1,"bv2-rel-issue-preview-link"],["target","_blank","class","bv2-rel-issue-id-link",3,"href",4,"ngFor","ngForOf"],["target","_blank",1,"bv2-rel-issue-id-link",3,"href"],["target","_blank",
1,"keep-underline","bv2-rel-issue-title-link",3,"href"],[1,"bv2-rel-issue-title-link-txt"],["svgIcon","pop-out",1,"icon-xs"],[1,"bv2-rel-issue-narrow-to-component"],["role","checkbox","tabindex","0","aria-label","Include subcomponents",1,"bv2-narrow-search-comp-btn","keep-focus-ring",3,"click","keyup.space","matTooltip"]],template:function(a,b){a&1&&(F(0,"h2",0),R(1),G(),F(2,"div",1)(3,"div",2),C(4,UQa,2,1,"div",3)(5,VQa,6,3,"div",3),G(),F(6,"div",4)(7,"div",5),C(8,XQa,2,2,"div",6),F(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)}),G()()()(),F(10,"div",8)(11,"button",9),M("click",function(){return b.onPressCancel()}),R(12," Cancel "),G(),F(13,"button",10),M("click",function(){return b.onPressConfirm()}),R(14," Confirm "),G()());a&2&&(z(),S(" ",b.data.title,"\n"),z(3),D("ngIf",b.selectedIssues.length>1),z(),D("ngIf",b.selectedIssues.length===1),z(3),D("ngIf",!!b.queryRestriction),
z(),Kf("bv2-rel-issue-issue-picker-full-width",!!b.queryRestriction),D("defaultChoices",b.data.defaultChoices)("currentResource",b.data.currentResource)("allowMultipleIds",b.data.allowMultipleIds),z(4),D("disabled",!b.selectedIssues.length))},dependencies:[Fv,Gv,zB,oE,zI,BI,AI,LH,OH,JS],encapsulation:2});var LS=function(){};LS.\u0275fac=function(a){return new (a||LS)};LS.\u0275mod=dd({type:LS});LS.\u0275inj=Ic({imports:[GJ,BB,My,NL,xP,LP,ML,fJ,aM,AS]});var Voc=new md("XapHatsSurveyApiKey"),Woc=new md("XapHatsSurveyLocale"),Xoc=new md("XapHatsSurveyWindow"),Yoc=new md("XapHatsSurveyListnrProductId");var Zoc=new Map([[0,1],[1,2]]),MS=function(a,b,c,d,e){var f=function(){var h={apiKey:a,locale:c!=null?c:"en-US",window:d};h=x0b(D0b,"help.service.Lazy.create",b,{apiKey:h.apiKey||h.apiKey,asxUiUri:h.asxUiUri||h.asxUiUri,environment:h.environment||h.environment,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 C0b(h)};this.helpService=e?e.runOutsideAngular(f):f()},$oc=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 W.Observable(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(pf(function(f){return new W.Observable(function(h){var k;a.helpService.presentSurvey({surveyData:f,colorScheme:d.theme?Zoc.get(d.theme):1,authuser:e,customZIndex:(k=d.zIndex)!=null?k:1E4,customLogoUrl:d.customLogoUrl,productData:c,listener:{surveyClosed:function(){h.complete()}}});h.next(f.surveyMetadata)})}))};
MS.\u0275fac=function(a){return new (a||MS)(n(Voc),n(Yoc),n(Woc,8),n(Xoc,8),n(ze,8))};MS.\u0275prov=Hc({token:MS,factory:MS.\u0275fac,providedIn:"root"});var NS=function(a,b,c,d){this.dialog=a;this.analytics=b;this.hatsService=c;this.activeSession=d};
NS.prototype.open=function(a,b){var c=this,d=apc(a),e=d.dialog,f=d.config;return new Promise(function(h){qI(c.dialog.open(e,f)).subscribe(function(k){var q,t=(q=k==null?void 0:k.selectedIssueIds)!=null?q:[],w;k=(w=k==null?void 0:k.lastSearchType)!=null?w:"";w=[a.originIsBulk?"bulk":void 0,t.length>1?"search-multi":"search",a.edgeType].filter(Boolean).join("-");c.analytics.trackEvent("issuePicker",w,k);b==null||b(t);h(t);c.activeSession.isInternalSession()&&k==="id"&&$oc(c.hatsService,"etC5mMepi0g6pPHSLo10TaNs15gn").pipe(ef()).subscribe()})})};
var apc=function(a){var b={panelClass:"no-jitter",data:a};return a.edgeType==="canonical"?(b.width="60vw",b.minWidth="800px",{dialog:kS,config:b}):{dialog:KS,config:b}};NS.\u0275fac=function(a){return new (a||NS)(n(wI),n(bG),n(MS),n(Ir))};NS.\u0275prov=Hc({token:NS,factory:NS.\u0275fac,providedIn:"root"});var OS=function(){};OS.\u0275fac=function(a){return new (a||OS)};OS.\u0275mod=dd({type:OS});OS.\u0275inj=Ic({imports:[LS,HS]});var PS=function(){var a=this;this.draftRows=new Map;this.changed$=new W.Subject;this.counter=0;this.createId=function(){return String(a.counter++)}};PS.prototype.create=function(a,b,c){var d=this.createId();b={type:"draft-issue",title:"",ancestorChain:Qmc(a,d),level:a.size-1,issue$:(0,W.of)(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};
PS.prototype.get=function(a){var b;return(b=this.draftRows.get(a.hash()))!=null?b:[]};PS.prototype.remove=function(a){var b=a.ancestorChain.parentChain,c=this.get(b),d=c.filter(function(f){return f.id!==a.id});if(c.length!==d.length){c=l(d);for(var e=c.next();!e.done;e=c.next())e=e.value,e.afterDraftId===a.id&&(e.afterDraftId=a.afterDraftId);this.draftRows.set(b.hash(),d);this.changed$.next(this.draftRows)}};
var bpc=function(a,b){return fe(function(c){return c.return((0,W.firstValueFrom)(a.changed$.pipe(of(a.draftRows),y(function(d){return![].concat(r(d.values())).flat().some(function(e){return e.issueId===b||e.id===b})}),te(Boolean),y(function(){}))))})};PS.prototype.isSaving=function(){return[].concat(r(this.draftRows.values())).flat().some(function(a){return a.saving})};PS.prototype.set=function(a,b){var c=this.get(a);this.draftRows.set(a.hash(),[].concat(r(c),[b]));this.changed$.next(this.draftRows)};var cpc={defaultExpandedChildren:10,defaultExpansionLevel:3,maxExpansion:500},dpc=function(a){var b=void 0;b=b===void 0?cpc:b;a=a===void 0?{}:a;this.config=b;this.expansionState=this.initialState=a;this.changed$=new W.ReplaySubject(1)},epc=function(a,b){b=b.hash();return a.expansionState[b]},fpc=function(a,b,c){b=b.hash();c===void 0?delete a.expansionState[b]:a.expansionState[b]=c;a.changed$.next(a.expansionState)},gpc=function(a,b,c){var d=!1;c=l(c);for(var e=c.next();!e.done;e=c.next()){e=e.value;
var f=Qmc(b,e.nodeId);e.size<=a.config.defaultExpansionLevel&&epc(a,e)===void 0&&(a.expansionState[f.hash()]=a.config.defaultExpandedChildren,d=!0);for(var h=l(Object.entries(a.expansionState)),k=h.next();!k.done;k=h.next()){k=l(k.value);var q=k.next().value;k=k.next().value;q=vp(q);q.contains(e)&&(d=q.pathToAncestor.join(",").replace(e.pathToAncestor.join(","),f.pathToAncestor.join(",")).split(","),d=new GQ(d),delete a.expansionState[q.hash()],a.expansionState[d.hash()]=k,d=!0)}}if(!epc(a,b)){var t;
a.expansionState[b.hash()]=(t=a.config.defaultExpandedChildren)!=null?t:a.config.maxExpansion;d=!0}d&&a.changed$.next(a.expansionState)};var QS=function(a,b,c,d,e){this.issueApi=a;this.activeSession=b;this.issueFridge=c;this.componentFridge=d;this.componentTemplatesFridge=e;this.currentUser=tm(this.activeSession.getUserEmail())},ipc=function(a,b){var c,d,e;return fe(function(f){if(f.nextAddress==1)return he(f,hpc(a,b),2);c=f.yieldResult;d=c.component;e=c.defaultTemplate;return f.return(ICa(d,e))})},kpc=function(a,b){var c;return fe(function(d){if(d.nextAddress==1)return he(d,jpc(a,b),2);c=d.yieldResult;return d.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})})},lpc=function(a,b,c){var d;return fe(function(e){if(e.nextAddress==1)return he(e,jpc(a,b),2);d=e.yieldResult;d.title=c;return e.return(a.create(d))})};
QS.prototype.create=function(a){var b=this,c,d;return fe(function(e){return e.nextAddress==1?he(e,b.issueApi.createIssue({snapshot:a}),2):e.nextAddress!=3?(c=e.yieldResult,d=c.issueId,he(e,b.issueFridge.poke(String(d)),3)):e.return({issueId:String(d)})})};
var jpc=function(a,b){var c,d,e,f,h;return fe(function(k){if(k.nextAddress==1)return he(k,(0,W.firstValueFrom)(a.issueFridge.watch(b).pipe(te(lj))),2);if(k.nextAddress!=3)return c=k.yieldResult,he(k,hpc(a,String(c.snapshot[0].componentId)),3);d=k.yieldResult;e=d.component;f=d.defaultTemplate;if(c){var q={};c.snapshot[0].priority&&(q.priority=c.snapshot[0].priority);c.snapshot[0].severity&&(q.severity=c.snapshot[0].severity);c.snapshot[0].type&&(q.type=A8b[c.snapshot[0].type])}else q={};h=Object.assign({},
{componentId:e.componentId},{inProd:!1,status:"NEW",isDeleted:!1,deletionReason:"DELETION_REASON_UNSPECIFIED",isArchived:!1,formattingMode:"UNSPECIFIED_FORMATTING_MODE",reporterUser:a.currentUser,ccUsers:[a.currentUser]},q,mpc(f),npc(e,f));h.assigneeUser&&(h.status="ASSIGNED");return k.return(h)})},mpc=function(a){if(!a)return{};a=rc(a.snapshot,function(b){return b==null||typeof b==="string"&&Hp(b)?!1:!0});delete a.componentId;return a},npc=function(a,b){var c=[],d,e;a=l((e=(d=a.componentPathInfo)==
null?void 0:d.allCustomField)!=null?e:[]);e=a.next();for(d={};!e.done;d={customField$jscomp$12:void 0},e=a.next())if(d.customField$jscomp$12=e.value,d.customField$jscomp$12.required){var f=void 0;e=(f=d.customField$jscomp$12.typedDefaultValue)!=null?f:{customFieldId:d.customField$jscomp$12.customFieldId};var h=f=void 0,k=void 0,q=(k=(f=b)==null?void 0:(h=f.snapshot.customField)==null?void 0:h.find(function(t){return function(w){return w.customFieldId===t.customField$jscomp$12.customFieldId}}(d)))!=
null?k:e;q&&c.push(Object.assign({},q))}return c.length===0?{}:{customField:c}},hpc=function(a,b){var c,d,e,f,h,k;return fe(function(q){if(q.nextAddress==1)return he(q,Promise.all([(0,W.firstValueFrom)(a.componentTemplatesFridge.defaultTemplate$(b)),(0,W.firstValueFrom)(a.componentFridge.watch(b).pipe(te(lj)))]),2);c=q.yieldResult;d=l(c);e=d.next().value;f=d.next().value;h=e;k=f;return q.return({component:k,defaultTemplate:h})})};
QS.\u0275fac=function(a){return new (a||QS)(n(PD),n(Ir),n(jG),n(CC),n(zE))};QS.\u0275prov=Hc({token:QS,factory:QS.\u0275fac,providedIn:"root"});var RS=function(a,b,c,d,e,f,h,k,q,t,w,B,E,I){c=c===void 0?1:c;Z.call(this);var J=this;this.rootIssueId=a;this.quickFilters=b;this.defaultExpansionLevel=c;this.saveExpansionAtKey=d;this.analytics=e;this.butterBar=f;this.issueFridge=h;this.issuePicker=k;this.issueRelationshipsFridge=q;this.paths=t;this.router=w;this.issueCreationService=B;this.clearcut=E;this.refreshMonitor=I;this.defaultApiRequestDepth=this.defaultExpansionLevel+2;this.defaultExpandedChildren=10;this.saveExpansion=this.saveExpansionAtKey?
Hl(this.saveExpansionAtKey):function(){};this.expansion=new dpc(opc(this));this.draftRows=new PS;this.refetchingAll$=new W.BehaviorSubject(!1);this.userRequestedRefresh$=this.refreshMonitor.getObservable().pipe(pf(function(){J.refetchingAll$.next(!0);var N=fo(J.rows$),P=[];if(!N)return Promise.resolve();P.push(F8b(J.issueRelationshipsFridge,J.rootIssueId,J.defaultApiRequestDepth));N=l(N);for(var U=N.next();!U.done;U=N.next())U=U.value,U.type==="data"&&P.push(J.issueFridge.poke(U.id)),U.level>J.defaultExpansionLevel&&
P.push(J.issueRelationshipsFridge.poke(U.id));return Promise.all(P).then(function(){J.refetchingAll$.next(!1)})}));this.rows$=(0,W.merge)(this.draftRows.changed$,this.expansion.changed$,this.userRequestedRefresh$,(0,W.scheduled)((0,W.of)({}),W.asapScheduler)).pipe(pf(function(){return E8b(J.issueRelationshipsFridge,J.rootIssueId,J.defaultApiRequestDepth)}),pf(function(){for(var N=new Map,P=l(Object.entries(J.expansion.expansionState)),U=P.next();!U.done;U=P.next()){U=l(U.value);var ba=U.next().value;
U=U.next().value;ba=vp(ba).nodeId;var ma=void 0;U=Math.max(U,(ma=N.get(ba))!=null?ma:0);N.set(ba,U)}return ppc(J,N)}),af(this.quickFilters.value$),pf(function(N){N=l(N);var P=N.next().value;var U=N.next().value;return U.size===0?(J.hiddenRowCount$.next(0),(0,W.of)(P)):qpc(J,P).pipe(y(function(ba){return rpc(J,P,U,ba)}))}),y(function(N){return spc(J,N)}),mf({refCount:!0,bufferSize:1}));this.hiddenRowCount$=new W.BehaviorSubject(0);this.rootIssue$=this.issueFridge.watch(this.rootIssueId).pipe(te(lj));
this.ROOT_ROW={type:"data",id:this.rootIssueId,level:-1,ancestorChain:new GQ([this.rootIssueId]),expandedCount:500,issue$:W.NEVER,hasChildren$:W.NEVER};this.supportsOneLineCreation=(0,W.firstValueFrom)(this.rootIssue$).then(function(N){return to(N.snapshot[0].componentId)}).then(function(N){return ipc(J.issueCreationService,N)});this.isOneLineCreationSupported=function(){return J.supportsOneLineCreation};this.saveExpansionAtKey&&this.subscriptions.add(this.expansion.changed$.pipe(bf(100)).subscribe(this.saveExpansion))};
X(RS,Z);RS.\u0275dir=Z.\u0275dir;RS.\u0275fac=Z.\u0275fac;
var opc=function(a){a=a.saveExpansionAtKey;if(a!=null){a=nya(a)();a:if(typeof a!=="object"||Object.getPrototypeOf(a)!==Object.prototype)var b=!1;else{b=l(Object.getOwnPropertyNames(a));for(var c=b.next();!c.done;c=b.next())if(c=c.value,!c||typeof a[c]!=="number"){b=!1;break a}b=!0}return b?a:void 0}},tpc=function(a,b,c){b=b===void 0?a.ROOT_ROW.ancestorChain:b;var d,e,f,h,k,q,t;fe(function(w){switch(w.nextAddress){case 1:return d=b.nodeId,he(w,(0,W.firstValueFrom)(a.issueFridge.watch(d)),2);case 2:return(e=
w.yieldResult)?he(w,a.supportsOneLineCreation,3):w.return();case 3:f=w.yieldResult;if(!f){w.jumpTo(4);break}return he(w,kpc(a.issueCreationService,d),5);case 5:return h=w.yieldResult,w.return(a.draftRows.create(b,h,c));case 4:return k=e.snapshot[0].componentId,t={},he(w,qr(a.router,a.paths.createIssue((t.component=k?String(k):void 0,t.parentIssueId=e.issueId,t.redirectUrl=zo.issueDependencies.makeHref(a.rootIssueId),t.afterIssueId=(q=c)==null?void 0:q.afterIssueId,t))),6);case 6:return w.return()}})};
RS.prototype.addExistingChild=function(a){var b=this,c,d,e,f;fe(function(h){if(h.nextAddress==1)return he(h,(0,W.firstValueFrom)((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 he(h,b.issuePicker.open({title:"Add Children of b/"+f,allowMultipleIds:!0,edgeType:"child"},function(k){return fe(function(q){if(q.nextAddress==1){if(k.length===0)return q.return();b.assignParentToIssues(f,k);b.analytics.trackEvent("editIssue","add",
"existing-child-issue");return he(q,qp(0),2)}a&&fpc(b.expansion,a.ancestorChain,500);le(q)})}),0)})};RS.prototype.saveDraft=function(a){var b=this,c;return fe(function(d){if(d.nextAddress==1){if(a.saving||!a.title)return d.return();a.saving=!0;return he(d,upc(b,a),2)}return(c=d.yieldResult)?d.return(vpc(b,a,c)):d.return()})};
var upc=function(a,b){var c,d,e,f;return fe(function(h){switch(h.nextAddress){case 1:return c=b.ancestorChain.parentNodeId,ge(h,2),he(h,lpc(a.issueCreationService,c,b.title),4);case 4:e=h.yieldResult;d=e.issueId;Ft(h,3);break;case 2:return f=ke(h),a.butterBar.showWarning("Could not create issue. Error: "+JSON.stringify(f)),a.draftRows.remove(b),h.return();case 3:var k=(new Date).getTime()-b.draftStartedAt.getTime();if(k>0){var q=Math.min(k,108E5);i8b("createIssue",q,"from-tree");a.analytics.trackEvent("createIssue",
"createIssue","time-to-create-from-tree",q);RF(a.clearcut,k,"createIssue-fromTree")}fpc(a.expansion,b.ancestorChain.parentChain,500);k=a.draftRows;q=d;b.issueId=q;for(var t=l(k.draftRows.values()),w=t.next();!w.done;w=t.next()){w=l(w.value);for(var B=w.next();!B.done;B=w.next())B=B.value,B.afterDraftId===b.id&&(B.afterIssueId=q)}k.changed$.next(k.draftRows);return h.return(d)}})},vpc=function(a,b,c){var d,e,f,h,k,q;return fe(function(t){if(t.nextAddress==1)return d=b.ancestorChain.parentNodeId,f=
(e=b.afterIssueId)!=null?e:b.afterDraftId,f===void 0||f==="-1"?t.jumpTo(2):he(t,bpc(a.draftRows,f),2);if(t.nextAddress!=4)return he(t,a.issueRelationshipsFridge.assignParentToIssues(d,[{issueId:c,afterIssueId:b.afterIssueId}]),4);h=t.yieldResult;k=h.errors;((q=k)==null?0:q.length)&&a.butterBar.showWarning("Could not create issue relationship. Error: "+JSON.stringify(k));a.draftRows.remove(b);le(t)})},ppc=function(a,b,c){c=c===void 0?0:c;return(0,W.combineLatest)([a.rootIssueId].concat(r(b.keys())).map(function(d){return a.refetchingAll$.pipe(te(function(e){return!e}),
pf(function(){return D8b(a.issueRelationshipsFridge,d)}))})).pipe(pf(function(d){var e=new Map;d=l(d);for(var f=d.next();!f.done;f=d.next())(f=f.value)&&e.set(f.issueId,f);if(c===a.defaultExpansionLevel)return(0,W.of)(e);d=wpc(a,e,c);d=new Map(d.map(function(h){return[h,a.defaultExpandedChildren]}));return ppc(a,d,c+1).pipe(y(function(h){var k=new Map(e);h=l(h.entries());for(var q=h.next();!q.done;q=h.next()){var t=l(q.value);q=t.next().value;t=t.next().value;k.set(q,t)}return k}))}))},wpc=function(a,
b,c){var d=[];a=[{id:a.rootIssueId,level:-1}];for(var e={};a.length>0;e={current$jscomp$29:void 0})if(e.current$jscomp$29=a.pop(),e.current$jscomp$29.level===c&&d.push(e.current$jscomp$29.id),!(e.current$jscomp$29.level>c)){var f=void 0,h=void 0,k=(h=(f=b.get(e.current$jscomp$29.id))==null?void 0:f.relatedChildren)!=null?h:[];a.push.apply(a,r(k.map(function(q){return function(t){return{id:t.targetIssueId,level:q.current$jscomp$29.level+1}}}(e))))}return d},spc=function(a,b){for(var c=[],d=[a.ROOT_ROW],
e={};d.length>0;e={parentRow$jscomp$1:void 0,childrenLevel:void 0})if(e.parentRow$jscomp$1=d.pop(),e.parentRow$jscomp$1.type==="load-more-children"||e.parentRow$jscomp$1.type==="draft-issue")c.push(e.parentRow$jscomp$1);else{e.parentRow$jscomp$1.id!==a.rootIssueId&&c.push(e.parentRow$jscomp$1);var f=void 0,h=void 0,k=(h=(f=b.get(e.parentRow$jscomp$1.id))==null?void 0:f.relatedChildren)!=null?h:[];f=k.slice(0,e.parentRow$jscomp$1.expandedCount);e.childrenLevel=e.parentRow$jscomp$1.level+1;e.parentRow$jscomp$1.expandedCount&&
f.length<k.length&&(h=Qmc(e.parentRow$jscomp$1.ancestorChain,"load-more-children"),d.push({type:"load-more-children",id:h.hash(),level:e.childrenLevel,parentIssue$:e.parentRow$jscomp$1.issue$,ancestorChain:h,truncatedSiblingCount:k.length-f.length}));k=f.map(function(q){return function(t){var w=Qmc(q.parentRow$jscomp$1.ancestorChain,t.targetIssueId),B=t.targetIssueId,E=q.childrenLevel,I=a.issueRelationshipsFridge.watch(t.targetIssueId).pipe(y(gEa));var J=q.childrenLevel;var N=w.nodeId,P=epc(a.expansion,
w);if(P!==void 0)J=P;else if(J<a.defaultExpansionLevel){var U,ba;J=Math.min(a.defaultExpandedChildren,(ba=(U=b.get(N))==null?void 0:U.relatedChildren.length)!=null?ba:0)}else J=0;return{type:"data",id:B,level:E,hasChildren$:I,ancestorChain:w,expandedCount:J,issue$:a.issueFridge.watch(t.targetIssueId)}}}(e));d.push.apply(d,r(xpc(a,k,e.parentRow$jscomp$1.ancestorChain).reverse()))}return c},xpc=function(a,b,c){var d=[].concat(r(b));a=a.draftRows.get(c);a=l(a);var e=a.next();for(c={};!e.done;c={draft$jscomp$5:void 0},
e=a.next())c.draft$jscomp$5=e.value,b.some(function(f){return function(h){return h.id===f.draft$jscomp$5.issueId}}(c))||(e=d.findIndex(function(f){return function(h){return h.id===f.draft$jscomp$5.afterDraftId||h.id===f.draft$jscomp$5.afterIssueId}}(c)),d.splice(e===-1?d.length:e+1,0,c.draft$jscomp$5));return d};
RS.prototype.assignParentToIssues=function(a,b){var c=this,d,e,f,h;return fe(function(k){if(k.nextAddress==1)return b.length===0?k.return():he(k,c.issueRelationshipsFridge.assignParentToIssues(a,b.map(function(q){return{issueId:q,afterIssueId:"-1"}})),2);d=k.yieldResult;e=d.notAdded;f=d.errors;if(e.length)return c.butterBar.showWarning("Could not add "+e+" as child of b/"+a+". "+((h=f)==null?void 0:h.map(function(q){return nn(q)}))),k.return();le(k)})};
var qpc=function(a,b){for(var c=new Set,d=l(b.keys()),e=d.next();!e.done;e=d.next())c.add(e.value);b=l(b.values());for(d=b.next();!d.done;d=b.next())for(d=d.value.relatedChildren.map(function(f){return f.targetIssueId}),d=l(d),e=d.next();!e.done;e=d.next())c.add(e.value);return(0,W.combineLatest)([].concat(r(c)).map(function(f){return a.issueFridge.watch(f)})).pipe(y(function(f){return f.filter(lj)}))},rpc=function(a,b,c,d){function e(q){if(!q)return!1;var t=f.get(q),w=h.get(q);if(!t||t.relatedChildren.length===
0)return w;var B=t.relatedChildren.filter(function(E){return e(E.targetIssueId)});k+=t.relatedChildren.length-B.length;f.set(q,Object.assign({},t,{relatedChildren:B}));return B.length!==0||w}var f=new Map(b.entries()),h=new Map(d.map(function(q,t,w){return[q.issueId,kOa(c,t,w)]})),k=0;e(a.rootIssueId);a.hiddenRowCount$.next(k);return f},SS=function(a,b,c,d,e,f,h,k,q,t){this.analytics=a;this.butterBar=b;this.issueFridge=c;this.issuePicker=d;this.issueRelationshipsFridge=e;this.paths=f;this.router=
h;this.issueCreationService=k;this.clearcut=q;this.refreshMonitor=t};SS.prototype.create=function(a,b,c,d){b=b===void 0?new HJ:b;return new RS(a,b,c,d,this.analytics,this.butterBar,this.issueFridge,this.issuePicker,this.issueRelationshipsFridge,this.paths,this.router,this.issueCreationService,this.clearcut,this.refreshMonitor)};SS.\u0275fac=function(a){return new (a||SS)(n(bG),n(sE),n(jG),n(NS),n(CG),n(pN),n(pB),n(QS),n(QF),n(iG))};SS.\u0275prov=Hc({token:SS,factory:SS.\u0275fac,providedIn:"root"});var TS=function(a,b,c,d){var e=this;this.rootElement=a;this.rows=b;this.ngZone=c;this.rowSelectionModel=d;this.onLongHover$=new W.Subject;this.onRowsMoved$=new W.Subject;this.placeholder=this.rootElement.querySelector(".placeholder");this.insertionBar=this.rootElement.querySelector(".insertion-bar");this.dragPreviewTemplate=this.rootElement.querySelector(".drag-preview");this.activeDrag=!1;this.onDragOver=k_b(function(f,h){if(e.activeDrag){var k=f||0,q=h.getBoundingClientRect();f=q.height;k-=q.top;
f=$Qa(k<=f*.25?"top":k>=f*.75?"bottom":"middle",h);h=f.position;f=f.rowElement;switch(h){case "current":e.placeholder.style.display="block";e.insertionBar.style.display="none";e.placeholder.style.left=f.offsetLeft+"px";e.placeholder.style.top=f.offsetTop+"px";e.placeholder.style.height=f.offsetHeight+"px";break;case "before":case "after":var t=(k=(t=f.querySelector(".title-location"))==null?void 0:t.getBoundingClientRect().left)?k-f.getBoundingClientRect().left:0;t=f.offsetLeft+t;k=h==="after"?f.offsetTop+
f.offsetHeight:f.offsetTop;q=f.getBoundingClientRect().width;e.insertionBar.style.display="block";e.placeholder.style.display="none";e.insertionBar.style.left=t+"px";e.insertionBar.style.top=k-1+"px";e.insertionBar.style.width=q-t+"px";break;case "none":e.placeholder.style.display="none",e.insertionBar.style.display="none"}e.currentReorderingGuide={rowElement:f,position:h};ypc(e,f,h)}},10);this.ngZone.runOutsideAngular(function(){a.addEventListener("dragover",function(f){var h,k=(h=f.target)==null?
void 0:h.closest("tr");if(k&&(e.onDragOver(f.clientY,k),k.classList.contains("dragging")||k.classList.contains("nodrop")))return!0;var q;if(((q=e.currentReorderingGuide)==null?void 0:q.position)==="none")return!0;f.preventDefault();return!1});a.addEventListener("dragend",function(){zpc(e)});a.addEventListener("drop",function(){e.reorder(e.currentReorderingGuide,Apc(e.rowSelectionModel),"mouse",4);zpc(e)})})};
TS.prototype.handleDragStart=function(a){var b=this;this.activeDrag=!0;var c=a.target.closest("tr");this.rowSelectionModel.select(aRa(c));Bpc(this.rowSelectionModel);Cpc(this);this.dragPreview=this.dragPreviewTemplate.cloneNode(!0);document.body.appendChild(this.dragPreview);this.dragPreview.style.display="block";this.dragPreview.style.top="-1000px";this.dragPreview.innerText=this.rowSelectionModel.selectedCount===1?"Moving 1 issue":"Moving "+this.rowSelectionModel.selectedCount+" issues";a.dataTransfer.setDragImage(this.dragPreview,
0,0);a.dataTransfer.dropEffect="move";a=this.rows.toArray().filter(function(d){return b.rowSelectionModel.isSelected(d.row.ancestorChain)});a=l(a);for(c=a.next();!c.done;c=a.next())c.value.element.classList.add("dragging")};
var Dpc=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)},Epc=function(a,b){var c=a.rows.toArray(),d=c.findIndex(function(f){return f.row.ancestorChain.equals(b.row.ancestorChain)});if(d!==-1&&d!==0){c=c.slice(0,d).reverse();c=l(c);for(d=c.next();!d.done;d=c.next()){d=d.value;if(d.row.type==="load-more-children"){d=d.element.previousElementSibling;
if(!d)continue;var e={position:"before",rowElement:d};break}if(d.row.ancestorChain.parentChain.parentChain.equals(b.row.ancestorChain.parentChain)){e={position:"after",rowElement:d.element};break}if(d.row.ancestorChain.parentChain.equals(b.row.ancestorChain.parentChain)){e={position:"current",rowElement:d.element};break}}a.reorder(e,[b.row.ancestorChain],"keyboard",2)}};
TS.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)}};
TS.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"?Dpc(this,a):(b=c&&b.row.level<ZQa(c)?{position:"before",rowElement:c}:{position:"after",rowElement:b.element},this.reorder(b,[a.row.ancestorChain],"keyboard",1))}};
TS.prototype.onKeydown=function(a){if(a.ctrlKey){var b,c=(b=a.target)==null?void 0:b.closest("tr");if(c){var d=aRa(c);if(b=this.rows.toArray().find(function(e){return e.row.ancestorChain.equals(d)}))switch(a.key){case "ArrowLeft":Dpc(this,b);break;case "ArrowRight":Epc(this,b);break;case "ArrowUp":this.moveUp(b);break;case "ArrowDown":this.moveDown(b)}}}};
TS.prototype.reorder=function(a,b,c,d){var e=this;if(a){var f=aRa(a.rowElement),h=void 0,k=f;switch(a.position){case "current":k=f;h={parentId:f.nodeId};break;case "before":case "after":k=f.parentChain,h={parentId:f.parentNodeId,position:{issueId:f.nodeId,position:a.position}}}this.ngZone.run(function(){b.length&&h&&e.onRowsMoved$.next({movedRows:b,insertAt:h,parentAncestorChain:k,origin:c,actionMessage:YQa(d)})})}};
var zpc=function(a){for(var b=l(a.rootElement.querySelectorAll("tr.dragging")),c=b.next();!c.done;c=b.next())c.value.classList.remove("dragging");b=l(a.rootElement.querySelectorAll("tr.nodrop"));for(c=b.next();!c.done;c=b.next())c.value.classList.remove("nodrop");a.rowSelectionModel.clear();a.placeholder.style.display="none";a.insertionBar.style.display="none";var d;(d=a.updatingNoDropRows)==null||d.unsubscribe();var e,f;(e=a.dragPreview)==null||(f=e.parentElement)==null||f.removeChild(a.dragPreview);
a.activeDrag=!1},ypc=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 aRa(b).equals(e.row.ancestorChain)});d&&(a.ngZone.run(function(){a.onLongHover$.next(d)}),a.longHoveredRow.emitted=!0)}},Cpc=function(a){var b;
(b=a.updatingNoDropRows)==null||b.unsubscribe();a.updatingNoDropRows=a.rows.changes.pipe(of(null)).subscribe(function(){var c=a.rows.toArray(),d=new Set(a.rowSelectionModel.selectedRows.map(function(f){return f.nodeId}));c=l(c);for(var e=c.next();!e.done;e=c.next())e=e.value,e.row.ancestorChain.some(function(f){return d.has(f)})&&e.element.classList.add("nodrop")})};var US=function(a){Z.call(this);var b=this;this.analytics=a;this.dragStarted$=new W.Subject;this.onRowsMoved$=new W.Subject;(0,W.merge)(this.dragStarted$,this.onRowsMoved$).pipe(dFa(),qf(this.destroyed$)).subscribe(function(c){var d=c[c.length-1].timestamp-c[0].timestamp;c=Sm(c.map(function(e){return e.event.origin}));c=c.length===1?c[0]:"mixed";b.analytics.trackEvent("editIssue","reorderChildren",c);i8b("reorderChildren",d,c)})};X(US,Z);US.\u0275dir=Z.\u0275dir;
US.\u0275fac=function(a){return new (a||US)(n(bG))};US.\u0275prov=Hc({token:US,factory:US.\u0275fac,providedIn:"root"});var VS=function(){this.changed$=new W.Subject;this.selectedRowHashes=new Set;this.isSelectedObservableMap=new Map};VS.prototype.init=function(a){this.visibleRows=a};VS.prototype.isSelected=function(a){return this.selectedRowHashes.has(a.hash())};var eSa=function(a,b){var c=b.hash(),d,e=(d=a.isSelectedObservableMap.get(c))!=null?d:a.changed$.pipe(of(a.selectedRowHashes),y(function(f){return f.has(b.hash())}),df(),mf({refCount:!0,bufferSize:1}));a.isSelectedObservableMap.set(c,e);return e};
VS.prototype.select=function(a){this.selectedRowHashes.add(a.hash());this.changed$.next(this.selectedRowHashes)};VS.prototype.clear=function(){this.selectedRowHashes.clear();this.changed$.next(this.selectedRowHashes)};
var Bpc=function(a){for(var b=a.visibleRows.toArray().map(function(k){return k.row.ancestorChain}),c=!1,d=l(a.selectedRowHashes.values()),e=d.next();!e.done;e=d.next()){e=vp(e.value);for(var f=l(b),h=f.next();!h.done;h=f.next())h=h.value,Rmc(e,h)&&(a.selectedRowHashes.add(h.hash()),c=!0)}c&&a.changed$.next(a.selectedRowHashes)},Apc=function(a){var b=a.visibleRows.toArray().map(function(f){return f.row});b=new Map(b.filter(function(f){return f.type==="data"}).map(function(f){return[f.ancestorChain.hash(),
f]}));var c=new Set([].concat(r(a.selectedRowHashes.values())).map(function(f){return vp(f)}).map(function(f){return f.nodeId})),d=[];a=l(a.selectedRowHashes.values());for(var e=a.next();!e.done;e=a.next())(e=b.get(e.value))&&(e.ancestorChain.parentChain.some(function(f){return c.has(f)})||d.push(e.ancestorChain));return d};
ea.Object.defineProperties(VS.prototype,{selectedRows:{configurable:!0,enumerable:!0,get:function(){return[].concat(r(this.selectedRowHashes)).map(function(a){return vp(a)})}},selectedCount:{configurable:!0,enumerable:!0,get:function(){return this.selectedRowHashes.size}}});var Fpc=["actionsMenuIconButton"],WS=function(){this.buttonLabel="";this.buttonIcon="more-settings-vertical"};WS.prototype.trackByIndex=function(a){return a};WS.prototype.onAction=function(a,b){return fe(function(c){if(a.type==="mouseup"&&a instanceof MouseEvent&&a.button!==1)return c.return();b.type!=="action"&&b.type!=="select"||b.action(a);le(c)})};WS.prototype.ngOnInit=function(){};WS.\u0275fac=function(a){return new (a||WS)};
WS.\u0275cmp=p({type:WS,selectors:[["b-actions-menu"]],viewQuery:function(a,b){a&1&&fg(Fpc,5);if(a&2){var c;jg(c=kg())&&(b.actionsMenuIconButton=c.first)}},inputs:{menuItems:"menuItems",buttonLabel:"buttonLabel",buttonIcon:"buttonIcon",header:"header"},decls:6,vars:4,consts:[["menu","matMenu"],["actionsMenuIconButton",""],["submenu","matMenu"],["mat-icon-button","","class","gmat-button medium","aria-haspopup","true",3,"matTooltip","matMenuTriggerFor",4,"ngIf"],[1,"b-actions-menu-panel"],["class",
"bv2-menu-header",4,"ngIf"],[4,"ngFor","ngForOf","ngForTrackBy"],["mat-icon-button","","aria-haspopup","true",1,"gmat-button","medium",3,"matTooltip","matMenuTriggerFor"],[1,"icon-s",3,"svgIcon"],[1,"bv2-menu-header"],[4,"ngIf"],["mat-menu-item","",3,"matMenuTriggerFor"],["class","icon-s",3,"svgIcon",4,"ngIf"],["class","hint",4,"ngIf"],[1,"hint"],["mat-menu-item","",3,"disabled","ngClass","click","mouseup",4,"ngIf"],["mat-menu-item","","role","menuitemcheckbox",3,"b-menu-item-checked","disabled",
"ngClass","click","mouseup",4,"ngIf"],["mat-menu-item","",3,"click","mouseup","disabled","ngClass"],["mat-menu-item","","role","menuitemcheckbox",3,"click","mouseup","disabled","ngClass"],[1,"b-menu-item-check-mark"],["svgIcon","done",1,"icon-s"]],template:function(a,b){a&1&&(C(0,bRa,3,4,"button",3),F(1,"mat-menu",null,0)(3,"div",4),C(4,cRa,2,1,"div",5)(5,qRa,3,2,"ng-container",6),G()());a&2&&(D("ngIf",b.menuItems.length>0),z(4),D("ngIf",b.header),z(),D("ngForOf",b.menuItems)("ngForTrackBy",b.trackByIndex))},
dependencies:[QL,TL,RL,UL,Ev,Fv,Gv,zB,oE,LH,OH],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 Gpc={type:"action",label:"Report illegal content"},Hpc={type:"submenu",label:"View as"},Ipc={type:"action",label:"Restriction settings..."},Jpc={type:"action",label:"Show editing history"};var Kpc=function(){return["focus-indicator","load-more-children"]},Lpc=zo.listIssues.makeHref,Mpc={type:"data",id:"",issue$:W.NEVER,hasChildren$:W.NEVER,ancestorChain:new GQ([]),level:0,expandedCount:0},XS=function(a,b,c,d,e,f,h,k,q,t,w,B,E,I,J){Z.call(this);var N=this;this.issueRelationshipsFridge=a;this.router=b;this.butterBar=c;this.analytics=d;this.issueArchiveService=e;this.ngZone=f;this.elementRef=h;this.domSafe=q;this.reorderingSessionTracker=t;this.cdr=w;this.relationsTableModelFactory=B;
this.liveAnnouncer=E;this.clearcut=I;this.paths=J;this.defaultExpansionLevel=1;this.internalFilters=new HJ;this.isClosed=TCa;this.tableColumns=[].concat(r(umc));this.options={};this.trackBy=function(P,U){return U.ancestorChain.hash()+U.type};this.isLoadMoreRow=function(P,U){return U.type==="load-more-children"};this.isDataRow=function(P,U){return U.type==="data"};this.isDraftRow=function(P,U){return U.type==="draft-issue"};this.selectionModel=new VS;this.hasLogged=!1;this.correctedDisplayedRows=new eg;
this.TITLE_FIXED_OFFSET_PX=42;this.rowDirectiveMap=new Map;this.getRowIndex=function(P){var U;return((U=fo(N.rows$))!=null?U:[]).findIndex(function(ba){return up(ba,P)})};this.showError=function(P){return function(U){N.butterBar.showWarning(P+". "+(mn(U)?nn(U):U))}};this.subscriptions.add(FQ(k,function(){return N.tableModel.draftRows.isSaving()||N.issueRelationshipsFridge.isSaving()},!1))};X(XS,Z);XS.\u0275dir=Z.\u0275dir;
XS.prototype.ngOnInit=function(){var a=this;this.tableModel=this.relationsTableModelFactory.create(this.rootIssueId,this.internalFilters,this.defaultExpansionLevel,this.saveExpansionAtKey);this.rows$=(0,W.scheduled)([this.tableModel.rows$,(0,W.of)([Mpc])],W.asyncScheduler).pipe(qe(1),mf({refCount:!0,bufferSize:1}));var b=this.rows$.pipe(pf(function(c){return(0,W.combineLatest)(c.filter(function(d){return d.type==="data"}).map(function(d){return d.issue$}))}),bf(0,W.asapScheduler));this.subscriptions.add(b.subscribe(function(c){a.cdr.detectChanges();
Npc(a,c)}));this.rowReorderingModel=new TS(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"?ZRa(a,d):d.type==="data"&&(c=a.tableModel.expansion,d=d.ancestorChain,epc(c,d)||fpc(c,d,10))}));this.subscriptions.add(this.rowReorderingModel.onRowsMoved$.subscribe(function(c){var d;return fe(function(e){if(e.nextAddress==1)return J8b(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")),gpc(a.tableModel.expansion,c.parentAncestorChain,c.movedRows),he(e,(0,W.firstValueFrom)(a.correctedDisplayedRows.changes.pipe(y(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})}),te(Boolean),we(6E4))),2);d=e.yieldResult;d.focus();le(e)})}));this.subscriptions.add(this.rowReorderingModel.onRowsMoved$.subscribe(function(c){a.reorderingSessionTracker.onRowsMoved$.next(c)}))};
var Npc=function(a,b){if(!a.hasLogged&&b.length!==0){a.hasLogged=!0;var c=b.length,d=document.querySelectorAll("b-issue-relations-table b-expandable-issue-title-cell .collapsed").length+document.querySelectorAll('b-issue-relations-table [data-type="load-more-children"]').length===0;V7b(a.clearcut,"view-relations-"+(d?"all-loaded":"some-loaded"));a.analytics.trackEvent("editIssue","view-relations","visible-count",c);d&&(b=b.filter(function(e){var f;return(e==null?void 0:(f=e.snapshot[0])==null?void 0:
f.effort)!=null}).length/c,c=b>.5?"most-estimated":"most-unestimated",V7b(a.clearcut,"view-relations-"+c),a.analytics.trackEvent("editIssue","view-relations","ratio-estimated",b),a.analytics.trackEvent("editIssue","view-relations",c))}};
XS.prototype.ngAfterViewInit=function(){var a=this;this.selectionModel.init(this.displayedRows);(0,W.combineLatest)([this.rows$,this.displayedRows.changes]).pipe(qf(this.destroyed$)).subscribe(function(b){b=l(b).next().value;a.rowDirectiveMap=new Map(a.displayedRows.map(function(c){return[c.row.ancestorChain.hash(),c]}));b=b.map(function(c){return a.rowDirectiveMap.get(c.ancestorChain.hash())}).filter(Boolean);a.correctedDisplayedRows.reset(b);ig(a.correctedDisplayedRows)});this.focusManager=Iw(new onc(this.correctedDisplayedRows,
up))};XS.prototype.toggleExpansion=function(a){fpc(this.tableModel.expansion,a.ancestorChain,a.expandedCount?0:10)};XS.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=zo.viewIssue.makeHref(b.id),Dk(a)?this.domSafe.openInNewTab(b):a&&a.shiftKey?ko(this.domSafe,b):qr(this.router,b))};
var ZRa=function(a,b){var c;return fe(function(d){if(d.nextAddress==1)return c=a.getRowIndex(b),fpc(a.tableModel.expansion,b.ancestorChain.parentChain,500),he(d,qp(0),2);a.focusManager.setActiveItem(c);le(d)})},VRa=function(a,b){return[{type:"action",label:"Continue on the create issue page",action:function(c){return Opc(a,c,b)},title:"Continue on the create issue page",icon:"arrow-forward"}]};
XS.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:!fo(a.hasChildren$),action:function(){var c=Lpc({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 fe(function(c){if(c.nextAddress==1)return he(c,
qp(0),2);Ppc(b,a);le(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 fe(function(c){if(c.nextAddress==1)return he(c,qp(0),2);Qpc(b,a);le(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(){Epc(b.rowReorderingModel,b.rowDirectiveMap.get(a.ancestorChain.hash()))},title:"Indent",icon:"arrow-right",hintText:"shift+ctrl+right"},{type:"action",label:"Unindent",action:function(){Dpc(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(){Rpc(b,a)},title:"Archive issue",icon:"archive_24px"}]};
XS.prototype.saveDraft=function(a){var b=this,c,d;return fe(function(e){if(e.nextAddress==1){if(!a.title)return e.return();b.tableModel.saveDraft(a);b.focusManager.setActiveItem(b.getRowIndex(a));return he(e,(0,W.firstValueFrom)(b.displayedRows.changes.pipe(y(function(f){return f.find(function(h){return h.row.type==="data"&&h.row.id===a.issueId})}),te(Boolean),we(6E4))),2)}c=e.yieldResult;up((d=b.focusManager.activeItem)==null?void 0:d.row,a)&&b.focusManager.setActiveItem(c);le(e)})};
var wp=function(a,b){if(!b.saving){a.tableModel.draftRows.remove(b);var c;up((c=a.focusManager.activeItem)==null?void 0:c.row,b)&&a.focusManager.setPreviousItemActive()}},Ppc=function(a,b){tpc(a.tableModel,b==null?void 0:b.ancestorChain,{afterIssueId:"-1"})},Qpc=function(a,b){b.type==="data"?tpc(a.tableModel,b.ancestorChain.parentChain,{afterIssueId:b.id}):tpc(a.tableModel,b.ancestorChain.parentChain,{afterDraftId:b.id})};XS.prototype.addExistingChild=function(a){this.tableModel.addExistingChild(a)};
var Spc=function(a){return a.tableColumns.map(function(b){return b==="title"?"editable-title":b==="menu"?"save":b==="id"?"empty-id":b})};XS.prototype.handleDragStart=function(a){this.reorderingSessionTracker.dragStarted$.next({origin:"mouse"});this.rowReorderingModel.handleDragStart(a)};
XS.prototype.onRowKeydown=function(a,b){var c=this,d;return fe(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"&&(ZRa(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?he(e,c.tableModel.isOneLineCreationSupported(),4):e.return();case 4:d=e.yieldResult;if(!d)return e.return();
a.type==="data"&&(b.shiftKey?Ppc(c,a):Qpc(c,a));a.type==="draft-issue"&&a.saving&&Qpc(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);le(e)}})};
var Opc=function(a,b,c){var d,e,f,h,k,q,t,w;return fe(function(B){if(B.nextAddress==1)return b.defaultPrevented||b.type==="mouseup"&&b instanceof MouseEvent&&b.button!==1?B.return():he(B,(0,W.firstValueFrom)(c.issue$),2);d=B.yieldResult;t={};w=a.paths.createIssue((t.component=String((e=d)==null?void 0:e.snapshot[0].componentId),t.parentIssueId=c.ancestorChain.parentChain.nodeId,t.redirectUrl=zo.issueDependencies.makeHref(a.rootIssueId),t.afterIssueId=c.afterIssueId,t.title=c.title,t.priority=(k=(f=
d)==null?void 0:f.snapshot[0].priority)!=null?k:void 0,t.type=(q=(h=d)==null?void 0:h.snapshot[0].type)!=null?q:void 0,t));if(Dk(b))return wp(a,c),a.domSafe.openInNewTab(w),B.return();if(b&&b.shiftKey)return wp(a,c),ko(a.domSafe,w),B.return();qr(a.router,w);le(B)})},Rpc=function(a,b){var c,d;fe(function(e){if(e.nextAddress==1)return a.analytics.trackEvent("editIssue","update","archive-child-issue"),c=a.getRowIndex(b),a.issueArchiveService.archive(b.id),he(e,(0,W.firstValueFrom)(a.rows$.pipe(y(function(f){return!f.find(function(h){return h.type===
"data"&&h.id===b.id})}),te(Boolean),we(6E4))),2);up((d=a.focusManager.activeItem)==null?void 0:d.row,b)&&a.focusManager.setActiveItem(c);le(e)})};
XS.prototype.unlinkFromParent=function(a){var b=this,c,d;return fe(function(e){c=a.ancestorChain.nodeId;d=a.ancestorChain.parentNodeId;b.analytics.trackEvent("editIssue","update","unlink-child-issue");return he(e,b.issueRelationshipsFridge.unlinkFromParent(c,d).then(function(){Ap(b.butterBar,"Unlinked successfully.")}).catch(b.showError("Failed to unlink child "+c+" from parent "+d)),0)})};XS.prototype.isOpen=function(a){return An(a)};
XS.prototype.getAssigneeString=function(a){var b,c;return eHa(sm(a==null?void 0:(b=a.snapshot)==null?void 0:(c=b[0])==null?void 0:c.assigneeUser)||void 0)};ea.Object.defineProperties(XS.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$}}});
XS.\u0275fac=function(a){return new (a||XS)(A(CG),A(pB),A(sE),A(bG),A(DQ),A(ze),A(Rd),A(EQ),A(FH),A(US),A(YF),A(SS),A(vw),A(QF),A(pN))};
XS.\u0275cmp=p({type:XS,selectors:[["b-issue-relations-table"]],viewQuery:function(a,b){a&1&&fg(TQ,5);if(a&2){var c;jg(c=kg())&&(b.displayedRows=c)}},inputs:{rootIssueId:"rootIssueId",defaultExpansionLevel:"defaultExpansionLevel",saveExpansionAtKey:"saveExpansionAtKey",filters:"filters",tableColumns:"tableColumns",options:"options"},features:[qg([YF]),zf],decls:46,vars:10,consts:[["focusIndicator",""],["dragHandle",""],["saving",""],["mat-table","","multiTemplateDataRows","",1,"full-width",3,"dataSource",
"trackBy"],["matColumnDef","focus-indicator"],["mat-header-cell","",4,"matHeaderCellDef"],["tabindex","-1","mat-cell","",3,"click",4,"matCellDef"],["matColumnDef","drag-handle"],["mat-cell","","draggable","true","tabindex","-1",3,"click","dragstart",4,"matCellDef"],["matColumnDef","id"],["mat-cell","",4,"matCellDef"],["matColumnDef","empty-id"],["matColumnDef","title"],["matColumnDef","type"],["matColumnDef","assignee"],["matColumnDef","status"],["matColumnDef","team"],["matColumnDef","menu"],["matColumnDef",
"save"],["mat-cell","","class","text-center",4,"matCellDef"],["matColumnDef","load-more-children"],["mat-cell","",3,"padding-left",4,"matCellDef"],["matColumnDef","editable-title"],[4,"ngIf"],["mat-row","","selectionPreventsClick","","class","clickable",3,"row","selected","closed","click","mouseup","focusin","keydown",4,"matRowDef","matRowDefColumns","matRowDefWhen"],["mat-row","",3,"row","focusin","keydown",4,"matRowDef","matRowDefColumns","matRowDefWhen"],["mat-row","","class","draft","cdkTrapFocus",
"",3,"row","keydown","keydown.escape","keydown.backspace","focusin",4,"matRowDef","matRowDefColumns","matRowDefWhen"],[1,"drag-preview"],[1,"placeholder"],[1,"insertion-bar"],["mat-header-cell",""],["tabindex","-1","mat-cell","",3,"click"],["mat-cell","","draggable","true","tabindex","-1",3,"click","dragstart"],["svgIcon","drag-indicator",1,"icon-s"],["mat-cell",""],[3,"id"],[3,"expansionChange","issue","expandable","expanded","level"],[3,"issue"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],
[3,"issue",4,"ngSwitchDefault"],["size","medium",3,"email",4,"ngIf"],["size","medium",3,"email"],[3,"issue","showPendingFix"],["buttonLabel","More options",3,"click","menuItems"],["mat-cell","",1,"text-center"],["buttonLabel","More options",3,"menuItems","click",4,"ngIf","ngIfElse"],[3,"isReady"],["format","flat",3,"onAction"],[1,"title-location"],[1,"flex-kids-x","align-items-center","gap-s"],["placeholder","Start typing the title...",1,"grow-1",3,"valueChange","commit","value","readonly"],["color",
"primary","format","fill","size","small","title","Create issue","matTooltip","(Shortcut: Enter)",3,"onAction","disabled"],["format","flat","size","small","title","Cancel","matTooltip","(Shortcut: Esc)",3,"onAction","disabled"],["mat-header-row","",4,"matHeaderRowDef"],["mat-header-row",""],["mat-row","","selectionPreventsClick","",1,"clickable",3,"click","mouseup","focusin","keydown","row"],["mat-row","",3,"focusin","keydown","row"],["mat-row","","cdkTrapFocus","",1,"draft",3,"keydown","keydown.escape",
"keydown.backspace","focusin","row"]],template:function(a,b){a&1&&(F(0,"table",3),K(1,4),C(2,tRa,1,0,"th",5)(3,uRa,2,0,"td",6),L(),K(4,7),C(5,vRa,1,0,"th",5)(6,wRa,3,0,"td",8),L(),K(7,9),C(8,xRa,2,0,"th",5)(9,yRa,2,1,"td",10),L(),K(10,11),C(11,zRa,2,0,"th",5)(12,ARa,2,0,"td",10),L(),K(13,12),C(14,BRa,2,0,"th",5)(15,CRa,4,8,"td",10),L(),K(16,13),C(17,DRa,2,0,"th",5)(18,ERa,3,3,"td",10),L(),K(19,14),C(20,HRa,4,2,"th",5)(21,NRa,4,2,"td",10),L(),K(22,15),C(23,ORa,2,0,"th",5)(24,PRa,3,4,"td",10),L(),K(25,
16),C(26,QRa,2,0,"th",5)(27,RRa,3,3,"td",10),L(),K(28,17),C(29,SRa,1,0,"th",5)(30,TRa,2,1,"td",10),L(),K(31,18),C(32,URa,1,0,"th",5)(33,YRa,4,2,"td",19),L(),K(34,20),C(35,$Ra,6,7,"td",21),L(),K(36,22),C(37,aSa,2,0,"th",5)(38,bSa,7,6,"td",21),L(),C(39,dSa,2,1,"ng-container",23)(40,fSa,3,12,"tr",24)(41,gSa,1,4,"tr",25)(42,hSa,1,2,"tr",26),G(),H(43,"div",27)(44,"div",28)(45,"div",29));a&2&&(D("dataSource",b.rows$)("trackBy",b.trackBy),z(39),D("ngIf",!b.options.hideColumnHeaders),z(),D("matRowDefColumns",
b.tableColumns)("matRowDefWhen",b.isDataRow),z(),D("matRowDefColumns",tg(9,Kpc))("matRowDefWhen",b.isLoadMoreRow),z(),D("matRowDefColumns",Spc(b))("matRowDefWhen",b.isDraftRow))},dependencies:[mw,Gv,Hv,Iv,Jv,zB,lR,jS,WR,cS,ZR,VR,eS,$R,bS,fS,hS,LH,OH,WS,oQ,jQ,qQ,rQ,wQ,xQ,AQ,BQ,CQ,gM,RQ,TQ,fN,Lv],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-focus-indicator[_ngcontent-%COMP%]{cursor:pointer;display:table-cell;padding:0 1.5px;width:0}tr.mat-mdc-row[_ngcontent-%COMP%]:focus-within   .mat-column-focus-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 YS=function(){};YS.\u0275fac=function(a){return new (a||YS)};YS.\u0275mod=dd({type:YS});YS.\u0275inj=Ic({imports:[dJ,aM,BB]});var kSa=function(a){this.internalArray_=m(a)};X(kSa,Y);g=kSa.prototype;g.getFilename=function(){return Kh(this,1)};g.setFilename=function(a){rj(this,1,a)};g.getLineNumber=function(a){return eu(this,2,a)};g.getChangeNumber_asLegacyNumberOrString=function(){return ej(this,3)};g.setChangeNumber=function(a){return yl(this,3,a)};kSa.repeatedFields_=[2];var mSa=function(a){this.internalArray_=m(a)};X(mSa,Y);mSa.repeatedFields_=[2];var Tpc=function(a){this.internalArray_=m(a,0,Tpc.messageId)};X(Tpc,Y);Tpc.repeatedFields_=[3];Tpc.messageId="b.MentionSearchResult";var ZS=function(a){this.executor=a};ZS.\u0275fac=function(a){return new (a||ZS)(n(JB))};ZS.\u0275prov=Hc({token:ZS,factory:ZS.\u0275fac,providedIn:"root"});var $S=function(a,b,c){this.mentionsApi=a;this.refreshMonitor=b;this.analytics=c},Upc=function(a,b){var c="https://todo.corp.google.com/?issue="+b;a.cachedId===b&&a.cachedEntry||(a.cachedId=b,a.cachedEntry=m8b(a.refreshMonitor,(0,W.defer)(function(){return a.mentionsApi.executor.get({url:"action/issues/"+b+"/mentions",responseConstructor:Tpc}).then(nSa).then(function(d){return{mentions:d,link:c}}).catch(function(){return{link:c}})}).pipe(of({link:c}))).pipe(mf({refCount:!0,bufferSize:1})));return a.cachedEntry};
$S.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"};$S.prototype.trackSqueegeeClick=function(){this.analytics.trackEvent("codeMentions","clickSqueegeeLink")};$S.\u0275fac=function(a){return new (a||$S)(n(ZS),n(iG),n(bG))};$S.\u0275prov=Hc({token:$S,factory:$S.\u0275fac,providedIn:"root"});var bT=function(a,b,c,d,e,f,h){var k=this;this.paramsService=a;this.issueRelationshipsFridge=b;this.issueFridge=c;this.codeMentions=d;this.issueApi=e;this.eventsForIssue=f;this.activeSession=h;this.id$=this.paramsService.issueId$.pipe(cf(1E3));this.issue$=this.id$.pipe(pf(this.issueFridge.watch));this.issueEvents$=this.id$.pipe(pf(this.eventsForIssue.watch),y(function(q){var t;return(t=q==null?void 0:q.events)!=null?t:[]}));this.blockerIssueIds$=this.issue$.pipe(y(function(q){var t;return(t=q==null?
void 0:q.snapshot[0].blockedByIssueId)!=null?t:[]}),df(pi));this.blockedIssueIds$=this.issue$.pipe(y(function(q){var t;return(t=q==null?void 0:q.snapshot[0].blockingIssueId)!=null?t:[]}),df(pi));this.parentIds$=this.issue$.pipe(y(function(q){var t;return(t=q==null?void 0:q.parentIssueIds)!=null?t:[]}),df(pi));this.childrenIds$=this.id$.pipe(pf(this.issueRelationshipsFridge.watch),y(function(q){var t;return(t=q==null?void 0:q.relatedChildren.map(function(w){return w.targetIssueId}))!=null?t:[]}));
this.duplicateIssueIds$=this.issue$.pipe(y(function(q){var t;return(t=q==null?void 0:q.snapshot[0].duplicateIssueId)!=null?t:[]}),df(pi));this.blockersDualCount$=(0,W.combineLatest)([this.id$,this.blockerIssueIds$]).pipe(pf(function(q){var t=l(q);q=t.next().value;t=t.next().value;return aT(k,q,t,["BLOCKED_BY"])}),mf({bufferSize:1,refCount:!0}));this.countBlockersDisplay$=this.blockersDualCount$.pipe(y(xp),mf({bufferSize:1,refCount:!0}));this.blockedDualCount$=(0,W.combineLatest)([this.id$,this.blockedIssueIds$]).pipe(pf(function(q){var t=
l(q);q=t.next().value;t=t.next().value;return aT(k,q,t,["BLOCKING"])}),mf({bufferSize:1,refCount:!0}));this.countBlockedDisplay$=this.blockedDualCount$.pipe(y(xp),mf({bufferSize:1,refCount:!0}));this.childrenDualCount$=(0,W.combineLatest)([this.id$,this.childrenIds$]).pipe(pf(function(q){var t=l(q);q=t.next().value;t=t.next().value;return aT(k,q,t,["CHILDREN"])}),mf({bufferSize:1,refCount:!0}));this.countChildrenDisplay$=this.childrenDualCount$.pipe(y(xp),mf({bufferSize:1,refCount:!0}));this.parentsDualCount$=
(0,W.combineLatest)([this.id$,this.parentIds$]).pipe(pf(function(q){var t=l(q);q=t.next().value;t=t.next().value;return aT(k,q,t,["PARENT"])}),mf({bufferSize:1,refCount:!0}));this.countParentsDisplay$=this.parentsDualCount$.pipe(y(xp),mf({bufferSize:1,refCount:!0}));this.dependenciesDualCount$=(0,W.combineLatest)([this.id$,this.blockerIssueIds$,this.childrenIds$]).pipe(pf(function(q){var t=l(q);q=t.next().value;var w=t.next().value;t=t.next().value;return aT(k,q,[].concat(r(t),r(w)),["CHILDREN","BLOCKED_BY"])}));
this.countDependenciesDisplay$=this.dependenciesDualCount$.pipe(y(xp),mf({bufferSize:1,refCount:!0}));this.duplicatesDualCount$=(0,W.combineLatest)([this.id$,this.duplicateIssueIds$]).pipe(pf(function(q){var t=l(q);q=t.next().value;t=t.next().value;return aT(k,q,t,["DUPLICATE"])}),mf({bufferSize:1,refCount:!0}));this.countDuplicateDisplay$=this.duplicatesDualCount$.pipe(y(function(q){return q.total}),y(pSa),mf({bufferSize:1,refCount:!0}));this.countResourcesDisplay$=this.issue$.pipe(y(function(q){var t;
return(t=q==null?void 0:q.relatedLinks)!=null?t:[]}),y(function(q){return k.activeSession.isInternalSession()?q:q.filter(function(t){return!pIa(t)})}),y(function(q){return yp(q.length)}),y(pSa),mf({bufferSize:1,refCount:!0}));this.countTodosDisplay$=this.id$.pipe(te(lj),pf(function(q){return Upc(k.codeMentions,q)}),y(function(q){var t,w;return yp((w=(t=q.mentions)==null?void 0:t.totalMentions)!=null?w:0)}),y(pSa),mf({bufferSize:1,refCount:!0}));this.countCommentsDisplay$=this.issueEvents$.pipe(y(function(q){return yp(q.filter(xn).length)}),
y(pSa),mf({bufferSize:1,refCount:!0}))},aT=function(a,b,c,d){d=d===void 0?[]:d;c=Sm(c);if(!b||c.length===0)return(0,W.of)({open:{count:0,exact:!0},total:{count:0,exact:!0}});d=d.map(function(e){return qSa(b,e)}).filter(lj).map(function(e){return"("+e+")"}).join(" OR ");return c.length>99&&d?a.issueApi.listIssues(d,{p:1,count:100}).then(function(e){e=e.issues.filter(An).filter(Bn).length;return{open:yp(e),total:yp(c.length)}}):(0,W.combineLatest)(c.map(function(e){return a.issueFridge.watch(e)})).pipe(y(function(e){return{open:yp(e.filter(lj).filter(An).filter(Bn).length),
total:yp(e.filter(function(f){return!f||Bn(f)}).length)}}))};bT.\u0275fac=function(a){return new (a||bT)(n(vH),n(CG),n(jG),n($S),n(PD),n(rF),n(Ir))};bT.\u0275prov=Hc({token:bT,factory:bT.\u0275fac,providedIn:"root"});var Vpc=ph("indicator",[sh("active-asc, asc",rh({transform:"translateY(0px)"})),sh("active-desc, desc",rh({transform:"translateY(10px)"})),uh("active-asc <=> active-desc",qh("225ms cubic-bezier(0.4,0.0,0.2,1)"))]),Wpc=ph("leftPointer",[sh("active-asc, asc",rh({transform:"rotate(-45deg)"})),sh("active-desc, desc",rh({transform:"rotate(45deg)"})),uh("active-asc <=> active-desc",qh("225ms cubic-bezier(0.4,0.0,0.2,1)"))]),Xpc=ph("rightPointer",[sh("active-asc, asc",rh({transform:"rotate(45deg)"})),sh("active-desc, desc",
rh({transform:"rotate(-45deg)"})),uh("active-asc <=> active-desc",qh("225ms cubic-bezier(0.4,0.0,0.2,1)"))]),Ypc=ph("arrowOpacity",[sh("desc-to-active, asc-to-active, active",rh({opacity:1})),sh("desc-to-hint, asc-to-hint, hint",rh({opacity:.54})),sh("hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",rh({opacity:0})),uh("* => asc, * => desc, * => active, * => hint, * => void",qh("0ms")),uh("* <=> *",qh("225ms cubic-bezier(0.4,0.0,0.2,1)"))]),Zpc=ph("arrowPosition",[uh("* => desc-to-hint, * => desc-to-active",
qh("225ms cubic-bezier(0.4,0.0,0.2,1)",th([rh({transform:"translateY(-25%)"}),rh({transform:"translateY(0)"})]))),uh("* => hint-to-desc, * => active-to-desc",qh("225ms cubic-bezier(0.4,0.0,0.2,1)",th([rh({transform:"translateY(0)"}),rh({transform:"translateY(25%)"})]))),uh("* => asc-to-hint, * => asc-to-active",qh("225ms cubic-bezier(0.4,0.0,0.2,1)",th([rh({transform:"translateY(25%)"}),rh({transform:"translateY(0)"})]))),uh("* => hint-to-asc, * => active-to-asc",qh("225ms cubic-bezier(0.4,0.0,0.2,1)",
th([rh({transform:"translateY(0)"}),rh({transform:"translateY(-25%)"})]))),sh("desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",rh({transform:"translateY(0)"})),sh("hint-to-desc, active-to-desc, desc",rh({transform:"translateY(-25%)"})),sh("hint-to-asc, active-to-asc, asc",rh({transform:"translateY(25%)"}))]),$pc=ph("allowChildren",[uh("* <=> *",[Spa()])]);var cT=function(){this.changes=new W.Subject};cT.\u0275fac=function(a){return new (a||cT)};cT.\u0275prov=Hc({token:cT,factory:cT.\u0275fac,providedIn:"root"});var aqc={provide:cT,deps:[[new ru,new su,cT]],useFactory:function(a){return a||new cT}};var bqc=new md("MAT_SORT_DEFAULT_OPTIONS"),dT=function(a){this._defaultOptions=a;this._initializedStream=new W.ReplaySubject(1);this.sortables=new Map;this._stateChanges=new W.Subject;this.start="asc";this._direction="";this.disabled=!1;this.sortChange=new Xu;this.initialized=this._initializedStream};g=dT.prototype;g.register=function(a){this.sortables.set(a.id,a)};g.deregister=function(a){this.sortables.delete(a.id)};
g.sort=function(a){if(this.active!=a.id)this.active=a.id,this.direction=a.start?a.start:this.start;else{if(a){var b,c,d,e=(d=(c=a==null?void 0:a.disableClear)!=null?c:this.disableClear)!=null?d:!((b=this._defaultOptions)==null||!b.disableClear);b=["asc","desc"];(a.start||this.start)=="desc"&&b.reverse();e||b.push("");a=b.indexOf(this.direction)+1;a>=b.length&&(a=0);a=b[a]}else a="";this.direction=a}this.sortChange.emit({active:this.active,direction:this.direction})};g.ngOnInit=function(){this._initializedStream.next()};
g.ngOnChanges=function(){this._stateChanges.next()};g.ngOnDestroy=function(){this._stateChanges.complete();this._initializedStream.complete()};ea.Object.defineProperties(dT.prototype,{direction:{configurable:!0,enumerable:!0,get:function(){return this._direction},set:function(a){this._direction=a}}});dT.\u0275fac=function(a){return new (a||dT)(A(bqc,8))};
dT.\u0275dir=fd({type:dT,selectors:[["","matSort",""]],hostAttrs:[1,"mat-sort"],inputs:{active:[0,"matSortActive","active"],start:[0,"matSortStart","start"],direction:[0,"matSortDirection","direction"],disableClear:[2,"matSortDisableClear","disableClear",Gg],disabled:[2,"matSortDisabled","disabled",Gg]},outputs:{sortChange:"matSortChange"},exportAs:["matSort"],standalone:!0,features:[Af,td]});var eT=function(a,b,c,d,e,f,h,k){this._intl=a;this._changeDetectorRef=b;this._sort=c;this._columnDef=d;this._focusMonitor=e;this._elementRef=f;this._ariaDescriber=h;this._showIndicatorHint=!1;this._viewState={};this._arrowDirection="";this._disableViewStateAnimation=!1;this.arrowPosition="after";this.disabled=!1;this._sortActionDescription="Sort";if(k==null?0:k.arrowPosition)this.arrowPosition=k==null?void 0:k.arrowPosition;this._handleStateChanges()};g=eT.prototype;
g.ngOnInit=function(){!this.id&&this._columnDef&&(this.id=this._columnDef.name);this._updateArrowDirection();this._setAnimationTransitionState({toState:this._isSorted()?"active":this._arrowDirection});this._sort.register(this);this._sortButton=this._elementRef.nativeElement.querySelector(".mat-sort-header-container");this._updateSortActionDescription(this._sortActionDescription)};
g.ngAfterViewInit=function(){var a=this;this._focusMonitor.monitor(this._elementRef,!0).subscribe(function(b){b=!!b;b!==a._showIndicatorHint&&(a._setIndicatorHintVisible(b),a._changeDetectorRef.markForCheck())})};g.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef);this._sort.deregister(this);this._rerenderSubscription.unsubscribe();if(this._sortButton){var a;(a=this._ariaDescriber)==null||zw(a,this._sortButton,this._sortActionDescription)}};
g._setIndicatorHintVisible=function(a){this._isDisabled()&&a||(this._showIndicatorHint=a,this._isSorted()||(this._updateArrowDirection(),this._showIndicatorHint?this._setAnimationTransitionState({fromState:this._arrowDirection,toState:"hint"}):this._setAnimationTransitionState({fromState:"hint",toState:this._arrowDirection})))};g._setAnimationTransitionState=function(a){this._viewState=a||{};this._disableViewStateAnimation&&(this._viewState={toState:a.toState})};
g._toggleOnInteraction=function(){this._sort.sort(this);if(this._viewState.toState==="hint"||this._viewState.toState==="active")this._disableViewStateAnimation=!0};g._handleClick=function(){this._isDisabled()||this._sort.sort(this)};g._handleKeydown=function(a){this._isDisabled()||a.keyCode!==32&&a.keyCode!==13||(a.preventDefault(),this._toggleOnInteraction())};g._isSorted=function(){return this._sort.active==this.id&&(this._sort.direction==="asc"||this._sort.direction==="desc")};
g._getArrowDirectionState=function(){return(this._isSorted()?"active-":"")+this._arrowDirection};g._getArrowViewState=function(){var a=this._viewState.fromState;return(a?a+"-to-":"")+this._viewState.toState};g._updateArrowDirection=function(){this._arrowDirection=this._isSorted()?this._sort.direction:this.start||this._sort.start};g._isDisabled=function(){return this._sort.disabled||this.disabled};
g._getAriaSortAttribute=function(){return this._isSorted()?this._sort.direction=="asc"?"ascending":"descending":"none"};g._renderArrow=function(){return!this._isDisabled()||this._isSorted()};g._updateSortActionDescription=function(a){if(this._sortButton){var b;(b=this._ariaDescriber)==null||zw(b,this._sortButton,this._sortActionDescription);var c;(c=this._ariaDescriber)==null||yw(c,this._sortButton,a)}this._sortActionDescription=a};
g._handleStateChanges=function(){var a=this;this._rerenderSubscription=(0,W.merge)(this._sort.sortChange,this._sort._stateChanges,this._intl.changes).subscribe(function(){if(a._isSorted()){a._updateArrowDirection();if(a._viewState.toState==="hint"||a._viewState.toState==="active")a._disableViewStateAnimation=!0;a._setAnimationTransitionState({fromState:a._arrowDirection,toState:"active"});a._showIndicatorHint=!1}!a._isSorted()&&a._viewState&&a._viewState.toState==="active"&&(a._disableViewStateAnimation=
!1,a._setAnimationTransitionState({fromState:"active",toState:a._arrowDirection}));a._changeDetectorRef.markForCheck()})};ea.Object.defineProperties(eT.prototype,{sortActionDescription:{configurable:!0,enumerable:!0,get:function(){return this._sortActionDescription},set:function(a){this._updateSortActionDescription(a)}}});eT.\u0275fac=function(a){return new (a||eT)(A(cT),A(Ig),A(dT,8),A("MAT_SORT_HEADER_COLUMN_DEF",8),A(ew),A(Rd),A(xw,8),A(bqc,8))};
eT.\u0275cmp=p({type:eT,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(a,b){a&1&&M("click",function(){return b._handleClick()})("keydown",function(c){return b._handleKeydown(c)})("mouseenter",function(){return b._setIndicatorHintVisible(!0)})("mouseleave",function(){return b._setIndicatorHintVisible(!1)});a&2&&(Bf("aria-sort",b._getAriaSortAttribute()),Kf("mat-sort-header-disabled",b._isDisabled()))},inputs:{id:[0,"mat-sort-header","id"],arrowPosition:"arrowPosition",
start:"start",disabled:[2,"disabled","disabled",Gg],sortActionDescription:"sortActionDescription",disableClear:[2,"disableClear","disableClear",Gg]},exportAs:["matSortHeader"],standalone:!0,features:[Af,sg],attrs:["mat-sort-header",""],ngContentSelectors:["*"],decls:4,vars:7,consts:[[1,"mat-sort-header-container","mat-focus-indicator"],[1,"mat-sort-header-content"],[1,"mat-sort-header-arrow"],[1,"mat-sort-header-stem"],[1,"mat-sort-header-indicator"],[1,"mat-sort-header-pointer-left"],[1,"mat-sort-header-pointer-right"],
[1,"mat-sort-header-pointer-middle"]],template:function(a,b){a&1&&(Xf(),F(0,"div",0)(1,"div",1),Yf(2),G(),C(3,rSa,6,6,"div",2),G());a&2&&(Kf("mat-sort-header-sorted",b._isSorted())("mat-sort-header-position-before",b.arrowPosition==="before"),Bf("tabindex",b._isDisabled()?null:0)("role",b._isDisabled()?null:"button"),z(3),Of(b._renderArrow()?3:-1))},styles:[".mat-sort-header-container{display:flex;cursor:pointer;align-items:center;letter-spacing:normal;outline:0}[mat-sort-header].cdk-keyboard-focused .mat-sort-header-container,[mat-sort-header].cdk-program-focused .mat-sort-header-container{border-bottom:solid 1px currentColor}.mat-sort-header-disabled .mat-sort-header-container{cursor:default}.mat-sort-header-container::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-sort-header-content{text-align:center;display:flex;align-items:center}.mat-sort-header-position-before{flex-direction:row-reverse}.mat-sort-header-arrow{height:12px;width:12px;min-width:12px;position:relative;display:flex;color:var(--mat-sort-arrow-color);opacity:0}.mat-sort-header-arrow,[dir=rtl] .mat-sort-header-position-before .mat-sort-header-arrow{margin:0 0 0 6px}.mat-sort-header-position-before .mat-sort-header-arrow,[dir=rtl] .mat-sort-header-arrow{margin:0 6px 0 0}.mat-sort-header-stem{background:currentColor;height:10px;width:2px;margin:auto;display:flex;align-items:center}.cdk-high-contrast-active .mat-sort-header-stem{width:0;border-left:solid 2px}.mat-sort-header-indicator{width:100%;height:2px;display:flex;align-items:center;position:absolute;top:0;left:0}.mat-sort-header-pointer-middle{margin:auto;height:2px;width:2px;background:currentColor;transform:rotate(45deg)}.cdk-high-contrast-active .mat-sort-header-pointer-middle{width:0;height:0;border-top:solid 2px;border-left:solid 2px}.mat-sort-header-pointer-left,.mat-sort-header-pointer-right{background:currentColor;width:6px;height:2px;position:absolute;top:0}.cdk-high-contrast-active .mat-sort-header-pointer-left,.cdk-high-contrast-active .mat-sort-header-pointer-right{width:0;height:0;border-left:solid 6px;border-top:solid 2px}.mat-sort-header-pointer-left{transform-origin:right;left:0}.mat-sort-header-pointer-right{transform-origin:left;right:0}\n"],
encapsulation:2,data:{animation:[Vpc,Wpc,Xpc,Ypc,Zpc,$pc]},changeDetection:0});var fT=function(a,b,c){Z.call(this);var d=this;this.issueFridge=a;this.router=b;this.domSafe=c;this.isOpen=function(e){return An(e)};this.getAssigneeString=function(e){var f,h;e=sm(e==null?void 0:(f=e.snapshot)==null?void 0:(h=f[0])==null?void 0:h.assigneeUser);return Km(e)?e:void 0};this.getPriority=yTa;this.getModifiedTimeMicros=zTa;this.issueIds$=new W.BehaviorSubject([]);this.menuItemFactory=function(){return[]};this.optionsInternal={menu:{includeGoToIssueItem:!0}};this.rowLimit$=new W.BehaviorSubject(this.options.rowLimit);
this.DEFAULT_DATETIME_MODE="datetime";this.DEFAULT_MENU_OPTIONS={buttonIcon:"more-settings-vertical",buttonLabel:"More options"};this.isClosed=TCa;this.internalFilters=new HJ;this.goToIssueItemFactory=function(e){return{type:"action",label:"Go to issue",action:function(f){d.navigateToIssue(f,e)},title:"Go to issue",icon:"arrow-forward"}};this.tableColumns=[].concat(r(tmc));this.activeSort$=new W.BehaviorSubject(void 0);this.allRows$=this.issueIds$.pipe(go(),y(function(e){return e.map(function(f){return{id:f,
issue$:(0,W.merge)(d.issueFridge.watch(f),d.issueFridge.watchOneError(f).pipe(y(function(){})))}})}),mf({refCount:!0,bufferSize:1}));this.allIssuesAreLoaded$=this.allRows$.pipe(pf(function(e){return(0,W.combineLatest)(e.map(function(f){return f.issue$.pipe(of(null))}))}),y(function(e){return e.every(function(f){return f!==null})}));this.unarchivedRows$=this.allRows$.pipe(af(this.allIssuesAreLoaded$),y(function(e){var f=l(e);e=f.next().value;return f.next().value?e.filter(function(h){var k;return!((k=
Cn(h))==null?0:k.isArchived)}):e}));this.unarchivedRows$.pipe(y(function(e){return e.length}));this.sortRows=(0,W.pipe)(af(this.activeSort$,this.allIssuesAreLoaded$),y(function(e){var f=l(e);e=f.next().value;var h=f.next().value;return f.next().value?ATa(e,h):e}));this.filterRows=(0,W.pipe)(af(this.internalFilters.value$),pf(function(e){e=l(e);var f=e.next().value;var h=e.next().value;return h.size===0?(0,W.of)(f):(0,W.combineLatest)(f.map(function(k){return k.issue$})).pipe(y(function(k){return f.filter(function(q,
t){return k[t]?kOa(h,t,k):!0})}))}));this.limitRows=(0,W.pipe)(af(this.rowLimit$),y(function(e){var f=l(e);e=f.next().value;return(f=f.next().value)?e.slice(0,f):e}));this.filteredRows$=this.unarchivedRows$.pipe(this.filterRows);this.trendingChipsById$=eo(this.unarchivedRows$.pipe(af(this.allIssuesAreLoaded$.pipe(df())),y(function(e){var f=l(e);e=f.next().value;if(f.next().value){f=e.map(Cn).map(function(w){return w==null?void 0:w.userActivityStats});var h=f.map(function(w){var B;return(B=w==null?
void 0:w.oneDayViewCount)!=null?B:0}),k=f.map(function(w){var B;return(B=w==null?void 0:w.sevenDayViewCount)!=null?B:0}),q=f.map(function(w){var B;return(B=w==null?void 0:w.thirtyDayViewCount)!=null?B:0}),t={};e.forEach(function(w,B){w=w.id;w!=null&&(B=wn(h[B],h)?{title:"Trending 24h",tooltip:h[B]+" Views in 24 hours",cssClass:"cyan"}:wn(k[B],k)?{title:"Trending 7d",tooltip:k[B]+" Views in 7 days",cssClass:"purple"}:wn(q[B],q)?{title:"Trending 30d",tooltip:q[B]+" Views in the last 30 days",cssClass:"blue"}:
void 0,B&&(t[w]=B))});return t}})));this.rows$=this.filteredRows$.pipe(this.limitRows,this.sortRows);this.rowCountAfterFilters$=this.unarchivedRows$.pipe(this.filterRows,y(function(e){return e.length}));this.hiddenRowCount$=(0,W.combineLatest)([this.unarchivedRows$,this.rows$]).pipe(y(function(e){var f=l(e);e=f.next().value;f=f.next().value;return e.length-f.length}),df());this.trackBy=function(e,f){return f.id};this.correctedDisplayedRows=new eg};X(fT,Z);fT.\u0275dir=Z.\u0275dir;g=fT.prototype;
g.getMenuItems=function(a){var b=[],c;((c=this.options.menu)==null?0:c.includeGoToIssueItem)&&b.push(this.goToIssueItemFactory(a));b.push.apply(b,r(this.menuItemFactory(a)));return b};g.ngOnInit=function(){this.initialSort&&this.initialSort.direction&&this.activeSort$.next(this.initialSort)};
g.ngAfterViewInit=function(){var a=this;(0,W.combineLatest)([this.rows$,this.displayedRows.changes.pipe(of(void 0))]).pipe(qf(this.destroyed$)).subscribe(function(b){b=l(b).next().value;var c=new Map(a.displayedRows.map(function(d){return[d.row.id,d]}));b=b.map(function(d){return c.get(d.id)}).filter(Boolean);a.correctedDisplayedRows.reset(b);ig(a.correctedDisplayedRows)});this.focusManager=Iw(new onc(this.correctedDisplayedRows,xTa))};
g.navigateToIssue=function(a,b){!b||a.defaultPrevented||a.type==="mouseup"&&a instanceof MouseEvent&&a.button!==1||a.target.tagName==="A"||(b=this.getIssueUrl(b),this.options.alwaysOpenNewTab||Dk(a)?this.domSafe.openInNewTab(b):a&&a.shiftKey?ko(this.domSafe,b):qr(this.router,b))};g.onRowKeydown=function(a,b){this.focusManager.onKeydown(b)};g.getIssueUrl=function(a){return this.issueUrlFactory?this.issueUrlFactory(a):zo.viewIssue.makeHref(a)};
ea.Object.defineProperties(fT.prototype,{issueIds:{configurable:!0,enumerable:!0,set:function(a){this.issueIds$.next(a!=null?a:[])}},options:{configurable:!0,enumerable:!0,set:function(a){this.optionsInternal=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:[])}}});fT.\u0275fac=function(a){return new (a||fT)(A(jG),A(pB),A(FH))};
fT.\u0275cmp=p({type:fT,selectors:[["b-issues-table"]],viewQuery:function(a,b){a&1&&fg(TQ,5);if(a&2){var c;jg(c=kg())&&(b.displayedRows=c)}},inputs:{issueIds:"issueIds",menuItemFactory:"menuItemFactory",initialSort:"initialSort",options:"options",issueUrlFactory:"issueUrlFactory",filters:"filters",tableColumns:"tableColumns"},features:[zf],decls:57,vars:13,consts:[["noData",""],["noLimit",""],["mat-table","","matSort","",1,"full-width",3,"matSortChange","dataSource","trackBy","matSortActive","matSortDirection"],
["matColumnDef","focus-indicator"],["mat-header-cell","",4,"matHeaderCellDef"],["tabindex","-1","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-cell","",4,"matCellDef"],["matColumnDef","title"],["matColumnDef","type"],["mat-header-cell","","mat-sort-header","type",4,"matHeaderCellDef"],["matColumnDef","assignee"],["mat-header-cell","","mat-sort-header","assignee",4,"matHeaderCellDef"],["matColumnDef","reporter"],["mat-header-cell","","mat-sort-header","reporter",4,"matHeaderCellDef"],["matColumnDef",
"priority"],["mat-header-cell","","mat-sort-header","priority","title","Priority",4,"matHeaderCellDef"],["matColumnDef","status"],["mat-header-cell","","mat-sort-header","status",4,"matHeaderCellDef"],["matColumnDef","team"],["matColumnDef","dupeCount"],["matColumnDef","voteCount"],["matColumnDef","7dViews"],["matColumnDef","createdTime"],["mat-header-cell","","mat-sort-header","createdTime","start","desc",4,"matHeaderCellDef"],["matColumnDef","modifiedTime"],["mat-header-cell","","mat-sort-header",
"modifiedTime","start","desc",4,"matHeaderCellDef"],["matColumnDef","timeframe"],["mat-header-cell","","mat-sort-header","timeframe","title","Timeframe is populated by the 'Start Date' and 'End Date' fields",4,"matHeaderCellDef"],["matColumnDef","progress"],["mat-header-cell","","mat-sort-header","progress","start","desc",4,"matHeaderCellDef"],["matColumnDef","menu"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","","selectionPreventsClick","","class","clickable",3,"row","closed","click","mouseup",
"focusin","keydown",4,"matRowDef","matRowDefColumns"],["class","muted margin-s-top flex-kids-x align-items-center",4,"ngIf"],["mat-header-cell",""],["tabindex","-1","mat-cell",""],["mat-cell",""],[3,"id"],[3,"issue","issueUrlFactory","enableHovercard","trailingChip","anchorTarget"],["mat-header-cell","","mat-sort-header","type"],[3,"issue"],["mat-header-cell","","mat-sort-header","assignee"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[4,"ngIf"],["size","medium",3,"email",4,"ngIf"],["size",
"medium",3,"email"],["mat-header-cell","","mat-sort-header","reporter"],"mat-header-cell  mat-sort-header priority title Priority".split(" "),[3,"issuePriority"],["mat-header-cell","","mat-sort-header","status"],[3,"title"],"mat-header-cell  mat-sort-header createdTime start desc".split(" "),[3,"issue","mode"],"mat-header-cell  mat-sort-header modifiedTime start desc".split(" "),[4,"ngIf","ngIfElse"],[3,"timestamp","mode","paddingLeftPx"],"mat-header-cell;;mat-sort-header;timeframe;title;Timeframe is populated by the 'Start Date' and 'End Date' fields".split(";"),
[3,"issue","showIcon"],"mat-header-cell  mat-sort-header progress start desc".split(" "),[3,"click","buttonLabel","buttonIcon","menuItems"],["mat-header-row",""],["mat-row","","selectionPreventsClick","",1,"clickable",3,"click","mouseup","focusin","keydown","row"],[1,"muted","margin-s-top","flex-kids-x","align-items-center"],[1,"link-button",3,"click"]],template:function(a,b){a&1&&(F(0,"table",2),T(1,"async"),T(2,"async"),M("matSortChange",function(e){b.activeSort$.next(e)}),K(3,3),C(4,sSa,1,0,"th",
4)(5,tSa,1,0,"td",5),L(),K(6,6),C(7,uSa,2,0,"th",4)(8,vSa,2,1,"td",7),L(),K(9,8),C(10,wSa,2,0,"th",4)(11,xSa,3,7,"td",7),L(),K(12,9),C(13,ySa,2,0,"th",10)(14,zSa,3,3,"td",7),L(),K(15,11),C(16,CSa,4,2,"th",12)(17,ISa,4,2,"td",7),L(),K(18,13),C(19,JSa,2,0,"th",14)(20,KSa,3,3,"td",7),L(),K(21,15),C(22,LSa,2,0,"th",16)(23,MSa,2,1,"td",7),L(),K(24,17),C(25,NSa,2,0,"th",18)(26,OSa,3,3,"td",7),L(),K(27,19),C(28,PSa,2,0,"th",4)(29,QSa,3,3,"td",7),L(),K(30,20),C(31,RSa,2,0,"th",4)(32,USa,3,3,"td",7),L(),K(33,
21),C(34,VSa,2,0,"th",4)(35,YSa,3,3,"td",7),L(),K(36,22),C(37,ZSa,2,0,"th",4)(38,bTa,3,3,"td",7),L(),K(39,23),C(40,cTa,2,0,"th",24)(41,dTa,3,4,"td",7),L(),K(42,25),C(43,eTa,2,0,"th",26)(44,hTa,4,2,"td",7),L(),K(45,27),C(46,iTa,2,0,"th",28)(47,jTa,3,4,"td",7),L(),K(48,29),C(49,kTa,2,0,"th",30)(50,lTa,3,3,"td",7),L(),K(51,31),C(52,mTa,1,0,"th",4)(53,nTa,2,3,"td",7),L(),C(54,oTa,1,0,"tr",32)(55,pTa,2,5,"tr",33),G(),C(56,wTa,3,3,"div",34));if(a&2){var c,d;Kf("hide-header",b.options.hideColumnHeaders);
D("dataSource",b.rows$)("trackBy",b.trackBy)("matSortActive",(c=(c=V(1,9,b.activeSort$))==null?null:c.active)!==null&&c!==void 0?c:"")("matSortDirection",(d=(d=V(2,11,b.activeSort$))==null?null:d.direction)!==null&&d!==void 0?d:"");z(54);D("matHeaderRowDef",b.tableColumns);z();D("matRowDefColumns",b.tableColumns);z();D("ngIf",b.options.rowLimit)}},dependencies:[Gv,Hv,Iv,Jv,dT,eT,lR,jS,WR,cS,ZR,VR,eS,$R,bS,fS,hS,YP,XP,WS,rQ,KQ,wQ,sS,xQ,AQ,pQ,BQ,gM,TQ,fN,mN,TM,Lv],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-focus-indicator[_ngcontent-%COMP%]{cursor:pointer;display:table-cell;padding:0 1.5px;width:0}tr.mat-mdc-row[_ngcontent-%COMP%]:focus-within   .mat-column-focus-indicator[_ngcontent-%COMP%]{outline:none;background-color:#4285f4;background-color:var(--primary-c500)}[_nghost-%COMP%]     .hide-header thead{display:none}tr.closed[_ngcontent-%COMP%]{background-color:#f1f3f4;background-color:var(--row-fixed-bg)}tr.closed[_ngcontent-%COMP%]   td.mat-mdc-cell[_ngcontent-%COMP%], tr.closed[_ngcontent-%COMP%]   td.mat-mdc-footer-cell[_ngcontent-%COMP%]{color:#5f6368;color:var(--text-muted)}tr.closed[_ngcontent-%COMP%]   td.mat-mdc-cell[_ngcontent-%COMP%]   a[_ngcontent-%COMP%], tr.closed[_ngcontent-%COMP%]   td.mat-mdc-footer-cell[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:#5f6368;color:var(--text-muted)}tr.closed[_ngcontent-%COMP%]   td.mat-mdc-cell[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover, tr.closed[_ngcontent-%COMP%]   td.mat-mdc-cell[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus, tr.closed[_ngcontent-%COMP%]   td.mat-mdc-footer-cell[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover, tr.closed[_ngcontent-%COMP%]   td.mat-mdc-footer-cell[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus{color:#1a73e8;color:var(--link)}"],
changeDetection:0});var gT=function(a,b,c,d,e,f,h,k,q){Z.call(this);var t=this;this.issueFridge=a;this.butterBar=b;this.analytics=c;this.refreshMonitor=d;this.contextSensitiveRegistry=e;this.issuePermissionService=f;this.issuePicker=h;this.errorHandler=k;this.counts=q;this.issueId$=this.contextSensitiveRegistry.getIssueId();this.issue$=this.issueId$.pipe(pf(this.issueFridge.watchOne));this.filters=[];this.shouldResetFilters=new XF;this.tableColumns=[].concat(r(tmc));this.initialSort={active:"status",direction:"asc"};
this.canEdit$=this.issuePermissionService.hasAclToEdit$;this.blockerIds$=this.issue$.pipe(y(function(w){return w==null?void 0:w.snapshot[0]}),y(function(w){var B,E;return(E=w==null?void 0:(B=w.blockedByIssueId)==null?void 0:B.map(String))!=null?E:[]}));this.blockersCount$=this.blockerIds$.pipe(pf(function(w){return w.length===0?(0,W.of)(0):t.counts.blockersDualCount$.pipe(y(function(B){return B.total.count}))}));this.showBlockersTable$=this.blockersCount$.pipe(y(function(w){return w>0}),of(!0));this.tableOptions=
{menu:{includeGoToIssueItem:!0},deEmphasizeClosedIssues:!0};this.getMenuItems=function(w){return[{type:"action",label:"Remove blocker",action:function(){cqc(t,w)},title:"Remove blocker",icon:"clear"}]};this.subscriptions.add(this.refreshMonitor.getObservable().subscribe(function(){var w=fo(t.blockerIds$);if(w!=null){w=l(w);for(var B=w.next();!B.done;B=w.next())t.issueFridge.poke(B.value)}}))};X(gT,Z);gT.\u0275dir=Z.\u0275dir;
var ITa=function(a){var b;return fe(function(c){b=fo(a.issueId$);if(b==null)return c.return();a.analytics.trackEvent("editIssue","update","add-blocker");return he(c,a.issuePicker.open({title:"Add Blockers of "+b,allowMultipleIds:!0,edgeType:"blocker"},function(d){dqc(a,b,d)}),0)})},dqc=function(a,b,c){fe(function(d){return c.length===0?d.return():he(d,a.issueFridge.addBlockedBy(b,c).catch(function(e){wE(a.errorHandler,e)}),0)})},cqc=function(a,b){var c,d;fe(function(e){if(e.nextAddress==1){c=fo(a.issueId$);
if(c==null)return e.return();a.analytics.trackEvent("editIssue","update","remove-blocker");ge(e,2);return he(e,a.issueFridge.removeBlockedBy(c,[b]),4)}if(e.nextAddress!=2)return Ft(e,0);d=ke(e);a.butterBar.showWarning("Could not remove blocker "+b+". "+(mn(d)?nn(d):d));le(e)})};gT.\u0275fac=function(a){return new (a||gT)(A(jG),A(sE),A(bG),A(iG),A(wH),A(sJ),A(NS),A(uE),A(bT))};
gT.\u0275cmp=p({type:gT,selectors:[["b-blockers-table"]],viewQuery:function(a,b){a&1&&fg(fT,5);if(a&2){var c;jg(c=kg())&&(b.issuesTable=c.first)}},inputs:{filters:"filters"},outputs:{shouldResetFilters:"shouldResetFilters"},features:[zf],decls:16,vars:13,consts:[["noBlockersState",""],["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"],[4,"ngIf"],[4,"ngIf","ngIfElse"],["class","muted",4,"ngIf"],[4,"ngTemplateOutlet"],[3,"issueIds","tableColumns","menuItemFactory","filters","initialSort","options"],[1,"muted"],[1,"subtle-link","unstyled",3,"click"],[1,"emoji"],["size","small","title","Mark an existing issue as blocker",1,"add",3,"onAction","disabled"]],template:function(a,b){a&1&&(F(0,"div",2)(1,"h4",3)(2,"div",4),H(3,"mat-icon",
5),G(),R(4),T(5,"async"),G(),C(6,CTa,2,1,"ng-container",6),T(7,"async"),G(),C(8,ETa,3,3,"ng-container",7),T(9,"async"),C(10,FTa,4,2,"p",8),T(11,"async"),C(12,HTa,6,1,"ng-template",null,0,yg)(14,JTa,3,3,"ng-template",null,1,yg));a&2&&(a=Q(13),z(4),S(" Blockers ",V(5,5,b.counts.countBlockersDisplay$)," "),z(2),D("ngIf",V(7,7,b.showBlockersTable$)),z(2),D("ngIf",V(9,9,b.showBlockersTable$))("ngIfElse",a),z(2),D("ngIf",V(11,11,b.issuesTable==null?null:b.issuesTable.hiddenRowCount$)))},dependencies:[Gv,
Kv,zB,LH,OH,jQ,fT,Lv],styles:["[_nghost-%COMP%] {\n      display: block;\n    }\n    b-issues-table[_ngcontent-%COMP%] {\n      display: block;\n      overflow-x: auto;\n    }"],changeDetection:0});var hT=function(a,b){Z.call(this);var c=this;this.routerEvents=a;this.documentVisibility=b;this.validNavigations=0;this.ignoringNextNav=!1;this.mostRecentlyMeasured="";this.tabWasHidden=!1;this.onNavStart=function(){c.ignoringNextNav||(l7b("appNavStart"),c.mostRecentlyMeasured="")};this.onNavSuccess=function(){c.ignoringNextNav?c.ignoringNextNav=!1:c.validNavigations++}};X(hT,Z);hT.\u0275dir=Z.\u0275dir;
hT.prototype.install=function(){var a=this;En()&&(this.subscriptions.add(this.routerEvents.routeChangeStart.subscribe(this.onNavStart)),this.subscriptions.add(this.routerEvents.routeChangeSuccess.subscribe(this.onNavSuccess)),this.subscriptions.add(this.routerEvents.routeUpdate.subscribe(function(){a.onNavStart();a.onNavSuccess()})),this.subscriptions.add(this.documentVisibility.visibilityState$.pipe(te(function(b){return b!=="visible"}),ef()).subscribe(function(){a.tabWasHidden=!0})))};
var eqc=function(a,b){l7b(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)&&En())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)}}};hT.\u0275fac=function(a){return new (a||hT)(n(aG),n(iT))};
hT.\u0275prov=Hc({token:hT,factory:hT.\u0275fac,providedIn:"root"});var iT=function(a){var b=this;this.window=a;this.visibilityState$=(0,W.fromEvent)(this.window.document,"visibilityChange").pipe(of(void 0),y(function(){return b.currentVisibility}))};ea.Object.defineProperties(iT.prototype,{currentVisibility:{configurable:!0,enumerable:!0,get:function(){return this.window.document.visibilityState}}});iT.\u0275fac=function(a){return new (a||iT)(n(EH))};
iT.\u0275prov=Hc({token:iT,factory:iT.\u0275fac,providedIn:"root"});var fqc=function(a){this.imageUrls=a;this.EMPTY_BLOCKER_LIGHT=this.imageUrls.EMPTY_BLOCKER_LIGHT;this.EMPTY_BLOCKER_DARK=this.imageUrls.EMPTY_BLOCKER_DARK;this.EMPTY_CHILD_LIGHT=this.imageUrls.EMPTY_CHILD_LIGHT;this.EMPTY_CHILD_DARK=this.imageUrls.EMPTY_CHILD_DARK};fqc.\u0275fac=function(a){return new (a||fqc)(A(VP))};
fqc.\u0275cmp=p({type:fqc,selectors:[["b-issue-dependencies-onboarding-dialog"]],decls:16,vars:4,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[1,"flex-kids-x","centered-inside"],["width","601","height","480","aria-hidden","true","alt","",1,"light-only",3,"src"],["width","601","height","480","aria-hidden","true","alt","",1,"dark-only",3,"src"],[1,"centered"],["href","https://developers.google.com/issue-tracker/concepts/parent-child-relationships","target","_blank",1,"nowrap"],["mat-dialog-actions",
""],["mat-flat-button","","color","primary","matDialogClose","","cdkFocusInitial","",1,"gmat-button"]],template:function(a,b){a&1&&(F(0,"h1",0),R(1,"About Dependencies"),G(),F(2,"div",1)(3,"div",2),H(4,"img",3)(5,"img",3)(6,"img",4)(7,"img",4),G(),F(8,"article")(9,"p",5),R(10," Children are used to separate a large work item (like a project) into smaller pieces. Blockers indicate that something prevents work from starting on this issue. "),F(11,"a",6),R(12,"Learn more"),G()()()(),F(13,"div",7)(14,
"button",8),R(15,"Ok"),G()());a&2&&(z(4),D("src",b.EMPTY_CHILD_LIGHT,Qe),z(),D("src",b.EMPTY_BLOCKER_LIGHT,Qe),z(),D("src",b.EMPTY_CHILD_DARK,Qe),z(),D("src",b.EMPTY_BLOCKER_DARK,Qe))},dependencies:[IH,Rx,xI,zI,BI,AI],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 jT=function(a,b,c,d,e){Z.call(this);var f=this;this.issueFridge=a;this.butterBar=b;this.analytics=c;this.refreshMonitor=d;this.issueRelationshipsFridge=e;this.ROUTES=zo;this.parentIssueIds$=new W.BehaviorSubject([]);this.filters=[];this.tableColumns=[].concat(r(tmc));this.tableOptions={menu:{includeGoToIssueItem:!0},deEmphasizeClosedIssues:!0};this.getMenuItems=function(h){return[{type:"action",label:"Unlink parent",action:function(){return gqc(f,h)},title:"Unlink parent",icon:"link"}]};this.showError=
function(h){return function(k){f.butterBar.showWarning(h+". "+(mn(k)?nn(k):k))}};this.subscriptions.add(this.refreshMonitor.getObservable().subscribe(function(){for(var h=l(f.parentIssueIds$.value),k=h.next();!k.done;k=h.next())f.issueFridge.poke(k.value)}))};X(jT,Z);jT.\u0275dir=Z.\u0275dir;jT.prototype.ngOnInit=function(){};
var gqc=function(a,b){var c;return fe(function(d){a.analytics.trackEvent("editIssue","update","remove-parent");c=a.issueId;return he(d,a.issueRelationshipsFridge.unlinkFromParent(c,b).catch(a.showError("Failed to unlink child "+c+" from parent "+b)),0)})};ea.Object.defineProperties(jT.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$}}});
jT.\u0275fac=function(a){return new (a||jT)(A(jG),A(sE),A(bG),A(iG),A(CG))};
jT.\u0275cmp=p({type:jT,selectors:[["b-parents-table"]],viewQuery:function(a,b){a&1&&fg(fT,5);if(a&2){var c;jg(c=kg())&&(b.issuesTable=c.first)}},inputs:{parentIds:"parentIds",filters:"filters",issueId:"issueId"},features:[zf],decls:2,vars:3,consts:[[4,"ngIf"],[3,"issueIds","tableColumns","options","filters","issueUrlFactory","menuItemFactory"]],template:function(a,b){a&1&&(C(0,KTa,2,6,"ng-container",0),T(1,"async"));a&2&&D("ngIf",V(1,1,b.parentIssueIds$))},dependencies:[Gv,fT,Lv],encapsulation:2,
changeDetection:0});var kT=function(){this.buttonSize="large";this.buttonTooltip=this.buttonSvgIcon="";this.showActiveState=!1;this.options=[];this.confirmButtonLabel="Apply";this.cancelButtonLabel="Cancel";this.showActionButtons=!0;this.onChange=new XF;this.onConfirm=new XF;this.onCancel=new XF;this.internalSelectedOptions=new HJ};kT.prototype.confirm=function(a){this.onConfirm.emit(new Set(this.internalSelectedOptions));a.close()};kT.prototype.cancel=function(a){this.onCancel.emit();a.close()};
ea.Object.defineProperties(kT.prototype,{selectedOptions:{configurable:!0,enumerable:!0,set:function(a){this.internalSelectedOptions.reset(a)}}});kT.\u0275fac=function(a){return new (a||kT)};
kT.\u0275cmp=p({type:kT,selectors:[["select-menu"]],inputs:{buttonSize:"buttonSize",buttonAriaLabel:"buttonAriaLabel",buttonSvgIcon:"buttonSvgIcon",buttonTooltip:"buttonTooltip",showActiveState:"showActiveState",overlayTitle:"overlayTitle",options:"options",selectedOptions:"selectedOptions",confirmButtonLabel:"confirmButtonLabel",cancelButtonLabel:"cancelButtonLabel",showActionButtons:"showActionButtons"},outputs:{onChange:"onChange",onConfirm:"onConfirm",onCancel:"onCancel"},decls:11,vars:15,consts:[["trigger",
"onedevPopupPanelTrigger"],["optionsPanel","onedevPopupPanel"],["mat-icon-button","","onedevPopupPanelTrigger","","aria-haspopup","true",1,"gmat-button",3,"click","onedevPopupPanelTriggerFor","color","matTooltip"],[3,"svgIcon"],[4,"ngIf"],["role","region","className","select-menu-popup"],[1,"padded-s","flex-kids-y"],["class","title margin-s-x padded-s",4,"ngIf"],["class","flex-kids-x",4,"ngFor","ngForOf"],["class","badge",3,"title",4,"ngIf"],[1,"badge",3,"title"],[1,"title","margin-s-x","padded-s"],
[1,"flex-kids-x"],[1,"option","grow-1","flex-kids-x","align-items-center","padded-x","padded-s-y","gap"],[3,"change","checked"],[1,"flex-kids-x","justify-flex-end","padded-s","gap-s"],["mat-stroked-button","",1,"cancel",3,"click"],["mat-flat-button","","color","primary",1,"confirm",3,"click"]],template:function(a,b){if(a&1){var c=u();F(0,"button",2,0);T(2,"async");M("click",function(){v(c);var d=Q(1),e;(e=d.isOpen)!=null&&e?d.close():d.open();return x()});H(3,"mat-icon",3);C(4,MTa,3,3,"ng-container",
4);G();F(5,"onedev-popup-panel",5,1)(7,"div",6);C(8,NTa,2,1,"h1",7)(9,QTa,7,5,"div",8)(10,RTa,7,2,"ng-container",4);G()()}a&2&&(a=Q(6),Kf("large",b.buttonSize==="large")("small",b.buttonSize==="small"),D("onedevPopupPanelTriggerFor",a)("color",b.showActiveState&&V(2,13,b.internalSelectedOptions.size$)?"primary":null)("matTooltip",b.buttonTooltip),Bf("aria-label",b.buttonAriaLabel),z(3),D("svgIcon",b.buttonSvgIcon),z(),D("ngIf",b.showActiveState),z(4),D("ngIf",b.overlayTitle),z(),D("ngForOf",b.options),
z(),D("ngIf",b.showActionButtons))},dependencies:[Fv,Gv,zB,oE,QH,RH,MP,LH,OH,tQ,uQ,Lv],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 hqc=function(){return[]},XTa=function(a){return{filteredCount:a}},lT=function(a,b,c,d,e,f,h,k,q,t,w,B,E){Z.call(this);var I=this;this.brain=a;this.issuePicker=b;this.issueRelationshipsFridge=c;this.issueFridge=d;this.router=e;this.routePerformance=f;this.element=h;this.analytics=k;this.issuePermissionService=q;this.activeSession=t;this.counts=w;this.matDialog=B;this.butterBar=E;this.makeIlpUrlForParentIssue=LNa;this.recallFilters=nya("deps-filters");this.saveFilters=Hl("deps-filters");this.isThinking$=
(0,W.combineLatest)([this.issueFridge.saving$,this.issueRelationshipsFridge.saving$]).pipe(y(function(J){return J.some(Boolean)}));this.issueId$=this.brain.id$.pipe(te(lj),y(to));this.issue$=this.brain.issueJs$.pipe(te(lj));this.parentIds$=this.issue$.pipe(y(function(J){var N;return(N=J==null?void 0:J.parentIssueIds)!=null?N:[]}));this.parentIssues$=this.parentIds$.pipe(pf(this.issueFridge.watchSet));this.parentsCount$=this.parentIssues$.pipe(y(function(J){return J.filter(Bn).length}));this.childrenIds$=
this.issueId$.pipe(pf(this.issueRelationshipsFridge.watch),y(function(J){var N;return(N=J==null?void 0:J.relatedChildren.map(function(P){return P.targetIssueId}))!=null?N:[]}));this.totalDaysOpen$=this.issue$.pipe(y(function(J){var N,P;return((N=zn(J))==null?void 0:(P=N.effort)==null?void 0:P.totalOpen)||0}));this.totalDaysComplete$=this.issue$.pipe(y(function(J){var N,P;return((N=zn(J))==null?void 0:(P=N.effort)==null?void 0:P.totalComplete)||0}));this.unarchivedChildIssueCount$=this.childrenIds$.pipe(y(function(J){return J.length}));
this.isTotalEstimatesEnabled=this.activeSession.getFlag("enableAggregationRules");this.isNonPublicSession=this.activeSession.isNonPublicSession();this.isInternalSession=this.activeSession.isInternalSession();this.enableRollupStatsUi=this.activeSession.getFlag("enableRollupStatsUi");this.totalDaysCount$=(0,W.combineLatest)([this.totalDaysOpen$,this.totalDaysComplete$]).pipe(y(function(J){var N=l(J);J=N.next().value;N=N.next().value;return J+N}));this.totalDaysDisplayPercent$=rUa(this.totalDaysComplete$,
this.totalDaysCount$);this.progressHovercardContent$=(0,W.combineLatest)([this.totalDaysComplete$,this.totalDaysOpen$,this.totalDaysDisplayPercent$]).pipe(y(function(J){var N=l(J);J=N.next().value;var P=N.next().value;N=N.next().value;return sUa(Math.round(J*100)/100)+" completed | "+sUa(Math.round(P*100)/100)+" open | "+N+"% completed"}));this.canEdit$=this.issuePermissionService.hasAclToEdit$;this.rowCreated$=new W.Subject;this.issueFilters=new HJ;this.ISSUE_FILTER_OPTIONS=[{key:ip.OPEN.key,title:ip.OPEN.displayAs,
description:"Hides closed issues"},{key:ip.ASSIGNED_TO_ME.key,title:ip.ASSIGNED_TO_ME.displayAs,description:"Hides issues not assigned to me"}];(0,W.firstValueFrom)(Lwa("b-issue-relations-table tr .mat-column-title a",this.element.nativeElement).pipe(qf((0,W.merge)(this.destroyed$,this.rowCreated$)))).then(function(){var J=function(){eqc(I.routePerformance,"issue-details-w-tree")};requestAnimationFrame(J);setTimeout(J)}).catch(function(){});try{this.issueFilters.reset(this.recallFilters().filter(lOa))}catch(J){}this.subscriptions.add(this.issueFilters.value$.subscribe(function(J){I.saveFilters([].concat(r(J)))}))};
X(lT,Z);lT.\u0275dir=Z.\u0275dir;
var nUa=function(a){var b,c;return fe(function(d){if(d.nextAddress==1)return a.analytics.trackEvent("editIssue","update","add-parent"),he(d,(0,W.firstValueFrom)(a.issue$),2);b=d.yieldResult;c=b.issueId;return he(d,a.issuePicker.open({title:"Add Parent to b/"+c,allowMultipleIds:!1,edgeType:"parent"},function(e){iqc(a,c,e)}),0)})},iqc=function(a,b,c){var d=l(c).next().value;var e,f,h,k;fe(function(q){if(q.nextAddress==1)return(e=d)?he(q,a.issueRelationshipsFridge.assignParentToOneIssue(e,b),2):q.return();
f=q.yieldResult;h=f.errors;return((k=h)==null?0:k.length)?(a.butterBar.showWarning("Could not add parent"),q.return()):he(q,a.issueFridge.poke(b),0)})};lT.prototype.shouldResetFilters=function(){this.issueFilters.reset([])};lT.prototype.addChild=function(){this.rowCreated$.next();var a;(a=this.relationsTable)==null||a.addExistingChild()};lT.prototype.createChild=function(){this.rowCreated$.next();var a;(a=this.relationsTable)==null||Ppc(a)};
lT.prototype.openLearnMore=function(){this.matDialog.open(fqc,{maxWidth:"1300px",width:"90%"})};lT.\u0275fac=function(a){return new (a||lT)(A(qJ),A(NS),A(CG),A(jG),A(pB),A(hT),A(Rd),A(bG),A(sJ),A(Ir),A(bT),A(wI),A(sE))};
lT.\u0275cmp=p({type:lT,selectors:[["b-issue-dependencies"]],viewQuery:function(a,b){a&1&&(fg(XS,5),fg(gT,5),fg(jT,5));if(a&2){var c;jg(c=kg())&&(b.relationsTable=c.first);jg(c=kg())&&(b.blockersTable=c.first);jg(c=kg())&&(b.parentsTable=c.first)}},features:[zf],decls:15,vars:13,consts:[["filterInfo",""],["addParent",""],["addChildren",""],["noParentsState",""],["progressHovercard","onedevHovercard"],["effortHovercard","onedevHovercard"],[1,"status","flex-kids-x","gap-s","align-items-center","justify-flex-end"],
[4,"ngIf"],["buttonSize","small","buttonSvgIcon","filter-alt","buttonTooltip","Filter issues","buttonAriaLabel","Filter issues","overlayTitle","Only show issues that are",3,"onChange","options","selectedOptions","showActionButtons","showActiveState"],["mat-icon-button","","matTooltip","Learn more","aria-label","Open dialog to learn more about the Dependencies tab",1,"small",3,"click"],["svgIcon","info",1,"icon-s"],["class","pos-rel carded margined-s bg-main flex-kids-y gap-l",4,"ngIf"],[1,"pos-rel",
"carded","margined-s","bg-main","flex-kids-y","gap-l"],[1,"parents"],[1,"table-header","flex-kids-x","align-items-center"],[1,"muted","margin-s-y","flex-kids-x","align-items-center"],["role","status",1,"b-chip","nowrap","squared","xs","keep-focus-ring"],["svgIcon","arrow_upward_24px",1,"icon-xxs"],[3,"issueId","parentIds","filters",4,"ngIf","ngIfElse"],[3,"shouldResetFilters","filters"],[1,"table-header","child-issue-header","flex-kids-x","align-items-center"],["role","status","tabindex","0","matTooltip",
"Use child issues to break down this issue into smaller units of work.",1,"b-chip","nowrap","squared","xs","keep-focus-ring"],["svgIcon","account_tree_24px",1,"icon-xxs"],["class","progress-header",4,"ngIf"],["class","margin-s-bottom",3,"id",4,"ngIf"],[3,"rootIssueId","filters","saveExpansionAtKey"],[4,"ngTemplateOutlet"],[3,"issueId","parentIds","filters"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"muted"],[1,"progress-header"],[1,"flex-kids-x","align-items-center"],[1,"margin-s-right"],
[1,"label"],[1,"progress","margin-s-right",3,"onedevHovercardTrigger"],[1,"completion"],["role","dialog",1,"onedev-hovercard-content"],[1,"onedev-hovercard-body","progress-hover-card"],["svgIcon","info","aria-hidden","false","aria-label","The progress of child issues takes into consideration all child issues and descendant issues\n                  which have estimation data. If a child issue doesn\u2019t have an estimate, their progress is\n                  not reflected in the progress bar.",1,
"icon-s",3,"onedevHovercardTrigger"],[1,"onedev-hovercard-body"],[1,"margin-s-bottom",3,"id"],[1,"margin-s-top"],["title","View the search results page for this issue and all descendants",3,"href"],["class","muted",4,"ngIf"],[1,"subtle-link","unstyled",3,"click"],["size","small","title","Add a parent of the current issue",1,"add",3,"onAction","disabled"],["class","add","size","small","title","Create an issue as a child",3,"disabled","onAction",4,"ngIf"],["size","small","title","Add an existing issue as a child",
1,"add",3,"onAction","disabled"],["size","small","title","Create an issue as a child",1,"add",3,"onAction","disabled"]],template:function(a,b){if(a&1){var c=u();F(0,"div",6);C(1,STa,1,0,"b-spinner",7);T(2,"async");F(3,"select-menu",8);T(4,"async");M("onChange",function(e){v(c);return x(b.issueFilters.reset(e))});G();F(5,"button",9);M("click",function(){v(c);return x(b.openLearnMore())});H(6,"mat-icon",10);G()();C(7,kUa,41,48,"div",11);T(8,"async");C(9,mUa,1,1,"ng-template",null,0,yg)(11,oUa,3,3,"ng-template",
null,1,yg)(13,qUa,4,4,"ng-template",null,2,yg)}if(a&2){var d;z();D("ngIf",V(2,6,b.isThinking$));z(2);D("options",b.ISSUE_FILTER_OPTIONS)("selectedOptions",(d=V(4,8,b.issueFilters.value$))!==null&&d!==void 0?d:tg(12,hqc))("showActionButtons",!1)("showActiveState",!0);z(4);D("ngIf",V(8,10,b.issueId$))}},dependencies:[Gv,Kv,zB,$H,gI,IH,Tx,LH,OH,jQ,kT,RQ,aQ,gT,XS,jT,Lv,Rv],styles:["b-issue-dependencies h4 button{margin:-8px 0}b-issue-dependencies h4 button.gmat-button.mat-stroked-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 mT=function(){};mT.\u0275fac=function(a){return new (a||mT)};mT.\u0275mod=dd({type:mT});mT.\u0275inj=Ic({imports:[ZL,BB,ML,aM]});var nT=function(){};nT.\u0275fac=function(a){return new (a||nT)};nT.\u0275mod=dd({type:nT});nT.\u0275inj=Ic({providers:[aqc],imports:[zx]});var oT=function(){};oT.\u0275fac=function(a){return new (a||oT)};oT.\u0275mod=dd({type:oT});oT.\u0275inj=Ic({imports:[ww,nE,dB,BB,My,dJ,nT,FS,JM,aM,ZP,Ny,mT,wS,YS,xS,hM,AS,UQ,kN,nN,UM]});var pT=function(){};pT.\u0275fac=function(a){return new (a||pT)};pT.\u0275mod=dd({type:pT});pT.\u0275inj=Ic({imports:[BB,ML,jM,NP,aM,qS]});var qT=function(){};qT.\u0275fac=function(a){return new (a||qT)};qT.\u0275mod=dd({type:qT});qT.\u0275inj=Ic({imports:[ww,nE,dB,BB,My,NL,dJ,fJ,nT,FS,JM,aM,Ny,mT,wS,YS,xP,oT,xS,pT,hM,AS,iQ,UQ,kN]});var rT=function(a,b,c,d){Z.call(this);var e=this;this.prefsService=a;this.issueFridge=b;this.savedSearchFridge=c;this.analytics=d;this.TREE_COLUMNS=[].concat(r(xmc));this.TREE_OPTIONS=Object.assign({},zmc);this.refreshWorkArea=new W.Subject;this.hideRecentActivity=!1;this.typeAndId$=new W.BehaviorSubject([void 0,void 0]);this.typeAndId$.pipe(pf(function(f){var h=l(f);f=h.next().value;h=h.next().value;return f==="savedsearch"?e.savedSearchFridge.watchOne(h):(0,W.of)(void 0)}));this.issueFilter$=this.typeAndId$.pipe(y(function(f){var h=
l(f);f=h.next().value;h=h.next().value;if(f==="issue")return"parentid:"+h+"+ | id:"+h;if(f==="savedsearch")return"savedsearchid:"+h;if(f==="hotlist")return"hotlistid:"+h}));this.issueQuery$=this.issueFilter$.pipe(y(zUa));this.issueIds$=this.issueQuery$.pipe(pf(function(f){return e.issueFridge.watchMany(f)}),y(function(f){return f.results.map(function(h){return h.issueId})}))};X(rT,Z);rT.\u0275dir=Z.\u0275dir;
rT.prototype.ngOnInit=function(){var a=this;this.refreshWorkArea.pipe(qf(this.destroyed$)).subscribe(function(){a.typeAndId$.next([a.entityType,a.referencedId])})};rT.prototype.getFilters=function(){return omc(this.prefsService,this.entityReference)};rT.prototype.showTable=function(){return this.onlyShowTableWhenFiltered?this.getFilters().length>0:!0};
ea.Object.defineProperties(rT.prototype,{reference:{configurable:!0,enumerable:!0,set:function(a){this.entityReference=a;this.referencedId=gp(a);this.entityType=hp(a);this.analytics.trackEvent("missionControl","view","work-area-"+this.entityType);this.typeAndId$.next([this.entityType,this.referencedId])}}});rT.\u0275fac=function(a){return new (a||rT)(A(bQ),A(jG),A(gF),A(bG))};
rT.\u0275cmp=p({type:rT,selectors:[["one-work-area"]],inputs:{reference:"reference",refreshWorkArea:"refreshWorkArea",hideRecentActivity:"hideRecentActivity",numRecentActivityEvents:"numRecentActivityEvents",onlyShowTableWhenFiltered:"onlyShowTableWhenFiltered"},features:[zf],decls:1,vars:1,consts:[[3,"searchString","prefKey","reference","onlyShowTableWhenFiltered"],[1,"margin-top",3,"query","numEvents"],[1,"margin-bottom",3,"id"],[3,"saveExpansionAtKey","rootIssueId","filters","tableColumns","options",
"defaultExpansionLevel"]],template:function(a,b){a&1&&C(0,yUa,4,2);if(a&2){var c;Of((c=b.referencedId)?0:-1,c)}},styles:["[_nghost-%COMP%] { display: block; }"]});var jqc=Object.assign({},ymc,{showTrending:!0}),kqc={active:"modifiedTime",direction:"desc"},sT=function(a,b){var c=this;this.prefsService=a;this.issueFridge=b;this.DEFAULT_COLUMNS=[].concat(r(vmc));this.PROGRESS_COLUMNS=[].concat(r(wmc));this.TABLE_OPTIONS=Object.assign({},jqc);this.INITIAL_SORT=kqc;this.searchString$=new W.BehaviorSubject(void 0);this.issueQuery$=this.searchString$.pipe(y(zUa));this.issueIds$=this.issueQuery$.pipe(pf(function(d){return c.issueFridge.watchMany(d)}),y(function(d){return d.results.map(function(e){return e.issueId})}))};
sT.prototype.getFilters=function(){return this.prefKey==null?[]:omc(this.prefsService,this.prefKey)};sT.prototype.showTable=function(){return this.onlyShowTableWhenFiltered?this.getFilters().length>0:!0};ea.Object.defineProperties(sT.prototype,{searchString:{configurable:!0,enumerable:!0,set:function(a){this.searchString$.next(a!=null?a:void 0)}}});sT.\u0275fac=function(a){return new (a||sT)(A(bQ),A(jG))};
sT.\u0275cmp=p({type:sT,selectors:[["one-work-area-list"]],inputs:{searchString:"searchString",prefKey:"prefKey",reference:"reference",onlyShowTableWhenFiltered:"onlyShowTableWhenFiltered"},decls:5,vars:9,consts:[[1,"margin-bottom",3,"ref","query"],[1,"margin-bottom",3,"prefKey","query"],[3,"issueIds","options","filters","tableColumns","initialSort"]],template:function(a,b){a&1&&(H(0,"rollups-list",0),T(1,"async"),H(2,"stat-cards-list",1),T(3,"async"),C(4,AUa,2,7,"b-issues-table",2));a&2&&(D("ref",
b.reference)("query",V(1,5,b.issueQuery$)),z(2),D("prefKey",b.prefKey)("query",V(3,7,b.issueQuery$)),z(2),Of(b.showTable()?4:-1))},dependencies:[$P,gQ,fT,Lv],styles:["[_nghost-%COMP%] { display: block; }"]});var tT=function(a){this.buttonRef=a;this.toRefocus=!1};tT.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}))};tT.\u0275fac=function(a){return new (a||tT)(A(Rd))};
tT.\u0275dir=fd({type:tT,selectors:[["button","disabled","","focusBack",""]],inputs:{disabled:"disabled"},features:[td]});var uT=function(a,b){this.activeSession=a;this.cdr=b;this.disabled=this.starred=!1;this.acceptInput=!0;this.starMessage="Star the issue";this.unStarMessage="Un-star the issue";this.starClicked=new XF;this.isAnonymous=this.activeSession.isAnonymous()};g=uT.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};uT.\u0275fac=function(a){return new (a||uT)(A(Ir),A(Ig))};
uT.\u0275cmp=p({type:uT,selectors:[["b-star-toggle"]],inputs:{starred:"starred",disabled:"disabled",acceptInput:"acceptInput",starMessage:"starMessage",unStarMessage:"unStarMessage"},outputs:{starClicked:"starClicked"},decls:4,vars:7,consts:[["tooltip","matTooltip"],[1,"inline-block",3,"matTooltip"],["mat-icon-button","","focusBack","","role","checkbox",1,"small",3,"keydown.enter","click","focus","blur","disabled"],[1,"icon-s",3,"svgIcon"]],template:function(a,b){if(a&1){var c=u();F(0,"div",1,0)(2,
"button",2);M("keydown.enter",function(d){v(c);return x(b.onEnter(d))})("click",function(d){v(c);return x(b.onClick(d))})("focus",function(){v(c);var d=Q(1);return x(d.show())})("blur",function(){v(c);var d=Q(1);return x(d.hide())});H(3,"mat-icon",3);G()()}a&2&&(D("matTooltip",b.getLabel()),z(2),Kf("starred",b.starred),D("disabled",b.isDisabled()),Bf("aria-label",b.getAriaLabel())("aria-checked",b.starred),z(),D("svgIcon",b.starred?"star-filled":"star-empty"))},dependencies:[zB,oE,LH,OH,tT],styles:["[_nghost-%COMP%]{opacity:.9;text-align:center}[_nghost-%COMP%]:hover{opacity:1}[_nghost-%COMP%]   button.mat-icon-button[_ngcontent-%COMP%]{color:#80868b;color:var(--gfx-muted)}[_nghost-%COMP%]   button.mat-icon-button.starred[_ngcontent-%COMP%]{color:#e37400;color:var(--favorite-star)}[_nghost-%COMP%]   button.mat-icon-button[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{margin-top:-2px;margin-right:initial}"],
changeDetection:0});var vT=function(a){this.activeSession=a;this.ROUTES=zo;this.isCompact=!1;this.starClicked=new XF;this.currentUserEmail=this.activeSession.getUserEmail()};vT.prototype.ngOnInit=function(){};vT.prototype.isDirectAdmin=function(a){return a?qm(a.adminUsers).includes(this.currentUserEmail):!1};vT.prototype.shouldShowStar=function(a){return!this.isDirectAdmin(a)&&!a.archived};vT.\u0275fac=function(a){return new (a||vT)(A(Ir))};
vT.\u0275cmp=p({type:vT,selectors:[["hotlist-matlist-option"]],inputs:{hotlist:"hotlist",isCompact:"isCompact",starredHotlists:"starredHotlists",isSavingStar:"isSavingStar"},outputs:{starClicked:"starClicked"},decls:1,vars:1,consts:[["class","hotlist-matlist-option",4,"ngIf"],[1,"hotlist-matlist-option"],[1,"title-line"],[1,"overflow-ellipsis"],[1,"hotlist-link-and-star","flex-kids-x","align-items-center","gap-xs"],["class","valign-middle",3,"starMessage","unStarMessage","acceptInput","starred","starClicked",
4,"ngIf"],["matTooltip","Open hotlist in a new tab","target","_blank",1,"keep-focus-ring",3,"click","keydown.enter","routerLink"],["svgIcon","pop-out",1,"icon-s"],["class","line-clamp-2 muted type-s",4,"ngIf"],[1,"valign-middle",3,"starClicked","starMessage","unStarMessage","acceptInput","starred"],[1,"line-clamp-2","muted","type-s"]],template:function(a,b){a&1&&C(0,DUa,9,4,"div",0);a&2&&D("ngIf",b.hotlist)},dependencies:[Gv,zB,rB,uT,LH,OH,Lv],encapsulation:2,changeDetection:0});var lqc=function(){this.tokens=new Map};lqc.prototype.add=function(a,b){var c=this.tokens.get(a);c?c.push(b):this.tokens.set(a,[b]);return this};lqc.prototype.build=function(){var a=this,b=Array.from(this.tokens.keys()).sort();return new mqc(b.map(function(c){return{token:c,labels:a.tokens.get(c)}}))};var mqc=function(a){this.sortedEntries=a};
mqc.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};mqc.prototype.search=function(a){var b=new Set;a=l(this.match(a));for(var c=a.next();!c.done;c=a.next()){c=l(c.value.labels);for(var d=c.next();!d.done;d=c.next())b.add(d.value)}return b};
var nqc=function(a,b){if(b.length===0)return new Set;for(var c=a.search(b[0]),d=1;d<b.length&&c.size>0;d++){var e=[].concat(r(a.search(b[d]))).filter(function(f){return c.has(f)});c=new Set(e)}return c};var oqc=function(a){this.hotlists=a;var b=new lqc,c=new lqc;a=l(a);for(var d=a.next();!d.done;d=a.next()){d=d.value;var e=void 0,f=((e=d.name)==null?0:e.trim())?jHa(d.name.toLowerCase()):[];e=l(f);for(f=e.next();!f.done;f=e.next())b.add(f.value,d);e=void 0;f=((e=d.description)==null?0:e.trim())?jHa(d.description.toLowerCase()):[];e=l(f);for(f=e.next();!f.done;f=e.next())c.add(f.value,d)}this.nameTokenMatcher=b.build();this.descriptionTokenMatcher=c.build();this.positions=new Map(this.hotlists.map(function(h,
k){return[h,k]}))};
oqc.prototype.search=function(a){a=a.toLowerCase();for(var b=new Set,c=l(this.hotlists),d=c.next();!d.done;d=c.next()){d=d.value;var e=void 0,f=(e=d.name)==null?void 0:e.toLowerCase(),h=void 0;e=(h=d.description)==null?void 0:h.toLowerCase();h=d.hotlistId;var k=void 0,q=void 0;(Kta(a)&&String(h).includes(a)||((k=f)==null?0:k.includes(a))||((q=e)==null?0:q.includes(a)))&&b.add(d)}a=jHa(a);c=l(nqc(this.nameTokenMatcher,a));for(d=c.next();!d.done;d=c.next())b.add(d.value);a=l(nqc(this.descriptionTokenMatcher,a));
for(c=a.next();!c.done;c=a.next())b.add(c.value);return pqc(this,b)};var pqc=function(a,b){return[].concat(r(b)).sort(function(c,d){c=a.positions.get(c);d=a.positions.get(d);return c===d?0:c<d?-1:1})};var wT=function(){this.innerHeight$=(0,W.concat)((0,W.defer)(function(){return(0,W.of)(window.innerHeight)}),(0,W.fromEvent)(window,"resize").pipe(y(function(){return window.innerHeight})))};wT.\u0275fac=function(a){return new (a||wT)};wT.\u0275prov=Hc({token:wT,factory:wT.\u0275fac,providedIn:"root"});var xT=function(a,b,c,d,e,f,h,k,q,t,w,B,E){Z.call(this);var I=this;this.dialogRef=a;this.data=b;this.paths=c;this.hotlistFridge=d;this.currentUserBookmarksFridge=e;this.hotlistApi=f;this.snackBar=h;this.appEvents=k;this.errorHandler=q;this.userApi=t;this.windowHeight=w;this.permissionsFridge=B;this.activeSession=E;this.NO_ACCESS_MESSAGE="You don't have permissions to add/remove issues on this hotlist.";this.showCreateNewPane=!1;this.query$=new W.BehaviorSubject("");this.debouncedQuery$=this.query$.pipe(bf(100),
of(""));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 vy({name:new xy("",my),description:new xy("")});this.starredHotlists=
new HJ;this.isSavingStar=new HJ;this.userHotlists$=this.activeSession.getFlag("enableLeanFeF")?jF(this.currentUserBookmarksFridge):h7b(this.hotlistFridge);this.issueHotlists$=this.hotlistFridge.watchSet(Array.from(this.data.selectedHotlistIds));this.combineHotlistsWithPermissions=y(function(J){var N=I.permissionsFridge.watchSet(J.map(function(P){return"hotlists/"+P.hotlistId}));return J.map(function(P,U){return Object.assign({},P,{permissions$:N.pipe(y(function(ba){return ba[U]}))})})});this.hotlists$=
(0,W.combineLatest)([this.issueHotlists$,this.userHotlists$]).pipe(y(function(J){var N=l(J);J=N.next().value;N=N.next().value;return[].concat(r(J),r(N))}),y(CAa(function(J){return J.hotlistId})),y(function(J){return J.filter(lj)}),y(function(J){return J.sort(UUa)}),y(function(J){return J.sort(function(N,P){var U=I.selectedHotlistIds;N=U.has(N.hotlistId);P=U.has(P.hotlistId);return N&&P?0:N?-1:P?1:0})}),this.combineHotlistsWithPermissions,mf({bufferSize:1,refCount:!0}));this.hotlistQuerySearcher$=
this.hotlists$.pipe(y(function(J){return new oqc(J)}),mf({bufferSize:1,refCount:!0}));this.forceShowOverflow$=new W.Subject;this.matchedHotlists$=(0,W.combineLatest)([this.debouncedQuery$,this.hotlistQuerySearcher$,this.hotlists$]).pipe(y(function(J){var N=l(J);J=N.next().value;var P=N.next().value;N=N.next().value;return J.trim()!==""?P.search(J):N}),mf({bufferSize:1,refCount:!0}));this.visibleHotlists$=(0,W.combineLatest)([this.matchedHotlists$,(0,W.merge)(this.matchedHotlists$.pipe(y(function(){return!1})),
this.forceShowOverflow$)]).pipe(y(function(J){var N=l(J);J=N.next().value;N=N.next().value;return J.length>200&&!N?J.slice(0,200):J}),mf({bufferSize:1,refCount:!0}));this.isOverflowMode$=(0,W.combineLatest)([this.matchedHotlists$,this.visibleHotlists$]).pipe(y(function(J){var N=l(J);J=N.next().value;N=N.next().value;return J.length!==N.length}));this.showLoadById$=this.query$.pipe(y(function(J){J=J.trim();return!I.allHotlistIds.has(Number(J))&&Kta(J)}));this.showCreateNew$=(0,W.combineLatest)([this.query$,
this.matchedHotlists$]).pipe(y(function(J){var N=l(J);J=N.next().value;N=N.next().value;return VUa(J,N)}));this.compactNumberOfHotlistsToShow$=this.windowHeight.innerHeight$.pipe(y(function(J){return Math.max(1,Math.floor(J*.5/24))}),df());this.compactNumberOfHotlistsToShow$.pipe(y(function(J){return J*24}));this.subscriptions.add(this.hotlists$.subscribe(function(J){I.hotlists=J;J=l(J);for(var N=J.next();!N.done;N=J.next())I.allHotlistIds.add(N.value.hotlistId)}))};X(xT,Z);xT.\u0275dir=Z.\u0275dir;
xT.prototype.ngOnInit=function(){var a=this;qqc(this);this.query$.pipe(qf(this.destroyed$)).subscribe(function(){a.hotlistUnderEdit.setValue({name:a.query$.value,description:""})})};
xT.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=yta(this.originalIds,this.selectedHotlistIds);this.pristine=!a;var c=l(WUa(a));a=c.next().value;c=c.next().value;this.saveBtnLabel=a;this.saveBtnTooltip=c};
var zp=function(a){a.dialogRef.close(a.usePreviousSelectedHotlists?a.previousSelectedHotlistIds:a.selectedHotlistIds)},JUa=function(a){var b;return(a=(b=a.hotlistUnderEdit.get("name"))==null?void 0:b.value)?a:""},rqc=function(a){var b;return(a=(b=a.hotlistUnderEdit.get("description"))==null?void 0:b.value)?a:""},IUa=function(a){a.snackBar.open("Saving hotlist...","dismiss",{duration:0});var b=JUa(a),c=rqc(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)})},qqc=function(a){(a.activeSession.getFlag("enableLeanFeF")?(0,W.firstValueFrom)(iF(a.currentUserBookmarksFridge)):a.userApi.getUserSidebar()).then(function(b){a.starredHotlists.clear();for(var c=l(b.hotlists),d=c.next();!d.done;d=c.next()){d=d.value;var e=Number(d.id);d.starred&&a.starredHotlists.add(e)}b=
l(b.bookmarkGroups);for(c=b.next();!c.done;c=b.next())for(c=l(c.value.sublinks||[]),d=c.next();!d.done;d=c.next())d=d.value,d.starred&&a.starredHotlists.add(Number(d.id))}).catch(function(b){a.errorHandler.errorHandler(null,b)})};
xT.prototype.toggleStar=function(a){var b=this,c,d,e;return fe(function(f){switch(f.nextAddress){case 1:c=b.starredHotlists.has(a);d={resourceType:"HOTLIST",resourceId:a};ge(f,2,3);b.isSavingStar.add(a);if(c)return b.starredHotlists.delete(a),he(f,b.userApi.removeUserBookmark(d),3);b.starredHotlists.add(a);return he(f,b.userApi.addUserBookmark(d),3);case 3:ie(f);b.isSavingStar.delete(a);je(f,4);break;case 2:e=ke(f);wE(b.errorHandler,e);f.jumpTo(3);break;case 4:b.appEvents.hotlistChanged.next(),b.appEvents.favoritesModified.next(),
qqc(b),le(f)}})};var MUa=function(a,b){a.hotlistApi.get(b).then(function(c){a.hotlists.push(c);a.selectedHotlistIds.add(c.hotlistId);zp(a)}).catch(function(c){a.errorHandler.errorHandler(null,c)})};xT.prototype.trackByHotlistId=function(a,b){return b.hotlistId};xT.\u0275fac=function(a){return new (a||xT)(A(pI),A(vI),A(pN),A(bF),A(hF),A(RE),A(XD),A(yE),A(uE),A(aF),A(wT),A(OG),A(Ir))};
xT.\u0275cmp=p({type:xT,selectors:[["ng-component"]],hostBindings:function(a,b){a&1&&M("keydown.meta.enter",function(){return zp(b)})("keydown.shift.enter",function(){return zp(b)})("keydown.control.enter",function(){return zp(b)})},features:[zf],decls:13,vars:4,consts:[["createNewHotlistBtn",""],["applyHotlistSelectionBtn",""],["updateHotlistSelectionPane",""],["createNewHotlistPane",""],["searchBox",""],["content",""],["tooltip","matTooltip"],[4,"ngIf","ngIfElse"],["mat-button","","mat-dialog-close",
"","tooltip","Dismiss modal","aria-label","Dismiss modal","role","button",3,"click"],[4,"ngTemplateOutlet"],["mat-flat-button","","color","primary","matTooltip","Create new hotlist","aria-label","Create",1,"gmat-button",3,"click","disabled"],["mat-flat-button","","color","primary",1,"gmat-button",3,"click","mat-dialog-close","matTooltip","disabled"],["mat-dialog-title",""],[1,"search-container"],["svgIcon","search"],["type","search","spellcheck","false","autocomplete","off","aria-label","Filter hotlists",
"placeholder","Type to filter hotlists from your sidebar",1,"search-box",3,"input"],["mat-dialog-content","",1,"search-results"],["class","load-from-id-btn",3,"click",4,"ngIf"],["class","create-new-hotlist-btn",3,"click",4,"ngIf"],[4,"ngIf"],[1,"load-from-id-btn",3,"click"],[1,"muted"],[1,"create-new-hotlist-btn",3,"click"],[3,"selectionChange","keydown.meta.enter","keydown.shift.enter","keydown.control.enter"],[4,"ngFor","ngForOf","ngForTrackBy"],[3,"matTooltip"],["checkboxPosition","before",3,"focus",
"blur","selected","disabled","value"],[3,"starClicked","hotlist","isCompact","starredHotlists","isSavingStar"],[1,"margin-top","kids-x"],[1,"force-show-overflow-btn",3,"click"],["mat-dialog-content",""],[1,"create-hotlist-pane"],[3,"formGroup"],["for","hotlist-name"],"type text autofocus autofocus id hotlist-name required  aria-required true formControlName name".split(" "),["for","hotlist-description",1,"margin-s-top"],["id","hotlist-description","formControlName","description"]],template:function(a,
b){if(a&1){var c=u();C(0,FUa,2,1,"ng-container",7);F(1,"mat-dialog-actions")(2,"button",8);M("click",function(){v(c);b.dialogRef.close();return x()});R(3," Cancel ");G();C(4,HUa,2,1,"ng-container",7);G();C(5,KUa,2,1,"ng-template",null,0,yg)(7,LUa,2,5,"ng-template",null,1,yg)(9,SUa,15,9,"ng-template",null,2,yg)(11,TUa,14,1,"ng-template",null,3,yg)}if(a&2){a=Q(8);var d=Q(10);D("ngIf",b.showCreateNewPane)("ngIfElse",d);z(4);D("ngIf",b.showCreateNewPane)("ngIfElse",a)}},dependencies:[Fv,Gv,Kv,zB,xI,zI,
BI,AI,oE,yP,FP,EP,zy,mh,qy,ry,Iy,Ey,Fy,LH,OH,vT,Lv],styles:["[_nghost-%COMP%]     .mat-mdc-dialog-content{width:500px;overflow-y:overlay}[_nghost-%COMP%]     .mat-mdc-dialog-title{margin:0}[_nghost-%COMP%]     .mat-mdc-dialog-title::before{height:unset}[_nghost-%COMP%]     .mat-mdc-dialog-title h2{margin-top:0;margin-bottom:8px}[_nghost-%COMP%]     .search-container{background-color:#f1f3f4;background-color:var(--main-search-bg);display:flex;flex-direction:row;justify-content:center;align-items:center;border-radius:8px;width:100%;height:40px}[_nghost-%COMP%]     .search-container mat-icon{margin-left:8px}[_nghost-%COMP%]     .search-container input.search-box{color:#202124;color:var(--text-high-contrast);outline:none;border:none;background-color:rgba(0,0,0,0);margin-left:5px;height:100%;width:100%;padding-right:4px}[_nghost-%COMP%]     .search-results mat-list-option .title-line{display:flex;align-items:center;justify-content:space-between;height:24px}[_nghost-%COMP%]     .search-results mat-list-option a, [_nghost-%COMP%]     .search-results mat-list-option mat-icon{height:17px;line-height:17px}[_nghost-%COMP%]     .search-results mat-list-option p{font-size:.75rem;margin-top:-2px;line-height:1.2}[_nghost-%COMP%]     .search-results mat-list-option .hotlist-link-and-star{visibility:hidden}[_nghost-%COMP%]     .search-results mat-list-option .hotlist-link-and-star a{margin-right:2px}[_nghost-%COMP%]     .search-results mat-list-option .hotlist-link-and-star a mat-icon{margin-top:-2px}[_nghost-%COMP%]     mat-list-option:focus-within .hotlist-link-and-star, [_nghost-%COMP%]     mat-list-option:hover .hotlist-link-and-star{visibility:unset}[_nghost-%COMP%]     .create-new-hotlist-btn, [_nghost-%COMP%]     .load-from-id-btn, [_nghost-%COMP%]     .force-show-overflow-btn{background:none;border:none;text-align:left;min-height:34px;padding-left:38px}[_nghost-%COMP%]     .create-new-hotlist-btn:hover, [_nghost-%COMP%]     .load-from-id-btn:hover, [_nghost-%COMP%]     .force-show-overflow-btn:hover{cursor:pointer;background-color:rgba(0,0,0,.04);background-color:var(--hover)}[_nghost-%COMP%]     .create-hotlist-pane label{display:block;color:#5f6368;color:var(--muted);font-weight:500}[_nghost-%COMP%]     .create-hotlist-pane input, [_nghost-%COMP%]     .create-hotlist-pane textarea{width:100%;box-sizing:border-box}[_nghost-%COMP%]     mat-list-option label{font-size:.8125rem}[_nghost-%COMP%]     .mat-mdc-list-base{margin:0 -24px}[_nghost-%COMP%]     .mat-mdc-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-left:12px}/*# sourceMappingURL=hotlist_picker_modal.css.map */"],
changeDetection:0});var yT=function(a,b,c,d){this.dialog=a;this.issueFridge=b;this.eventsForIssueFridge=c;this.errorHandler=d},tqc=function(a,b){var c,d,e,f,h,k,q,t;return fe(function(w){switch(w.nextAddress){case 1:return he(w,(0,W.firstValueFrom)(b),2);case 2:return c=w.yieldResult,(e=(d=c)==null?void 0:d.snapshot[0].hotlistId)&&c?he(w,sqc(a,e),3):w.return();case 3:f=w.yieldResult;if(f==null)return w.return();h=f.added.map(String);k=f.removed.map(String);q=String(c.issueId);ge(w,4,5);return he(w,q8b(a.issueFridge,
q,h,k),5);case 5:ie(w);a.eventsForIssueFridge.poke(q);je(w,0);break;case 4:t=ke(w),wE(a.errorHandler,t),w.jumpTo(5)}})},sqc=function(a,b){var c,d,e,f;return fe(function(h){if(h.nextAddress==1)return c={panelClass:"no-jitter",data:{selectedHotlistIds:b},ariaLabel:"Search for Hotlists"},d=a.dialog.open(xT,c),he(h,(0,W.firstValueFrom)(qI(d)),2);e=h.yieldResult;if(!e)return h.return(Promise.resolve());f=yta(new Set(b),new Set(e));return h.return(Promise.resolve(f))})};
yT.\u0275fac=function(a){return new (a||yT)(n(wI),n(jG),n(rF),n(uE))};yT.\u0275prov=Hc({token:yT,factory:yT.\u0275fac,providedIn:"root"});var zT=function(a,b,c,d,e,f,h,k,q,t,w,B){Z.call(this);var E=this;this.prefsService=a;this.issueFridge=b;this.hotlistFridge=c;this.savedSearchFridge=d;this.hotlistPicker=e;this.issuePicker=f;this.savedSearchPicker=h;this.analytics=k;this.clipboard=q;this.butterBar=t;this.parentIssueSuggestions=w;this.imageUrls=B;this.refreshData=new W.Subject;this.SECTION_SLUG="work-areas-wrapper-card";this.EMPTY_STATE_IMG=this.imageUrls.WORK_AREA_EXAMPLE_ILLUSTRATION;this.inferEntityType=hp;this.makeBuganizerUrl=
KNa;this.makeIlpUrlForParentIssue=LNa;this.getEntityTypeName=JNa;this.extractLastDigits=gp;this.suggestions=[];this.titles={};this.INITIAL_TAB_INDEX=nmc(this.prefsService,"work-areas-wrapper-card");this.workAreaReferences$=this.prefsService.prefs$.pipe(y(function(J){var N;return(N=J==null?void 0:J.workAreaUrls)!=null?N:[]}));this.issues$=this.workAreaReferences$.pipe(y(function(J){return J.filter(function(N){return hp(N)==="issue"})}),y(function(J){return J.map(gp)}),df(pi),y(function(J){return J.filter(lj)}),
pf(this.issueFridge.watchSet));this.hotlists$=this.workAreaReferences$.pipe(y(function(J){return J.filter(function(N){return hp(N)==="hotlist"})}),y(function(J){return J.map(gp)}),df(pi),y(function(J){return J.filter(lj)}),pf(this.hotlistFridge.watchSet));this.savedSearches$=this.workAreaReferences$.pipe(y(function(J){return J.filter(function(N){return hp(N)==="savedsearch"})}),y(function(J){return J.map(gp)}),df(pi),y(function(J){return J.filter(lj)}),pf(this.savedSearchFridge.watchSet));this.issues$.pipe(qf(this.destroyed$)).subscribe(this.updateTitlesForIssues.bind(this));
this.hotlists$.pipe(qf(this.destroyed$)).subscribe(this.updateTitlesForHotlists.bind(this));this.savedSearches$.pipe(qf(this.destroyed$)).subscribe(this.updateTitlesForSavedSearches.bind(this));a=this.workAreaReferences.length;this.analytics.trackEvent("missionControl","display","num-work-areas-"+a,a);var I;a=Object.values((I=this.prefsService.prefs.workAreaQuickFilters)!=null?I:{}).flat();a.length>0&&this.analytics.trackEvent("missionControl","view","workAreas-filters-"+a.join(","));(0,W.timer)(2E3).pipe(pf(function(){return E.parentIssueSuggestions.suggestions$}),
qf(this.destroyed$),ef()).subscribe(function(J){var N=3;N=N===void 0?3:N;if(J.length!==0){var P=J.slice(0,N*2),U=[].concat(r(P));if(!(P.length<=1))for(P=U.length-1;P>0;--P){var ba=Math.floor(Math.random()*(P+1)),ma=U[P];U[P]=U[ba];U[ba]=ma}N=U.slice(0,N);J=J[0];N.includes(J)||(N.pop(),N.unshift(J));J=N}E.suggestions=J;E.workAreaReferences.length===0&&(J=J.length,E.analytics.trackEvent("missionControl","suggestions-shown",String(J),J))})};X(zT,Z);zT.\u0275dir=Z.\u0275dir;
zT.prototype.toggleCollapsed=function(){this.prefsService.toggleCollapsed("work-areas-wrapper-card")};zT.prototype.updateTitlesForIssues=function(a){a=l(a);for(var b=a.next();!b.done;b=a.next()){b=b.value;var c=void 0;this.titles[b.issueId]=(c=b.snapshot[0])==null?void 0:c.title}};zT.prototype.updateTitlesForHotlists=function(a){a=l(a);for(var b=a.next();!b.done;b=a.next())b=b.value,this.titles[ep(b.hotlistId)]=b.name};
zT.prototype.updateTitlesForSavedSearches=function(a){a=l(a);for(var b=a.next();!b.done;b=a.next())b=b.value,this.titles[fp(b.searchId)]=b.name};
var uqc=function(a){var b,c,d,e,f,h,k,q,t;return fe(function(w){if(w.nextAddress==1)return b=a.workAreaReferences.filter(function(B){return hp(B)==="hotlist"}).map(gp).map(Number),he(w,sqc(a.hotlistPicker,b),2);c=w.yieldResult;f=((e=(d=c)==null?void 0:d.added)!=null?e:[]).map(ep);q=((k=(h=c)==null?void 0:h.removed)!=null?k:[]).map(ep);t=a.workAreaReferences.slice();t=EAa(q,t);t=GAa(f,t);Bp(a.prefsService,{workAreaUrls:t});le(w)})},vqc=function(a){var b;return fe(function(c){if(c.nextAddress==1)return he(c,
a.issuePicker.open({title:"Choose a parent issue",allowMultipleIds:!0}),2);b=c.yieldResult;b!=null&&cQ(a.prefsService,b);le(c)})},ZUa=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&&cQ(a.prefsService,b)},wqc=function(a){var b,c,d,e;return fe(function(f){if(f.nextAddress==1)return he(f,a.savedSearchPicker.open(),2);b=f.yieldResult;d=(c=b)!=null?c:[];if(d.length===0)return f.return();e=d.map(fp);
cQ(a.prefsService,e);le(f)})};ea.Object.defineProperties(zT.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")}}});
zT.\u0275fac=function(a){return new (a||zT)(A(bQ),A(jG),A(bF),A(gF),A(yT),A(NS),A(RP),A(bG),A(MH),A(sE),A(dQ),A(VP))};
zT.\u0275cmp=p({type:zT,selectors:[["work-areas-wrapper-card"]],hostVars:4,hostBindings:function(a,b){a&2&&Kf("is-empty",b.isEmpty)("collapsed",b.isCollapsed)},inputs:{refreshData:"refreshData"},features:[zf],decls:19,vars:3,consts:[["addMenu","matMenu"],["emptyState",""],["issueHovercard","onedevHovercard"],["editMenu","matMenu"],[1,"carded","bg-main"],[1,"flex-kids-x","align-items-center"],[1,"heading-s"],["svgIcon","info","tabindex","0","role","button","aria-hidden","false","aria-label","Keeping a close eye on the projects, hotlists, or saved searches that you are focusing on",
"matTooltip","Keeping a close eye on the projects, hotlists, or saved searches that you are focusing on",1,"info","margin-s-left"],["mat-icon-button","","aria-label","Toggle expansion state",1,"gmat-button","small","collapse-btn","margin-s-left",3,"click"],["svgIcon","arrow-up",1,"icon-m"],["mat-stroked-button","","class","gmat-button small add-work-area margin-s-left","title","Add a work area",3,"matMenuTriggerFor",4,"ngIf"],["mat-menu-item","",3,"click"],["gmat-tabs","","class","main-content margin-s-top",
3,"selectedIndex","selectedIndexChange",4,"ngIf","ngIfElse"],["mat-stroked-button","","title","Add a work area",1,"gmat-button","small","add-work-area","margin-s-left",3,"matMenuTriggerFor"],["svgIcon","add",1,"icon-s"],[1,"flex-kids-y","align-items-center","text-align-center","empty-state","main-content"],[1,"inline-block","pos-rel"],["aria-hidden","true","alt","",3,"src"],[4,"ngIf"],[1,"type-l","muted","margin-y","match-image-width"],["mat-flat-button","","color","primary","title","Add a work area",
3,"matMenuTriggerFor"],["svgIcon","add"],[1,"pos-abs","work-area-suggestions"],[1,"unstyled"],["class","elevated rounded padded-s margined-s slide-in","tabindex","0",3,"title","click",4,"ngFor","ngForOf"],["tabindex","0",1,"elevated","rounded","padded-s","margined-s","slide-in",3,"click","title"],[1,"line-clamp-2"],[1,"muted","type-s",3,"onedevHovercardTrigger"],[3,"issueId",4,"ngIf"],[3,"issueId"],["gmat-tabs","",1,"main-content","margin-s-top",3,"selectedIndexChange","selectedIndex"],[4,"ngFor",
"ngForOf"],["mat-tab-label",""],["matTabContent",""],["mat-icon-button","","aria-label","More options","aria-haspopup","true",1,"gmat-button","small","muted","menu-trigger",3,"click","matMenuTriggerFor"],["svgIcon","more-settings-vertical",1,"icon-xs"],["data-test","edit-menu",1,"foo"],["mat-menu-item","","title","View the work area full screen",3,"routerLink"],["mat-menu-item","",3,"click",4,"ngIf"],["mat-menu-item","",3,"click","disabled"],["svgIcon","arrow-backward",1,"icon-s"],["svgIcon","arrow-forward",
1,"icon-s"],["mat-menu-item","",3,"click","title"],["svgIcon","close",1,"icon-s"],["mat-menu-item","","title","View the issue details page",3,"routerLink"],["svgIcon","link",1,"icon-s"],["mat-menu-item","","title","View the search results page for this issue and all descendants",3,"href"],["svgIcon","copy",1,"icon-s"],[1,"margin-top",3,"reference","refreshWorkArea"]],template:function(a,b){if(a&1){var c=u();F(0,"div",4)(1,"header",5)(2,"h3",6);R(3," Work areas ");G();H(4,"mat-icon",7);F(5,"button",
8);M("click",function(){v(c);return x(b.toggleCollapsed())});H(6,"mat-icon",9);G();C(7,XUa,3,1,"button",10);F(8,"mat-menu",null,0)(10,"button",11);M("click",function(){v(c);return x(vqc(b))});R(11,"Issue (parent/child project)");G();F(12,"button",11);M("click",function(){v(c);return x(uqc(b))});R(13,"Hotlist");G();F(14,"button",11);M("click",function(){v(c);return x(wqc(b))});R(15,"Saved Search");G()()();C(16,bVa,9,3,"ng-template",null,1,yg)(18,kVa,2,2,"mat-tab-group",12);G()}a&2&&(a=Q(17),z(7),D("ngIf",
b.workAreaReferences.length>0),z(11),D("ngIf",b.workAreaReferences.length>0)("ngIfElse",a))},dependencies:[Fv,Gv,zB,rB,QL,TL,RL,UL,oE,MP,HM,uM,AM,BM,CM,LH,OH,VN,$H,gI,rT],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%]{margin-top:-3px}.add-work-area.gmat-button[_ngcontent-%COMP%], .add-work-area.gmat-button.gmat-button.gmat-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 AT=function(){};AT.\u0275fac=function(a){return new (a||AT)};AT.\u0275mod=dd({type:AT});AT.\u0275inj=Ic({imports:[BB,ZL,AB,ML,NP,JM,aM,iQ,oT,QP,qT,wN,xP,NL]});qma(rT,[aQ,hQ,XS,vN,sT],[Lv]);var xqc=ph("transform",[sh("open, open-instant",rh({transform:"none",visibility:"visible"})),sh("void",rh({"box-shadow":"none",visibility:"hidden"})),uh("void => open-instant",qh("0ms")),uh("void <=> open, open-instant => void",qh("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))]);var yqc=["*"],zqc=["content"],Aqc=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],Bqc=new md("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:nVa}),Cqc=new md("MAT_DRAWER_CONTAINER"),BT=function(a,b,c,d,e){fx.call(this,c,d,e);this._changeDetectorRef=a;this._container=b};X(BT,fx);BT.\u0275dir=fx.\u0275dir;BT.prototype.ngAfterContentInit=function(){var a=this;this._container._contentMarginChanges.subscribe(function(){a._changeDetectorRef.markForCheck()})};
BT.\u0275fac=function(a){return new (a||BT)(A(Ig),A(Uc(function(){return CT})),A(Rd),A(ex),A(ze))};
BT.\u0275cmp=p({type:BT,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:4,hostBindings:function(a,b){a&2&&Jf("margin-left",b._container._contentMargins.left,"px")("margin-right",b._container._contentMargins.right,"px")},standalone:!0,features:[qg([{provide:fx,useExisting:BT}]),zf,sg],ngContentSelectors:yqc,decls:1,vars:0,template:function(a){a&1&&(Xf(),Yf(0))},encapsulation:2,changeDetection:0});
var DT=function(a,b,c,d,e,f,h,k){var q=this;this._elementRef=a;this._focusTrapFactory=b;this._focusMonitor=c;this._platform=d;this._ngZone=e;this._interactivityChecker=f;this._doc=h;this._container=k;this._elementFocusedBeforeDrawerWasOpened=this._focusTrap=null;this._enableAnimations=!1;this._position="start";this._mode="over";this._opened=this._disableClose=!1;this._animationStarted=new W.Subject;this._animationEnd=new W.Subject;this._animationState="void";this.openedChange=new Xu(!0);this._openedStream=
this.openedChange.pipe(te(function(t){return t}),y(function(){}));this.openedStart=this._animationStarted.pipe(te(function(t){return t.fromState!==t.toState&&t.toState.indexOf("open")===0}),jf());this._closedStream=this.openedChange.pipe(te(function(t){return!t}),y(function(){}));this.closedStart=this._animationStarted.pipe(te(function(t){return t.fromState!==t.toState&&t.toState==="void"}),jf());this._destroyed=new W.Subject;this.onPositionChanged=new Xu;this._modeChanged=new W.Subject;this._injector=
Yc(Ae);this.openedChange.pipe(qf(this._destroyed)).subscribe(function(t){t?(q._doc&&(q._elementFocusedBeforeDrawerWasOpened=q._doc.activeElement),q._takeFocus()):q._isFocusWithinDrawer()&&q._restoreFocus(q._openedVia||"program")});this._ngZone.runOutsideAngular(function(){(0,W.fromEvent)(q._elementRef.nativeElement,"keydown").pipe(te(function(t){return t.keyCode===27&&!q.disableClose&&!$g(t)}),qf(q._destroyed)).subscribe(function(t){return q._ngZone.run(function(){q.close();t.stopPropagation();t.preventDefault()})})});
this._animationEnd.pipe(df(function(t,w){return t.fromState===w.fromState&&t.toState===w.toState})).subscribe(function(t){var w=t.fromState;t=t.toState;(t.indexOf("open")===0&&w==="void"||t==="void"&&w.indexOf("open")===0)&&q.openedChange.emit(q._opened)})};g=DT.prototype;
g._forceFocus=function(a,b){this._interactivityChecker.isFocusable(a)||(a.tabIndex=-1,this._ngZone.runOutsideAngular(function(){var c=function(){a.removeEventListener("blur",c);a.removeEventListener("mousedown",c);a.removeAttribute("tabindex")};a.addEventListener("blur",c);a.addEventListener("mousedown",c)}));a.focus(b)};g._focusByCssSelector=function(a,b){(a=this._elementRef.nativeElement.querySelector(a))&&this._forceFocus(a,b)};
g._takeFocus=function(){var a=this;if(this._focusTrap){var b=this._elementRef.nativeElement;switch(this.autoFocus){case !1:case "dialog":break;case !0:case "first-tabbable":Fe(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?fw(this._focusMonitor,this._elementFocusedBeforeDrawerWasOpened,a):this._elementRef.nativeElement.blur(),this._elementFocusedBeforeDrawerWasOpened=null)};g._isFocusWithinDrawer=function(){var a=this._doc.activeElement;return!!a&&this._elementRef.nativeElement.contains(a)};
g.ngAfterViewInit=function(){this._isAttached=!0;this._position==="end"&&this._updatePositionInParent("end");this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._updateFocusTrapState())};g.ngAfterContentChecked=function(){this._platform.isBrowser&&(this._enableAnimations=!0)};
g.ngOnDestroy=function(){var a;(a=this._focusTrap)==null||a.destroy();var b;(b=this._anchor)==null||b.remove();this._anchor=null;this._animationStarted.complete();this._animationEnd.complete();this._modeChanged.complete();this._destroyed.next();this._destroyed.complete()};g.open=function(a){return this.toggle(!0,a)};g.close=function(){return this.toggle(!1)};g._closeViaBackdropClick=function(){return this._setOpen(!1,!0,"mouse")};
g.toggle=function(a,b){(a=a===void 0?!this.opened:a)&&b&&(this._openedVia=b);b=this._setOpen(a,!a&&this._isFocusWithinDrawer(),this._openedVia||"program");a||(this._openedVia=null);return b};g._setOpen=function(a,b,c){var d=this;(this._opened=a)?this._animationState=this._enableAnimations?"open":"open-instant":(this._animationState="void",b&&this._restoreFocus(c));this._updateFocusTrapState();return new Promise(function(e){d.openedChange.pipe(ef()).subscribe(function(f){return e(f?"open":"close")})})};
g._getWidth=function(){return this._elementRef.nativeElement?this._elementRef.nativeElement.offsetWidth||0:0};g._updateFocusTrapState=function(){if(this._focusTrap){var a;this._focusTrap.enabled=!((a=this._container)==null||!a.hasBackdrop)}};
g._updatePositionInParent=function(a){if(this._platform.isBrowser){var b=this._elementRef.nativeElement,c=b.parentNode;a==="end"?(this._anchor||(this._anchor=this._doc.createComment("mat-drawer-anchor"),c.insertBefore(this._anchor,b)),c.appendChild(b)):this._anchor&&this._anchor.parentNode.insertBefore(b,this._anchor)}};
ea.Object.defineProperties(DT.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=bh(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=bh(a);this._autoFocus=a}},opened:{configurable:!0,enumerable:!0,get:function(){return this._opened},set:function(a){this.toggle(bh(a))}}});DT.\u0275fac=function(a){return new (a||DT)(A(Rd),A(lw),A(ew),A($v),A(ze),A(hw),A(gh,8),A(Cqc,8))};
DT.\u0275cmp=p({type:DT,selectors:[["mat-drawer"]],viewQuery:function(a,b){a&1&&fg(zqc,5);if(a&2){var c;jg(c=kg())&&(b._content=c.first)}},hostAttrs:["tabIndex","-1",1,"mat-drawer"],hostVars:12,hostBindings:function(a,b){a&1&&Wf("@transform.start",function(c){return b._animationStarted.next(c)})("@transform.done",function(c){return b._animationEnd.next(c)});a&2&&(Uf("@transform",b._animationState),Bf("align",null),Kf("mat-drawer-end",b.position==="end")("mat-drawer-over",b.mode==="over")("mat-drawer-push",
b.mode==="push")("mat-drawer-side",b.mode==="side")("mat-drawer-opened",b.opened))},inputs:{position:"position",mode:"mode",disableClose:"disableClose",autoFocus:"autoFocus",opened:"opened"},outputs:{openedChange:"openedChange",_openedStream:"opened",openedStart:"openedStart",_closedStream:"closed",closedStart:"closedStart",onPositionChanged:"positionChanged"},exportAs:["matDrawer"],standalone:!0,features:[sg],ngContentSelectors:yqc,decls:3,vars:0,consts:[["content",""],["cdkScrollable","",1,"mat-drawer-inner-container"]],
template:function(a){a&1&&(Xf(),F(0,"div",1,0),Yf(2),G())},dependencies:[fx],encapsulation:2,data:{animation:[xqc]},changeDetection:0});
var CT=function(a,b,c,d,e,f,h){var k=this;f=f===void 0?!1:f;this._dir=a;this._element=b;this._ngZone=c;this._changeDetectorRef=d;this._animationMode=h;this._drawers=new eg;this.backdropClick=new Xu;this._destroyed=new W.Subject;this._doCheckSubject=new W.Subject;this._contentMargins={left:null,right:null};this._contentMarginChanges=new W.Subject;this._injector=Yc(Ae);a&&a.change.pipe(qf(this._destroyed)).subscribe(function(){k._validateDrawers();ET(k)});e.change().pipe(qf(this._destroyed)).subscribe(function(){return ET(k)});
this._autosize=f};
CT.prototype.ngAfterContentInit=function(){var a=this;this._allDrawers.changes.pipe(of(this._allDrawers),qf(this._destroyed)).subscribe(function(b){a._drawers.reset(b.filter(function(c){return!c._container||c._container===a}));ig(a._drawers)});this._drawers.changes.pipe(of(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))&&ET(a);
a._changeDetectorRef.markForCheck()});this._ngZone.runOutsideAngular(function(){a._doCheckSubject.pipe(bf(10),qf(a._destroyed)).subscribe(function(){return ET(a)})})};CT.prototype.ngOnDestroy=function(){this._contentMarginChanges.complete();this._doCheckSubject.complete();this._drawers.destroy();this._destroyed.next();this._destroyed.complete()};CT.prototype.open=function(){this._drawers.forEach(function(a){return a.open()})};CT.prototype.close=function(){this._drawers.forEach(function(a){return a.close()})};
var ET=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=CT.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(te(function(c){return c.fromState!==c.toState}),qf(this._drawers.changes)).subscribe(function(c){c.toState!=="open-instant"&&b._animationMode!=="NoopAnimations"&&b._element.nativeElement.classList.add("mat-drawer-transition");ET(b);b._changeDetectorRef.markForCheck()});a.mode!=="side"&&a.openedChange.pipe(qf(this._drawers.changes)).subscribe(function(){return b._setContainerClass(a.opened)})};
g._watchDrawerPosition=function(a){var b=this;a&&a.onPositionChanged.pipe(qf(this._drawers.changes)).subscribe(function(){Fe(function(){b._validateDrawers()},{injector:b._injector,phase:3})})};g._watchDrawerMode=function(a){var b=this;a&&a._modeChanged.pipe(qf((0,W.merge)(this._drawers.changes,this._destroyed))).subscribe(function(){ET(b);b._changeDetectorRef.markForCheck()})};g._setContainerClass=function(a){var b=this._element.nativeElement.classList;a?b.add("mat-drawer-container-has-open"):b.remove("mat-drawer-container-has-open")};
g._validateDrawers=function(){var a=this;this._start=this._end=null;this._drawers.forEach(function(b){b.position=="end"?a._end=b:a._start=b});this._right=this._left=null;this._dir&&this._dir.value==="rtl"?(this._left=this._end,this._right=this._start):(this._left=this._start,this._right=this._end)};g._isPushed=function(){return this._isDrawerOpen(this._start)&&this._start.mode!="over"||this._isDrawerOpen(this._end)&&this._end.mode!="over"};
g._onBackdropClicked=function(){this.backdropClick.emit();this._closeModalDrawersViaBackdrop()};g._closeModalDrawersViaBackdrop=function(){var a=this;[this._start,this._end].filter(function(b){return b&&!b.disableClose&&a._drawerHasBackdrop(b)}).forEach(function(b){return b._closeViaBackdropClick()})};g._isShowingBackdrop=function(){return this._isDrawerOpen(this._start)&&this._drawerHasBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._drawerHasBackdrop(this._end)};
g._isDrawerOpen=function(a){return a!=null&&a.opened};g._drawerHasBackdrop=function(a){return this._backdropOverride==null?!!a&&a.mode!=="side":this._backdropOverride};
ea.Object.defineProperties(CT.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=bh(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:bh(a)}},scrollable:{configurable:!0,
enumerable:!0,get:function(){return this._userContent||this._content}}});CT.\u0275fac=function(a){return new (a||CT)(A(Uw,8),A(Rd),A(ze),A(Ig),A(ix),A(Bqc),A(vu,8))};
CT.\u0275cmp=p({type:CT,selectors:[["mat-drawer-container"]],contentQueries:function(a,b,c){a&1&&(gg(c,BT,5),gg(c,DT,5));if(a&2){var d;jg(d=kg())&&(b._content=d.first);jg(d=kg())&&(b._allDrawers=d)}},viewQuery:function(a,b){a&1&&fg(BT,5);if(a&2){var c;jg(c=kg())&&(b._userContent=c.first)}},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(a,b){a&2&&Kf("mat-drawer-container-explicit-backdrop",b._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},
exportAs:["matDrawerContainer"],standalone:!0,features:[qg([{provide:Cqc,useExisting:CT}]),sg],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&&(Xf(Aqc),C(0,lVa,1,2,"div",0),Yf(1),Yf(2,1),C(3,mVa,2,0,"mat-drawer-content"));a&2&&(Of(b.hasBackdrop?0:-1),z(3),Of(b._content?-1:3))},dependencies:[BT],styles:['.mat-drawer-container{position:relative;z-index:1;color:var(--mat-sidenav-content-text-color);background-color:var(--mat-sidenav-content-background-color);box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible;background-color:var(--mat-sidenav-scrim-color)}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;color:var(--mat-sidenav-container-text-color);box-shadow:var(--mat-sidenav-container-elevation-shadow);background-color:var(--mat-sidenav-container-background-color);border-top-right-radius:var(--mat-sidenav-container-shape);border-bottom-right-radius:var(--mat-sidenav-container-shape);width:var(--mat-sidenav-container-width);display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0);border-top-left-radius:var(--mat-sidenav-container-shape);border-bottom-left-radius:var(--mat-sidenav-container-shape);border-top-right-radius:0;border-bottom-right-radius:0}[dir=rtl] .mat-drawer{border-top-left-radius:var(--mat-sidenav-container-shape);border-bottom-left-radius:var(--mat-sidenav-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{border-top-right-radius:var(--mat-sidenav-container-shape);border-bottom-right-radius:var(--mat-sidenav-container-shape);border-top-left-radius:0;border-bottom-left-radius:0;left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer[style*="visibility: hidden"]{display:none}.mat-drawer-side{box-shadow:none;border-right-color:var(--mat-sidenav-container-divider-color);border-right-width:1px;border-right-style:solid}.mat-drawer-side.mat-drawer-end{border-left-color:var(--mat-sidenav-container-divider-color);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side{border-left-color:var(--mat-sidenav-container-divider-color);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side.mat-drawer-end{border-right-color:var(--mat-sidenav-container-divider-color);border-right-width:1px;border-right-style:solid;border-left:none}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}\n'],
encapsulation:2,changeDetection:0});var Dqc=["*"],Eqc=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],FT=function(a,b,c,d,e){BT.call(this,a,b,c,d,e)};X(FT,BT);FT.\u0275dir=BT.\u0275dir;FT.\u0275fac=function(a){return new (a||FT)(A(Ig),A(Uc(function(){return GT})),A(Rd),A(ex),A(ze))};
FT.\u0275cmp=p({type:FT,selectors:[["mat-sidenav-content"]],hostAttrs:[1,"mat-drawer-content","mat-sidenav-content"],hostVars:4,hostBindings:function(a,b){a&2&&Jf("margin-left",b._container._contentMargins.left,"px")("margin-right",b._container._contentMargins.right,"px")},standalone:!0,features:[qg([{provide:fx,useExisting:FT}]),zf,sg],ngContentSelectors:Dqc,decls:1,vars:0,template:function(a){a&1&&(Xf(),Yf(0))},encapsulation:2,changeDetection:0});
var HT=function(){DT.apply(this,arguments);this._fixedInViewport=!1;this._fixedBottomGap=this._fixedTopGap=0};X(HT,DT);
ea.Object.defineProperties(HT.prototype,{fixedInViewport:{configurable:!0,enumerable:!0,get:function(){return this._fixedInViewport},set:function(a){this._fixedInViewport=bh(a)}},fixedTopGap:{configurable:!0,enumerable:!0,get:function(){return this._fixedTopGap},set:function(a){this._fixedTopGap=eh(a)}},fixedBottomGap:{configurable:!0,enumerable:!0,get:function(){return this._fixedBottomGap},set:function(a){this._fixedBottomGap=eh(a)}}});
HT.\u0275fac=function(){var a;return function(b){return(a||(a=Od(HT)))(b||HT)}}();
HT.\u0275cmp=p({type:HT,selectors:[["mat-sidenav"]],hostAttrs:["tabIndex","-1",1,"mat-drawer","mat-sidenav"],hostVars:17,hostBindings:function(a,b){a&2&&(Bf("align",null),Jf("top",b.fixedInViewport?b.fixedTopGap:null,"px")("bottom",b.fixedInViewport?b.fixedBottomGap:null,"px"),Kf("mat-drawer-end",b.position==="end")("mat-drawer-over",b.mode==="over")("mat-drawer-push",b.mode==="push")("mat-drawer-side",b.mode==="side")("mat-drawer-opened",b.opened)("mat-sidenav-fixed",b.fixedInViewport))},inputs:{fixedInViewport:"fixedInViewport",
fixedTopGap:"fixedTopGap",fixedBottomGap:"fixedBottomGap"},exportAs:["matSidenav"],standalone:!0,features:[zf,sg],ngContentSelectors:Dqc,decls:3,vars:0,consts:[["content",""],["cdkScrollable","",1,"mat-drawer-inner-container"]],template:function(a){a&1&&(Xf(),F(0,"div",1,0),Yf(2),G())},dependencies:[fx],encapsulation:2,data:{animation:[xqc]},changeDetection:0});var GT=function(){CT.apply(this,arguments);this._content=this._allDrawers=void 0};X(GT,CT);
GT.\u0275fac=function(){var a;return function(b){return(a||(a=Od(GT)))(b||GT)}}();
GT.\u0275cmp=p({type:GT,selectors:[["mat-sidenav-container"]],contentQueries:function(a,b,c){a&1&&(gg(c,FT,5),gg(c,HT,5));if(a&2){var d;jg(d=kg())&&(b._content=d.first);jg(d=kg())&&(b._allDrawers=d)}},hostAttrs:[1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(a,b){a&2&&Kf("mat-drawer-container-explicit-backdrop",b._backdropOverride)},exportAs:["matSidenavContainer"],standalone:!0,features:[qg([{provide:Cqc,useExisting:GT}]),zf,sg],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&&(Xf(Eqc),C(0,oVa,1,2,"div",0),Yf(1),Yf(2,1),C(3,pVa,2,0,"mat-sidenav-content"));a&2&&(Of(b.hasBackdrop?0:-1),z(3),Of(b._content?-1:3))},dependencies:[FT],styles:['.mat-drawer-container{position:relative;z-index:1;color:var(--mat-sidenav-content-text-color);background-color:var(--mat-sidenav-content-background-color);box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible;background-color:var(--mat-sidenav-scrim-color)}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;color:var(--mat-sidenav-container-text-color);box-shadow:var(--mat-sidenav-container-elevation-shadow);background-color:var(--mat-sidenav-container-background-color);border-top-right-radius:var(--mat-sidenav-container-shape);border-bottom-right-radius:var(--mat-sidenav-container-shape);width:var(--mat-sidenav-container-width);display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0);border-top-left-radius:var(--mat-sidenav-container-shape);border-bottom-left-radius:var(--mat-sidenav-container-shape);border-top-right-radius:0;border-bottom-right-radius:0}[dir=rtl] .mat-drawer{border-top-left-radius:var(--mat-sidenav-container-shape);border-bottom-left-radius:var(--mat-sidenav-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{border-top-right-radius:var(--mat-sidenav-container-shape);border-bottom-right-radius:var(--mat-sidenav-container-shape);border-top-left-radius:0;border-bottom-left-radius:0;left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer[style*="visibility: hidden"]{display:none}.mat-drawer-side{box-shadow:none;border-right-color:var(--mat-sidenav-container-divider-color);border-right-width:1px;border-right-style:solid}.mat-drawer-side.mat-drawer-end{border-left-color:var(--mat-sidenav-container-divider-color);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side{border-left-color:var(--mat-sidenav-container-divider-color);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side.mat-drawer-end{border-right-color:var(--mat-sidenav-container-divider-color);border-right-width:1px;border-right-style:solid;border-left:none}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}\n'],
encapsulation:2,changeDetection:0});var IT=function(){};IT.\u0275fac=function(a){return new (a||IT)};IT.\u0275mod=dd({type:IT});IT.\u0275inj=Ic({imports:[zx,jx,jx,zx]});var JT=function(){};JT.\u0275fac=function(a){return new (a||JT)};JT.\u0275mod=dd({type:JT});JT.\u0275inj=Ic({imports:[BB,My,sM,JM,aM,ML,IT,Ny,wN,AS,AT]});var KT=function(a,b,c){this.activatedRoute=a;this.appSearchState=b;this.teamFridge=c;this.ROUTES=zo;this.id$=this.activatedRoute.params.pipe(y(function(d){return d.teamId}));this.team$=this.id$.pipe(pf(this.teamFridge.watchOne));this.query$=this.id$.pipe(y(function(d){return"teamid:"+d+"+"}));this.isSidebarOpen=!1};KT.prototype.ngOnInit=function(){var a=this;setTimeout(function(){a.appSearchState.clear()})};KT.\u0275fac=function(a){return new (a||KT)(A(ai),A(xH),A(lH))};
KT.\u0275cmp=p({type:KT,selectors:[["ng-component"]],decls:30,vars:10,consts:[[1,"pos-fill","overflow","overflow-on-print-media"],[1,"border-bottom","padded-sides"],[1,"left","flex-kids-x","align-items-center"],["mat-icon-button","","aria-label","Back to Triage Dashboard",3,"href"],[3,"title"],[1,"muted"],["hasBackdrop","false"],["position","end","mode","over",3,"opened"],["gmat-tabs","",1,""],["label","New"],["mat-button","",1,"gmat-button",3,"click"],[1,"padded-s",3,"searchString","prefKey"],["label",
"Confirmed"],["label","In progress"],["label","Fixed"],["label","Won't fix"],["color","primary","svgIcon","arrow-backward"]],template:function(a,b){a&1&&(F(0,"div",0)(1,"header",1)(2,"div",2),C(3,qVa,2,1,"a",3),T(4,"async"),F(5,"h2"),R(6," Triage: "),C(7,rVa,2,2,"span",4),T(8,"async"),C(9,sVa,3,3,"code",5),G()()(),F(10,"mat-sidenav-container",6)(11,"mat-sidenav",7),H(12,"issue-triage-sidebar"),G(),F(13,"mat-sidenav-content")(14,"mat-tab-group",8)(15,"mat-tab",9)(16,"button",10),M("click",function(){return b.isSidebarOpen=
!b.isSidebarOpen}),R(17,"Toggle sidebar"),G(),C(18,tVa,1,2,"one-work-area-list",11),T(19,"async"),G(),F(20,"mat-tab",12),R(21," ^ WANT "),H(22,"br"),R(23," TABS or PICKERS with at least 1 number stat "),G(),F(24,"mat-tab",13),R(25,"b"),G(),F(26,"mat-tab",14),R(27,"c"),G(),F(28,"mat-tab",15),R(29,"d"),G()()()()());if(a&2){var c,d,e;z(3);Of((c=V(4,4,b.id$))?3:-1,c);z(4);Of((d=V(8,6,b.team$))?7:9,d);z(4);D("opened",b.isSidebarOpen);z(7);Of((e=V(19,8,b.query$))?18:-1,e)}},dependencies:[zB,HM,BM,CM,nA,
oE,pE,HT,GT,FT,sT,Lv],styles:["/*# sourceMappingURL=triage_phase.css.map */"]});var LT=function(){};LT.\u0275fac=function(a){return new (a||LT)};LT.\u0275mod=dd({type:LT});LT.\u0275inj=Ic({imports:[BB,My,sM,JM,aM,CB,ML,IT,Ny,wN,AS,AT]});var MT=function(){};MT.\u0275fac=function(a){return new (a||MT)};MT.\u0275mod=dd({type:MT});MT.\u0275inj=Ic({imports:[BB,My,sM,JM,aM,ML,IT,Ny,wN,AS,JT,LT,AT]});var NT=function(){this.roundCorners=this.showDividers=!1};NT.\u0275fac=function(a){return new (a||NT)};
NT.\u0275cmp=p({type:NT,selectors:[["b-button-group"]],hostVars:4,hostBindings:function(a,b){a&2&&Kf("show-dividers",b.showDividers)("round-corners",b.roundCorners)},inputs:{showDividers:"showDividers",roundCorners:"roundCorners"},ngContentSelectors:["*"],decls:1,vars:0,template:function(a){a&1&&(Xf(),Yf(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 OT=function(a,b){this.constants=a;this.activeSession=b;this.ISSUE_TYPES=iac;this.STATUS_JS_FULL_TEXT=Mm;this.STATUSES=hac;this.SEVERITIES_VALUES=jac;this.PRIORITIES_VALUES=gac;this.enableBulkEstimatedEffortOption=!1;this.onBulkEdit=new XF;this.onQuickBulkEdit=new XF;this.onBulkEditIssueRelation=new XF;this.onBulkMarkIssueRead=new XF;this.isAnonymous=this.activeSession.isAnonymous();this.enableBulkEditUi=!this.activeSession.userRequiresCaptcha()};OT.prototype.bulkEdit=function(a){this.onBulkEdit.emit(a)};
OT.prototype.quickBulkEdit=function(a,b){this.onQuickBulkEdit.emit({field:a,newValue:b})};OT.prototype.bulkEditIssueRelation=function(a,b){this.onBulkEditIssueRelation.emit({issueRelation:a,isMarking:b===void 0?!0:b})};OT.prototype.bulkMarkIssueRead=function(){this.onBulkMarkIssueRead.emit()};var Fqc=function(a){return a.ISSUE_TYPES.filter(function(b){return b!=="VULNERABILITY"})};OT.\u0275fac=function(a){return new (a||OT)(A(JI),A(Ir))};
OT.\u0275cmp=p({type:OT,selectors:[["b-app-bar-bulk-edit-menus"]],inputs:{readStatePrompt:"readStatePrompt",enableBulkEstimatedEffortOption:"enableBulkEstimatedEffortOption"},outputs:{onBulkEdit:"onBulkEdit",onQuickBulkEdit:"onQuickBulkEdit",onBulkEditIssueRelation:"onBulkEditIssueRelation",onBulkMarkIssueRead:"onBulkMarkIssueRead"},decls:92,vars:16,consts:[["editMenu","matMenu"],["prioritySubmenu","matMenu"],["severitySubmenu","matMenu"],["statusSubmenu","matMenu"],["typeSubmenu","matMenu"],["ArchiveSubmenu",
"matMenu"],["inProdSubmenu","matMenu"],["linkMenu","matMenu"],["ccMenu","matMenu"],["mat-button","","class","medium",3,"disabled","matMenuTriggerFor",4,"ngIf"],["mat-button","",1,"medium",3,"click","disabled"],["mat-menu-item","",3,"click"],["mat-menu-item","",3,"matMenuTriggerFor"],["mat-menu-item","",3,"click",4,"ngIf"],["mat-menu-item","",3,"click",4,"ngFor","ngForOf"],["mat-menu-item","",3,"matTooltip","click",4,"ngFor","ngForOf"],["mat-button","",1,"medium",3,"disabled","matMenuTriggerFor"],
["name","arrow-dropdown","size","small"],["mat-menu-item","",3,"click","matTooltip"]],template:function(a,b){if(a&1){var c=u();F(0,"b-button-group");C(1,uVa,4,2,"button",9);F(2,"button",10);M("click",function(){v(c);return x(b.bulkMarkIssueRead())});R(3);G();C(4,vVa,4,2,"button",9)(5,wVa,4,2,"button",9);G();F(6,"mat-menu",null,0)(8,"button",11);M("click",function(){v(c);return x(b.bulkEdit("ASSIGNEE"))});R(9,"Assignee");G();F(10,"button",11);M("click",function(){v(c);return x(b.bulkEdit("COMPONENT"))});
R(11,"Component");G();F(12,"button",12);R(13,"Priority");G();F(14,"button",12);R(15,"Severity");G();F(16,"button",12);R(17,"Status");G();F(18,"button",12);R(19,"Type");G();F(20,"button",11);M("click",function(){v(c);return x(b.bulkEdit("VERIFIER"))});R(21,"Verifier");G();F(22,"button",11);M("click",function(){v(c);return x(b.bulkEdit("REPORTER"))});R(23,"Reporter");G();F(24,"button",11);M("click",function(){v(c);return x(b.bulkEdit("CHANGELIST"))});R(25,"Changelist");G();F(26,"button",11);M("click",
function(){v(c);return x(b.bulkEdit("CUSTOM_FIELDS"))});R(27,"Custom Fields");G();F(28,"button",12);R(29," Archival state ");G();F(30,"button",11);M("click",function(){v(c);return x(b.bulkEdit("FOUND_IN"))});R(31,"Found In");G();F(32,"button",11);M("click",function(){v(c);return x(b.bulkEdit("SLO_START_TIME"))});R(33,"SLO Start Time");G();C(34,xVa,2,0,"button",13);F(35,"button",11);M("click",function(){v(c);return x(b.bulkEdit("VERIFIED_IN"))});R(36,"Verified In");G();F(37,"button",11);M("click",
function(){v(c);return x(b.bulkEdit("TARGETED_TO"))});R(38,"Targeted To");G();F(39,"button",12);R(40,"In Prod");G();H(41,"mat-divider");F(42,"button",11);M("click",function(){v(c);return x(b.bulkEdit("COMMENT"))});R(43,"Add Comment");G()();F(44,"mat-menu",null,1);C(46,yVa,2,1,"button",14);G();F(47,"mat-menu",null,2);C(49,zVa,2,1,"button",14);G();F(50,"mat-menu",null,3);C(52,AVa,2,1,"button",14);G();F(53,"mat-menu",null,4);C(55,BVa,2,2,"button",15);G();F(56,"mat-menu",null,5)(58,"button",11);M("click",
function(){v(c);return x(b.quickBulkEdit("IS_ARCHIVED",!0))});R(59,"Archive");G();F(60,"button",11);M("click",function(){v(c);return x(b.quickBulkEdit("IS_ARCHIVED",!1))});R(61,"Unarchive");G()();F(62,"mat-menu",null,6)(64,"button",11);M("click",function(){v(c);return x(b.quickBulkEdit("IN_PROD",!0))});R(65,"In Prod");G();F(66,"button",11);M("click",function(){v(c);return x(b.quickBulkEdit("IN_PROD",!1))});R(67,"Not in Prod");G()();F(68,"mat-menu",null,7)(70,"button",11);M("click",function(){v(c);
return x(b.bulkEditIssueRelation("BLOCKED_BY",!0))});R(71,"Mark as Blocked By");G();F(72,"button",11);M("click",function(){v(c);return x(b.bulkEditIssueRelation("BLOCKING",!0))});R(73,"Mark as Blocking");G();F(74,"button",11);M("click",function(){v(c);return x(b.bulkEditIssueRelation("PARENT",!0))});R(75,"Add Parent");G();F(76,"button",11);M("click",function(){v(c);return x(b.bulkEditIssueRelation("DUPLICATE"))});R(77,"Duplicate");G();F(78,"button",11);M("click",function(){v(c);return x(b.bulkEditIssueRelation("BLOCKED_BY",
!1))});R(79,"Unmark as Blocked By");G();F(80,"button",11);M("click",function(){v(c);return x(b.bulkEditIssueRelation("BLOCKING",!1))});R(81,"Unmark as Blocking");G();F(82,"button",11);M("click",function(){v(c);return x(b.bulkEditIssueRelation("PARENT",!1))});R(83,"Remove Parent");G()();F(84,"mat-menu",null,8)(86,"button",11);M("click",function(){v(c);return x(b.quickBulkEdit("CC",!0))});R(87,"CC me");G();F(88,"button",11);M("click",function(){v(c);return x(b.quickBulkEdit("CC",!1))});R(89,"Un-CC me");
G();F(90,"button",11);M("click",function(){v(c);return x(b.bulkEdit("CC"))});R(91,"Edit CC");G()()}if(a&2){a=Q(45);var d=Q(48),e=Q(51),f=Q(54),h=Q(57),k=Q(63);z();D("ngIf",b.enableBulkEditUi);z();D("disabled",b.isAnonymous);z();S(" ",b.readStatePrompt," ");z();D("ngIf",b.enableBulkEditUi);z();D("ngIf",b.enableBulkEditUi);z(7);D("matMenuTriggerFor",a);z(2);D("matMenuTriggerFor",d);z(2);D("matMenuTriggerFor",e);z(2);D("matMenuTriggerFor",f);z(10);D("matMenuTriggerFor",h);z(6);D("ngIf",b.enableBulkEstimatedEffortOption);
z(5);D("matMenuTriggerFor",k);z(7);D("ngForOf",b.PRIORITIES_VALUES);z(3);D("ngForOf",b.SEVERITIES_VALUES);z(3);D("ngForOf",b.STATUSES);z(3);D("ngForOf",Fqc(b))}},dependencies:[QL,TL,RL,UL,Fv,Gv,hN,NT,IH,Rx,MP,LH,OH],encapsulation:2,changeDetection:0});var PT=function(a){this.activeSession=a;this.showFlagIssuesAsSpam=this.showExportCsv=!1;this.exportCsvClicked=new XF;this.flagAsSpamClicked=new XF;this.isAnonymous=this.activeSession.isAnonymous()};PT.\u0275fac=function(a){return new (a||PT)(A(Ir))};
PT.\u0275cmp=p({type:PT,selectors:[["b-app-bar-more-menu"]],inputs:{showExportCsv:"showExportCsv",showFlagIssuesAsSpam:"showFlagIssuesAsSpam"},outputs:{exportCsvClicked:"exportCsvClicked",flagAsSpamClicked:"flagAsSpamClicked"},decls:1,vars:1,consts:[["moreMenu","matMenu"],[4,"ngIf"],["mat-button","",1,"medium",3,"disabled","matMenuTriggerFor"],["name","arrow-dropdown","size","small"],["mat-menu-item","",3,"click",4,"ngIf"],["mat-menu-item","",3,"click"]],template:function(a,b){a&1&&C(0,EVa,9,4,"ng-container",
1);a&2&&D("ngIf",b.showExportCsv||b.showFlagIssuesAsSpam)},dependencies:[QL,TL,RL,UL,Gv,hN,IH,Rx],encapsulation:2,changeDetection:0});var QT=function(){};QT.\u0275fac=function(a){return new (a||QT)};QT.\u0275mod=dd({type:QT});QT.\u0275inj=Ic({imports:[BB]});var RT=function(){};RT.\u0275fac=function(a){return new (a||RT)};RT.\u0275mod=dd({type:RT});RT.\u0275inj=Ic({imports:[ZL,BB,jN,QT,dJ,NP,aM]});var Gqc=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 Hqc=function(){};Hqc.prototype.cachedOptions_=null;Hqc.prototype.getOptions=function(){return this.cachedOptions_||(this.cachedOptions_=this.internalGetOptions())};var Iqc,Jqc=function(){};Mt(Jqc,Hqc);Jqc.prototype.createInstance=function(){return new XMLHttpRequest};Jqc.prototype.internalGetOptions=function(){return{}};Iqc=new Jqc;var Bq=function(a){Xo.call(this);this.headers=new Map;this.xmlHttpFactory_=a||null;this.active_=!1;this.xhrOptions_=this.xhr_=null;this.lastUri_="";this.lastErrorCode_=0;this.lastError_="";this.inAbort_=this.inOpen_=this.inSend_=this.errorDispatched_=!1;this.timeoutInterval_=0;this.timeoutId_=null;this.responseType_="";this.withCredentials_=!1;this.attributionReportingOptions_=this.trustToken_=null};Mt(Bq,Xo);
var Kqc=/^https?$/i,Lqc=["POST","PUT"],Mqc=[],SZa=function(a,b,c,d,e,f,h){var k=new Bq;Mqc.push(k);b&&k.listen("complete",b);k.listenOnce("ready",k.cleanupSend_);f&&(k.timeoutInterval_=Math.max(0,f));h&&(k.withCredentials_=h);k.send(a,c,d,e);return k};g=Bq.prototype;g.cleanupSend_=function(){this.dispose();Va(Mqc,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("de`"+this.lastUri_+"`"+a);b=b?b.toUpperCase():"GET";this.lastUri_=a;this.lastError_="";this.lastErrorCode_=0;this.errorDispatched_=!1;this.active_=!0;this.xhr_=this.createXhr();this.xhrOptions_=this.xmlHttpFactory_?this.xmlHttpFactory_.getOptions():Iqc.getOptions();this.xhr_.onreadystatechange=Kt(this.onReadyStateChange_,this);try{this.inOpen_=!0,this.xhr_.open(b,String(a),!0),this.inOpen_=!1}catch(h){this.error_(5,h);return}a=c||"";c=new Map(this.headers);
if(d)if(Object.getPrototypeOf(d)===Object.prototype)for(var e in d)c.set(e,d[e]);else if(typeof d.keys==="function"&&typeof d.get==="function"){e=l(d.keys());for(var f=e.next();!f.done;f=e.next())f=f.value,c.set(f,d.get(f))}else throw Error("ee`"+String(d));d=Array.from(c.keys()).find(function(h){return"content-type"==h.toLowerCase()});e=Aa.FormData&&a instanceof Aa.FormData;!Ta(Lqc,b)||d||e||c.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8");b=l(c);for(d=b.next();!d.done;d=b.next())c=
l(d.value),d=c.next().value,c=c.next().value,this.xhr_.setRequestHeader(d,c);this.responseType_&&(this.xhr_.responseType=this.responseType_);"withCredentials"in this.xhr_&&this.xhr_.withCredentials!==this.withCredentials_&&(this.xhr_.withCredentials=this.withCredentials_);if("setTrustToken"in this.xhr_&&this.trustToken_)try{this.xhr_.setTrustToken(this.trustToken_)}catch(h){}if("setAttributionReporting"in this.xhr_&&this.attributionReportingOptions_)try{this.xhr_.setAttributionReporting(this.attributionReportingOptions_)}catch(h){}try{Nqc(this),
this.timeoutInterval_>0&&(this.timeoutId_=Cq(this.timeout_,this.timeoutInterval_,this)),this.inSend_=!0,this.xhr_.send(a),this.inSend_=!1}catch(h){this.error_(5,h)}};g.createXhr=function(){return this.xmlHttpFactory_?this.xmlHttpFactory_.createInstance():Iqc.createInstance()};g.timeout_=function(){typeof UQb!="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;Oqc(this);Pqc(this)};var Oqc=function(a){a.errorDispatched_||(a.errorDispatched_=!0,a.dispatchEvent("complete"),a.dispatchEvent("error"))};Bq.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"),Pqc(this))};
Bq.prototype.disposeInternal=function(){this.xhr_&&(this.active_&&(this.active_=!1,this.inAbort_=!0,this.xhr_.abort(),this.inAbort_=!1),Pqc(this,!0));Bq.superClass_.disposeInternal.call(this)};Bq.prototype.onReadyStateChange_=function(){if(!this.isDisposed())if(this.inOpen_||this.inSend_||this.inAbort_)Qqc(this);else this.onReadyStateChangeEntryPoint_()};Bq.prototype.onReadyStateChangeEntryPoint_=function(){Qqc(this)};
var Qqc=function(a){if(a.active_&&typeof UQb!="undefined"&&(!a.xhrOptions_[1]||a.getReadyState()!=4||a.getStatus()!=2))if(a.inSend_&&a.getReadyState()==4)Cq(a.onReadyStateChange_,0,a);else if(a.dispatchEvent("readystatechange"),a.isComplete()){a.active_=!1;try{if(a.isSuccess())a.dispatchEvent("complete"),a.dispatchEvent("success");else{a.lastErrorCode_=6;try{var b=a.getReadyState()>2?a.xhr_.statusText:""}catch(c){b=""}a.lastError_=b+" ["+a.getStatus()+"]";Oqc(a)}}finally{Pqc(a)}}},Pqc=function(a,
b){if(a.xhr_){Nqc(a);var c=a.xhr_,d=a.xhrOptions_[0]?function(){}:null;a.xhr_=null;a.xhrOptions_=null;b||a.dispatchEvent("ready");try{c.onreadystatechange=d}catch(e){}}},Nqc=function(a){a.timeoutId_&&(Dq(a.timeoutId_),a.timeoutId_=null)};g=Bq.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(Ebc)[1]||null,!a&&Aa.self&&Aa.self.location&&(a=Aa.self.location.protocol.slice(0,-1)),a=!Kqc.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(Aa.JSON)try{var c=Aa.JSON.parse(a);break a}catch(d){}c=jhc(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(!Hp(b[c])){var d=PSb(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 Xda(a,function(h){return h.join(", ")})};var sq=function(a,b){return a.xhr_?a.xhr_.getResponseHeader(b):null};Bq.prototype.getLastErrorCode=function(){return this.lastErrorCode_};
Bq.prototype.getLastError=function(){return typeof this.lastError_==="string"?this.lastError_:String(this.lastError_)};QZb(function(a){Bq.prototype.onReadyStateChangeEntryPoint_=a(Bq.prototype.onReadyStateChangeEntryPoint_)});var ST=function(a,b,c){var d=this;this.activeSession=a;this.connectionChecker=b;this.ssoInterceptorState=c;this.notifyUserAndWaitForGoodConnection$=new W.Observable(function(e){d.ssoInterceptorState.showRefreshSso$.next(!0);var f=d.watchForRestoredConnection$.subscribe(e);d.watchForRestoredConnection$.subscribe(function(){d.ssoInterceptorState.showRefreshSso$.next(!1)});return function(){f.unsubscribe()}});this.watchForRestoredConnection$=(0,W.fromEvent)(window,"focus").pipe(pf(function(){return d.connectionChecker.ok$}),
te(function(e){return e}),ef(),y(function(){}),uka())};ST.prototype.intercept=function(a,b){return this.activeSession.getFlag("enableRefreshSsoPopup")&&a.url&&a.url.startsWith("action/")?Rqc(this,b,a):b.handle(a)};
var Rqc=function(a,b,c){return new W.Observable(function(d){var e=b.handle(c).subscribe({next:function(h){d.next(h)},complete:function(){d.complete()},error:function(h){Sqc(a,b,c,h).pipe(qf(f)).subscribe(d)}}),f=new W.ReplaySubject(1);return function(){f.next();e.unsubscribe()}})},Sqc=function(a,b,c,d){return d.status===403||d.status===404||d.status===429?(0,W.throwError)(function(){return d}):a.connectionChecker.ok$.pipe(pf(function(e){return e?(0,W.throwError)(function(){return d}):a.notifyUserAndWaitForGoodConnection$.pipe(pf(function(){return b.handle(c)}))}))};
ST.\u0275fac=function(a){return new (a||ST)(n(Ir),n(TT),n(UT))};ST.\u0275prov=Hc({token:ST,factory:ST.\u0275fac,providedIn:"root"});var UT=function(){this.showRefreshSso$=new W.BehaviorSubject(!1)};UT.\u0275fac=function(a){return new (a||UT)};UT.\u0275prov=Hc({token:UT,factory:UT.\u0275fac,providedIn:"root"});
var TT=function(a){var b=this;this.ngZone=a;this.ok$=new W.Observable(function(c){var d=SZa("action/yes",function(){b.ngZone.run(function(){d.isSuccess()?c.next(d.getResponseText()==="yes"):c.next(!1);c.complete()})});return function(){d.dispose()}})};TT.\u0275fac=function(a){return new (a||TT)(n(ze))};TT.\u0275prov=Hc({token:TT,factory:TT.\u0275fac,providedIn:"root"});var Tqc={provide:WA,useClass:ST,multi:!0};var Uqc=function(a,b){this.activeSession=a;this.isAnonymous=this.activeSession.isAnonymous();this.showRefreshSsoMessage$=b.showRefreshSso$};Uqc.\u0275fac=function(a){return new (a||Uqc)(A(Ir),A(UT))};
Uqc.\u0275cmp=p({type:Uqc,selectors:[["b-sso-expired-callout-outlet"]],decls:2,vars:3,consts:[["signedInMessage",""],["format","app",3,"messageType",4,"ngIf"],["format","app",3,"messageType"],[4,"ngIf","ngIfElse"],["mat-flat-button","",3,"click",4,"ngIf"],["mat-flat-button","",3,"click"]],template:function(a,b){a&1&&(C(0,KVa,7,4,"b-callout",1),T(1,"async"));a&2&&D("ngIf",V(1,1,b.showRefreshSsoMessage$))},dependencies:[Gv,MQ,NQ,oE,Lv],encapsulation:2,changeDetection:0});var Vqc=function(a,b,c){var d=this;this.session=a;this.principalTypes=b;this.cdr=c;this.showHiringBanner=!1;this.session.getFlag("weAreHiring")&&QG(this.principalTypes,this.session.getUserEmail(),!0).then(function(e){d.showHiringBanner=e.detailedUserType==="UNRESTRICTED_GOOGLER";d.cdr.detectChanges()}).catch(function(){})};Vqc.\u0275fac=function(a){return new (a||Vqc)(A(Ir),A(PG),A(YF,2))};
Vqc.\u0275cmp=p({type:Vqc,selectors:[["b-hiring-banner"]],features:[qg([YF])],decls:1,vars:1,consts:[["class","hiring-banner","title","See jobs related to Buganizer","href","http://goto.google.com/buganizer-hiring","target","_blank",4,"ngIf"],["title","See jobs related to Buganizer","href","http://goto.google.com/buganizer-hiring","target","_blank",1,"hiring-banner"]],template:function(a,b){a&1&&C(0,LVa,2,0,"a",0);a&2&&D("ngIf",b.showHiringBanner)},dependencies:[Gv],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 VT=function(){};VT.\u0275fac=function(a){return new (a||VT)};VT.\u0275mod=dd({type:VT});VT.\u0275inj=Ic({imports:[BB]});var WT=function(a){this.hotkeys=a};WT.prototype.ngOnInit=function(){this.hotkeys.pause()};WT.prototype.ngOnDestroy=function(){this.hotkeys.unpause()};WT.\u0275fac=function(a){return new (a||WT)(A(KN))};
WT.\u0275cmp=p({type:WT,selectors:[["b-hotkeys-dialog"]],decls:8,vars:1,consts:[["mat-dialog-title",""],[4,"ngFor","ngForOf"],["mat-button","","mat-dialog-close","","type","button",1,"medium","primary"],["colspan","2"],[1,"bv2-hotkeys-header"],[1,"bv2-hotkeys-key"],[1,"bv2-hotkeys-value"]],template:function(a,b){a&1&&(F(0,"h1",0),R(1,"Keyboard shortcuts"),G(),F(2,"mat-dialog-content")(3,"table"),C(4,NVa,6,2,"thead",1),G()(),F(5,"mat-dialog-actions")(6,"button",2),R(7,"Close"),G()());a&2&&(z(4),D("ngForOf",
jgc(b.hotkeys)))},dependencies:[Fv,IH,Rx,xI,zI,BI,AI],encapsulation:2});var XT=function(){};XT.\u0275fac=function(a){return new (a||XT)};XT.\u0275mod=dd({type:XT});XT.\u0275inj=Ic({imports:[BB,dJ,fJ]});var Ep=function(a){this.type=a.type;this.customFieldId=a.customFieldId||void 0;this.customFieldName=a.customFieldName||void 0};Ep.prototype.isCustomField=function(){return this.type==="CUSTOM_FIELD"};Ep.prototype.toApiUrlParam=function(){return this.isCustomField()?this.type.toLowerCase()+"."+this.customFieldId:this.type.toLowerCase()};Ep.prototype.toString=function(){return this.toApiUrlParam()};var Ip=function(a,b){this.fieldId=a;this.direction=b};Ip.prototype.toApiUrlParam=function(){return this.fieldId.toApiUrlParam()+":"+(this.direction==="ASCENDING"?"asc":"desc")};Ip.prototype.toString=function(){return this.toApiUrlParam()};var QVa=function(){this.assignee=this.reporter=this.team=null;this.assigneeEmail=void 0;this.verifier=null;this.verifierEmail=void 0;this.duplicateOfIssueId=this.inProd=this.verifiedInVersion=this.targetedToVersion=this.foundInVersion=this.lastViewedTime=this.verifiedTime=this.resolvedTime=this.blockedByIssueId=this.blockingIssueId=this.hotlistId=this.postmortem=this.changelist=this.collaborator=this.cc=null;this.customFieldMap={};this.customFieldNameToIdMap={};this.customFieldValueMap={};this.lastModifier=
this.ccCount=this.collaboratorCount=this.duplicateCount=this.voteCount=null;this.isClosed=this.isRead=this.selected=!1;this.issueAccessLevel=this.sloEndTime=this.sloStartTime=this.sloStatus=this.position=this.effort=null};var YT=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 W.BehaviorSubject(this)},
Wqc=function(a,b){var c=b.positionMap||{},d=b.issues.map(function(e){var f=SVa(e,null);c&&c[e.issueId]&&(f.position=c[e.issueId]);return f});return new YT(d,a,b)};YT.prototype.hasPreviousPage=function(){return this.params.page>1};YT.prototype.hasNextPage=function(){return!!this.responseMetadata.nextPageToken};
var ZT=function(a,b){var c=a.issues.findIndex(function(d){return d.issueId===b});return c!==-1?c+a.startIndex:-1},Xqc=function(a,b){b=l(b);for(var c=b.next();!c.done;c=b.next()){var d=c.value;c=d.issue;d=d.component;var e=ZT(a,c.issueId);e!==-1&&(e-=a.startIndex,RVa(a.issues[e],c,d))}a.changed$.next(a)},Yqc=function(a,b,c,d){b=ZT(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)};YT.prototype.clone=function(){var a=new YT(this.internalIssues,this.params,this.responseMetadata);a.changed$.next(a);return a};ea.Object.defineProperties(YT.prototype,{issues:{configurable:!0,enumerable:!0,get:function(){return this.internalIssues},set:function(a){this.internalIssues=a;this.changed$.next(this)}}});var $T=function(a,b,c){this.issueApi=a;this.hotlistApi=b;this.paths=c};$T.prototype.create=function(a){return new Zqc(this.issueApi,this.hotlistApi,this.paths,a)};$T.\u0275fac=function(a){return new (a||$T)(n(PD),n(RE),n(pN))};$T.\u0275prov=Hc({token:$T,factory:$T.\u0275fac,providedIn:"root"});
var Zqc=function(a,b,c,d){this.issueApi=a;this.hotlistApi=b;this.paths=c;this.params=d;this.resultPromise=this.searchResultsPage=null},aU=function(a){if(a.params.page<1)return Promise.reject(Error("ge"));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=gKa(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=Wqc(a.params,e));return a.searchResultsPage},function(e){return Promise.reject(e)})},$qc=function(a){return a.searchResultsPage?a.searchResultsPage.hasNextPage():!0};var bU=function(a,b){this.$window=a;this.searchResultsPageFetcherFactory=b;this.previousResultsFetcher=this.nextResultsFetcher=this.currentResultsFetcher=null;this.focusedIssueIndex=-1},crc=function(a,b){var c=Wm();arc(b.page)?(brc(a,b),aU(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},erc=function(a){var b=Wm(),c=null;a.currentResultsFetcher?c=a.currentResultsFetcher.params:c=drc(a);
c?(brc(a,c),aU(a.currentResultsFetcher).then(function(d){b.resolve(d)},function(d){b.reject(d)})):b.reject("No related search results available.");return b.promise},frc=function(a){a.currentResultsFetcher=null;a.nextResultsFetcher=null;a.previousResultsFetcher=null;a.focusedIssueIndex=-1},grc=function(a,b){var c=Wm();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=qi(a.currentResultsFetcher.params);e.page=d;brc(a,e);aU(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};bU.prototype.getFocusedIssue=function(){return this.focusedIssueIndex};
var hrc=function(a){a.currentResultsFetcher?aU(a.currentResultsFetcher).then(function(b){a.focusedIssueIndex=b.endIndex>=b.startIndex?b.startIndex:-1}).catch(function(b){Ei("unexpected error fetching:",b)}):a.focusedIssueIndex=-1},drc=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 Ip(new Ep(b.fieldId),b.direction)}));return a}return null},
irc=function(a,b,c){b=qi(b);b.page=c;return a.searchResultsPageFetcherFactory.create(b)},jrc=function(a,b){a.currentResultsFetcher||(a.currentResultsFetcher=irc(a,b,b.page),aU(a.currentResultsFetcher).catch(function(c){Ei("unexpected error fetching:",c)}));!a.previousResultsFetcher&&b.page>1&&(a.previousResultsFetcher=irc(a,b,b.page-1),aU(a.previousResultsFetcher).catch(function(c){Ei("unexpected error fetching:",c)}));!a.nextResultsFetcher&&$qc(a.currentResultsFetcher)&&(a.nextResultsFetcher=irc(a,
b,b.page+1),aU(a.nextResultsFetcher).catch(function(c){Ei("unexpected error fetching:",c)}))},brc=function(a,b){b.page=vi(b.page);if(!b.resultsPerPage||isNaN(b.resultsPerPage))throw Error("he");a.previousResultsFetcher&&b.page===a.previousResultsFetcher.params.page?(a.nextResultsFetcher=a.currentResultsFetcher,a.currentResultsFetcher=a.previousResultsFetcher,a.previousResultsFetcher=null):a.nextResultsFetcher&&b.page===a.nextResultsFetcher.params.page&&(a.previousResultsFetcher=a.currentResultsFetcher,
a.currentResultsFetcher=a.nextResultsFetcher,a.nextResultsFetcher=null);if(a.currentResultsFetcher){var c=a.currentResultsFetcher.params;b.page===c.page&&b.query===c.query&&pi(b.sortColumns,c.sortColumns)&&b.resultsPerPage===c.resultsPerPage&&pi(b.trackerIds,c.trackerIds)?a.currentResultsFetcher.params.returnUrl=b.returnUrl:frc(a)}jrc(a,b);b=JSON.stringify(a.currentResultsFetcher.params);a.$window.sessionStorage.setItem("buganizer.searchParams",b)},arc=function(a){var b=vi(""+a);return isNaN(b)||
b!=Number(a)||b<1||b>2147483647?!1:!0};bU.\u0275fac=function(a){return new (a||bU)(n(EH),n($T))};bU.\u0275prov=Hc({token:bU,factory:bU.\u0275fac,providedIn:"root"});var cU=function(a,b){this.$window=a;this.activeSession=b};cU.prototype.setTitle=function(a){a=Jp(a,this.activeSession.session);this.$window.document.title=a};cU.\u0275fac=function(a){return new (a||cU)(n(EH),n(Ir))};cU.\u0275prov=Hc({token:cU,factory:cU.\u0275fac,providedIn:"root"});var dU=function(a,b,c,d){Z.call(this);var e=this;this.paramsService=a;this.issueFridge=b;this.pageTitle=c;this.accessIndicatorService=d;this.newTitle$=this.paramsService.routeParams$.pipe(df(pi),pf(function(f){return e.onRouteParamsChanged(f)}));this.init=function(){e.subscriptions.add(e.newTitle$.subscribe(function(f){e.pageTitle.setTitle(f)}))};this.initOnce=Pn(this.init)};X(dU,Z);dU.\u0275dir=Z.\u0275dir;dU.prototype.onRouteParamsChanged=function(a){return a.issueId?krc(this,a.issueId):(0,W.of)()};
var krc=function(a,b){return(0,W.combineLatest)([a.issueFridge.watch(b),Jgc(a.accessIndicatorService,b).pipe(of(void 0),$e(function(){return(0,W.of)(void 0)}))]).pipe(of([void 0,void 0]),y(function(c){c=l(c);var d=c.next().value;c=c.next().value;d=d==null?void 0:d.snapshot[0].title;if(!d)return"View issue";d=d+" ["+b+"]";if(c==null?0:c.displayText)d=d+" - "+c.displayText;return d}))};dU.\u0275fac=function(a){return new (a||dU)(n(vH),n(jG),n(cU),n(SN))};
dU.\u0275prov=Hc({token:dU,factory:dU.\u0275fac,providedIn:"root"});var orc=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(lrc(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(),
mrc(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);lrc(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();mrc(this);nrc(this)};orc.prototype.start=function(){this.parentElement.appendChild(this.element);requestAnimationFrame(this.animate)};
orc.prototype.stop=function(){this.state=2;mrc(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 nrc=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)}};
orc.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 mrc=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"},lrc=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};orc.prototype.transform=function(){this.element.style.transform="translate("+this.x+"px,"+this.y+"px) rotate("+(this.direction+90)%360+"deg) scaleX("+this.flip};var prc=function(a){this.element=a;this.bugs=[]};prc.prototype.start=function(){for(var a=this,b=0;b<3;b++)qrc(this);this.intervalSubscription=(0,W.interval)(1E4).subscribe(function(){qrc(a);a.bugs.length>=10&&a.intervalSubscription&&a.intervalSubscription.unsubscribe()})};prc.prototype.stop=function(){this.intervalSubscription&&this.intervalSubscription.unsubscribe();for(var a=l(this.bugs),b=a.next();!b.done;b=a.next())b.value.stop();this.bugs=[]};
var qrc=function(a){var b=new orc(a.element);b.start();a.bugs.push(b)};var eU=function(a,b,c,d){var e=this;this.ngZone=a;this.userPreferencesManager=b;this.snackBar=c;this.destroyed$=new W.ReplaySubject(1);this.active$=new W.BehaviorSubject(!0);this.lastTimeoutResetTimestamp=Number.NEGATIVE_INFINITY;this.bugAnimation=new prc(d.nativeElement);this.active$.pipe(qf(this.destroyed$),df()).subscribe(function(f){f?rrc(e):src(e)})};eU.prototype.ngOnInit=function(){document.visibilityState==="visible"&&trc(this)};eU.prototype.ngOnDestroy=function(){this.destroyed$.next()};
var trc=function(a){a.timeoutId=setTimeout(function(){a.active$.next(!1)},18E4)};eU.prototype.onUserEvent=function(){var a=Date.now();a<this.lastTimeoutResetTimestamp+1E4||(this.lastTimeoutResetTimestamp=a,this.active$.next(!0),clearTimeout(this.timeoutId),trc(this))};eU.prototype.onVisibilityChange=function(){this.onUserEvent();switch(document.visibilityState){case "hidden":clearTimeout(this.timeoutId),this.lastTimeoutResetTimestamp=Number.NEGATIVE_INFINITY}};
var src=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()})},rrc=function(a){a.ngZone.runOutsideAngular(function(){a.bugAnimation.stop()})};
eU.\u0275fac=function(a){return new (a||eU)(A(ze),A(rH),A(XD),A(Rd))};
eU.\u0275cmp=p({type:eU,selectors:[["bug-screensaver"]],hostBindings:function(a,b){a&1&&M("click",function(){return b.onUserEvent()},!1,Ud)("keydown",function(){return b.onUserEvent()},!1,Ud)("mousemove",function(){return b.onUserEvent()},!1,Ud)("wheel",function(){return b.onUserEvent()},!1,Ud)("touchstart",function(){return b.onUserEvent()},!1,Ud)("focus",function(){return b.onUserEvent()},!1,Ud)("visibilitychange",function(){return b.onVisibilityChange()},!1,Gga)},decls:0,vars:0,template:function(){},
encapsulation:2});var urc=function(a,b){var c=b.isInternalSession();this.isEnabled$=a.bugScreensaverSubject$.pipe(y(function(d){return(d.enableBugScreensaver||!1)&&c}))};urc.\u0275fac=function(a){return new (a||urc)(A(rH),A(Ir))};urc.\u0275cmp=p({type:urc,selectors:[["bug-screensaver-manager"]],decls:2,vars:3,consts:[[4,"ngIf"]],template:function(a,b){a&1&&(C(0,TVa,1,0,"bug-screensaver",0),T(1,"async"));a&2&&D("ngIf",V(1,1,b.isEnabled$))},dependencies:[Gv,eU,Lv],encapsulation:2});var fU=function(){};fU.\u0275fac=function(a){return new (a||fU)};fU.\u0275mod=dd({type:fU});fU.\u0275inj=Ic({imports:[BB,sM,YS,yS]});var vrc=function(a){this.activeSession=a;this.currentTracker=this.activeSession.getTracker();var b,c;this.trackerName=(c=(b=this.currentTracker)==null?void 0:b.name)!=null?c:"";var d,e,f;this.trackerLogo=(f=(d=this.currentTracker)==null?void 0:(e=d.branding)==null?void 0:e.logoUrl)!=null?f:"";var h,k,q;this.trackerCoc=(q=(h=this.currentTracker)==null?void 0:(k=h.branding)==null?void 0:k.cocUrl)!=null?q:""};vrc.\u0275fac=function(a){return new (a||vrc)(A(Ir))};
vrc.\u0275cmp=p({type:vrc,selectors:[["b-footer"]],decls:1,vars:1,consts:[[4,"ngIf"],["alt","",1,"logo",3,"src"],[1,"title"],[1,"padded-s-sides"],["href","https://policies.google.com/privacy","target","_blank"],["href","https://policies.google.com/terms","target","_blank"],["id","code-of-conduct","target","_blank",3,"href"]],template:function(a,b){a&1&&C(0,VVa,14,3,"footer",0);a&2&&D("ngIf",b.currentTracker)},dependencies:[Gv],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 gU=function(){};gU.\u0275fac=function(a){return new (a||gU)};gU.\u0275mod=dd({type:gU});gU.\u0275inj=Ic({imports:[BB]});var hU=function(a,b,c,d){var e=this;this.paths=a;this.context=b;this.activeSession=c;this.componentFridge=d;this.createIssuePath=this.paths.createIssue();this.currentTracker=this.activeSession.getTracker();this.component$=this.context.getComponentId().pipe(pf(function(k){return k?e.componentFridge.watch(k):(0,W.of)(void 0)}),y(function(k){return k&&!k.archived?k:void 0}));this.visibleOptions$=(0,W.combineLatest)([this.component$,this.context.getIssueId(),this.context.getHotlistId()]).pipe(cf(0),y(function(k){var q=
l(k);k=q.next().value;var t=q.next().value;q=q.next().value;return wrc(e,e.currentTracker,k,t,q)}));this.buttonLabel$=this.visibleOptions$.pipe(y(function(k){return k.length?"Create":"Create Issue"}));var f,h;this.buttonIcon=((f=this.currentTracker)==null?void 0:(h=f.branding)==null?void 0:h.theme)==="OPEN_SOURCE"?"create-open-source-36px":"create-color-36px"};hU.prototype.ngOnInit=function(){};hU.prototype.trackClick=function(a){Gn("create","click",a)};
var wrc=function(a,b,c,d,e){var f=new Map;b=b&&c&&b.trackerId&&b.trackerId!==c.trackerId;c=(c==null?0:c.componentId)?String(c.componentId):void 0;if(e!==null){var h={};f.set("in_same_hotlist",a.paths.createIssue((h.hotlistIds=String(e),h)))}b||c===void 0||(e={},f.set("in_same_component",a.paths.createIssue((e.component=c,e))));b||d===null||(e={},f.set("similar_to_current_issue",a.paths.createIssue((e.template_issue=d,e))),e={},f.set("blocked_by_current_issue",a.paths.createIssue((e.blockedByIssueIds=
d,e.component=c,e))),e={},f.set("blocking_current_issue",a.paths.createIssue((e.blockingIssueIds=d,e.component=c,e))),e={},f.set("parent_of_current_issue",a.paths.createIssue((e.childrenIssueIds=d,e.component=c,e))),e={},f.set("child_of_current_issue",a.paths.createIssue((e.parentIssueId=d,e.component=c,e))));return[].concat(r(f.entries())).map(function(k){var q=l(k);k=q.next().value;q=q.next().value;return{name:ZGa(k),path:q}})};hU.\u0275fac=function(a){return new (a||hU)(A(pN),A(wH),A(Ir),A(CC))};
hU.\u0275cmp=p({type:hU,selectors:[["b-create-issue-button"]],decls:2,vars:3,consts:[[4,"ngIf"],[3,"clickMain","clickSegment","label","icon","href","segments"]],template:function(a,b){a&1&&(C(0,XVa,3,3,"ng-container",0),T(1,"async"));a&2&&D("ngIf",V(1,1,b.visibleOptions$))},dependencies:[Gv,WL,Lv],encapsulation:2,changeDetection:0});var iU=function(a,b){this.router=a;this.location=b},Bqb=function(a){var b=a.location.getUrl();qr(a.router,"/",{skipLocationChange:!0}).then(function(){return qr(a.router,b,{skipLocationChange:!0})})};iU.\u0275fac=function(a){return new (a||iU)(n(pB),n(oN))};iU.\u0275prov=Hc({token:iU,factory:iU.\u0275fac,providedIn:"root"});var jU=function(a,b,c,d,e,f,h,k,q,t,w){Z.call(this);var B=this;this.reloadService=a;this.activeSession=b;this.userApi=c;this.errorHandler=d;this.bLocation=e;this.paths=f;this.issuePagination=h;this.sidebarItemFactory=k;this.appEvents=q;this.analytics=t;this.currentUserBookmarksFridge=w;this.sidebarData={hotlists:[],bookmarkGroups:[],archivedHotlists:[],archivedBookmarkGroups:[],userSearches:[]};this.userSavedSearches=[];this.userHotlists=[];this.activeSession.getFlag("enableLeanFeF")&&(this.subscriptions.add(iF(this.currentUserBookmarksFridge).subscribe(function(E){xrc(B,
E);B.appEvents.sidebarUpdated.next()})),this.subscriptions.add(kF(this.currentUserBookmarksFridge).subscribe(function(E){yrc(B,E);B.appEvents.sidebarUpdated.next()})),this.subscriptions.add(jF(this.currentUserBookmarksFridge).subscribe(function(E){zrc(B,E);B.appEvents.sidebarUpdated.next()})));Arc(this);Brc(this);this.fetchUserHotlists();a=function(){Arc(B)};this.subscriptions.add(this.appEvents.hotlistCreated.subscribe(a));this.subscriptions.add(this.appEvents.hotlistChanged.subscribe(a));this.subscriptions.add(this.appEvents.bookmarkGroupModified.subscribe(a));
this.subscriptions.add(this.appEvents.savedSearchModified.subscribe(a));this.subscriptions.add(this.appEvents.savedSearchModified.subscribe(function(){Brc(B)}));a=function(){B.fetchUserHotlists()};this.subscriptions.add(this.appEvents.hotlistCreated.subscribe(a));this.subscriptions.add(this.appEvents.hotlistChanged.subscribe(a))};X(jU,Z);jU.\u0275dir=Z.\u0275dir;
var Arc=function(a){a.activeSession.getFlag("enableLeanFeF")||a.userApi.getUserSidebar().then(function(b){xrc(a,b);a.appEvents.sidebarUpdated.next()}).catch(function(b){a.errorHandler.errorHandler(null,b)})},Brc=function(a){a.activeSession.getFlag("enableLeanFeF")||a.userApi.getUserSavedSearches().then(function(b){yrc(a,b);a.appEvents.sidebarUpdated.next()}).catch(function(b){a.errorHandler.errorHandler(null,b)})};
jU.prototype.fetchUserHotlists=function(){var a=this;this.activeSession.getFlag("enableLeanFeF")||this.userApi.getUserHotlists().then(function(b){zrc(a,b);a.appEvents.sidebarUpdated.next()}).catch(function(b){a.errorHandler.errorHandler(null,b)})};
var xrc=function(a,b){a.sidebarData.hotlists=Crc(a,b.hotlists);a.sidebarData.bookmarkGroups=Drc(a,b.bookmarkGroups);a.sidebarData.archivedHotlists=Crc(a,b.archivedHotlists);a.sidebarData.archivedBookmarkGroups=Drc(a,b.archivedBookmarkGroups)},Crc=function(a,b){return b.map(function(c){return Erc(a.sidebarItemFactory,c)}).sort(function(c,d){return c.name.localeCompare(d.name)})},Drc=function(a,b){return b.map(function(c){var d=a.sidebarItemFactory;return new Frc(c,d.activeSession,d.analytics,d.userApi,
d.bookmarkGroupsApi,d.butterBar,d.paths,d.userPreferencesManager,d.errorHandler,d,d.confirmationDialogService,d.appEvents)})},yrc=function(a,b){b=Grc(a,b);a.sidebarData.userSearches=b;Fba(a.userSavedSearches);Gba(a.userSavedSearches,b)},Grc=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 Hrc(a.sidebarItemFactory,c)})},zrc=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 Erc(a.sidebarItemFactory,c)});Fba(a.userHotlists);Gba(a.userHotlists,b)};
jU.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||(frc(this.issuePagination),Mfc(this.paths,a)&&Bqb(this.reloadService),this.bLocation.setUrl(a),b.preventDefault(),b.stopPropagation())};jU.\u0275fac=function(a){return new (a||jU)(n(iU),n(Ir),n(aF),n(uE),n(oN),n(pN),n(bU),n(kU),n(yE),n(bG),n(hF))};
jU.\u0275prov=Hc({token:jU,factory:jU.\u0275fac,providedIn:"root"});var lU=function(a,b,c,d,e,f,h,k){this.item=a;this.analytics=c;this.userApi=d;this.bookmarkGroupsApi=e;this.butterBar=f;this.paths=h;this.userPreferencesManager=k;this.id=a.id;this.name=a.name;this.description=a.description;this.adminUsers=a.adminUsers;this.starred=a.starred;this.userEmail=b.getUserEmail()};
lU.prototype.getDisplayName=function(){return this.item.name?this.item.name:"resourceType"in this.item?Ai(this.item.resourceType.toLowerCase())+" "+this.item.id:this.item.id};lU.prototype.isEditable=function(){return Irc(this)};lU.prototype.isSelected=function(){var a=this.paths,b=this.href;b=b.charAt(0)!=="/"?"/"+b:b;return a.bLocation.path()===b};lU.prototype.isUnstarable=function(){return!Irc(this)&&this.starred};
var Irc=function(a){return a.adminUsers.some(function(b){return b.emailAddress===a.userEmail})},Jrc=function(a,b){var c=sH(a.userPreferencesManager).homepagePreferences;return(c==null?void 0:c.resourceId)===a.id&&c.resourceType===b},Krc=function(a,b){Ap(a.butterBar,"Updating homepage...",0);q9b(a.userPreferencesManager,{resourceType:b,resourceId:a.id}).pipe(ef()).subscribe(function(){Ap(a.butterBar,"Homepage updated")})},Lrc=function(a,b,c,d,e,f,h,k,q,t,w,B){lU.call(this,a,b,c,d,e,h,k,q);this.hotlistApi=
f;this.errorHandler=t;this.confirmationDialogService=w;this.appEvents=B;this.href=zo.viewHotlist.makeHref(a.id);this.type="HOTLIST"};X(Lrc,lU);g=Lrc.prototype;g.isPreferredHomepage=function(){return Jrc(this,"HOTLIST")};g.setAsPreferredHomepage=function(){Krc(this,"HOTLIST")};
g.archive=function(){var a=this;Ap(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});Ap(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;Ap(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});Ap(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:wh("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;Ap(this.butterBar,"Unstarring hotlist ID "+this.id+"...");this.userApi.removeUserBookmark({resourceType:"HOTLIST",resourceId:this.id}).then(function(){Ap(a.butterBar,"Unstarred hotlist ID "+a.id);a.appEvents.hotlistChanged.next()}).catch(function(b){a.errorHandler.errorHandler(null,b)})};var mU=function(a,b,c,d,e,f,h,k){lU.call(this,a,b,c,d,e,f,h,k);this.href=h.viewSavedSearch(a.id);this.type="SAVED_SEARCH"};X(mU,lU);mU.prototype.isUnstarable=function(){return!1};
mU.prototype.unstar=function(){};mU.prototype.isPreferredHomepage=function(){return Jrc(this,"SAVED_SEARCH")};mU.prototype.setAsPreferredHomepage=function(){Krc(this,"SAVED_SEARCH")};
var Frc=function(a,b,c,d,e,f,h,k,q,t,w,B){lU.call(this,a,b,c,d,e,f,h,k);this.errorHandler=q;this.sidebarItemFactory=t;this.confirmationDialogService=w;this.appEvents=B;this.items=[];a=l(a.sublinks||[]);for(b=a.next();!b.done;b=a.next())switch(b=b.value,b.resourceType){case "HOTLIST":this.items.push(Erc(this.sidebarItemFactory,b));break;case "SAVED_SEARCH":this.items.push(Hrc(this.sidebarItemFactory,b))}this.items.sort(function(E,I){return E.name.localeCompare(I.name)})};X(Frc,lU);g=Frc.prototype;
g.isPreferredHomepage=function(){return Jrc(this,"BOOKMARK_GROUP")};g.setAsPreferredHomepage=function(){Krc(this,"BOOKMARK_GROUP")};
g.archive=function(){var a=this;Ap(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});Ap(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;Ap(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});Ap(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:wh("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;Ap(this.butterBar,"Unstarring bookmark group ID "+this.id+"...");this.userApi.removeUserBookmark({resourceType:"BOOKMARK_GROUP",resourceId:this.id}).then(function(){Ap(a.butterBar,"Unstarred bookmark group ID "+a.id);a.appEvents.bookmarkGroupModified.next()}).catch(function(b){a.errorHandler.errorHandler(null,b)})};
var kU=function(a,b,c,d,e,f,h,k,q,t,w){this.activeSession=a;this.userApi=b;this.bookmarkGroupsApi=c;this.hotlistApi=d;this.errorHandler=e;this.paths=f;this.analytics=h;this.butterBar=k;this.userPreferencesManager=q;this.confirmationDialogService=t;this.appEvents=w},Erc=function(a,b){return new Lrc(b,a.activeSession,a.analytics,a.userApi,a.bookmarkGroupsApi,a.hotlistApi,a.butterBar,a.paths,a.userPreferencesManager,a.errorHandler,a.confirmationDialogService,a.appEvents)},Hrc=function(a,b){return new mU(b,
a.activeSession,a.analytics,a.userApi,a.bookmarkGroupsApi,a.butterBar,a.paths,a.userPreferencesManager)};kU.\u0275fac=function(a){return new (a||kU)(n(Ir),n(aF),n(cC),n(RE),n(uE),n(pN),n(bG),n(sE),n(rH),n(EI),n(yE))};kU.\u0275prov=Hc({token:kU,factory:kU.\u0275fac,providedIn:"root"});var nU=function(a){this.prefs=a;this.expanded=!0;this.content=this.header=null};nU.prototype.ngOnInit=function(){this.prefKey&&(this.expanded=!s9b(this.prefs,this.prefKey))};nU.prototype.onClick=function(){var a=this,b,c;return fe(function(d){b=!a.expanded;a.expanded=b;if(!a.prefKey)return d.jumpTo(0);c={};return he(d,(0,W.firstValueFrom)(r9b(a.prefs,(c[a.prefKey]=!b,c))),0)})};nU.\u0275fac=function(a){return new (a||nU)(A(rH))};
nU.\u0275cmp=p({type:nU,selectors:[["sidebar-zippy"]],inputs:{expanded:"expanded",header:"header",content:"content",prefKey:"prefKey"},decls:3,vars:7,consts:[["tabindex","0","role","tab",1,"bv2-nav-expandable-header",3,"click","keydown.enter","keydown.space"],[4,"ngTemplateOutlet"],[4,"ngIf"]],template:function(a,b){a&1&&(F(0,"div",0),M("click",function(){return b.onClick()})("keydown.enter",function(c){b.onClick();return c.stopPropagation()})("keydown.space",function(c){b.onClick();return c.preventDefault()}),
C(1,YVa,1,0,"ng-container",1),G(),C(2,$Va,2,1,"ng-container",2));a&2&&(Kf("opened",b.expanded)("closed",!b.expanded),Bf("aria-expanded",b.expanded),z(),D("ngTemplateOutlet",b.header),z(),D("ngIf",b.expanded))},dependencies:[Gv,Kv],encapsulation:2});var oU=function(a,b,c,d){this.location=a;this.analytics=b;this.paths=c;this.sidebar=d;this.bookmarkGroups=[];this.hotlists=[]};g=oU.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(Bo(zo.viewDashboard.routeDeclarationPath,{id:a}))};g.openEditHotlist=function(a){this.location.setUrl(zo.editHotlist.makeHref(a))};
g.openEditBookmarkGroup=function(a){this.location.setUrl(this.paths.editBookmarkGroup(a))};g.onAnchorClick=function(a,b){this.sidebar.onAnchorClick(a,b)};oU.\u0275fac=function(a){return new (a||oU)(A(oN),A(bG),A(pN),A(jU))};
oU.\u0275cmp=p({type:oU,selectors:[["sidebar-archived"]],inputs:{bookmarkGroups:"bookmarkGroups",hotlists:"hotlists"},decls:1,vars:1,consts:[["zippyHeader",""],["zippyContent",""],["bgZippyHeader",""],["bgZippyContent",""],["groupMenu",""],["hotlistMenu",""],[4,"ngIf"],["prefKey","nav-archived",3,"header","content"],[1,"archived-list"],[3,"title",4,"ngFor","ngForOf"],["class","bv2-nav-item bv2-user-hotlists-hotlist-item",3,"selected","id","title",4,"ngFor","ngForOf"],[3,"title"],[3,"header","content"],
[1,"bv2-nav-item","bv2-nav-bookmark-group"],[1,"bv2-nav-item-text"],["mat-icon-button","","disableRipple","true","aria-label","Bookmark group actions","class","bv2-nav-item-menubutton keep-focus-ring",3,"matMenuTriggerFor","click",4,"ngIf"],["matMenuContent",""],["mat-icon-button","","disableRipple","true","aria-label","Bookmark group actions",1,"bv2-nav-item-menubutton","keep-focus-ring",3,"click","matMenuTriggerFor"],["svgIcon","more-settings-vertical"],["mat-menu-item","",1,"bv2-user-hotlists-edit-menuitem",
3,"click"],["mat-menu-item","","class","bv2-user-hotlists-edit-menuitem",3,"click",4,"ngIf"],[1,"bv2-nav-links-no-indent","bookmark-group-content-list"],["class","bv2-nav-item",3,"selected-indented","bv2-bookmark-group-hotlist-item","bv2-bookmark-group-saved-search-item","title",4,"ngFor","ngForOf"],[1,"bv2-nav-item",3,"title"],[1,"bv2-nav-indented",3,"click","href"],[1,"bv2-nav-item","bv2-user-hotlists-hotlist-item",3,"id","title"],[3,"click","href"],["mat-icon-button","","disableRipple","true",
"aria-label","Hotlist actions","class","bv2-nav-item-menubutton keep-focus-ring",3,"matMenuTriggerFor",4,"ngIf"],["mat-icon-button","","disableRipple","true","aria-label","Hotlist actions",1,"bv2-nav-item-menubutton","keep-focus-ring",3,"matMenuTriggerFor"]],template:function(a,b){a&1&&C(0,pWa,7,2,"div",6);a&2&&D("ngIf",b.hotlists.length||b.bookmarkGroups.length)},dependencies:[Fv,Gv,zB,oE,QL,TL,RL,SL,UL,nU],encapsulation:2,changeDetection:0});var pU=function(){this.admins=[]};pU.prototype.ngOnInit=function(){this.url="bookmark-groups/"+this.bookmarkGroup.bookmarkGroupId;this.admins=qm(this.bookmarkGroup.adminUsers)};pU.\u0275fac=function(a){return new (a||pU)};
pU.\u0275cmp=p({type:pU,selectors:[["b-bookmark-group-card"]],inputs:{bookmarkGroup:"bookmarkGroup"},decls:14,vars:6,consts:[["role","dialog","aria-label","Bookmark group hovercard",1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],[1,"bookmark-group-card"],["target","_blank",3,"href"]],template:function(a,b){a&1&&(F(0,"div",0)(1,"div",1)(2,"div",2)(3,"h3")(4,"a",3),R(5),G()(),F(6,"ul")(7,"li"),R(8),G(),F(9,"li"),R(10),G()(),F(11,"div")(12,"p"),R(13),G()()()()());a&2&&(z(4),D("href",b.url,
Qe),z(),lg(b.bookmarkGroup.name),z(3),S("ID: ",b.bookmarkGroup.bookmarkGroupId,""),z(2),mg("",b.admins.length===1?"Admin":"Admins",": ",b.admins.join(", "),""),z(3),lg(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 qU=function(){this.admins=[]};qU.prototype.ngOnInit=function(){this.url="hotlists/"+this.hotlist.hotlistId;this.admins=qm(this.hotlist.adminUsers)};qU.\u0275fac=function(a){return new (a||qU)};
qU.\u0275cmp=p({type:qU,selectors:[["b-hotlist-card"]],inputs:{hotlist:"hotlist"},decls:14,vars:6,consts:[[1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],[1,"hotlist-card"],["target","_blank",3,"href"]],template:function(a,b){a&1&&(F(0,"div",0)(1,"div",1)(2,"div",2)(3,"h3")(4,"a",3),R(5),G()(),F(6,"ul")(7,"li"),R(8),G(),F(9,"li"),R(10),G()(),F(11,"div")(12,"p"),R(13),G()()()()());a&2&&(z(4),D("href",b.url,Qe),z(),lg(b.hotlist.name),z(3),S("ID: ",b.hotlist.hotlistId,""),z(2),mg("",b.admins.length===
1?"Admin":"Admins",": ",b.admins.join(", "),""),z(3),lg(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 Mrc=["searchBox"],rU=function(a,b,c,d,e,f,h,k,q,t){this.cdr=a;this.activeSession=b;this.userApi=c;this.bookmarkGroupsApi=d;this.hotlistApi=e;this.paths=f;this.analytics=h;this.errorHandler=k;this.appEvents=q;this.currentUserBookmarksFridge=t;this.allowStarring=this.showHotlists=this.showGroups=!0;this.focusOnInit=!1;this.itemSelect=new XF;this.lastProcessedIndex=-1;this.nextRequestIndex=0;this.favoriteBookmarkGroups=new Set;this.favoriteHotlists=new Set;this.currentUserEmail=this.activeSession.getUserEmail();
this.query="";this.matches=[]};rU.prototype.ngOnInit=function(){this.allowStarring&&Nrc(this)};rU.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 Nrc=function(a){a.favoriteBookmarkGroups.clear();a.favoriteHotlists.clear();(a.activeSession.getFlag("enableLeanFeF")?(0,W.firstValueFrom)(iF(a.currentUserBookmarksFridge)):a.userApi.getUserSidebar()).then(function(b){if(a.showGroups)for(var c=l(b.bookmarkGroups),d=c.next();!d.done;d=c.next()){d=d.value;d.starred&&a.favoriteBookmarkGroups.add(d.id);var e=void 0;d=l((e=d.sublinks)!=null?e:[]);for(e=d.next();!e.done;e=d.next())e=e.value,e.starred&&a.favoriteHotlists.add(e.id)}if(a.showHotlists)for(b=
l(b.hotlists),c=b.next();!c.done;c=b.next())c=c.value,c.starred&&a.favoriteHotlists.add(c.id);a.cdr.detectChanges()}).catch(function(b){a.errorHandler.errorHandler(null,b)})};g=rU.prototype;g.reset=function(){this.query="";this.matches=[]};g.isLoading=function(){return this.lastProcessedIndex+1!==this.nextRequestIndex};g.onQueryChange=function(){this.matches=[];this.query&&typeof this.query!=="string"&&(this.query="");this.search()};
g.search=function(){var a=this,b=this.nextRequestIndex++;if(this.query){var c=this.showGroups?this.bookmarkGroupsApi.query(this.query):Promise.resolve([]);var d=this.showHotlists?this.hotlistApi.queryHotlists(this.query):Promise.resolve([]);Promise.all([c,d]).then(function(e){var f=l(e);e=f.next().value;f=f.next().value;if(b===a.nextRequestIndex-1){for(var h=l(e),k=h.next();!k.done;k=h.next()){k=k.value;var q=k.bookmarkGroupId;k.href=a.paths.viewBookmarkGroup(q);k.isGroup=!0;k.isStarred=a.favoriteBookmarkGroups.has(q)}h=
l(f);for(k=h.next();!k.done;k=h.next())k=k.value,q=k.hotlistId,k.href=zo.viewHotlist.makeHref(q),k.isGroup=!1,k.isStarred=a.favoriteHotlists.has(q);a.matches=[].concat(r(e),r(f));a.lastProcessedIndex=b;a.cdr.detectChanges()}})}else this.lastProcessedIndex=b};g.shouldShowStar=function(a){return this.allowStarring&&!qm(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();Nrc(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))};
rU.\u0275fac=function(a){return new (a||rU)(A(YF,2),A(Ir),A(aF),A(cC),A(RE),A(pN),A(bG),A(uE),A(yE),A(hF))};
rU.\u0275cmp=p({type:rU,selectors:[["b-hotlist-search"]],viewQuery:function(a,b){a&1&&(fg(Mrc,5),fg(JP,5));if(a&2){var c;jg(c=kg())&&(b.searchBoxEl=c.first);jg(c=kg())&&(b.autocomplete=c.first)}},hostAttrs:[1,"'bv2-hotlist-search'"],inputs:{showGroups:"showGroups",showHotlists:"showHotlists",allowStarring:"allowStarring",focusOnInit:"focusOnInit"},outputs:{itemSelect:"itemSelect"},features:[qg([YF])],decls:13,vars:6,consts:[["searchBox",""],["auto","matAutocomplete"],["itemHovercard","onedevHovercard"],
[1,"bv2-hotlist-search"],["id","hotlist-search-input-box","type","text","placeholder","Enter query","role","combobox",3,"ngModelChange","keydown.space","ngModel","matAutocomplete"],[4,"ngIf"],[1,"bv2-hotlist-search-dropdown",3,"optionSelected"],["class","bv2-hotlist-search-dropdown-item",3,"value",4,"ngFor","ngForOf"],[1,"bv2-hotlist-search-subtext"],[1,"bv2-hotlist-search-dropdown-item",3,"value"],[1,"flex-kids-x","align-items-center","gap-xxs"],[3,"starMessage","unStarMessage","starred","starClicked",
4,"ngIf"],[3,"hotlist",4,"ngIf"],[3,"bookmarkGroup",4,"ngIf"],[1,"bv2-hotlist-name",3,"onedevHovercardTrigger"],[3,"starClicked","starMessage","unStarMessage","starred"],[3,"hotlist"],[3,"bookmarkGroup"]],template:function(a,b){if(a&1){var c=u();F(0,"div",3)(1,"input",4,0);pg("ngModelChange",function(d){v(c);og(b.query,d)||(b.query=d);return x(d)});M("ngModelChange",function(){v(c);return x(b.onQueryChange())})("keydown.space",function(d){v(c);return x(b.onSpace(d))});G();C(3,qWa,1,0,"b-spinner",
5);F(4,"mat-autocomplete",6,1);M("optionSelected",function(d){v(c);b.itemSelect.emit(d.option.value);return x()});C(6,uWa,9,8,"mat-option",7);G();F(7,"div",8);R(8,' e.g., "foo bar admin:user@google.com" ');H(9,"br");R(10,' or "foo bar admin:group@google.com" ');H(11,"br");R(12," Only identities directly listed as Admins can be searched. ");G()()}a&2&&(a=Q(5),z(),ng("ngModel",b.query),D("matAutocomplete",a),Bf("autofocus",b.focusOnInit)("aria-label","Add query for searching "+(b.showGroups?"bookmark groups":
"hotlists")),z(2),D("ngIf",b.isLoading()),z(3),D("ngForOf",b.matches))},dependencies:[Fv,Gv,pU,qU,$H,gI,RQ,uT,mh,qy,yy,HP,IP,Kx,JP],encapsulation:2});var Orc=[[["xap-dialog-layout-title"]],[["xap-dialog-layout-subtitle"]],[["xap-dialog-layout-content"]],[["xap-dialog-layout-actions"]]],Prc=function(){};Prc.\u0275fac=function(a){return new (a||Prc)};Prc.\u0275dir=fd({type:Prc,selectors:[["xap-dialog-layout-subtitle"]],standalone:!0});var sU=function(a,b,c){this.el=a;this.cdRef=b;this.ngZone=c;this.destroyed=new W.ReplaySubject;this.internalScrollable=!1;this.internalScrollPosition="bottom"};
sU.prototype.ngOnInit=function(){var a=this;this.internalScrollPosition=this.getScrollPosition(this.el.nativeElement);this.ngZone.runOutsideAngular(function(){Qrc(a).subscribe(function(b){a.ngZone.run(function(){a.internalScrollable=b;a.cdRef.markForCheck();a.cdRef.detectChanges()})});Rrc(a).subscribe(function(b){a.ngZone.run(function(){a.internalScrollPosition=b;a.cdRef.markForCheck();a.cdRef.detectChanges()})})})};sU.prototype.ngOnDestroy=function(){this.destroyed.next();this.destroyed.complete()};
var Qrc=function(a){if(!window.ResizeObserver)return(0,W.of)(Src(a.el.nativeElement));var b;return(0,W.fromEventPattern)(function(c){b=new ResizeObserver(function(){c(Src(a.el.nativeElement))});b.observe(a.el.nativeElement)},function(){b.disconnect()}).pipe(df(),qf(a.destroyed))},Rrc=function(a){return(0,W.fromEvent)(a.el.nativeElement,"scroll").pipe(vWa(),y(function(){return a.getScrollPosition(a.el.nativeElement)}),df(),qf(a.destroyed))},Src=function(a){return a.offsetHeight+a.scrollTop<=a.scrollHeight};
sU.prototype.getScrollPosition=function(a){return a.scrollTop===0?"top":a.offsetHeight+a.scrollTop>=a.scrollHeight?"bottom":"center"};ea.Object.defineProperties(sU.prototype,{scrollable:{configurable:!0,enumerable:!0,get:function(){return this.internalScrollable}},scrollPosition:{configurable:!0,enumerable:!0,get:function(){return this.internalScrollPosition}}});sU.\u0275fac=function(a){return new (a||sU)(A(Rd),A(Ig),A(ze))};
sU.\u0275dir=fd({type:sU,selectors:[["xap-dialog-layout-content"]],hostAttrs:[1,"xap-dialog-layout-content"],hostVars:6,hostBindings:function(a,b){a&2&&Kf("xap-dialog-layout-content-scrollable",b.scrollable)("xap-dialog-layout-bottom-scroll-stroke",b.scrollPosition!=="bottom")("xap-dialog-layout-top-scroll-stroke",b.scrollPosition!=="top")},standalone:!0});var tU=function(){};tU.\u0275fac=function(a){return new (a||tU)};
tU.\u0275cmp=p({type:tU,selectors:[["xap-dialog-layout"]],contentQueries:function(a,b,c){a&1&&gg(c,Prc,4);if(a&2){var d;jg(d=kg())&&(b.subtitle=d)}},hostAttrs:[1,"xap-dialog-layout"],hostVars:2,hostBindings:function(a,b){a&2&&Kf("xap-dialog-layout-bordered-header",b.subtitle)},standalone:!0,features:[sg],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&&(Xf(Orc),F(0,"header",0),Yf(1),Yf(2,1),G(),Yf(3,2),Yf(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 Trc=rh({opacity:0}),Urc=rh({opacity:1}),Vrc=ph("dialogContainer",[sh("void, hidden",Trc),sh("visible",Urc),uh("void => *, * => visible",qh("200ms cubic-bezier(0.0,0.0,0.2,1)",Urc)),uh("* => void, * => hidden",qh("200ms cubic-bezier(0.4,0.0,0.2,1)",Trc))]);var Wrc=new md("XAP_IDCO"),uU=function(){Pw.apply(this,arguments);this.animationState="hidden";this.options=Yc(Wrc);this.changeDetector=Yc(Ig)};X(uU,Pw);uU.prototype.ngAfterViewInit=function(){};uU.prototype.attachComponentPortal=function(a){return this.portalOutlet.attachComponentPortal(a)};uU.prototype.attachTemplatePortal=function(a){return this.portalOutlet.attachTemplatePortal(a)};var Xrc=function(a,b){a.animationState=b?"visible":"hidden";a.changeDetector.markForCheck()};
uU.\u0275fac=function(){var a;return function(b){return(a||(a=Od(uU)))(b||uU)}}();
uU.\u0275cmp=p({type:uU,selectors:[["xap-inline-dialog-container"]],viewQuery:function(a,b){a&1&&fg(Sw,7);if(a&2){var c;jg(c=kg())&&(b.portalOutlet=c.first)}},hostAttrs:["role","dialog",1,"xap-inline-dialog-container","gmat-body-2"],hostVars:3,hostBindings:function(a,b){a&2&&(Uf("@dialogContainer",b.animationState),Bf("aria-label",b.options.dialogLabel)("tabindex",b.options.dialogTabIndex))},standalone:!0,features:[zf,sg],decls:2,vars:0,consts:[["cdkPortalOutlet",""],["cdkFocusInitial","","tabindex",
"0"]],template:function(a){a&1&&(F(0,"div"),C(1,wWa,1,0,"ng-template",0),G())},dependencies:[ww,Tw,Sw],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:[Vrc]},changeDetection:0});var Yrc=[{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}],Zrc={minWidth:220,maxWidth:420,minHeight:64,maxHeight:420},vU=function(a,b,c,d,e,f,h,k){var q=this;this.ngZone=a;this.overlay=b;this.elementRef=c;this.viewContainerRef=d;this.document=e;this.focusTrapFactory=
f;this.ariaDescriber=h;this.injector=k;this.disabledInternal=!1;this.dialogLabel=null;this.dialogTabIndex=-1;this.overlayDimensions=Zrc;this.triggerDescription="Press space for more information.";this.forceTrapFocus=this.disableAutoFocusInternal=!1;this.scrollStrategy="close";this.stackLocation=0;this.beforeOpened=new Xu;this.opened=new Xu;this.closed=new Xu;this.destroyed=new W.ReplaySubject;this.openStatusChange=new W.BehaviorSubject(!1);this.openings=this.openStatusChange.pipe(te(function(t){return t&&
!q.disabled}));this.elementFocusedBeforeDialogWasOpened=void 0;$rc(this,c.nativeElement);this.attachKeyboardCloseEventListeners(c.nativeElement);asc(this,c.nativeElement)};vU.prototype.ngOnInit=function(){var a=this.elementRef.nativeElement;a.hasAttribute("aria-haspopup")||a.setAttribute("aria-haspopup","dialog");a.hasAttribute("aria-describedby")||yw(this.ariaDescriber,a,this.triggerDescription)};
vU.prototype.ngOnDestroy=function(){this.closeDialog();this.openStatusChange.complete();this.destroyed.next();this.destroyed.complete();this.overlayRef&&this.overlayRef.dispose()};
var $rc=function(a,b){a.ngZone.runOutsideAngular(function(){(0,W.fromEvent)(b,"keydown").pipe(qf(a.destroyed)).subscribe(function(c){switch(c.keyCode){case 13:a.openDialog();c.preventDefault();break;case 32:c.preventDefault()}});(0,W.fromEvent)(b,"keyup").pipe(qf(a.destroyed)).subscribe(function(c){switch(c.keyCode){case 32:a.openDialog()}})})},asc=function(a,b){a.ngZone.runOutsideAngular(function(){(0,W.fromEvent)(b,"focus").pipe(te(function(){return a.beforeOpened.observers.length>0}),qf(a.destroyed)).subscribe(function(){a.ngZone.run(function(){a.beforeOpened.emit()})})})};
g=vU.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=bsc(a);a.dialogContainerRef.instance.attach(c);var d=a.dialogContainerRef.location.nativeElement;a.attachMouseEventListeners(d);a.attachKeyboardCloseEventListeners(d);a.trapFocus(d);Xrc(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)||(Xrc(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),jw(this.focusTrap),this.disableAutoFocus||this.focusInitialElement()};g.focusInitialElement=function(){this.focusTrap&&mWb(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 px(ux(this.overlay.position(),(b=this.attachedTo)!=null?b:this.elementRef),a).setOrigin((c=this.attachedTo)!=null?c:this.elementRef)};
var csc=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()}},bsc=function(a){var b=Fg({parent:a.injector,providers:[{provide:Wrc,useValue:{dialogLabel:a.dialogLabel,dialogTabIndex:a.dialogTabIndex}}]});b=new Nw(uU,null,b);a.overlayRef==null&&(a.overlayRef=a.overlay.create(a.createOverlayConfig(Yrc)));a.overlaySize&&a.overlayRef.updateSize(a.overlaySize);a.overlayPositions&&
a.overlayPositions.length>0&&JWb(a.overlayRef,a.createPositionStrategy(a.overlayPositions));return a.overlayRef.attach(b)};
ea.Object.defineProperties(vU.prototype,{dialog:{configurable:!0,enumerable:!0,set:function(a){a&&(this.portal=a instanceof cg?new Ow(a,this.viewContainerRef):new Nw(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=bh(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}}}});vU.\u0275fac=function(a){return new (a||vU)(A(ze),A(vx),A(Rd),A(dg),A(Document),A(Cw),A(xw),A(Ae))};
vU.\u0275dir=fd({type:vU,hostVars:1,hostBindings:function(a,b){a&2&&Bf("data-disabled",b.disabled)},inputs:{attachedTo:"attachedTo",dialogLabel:"dialogLabel",dialogTabIndex:"dialogTabIndex",overlaySize:"overlaySize",overlayPositions:"overlayPositions",overlayDimensions:"overlayDimensions",triggerDescription:"triggerDescription",disableAutoFocus:"disableAutoFocus",forceTrapFocus:"forceTrapFocus",panelClass:"panelClass",scrollStrategy:"scrollStrategy",stackManager:"stackManager"},outputs:{beforeOpened:"beforeOpened",
opened:"opened",closed:"closed"},standalone:!0});var wU=function(a,b,c,d,e,f,h,k){vU.call(this,a,b,c,d,e,f,h,k);this.attachMouseEventListeners(c.nativeElement)};X(wU,vU);g=wU.prototype;g.ngOnInit=function(){vU.prototype.ngOnInit.call(this);this.listenForOpenEvents()};g.listenForOpenEvents=function(){var a=this;this.openStatusChange.pipe(qf(this.destroyed)).subscribe(function(b){b?a.openDialog():a.closeDialog()});this.openings.pipe(te(function(b){return b&&a.beforeOpened.observers.length>0}),Dka(function(){return a.openStatusChange.pipe(te(function(b){return!b}))}))};
g.attachMouseEventListeners=function(a){var b=this;this.ngZone.runOutsideAngular(function(){(0,W.fromEvent)(a,"mouseenter").pipe(qf(b.destroyed)).subscribe(function(){b.ngZone.run(function(){b.beforeOpened.emit()})});(0,W.fromEvent)(a,"click").pipe(qf(b.destroyed)).subscribe(function(d){d.target.closest("[xapInlineDialogClose]")?b.closingDialog():b.openingDialog()});var c;(c=b.overlayRef)==null||c.backdropClick().pipe(qf(b.destroyed)).subscribe(function(){b.closingDialog()})})};
g.attachKeyboardCloseEventListeners=function(a){var b=this;this.ngZone.runOutsideAngular(function(){(0,W.fromEvent)(a,"keyup").pipe(qf(b.destroyed)).subscribe(function(c){var d=c.target;switch(c.keyCode){case 27:b.closingDialog();break;case 32:d.closest("[xapInlineDialogClose]")&&b.closingDialog()}});(0,W.fromEvent)(a,"keydown").pipe(qf(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 mx(Object.assign({},this.overlayDimensions,{positionStrategy:vU.prototype.createPositionStrategy.call(this,a),scrollStrategy:csc(this),hasBackdrop:!0,backdropClass:"cdk-overlay-transparent-backdrop",panelClass:this.panelClassInternal}))};
wU.\u0275fac=function(a){return new (a||wU)(A(ze),A(vx),A(Rd),A(dg),A(gh),A(Cw),A(xw),A(Ae))};wU.\u0275dir=fd({type:wU,selectors:[["","xapInlineDialogClick",""]],hostAttrs:[1,"xap-inline-dialog-click"],inputs:{dialog:[0,"xapInlineDialogClick","dialog"],disabled:[0,"xapInlineDialogDisabled","disabled"]},exportAs:["xapInlineDialogClick"],standalone:!0,features:[zf]});var xU=function(){this.disabled=!1};xU.\u0275fac=function(a){return new (a||xU)};
xU.\u0275cmp=p({type:xU,selectors:[["xap-icon-trigger"]],hostAttrs:["role","button","tabindex","0",1,"xap-icon-trigger"],inputs:{disabled:[0,"xapInlineDialogDisabled","disabled"]},standalone:!0,features:[sg],ngContentSelectors:["*"],decls:1,vars:0,template:function(a){a&1&&(Xf(),Yf(0))},styles:[".xap-icon-trigger,.xap-text-trigger{pointer-events:auto}.xap-text-trigger{-webkit-text-decoration:underline dashed var(--xap-color-outline,#80868b);-moz-text-decoration:underline dashed var(--xap-color-outline,#80868b);text-decoration:underline dashed var(--xap-color-outline,#80868b);text-underline-position:under;text-underline-offset:1px}"],encapsulation:2});var yU=function(){this.allowStarring=this.showHotlists=this.showGroups=!0;this.ariaLabel="";this.itemSelect=new XF};yU.\u0275fac=function(a){return new (a||yU)};
yU.\u0275cmp=p({type:yU,selectors:[["b-hotlist-search-popup"]],viewQuery:function(a,b){a&1&&fg(wU,5);if(a&2){var c;jg(c=kg())&&(b.dialog=c.first)}},inputs:{showGroups:"showGroups",showHotlists:"showHotlists",allowStarring:"allowStarring",ariaLabel:[0,"aria-label","ariaLabel"]},outputs:{itemSelect:"itemSelect"},decls:4,vars:2,consts:[["popup",""],["matTooltip","Search","dialogLabel","Search",3,"xapInlineDialogClick"],["svgIcon","search"],[3,"itemSelect","showGroups","showHotlists","allowStarring",
"focusOnInit"]],template:function(a,b){a&1&&(F(0,"xap-icon-trigger",1),H(1,"mat-icon",2),G(),C(2,xWa,3,4,"ng-template",null,0,yg));a&2&&(a=Q(3),D("xapInlineDialogClick",a),Bf("aria-label",b.ariaLabel))},dependencies:[zB,tU,sU,LH,OH,wU,xU,rU],styles:["xap-dialog-layout[_ngcontent-%COMP%] { padding: 16px; }","xap-dialog-layout-content[_ngcontent-%COMP%] { padding: 0; }"]});var zU=function(a,b,c,d){this.location=a;this.analytics=b;this.paths=c;this.sidebar=d;this.bookmarkGroups=[]};zU.prototype.handleBookmarkGroupOpen=function(a){this.analytics.trackEvent("sidebarBookmarkGroups","open");this.location.setUrl(this.paths.viewBookmarkGroup(a))};zU.prototype.handleBookmarkGroupDashboard=function(a){this.analytics.trackEvent("sidebarBookmarkGroups","dashboard");this.location.setUrl(Bo(zo.viewDashboard.routeDeclarationPath,{id:a}))};zU.prototype.editBookmarkGroup=function(a){this.location.setUrl(this.paths.editBookmarkGroup(a))};
zU.prototype.onAnchorClick=function(a,b){this.sidebar.onAnchorClick(a,b)};zU.\u0275fac=function(a){return new (a||zU)(A(oN),A(bG),A(pN),A(jU))};
zU.\u0275cmp=p({type:zU,selectors:[["sidebar-bookmark-groups"]],inputs:{bookmarkGroups:"bookmarkGroups"},decls:7,vars:2,consts:[["zippyHeader",""],["zippyContent",""],["bgZippyHeader",""],["bgZippyContent",""],["topMenu",""],["innerMenu",""],[1,"bv2-nav-section"],["prefKey","nav-bkg",3,"header","content"],["aria-label","Search for bookmark groups",3,"itemSelect","click","showHotlists"],["class","bookmark-group-list",4,"ngIf"],[1,"bookmark-group-list"],[3,"title",4,"ngFor","ngForOf"],[3,"title"],[3,
"header","content","expanded"],[1,"bv2-nav-item","bv2-nav-bookmark-group"],[1,"bv2-nav-item-text"],["mat-icon-button","","disableRipple","true","aria-label","Bookmark group actions","class","bv2-nav-item-menubutton keep-focus-ring",3,"matMenuTriggerFor","click",4,"ngIf"],["matMenuContent",""],["mat-icon-button","","disableRipple","true","aria-label","Bookmark group actions",1,"bv2-nav-item-menubutton","keep-focus-ring",3,"click","matMenuTriggerFor"],["svgIcon","more-settings-vertical"],["mat-menu-item",
"",1,"bv2-user-hotlists-edit-menuitem",3,"click"],["mat-menu-item","","class","bv2-user-hotlists-edit-menuitem",3,"click",4,"ngIf"],[1,"bv2-nav-links-no-indent","bookmark-group-content-list"],["class","bv2-nav-item",3,"selected-indented","bv2-bookmark-group-hotlist-item","bv2-bookmark-group-saved-search-item","title",4,"ngFor","ngForOf"],[1,"bv2-nav-item",3,"title"],[1,"bv2-nav-indented",3,"click","href"],["mat-icon-button","","disableRipple","true","aria-label","Bookmark item actions","class","bv2-nav-item-menubutton",
3,"matMenuTriggerFor",4,"ngIf"],["mat-icon-button","","disableRipple","true","aria-label","Bookmark item actions",1,"bv2-nav-item-menubutton",3,"matMenuTriggerFor"]],template:function(a){a&1&&(F(0,"div",6),H(1,"hr"),F(2,"sidebar-zippy",7),C(3,yWa,3,1,"ng-template",null,0,yg)(5,NWa,1,1,"ng-template",null,1,yg),G()());if(a&2){a=Q(4);var b=Q(6);z(2);D("header",a)("content",b)}},dependencies:[Fv,Gv,zB,yU,oE,QL,TL,RL,SL,UL,nU],encapsulation:2,changeDetection:0});var AU=function(a,b,c,d,e,f,h,k){Z.call(this);this.location=a;this.analytics=c;this.sidebar=d;this.paths=e;this.mcPrefs=k;this.ENABLE_MISSION_CONTROL=qn("enableHomepageVariantA")&&Ql();this.userEmail=b.getUserEmail();this.subscriptions.add(h.routeChangeSuccess.subscribe(function(){f.detectChanges()}))};X(AU,Z);AU.\u0275dir=Z.\u0275dir;AU.prototype.getUserEmail=function(){return this.userEmail};AU.prototype.openEditHotlist=function(a){this.location.setUrl(zo.editHotlist.makeHref(a))};
AU.prototype.addToMissionControl=function(a){this.mcPrefs.addHotlist(a);this.location.setUrl(this.paths.home())};AU.prototype.onAnchorClick=function(a,b){this.sidebar.onAnchorClick(a,b)};AU.\u0275fac=function(a){return new (a||AU)(A(oN),A(Ir),A(bG),A(jU),A(pN),A(Ig),A(aG),A(bQ))};
AU.\u0275cmp=p({type:AU,selectors:[["sidebar-hotlists"]],inputs:{hotlists:"hotlists"},features:[zf],decls:7,vars:2,consts:[["zippyHeader",""],["zippyContent",""],["menu",""],[1,"bv2-nav-section"],["prefKey","nav-hotlists",3,"header","content"],["aria-label","Search for hotlists",3,"itemSelect","click","showGroups"],["class","hotlist-list",4,"ngIf"],[1,"hotlist-list"],["class","bv2-nav-item bv2-user-hotlists-hotlist-item",3,"selected","id","title",4,"ngFor","ngForOf"],[1,"bv2-nav-item","bv2-user-hotlists-hotlist-item",
3,"id","title"],[3,"click","href"],[1,"bv2-nav-item-text"],["mat-icon-button","","disableRipple","true","aria-label","Hotlist actions keep-focus-ring","class","bv2-nav-item-menubutton",3,"matMenuTriggerFor",4,"ngIf"],["matMenuContent",""],["mat-icon-button","","disableRipple","true","aria-label","Hotlist actions keep-focus-ring",1,"bv2-nav-item-menubutton",3,"matMenuTriggerFor"],["svgIcon","more-settings-vertical"],["mat-menu-item","",3,"click",4,"ngIf"],["mat-menu-item","",3,"click"],["svgIcon",
"settings",1,"icon-s"],["svgIcon","home",1,"icon-s"],["svgIcon","save",1,"icon-s"],["svgIcon","star-empty",1,"icon-s"]],template:function(a){a&1&&(F(0,"div",3),H(1,"hr"),F(2,"sidebar-zippy",4),C(3,OWa,3,1,"ng-template",null,0,yg)(5,WWa,1,1,"ng-template",null,1,yg),G()());if(a&2){a=Q(4);var b=Q(6);z(2);D("header",a)("content",b)}},dependencies:[Fv,Gv,zB,yU,oE,QL,TL,RL,SL,UL,nU],encapsulation:2,changeDetection:0});var BU=function(a,b,c,d,e,f,h,k,q,t,w,B){Z.call(this);var E=this;this.cdr=a;this.location=b;this.savedSearchApi=c;this.paths=d;this.butterBar=e;this.analytics=f;this.sidebar=h;this.errorHandler=k;this.confirmationDialogService=q;this.appEvents=t;this.mcPrefs=B;this.ENABLE_MISSION_CONTROL=qn("enableHomepageVariantA")&&Ql();this.searches=[];this.subscriptions.add(w.routeChangeSuccess.subscribe(function(){E.cdr.detectChanges()}))};X(BU,Z);BU.\u0275dir=Z.\u0275dir;BU.prototype.openEditSavedSearch=function(a){this.location.setUrl(this.paths.editSavedSearch(a))};
BU.prototype.addToMissionControl=function(a){cQ(this.mcPrefs,fp(a));this.location.setUrl(this.paths.home())};
var $Wa=function(a,b){a.confirmationDialogService.open({title:"Deleting saved search: "+b.name,content:wh("Are you sure you want to delete this search?"),onConfirm:function(){dsc(a,b)}})},dsc=function(a,b){var c=b.id;Ap(a.butterBar,'Deleting saved search "'+b.name+'"...');a.savedSearchApi.delete(c).then(function(){a.appEvents.savedSearchModified.next({savedSearchId:c,action:"delete"});Ap(a.butterBar,'Deleted saved search "'+b.name+'".');a.analytics.trackEvent("sidebarSavedSearches","deleted");a.cdr.detectChanges()}).catch(function(d){a.errorHandler.errorHandler(null,
d)})};BU.prototype.onAnchorClick=function(a,b){this.sidebar.onAnchorClick(a,b)};BU.\u0275fac=function(a){return new (a||BU)(A(YF,2),A(oN),A(fF),A(pN),A(sE),A(bG),A(jU),A(uE),A(EI),A(yE),A(aG),A(bQ))};
BU.\u0275cmp=p({type:BU,selectors:[["sidebar-saved-searches"]],inputs:{searches:"searches"},features:[qg([YF]),zf],decls:7,vars:2,consts:[["zippyHeader",""],["zippyContent",""],["menu",""],[1,"bv2-nav-section","bv2-nav-section-savedsearches"],["prefKey","nav-ss",3,"header","content"],["class","saved-search-list",4,"ngIf"],[1,"saved-search-list"],["class","bv2-nav-item",3,"selected","title",4,"ngFor","ngForOf"],[1,"bv2-nav-item",3,"title"],[1,"bv2-nav-item-link",3,"click","href"],[1,"bv2-nav-item-text"],
["mat-icon-button","","disableRipple","true","aria-label","Saved search actions",1,"bv2-nav-item-menubutton",3,"matMenuTriggerFor"],["svgIcon","more-settings-vertical"],["matMenuContent",""],["mat-menu-item","",3,"click",4,"ngIf"],["mat-menu-item","",3,"click"],["svgIcon","settings",1,"icon-s"],["svgIcon","delete",1,"icon-s"],["svgIcon","home",1,"icon-s"],["svgIcon","save",1,"icon-s"]],template:function(a){a&1&&(F(0,"div",3),H(1,"hr"),F(2,"sidebar-zippy",4),C(3,XWa,2,0,"ng-template",null,0,yg)(5,
dXa,1,1,"ng-template",null,1,yg),G()());if(a&2){a=Q(4);var b=Q(6);z(2);D("header",a)("content",b)}},dependencies:[Fv,Gv,zB,oE,QL,TL,RL,SL,UL,nU],encapsulation:2,changeDetection:0});var esc=0,fsc=new Set,gsc=function(){};gsc.\u0275fac=function(a){return new (a||gsc)};
gsc.\u0275cmp=p({type:gsc,selectors:[["ng-component"]],standalone:!0,features:[sg],decls:0,vars:0,template:function(){},styles:[".mat-badge{position:relative}.mat-badge.mat-badge{overflow:visible}.mat-badge-content{position:absolute;text-align:center;display:inline-block;transition:transform 200ms ease-in-out;transform:scale(0.6);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;box-sizing:border-box;pointer-events:none;background-color:var(--mat-badge-background-color);color:var(--mat-badge-text-color);font-family:var(--mat-badge-text-font);font-weight:var(--mat-badge-text-weight);border-radius:var(--mat-badge-container-shape)}.cdk-high-contrast-active .mat-badge-content{outline:solid 1px;border-radius:0}.mat-badge-above .mat-badge-content{bottom:100%}.mat-badge-below .mat-badge-content{top:100%}.mat-badge-before .mat-badge-content{right:100%}[dir=rtl] .mat-badge-before .mat-badge-content{right:auto;left:100%}.mat-badge-after .mat-badge-content{left:100%}[dir=rtl] .mat-badge-after .mat-badge-content{left:auto;right:100%}.mat-badge-disabled .mat-badge-content{background-color:var(--mat-badge-disabled-state-background-color);color:var(--mat-badge-disabled-state-text-color)}.mat-badge-hidden .mat-badge-content{display:none}.ng-animate-disabled .mat-badge-content,.mat-badge-content._mat-animation-noopable{transition:none}.mat-badge-content.mat-badge-active{transform:none}.mat-badge-small .mat-badge-content{width:var(--mat-badge-legacy-small-size-container-size, unset);height:var(--mat-badge-legacy-small-size-container-size, unset);min-width:var(--mat-badge-small-size-container-size, unset);min-height:var(--mat-badge-small-size-container-size, unset);line-height:var(--mat-badge-legacy-small-size-container-size, var(--mat-badge-small-size-container-size));padding:var(--mat-badge-small-size-container-padding);font-size:var(--mat-badge-small-size-text-size);margin:var(--mat-badge-small-size-container-offset)}.mat-badge-small.mat-badge-overlap .mat-badge-content{margin:var(--mat-badge-small-size-container-overlap-offset)}.mat-badge-medium .mat-badge-content{width:var(--mat-badge-legacy-container-size, unset);height:var(--mat-badge-legacy-container-size, unset);min-width:var(--mat-badge-container-size, unset);min-height:var(--mat-badge-container-size, unset);line-height:var(--mat-badge-legacy-container-size, var(--mat-badge-container-size));padding:var(--mat-badge-container-padding);font-size:var(--mat-badge-text-size);margin:var(--mat-badge-container-offset)}.mat-badge-medium.mat-badge-overlap .mat-badge-content{margin:var(--mat-badge-container-overlap-offset)}.mat-badge-large .mat-badge-content{width:var(--mat-badge-legacy-large-size-container-size, unset);height:var(--mat-badge-legacy-large-size-container-size, unset);min-width:var(--mat-badge-large-size-container-size, unset);min-height:var(--mat-badge-large-size-container-size, unset);line-height:var(--mat-badge-legacy-large-size-container-size, var(--mat-badge-large-size-container-size));padding:var(--mat-badge-large-size-container-padding);font-size:var(--mat-badge-large-size-text-size);margin:var(--mat-badge-large-size-container-offset)}.mat-badge-large.mat-badge-overlap .mat-badge-content{margin:var(--mat-badge-large-size-container-overlap-offset)}\n"],encapsulation:2,
changeDetection:0});var CU=function(a,b,c,d,e){this._ngZone=a;this._elementRef=b;this._ariaDescriber=c;this._renderer=d;this._animationMode=e;this._color="primary";this.overlap=!0;this.position="above after";this.size="medium";this._id=esc++;this._isInitialized=!1;this._interactivityChecker=Yc(hw);this._document=Yc(gh);var f=Yc(uv);if(!fsc.has(f)){fsc.add(f);var h=Kma(gsc,{environmentInjector:Yc(qu)});f.onDestroy(function(){fsc.delete(f);fsc.size===0&&h.destroy()})}};g=CU.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()}zw(this._ariaDescriber,this._elementRef.nativeElement,this.description)};
g._isHostInteractive=function(){return this._interactivityChecker.isFocusable(this._elementRef.nativeElement,{ignoreVisibility:!0})};
g._createBadgeElement=function(){var a=this._renderer.createElement("span");a.setAttribute("id","mat-badge-content-"+this._id);a.setAttribute("aria-hidden","true");a.classList.add("mat-badge-content");this._animationMode==="NoopAnimations"&&a.classList.add("_mat-animation-noopable");this._elementRef.nativeElement.appendChild(a);typeof requestAnimationFrame==="function"&&this._animationMode!=="NoopAnimations"?this._ngZone.runOutsideAngular(function(){requestAnimationFrame(function(){a.classList.add("mat-badge-active")})}):
a.classList.add("mat-badge-active");return a};g._updateRenderedContent=function(a){a=(""+(a!=null?a:"")).trim();this._isInitialized&&a&&!this._badgeElement&&(this._badgeElement=this._createBadgeElement());this._badgeElement&&(this._badgeElement.textContent=a);this._content=a};
g._updateDescription=function(a){zw(this._ariaDescriber,this._elementRef.nativeElement,this.description);a&&!this._isHostInteractive()||this._removeInlineDescription();this._description=a;this._isHostInteractive()?yw(this._ariaDescriber,this._elementRef.nativeElement,a):this._updateInlineDescription()};
g._updateInlineDescription=function(){this._inlineBadgeDescription||(this._inlineBadgeDescription=this._document.createElement("span"),this._inlineBadgeDescription.classList.add("cdk-visually-hidden"));this._inlineBadgeDescription.textContent=this.description;var a;(a=this._badgeElement)==null||a.appendChild(this._inlineBadgeDescription)};g._removeInlineDescription=function(){var a;(a=this._inlineBadgeDescription)==null||a.remove();this._inlineBadgeDescription=void 0};
g._setColor=function(a){var b=this._elementRef.nativeElement.classList;b.remove("mat-badge-"+this._color);a&&b.add("mat-badge-"+a)};g._clearExistingBadges=function(){for(var a=l(Array.from(this._elementRef.nativeElement.querySelectorAll(":scope > .mat-badge-content"))),b=a.next();!b.done;b=a.next())b=b.value,b!==this._badgeElement&&b.remove()};
ea.Object.defineProperties(CU.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)}}});CU.\u0275fac=function(a){return new (a||CU)(A(ze),A(Rd),A(xw),A(wu),A(vu,8))};
CU.\u0275dir=fd({type:CU,selectors:[["","matBadge",""]],hostAttrs:[1,"mat-badge"],hostVars:20,hostBindings:function(a,b){a&2&&Kf("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",Gg],disabled:[2,"matBadgeDisabled","disabled",Gg],position:[0,"matBadgePosition","position"],content:[0,"matBadge","content"],description:[0,"matBadgeDescription","description"],size:[0,"matBadgeSize","size"],hidden:[2,"matBadgeHidden","hidden",Gg]},standalone:!0,features:[Af]});var vXa=function(){return[]},DU=function(a,b,c,d,e,f,h,k,q,t,w,B){var E=this;this.cdr=a;this.activeSession=b;this.butterBar=c;this.appSearchState=d;this.paths=e;this.userPreferencesManager=f;this.sidebar=h;this.location=k;this.appEvents=q;this.missionControlPrefs=t;this.needsAttentionTaskFridge=w;this.starredTeamsService=B;this.ROUTES=zo;this.missionControlTaskCount$=new W.Subject;this.componentsPath=zo.listComponents.makeHref();this.enableTriageView=this.activeSession.getFlag("enableTeamScope")&&
this.activeSession.isInternalSession();this.enableHomepageVariantA=this.activeSession.getFlag("enableHomepageVariantA")&&this.activeSession.isInternalSession();this.enabledVotedNav=this.activeSession.getFlag("enableUpvotedInNav")&&this.activeSession.isInternalSession();this.votedPath=this.paths.listIssues({q:"vote:true"});this.homepagePreferences$=this.userPreferencesManager.preferences$.pipe(y(function(N){return(N||vC).homepagePreferences}));this.hasPreferredHomepage$=this.homepagePreferences$.pipe(y(function(N){return!(!N||
!N.resourceType)}),df());this.isHomepageMissionControl$=this.homepagePreferences$.pipe(y(function(N){return N.resourceType==="MISSION_CONTROL"}),df());this.isHomepageAssignedToMe$=this.homepagePreferences$.pipe(y(function(N){return!E.enableHomepageVariantA&&!N.resourceType||N.resourceType==="ASSIGNED_TO_ME"}),df());this.hideBadgeInNav$=this.userPreferencesManager.preferences$.pipe(y(function(N){var P;return N==null?void 0:(P=N.missionControlPreferences)==null?void 0:P.hideBadgeInNav}),y(Boolean));
this.starredTeams$=this.starredTeamsService.starredTeams$;this.destroyed$=new XF;this.appName=b.getAppName();this.userEmail=b.getUserEmail();this.environmentType=b.getEnvironmentType();this.missionControlPath=e.home();this.assignedPath=e.listIssues({q:zH(this.userEmail)});this.starredPath=e.listIssues({q:d.getStarred()});this.ccdPath=e.listIssues({q:"cc:"+this.userEmail});this.verifiedPath=e.listIssues({q:E9b(this.userEmail)});this.reportedPath=e.listIssues({q:"reporter:"+this.userEmail});this.createBookmarkGroupPath=
e.createBookmarkGroup();this.sidebarData=this.sidebar.sidebarData;this.missionControlTaskCount$=this.appEvents.missionControlTaskCount;var I,J=!!this.location.path().match(/^\/home\b/)&&!((I=this.missionControlPrefs.prefs.collapsed)==null?0:I["needs-attention-wrapper"]);b.getFlag("runQueryForSidebarIssueCount")&&setTimeout(function(){E.enableHomepageVariantA&&!J&&(0,W.combineLatest)([E.missionControlPrefs.needsAttentionTimeBoundary$,E.missionControlPrefs.needsAttentionSources$]).pipe(qf(E.destroyed$),
df(function(N,P){return N[0]===P[0]&&pi(N[1],P[1])}),pf(function(N){var P=l(N);N=P.next().value;P=P.next().value.map(function(U){return dp(U)});return E.needsAttentionTaskFridge.watchMany({maxTaskAgeDays:N,sources:P,signalFilter:0})}),y(function(N){return N.results.length})).subscribe(function(N){E.appEvents.missionControlTaskCount.next(N)})},1E3)};DU.prototype.ngOnInit=function(){var a=this;this.hasPreferredHomepage$.pipe(qf(this.destroyed$)).subscribe(function(){setTimeout(function(){a.cdr.detectChanges()})})};
DU.prototype.ngOnDestroy=function(){this.destroyed$.next()};var hXa=function(a,b){Ap(a.butterBar,"Updating homepage...",0);q9b(a.userPreferencesManager,{resourceType:b}).subscribe(function(){Ap(a.butterBar,"Homepage updated")})};DU.prototype.onAnchorClick=function(a,b){this.sidebar.onAnchorClick(a,b)};var nXa=function(a){return!!a.location.path().match(/^\/triage\b/)};DU.\u0275fac=function(a){return new (a||DU)(A(YF,2),A(Ir),A(sE),A(xH),A(pN),A(rH),A(jU),A(Zv),A(yE),A(bQ),A(NG),A(uH))};
DU.\u0275cmp=p({type:DU,selectors:[["b-sidebar"]],features:[qg([YF])],decls:47,vars:29,consts:[["menu",""],["noBadge",""],["homepageMenu",""],["zippyHeader",""],["zippyContent",""],[1,"bv2-nav-header"],[1,"bv2-nav-bar"],["role","region",1,"bv2-nav-links"],["aria-label","Canned searches",1,"canned-searches"],[4,"ngIf"],["id","assigned-to-me-sidebar-link",1,"bv2-nav-item"],[3,"click","href"],["svgIcon","issue-status-accepted",1,"canned-search-icon"],["matMenuContent",""],["svgIcon","star-filled",1,
"canned-search-icon"],["svgIcon","person-add-18px",1,"canned-search-icon"],["svgIcon","user-attributes",1,"canned-search-icon"],[3,"selected",4,"ngIf"],["svgIcon","issue-status-fixed",1,"canned-search-icon"],[3,"bookmarkGroups"],[3,"searches"],[3,"hotlists"],[3,"hotlists","bookmarkGroups"],[1,"bv2-nav-manage-link"],[3,"href"],["id","mission-control-sidebar-link",1,"bv2-nav-item"],["class","canned-search-icon","svgIcon","home","matBadgeColor","warn","matBadgeSize","small",3,"matBadge","matBadgeHidden",
"matBadgeDescription",4,"ngIf","ngIfElse"],["mat-icon-button","","disableRipple","true","aria-label","More settings","class","bv2-nav-item-menubutton",3,"matMenuTriggerFor",4,"ngIf"],["svgIcon","home","matBadgeColor","warn","matBadgeSize","small",1,"canned-search-icon",3,"matBadge","matBadgeHidden","matBadgeDescription"],["svgIcon","home",1,"canned-search-icon"],["mat-icon-button","","disableRipple","true","aria-label","More settings",1,"bv2-nav-item-menubutton",3,"matMenuTriggerFor"],["svgIcon",
"more-settings-vertical"],["mat-menu-item","",1,"bv2-user-hotlists-edit-menuitem",3,"click"],["mat-icon-button","","disableRipple","true","aria-label","Assigned issues actions",1,"bv2-nav-item-menubutton",3,"matMenuTriggerFor"],["svgIcon","exposure_plus_1_24px",1,"canned-search-icon"],[1,"canned-searches"],["svgIcon","story-point-24px",1,"canned-search-icon"],["prefKey","nav-triage",3,"header","content"],[1,"unstyled","indented-list"],[3,"selected",4,"ngFor","ngForOf"],[3,"href","title"]],template:function(a,
b){if(a&1){var c=u();F(0,"div",5);H(1,"b-create-issue-button");G();F(2,"div",6)(3,"div",7)(4,"ul",8);C(5,jXa,14,12,"ng-container",9);F(6,"li",10)(7,"a",11);M("click",function(d){v(c);return x(b.onAnchorClick(b.assignedPath,d))});H(8,"mat-icon",12);R(9," Assigned to me ");G();C(10,kXa,3,1,"ng-container",9);T(11,"async");F(12,"mat-menu",null,0);C(14,lXa,2,0,"ng-template",13);G()();F(15,"li")(16,"a",11);M("click",function(d){v(c);return x(b.onAnchorClick(b.starredPath,d))});H(17,"mat-icon",14);R(18,
" Starred by me ");G()();F(19,"li")(20,"a",11);M("click",function(d){v(c);return x(b.onAnchorClick(b.ccdPath,d))});H(21,"mat-icon",15);R(22," CC'd to me ");G()();F(23,"li")(24,"a",11);M("click",function(d){v(c);return x(b.onAnchorClick(b.reportedPath,d))});H(25,"mat-icon",16);R(26," Reported by me ");G()();C(27,mXa,4,3,"li",17);F(28,"li")(29,"a",11);M("click",function(d){v(c);return x(b.onAnchorClick(b.verifiedPath,d))});H(30,"mat-icon",18);R(31," To be verified ");G()()();C(32,wXa,2,4);H(33,"sidebar-bookmark-groups",
19)(34,"sidebar-saved-searches",20)(35,"sidebar-hotlists",21)(36,"sidebar-archived",22)(37,"hr");F(38,"div",23)(39,"a",24);R(40," Create hotlist ");G()();F(41,"div",23)(42,"a",24);R(43," Create bookmark group ");G()();F(44,"div",23)(45,"a",24);R(46," Browse components ");G()()()()}a&2&&(z(5),D("ngIf",b.enableHomepageVariantA&&!kp(b.activeSession)),z(),Kf("selected",D9b(b.appSearchState,b.userEmail)),z(),D("href",b.assignedPath,Qe),z(3),D("ngIf",!V(11,27,b.isHomepageAssignedToMe$)),z(5),Kf("selected",
b.appSearchState.isStarred()),z(),D("href",b.starredPath,Qe),z(3),Kf("selected",b.appSearchState.currentQuery==="cc:"+b.userEmail),z(),D("href",b.ccdPath,Qe),z(3),Kf("selected",b.appSearchState.currentQuery==="reporter:"+b.userEmail),z(),D("href",b.reportedPath,Qe),z(3),D("ngIf",b.enabledVotedNav),z(),Kf("selected",b.appSearchState.currentQuery===E9b(b.userEmail)),z(),D("href",b.verifiedPath,Qe),z(3),Of(b.enableTriageView?32:-1),z(),D("bookmarkGroups",b.sidebarData.bookmarkGroups),z(),D("searches",
b.sidebarData.userSearches),z(),D("hotlists",b.sidebarData.hotlists),z(),D("hotlists",b.sidebarData.archivedHotlists)("bookmarkGroups",b.sidebarData.archivedBookmarkGroups),z(3),D("href",b.ROUTES.createHotlist.makeHref(),Qe),z(3),D("href",b.createBookmarkGroupPath,Qe),z(3),D("href",b.componentsPath,Qe))},dependencies:[hU,Fv,Gv,zB,oE,QL,TL,RL,SL,UL,CU,oU,zU,AU,BU,nU,Lv],encapsulation:2});var EU=function(){};EU.\u0275fac=function(a){return new (a||EU)};EU.\u0275mod=dd({type:EU});EU.\u0275inj=Ic({imports:[BB]});var FU=function(){};FU.\u0275fac=function(a){return new (a||FU)};FU.\u0275mod=dd({type:FU});FU.\u0275inj=Ic({imports:[BB]});var GU=function(){};GU.\u0275fac=function(a){return new (a||GU)};GU.\u0275mod=dd({type:GU});GU.\u0275inj=Ic({});var HU=function(){};HU.\u0275fac=function(a){return new (a||HU)};HU.\u0275mod=dd({type:HU});HU.\u0275inj=Ic({imports:[BB,jN,ML,aM,GU]});var IU=function(){};IU.\u0275fac=function(a){return new (a||IU)};IU.\u0275mod=dd({type:IU});IU.\u0275inj=Ic({});var JU=function(a,b,c,d,e,f,h,k){vU.call(this,a,b,c,d,e,f,h,k);this.hoverDelayMs=500;this.activity=new W.Subject;this.attachMouseEventListeners(c.nativeElement)};X(JU,vU);g=JU.prototype;g.ngOnInit=function(){vU.prototype.ngOnInit.call(this);this.listenForOpenEvents(this.hoverDelayMs)};
g.listenForOpenEvents=function(a){var b=this,c=this.openStatusChange.pipe(Oja(function(){return b.activity.pipe(bf(a))}));c.pipe(qf(this.destroyed)).subscribe(function(d){d?b.openDialog():b.closeDialog()});this.openings.pipe(te(function(d){return d&&b.beforeOpened.observers.length>0}),Dka(function(){return c.pipe(te(function(d){return!d}))}),qf(this.destroyed)).subscribe(function(){b.ngZone.run(function(){b.beforeOpened.emit()})})};
g.attachMouseEventListeners=function(a){var b=this;this.stackManager&&this.stackManager.unregisterEvent().pipe(bf(this.hoverDelayMs),qf(this.destroyed)).subscribe(function(){a.matches(":hover")||b.viewContainerRef.element.nativeElement.matches(":hover")?b.openingDialog():b.closingDialog()});this.ngZone.runOutsideAngular(function(){(0,W.fromEvent)(a,"mouseenter").pipe(qf(b.destroyed)).subscribe(function(){b.openingDialog()});(0,W.fromEvent)(a,"click").pipe(qf(b.destroyed)).subscribe(function(c){c.target.closest("[xapInlineDialogClose]")?
b.closingDialog():(b.openingDialog(),b.openDialog())});(0,W.fromEvent)(a,"mouseleave").pipe(qf(b.destroyed)).subscribe(function(){b.closingDialog()});(0,W.fromEvent)(a,"mousemove").pipe(qf(b.destroyed)).subscribe(function(){b.activity.next()})})};
g.attachKeyboardCloseEventListeners=function(a){var b=this;this.ngZone.runOutsideAngular(function(){(0,W.fromEvent)(a,"keydown").pipe(qf(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 mx(Object.assign({},this.overlayDimensions,{positionStrategy:vU.prototype.createPositionStrategy.call(this,a),scrollStrategy:csc(this),panelClass:this.panelClassInternal}))};JU.\u0275fac=function(a){return new (a||JU)(A(ze),A(vx),A(Rd),A(dg),A(gh),A(Cw),A(xw),A(Ae))};
JU.\u0275dir=fd({type:JU,selectors:[["","xapInlineDialog",""]],hostAttrs:[1,"xap-inline-dialog"],inputs:{dialog:[0,"xapInlineDialog","dialog"],disabled:[0,"xapInlineDialogDisabled","disabled"],hoverDelayMs:"hoverDelayMs"},exportAs:["xapInlineDialog"],standalone:!0,features:[zf]});var KU=function(){};KU.\u0275fac=function(a){return new (a||KU)};KU.\u0275mod=dd({type:KU});KU.\u0275inj=Ic({});var LU=function(){};LU.\u0275fac=function(a){return new (a||LU)};LU.\u0275mod=dd({type:LU});LU.\u0275inj=Ic({imports:[BB,EU,FU,NL,AS,HU,IU,aM,My,KU,LP]});var MU=function(){};MU.\u0275fac=function(a){return new (a||MU)};MU.\u0275mod=dd({type:MU});MU.\u0275inj=Ic({imports:[BB,bM]});var NU=function(){};NU.\u0275fac=function(a){return new (a||NU)};NU.\u0275mod=dd({type:NU});NU.\u0275inj=Ic({imports:[ww,zx,zx]});var OU=function(){};OU.\u0275fac=function(a){return new (a||OU)};OU.\u0275mod=dd({type:OU});OU.\u0275inj=Ic({imports:[MU,BB,LU,ML,ZL,NU,BS,vB]});var PU=function(a){this.executor=a};PU.\u0275fac=function(a){return new (a||PU)(n(IB))};PU.\u0275prov=Hc({token:PU,factory:PU.\u0275fac,providedIn:"root"});var QU=function(a,b){Z.call(this);this.dialogRef=a;this.tosApi=b;this.ackChecked=!1};X(QU,Z);QU.\u0275dir=Z.\u0275dir;QU.prototype.accept=function(){var a=this;this.tosApi.executor.post({url:"action/terms_ack",body:null,responseConstructor:null}).pipe(qf(this.destroyed$)).subscribe(function(){a.dialogRef.close()})};QU.\u0275fac=function(a){return new (a||QU)(A(pI),A(PU))};
QU.\u0275cmp=p({type:QU,selectors:[["b-terms-of-service-dialog"]],features:[zf],decls:16,vars:2,consts:[["mat-dialog-title",""],[1,"b-tos-content"],[3,"ngModelChange","ngModel"],["href","https://www.google.com/policies/terms/","target","_blank"],["href","/terms","target","_blank"],["mat-flat-button","",1,"gmat-button",3,"click","disabled"]],template:function(a,b){a&1&&(F(0,"h1",0),R(1,"Google IssueTracker Terms of Service"),G(),F(2,"mat-dialog-content")(3,"div",1)(4,"mat-checkbox",2),pg("ngModelChange",
function(c){og(b.ackChecked,c)||(b.ackChecked=c);return c}),G(),F(5,"span"),R(6," I acknowledge and agree to the "),F(7,"a",3),R(8,"Google Terms of Service"),G(),R(9," and the "),F(10,"a",4),R(11,"Google IssueTracker Conduct Policy"),G(),R(12,". "),G()()(),F(13,"mat-dialog-actions")(14,"button",5),M("click",function(){return b.accept()}),R(15," OK "),G()());a&2&&(z(4),ng("ngModel",b.ackChecked),z(10),D("disabled",!b.ackChecked))},dependencies:[qy,yy,oE,QH,RH,zI,BI,AI],styles:[".b-tos-content[_ngcontent-%COMP%]{padding-top:1em}.b-tos-content[_ngcontent-%COMP%]   mat-checkbox[_ngcontent-%COMP%]{padding-right:8px}"]});var RU=function(a,b){Z.call(this);this.activeSession=a;this.matDialogService=b};X(RU,Z);RU.\u0275dir=Z.\u0275dir;RU.prototype.ngOnInit=function(){this.activeSession.getMustAcknowledgeTerms()&&qI(this.matDialogService.open(QU,{width:"400px",disableClose:!0})).pipe(qf(this.destroyed$))};RU.\u0275fac=function(a){return new (a||RU)(A(Ir),A(wI))};RU.\u0275cmp=p({type:RU,selectors:[["b-terms-of-service"]],features:[zf],decls:0,vars:0,template:function(){},encapsulation:2});var SU=function(){};SU.\u0275fac=function(a){return new (a||SU)};SU.\u0275mod=dd({type:SU});SU.\u0275inj=Ic({imports:[My,BB,ML,jM,fJ]});var TU=function(){};TU.\u0275fac=function(a){return new (a||TU)};TU.\u0275mod=dd({type:TU});TU.\u0275inj=Ic({imports:[BB,SU]});var hsc={QA:124156,NIGHTLY:190923,PROD:190923};var UU=function(a,b,c,d,e,f){Z.call(this);var h=this;this.componentApi=b;this.appEvents=e;this.activeSession=f;this.components=a.get("components-second-level-cache")||a.create("components-second-level-cache",{capacity:25});this.subscriptions.add(this.appEvents.componentModified.subscribe(function(k){h.components.removeAll();d.invalidate(k)}));this.componentGetter=c.adapt(function(k){var q=Ya(k);Jba(q);return h.componentApi.query({id:q}).then(function(t){var w={};t=l(t);for(var B=t.next();!B.done;B=
t.next())(B=B.value)&&(w[B.componentId]=B);return k.map(function(E){return w[E]||null})})})};X(UU,Z);UU.\u0275dir=Z.\u0275dir;g=UU.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 K6b("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 isc(this,a,this.componentApi.query(c))};
var isc=function(a,b,c){if(b.match(/^\s*android\s*$/i)){var d=hsc[a.activeSession.getEnvironmentType()];if(d)return pp({publicComponent:a.get(d),rest:c}).then(function(e){var f=[e.publicComponent];e=l(e.rest);for(var h=e.next();!h.done;h=e.next())h=h.value,h.componentId!==d&&f.push(h);return f})}return c};
UU.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=l(f);for(var k=f.next();!k.done;k=f.next())(k=k.value)&&(h[k.componentId]=k);return h});c=l(c);for(var d=c.next(),e={};!d.done;e={id$jscomp$359:void 0},d=c.next())e.id$jscomp$359=d.value,this.components.put(String(e.id$jscomp$359),a.then(function(f){return function(h){return h[f.id$jscomp$359]?h[f.id$jscomp$359]:
Promise.reject(new K6b("Could not load details for component "+f.id$jscomp$359))}}(e)))}};UU.\u0275fac=function(a){return new (a||UU)(n(IE),n(BC),n(jD),n(CC),n(yE),n(Ir))};UU.\u0275prov=Hc({token:UU,factory:UU.\u0275fac,providedIn:"root"});var VU=function(){this.showFolderSpecialIcon=!1;this.mode="default";this.query="";this.selectComponentId=new XF;this.expandComponent=new XF;this.goBack=new XF};VU.prototype.ngOnInit=function(){};VU.prototype.expand=function(a,b){b.preventDefault();b.stopPropagation();this.expandComponent.emit(a)};VU.prototype.back=function(a){a.preventDefault();a.stopPropagation();this.goBack.emit()};VU.\u0275fac=function(a){return new (a||VU)};
VU.\u0275cmp=p({type:VU,selectors:[["component-row"]],inputs:{showFolderSpecialIcon:"showFolderSpecialIcon",componentOption:"componentOption",mode:"mode",query:"query"},outputs:{selectComponentId:"selectComponentId",expandComponent:"expandComponent",goBack:"goBack"},decls:13,vars:10,consts:[["leafOnly",""],["noAccessComponent",""],[1,"container"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[1,"content"],[1,"margin-s-right"],[4,"ngIf","ngIfElse"],["class","archived-indicator",4,"ngIf"],
[3,"accessLevel","labelOnlyMode"],[3,"trackerId","showHovercard"],["svgIcon","history"],["mat-icon-button","","aria-label","Return to search results","matTooltip","Return to search results",3,"mousedown"],["svgIcon","back"],["mat-icon-button","",1,"expand-button",3,"mousedown","matTooltip"],[3,"svgIcon"],[4,"ngFor","ngForOf"],[4,"ngIf"],[1,"subtle-link",3,"mousedown","innerHtml"],[1,"subtle-link",3,"mousedown"],[1,"archived-indicator"]],template:function(a,b){a&1&&(F(0,"div",2),K(1,3),C(2,xXa,2,0,
"ng-container",4)(3,yXa,3,0,"ng-container",4)(4,zXa,3,3,"ng-container",5),L(),F(5,"div",6)(6,"span",7),C(7,EXa,2,1,"ng-container",8)(8,GXa,1,1,"ng-template",null,0,yg)(10,HXa,2,0,"span",9),G(),H(11,"b-component-access-level-indicator",10)(12,"b-tracker-chip-smart",11),G()());a&2&&(a=Q(9),z(),D("ngSwitch",b.mode),z(),D("ngSwitchCase","recent"),z(),D("ngSwitchCase","tree"),z(4),D("ngIf",b.mode!=="leaf")("ngIfElse",a),z(3),D("ngIf",b.componentOption.archived),z(),D("accessLevel",b.componentOption.accessLimit==
null?null:b.componentOption.accessLimit.accessLevel)("labelOnlyMode",!0),z(),D("trackerId",b.componentOption.trackerId)("showHovercard",!1))},dependencies:[Fv,Gv,Hv,Iv,Jv,zB,oE,LH,OH,nQ,yN,xJ,CJ],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-icon-button[_ngcontent-%COMP%]{width:20px;height:20px;-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;line-height:18px}.mat-icon-button[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{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 WU=function(a,b,c,d,e,f,h,k){var q=this;this.userApi=a;this.componentActions=b;this.teamsService=c;this.analytics=d;this.destroyed$=e;this.config=f;this.trackerHelpers=h;this.activeSession=k;this.includeArchived=!1;this.searchQuery$=new W.BehaviorSubject("");this.debouncedSearchQuery$=this.searchQuery$.pipe(bf(250));this.state$=new W.BehaviorSubject("default");this.listUpdated$=new W.Subject;this.componentsLoading=this.teamsLoading=!1;this.teamScope$=new W.BehaviorSubject(void 0);this.componentOptions=
[];this.childTeamsMap=new Map;this.componentCountMap=new Map;this.recentComponents=[];this.myTeams$=new W.BehaviorSubject([]);this.showAllTeams$=new W.BehaviorSubject(!1);this.showAllTeamsDistinct$=this.showAllTeams$.pipe(df());this.teamOptions$=new W.BehaviorSubject([]);this.filteredTeamOptions$=(0,W.combineLatest)([this.teamOptions$,this.showAllTeamsDistinct$]).pipe(y(function(t){var w=l(t);t=w.next().value;return w.next().value?t:t.slice(0,5)}));this.hasHiddenTeams$=(0,W.combineLatest)([this.teamOptions$,
this.showAllTeamsDistinct$]).pipe(y(function(t){var w=l(t);t=w.next().value;w=w.next().value;return t.length>5&&!w}));this.newChildTeams$=new W.BehaviorSubject([]);this.teamsDisplayed$=(0,W.merge)(this.myTeams$,this.teamOptions$,this.newChildTeams$,this.teamScope$.pipe(y(function(t){return t?[t]:[]}))).pipe(y(function(t){return t.map(function(w){return w.id})}));this.unseenTeamChildTeamsMap$=this.teamsDisplayed$.pipe(y(function(t){return t.filter(function(w){return!q.childTeamsMap.has(w)})}),te(function(t){return t.length>
0}),pf(function(t){return q.teamsService.getChildTeams(t)}),y(LXa));this.unseenTeamComponentCountMap$=this.teamsDisplayed$.pipe(y(function(t){return t.filter(function(w){return!q.componentCountMap.has(w)})}),te(function(t){return t.length>0}),pf(function(t){return n9b(q.teamsService,t)}));this.componentIdSelected$=new W.ReplaySubject(1);this.lastProcessedIndex=-1;this.requestIndex=0};
WU.prototype.init=function(a){var b=this;a=a===void 0?!1:a;jsc(this);(0,W.combineLatest)([this.debouncedSearchQuery$.pipe(nf(a?1:0)),this.state$]).pipe(qf(this.destroyed$)).subscribe(function(c){var d=l(c);c=d.next().value;d=d.next().value;b.showAllTeams$.next(!1);d==="default"?c?b.state$.next("global"):(b.componentOptions=[],b.teamOptions$.next([]),b.listUpdated$.next()):d==="global"?c?(b.includeTeamData()&&ksc(b,c),lsc(b,c)):b.state$.next("default"):d==="team_scope"?b.teamScope$.value&&(b.teamOptions$.next([]),
lsc(b,"teamid:"+b.teamScope$.value.id+" "+c)):d==="component_scope"&&b.componentScope&&msc(b,b.componentScope.id)});this.debouncedSearchQuery$.pipe(tf(this.state$),qf(this.destroyed$)).subscribe(function(c){var d=l(c);c=d.next().value;d.next().value==="component_scope"&&b.state$.next(c?"global":"default")});this.unseenTeamChildTeamsMap$.pipe(qf(this.destroyed$)).subscribe(function(c){c=l(c.entries());for(var d=c.next();!d.done;d=c.next()){var e=l(d.value);d=e.next().value;e=e.next().value;b.childTeamsMap.set(d,
e)}});this.unseenTeamComponentCountMap$.pipe(qf(this.destroyed$)).subscribe(function(c){c=l(c.entries());for(var d=c.next();!d.done;d=c.next()){var e=l(d.value);d=e.next().value;e=e.next().value;b.componentCountMap.set(d,e)}})};WU.prototype.includeTeamData=function(){return this.config.includeTeamData&&!kp(this.activeSession)};
var jsc=function(a){a.componentsLoading=!0;a.userApi.getRecentComponents().then(function(b){b=b.filter(function(c){return a.filterTrackerComponents(c)});b=nsc(a,b);a.recentComponents=b;a.listUpdated$.next()}).finally(function(){a.componentsLoading=!1});a.includeTeamData()&&(a.teamsLoading=!0,iH(a.teamsService,"").pipe(qf(a.destroyed$)).subscribe(function(b){a.myTeams$.next(b.map(IXa));a.listUpdated$.next();a.teamsLoading=!1},function(){a.teamsLoading=!1}))};
WU.prototype.filterTrackerComponents=function(a){var b;return!kp(this.activeSession)||a.trackerId===((b=this.activeSession.getTracker())==null?void 0:b.trackerId)};WU.prototype.selectOption=function(a){a.type==="component"?ZYa(this,a.id):a.type==="team"?fYa(this,a):console.warn("invalid option selected")};
var ZYa=function(a,b){var c=osc(a);a.analytics.trackEvent("componentPicker","autocomplete-select",c);a.componentIdSelected$.next(b);a.state$.next("global")},osc=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""};
WU.prototype.expandComponent=function(a){this.componentScope=a;this.state$.next("component_scope")};
var MYa=function(a,b){a.componentActions.get(b).then(function(c){var d=mr(a.trackerHelpers,c.componentPathInfo);a.componentScope=KXa(c,d);a.state$.next("component_scope")})},LYa=function(a){a.componentScope=void 0;a.searchQuery$.value?a.state$.next("global"):a.state$.next("default")},fYa=function(a,b){a.teamScope$.next(Object.assign({},b,{expanded:!1}));a.state$.next("team_scope");a.searchQuery$.next("");b.pathNames||Lp(a,b.id)},Lp=function(a,b){a.teamsLoading=!0;iH(a.teamsService,b).pipe(qf(a.destroyed$)).subscribe(function(c){c=
c.map(IXa);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})},psc=function(a){if(a.teamScope$.value&&a.teamScope$.value.pathIds&&!(a.teamScope$.value.pathIds.length<2)){var b=a.teamScope$.value.pathIds;Lp(a,b[b.length-2])}};WU.prototype.getChildTeams=function(a){var b;return(b=this.childTeamsMap.get(a))!=null?b:[]};
WU.prototype.hasNoComponent=function(a){return this.componentCountMap.has(a)?this.componentCountMap.get(a)===0:!1};
var BYa=function(a,b){b.expanded=!1;a.listUpdated$.next()},CYa=function(a,b){b.expanded=!0;a.listUpdated$.next();a.newChildTeams$.next(a.getChildTeams(b.id))},FYa=function(a){a.teamScope$.next(void 0);a.searchQuery$.next("");a.state$.next("default")},ksc=function(a,b){b.length>1&&(a.teamsLoading=!0,iH(a.teamsService,b).pipe(qf(a.destroyed$)).subscribe(function(c){a.teamOptions$.next(c.map(IXa));a.teamsLoading=!1;a.listUpdated$.next()},function(){a.teamsLoading=!1}))},lsc=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=nsc(a,d));a.listUpdated$.next()}).finally(function(){a.componentsLoading=!1})}},msc=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=nsc(a,d),a.listUpdated$.next())}).finally(function(){a.componentsLoading=
!1})},nsc=function(a,b){return b.map(function(c){var d=mr(a.trackerHelpers,c.componentPathInfo);return KXa(c,d)})};var qsc=0,XU=function(a,b){this.changeDetectorRef=a;this.elementRef=b;this.active=!1;this.id="b-component-picker-option-"+qsc;qsc+=1};XU.prototype.setActiveStyles=function(){this.active=!0;this.changeDetectorRef.markForCheck()};XU.prototype.setInactiveStyles=function(){this.active=!1;this.changeDetectorRef.markForCheck()};XU.\u0275fac=function(a){return new (a||XU)(A(Ig),A(Rd))};
XU.\u0275dir=fd({type:XU,selectors:[["","listOption",""]],hostVars:3,hostBindings:function(a,b){a&2&&(Tf("id",b.id),Kf("active",b.active))},inputs:{data:"data",listOrder:"listOrder"}});var YU=function(){this.query="";this.hasNoComponent=this.compact=this.allowSegmentSelection=!1;this.selectTeamId=new XF};YU.prototype.getLogoUrl=function(){return"https://moma-teams-photos.corp.google.com/logo/"+this.teamOption.id};YU.prototype.ngOnInit=function(){};YU.\u0275fac=function(a){return new (a||YU)};
YU.\u0275cmp=p({type:YU,selectors:[["team-row"]],inputs:{teamOption:"teamOption",query:"query",allowSegmentSelection:"allowSegmentSelection",compact:"compact",hasNoComponent:"hasNoComponent"},outputs:{selectTeamId:"selectTeamId"},decls:5,vars:7,consts:[["lastSeg",""],["plainText",""],["normal",""],[1,"container"],["alt","Team logo",4,"ngIf"],[1,"content"],["class","name-row",4,"ngIf"],["class","path",4,"ngIf"],["alt","Team logo"],[1,"name-row"],[1,"team-name",3,"innerHtml"],["class","no-component-label",
4,"ngIf"],[1,"no-component-label"],[1,"path"],[4,"ngFor","ngForOf"],[4,"ngIf","ngIfElse"],[1,"subtle-link",3,"mousedown"],[1,"team-name"]],template:function(a,b){a&1&&(F(0,"div",3),C(1,MXa,1,1,"img",4),F(2,"div",5),C(3,OXa,4,5,"div",6)(4,WXa,2,1,"div",7),G()());a&2&&(Kf("no-component",b.hasNoComponent)("compact",b.compact),z(),D("ngIf",!b.compact),z(2),D("ngIf",!b.compact),z(),D("ngIf",b.teamOption.pathNames&&b.teamOption.pathNames.length))},dependencies:[Fv,Gv,xJ],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 rsc=new md("GMAT_PROGRESS_BAR_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var ssc=new md("MAT_PROGRESS_BAR_DEFAULT_OPTIONS");new md("mat-progress-bar-location",{providedIn:"root",factory:YXa});
var ZU=function(a,b,c,d,e){var f=this;this._elementRef=a;this._ngZone=b;this._changeDetectorRef=c;this._animationMode=d;this._isNoopAnimation=!1;this._defaultColor="primary";this._bufferValue=this._value=0;this.animationEnd=new Xu;this._mode="determinate";this._transitionendHandler=function(h){f.animationEnd.observers.length!==0&&h.target&&h.target.classList.contains("mdc-linear-progress__primary-bar")&&(f.mode!=="determinate"&&f.mode!=="buffer"||f._ngZone.run(function(){return f.animationEnd.next({value:f.value})}))};
this._isNoopAnimation=d==="NoopAnimations";e&&(e.color&&(this.color=this._defaultColor=e.color),this.mode=e.mode||this.mode)};g=ZU.prototype;g.ngAfterViewInit=function(){var a=this;this._ngZone.runOutsideAngular(function(){a._elementRef.nativeElement.addEventListener("transitionend",a._transitionendHandler)})};g.ngOnDestroy=function(){this._elementRef.nativeElement.removeEventListener("transitionend",this._transitionendHandler)};
g._getPrimaryBarTransform=function(){return"scaleX("+(this._isIndeterminate()?1:this.value/100)+")"};g._getBufferBarFlexBasis=function(){return(this.mode==="buffer"?this.bufferValue:100)+"%"};g._isIndeterminate=function(){return this.mode==="indeterminate"||this.mode==="query"};
ea.Object.defineProperties(ZU.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()}}});ZU.\u0275fac=function(a){return new (a||ZU)(A(Rd),A(ze),A(Ig),A(vu,8),A(ssc,8))};
ZU.\u0275cmp=p({type:ZU,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&&(Bf("aria-valuenow",b._isIndeterminate()?null:b.value)("mode",b.mode),Lf("mat-"+b.color),Kf("_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",Hg],bufferValue:[2,"bufferValue","bufferValue",Hg],mode:"mode"},outputs:{animationEnd:"animationEnd"},exportAs:["matProgressBar"],standalone:!0,features:[Af,sg],decls:7,vars:5,consts:[["aria-hidden","true",1,"mdc-linear-progress__buffer"],[1,"mdc-linear-progress__buffer-bar"],[1,"mdc-linear-progress__buffer-dots"],["aria-hidden","true",1,"mdc-linear-progress__bar","mdc-linear-progress__primary-bar"],[1,"mdc-linear-progress__bar-inner"],["aria-hidden","true",1,"mdc-linear-progress__bar",
"mdc-linear-progress__secondary-bar"]],template:function(a,b){a&1&&(F(0,"div",0),H(1,"div",1),C(2,XXa,1,0,"div",2),G(),F(3,"div",3),H(4,"span",4),G(),F(5,"div",5),H(6,"span",4),G());a&2&&(z(),Jf("flex-basis",b._getBufferBarFlexBasis()),z(),Of(b.mode==="buffer"?2:-1),z(),Jf("transform",b._getPrimaryBarTransform()))},styles:["@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(var(--mdc-linear-progress-primary-half))}100%{transform:translateX(var(--mdc-linear-progress-primary-full))}}@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(var(--mdc-linear-progress-secondary-quarter))}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(var(--mdc-linear-progress-secondary-half))}100%{transform:translateX(var(--mdc-linear-progress-secondary-full))}}@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(var(--mdc-linear-progress-primary-half-neg))}100%{transform:translateX(var(--mdc-linear-progress-primary-full-neg))}}@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(var(--mdc-linear-progress-secondary-quarter-neg))}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(var(--mdc-linear-progress-secondary-half-neg))}100%{transform:translateX(var(--mdc-linear-progress-secondary-full-neg))}}@keyframes mdc-linear-progress-buffering-reverse{from{transform:translateX(-10px)}}.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)}@media screen and (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)}.mdc-linear-progress__bar-inner{display:inline-block;position:absolute;width:100%;animation:none;border-top-style:solid}.mdc-linear-progress__buffer{display:flex;position:absolute;top:0;bottom:0;margin:auto 0;width:100%;overflow:hidden}.mdc-linear-progress__buffer-dots{background-repeat:repeat-x;flex:auto;transform:rotate(180deg);-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\");animation:mdc-linear-progress-buffering 250ms infinite linear}.mdc-linear-progress__buffer-bar{flex:0 1 100%;transition:flex-basis 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-linear-progress__primary-bar{transform:scaleX(0)}.mdc-linear-progress__secondary-bar{display:none}.mdc-linear-progress--indeterminate .mdc-linear-progress__bar{transition:none}.mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{left:-145.166611%}.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__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}.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:not([dir=ltr]) .mdc-linear-progress__bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]) .mdc-linear-progress__bar{right:0;-webkit-transform-origin:center right;transform-origin:center right}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar{animation-name:mdc-linear-progress-primary-indeterminate-translate-reverse}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar{animation-name:mdc-linear-progress-secondary-indeterminate-translate-reverse}[dir=rtl] .mdc-linear-progress:not([dir=ltr]) .mdc-linear-progress__buffer-dots,.mdc-linear-progress[dir=rtl]:not([dir=ltr]) .mdc-linear-progress__buffer-dots{animation:mdc-linear-progress-buffering-reverse 250ms infinite linear;transform:rotate(0)}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{right:-145.166611%;left:auto}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar{right:-54.888891%;left:auto}.mdc-linear-progress--closed{opacity:0}.mdc-linear-progress--closed-animation-off .mdc-linear-progress__buffer-dots{animation:none}.mdc-linear-progress--closed-animation-off.mdc-linear-progress--indeterminate .mdc-linear-progress__bar,.mdc-linear-progress--closed-animation-off.mdc-linear-progress--indeterminate .mdc-linear-progress__bar .mdc-linear-progress__bar-inner{animation:none}@keyframes mdc-linear-progress-buffering{from{transform:rotate(180deg) translateX(calc(var(--mdc-linear-progress-track-height) * -2.5))}}.mdc-linear-progress__bar-inner{border-color:var(--mdc-linear-progress-active-indicator-color)}.mdc-linear-progress__buffer-dots{background-color:var(--mdc-linear-progress-track-color)}@media(forced-colors: active){.mdc-linear-progress__buffer-dots{background-color:ButtonBorder}}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mdc-linear-progress__buffer-dots{background-color:rgba(0,0,0,0);background-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='none slice'%3E%3Ccircle cx='1' cy='1' r='1' fill='rgba(244, 67, 54, 0.25)'/%3E%3C/svg%3E\")}}.mdc-linear-progress__buffer-bar{background-color:var(--mdc-linear-progress-track-color)}.mdc-linear-progress{height:max(var(--mdc-linear-progress-track-height), var(--mdc-linear-progress-active-indicator-height))}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mdc-linear-progress{height:4px}}.mdc-linear-progress__bar{height:var(--mdc-linear-progress-active-indicator-height)}.mdc-linear-progress__bar-inner{border-top-width:var(--mdc-linear-progress-active-indicator-height)}.mdc-linear-progress__buffer{height:var(--mdc-linear-progress-track-height)}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mdc-linear-progress__buffer-dots{background-size:10px var(--mdc-linear-progress-track-height)}}.mdc-linear-progress__buffer{border-radius:var(--mdc-linear-progress-track-shape)}.mat-mdc-progress-bar{display:block;text-align:start;--mdc-linear-progress-primary-half: 83.67142%;--mdc-linear-progress-primary-full: 200.611057%;--mdc-linear-progress-secondary-quarter: 37.651913%;--mdc-linear-progress-secondary-half: 84.386165%;--mdc-linear-progress-secondary-full: 160.277782%;--mdc-linear-progress-primary-half-neg: -83.67142%;--mdc-linear-progress-primary-full-neg: -200.611057%;--mdc-linear-progress-secondary-quarter-neg: -37.651913%;--mdc-linear-progress-secondary-half-neg: -84.386165%;--mdc-linear-progress-secondary-full-neg: -160.277782%}.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}\n"],
encapsulation:2,changeDetection:0});var $U=function(){};$U.\u0275fac=function(a){return new (a||$U)};$U.\u0275mod=dd({type:$U});$U.\u0275inj=Ic({imports:[zx]});var aV=function(a,b){var c=this;this.options=a;this.progressbar=b;this.destroyed=new W.Subject;this.labelElement=document.createElement("label");this.labelElement.classList.add("cdk-visually-hidden");this.labelElement.classList.add("gmat-mdc-progress-bar-accessible-label");zPa(b._elementRef.nativeElement).pipe(qf(this.destroyed)).subscribe(function(d){c.writeLabelSpan(d[0],d[1])})};aV.prototype.ngOnInit=function(){this.initializeLabelSpan()};
aV.prototype.ngOnDestroy=function(){this.labelElement.remove();this.destroyed.next();this.destroyed.complete()};aV.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())};
aV.prototype.writeLabelSpan=function(a,b){a=b==="indeterminate"?a:a+" "+jnc.format(Number(b)/100);this.labelElement.textContent=a};aV.\u0275fac=function(a){return new (a||aV)(A(rsc),A(ZU,10))};aV.\u0275dir=fd({type:aV,selectors:[["mat-progress-bar"]],hostAttrs:["aria-hidden","true"],hostVars:3,hostBindings:function(a,b){a&2&&(Bf("tabindex",null),Kf("gmat-mdc-progress-bar",!b.options.disableGmatStyle))}});var tsc=["container"],usc=["inputBox"],vsc=["dropdownTemplate"],wsc=["dropdown"],kYa=function(a){return{mode:"recent",$implicit:a}},vYa=function(a){return{mode:"default",$implicit:a}},pYa=function(a){return[a]},oYa=function(a,b){return{team:a,level:0,order:b}},JYa=function(a,b){return{mode:"default",$implicit:a,teamScope:b}},GYa=function(){return[0]},yYa=function(a){return[0,a]},PYa=function(a){return{mode:"leaf",$implicit:a}},UYa=function(a,b,c){return{team:a,level:b,order:c}},xsc=[{originX:"start",
originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],bV=function(a,b,c,d,e,f,h,k,q,t){Z.call(this);this.overlay=a;this.viewContainerRef=b;this.userApi=c;this.componentActions=d;this.teamsService=e;this.userAccess=f;this.analytics=h;this.activeSession=k;this.trackerHelpers=q;this.cdr=t;this.placeholder="";this.isRequired=!1;this.ariaLabel="";this.checkAdminAccess=!1;this.accessCheckComplete=new XF;this.shouldFocus=!1;this.touched=new XF;
this.selectedComponentChange=new XF;this.dropdownClosed=new XF;this.checkingAccess=this.hasAccess=!1;this.isExternal=this.activeSession.isExternalSession();this.searchState=new WU(this.userApi,this.componentActions,this.teamsService,this.analytics,this.destroyed$,{includeTeamData:!this.isExternal},this.trackerHelpers,this.activeSession);this.componentLoading=this.isDropdownOpen=!1};X(bV,Z);bV.\u0275dir=Z.\u0275dir;
bV.prototype.ngOnInit=function(){var a=this;this.searchState.init(!!this.selectedComponent);this.searchState.componentIdSelected$.pipe(qf(this.destroyed$)).subscribe(function(b){a.componentLoading=!0;a.componentActions.get(b).then(function(c){a.selectedComponent=c;ysc(a);a.componentLoading=!1;a.close(!0);a.selectedComponentChange.emit(c)})},function(){a.componentLoading=!1});(0,W.merge)(this.searchState.debouncedSearchQuery$,this.searchState.state$).pipe(qf(this.destroyed$)).subscribe(function(){a.clearActiveItem()})};
bV.prototype.isLoading=function(){return this.componentLoading||this.searchState.componentsLoading||this.searchState.teamsLoading};
var ysc=function(a){if(a.selectedComponent){var b=mr(a.trackerHelpers,a.selectedComponent.componentPathInfo);b=KXa(a.selectedComponent,b);a.searchState.searchQuery$.next(b.componentPath.length?b.componentPath[b.componentPath.length-1].pathText:"")}else a.searchState.searchQuery$.next("")},zsc=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=bV.prototype;g.ngOnChanges=function(a){a.selectedComponent&&(ysc(this),this.checkAdminAccess&&this.selectedComponent&&Asc(this,this.selectedComponent))};g.ngOnDestroy=function(){this.close();Z.prototype.ngOnDestroy.call(this)};
g.ngAfterViewInit=function(){var a=this;this.keyManager=Fw(Gw(new Kw(this.listOptions)));this.searchState.listUpdated$.pipe(qf(this.destroyed$)).subscribe(function(){a.cdr.markForCheck()});this.listOptions.changes.pipe(qf(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(iZa);b=[].concat(r(c),r(b));a.listOptions.reset(b);var d;if((d=a.keyManager)==null?0:d.activeItem)d=b.indexOf(a.keyManager.activeItem),
d>-1&&d!==a.keyManager.activeItemIndex&&a.keyManager.setActiveItem(d)});this.shouldFocus&&setTimeout(function(){a.inputBox.nativeElement.focus()})};g.open=function(){this.isDropdownOpen||(this.isDropdownOpen=!0,this.dropdownOverlayRef=this.createOverlay(),this.attach())};
g.close=function(a){a=a===void 0?!1:a;this.isDropdownOpen&&this.dropdownOverlayRef&&(this.searchState.searchQuery$.value||(this.selectedComponent=void 0,this.selectedComponentChange.emit(void 0)),this.searchState.state$.value==="team_scope"&&FYa(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 Bsc=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};
bV.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),zsc(this)):(this.open(),setTimeout(function(){var d;(d=b.keyManager)==null||yWb(d);zsc(b)}));break;case "ArrowDown":this.isDropdownOpen?(this.keyManager.onKeydown(a),zsc(this)):(this.open(),setTimeout(function(){var d;(d=b.keyManager)!=null&&d._setActiveItemByIndex(0,1);zsc(b)}));break;case "Enter":this.keyManager.activeItem&&
(this.searchState.teamScope$.value===this.keyManager.activeItem.data?FYa(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(),CYa(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?BYa(this.searchState,this.keyManager.activeItem.data):psc(this.searchState));this.searchState.state$.value==="component_scope"&&(a.preventDefault(),LYa(this.searchState));break;case "Backspace":case "Delete":this.keyManager.activeItem&&this.searchState.teamScope$.value===this.keyManager.activeItem.data&&(FYa(this.searchState),a.preventDefault());break;default:this.touched.emit(),
this.isDropdownOpen||this.open()}};var Kp=function(a){a.preventDefault();a.stopPropagation()},Asc=function(a,b){a.checkingAccess=!0;a.hasAccess=!1;oD(a.userAccess,"admin","components/"+b.componentId).then(function(c){a.checkingAccess=!1;a.accessCheckComplete.emit(c);a.hasAccess=c})};g=bV.prototype;
g.createOverlay=function(){var a=this.getPositionStrategy(),b=this.getScrollStrategy(),c;return this.overlay.create(new mx({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 Ow(this.dropdownTemplateRef,this.viewContainerRef),b;(b=this.dropdownOverlayRef)==null||b.attach(a);var c;(c=this.dropdownOverlayRef)==null||c.updatePosition()};
g.getPositionStrategy=function(){return px(PWb(rx(ux(this.overlay.position(),this.container),!1),!1),xsc)};g.getScrollStrategy=function(){return this.overlay.scrollStrategies.reposition()};g.clearActiveItem=function(){this.keyManager&&this.keyManager.activeItem&&(this.keyManager.setActiveItem(-1),this.dropdown&&(this.dropdown.nativeElement.scrollTop=0))};ea.Object.defineProperties(bV.prototype,{includeArchived:{configurable:!0,enumerable:!0,set:function(a){this.searchState.includeArchived=a}}});
bV.\u0275fac=function(a){return new (a||bV)(A(vx),A(dg),A(aF),A(UU),A(gH),A(mD),A(bG),A(Ir),A(kQ),A(Ig))};
bV.\u0275cmp=p({type:bV,selectors:[["b-team-component-picker"]],viewQuery:function(a,b){a&1&&(fg(tsc,7),fg(usc,7),fg(vsc,7),fg(wsc,5),fg(XU,5));if(a&2){var c;jg(c=kg())&&(b.container=c.first);jg(c=kg())&&(b.inputBox=c.first);jg(c=kg())&&(b.dropdownTemplateRef=c.first);jg(c=kg())&&(b.dropdown=c.first);jg(c=kg())&&(b.listOptions=c)}},inputs:{placeholder:"placeholder",isRequired:"isRequired",ariaLabel:"ariaLabel",selectedComponent:"selectedComponent",checkAdminAccess:"checkAdminAccess",shouldFocus:"shouldFocus",
includeArchived:"includeArchived"},outputs:{accessCheckComplete:"accessCheckComplete",touched:"touched",selectedComponentChange:"selectedComponentChange",dropdownClosed:"dropdownClosed"},features:[zf,td],decls:13,vars:10,consts:[["container",""],["inputBox",""],["dropdownTemplate",""],["teamTreeItem",""],["componentList",""],["maybeShowNotAdmin",""],["dropdown",""],["emptyList",""],[1,"container","pseudo-input"],["type","text","role","combobox","autocomplete","off","spellcheck","false","aria-autocomplete",
"list",1,"override",3,"ngModelChange","keydown","click","focus","blur","ngModel","placeholder","required"],["mat-icon-button","","tabindex","-1","matTooltip","Clear component","aria-label","Clear component",3,"mousedown",4,"ngIf"],[4,"ngIf"],["mat-icon-button","","tabindex","-1","matTooltip","Clear component","aria-label","Clear component",3,"mousedown"],["svgIcon","clear"],["class","bv2-picker-checking",4,"ngIf","ngIfElse"],[1,"bv2-picker-checking"],["class","bv2-picker-error",4,"ngIf"],[1,"bv2-picker-error"],
["target","_blank",3,"href"],[1,"dropdown",3,"mousedown"],[1,"progress-bar-container"],["mode","indeterminate",4,"ngIf"],[1,"dropdown-content"],[3,"ngSwitch"],[4,"ngSwitchCase"],["mode","indeterminate"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["role","tree",4,"ngIf"],["role","tree"],[1,"section-header"],[4,"ngFor","ngForOf"],["role","treeitem","listOption","",1,"list-option",3,"mousedown","data"],[3,"selectTeamId","teamOption","query","hasNoComponent"],["tabindex","-1","class","unstyled expand-team-line-button",
3,"mousedown",4,"ngIf"],["tabindex","-1",1,"unstyled","expand-team-line-button",3,"mousedown"],["svgIcon","arrow-down"],["class","team-scope-container",4,"ngIf"],[1,"team-scope-container"],["listOption","",1,"team-scope",3,"data","listOrder"],[3,"selectTeamId","teamOption","query","compact","allowSegmentSelection"],["tabindex","-1","mat-icon-button","","matTooltip","Clear team filter",1,"gmat-button","small","clear-filter",3,"mousedown"],["svgIcon","close"],["class","team-scope-child-teams",4,"ngIf"],
[1,"team-scope-child-teams"],["class","component-scope-container",4,"ngIf"],[1,"component-scope-container"],[1,"title"],["mode","tree",3,"goBack","selectComponentId","componentOption"],["role","treeitem","listOption","",1,"list-option",3,"mousedown","listOrder","data"],[1,"team-row-container"],["class","arrow-button","mat-icon-button","","aria-label","Show child teams",3,"mousedown",4,"ngIf"],["mat-icon-button","","aria-label","Show child teams",1,"arrow-button",3,"mousedown"],["svgIcon","arrow-dropdown"],
["role","listbox",4,"ngIf","ngIfElse"],["role","listbox"],["role","option","listOption","","class","list-option",3,"data","mousedown",4,"ngFor","ngForOf"],["role","option","listOption","",1,"list-option",3,"mousedown","data"],[3,"selectComponentId","expandComponent","showFolderSpecialIcon","componentOption","query","mode"],["class","empty-list muted",4,"ngIf"],[1,"empty-list","muted"],[4,"ngSwitchDefault"],["svgIcon","close",1,"icon-xs","valign-middle"],["href","http://go/buganizer:component-mapping#associate",
"target","_blank"],["svgIcon","pop-out",1,"icon-xs"]],template:function(a,b){if(a&1){var c=u();F(0,"div",8,0)(2,"input",9,1);T(4,"async");M("ngModelChange",function(d){v(c);return x(b.searchState.searchQuery$.next(d))})("keydown",function(d){v(c);return x(b.handleKeydown(d))})("click",function(){v(c);b.open();return x(b.touched.emit())})("focus",function(){v(c);return x(b.open())})("blur",function(){v(c);return x(b.close())});G();C(5,ZXa,2,0,"button",10);G();C(6,cYa,4,2,"div",11)(7,RYa,11,8,"ng-template",
null,2,yg)(9,XYa,5,11,"ng-template",null,3,yg)(11,hZa,3,2,"ng-template",null,4,yg)}a&2&&(a=Q(3),z(2),D("ngModel",V(4,8,b.searchState.searchQuery$))("placeholder",b.placeholder)("required",b.isRequired),Bf("aria-label",b.ariaLabel+(b.selectedComponent?" Component selected. Change.":" Choose component"))("aria-expanded",b.isDropdownOpen)("aria-activedescendant",Bsc(b)),z(3),D("ngIf",a.value),z(),D("ngIf",b.checkAdminAccess))},dependencies:[Fv,Gv,Kv,Hv,Iv,Jv,zB,mh,qy,Iy,yy,oE,MP,LH,OH,aV,ZU,YU,VU,XU,
Lv],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-button-focus-overlay{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-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:16px}.mat-icon-button[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{height:16px;width:16px;line-height:16px}.mat-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 cV=function(a){Z.call(this);this.dialogRef=a};X(cV,Z);cV.\u0275dir=Z.\u0275dir;cV.prototype.onSave=function(){this.dialogRef.close(this.selectedId)};cV.prototype.onCancel=function(){this.dialogRef.close()};cV.prototype.onSelect=function(a){this.selectedId=a==null?void 0:a.componentId};cV.\u0275fac=function(a){return new (a||cV)(A(pI))};
cV.\u0275cmp=p({type:cV,selectors:[["component_picker_dialog"]],features:[zf],decls:9,vars:1,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[3,"selectedComponentChange"],["mat-dialog-actions",""],["mat-button","",1,"gmat-button","medium","cancel",3,"click"],["mat-flat-button","","color","primary","data-test","save",1,"gmat-button","medium",3,"click","disabled"]],template:function(a,b){a&1&&(F(0,"header",0),R(1," Choose a Component\n"),G(),F(2,"div",1)(3,"b-team-component-picker",2),M("selectedComponentChange",
function(c){return b.onSelect(c)}),G()(),F(4,"div",3)(5,"button",4),M("click",function(){return b.onCancel()}),R(6," Cancel "),G(),F(7,"button",5),M("click",function(){return b.onSave()}),R(8," Save "),G()());a&2&&(z(7),D("disabled",b.selectedId==null))},dependencies:[oE,zI,BI,AI,bV],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 dV=function(a){this.dialog=a};dV.prototype.open=function(a){var b=this,c={panelClass:"no-jitter"};return new Promise(function(d){qI(b.dialog.open(cV,c)).subscribe(function(e){a==null||a(e);d(e)})})};dV.\u0275fac=function(a){return new (a||dV)(n(wI))};dV.\u0275prov=Hc({token:dV,factory:dV.\u0275fac,providedIn:"root"});var eV=function(){};eV.\u0275fac=function(a){return new (a||eV)};eV.\u0275mod=dd({type:eV});eV.\u0275inj=Ic({imports:[$U]});var fV=function(){};fV.\u0275fac=function(a){return new (a||fV)};fV.\u0275mod=dd({type:fV});fV.\u0275inj=Ic({imports:[BB,My,ML,NP,aM,eV,fJ,yx,Tw,vS,ww,GJ,DN]});var lZa=0;var Csc=Gl("blinkers-activated"),Dsc=Fl("blinkers-activated"),Esc=Fl("log-xhrs-to-console"),Fsc=Gl("log-xhrs-to-console"),Gsc=mZa("debug-dom-mutation","var(--c400)"),Hsc=mZa("debug-ng-zone","var(--red-400)"),Isc=mZa("debug-xhr","var(--green-500)",1200),Jsc=function(a,b,c){b=b===void 0?"#ccc":b;c=c===void 0?400:c;lZa++;var d=156;d+=(lZa-1)*12;return function(e,f){f=f===void 0?b:f;var h,k=(h=document.getElementById(a))!=null?h:jZa(a,d);k.style.transition="opacity "+c+"ms";k.style.backgroundColor=f;
k.style.opacity=e?"1":"0"}}("active-user","var(--yellow-500)"),gV=function(a,b){var c=this;this.activityMonitor=a;this.userActivity=b;this.destroyed$=new W.Subject;this.xhrLog=[];this.publicApi={isEnabled:this.isEnabled.bind(this),enable:this.enable.bind(this),disable:this.disable.bind(this)};this.onAnyClick=function(d){d.target.id==="debug-xhr"&&(d=!Esc(),Fsc(d),d?Ksc(c):clearInterval(c.loggingInterval))};this.printXhrLog=function(){var d=c.xhrLog.length;if(d>0){var e=Array(d).fill("\u2588").join("");
console.log(window.location.pathname.padEnd(20)+" XHRs: "+e+" "+(d>0?"("+d+")":""))}c.xhrLog=[]};this.isEnabled()&&Lsc(this)};gV.prototype.ngOnDestroy=function(){Msc(this)};gV.prototype.isEnabled=function(){return Dsc()};gV.prototype.enable=function(){this.isEnabled()||(Csc(!0),Lsc(this))};gV.prototype.disable=function(){Csc(!1);Msc(this)};
var Lsc=function(a){a.activityMonitor.dom$.pipe(qf(a.destroyed$)).subscribe(function(){return void Gsc()});c8b(a.activityMonitor);a.activityMonitor.cdr$.pipe(qf(a.destroyed$)).subscribe(function(){return void Hsc()});a.activityMonitor.xhr$.pipe(qf(a.destroyed$)).subscribe(function(){Isc();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(qf(a.destroyed$)).subscribe(function(b){return void Jsc(b)});
document.addEventListener("click",a.onAnyClick);Esc()&&Ksc(a)},Msc=function(a){a.destroyed$.next();a.activityMonitor.domObserver.disconnect();document.removeEventListener("click",a.onAnyClick)},Ksc=function(a){clearInterval(a.loggingInterval);a.loggingInterval=setInterval(a.printXhrLog,1E3)};gV.\u0275fac=function(a){return new (a||gV)(n(WF),n(ZF))};gV.\u0275prov=Hc({token:gV,factory:gV.\u0275fac,providedIn:"root"});var hV=function(a,b){this.teamDigestFridge=a;this.activeSession=b;this.destroyed$=new W.Subject;this.email=this.activeSession.getUserEmail();this.user=tm(this.activeSession.getUserEmail());this.isInternal=this.activeSession.isInternalSession();this.teams$=this.teamDigestFridge.watchMany({myTeams:!0}).pipe(y(function(c){return c.results}));this.teams$.pipe(y(function(c){return c.map(function(d){return d.teamId})}));this.allTeamIds$=this.teams$.pipe(y(function(c){return c.flatMap(function(d){return d.pathIds})}),
y(function(c){return[].concat(r(new Set(c))).filter(lj)}));eo(this.allTeamIds$.pipe(qf(this.destroyed$)),[])};hV.prototype.ngOnDestroy=function(){this.destroyed$.next()};hV.\u0275fac=function(a){return new (a||hV)(n(kH),n(Ir))};hV.\u0275prov=Hc({token:hV,factory:hV.\u0275fac,providedIn:"root"});var iV=function(a,b,c,d,e,f,h,k,q,t,w,B,E,I,J,N,P,U,ba,ma,na,ya,Pa,ia,qa,ua,Oa,Ka,Cb,Qb,Rb,Wa,xb){var Qa=this;this.activeSession=a;this.appEvents=b;this.ngZone=c;this.window=d;this.buganizerBlinkers=e;this.currentUser=f;this.routeParamsService=h;this.componentPicker=k;this.userPreferencesManager=q;this.parentIssueSuggestions=t;this.router=w;this.formattedCommentsForIssueFridge=B;this.eventsForIssueFridge=E;this.savedSearchFridge=I;this.teamFridge=J;this.permissionsFridge=N;this.hotlistFridge=P;this.componentTemplatesFridge=
U;this.sloFridge=ba;this.componentFridge=ya;this.trackerFridge=ia;this.issueFridge=qa;this.teamDigestFridge=ua;this.hotlistAccessPolicyFridge=Oa;this.changelistFridge=Ka;this.issueRelationshipsFridge=Cb;this.recentEventsForIssuesFridge=Qb;this.componentAccessPolicyFridge=Rb;this.needsAttentionTaskFridge=Wa;this.myTasksFridge=xb;this.fridges=[];this.getCurrentIssueId=function(){var hb;return(hb=Qa.routeParamsService.routeParams$.value)==null?void 0:hb.issueId};this.getCurrentIssue=function(){return Qa.issueFridge.peek(Qa.getCurrentIssueId())};
this.getCurrentIssueEvents=function(){return Qa.eventsForIssueFridge.peek(Qa.getCurrentIssueId())};this.getCurrentIssueAsText=function(){var hb=Qa.getCurrentIssue();if(hb==null)return"";var Ra,Jb=(Ra=Qa.eventsForIssueFridge.peek(hb.issueId))==null?void 0:Ra.events;return yZa(hb,Jb)};this.fridges=[B,E,I,J,N,P,U,ba,ma,na,ya,Pa,ia,qa,ua,Oa,Ka,Cb,Qb,Rb,Wa,xb]};
iV.prototype.install=function(){var a=this;if(this.activeSession.isInternalSession()){var b=this;this.window.bedbug=Object.assign({},this,{ngZone:this.ngZone,appEvents:this.appEvents,router:this.router,requestKeeper:a8b,activeSession:this.activeSession,blinkers:this.buganizerBlinkers.publicApi,toggleDebugLogging:P4b("debug-logging"),toggleLeanFeMigrationDebugLogging:P4b("lean-fe-debug-logging"),toggleOptOutExperiments:P4b("opt-out-experiments"),currentUser:this.currentUser,userPreferencesManager:this.userPreferencesManager,
parentIssueSuggestions:this.parentIssueSuggestions,modals:{componentPicker:this.componentPicker},setFlagOverrideForOneDay:rya,clearFlagOverride:sya,clearAllFlagOverrides:oya,getCurrentIssueAsText:this.getCurrentIssueAsText,printCurrentIssueAsText:function(){var c=a.getCurrentIssueAsText();console.log(c)},get initialSession(){return Pl()},get initialPrefs(){return Pl().userPreferences},get currentPrefs(){return sH(b.userPreferencesManager)},get currentIssue(){return b.getCurrentIssue()},get currentIssueEvents(){return b.getCurrentIssueEvents()},
get flags(){return Object.fromEntries(Pl().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 l4b=!l4b},setTrackerOverride:function(c){BZa(String(c),1)},clearTrackerOverride:function(){BZa("")}})}};
iV.\u0275fac=function(a){return new (a||iV)(n(Ir),n(yE),n(ze),n(EH),n(gV),n(hV),n(vH),n(dV),n(rH),n(dQ),n(pB),n(xF),n(rF),n(gF),n(lH),n(OG),n(bF),n(zE),n(aH),n(YB),n(qF),n(CC),n(VB),n(pH),n(jG),n(kH),n(yF),n(lC),n(CG),n(TG),n(rC),n(NG),n(MG))};iV.\u0275prov=Hc({token:iV,factory:iV.\u0275fac,providedIn:"root"});var jV=function(a){var b=this;this.injector=a;this.clientDarkmode$=this.clientDarkmodeSubject=new W.BehaviorSubject(!1);this.localDarkmode=!1;this.clientStreamzService=null;this.loadLocalDarkmode=function(){b.localDarkmode=window.localStorage.getItem("onedev-darkmode")!=null;Nsc(b,b.localDarkmode);b.clientStreamzService&&fI(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")}};jV.prototype.enableUsageTracking=function(){this.clientStreamzService=this.injector.get(eI)};var Nsc=function(a,b){a.clientDarkmodeSubject.next(b);document.body.classList.toggle("dark-mode",b)};jV.\u0275fac=function(a){return new (a||jV)(n(Ae))};jV.\u0275prov=Hc({token:jV,factory:jV.\u0275fac});var Osc=Bt(["https://g3doc.corp.google.com/company/teams/buganizer/feedback-dialog/homepage-feedback-dark-mode.md"]),Psc=Bt(["https://g3doc.corp.google.com/company/teams/buganizer/feedback-dialog/homepage-feedback.md"]),Qsc=Bt(["https://g3doc.corp.google.com/company/teams/buganizer/feedback-dialog/feedback-dark-mode.md"]),Rsc=Bt(["https://g3doc.corp.google.com/company/teams/buganizer/feedback-dialog/feedback.md"]),kV=function(a,b,c){var d=this;this.dialogRef=a;this.darkmodeService=b;this.data=c;this.contentLoaded=
!1;this.docUrl$=this.darkmodeService.clientDarkmode$.pipe(y(function(e){switch(d.data.type){case "HOMEPAGE":return e?Bh(Osc):Bh(Psc);default:return e?Bh(Qsc):Bh(Rsc)}}))};kV.\u0275fac=function(a){return new (a||kV)(A(pI),A(jV),A(vI))};
kV.\u0275cmp=p({type:kV,selectors:[["b-feedback-dialog"]],decls:9,vars:4,consts:[["mat-dialog-content",""],[4,"ngIf"],["diameter","60",4,"ngIf"],["mat-dialog-actions",""],["mat-button","",1,"gmat-button","medium",3,"click"],["mat-flat-button","","color","primary",1,"gmat-button","medium","dialog-primary-action",3,"click"],["frameborder","0","allowtransparency","true",3,"load","src"],["diameter","60"]],template:function(a,b){a&1&&(F(0,"div",0),C(1,CZa,2,3,"ng-container",1),T(2,"async"),C(3,DZa,1,0,
"mat-spinner",2),G(),F(4,"div",3)(5,"button",4),M("click",function(){return b.dialogRef.close(!1)}),R(6," Cancel "),G(),F(7,"button",5),M("click",function(){return b.dialogRef.close(!0)}),R(8," File a new issue "),G()());a&2&&(z(),D("ngIf",V(2,2,b.docUrl$)),z(2),D("ngIf",!b.contentLoaded))},dependencies:[Gv,BI,AI,oE,QQ,OQ,Lv],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 Mp=function(a){this.internalArray_=m(a)};X(Mp,Y);g=Mp.prototype;g.getEnableSsEngine=function(){return Hj(this,2)};g.getEnableAwr=function(){return Hj(this,3)};g.getAlohaAutoGaRollout=function(){return Hj(this,5)};g.getEnableConfigurator=function(){return Hj(this,6)};g.getEnableMweb=function(){return Hj(this,7)};g.getEnableCtlConsentCheckbox=function(){return Hj(this,8)};g.getEnableIframe=function(){return Hj(this,9)};g.getEnableScreenshotNudge=function(){return Hj(this,10)};
g.getEnableWebStartupConfigEndpoint=function(){return Hj(this,11)};g.getEnableJunkNudge=function(){return Hj(this,12)};g.getEnableConfiguratorLocale=function(){return Hj(this,13)};g.getEnableTinyNoPointer=function(){return Hj(this,14)};g.getEnableSupportSessionLogging=function(){return Hj(this,15)};g.getEnableFileUploadForScreenshot=function(){return Hj(this,16)};g.getEnableDirectDeflectionForSingleCategory=function(){return Hj(this,17)};g.getEnableImageSanitization=function(){return Hj(this,18)};
g.getEnableAlohaBinarySplit=function(){return Hj(this,19)};g.getEnableDbFeedbackIntents=function(){return Hj(this,20)};g.getEnableMarkMandatoryFieldsWithRequired=function(){return Hj(this,21)};g.getEnableFeedbackCategoryCustomUi=function(){return Hj(this,22)};g.getEnableRealtimeCtl=function(){return Hj(this,23)};var TZa=function(a){this.internalArray_=m(a)};X(TZa,Y);var EZa=[/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 GZa="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 HZa=Bt(["https://www.gstatic.com/uservoice/feedback/client/web/","/main_light_binary.js"]),IZa=Bt(["https://www.gstatic.com/uservoice/feedback/client/web/","/main_binary__",".js"]);var KZa,MZa;var Ssc=function(a,b,c){a.timeOfStartCall=(new Date).getTime();var d=c||Aa,e=d.document,f=a.nonce||qea(d);f&&!a.nonce&&(a.nonce=f);if(a.flow=="help"){var h=So("document.location.href",d);!a.helpCenterContext&&h&&(a.helpCenterContext=h.substring(0,1200));h=!0;if(b&&JSON&&JSON.stringify){var k=JSON.stringify(b);(h=k.length<=1200)&&(a.psdJson=k)}h||(b={invalidPsd:!0})}b=[a,b,c];d.GOOGLE_FEEDBACK_START_ARGUMENTS=b;c=a.feedbackServerUri||"//www.google.com/tools/feedback";if(h=d.GOOGLE_FEEDBACK_START)h.apply(d,
b);else{d=c+"/load.js?";for(var q in a)b=a[q],b==null||$a(b)||(d+=encodeURIComponent(q)+"="+encodeURIComponent(b)+"&");a=$o(e).createElement("SCRIPT");f&&a.setAttribute("nonce",f);Fc(a,Ah(d));e.body.appendChild(a)}},Tsc=function(a,b,c,d){var e,f;fe(function(h){e=c||Aa;var k=a.serverEnvironment==="DEV",q=c||Aa;q=a.nonce||qea(q);k={integrationKeys:{productId:a.productId,feedbackBucket:a.bucket,triggerId:a.triggerId},callbacks:{onClose:a.callback,onLoad:a.onLoadCallback},formContent:{locale:a.locale,
disableScreenshot:a.disableScreenshotting,productDisplayName:void 0,announcement:void 0,issueCategories:void 0,includeSeveritySelection:void 0,customImageSrc:void 0,thankYouMessage:void 0,userEmail:void 0,defaultFormInputValues:void 0,defaultFormInputValuesString:void 0,abuseLink:a.abuseLink,additionalDataConsent:a.additionalDataConsent},initializationData:{isLocalServer:k,nonce:q,useNightlyRelease:k,feedbackJsUrl:void 0,feedbackCssUrl:void 0,feedbackJsUrlSerialized:void 0,feedbackCssUrlSerialized:void 0,
submissionServerUri:a.feedbackServerUri,colorScheme:a.colorScheme},extraData:{productVersion:a.productVersion,authUser:a.authuser,configuratorId:a.configuratorId,customZIndex:a.customZIndex,tinyNoPointer:a.tinyNoPointer,allowNonLoggedInFeedback:a.allowNonLoggedInFeedback,enableAnonymousFeedback:a.enableAnonymousFeedback}};b&&(q=new Map(Object.entries(b)),k.extraData.productSpecificData=q);f=k;return he(h,QZa(f,d,e),0)})},Usc=function(a,b,c){try{if(a.flow==="help"){var d=a.helpCenterPath.replace(/^\//,
"");pea(c||window,zc("https://support.google.com/"+d))}else a.flow==="submit"?Ssc(a,b,c):UZa(a.productId,a.feedbackServerUri).then(function(e){e=$i(e,Mp,1);var f=!ERb||(e==null?void 0:e.getEnableMweb()),h=!a.tinyNoPointer||(e==null?void 0:e.getEnableTinyNoPointer());!e||e.getAlohaAutoGaRollout()&&f&&h?Tsc(a,b,c,e):Ssc(a,b,c)},function(e){e&&e.name!=="DuplicateFormError"&&Ssc(a,b,c)})}catch(e){Tsc(a,b,c,null)}};bRb("userfeedback.api.startFeedback",Usc);var Vsc={width:"500px",maxHeight:"80vh",autoFocus:!1},Wsc=new Date,lV=function(a,b){this.activeSession=a;this.matDialog=b;this.reportStartTime=new Date};lV.prototype.startFeedback=function(){var a=this;this.reportStartTime=new Date;this.activeSession.isInternalSession()?qI(this.matDialog.open(kV,Object.assign({},Vsc,{height:"640px",data:{type:"DEFAULT"}}))).subscribe(function(b){b&&Xsc(a)}):Xsc(this)};
var Ysc=function(a){a.reportStartTime=new Date;a.activeSession.isInternalSession()?qI(a.matDialog.open(kV,Object.assign({},Vsc,{height:"400px",data:{type:"HOMEPAGE"}}))).subscribe(function(b){b&&Xsc(a)}):Xsc(a)},Xsc=function(a){var b={productId:92912,nonce:a.activeSession.getCspNonce(),productVersion:"buganizer.frontend_20240605.08_p0"};b.bucket=kp(a.activeSession)?"buganizer-trackers-feedback":"buganizer3-feedback";for(var c=[],d=c.concat,e=r([]),f=[],h=l(a.activeSession.session.config.enabledFlags),
k=h.next();!k.done;k=h.next()){var q=l(k.value);k=q.next().value;(q=q.next().value)&&f.push(k)}c=d.call(c,e,r(f)).join(", ");c={userType:a.activeSession.getUserTypeLabel(),flags:c};if(kp(a.activeSession)){var t,w;c.trackerId=(w=(t=a.activeSession.getTracker())==null?void 0:t.trackerId)!=null?w:""}c.initialLoadTime=VZa(Wsc);c.reportStartTime=VZa(a.reportStartTime);Usc(b,c)};lV.\u0275fac=function(a){return new (a||lV)(n(Ir),n(wI))};lV.\u0275prov=Hc({token:lV,factory:lV.\u0275fac,providedIn:"root"});var Zsc=function(a){this.delegate_=a};Zsc.prototype.getDelegate=function(){return this.delegate_};var $sc=function(a,b){this.delegate_=a;this.currentTarget_=b;this.target_=null};X($sc,Zsc);$sc.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=atc(b,a.pop());return this.target_=b};$sc.prototype.getType=function(){return this.getDelegate().xa};var btc=function(a){this.delegate_=a};X(btc,Zsc);g=btc.prototype;g.listen=function(a,b,c,d){var e=this;return this.getDelegate().za(a,function(f){return b.call(d||Aa,new $sc(f,e))},c)};g.listenOnce=function(){throw Error("je");};g.unlisten=function(){throw Error("je");};g.unlistenByKey=function(){throw Error("je");};g.dispatchEvent=function(){throw Error("je");};g.removeAllListeners=function(){throw Error("je");};g.getParentEventTarget=function(){throw Error("je");};
g.fireListeners=function(){throw Error("je");};g.getListener=function(){throw Error("je");};g.hasListener=function(){throw Error("je");};btc.prototype[TZb]=!0;var mV=function(a){this.delegate_=a};X(mV,btc);mV.prototype.getHeight=function(){return this.getDelegate().pa()};mV.prototype.setPageTitle=function(){this.getDelegate().pb(void 0)};mV.prototype.setBackgroundColor=function(a){this.getDelegate().pd(a)};mV.prototype.getBackgroundColor=function(){return this.getDelegate().pn()};var ctc=function(a,b){this.delegate_=a;this.wrapperConstructor_=b||null};X(ctc,Zsc);ctc.prototype.then=function(a,b,c){var d;a&&(d=dtc(this,a));this.getDelegate().aa(d,b,c)};var dtc=function(a,b){var c=a.wrapperConstructor_;return c?function(d){b.call(this,new c(d))}:b};var nV=function(a){this.delegate_=a||gbar.a;this.gapiPromise_=this.barPromise_=null};X(nV,Zsc);nV.prototype.getGapi=function(){this.gapiPromise_||(this.gapiPromise_=new ctc(this.getDelegate().bh()));return this.gapiPromise_};nV.getInstance=function(){var a="instance_";nV.instance_&&nV.hasOwnProperty(a)?a=nV.instance_:(a=new nV,nV.instance_=a);return a};var oV=function(a,b){Z.call(this);this.router=a;this.window=b};X(oV,Z);oV.\u0275dir=Z.\u0275dir;oV.prototype.start=function(){var a=this;return(new Promise(function(b,c){var d=nV.getInstance();d.barPromise_||(d.barPromise_=new ctc(d.getDelegate().bf(),mV));d.barPromise_.then(b,c)})).then(function(b){etc(a,b)})};var etc=function(a,b){a.router.events.pipe(te(YDa),qf(a.destroyed$)).subscribe(function(){b.getDelegate().pl(a.window.location.href)})};oV.\u0275fac=function(a){return new (a||oV)(n(pB),n(EH))};
oV.\u0275prov=Hc({token:oV,factory:oV.\u0275fac,providedIn:"root"});var pV=function(a,b,c){Z.call(this);var d=this;this.paramsService=a;this.issueFridge=b;this.eventsForIssueFridge=c;this.handlers$=this.paramsService.routeParams$.pipe(df(pi),pf(function(e){return d.onRouteParamsChanged(e)}));this.init=function(){d.subscriptions.add(d.handlers$.subscribe(function(){}))};this.initOnce=Pn(this.init)};X(pV,Z);pV.\u0275dir=Z.\u0275dir;
pV.prototype.onRouteParamsChanged=function(a){var b=this,c,d;return fe(function(e){if(e.nextAddress==1){c={trustUncertainMemory:!0};if(!a.issueId)return e.jumpTo(2);d=a.issueId;return he(e,Promise.all([b.issueFridge.poke(d,c),b.eventsForIssueFridge.poke(d,c)]),3)}return e.return()})};pV.\u0275fac=function(a){return new (a||pV)(n(vH),n(jG),n(rF))};pV.\u0275prov=Hc({token:pV,factory:pV.\u0275fac,providedIn:"root"});var qV=function(a){Z.call(this);var b=this;this.scrollTimingMap=new Map;a.routeChangeSuccess.pipe(qf(this.destroyed$)).subscribe(function(){b.scrollTimingMap.clear()})};X(qV,Z);qV.\u0275dir=Z.\u0275dir;qV.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)};qV.\u0275fac=function(a){return new (a||qV)(n(aG))};
qV.\u0275prov=Hc({token:qV,factory:qV.\u0275fac,providedIn:"root"});var rV=function(a,b,c,d,e,f,h,k,q,t,w,B,E,I,J,N,P,U,ba,ma,na,ya,Pa){Z.call(this);var ia=this;this.bLocation=a;this.reloadService=b;this.timeout=c;this.activeSession=d;this.hotkeys=e;this.paths=f;this.userPrefs=h;this.issuePagination=k;this.userFeedback=B;this.ngZone=E;this.matDialogService=I;this.renderer=P;this.announcement=this.dismissedMessageId=null;this.matSidebarWidth=220;this.isAnonymous=this.activeSession.isAnonymous();this.sidebarDragSaver=this.sidebarDragOffset=null;ya.install();Pa.install();
$7b(w);this.subscriptions.add(t.onClickAppMenuIcon.subscribe(function(){ia.matSidebarWidth=ia.matSidebarWidth<185?"open":0}));this.densityClass="d-comfort";this.renderer.addClass(document.body,this.densityClass);this.userPrefs.themePreferences$.pipe(qf(this.destroyed$)).subscribe(function(Wa){Wa=a_a(Wa.density);Wa!==ia.densityClass&&(ia.renderer.addClass(document.body,Wa),ia.renderer.removeClass(document.body,ia.densityClass),ia.densityClass=Wa)});this.subscriptions.add(I9b(q,function(Wa){ia.doSearch(Wa)}));
b=[{keys:["/","F3"],displayAs:"/ or F3",description:"Search",onPress:function(){var Wa=document.querySelector(".search-box-container .search-box");Wa==null||Wa.focus();Wa==null||Wa.select()}},{keys:[Oo("2"),mLa()],displayAs:"@ or Alt+Shift+f",description:"Send feedback",onPress:function(){ia.startFeedback()}},{keys:["c"],displayAs:"c",description:"Create issue",onPress:function(){a.setUrl(qa)}}];this.activeSession.isInternalSession()&&b.push({keys:[Po("g","p")],displayAs:"g then p",description:"Go to your preferred homepage",
onPress:function(){a.setUrl("/")}},{keys:[Po("g","h")],displayAs:"g then h",description:'Go to "Home"',onPress:function(){a.setUrl(f.home())}});var qa=f.createIssue(),ua=f.listIssues({q:zH(d.getUserEmail())}),Oa=f.listIssues({q:"cc:"+d.getUserEmail()}),Ka=f.listIssues({q:E9b(d.getUserEmail())}),Cb=f.listIssues({q:"reporter:"+d.getUserEmail()}),Qb=f.listIssues({q:q.getStarred()}),Rb=f.listIssues({q:"vote:true"});b.push({keys:[Po("g","a")],displayAs:"g then a",description:'Go to "Assigned to me"',onPress:function(){a.setUrl(ua)}},
{keys:[Po("g","c")],displayAs:"g then c",description:'Go to "CC\'d to me"',onPress:function(){a.setUrl(Oa)}},{keys:[Po("g","r")],displayAs:"g then r",description:'Go to "Reported by me"',onPress:function(){a.setUrl(Cb)}},{keys:[Po("g","s")],displayAs:"g then s",description:'Go to "Starred by me"',onPress:function(){a.setUrl(Qb)}},{keys:[Po("g","1")],displayAs:"g then 1",description:'Go to "Upvoted by me"',onPress:function(){a.setUrl(Rb)}},{keys:[Po("g","v")],displayAs:"g then v",description:'Go to "To be verified"',
onPress:function(){a.setUrl(Ka)}},{keys:[],displayAs:"Ctrl+Enter",description:"Submit entered text (while focused)",onPress:function(){}},{keys:[],displayAs:"Alt+Right",description:"Opens hovercard (if available)",onPress:function(){}},{keys:["<",">"],displayAs:"< / >",description:"Collapse/expand sidebar",onPress:function(Wa){if(Wa===0&&ia.sidebarDragPosition>20||Wa===1&&!(ia.sidebarDragPosition>20))ia.sidebarDragPosition>20?ftc(ia,20,1):ftc(ia,ia.lastOpenPosition,1);ia.matSidebarWidth=Wa===0?0:
"open"}},{keys:["?",lLa("F1")],displayAs:"? or Ctrl+F1",description:"Display the keyboard shortcuts pop-up",onPress:function(){ia.matDialogService.open(WT,{minWidth:512})}});this.subscriptions.add(LN(this.hotkeys,{title:"General",hotkeys:b}));this.lastOpenPosition=this.sidebarDragPosition=220;this.announcement=this.activeSession.getAnnouncement();this.userPrefs.preferences$.pipe(ef(),qf(this.destroyed$)).subscribe(function(Wa){ia.dismissedMessageId=Wa.bannerMessageId||"";Wa=(Wa.layoutPreferences||
{}).leftSidebarWidth;ia.matSidebarWidth=Wa||220;if(Wa===void 0)ia.sidebarDragPosition=220;else if(Wa<90)ia.sidebarDragPosition=20;else{if(Wa>220){var xb=gtc();Wa>xb&&(Wa=xb)}Wa<185&&(Wa=185);ia.sidebarDragPosition=Wa}});(0,W.fromEvent)(document,"mouseup",{capture:!0}).pipe(qf(this.destroyed$)).subscribe(function(){ia.sidebarDragOffset&&(ia.sidebarDragOffset=null,ftc(ia,ia.sidebarDragPosition,1))});(0,W.fromEvent)(J,"resize").pipe(qf(this.destroyed$)).subscribe(function(){if(ia.sidebarDragPosition>
220){var Wa=gtc();ia.sidebarDragPosition>Wa&&ftc(ia,Wa,3E3)}});this.ngZone.runOutsideAngular(function(){(0,W.fromEvent)(document,"mousemove").pipe(qf(ia.destroyed$)).subscribe(function(Wa){if(ia.sidebarDragOffset){Wa=Wa.pageX-ia.sidebarDragOffset;if(Wa<90)Wa=20;else if(Wa<185)Wa=185;else{var xb=gtc();Wa>xb&&(Wa=xb)}ftc(ia,Wa,0)}})});U.start();En()&&(m7b!=null&&m7b.disconnect(),m7b=new Fn.PerformanceObserver(EDa),m7b.observe({entryTypes:["measure"]}));setTimeout(OVa,6E4);ba.start();ma.initOnce();na.initOnce();
J.emergencyBugjugglerWorkaround={session:d,issueComments:N}};X(rV,Z);rV.\u0275dir=Z.\u0275dir;rV.prototype.startDragging=function(a){this.sidebarDragOffset=a.pageX-this.sidebarDragPosition;a.preventDefault()};rV.prototype.isDragging=function(){return this.sidebarDragOffset!==null};
var gtc=function(){var a=window.innerWidth;return a>=1075?a-855:220},ZZa=function(a,b){a.userPrefs.layoutPreferences$.pipe(pf(function(c){return a.userPrefs.save({layoutPreferences:Object.assign({},c,{leftSidebarWidth:b})})})).pipe(ef(),qf(a.destroyed$)).subscribe()},ftc=function(a,b,c){if(b!==a.sidebarDragPosition||c)b>=185&&(a.lastOpenPosition=b),a.sidebarDragPosition=b,c&&(a.sidebarDragSaver&&a.timeout.cancel(a.sidebarDragSaver),a.sidebarDragSaver=a.timeout.schedule(function(){ZZa(a,a.sidebarDragPosition===
20?0:a.sidebarDragPosition);a.sidebarDragSaver=null},c).catch(function(){}))};rV.prototype.doSearch=function(a){a=this.paths.listIssues({q:a});var b=Mfc(this.paths,a);frc(this.issuePagination);b&&Bqb(this.reloadService);this.bLocation.setUrl(a)};var WZa=function(a){a.announcement!==null&&(a.dismissedMessageId=a.announcement.messageId,a.userPrefs.save({bannerMessageId:a.dismissedMessageId}).pipe(ef(),qf(a.destroyed$)).subscribe())};rV.prototype.startFeedback=function(){this.userFeedback.startFeedback()};
rV.\u0275fac=function(a){return new (a||rV)(A(oN),A(iU),A(iD),A(Ir),A(KN),A(pN),A(rH),A(bU),A(xH),A(yE),A(VF),A(lV),A(ze),A(wI),A(EH),A($I),A(wu),A(oV),A(qV),A(dU),A(pV),A(iV),A(ZF))};
rV.\u0275cmp=p({type:rV,selectors:[["app-root"]],features:[zf],decls:10,vars:2,consts:[["class","bv2-announce-bar",4,"ngIf"],[1,"bv2-content","flex-kids-x","border-top"],["id","main-app-nav",3,"size","disableToggleBtn","widthChanged",4,"ngIf"],["id","skiplink-navigation-target","role","main",1,"flex","pos-rel"],[1,"bv2-announce-bar"],"aria-live polite role status aria-atomic true".split(" "),[3,"innerHtml"],["class","announce-dismiss","role","button","tabindex","0",3,"keydown.enter","keydown.space",
"click",4,"ngIf"],["role","button","tabindex","0",1,"announce-dismiss",3,"keydown.enter","keydown.space","click"],["id","main-app-nav",3,"widthChanged","size","disableToggleBtn"]],template:function(a,b){a&1&&(H(0,"b-hiring-banner")(1,"b-terms-of-service"),C(2,YZa,4,2,"div",0),H(3,"b-sso-expired-callout-outlet"),F(4,"div",1),C(5,$Za,2,2,"b-resizable-sidebar",2),F(6,"div",3),H(7,"router-outlet"),G()(),H(8,"b-footer")(9,"bug-screensaver-manager"));if(a&2){z(2);var c;a=b.announcement;a=a===void 0?b.announcement:
a;if((c=a)!=null&&c.message){var d;c=((d=a.tags)==null?void 0:d.length)>0||!b.activeSession.getFlag("canSeeAnnouncementBanner")?!1:a.dismissible?b.dismissedMessageId==null?!1:a.messageId!==b.dismissedMessageId:!0}else c=!1;D("ngIf",c);z(3);D("ngIf",!b.isAnonymous)}},dependencies:function(){return[Gv,xA,eM,DU,RU,Vqc,urc,vrc,Uqc]},encapsulation:2});var sV=function(){};sV.\u0275fac=function(a){return new (a||sV)};sV.\u0275mod=dd({type:sV});sV.\u0275inj=Ic({imports:[BB,hM,OU,TU,VT,fU,gU,yS,ML,XT]});var tV=function(a){this.internalArray_=m(a,0,tV.messageId)};X(tV,Y);tV.prototype.getUrl=function(){return Kh(this,1)};tV.prototype.setUrl=function(a){return rj(this,1,a)};tV.prototype.hasUrl=function(){return $k(this,1)};tV.messageId="b.AttachmentUrlResponse";var uV=function(a){this.executor=a};uV.prototype.get=function(a,b,c,d){if(!a||!b)return Promise.reject(Error("ke"));var e={};d&&(e["X-Restricted-Content-Limit"]=String(YFa(d)));return this.executor.get({url:"action/issues/"+a+"/attachments/"+b+"/url",options:{headers:e,params:{download:String(c)}},responseConstructor:tV}).then(function(f){return f.getUrl()})};uV.\u0275fac=function(a){return new (a||uV)(n(JB))};uV.\u0275prov=Hc({token:uV,factory:uV.\u0275fac,providedIn:"root"});var vV=function(a,b,c){this.templateRef=b;this.viewContainer=c;this.isInternal=!1;this.isInternal=a.isInternalSession()};vV.prototype.ngOnInit=function(){this.isInternal&&this.viewContainer.createEmbeddedView(this.templateRef)};vV.\u0275fac=function(a){return new (a||vV)(A(Ir),A(cg),A(dg))};vV.\u0275dir=fd({type:vV,selectors:[["","internalOnly",""]]});var wV=function(a,b,c,d,e,f,h,k){this.dialogRef=b;this.userAccess=c;this.attachmentsUrl=d;this.butterBar=e;this.domSafe=f;this.documentationLinks=h;this.changeDetectorRef=k;this.isLoading=!0;this.download=this.hasViewAccess=!1;this.attachment=a.attachment;this.issueId=a.issueId;this.download=a.download};wV.prototype.ngOnInit=function(){this.changeDetectorRef.detectChanges();this.setHasViewAccess()};
wV.prototype.setHasViewAccess=function(){var a=this;this.isLoading=!0;c_a(this)?(this.hasViewAccess=!1,oD(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)};wV.prototype.getRestrictionSeverity=function(){var a=this.attachment.contentVerdict;if(a&&(a=a.piiVerdict))return a.severity};
var c_a=function(a){return(a=a.getRestrictionSeverity())?a!=="NONE_DETECTED":!1},htc=function(a){var b=a.download&&Mta(a.attachment.contentType);a.attachmentsUrl.get(a.issueId,a.attachment.attachmentId,b,a.getRestrictionSeverity()).then(function(c){b?GH(a.domSafe,c):a.domSafe.openInNewTab(c);a.close()},function(){a.butterBar.showWarning("Failed to load attachment. Please refresh and try again.");a.close()})};wV.prototype.close=function(){this.dialogRef.close();this.changeDetectorRef.detectChanges()};
wV.prototype.getRestrictedAccessHelpLink=function(){return this.documentationLinks.getRestrictedAccessHelpLink()};wV.\u0275fac=function(a){return new (a||wV)(A(vI),A(pI),A(mD),A(uV),A(sE),A(FH),A(oI),A(YF,2))};
wV.\u0275cmp=p({type:wV,selectors:[["b-attachment-download-dialog"]],features:[qg([YF])],decls:20,vars:4,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[1,"gmat-body-2"],[1,"gmat-body-1"],[1,"download-attachment-icon"],["svgIcon","file-present","size","icon-l"],[1,"download-attachment-filename"],[4,"internalOnly"],["class","gmat-body-2",4,"ngIf"],["class","centered-spinner","diameter","60",4,"ngIf"],["mat-dialog-actions",""],["mat-button","",3,"click"],["mat-flat-button","",1,"dialog-primary-action",
3,"click","disabled"],["target","_blank","aria-label","Learn more about restricted access in Buganizer.",3,"href"],[1,"no-access-warning"],["diameter","60",1,"centered-spinner"]],template:function(a,b){a&1&&(F(0,"h1",0),R(1,"Access Attachment"),G(),F(2,"div",1)(3,"div",2),R(4," Are you sure you would like to access the following attachment? "),G(),H(5,"br"),F(6,"div",3)(7,"div",4),H(8,"mat-icon",5),G(),F(9,"div",6),R(10),G()(),H(11,"br"),C(12,d_a,2,1,"ng-container",7)(13,e_a,3,0,"div",8),G(),C(14,
f_a,1,0,"mat-spinner",9),F(15,"div",10)(16,"button",11),M("click",function(){return b.close()}),R(17," Cancel "),G(),F(18,"button",12),M("click",function(){return htc(b)}),R(19," Continue "),G()());a&2&&(z(10),S(" ",b.attachment.filename," "),z(3),D("ngIf",!b.isLoading&&!b.hasViewAccess),z(),D("ngIf",b.isLoading),z(4),D("disabled",!b.hasViewAccess))},dependencies:[Gv,zB,IH,Rx,zI,BI,AI,QQ,OQ,vV],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 xV=function(){};xV.\u0275fac=function(a){return new (a||xV)};xV.\u0275mod=dd({type:xV});xV.\u0275inj=Ic({imports:[BB]});var yV=function(){};yV.\u0275fac=function(a){return new (a||yV)};yV.\u0275mod=dd({type:yV});yV.\u0275inj=Ic({imports:[BB,dJ,fJ,zS,YS,xV]});var itc=function(a,b,c,d){kw.call(this,a,b,c,d,!0);var e=this;this.escapeSubject$=new W.Subject;this.startAnchorListener=function(){e.escapeSubject$.next(0);return!0};this.endAnchorListener=function(){e.escapeSubject$.next(1);return!0};jw(this)};X(itc,kw);var zV=function(a,b,c){this.checker=a;this.ngZone=b;this.document=c};zV.prototype.create=function(a){return new itc(a,this.checker,this.ngZone,this.document)};zV.\u0275fac=function(a){return new (a||zV)(n(hw),n(ze),n(gh))};
zV.\u0275prov=Hc({token:zV,factory:zV.\u0275fac,providedIn:"root"});var jtc=["content"],AV=function(a){Z.call(this);this.focusEscapeNotifierFactory=a;this.trapFocus=this.required=!1;this.renderPanel=this.noneButtonEnabled=this.todayButtonEnabled=!0;this.dateChange=new XF;this.cancelClicked=new XF;this.saveClicked=new XF;this.dateSelectionChange=new XF;this.focusEscaped=new XF};X(AV,Z);AV.\u0275dir=Z.\u0275dir;
AV.prototype.ngAfterViewInit=function(){var a=this;setTimeout(function(){g_a(a,a.date);a.calendar._getCurrentViewComponent()._focusActiveCell(!1)});this.focusEscapeNotifier=this.focusEscapeNotifierFactory.create(this.content.nativeElement);this.focusEscapeNotifier.escapeSubject$.pipe(qf(this.destroyed$)).subscribe(function(b){if(a.trapFocus)if(b===0){var c;(c=a.focusEscapeNotifier)==null||lWb(c)}else{var d;(d=a.focusEscapeNotifier)==null||iw(d)}else a.focusEscaped.emit(b)})};
var g_a=function(a,b){if(b=b instanceof Hm?b:iAa(b))a.calendar.activeDate=b};AV.\u0275fac=function(a){return new (a||AV)(A(zV))};
AV.\u0275cmp=p({type:AV,selectors:[["b-date-time-picker-content"]],viewQuery:function(a,b){a&1&&(fg(hy,7),fg(jtc,7));if(a&2){var c;jg(c=kg())&&(b.calendar=c.first);jg(c=kg())&&(b.content=c.first)}},inputs:{required:"required",date:"date",trapFocus:"trapFocus",todayButtonEnabled:"todayButtonEnabled",noneButtonEnabled:"noneButtonEnabled",renderPanel:"renderPanel"},outputs:{dateChange:"dateChange",cancelClicked:"cancelClicked",saveClicked:"saveClicked",dateSelectionChange:"dateSelectionChange",focusEscaped:"focusEscaped"},
features:[zf],ngContentSelectors:["*"],decls:14,vars:9,consts:[["content",""],[1,"b-optional-calendar-button-row"],[3,"selectedChange","selected","startAt"],[1,"actions"],["class","b-optional-calendar-button-row",4,"ngIf"],[1,"b-calendar-button-row"],["mat-button","",1,"cancel",3,"click"],["mat-button","",1,"save",3,"click"],["class","today","mat-button","",3,"click",4,"ngIf"],["class","none","mat-button","",3,"click",4,"ngIf"],["mat-button","",1,"today",3,"click"],["mat-button","",1,"none",3,"click"]],
template:function(a,b){if(a&1){var c=u();Xf();F(0,"div",null,0)(2,"div",1);Yf(3);G();F(4,"mat-calendar",2);T(5,"toDateTime");T(6,"toDateTime");M("selectedChange",function(d){v(c);b.date=d;b.dateSelectionChange.emit(d);return x()});G();F(7,"div",3);C(8,j_a,4,2,"div",4);F(9,"div",5)(10,"button",6);M("click",function(){v(c);return x(b.cancelClicked.emit())});R(11,"Cancel");G();F(12,"button",7);M("click",function(){v(c);b.dateChange.emit(b.date);return x(b.saveClicked.emit())});R(13,"Save");G()()()()}a&
2&&(Kf("container",b.renderPanel),z(4),D("selected",V(5,5,b.date))("startAt",V(6,7,b.date)),z(4),D("ngIf",b.todayButtonEnabled||b.noneButtonEnabled))},dependencies:function(){return[Gv,oE,hy,MP,BV]},styles:[".b-optional-calendar-button-row[_ngcontent-%COMP%]{margin:0 1rem}.actions[_ngcontent-%COMP%]{text-align:end}.actions[_ngcontent-%COMP%]   div.b-optional-calendar-button-row[_ngcontent-%COMP%]{width:fit-content;margin:auto;align-content:center}.container[_ngcontent-%COMP%]{box-shadow:0px 1px 2px 0px rgba(0, 0, 0, 0.3), 0px 2px 6px 2px rgba(0, 0, 0, 0.15);padding:4px;border-radius:8px;background-color:#fff;background-color:var(--surface-default)}mat-calendar[_ngcontent-%COMP%]{width:288px;height:342px}/*# sourceMappingURL=date_time_picker_content.css.map */"]});
var BV=function(){};BV.prototype.transform=function(a){var b;return(b=iAa(a))!=null?b:void 0};BV.\u0275fac=function(a){return new (a||BV)};BV.\u0275pipe=gd({name:"toDateTime",type:BV,pure:!0});var ktc=[{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"}],CV=function(a,b,c){Z.call(this);var d=this;this.overlay=a;this.element=b;this.hostEl=c;this.openOnEnter=this.openOnClick=!0;this.required=this.focusTrapHost=!1;this.selectedChange=new XF;this.dateSelectionChange=new XF;this.onClose=
new XF;this.opened=!1;this.destroyed$.subscribe(function(){var e;(e=d.overlayRef)==null||e.dispose()})};X(CV,Z);g=CV.prototype;g.open=function(){this.opened||(this.overlayRef=this.createOverlay(),this.attach(),this.opened=!0)};g.close=function(a){a=a===void 0?!1:a;if(this.opened){var b;(b=this.overlayRef)==null||b.dispose();this.overlayRef=void 0;this.opened=!1;a||this.hostEl.nativeElement.focus();this.onClose.emit()}};
g.createOverlay=function(){var a=this.getPositionStrategy(),b=this.getScrollStrategy();a=this.overlay.create({positionStrategy:a,scrollStrategy:b,hasBackdrop:!0,backdropClass:"b-date-time-picker-backdrop",panelClass:"b-date-time-picker-popup"});a.overlayElement.setAttribute("role","dialog");return a};g.attach=function(){var a=this,b=new Nw(AV),c;this.pickerContent=(c=this.overlayRef)==null?void 0:c.attach(b).instance;var d;(d=this.overlayRef)==null||d.updatePosition();setTimeout(function(){ltc(a)})};
g.getPositionStrategy=function(){return px(qx(rx(ux(this.overlay.position(),this.element)),8),ktc)};g.getScrollStrategy=function(){return this.overlay.scrollStrategies.reposition()};
var ltc=function(a){if(a.pickerContent&&a.overlayRef){var b=(0,W.merge)(a.overlayRef._detachments,a.destroyed$);a.pickerContent.date=a.selected;a.pickerContent.required=a.required;a.pickerContent.trapFocus=!a.focusTrapHost;a.focusTrapHost&&a.pickerContent.focusEscaped.pipe(qf(b)).subscribe(function(){setTimeout(function(){return a.element.nativeElement.focus()})});a.pickerContent.dateChange.pipe(qf(b)).subscribe(function(c){a.selectedChange.emit(c)});a.pickerContent.dateSelectionChange.pipe(qf(b)).subscribe(function(c){a.dateSelectionChange.emit(c)});
(0,W.merge)(a.pickerContent.saveClicked,a.pickerContent.cancelClicked,a.overlayRef.backdropClick(),a.overlayRef.keydownEvents().pipe(te(function(c){return c.code==="Escape"}))).pipe(qf(b)).subscribe(function(){a.close()})}};CV.\u0275fac=function(a){return new (a||CV)(A(vx),A(Rd),A(Rd))};
CV.\u0275dir=fd({type:CV,selectors:[["","bDateTimePickerToggle",""]],hostAttrs:["aria-haspopup","true"],hostVars:1,hostBindings:function(a,b){a&1&&M("click",function(c){b.openOnClick&&b.open();c.preventDefault();c.stopPropagation()})("keydown.enter",function(c){b.openOnEnter&&b.open();c.preventDefault();c.stopPropagation()})("keydown.tab",function(c){b.focusTrapHost&&b.pickerContent&&b.pickerContent.focusEscapeNotifier&&(iw(b.pickerContent.focusEscapeNotifier),c.preventDefault())})("keydown.shift.tab",
function(c){b.focusTrapHost&&b.pickerContent&&b.pickerContent.focusEscapeNotifier&&(lWb(b.pickerContent.focusEscapeNotifier),c.preventDefault())});a&2&&Bf("aria-expanded",b.opened||void 0)},inputs:{openOnClick:"openOnClick",openOnEnter:"openOnEnter",focusTrapHost:[0,"bDateTimePickerToggleFocusTrapHost","focusTrapHost"],required:[0,"bDateTimePickerToggleRequired","required"],selected:[0,"bDateTimePickerToggleSelected","selected"]},outputs:{selectedChange:"bDateTimePickerToggleSelectedChange",dateSelectionChange:"bDateTimePickerToggleDateSelectionChange",
onClose:"bDateTimePickerToggleOnClose"},exportAs:["bDateTimePickerToggle"],features:[zf]});var mtc=["pickerToggle"],DV=function(){this.customAriaLabelledBy=this.customFormId=void 0;this.required=!1;this.valueChange=new XF};DV.\u0275fac=function(a){return new (a||DV)};
DV.\u0275cmp=p({type:DV,selectors:[["b-date-time-input"]],viewQuery:function(a,b){a&1&&fg(mtc,7);if(a&2){var c;jg(c=kg())&&(b.pickerToggle=c.first)}},inputs:{customFormId:"customFormId",customAriaLabelledBy:"customAriaLabelledBy",value:"value",required:"required"},outputs:{valueChange:"valueChange"},exportAs:["bDateTimeInput"],decls:4,vars:7,consts:[["pickerToggle","bDateTimePickerToggle"],["mat-stroked-button","","type","button","bDateTimePickerToggle","",1,"gmat-button",3,"bDateTimePickerToggleSelectedChange",
"id","bDateTimePickerToggleRequired","bDateTimePickerToggleSelected","bDateTimePickerToggleFocusTrapHost"],["mode","date",3,"date",4,"ngIf"],[4,"ngIf"],["mode","date",3,"date"]],template:function(a,b){if(a&1){var c=u();F(0,"button",1,0);M("bDateTimePickerToggleSelectedChange",function(d){v(c);b.value=d;b.valueChange.emit(d);return x()});C(2,k_a,1,1,"b-formatted-date-time",2)(3,l_a,2,0,"ng-container",3);G()}a&2&&(D("id",b.customFormId)("bDateTimePickerToggleRequired",b.required)("bDateTimePickerToggleSelected",
b.value)("bDateTimePickerToggleFocusTrapHost",!1),Bf("aria-labelledby",b.customAriaLabelledBy),z(2),D("ngIf",b.value),z(),D("ngIf",!b.value))},dependencies:[CV,TM,oE,Gv],styles:["/*# sourceMappingURL=date_time_input.css.map */"]});var ntc=["filterInput"],EV=function(a){Z.call(this);this.dateFormatter=a;this.enumChoices=[];this.onSave=new XF;this.valueMap=new Map;this.sortedValues=[];this.filterValue=null;this.currentSelectedDate=void 0};X(EV,Z);EV.\u0275dir=Z.\u0275dir;g=EV.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(pf(function(){return(0,W.timer)(0)}),qf(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 otc=function(a){return a.filterValue&&a.type!=="REPEATED_DATE"?a.sortedValues.filter(function(b){return a.getDisplayString(b).includes(String(a.filterValue))}):a.sortedValues};
EV.prototype.addValue=function(){var a=this.filterValue;this.filterValue=null;a&&!this.valueMap.get(a)&&(this.valueMap.set(a,!0),ptc(this),this.onSave.emit({valueMap:this.valueMap,valueChanged:this.valueChanged()}))};EV.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})};
EV.prototype.initValues=function(){this.valueMap=new Map(this.originalValueMap||[]);this.enumChoices=this.enumChoices||[];for(var a=l(this.enumChoices),b=a.next();!b.done;b=a.next())b=b.value,this.valueMap.has(b)||this.valueMap.set(b,!1);ptc(this)};var ptc=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)})},n_a=function(a){return!!a.filterValue&&a.type!=="REPEATED_ENUM"&&a.type!=="REPEATED_DATE"};
EV.prototype.getDisplayString=function(a){return this.type==="REPEATED_DATE"?this.dateFormatter.formatUserCalendar(wi(a)):a};EV.prototype.getLabel=function(){return this.valueChanged()?"Changed":"Unchanged"};EV.\u0275fac=function(a){return new (a||EV)(A(KI))};
EV.\u0275cmp=p({type:EV,selectors:[["b-bulk-repeated-field-picker"]],viewQuery:function(a,b){a&1&&(fg(UL,5),fg(ntc,5));if(a&2){var c;jg(c=kg())&&(b.trigger=c.first);jg(c=kg())&&(b.filterElement=c.first)}},inputs:{type:"type",originalValueMap:"originalValueMap",enumChoices:"enumChoices"},outputs:{onSave:"onSave"},features:[zf,td],decls:13,vars:7,consts:[["customFieldMenu","matMenu"],["filterInput",""],["mat-button","","type","button",1,"medium","primary",3,"matMenuTriggerFor"],["name","arrow-dropdown",
"size","small"],["class","multi-edit-menuitem","role","option",3,"title",4,"ngFor","ngForOf"],[1,"filter"],["mat-input","","step","any",3,"type","ngModel","placeholder","keydown","click","ngModelChange",4,"ngIf"],[4,"ngIf"],["mat-menu-item","",3,"click",4,"ngIf"],["role","option",1,"multi-edit-menuitem",3,"title"],[3,"change","click","checked","indeterminate"],["mat-input","","step","any",3,"keydown","click","ngModelChange","type","ngModel","placeholder"],["mat-menu-item","",3,"click"],[3,"valueChange",
"value"],["mat-menu-item","","aria-label","Add a date value","tabindex","0","aria-haspopup","true",3,"click"]],template:function(a,b){a&1&&(F(0,"button",2)(1,"span"),R(2),G(),H(3,"b-icon",3),G(),F(4,"mat-menu",null,0),C(6,m_a,3,4,"div",4),H(7,"mat-divider"),F(8,"div",5),C(9,o_a,2,3,"input",6),G(),C(10,p_a,1,0,"mat-divider",7)(11,q_a,2,0,"div",8)(12,r_a,4,1,"div",7),G());a&2&&(a=Q(5),D("matMenuTriggerFor",a),z(2),lg(b.getLabel()),z(4),D("ngForOf",otc(b)),z(3),D("ngIf",b.type!=="REPEATED_DATE"),z(),
D("ngIf",n_a(b)),z(),D("ngIf",n_a(b)),z(),D("ngIf",b.type==="REPEATED_DATE"))},dependencies:[Fv,Gv,QL,TL,RL,UL,MP,hN,IH,Rx,QH,RH,mh,qy,yy,DV],styles:[".multi-edit-menuitem[_ngcontent-%COMP%]{padding:0 5px}.filter[_ngcontent-%COMP%]{padding:0 5px}/*# sourceMappingURL=bulk_repeated_field_picker.css.map */"]});var qtc=0,FV=function(a){this.changeDetectorRef=a;this.active=!1;this.id="b-list-option-"+qtc;qtc+=1};FV.prototype.setActiveStyles=function(){this.active=!0;this.changeDetectorRef.markForCheck()};FV.prototype.setInactiveStyles=function(){this.active=!1;this.changeDetectorRef.markForCheck()};FV.\u0275fac=function(a){return new (a||FV)(A(Ig))};
FV.\u0275dir=fd({type:FV,selectors:[["","onedevListOption",""]],hostVars:3,hostBindings:function(a,b){a&2&&(Tf("id",b.id),Kf("active",b.active))},inputs:{option:"option"},exportAs:["onedevListOption"]});var GV=function(){};GV.\u0275fac=function(a){return new (a||GV)};GV.\u0275mod=dd({type:GV});GV.\u0275inj=Ic({});var u_a=function(){return{$implicit:void 0}},x_a=function(a){return{$implicit:a}},HV=function(a){var b=this;this.showFilterBar=this.includeEmptyOption=this.disabled=!1;this.options$=new W.BehaviorSubject([]);this.filterText$=new W.BehaviorSubject("");this.filteredOptions$=(0,W.combineLatest)([this.options$,this.filterText$]).pipe(y(function(c){var d=l(c);c=d.next().value;var e=d.next().value;return b.filterFunction!==void 0&&b.filterFunction!==null?c.filter(function(f){return b.filterFunction(e,f)}):
c}));this.valueChange=new Xu;this.selected=new Xu;this.destroyed$=new W.ReplaySubject(1);a&&this.handleKeydown(a.keydown$)};g=HV.prototype;g.ngOnInit=function(){};g.ngOnDestroy=function(){this.destroyed$.next();this.destroyed$.complete()};g.ngAfterViewInit=function(){this.keyManager=Gw(Fw(new Kw(this.viewOptions)))};g.ngOnChanges=function(a){a.value&&rtc(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 rtc=function(a){if(a.keyManager)if(a.includeEmptyOption&&a.isSelected(void 0))a.keyManager.setActiveItem(0);else{var b=a.options.findIndex(function(c){return a.isSelected(c)});b!==-1&&(a.keyManager.setActiveItem(a.includeEmptyOption?b+1:b),stc(a))}};HV.prototype.clearActiveItem=function(){this.keyManager&&this.keyManager.activeItem&&this.keyManager.setActiveItem(-1)};
HV.prototype.handleKeydown=function(a){var b=this;a.pipe(qf(this.destroyed$)).subscribe(function(c){if(!b.disabled&&b.keyManager){var d=c.code;d==="ArrowUp"||d==="ArrowDown"?(c.preventDefault(),b.keyManager.onKeydown(c),stc(b)):d==="Home"||d==="End"?(c.preventDefault(),d==="Home"?b.keyManager._setActiveItemByIndex(0,1):yWb(b.keyManager),stc(b)):d!=="Enter"&&d!=="Space"||!b.keyManager.activeItem||(c.preventDefault(),b.select(b.keyManager.activeItem.option))}})};
var stc=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"})}};HV.\u0275fac=function(a){return new (a||HV)(A(sQ,8))};
HV.\u0275cmp=p({type:HV,selectors:[["onedev-selectable-list"]],viewQuery:function(a,b){a&1&&fg(FV,5);if(a&2){var c;jg(c=kg())&&(b.viewOptions=c)}},hostAttrs:["role","listbox"],hostVars:3,hostBindings:function(a,b){a&1&&M("focus",function(){return rtc(b)})("blur",function(){return b.clearActiveItem()});a&2&&(a=b.keyManager&&b.keyManager.activeItem?b.keyManager.activeItem.id:void 0,Bf("aria-activedescendant",a)("aria-disabled",b.disabled)("aria-label",b.label))},inputs:{value:"value",options:"options",
optionTemplate:"optionTemplate",disabled:"disabled",includeEmptyOption:"includeEmptyOption",label:"label",showFilterBar:"showFilterBar",filterFunction:"filterFunction"},outputs:{valueChange:"valueChange",selected:"selected"},features:[td],decls:3,vars:4,consts:[["filterEl",""],["optionDisplay",""],["customOptionDisplay",""],["emptyOption",""],["class","filter-bar","onedevListOption","",4,"ngIf"],[4,"ngIf"],["onedevListOption","",1,"filter-bar"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24"],
["d","M10 18h4v-2h-4v2zM3 6v2h18V6H3zm3 7h12v-2H6v2z"],["placeholder","Type to filter","spellcheck","false",3,"input"],["role","option","onedevListOption","",3,"option","click",4,"ngIf"],[4,"ngFor","ngForOf"],["role","option","onedevListOption","",3,"click","option"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[4,"ngIf","ngIfElse"],["aria-label","empty"]],template:function(a,b){a&1&&(C(0,s_a,5,0,"div",4)(1,G_a,5,2,"ng-container",5),T(2,"async"));a&2&&(D("ngIf",b.showFilterBar),z(),D("ngIf",V(2,
2,b.filteredOptions$)))},dependencies:[Fv,Gv,Kv,FV,Lv],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 IV=function(){};var ttc=["trigger"],I_a=function(a){return{$implicit:a}},utc=0,JV=function(a){this.showFilterBar=this.includeEmptyOption=this.disabled=!1;this.label="";this.valueChange=new Xu;this.displayArrowIcon=!0;this.focused=this.required=this.openPopupOnInit=!1;this.contentId="onedev-single-select-"+utc;this.onChange=function(){};this.onTouched=function(){};if(a===""||a==="true"||a==="required")this.required=!0;utc++};X(JV,IV);g=JV.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 vtc=function(a){var b="";a.label&&(b+=a.label+", ");a.required&&(b+="required, ");return b};JV.prototype.setDisabledState=function(a){this.disabled=a};ea.Object.defineProperties(JV.prototype,{value:{configurable:!0,enumerable:!0,get:function(){return this.val},set:function(a){a!==this.val&&this.writeValue(a)}}});JV.\u0275fac=function(a){return new (a||JV)(Jd("required"))};
JV.\u0275cmp=p({type:JV,selectors:[["onedev-single-select"]],viewQuery:function(a,b){a&1&&fg(ttc,7);if(a&2){var c;jg(c=kg())&&(b.popupTrigger=c.first)}},inputs:{value:"value",options:"options",disabled:"disabled",includeEmptyOption:"includeEmptyOption",showFilterBar:"showFilterBar",filterFunction:"filterFunction",label:"label",labelledById:"labelledById",valueTemplate:"valueTemplate",optionTemplate:"optionTemplate",displayArrowIcon:"displayArrowIcon",openPopupOnInit:"openPopupOnInit"},outputs:{valueChange:"valueChange"},
features:[qg([{provide:jy,useExisting:Uc(function(){return JV}),multi:!0},{provide:IV,useExisting:Uc(function(){return JV}),multi:!0}]),zf],decls:13,vars:19,consts:[["trigger","onedevPopupPanelTrigger"],["optionTemplateOrTextLabel",""],["textLabel",""],["panel","onedevPopupPanel"],["emptyValue",""],["onedevPopupPanelTrigger","",3,"focus","blur","click","closed","onedevPopupPanelTriggerDisabled","disabled","onedevPopupPanelTriggerFor"],[1,"cdk-visually-hidden"],[4,"ngIf","ngIfElse"],["class","arrow-icon",
"xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24",4,"ngIf"],["onedevKeyEventReceiver","",3,"relayOnly"],["tabindex","0",1,"single-select-panel",3,"valueChange","selected","value","includeEmptyOption","options","optionTemplate","label","showFilterBar","filterFunction"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["aria-label","empty"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24",1,"arrow-icon"],["d","M7 10l5 5 5-5H7z"]],template:function(a,b){if(a&1){var c=u();F(0,"button",
5,0);M("focus",function(){v(c);return x(b.focused=!0)})("blur",function(){v(c);return x(b.focused=!1)})("click",function(){v(c);var e=Q(1);return x(e.open())})("closed",function(){v(c);b.onTouched();return x()});F(2,"span",6);R(3);G();C(4,J_a,2,4,"ng-container",7)(5,M_a,1,2,"ng-template",null,1,yg)(7,P_a,3,2,"ng-template",null,2,yg)(9,Q_a,2,0,"svg",8);G();F(10,"onedev-popup-panel",9,3)(12,"onedev-selectable-list",10);M("valueChange",function(e){v(c);return x(b.onSelectionChange(e))})("selected",function(){v(c);
var e=Q(1);return x(e.close())});G()()}if(a&2){a=Q(6);var d=Q(11);Kf("active",b.isActive());D("onedevPopupPanelTriggerDisabled",b.disabled)("disabled",b.disabled)("onedevPopupPanelTriggerFor",d);Bf("id",b.contentId)("aria-labelledby",b.contentAriaLabelledBy());z(3);lg(vtc(b));z();D("ngIf",b.valueTemplate)("ngIfElse",a);z(5);D("ngIf",b.displayArrowIcon);z();D("relayOnly",!0);z(2);D("value",b.value)("includeEmptyOption",b.includeEmptyOption)("options",b.options)("optionTemplate",b.optionTemplate)("label",
b.label)("showFilterBar",b.showFilterBar)("filterFunction",b.filterFunction)}},dependencies:[Gv,Kv,sQ,HV,tQ,uQ],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 X_a=function(){return[]},KV=function(a,b){this.data=a;this.dialogRef=b;this.customFields=[];this.originalCustomFields=new Map;this.repeatedCustomFieldsMap=new Map;this.issues=[];this.bulkEditOps=[];this.issues=a};g=KV.prototype;
g.ngOnInit=function(){for(var a=new Map,b=null,c=l(this.issues),d=c.next();!d.done;d=c.next()){var e=d.value;d=e.customFieldMap;e=e.customFieldValueMap;if(!b){b=new Map;for(var f=l(Object.keys(d)),h=f.next();!h.done;h=f.next())h=h.value,b.set(vi(h),e[h]||void 0)}f=l(b);for(h=f.next();!h.done;h=f.next()){var k=l(h.value);h=k.next().value;k=k.next().value;var q=d[h],t=e[h],w=void 0,B=(w=q)==null?void 0:w.type;if(q)if(B==="REPEATED_DATE"||B==="REPEATED_ENUM"||B==="REPEATED_NUMERIC"||B==="REPEATED_TEXT"){k=
this.repeatedCustomFieldsMap.get(h)||new Map;q=k.size===0;t=wtc(t);w=Array.from(k.keys()).concat(t);w=l(w);for(B=w.next();!B.done;B=w.next())B=B.value,t.includes(B)?k.has(B)||k.set(B,q||null):k.set(B,null);this.repeatedCustomFieldsMap.set(h,k)}else(!t&&k!==void 0||t&&!pi(t,k))&&b.set(h,null);else b.delete(h)}d=l(Object.entries(d));for(e=d.next();!e.done;e=d.next())f=l(e.value),e=f.next().value,f=f.next().value,a.set(Number(e),qi(f))}this.customFields=Array.from(b.keys()).map(function(E){return a.get(E)}).filter(function(E){return E});
this.customFields=this.customFields.map(function(E){var I=b.get(E.customFieldId);E.hasMultipleValues=I===null;I?E=Object.assign(I,E):E.hasMultipleValues||E.type!=="ENUM"||(E.enumValue="");return E});c=l(this.customFields);for(d=c.next();!d.done;d=c.next())d=d.value,this.originalCustomFields.set(d.customFieldId,qi(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 Np=function(a){return"bv2-custom-field-"+a.customFieldId+"-label"},wtc=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()}):[]},V_a=function(a){return a?zm(a):null},Z_a=function(a,b,c){for(var d=l(a.bulkEditOps),e=d.next();!e.done;e=d.next())e=e.value,e.actions=e.actions.filter(function(w){return w.customFieldValue.customFieldId!==
b});a.bulkEditOps=a.bulkEditOps.filter(function(w){return w.actions.length});if(c.valueChanged){d=l(a.issues);var f=d.next();for(e={};!f.done;e={issueValues$jscomp$1:void 0,action$jscomp$88:void 0},f=d.next()){f=f.value;var h=bea(f.customFieldValueMap,function(w){return w.customFieldId===b});e.issueValues$jscomp$1=wtc(h);c.valueMap.forEach(function(w){return function(B,E){B&&!w.issueValues$jscomp$1.includes(E)?w.issueValues$jscomp$1.push(E):B===!1&&(w.issueValues$jscomp$1=w.issueValues$jscomp$1.filter(function(I){return I!==
E}))}}(e));h=a.originalCustomFields.get(b).type;var k=[],q=[];h=="REPEATED_DATE"?k=e.issueValues$jscomp$1.map(function(w){return Am(wi(w))}):h=="REPEATED_NUMERIC"&&(q=e.issueValues$jscomp$1.map(function(w){return Number(w)}));var t={customFieldId:b};switch(h){case "REPEATED_TEXT":t.repeatedTextValue={values:e.issueValues$jscomp$1};break;case "REPEATED_DATE":t.repeatedDateValue={values:k};break;case "REPEATED_ENUM":t.repeatedEnumValue={values:e.issueValues$jscomp$1};break;case "REPEATED_NUMERIC":t.repeatedNumericValue=
{values:q}}e.action$jscomp$88={fieldName:"customField",customFieldValue:t,actionType:Cm(t)?"REMOVE":"ADD"};h=a.bulkEditOps.findIndex(function(w){return function(B){return B.actions.some(function(E){return pi(w.action$jscomp$88,E)})}}(e));h!==-1?a.bulkEditOps[h].issueIds.push(f.issueId):a.bulkEditOps.push({actions:[e.action$jscomp$88],issueIds:[f.issueId]})}}},xtc=function(a){var b=a.customFields.filter(function(k){return!k.type.includes("REPEATED")&&!pi(k,a.originalCustomFields.get(k.customFieldId))}),
c=[];b=l(b);for(var d=b.next();!d.done;d=b.next()){var e=d.value;d={customFieldId:e.customFieldId};switch(e.type){case "TEXT":d.textValue=e.textValue;break;case "DATE":d.dateValue=e.dateValue||void 0;break;case "ENUM":d.enumValue=e.enumValue;break;case "NUMERIC":var f=void 0;d.numericValue=(f=e.numericValue)!=null?f:void 0}if(e=Cm(d))d.textValue="";c.push({fieldName:"customField",customFieldValue:d,actionType:e?"REMOVE":"ADD"})}if(c.length){var h=a.issues.map(function(k){return k.issueId});b=a.bulkEditOps.findIndex(function(k){a:if(k=
k.issueIds,Za(h)&&Za(k)&&h.length==k.length){for(var q=h.length,t=0;t<q;t++)if(h[t]!==k[t]){k=!1;break a}k=!0}else k=!1;return k});b!==-1?a.bulkEditOps[b].actions=a.bulkEditOps[b].actions.concat(c):a.bulkEditOps.push({actions:c,issueIds:h})}};KV.\u0275fac=function(a){return new (a||KV)(A(vI),A(pI))};
KV.\u0275cmp=p({type:KV,selectors:[["b-bulk-custom-field-dialog"]],decls:10,vars:2,consts:[["multipleValues",""],["mat-dialog-title",""],[4,"ngIf"],["class","bv2-create-adv-field",4,"ngFor","ngForOf"],["mat-button","","mat-dialog-close","","type","button",3,"class"],["mat-flat-button","","type","button","color","primary",1,"medium","dialog-primary-action","save",3,"click"],[1,"bv2-create-adv-field"],[1,"bv2-top-field-label"],["matTooltipPosition","right",3,"matTooltip"],[3,"ngIf","ngIfElse"],[3,"ngSwitch"],
["name","customInput","placeholder","no value","type","text",3,"ngModel","ngModelChange",4,"ngSwitchCase"],["step","any","name","customInput","type","number",3,"ngModel","ngModelChange",4,"ngSwitchCase"],[4,"ngSwitchCase"],[3,"value","options","valueChange",4,"ngSwitchCase"],[3,"type","originalValueMap","enumChoices","onSave",4,"ngSwitchDefault"],["name","customInput","placeholder","no value","type","text",3,"ngModelChange","ngModel"],["step","any","name","customInput","type","number",3,"ngModelChange",
"ngModel"],[3,"valueChange","value","required","customAriaLabelledBy","customFormId"],[3,"valueChange","value","options"],[3,"onSave","type","originalValueMap","enumChoices"],["title","Clear values",3,"click"]],template:function(a,b){a&1&&(F(0,"h2",1),R(1,"Update custom fields"),G(),F(2,"mat-dialog-content"),C(3,R_a,2,0,"div",2)(4,c0a,8,6,"div",3),G(),F(5,"mat-dialog-actions")(6,"button",4),M("class",function(){return b.dialogRef.close()}),R(7,"Cancel"),G(),F(8,"button",5),M("click",function(){xtc(b);
b.bulkEditOps.length?b.dialogRef.close(b.bulkEditOps):b.dialogRef.close()}),R(9," Save "),G()());a&2&&(z(3),D("ngIf",b.customFields.length===0),z(),D("ngForOf",b.customFields))},dependencies:[Fv,Gv,Hv,Iv,Jv,xI,zI,BI,AI,JV,EV,mh,Ay,qy,yy,DV,IH,Rx,LH,OH],encapsulation:2});var ytc=/^[ \t\xA0\u1680\u180e\u2000-\u200a\u202f\u205f\u3000]/,ztc=/^[\s\xA0\u1680\u180e\u2000-\u200a\u202f\u205f\u3000]+/,Atc=function(a){this.patternParts_=[];this.dateTimeSymbols_=Cv;typeof a=="number"?this.applyStandardPattern_(a):this.applyPattern_(a)};
Atc.prototype.applyPattern_=function(a){for(var b=!1,c="",d=0;d<a.length;d++){var e=a.charAt(d);if(ytc.test(e))for(c.length>0&&(this.patternParts_.push({text:c,count:0,abutStart:!1,numeric:!1}),c=""),this.patternParts_.push({text:" ",count:0,abutStart:!1,numeric:!1});d<a.length-1&&a.charAt(d+1)==" ";)d++;else if(b)e=="'"?d+1<a.length&&a.charAt(d+1)=="'"?(c+="'",d++):b=!1:c+=e;else if("GyMdkHmsSEDabBhKzZvQL".indexOf(e)>=0){c.length>0&&(this.patternParts_.push({text:c,count:0,abutStart:!1,numeric:!1}),
c="");for(var f=a.charAt(d),h=d+1;h<a.length&&a.charAt(h)==f;)h++;f=h-d;f<=0?h=!1:(h="MydhHmsSDkK".indexOf(e),h=h>0||h==0&&f<3);this.patternParts_.push({text:e,count:f,abutStart:!1,numeric:h});d+=f-1}else e=="'"?d+1<a.length&&a.charAt(d+1)=="'"?(c+="'",d++):b=!0:c+=e}c.length>0&&this.patternParts_.push({text:c,count:0,abutStart:!1,numeric:!1});a=!1;for(b=0;b<this.patternParts_.length;b++)this.patternParts_[b].numeric?!a&&b+1<this.patternParts_.length&&this.patternParts_[b+1].numeric&&(a=!0,this.patternParts_[b].abutStart=
!0):a=!1};Atc.prototype.applyStandardPattern_=function(a){a>11&&(a=10);if(a<4)var b=this.dateTimeSymbols_.DATEFORMATS[a];else a<8?b=this.dateTimeSymbols_.TIMEFORMATS[a-4]:(b=this.dateTimeSymbols_.DATETIMEFORMATS[a-8],b=b.replace("{1}",this.dateTimeSymbols_.DATEFORMATS[a-8]),b=b.replace("{0}",this.dateTimeSymbols_.TIMEFORMATS[a-8]));this.applyPattern_(b)};
Atc.prototype.parse=function(a,b,c){var d=!1,e=!1;c&&(d=c.predictive||!1,e=c.validate||!1);if(d)for(c=0;c<this.patternParts_.length;c++){var f=this.patternParts_[c];if(f.count>0&&("abBhHkKm".indexOf(f.text.charAt(0))<0||f.count>2||f.abutStart))throw Error("le`"+f.text.charAt(0));}f=new Btc;c=[0];f.dayPeriodIndex=-1;for(var h=0;h<this.patternParts_.length&&!(d&&c[0]>=a.length);h++){if(this.patternParts_[h].count==0){a:{var k=a;var q=c,t=this.patternParts_[h],w=d;if(t.text.match(ytc)!=null){if(t=q[0],
Ctc(k,q),q[0]>t){k=!0;break a}}else{if(k.indexOf(t.text,q[0])==q[0]){q[0]+=t.text.length;k=!0;break a}if(w&&t.text.indexOf(k.substring(q[0]))==0){q[0]+=k.length-q[0];k=!0;break a}}k=!1}if(k)continue;return 0}if(this.patternParts_[h].abutStart){a:{q=a;t=c;w=h;var B=t[0],E=0;for(k=w;k<this.patternParts_.length;k++){var I=this.patternParts_[k],J=I.count;if(J===0)break;if(k==w&&(J-=E,E++,J==0)){k=0;break a}var N=k>w&&I.numeric,P=t[0];if(!Dtc(this,q,t,I,J,f,!1)||N&&t[0]-P<J)k=w-1,t[0]=B}k-=w}if(k<=0)return 0;
h+=k-1}else if(!Dtc(this,a,c,this.patternParts_[h],0,f,d))return 0}a:{a=e;if(b==null)throw Error("me");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=xVb(b.getFullYear(),b.getMonth()),b.setDate(d>e?e:d));typeof b.setHours==="function"&&(f.hours==void 0&&(f.hours=b.getHours()),f.hours<12&&(f.ampm!=void 0&&f.ampm>0?f.hours+=12:f.dayPeriodName!==
void 0&&("isPm noon afternoon1 afternoon2 evening1 evening2".split(" ").includes(f.dayPeriodName)||["night1","night2"].includes(f.dayPeriodName)&&f.hours>=6)&&(f.hours+=12)),b.setHours(f.hours));typeof b.setMinutes==="function"&&f.minutes!=void 0&&b.setMinutes(f.minutes);typeof b.setSeconds==="function"&&f.seconds!=void 0&&b.setSeconds(f.seconds);typeof b.setMilliseconds==="function"&&f.milliseconds!=void 0&&b.setMilliseconds(f.milliseconds);if(a&&(f.year&&f.year!=b.getFullYear()||f.month&&f.month!=
b.getMonth()||f.day&&f.day!=b.getDate()||f.hours&&f.hours>=24||f.minutes&&f.minutes>=60||f.seconds&&f.seconds>=60||f.milliseconds&&f.milliseconds>=1E3))b=!1;else{f.tzOffset!=void 0&&(a=b.getTimezoneOffset(),b.setTime(b.getTime()+(f.tzOffset-a)*6E4));f.ambiguousYear&&(a=new Date,a.setFullYear(a.getFullYear()-80),b.getTime()<a.getTime()&&b.setFullYear(a.getFullYear()+100));if(f.dayOfWeek!=void 0)if(f.day==void 0)f=(7+f.dayOfWeek-b.getDay())%7,f>3&&(f-=7),a=b.getMonth(),b.setDate(b.getDate()+f),b.getMonth()!=
a&&b.setDate(b.getDate()+(f>0?-7:7));else if(f.dayOfWeek!=b.getDay()){b=!1;break a}b=!0}}return b?c[0]:0};
var Dtc=function(a,b,c,d,e,f,h){Ctc(b,c);if(d.numeric&&e>0&&c[0]+e>b.length)return!1;switch(d.text.charAt(0)){case "G":return LV(b,c,[a.dateTimeSymbols_.ERAS],function(k){return f.era=k}),!0;case "M":case "L":return Etc(a,b,c,e,d,f);case "E":return LV(b,c,[a.dateTimeSymbols_.WEEKDAYS,a.dateTimeSymbols_.SHORTWEEKDAYS],function(k){return f.dayOfWeek=k});case "B":case "b":return e=[],a=[[].concat(a.dateTimeSymbols_.AMPMS)],e.push("isAm"),e.push("isPm"),b=LV(b,c,a,function(k){return f.dayPeriodIndex=
k},h),f.dayPeriodName=e[f.dayPeriodIndex],h?b:!0;case "a":return b=LV(b,c,[a.dateTimeSymbols_.AMPMS],function(k){return f.ampm=k},h),h?b:!0;case "y":return Ftc(a,b,c,d,e,f);case "Q":return LV(b,c,[a.dateTimeSymbols_.QUARTERS,a.dateTimeSymbols_.SHORTQUARTERS],function(k){f.month=k*3;f.day=1});case "d":return Gtc(a,b,c,d,e,function(k){f.day=k}),!0;case "S":return Htc(a,b,c,e,f);case "h":case "K":case "H":case "k":return b=Gtc(a,b,c,d,e,function(k){f.hours=d.text.charAt(0)==="h"&&k===12?0:k},h),h?b:
!0;case "m":return b=Gtc(a,b,c,d,e,function(k){f.minutes=k},h),h?b:!0;case "s":return Gtc(a,b,c,d,e,function(k){f.seconds=k}),!0;case "z":case "Z":case "v":return Itc(a,b,c,f);default:return!1}},Ftc=function(a,b,c,d,e,f){var h=c[0];e=MV(a,b,c,e);e===null&&(e=MV(a,b,c,0,!0));if(e===null)return!1;e>=0&&c[0]-h==2&&d.count==2?(a=e,b=(new Date).getFullYear()-80,c=b%100,f.ambiguousYear=a==c,a+=Math.floor(b/100)*100+(a<c?100:0),f.year=a):f.year=e;return!0},Etc=function(a,b,c,d,e,f){return e.numeric&&Gtc(a,
b,c,e,d,function(h){f.month=h-1})?!0:LV(b,c,[a.dateTimeSymbols_.MONTHS,a.dateTimeSymbols_.STANDALONEMONTHS,a.dateTimeSymbols_.SHORTMONTHS,a.dateTimeSymbols_.STANDALONESHORTMONTHS],function(h){f.month=h})},Htc=function(a,b,c,d,e){var f=c[0];a=MV(a,b,c,d);if(a===null)return!1;c=c[0]-f;e.milliseconds=c<3?a*Math.pow(10,3-c):Math.round(a/Math.pow(10,c-3));return!0},Itc=function(a,b,c,d){b.indexOf("GMT",c[0])==c[0]&&(c[0]+=3);if(c[0]>=b.length)return d.tzOffset=0,!0;var e=c[0],f=MV(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=MV(a,b,c,0);if(f===null)return!1;h+=f}else h=f,h=h<24&&c[0]-e<=3?h*60:h%100+h/100*60;d.tzOffset=-h;return!0},Gtc=function(a,b,c,d,e,f,h){h=h||!1;var k=c[0];a=MV(a,b,c,e);if(a===null)return!1;if(h&&c[0]-k<d.count){if(c[0]<b.length)return!1;a*=Math.pow(10,d.count-(c[0]-k))}f(a);return!0},LV=function(a,b,c,d,e){e=e||!1;for(var f,h=0;h<c.length;h++){f=b;for(var k=c[h],q=e,t=0,w=null,B=a.substring(f[0]).toLowerCase(),E=0;E<k.length;E++){var I=
k[E].toLowerCase();if(q&&I.indexOf(B)==0){t=B.length;w=E;break}k[E].length>t&&B.indexOf(I)==0&&(t=k[E].length,w=E)}w!==null&&(f[0]+=t);f=w;if(f!==null)return d(f),!0}return!1},Ctc=function(a,b){(a=a.substring(b[0]).match(ztc))&&(b[0]+=a[0].length)},MV=function(a,b,c,d,e){b=d>0?b.substring(0,c[0]+d):b;e=e||!1;if(a.dateTimeSymbols_.ZERODIGIT){d=[];for(var f=c[0];f<b.length;f++){var h=b.charCodeAt(f)-a.dateTimeSymbols_.ZERODIGIT;d.push(0<=h&&h<=9?String.fromCharCode(h+48):b.charAt(f))}b=d.join("")}else b=
b.substring(c[0]);a=b.match(new RegExp("^"+(e?"[+-]?":"")+"\\d+"));if(!a)return null;c[0]+=a[0].length;return parseInt(a[0],10)},Btc=function(){};Btc.prototype.ambiguousYear=!1;var PXb=Array(31).fill(0).map(function(a,b){return""+(b+1)}),NV=function(){var a=Ax.apply(this,arguments)||this;a.locale=Cv;return a};X(NV,Ax);NV.prototype.setLocale=function(){throw Error("ne");};NV.prototype.getYear=function(a){return a.getYear()};NV.prototype.getMonth=function(a){return a.getMonth()};NV.prototype.getDate=function(a){return a.getDate()};var OXb=function(a,b){switch(b){case "long":return a.locale.WEEKDAYS;case "narrow":return a.locale.NARROWWEEKDAYS;default:return a.locale.SHORTWEEKDAYS}};
NV.prototype.getFirstDayOfWeek=function(){return(this.locale.FIRSTDAYOFWEEK+1)%7};NV.prototype.clone=function(a){return a.clone()};var dy=function(a,b,c){return new Hm(a,b,c)};NV.prototype.parse=function(a,b){if(a==="")return null;b=new Atc(a.match(/\d{3,}/)?b:b.replace("yyyy","yy"));var c=new Hm(new Date(a));b.parse(a,c);return c};NV.prototype.format=function(a,b){if(!this.isValid(a))throw Error("oe");return(new UC(b)).format(a)};
var by=function(a,b){a=a.clone();a.add(new Dv(b));return a},cy=function(a,b){a=a.clone();a.add(new Dv(0,b));return a},ay=function(a,b){a=a.clone();a.add(new Dv(0,0,b));return a};NV.prototype.isValid=function(a){return!isNaN(a.getTime())};NV.prototype.invalid=function(){return new Hm(NaN)};NV.prototype.sameDate=function(a,b){return a&&b?(new ui(a)).equals(b):!1};NV.\u0275fac=function(){var a;return function(b){return(a||(a=Od(NV)))(b||NV)}}();NV.\u0275prov=Hc({token:NV,factory:NV.\u0275fac});var Jtc={YEAR_FULL:"y",YEAR_FULL_WITH_ERA:"y G",YEAR_MONTH_ABBR:"MMM y",YEAR_MONTH_FULL:"MMMM y",YEAR_MONTH_SHORT:"MM/y",MONTH_DAY_ABBR:"MMM d",MONTH_DAY_FULL:"MMMM dd",MONTH_DAY_SHORT:"M/d",MONTH_DAY_MEDIUM:"MMMM d",MONTH_DAY_YEAR_MEDIUM:"MMM d, y",WEEKDAY_MONTH_DAY_MEDIUM:"EEE, MMM d",WEEKDAY_MONTH_DAY_YEAR_MEDIUM:"EEE, MMM d, y",DAY_ABBR:"d",MONTH_DAY_TIME_ZONE_SHORT:"MMM d, h:mm\u202fa zzzz"},OV=Jtc;OV=Jtc;var PV=Cv.DATEFORMATS[3];PV=PV.replace(/yyyy/,"yy").replace(/yy/,"yyyy");PV==="M/d/yyyy"&&(PV="MM/dd/yyyy");var Ktc={parse:{dateInput:PV},display:{dateInput:PV,monthYearLabel:OV.YEAR_MONTH_ABBR,dateA11yLabel:OV.MONTH_DAY_YEAR_MEDIUM,monthYearA11yLabel:OV.YEAR_MONTH_FULL}};var QV=function(){};QV.\u0275fac=function(a){return new (a||QV)};QV.\u0275mod=dd({type:QV});QV.\u0275inj=Ic({providers:[{provide:Ax,useClass:NV},{provide:Ex,useValue:Ktc}],imports:[BB,ML,gz,NP,ww]});var RV=function(){};RV.\u0275fac=function(a){return new (a||RV)};RV.\u0275mod=dd({type:RV});RV.\u0275inj=Ic({imports:[QV,UM,ML,BB]});var Ltc=new md("GMAT_INPUT_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var SV=function(a){this.options=a};SV.\u0275fac=function(a){return new (a||SV)(A(Ltc))};SV.\u0275dir=fd({type:SV,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostVars:2,hostBindings:function(a,b){a&2&&Kf("gmat-mdc-input",!b.options.disableGmatStyle)}});var TV=function(){};TV.\u0275fac=function(a){return new (a||TV)};TV.\u0275mod=dd({type:TV});TV.\u0275inj=Ic({imports:[dz,lM]});var UV=function(){};UV.\u0275fac=function(a){return new (a||UV)};UV.\u0275mod=dd({type:UV});UV.\u0275inj=Ic({imports:[BB,ZL,NP,PP,jN,dJ,TV,jM,My,RV]});var VV=function(){};VV.\u0275fac=function(a){return new (a||VV)};VV.\u0275mod=dd({type:VV});VV.\u0275inj=Ic({imports:[Tv]});var WV=function(){};WV.\u0275fac=function(a){return new (a||WV)};WV.\u0275mod=dd({type:WV});WV.\u0275inj=Ic({imports:[Tv,ML,GV]});var XV=function(){};XV.\u0275fac=function(a){return new (a||XV)};XV.\u0275mod=dd({type:XV});XV.\u0275inj=Ic({imports:[Tv,AB,ML,My,VV,WV,qS]});var YV=function(){};YV.\u0275fac=function(a){return new (a||YV)};YV.\u0275mod=dd({type:YV});YV.\u0275inj=Ic({imports:[BB,fJ,XV,UV,My,RV,dJ,aM]});var ZV=function(a,b,c,d,e,f,h){var k=this;this.cdr=a;this.codefont=b;this.location=e;this.paths=f;this.userFeedback=h;this.commentVersion=-1;this.history=[];this.diffView=this.isLoading=!0;this.issueId=c.issueId;this.commentNumber=c.commentNumber;this.commentVersion=c.commentVersion;c.commentHistory.then(function(q){k.history=q}).catch(function(q){d.errorHandler(null,q)}).finally(function(){k.isLoading=!1;k.cdr.detectChanges()})};ZV.prototype.trackByIndex=function(a){return a};
ZV.prototype.startFeedback=function(){this.userFeedback.startFeedback()};ZV.\u0275fac=function(a){return new (a||ZV)(A(YF,2),A(UH),A(vI),A(uE),A(Zv),A(pN),A(lV))};
ZV.\u0275cmp=p({type:ZV,selectors:[["comment-history-dialog"]],features:[qg([YF])],decls:14,vars:4,consts:[["mat-dialog-title",""],[1,"diff-checkbox"],[3,"change","checked"],[1,"dialog-feedback",3,"click"],[1,"float-clear"],["class","bv2-view-loading",4,"ngIf"],["class","comment-history-list",4,"ngIf"],["mat-button","","mat-dialog-close",""],[1,"bv2-view-loading"],[1,"comment-history-list"],["class","comment-version",3,"comment-version-open",4,"ngFor","ngForOf","ngForTrackBy"],[1,"comment-version"],
[1,"bv2-event-user-image-cell"],[1,"bv2-event-user-image",3,"email"],[1,"comment-version-header",3,"click"],[1,"bv2-event-user-name",3,"model"],["mode","datetime",3,"timestamp"],["class","muted float-right float-clear",4,"ngIf"],[4,"ngIf"],[1,"muted","float-right","float-clear"],["class","type-xs",3,"innerHtml",4,"ngIf"],["class","type-xs",4,"ngIf"],[1,"type-xs",3,"innerHtml"],[1,"type-xs"],[1,"comment-version-email"],[3,"email"],[3,"click","id"],["class","comment-version-preview",4,"ngIf"],["class",
"comment-version-preview deleted",4,"ngIf"],["class","comment-version-restricted",4,"ngIf"],[1,"comment-version-preview"],[1,"comment-version-preview","deleted"],[1,"comment-version-restricted"],["class","comment-version-content deleted",4,"ngIf"],["class","comment-version-content",3,"codefont","innerHtml",4,"ngIf"],[1,"comment-version-content","deleted"],[1,"comment-version-content",3,"innerHtml"]],template:function(a,b){a&1&&(F(0,"h2",0),R(1),G(),F(2,"mat-dialog-content")(3,"div",1)(4,"mat-checkbox",
2),M("change",function(c){return b.diffView=c.checked}),R(5," Show Diff "),G()(),F(6,"a",3),M("click",function(){return b.startFeedback()}),R(7,"Feedback"),G(),H(8,"br",4),C(9,d0a,2,0,"div",5)(10,s0a,2,2,"ul",6),G(),F(11,"mat-dialog-actions")(12,"button",7),R(13,"Close"),G()());a&2&&(z(),S("History for Comment #",b.commentNumber,""),z(3),D("checked",b.diffView),z(5),D("ngIf",b.isLoading),z(),D("ngIf",!b.isLoading))},dependencies:[Fv,Gv,TM,QH,RH,IH,Rx,xI,zI,BI,AI,oL,RQ,fN,eN,Lv,KJ,dN],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 $V=function(){};$V.\u0275fac=function(a){return new (a||$V)};$V.\u0275mod=dd({type:$V});$V.\u0275inj=Ic({imports:[BB,UM,jM,dJ,fJ,OL,BN,AS,kN]});var t0a=function(){},Op=function(a,b,c,d,e){typeof e=="undefined"&&(e=(new Date).getTime()+1E3);if(b==null||c==null)throw Error("pe");if(b==c)return b?[[0,b]]:[];typeof d=="undefined"&&(d=!0);var f=Mtc(b,c),h=b.substring(0,f);b=b.substring(f);c=c.substring(f);f=Ntc(b,c);var k=b.substring(b.length-f);b=b.substring(0,b.length-f);c=c.substring(0,c.length-f);b=Otc(a,b,c,d,e);h&&b.unshift([0,h]);k&&b.push([0,k]);Ptc(a,b);return b},Otc=function(a,b,c,d,e){if(!b)return[[1,c]];if(!c)return[[-1,b]];var f=
b.length>c.length?b:c,h=b.length>c.length?c:b,k=f.indexOf(h);if(k!=-1)return a=[[1,f.substring(0,k)],[0,h],[1,f.substring(k+h.length)]],b.length>c.length&&(a[0][0]=a[2][0]=-1),a;if(h.length==1)return[[-1,b],[1,c]];if(f=Qtc(b,c))return c=f[1],h=f[3],b=f[4],f=Op(a,f[0],f[2],d,e),a=Op(a,c,h,d,e),f.concat([[0,b]],a);if(d&&b.length>100&&c.length>100){b=Rtc(b,c);c=b.lineArray;b=Op(a,b.chars1,b.chars2,!1,e);for(d=0;d<b.length;d++){f=b[d][1];h=[];for(k=0;k<f.length;k++)h[k]=c[f.charCodeAt(k)];b[d][1]=h.join("")}u0a(a,
b);b.push([0,""]);f=d=c=0;for(k=h="";c<b.length;){switch(b[c][0]){case 1:f++;k+=b[c][1];break;case -1:d++;h+=b[c][1];break;case 0:if(d>=1&&f>=1){b.splice(c-d-f,d+f);c=c-d-f;d=Op(a,h,k,!1,e);for(f=d.length-1;f>=0;f--)b.splice(c,0,d[f]);c+=d.length}d=f=0;k=h=""}c++}b.pop();a=b}else a:{d=b.length;f=c.length;h=Math.ceil((d+f)/2);k=2*h;for(var q=Array(k),t=Array(k),w=0;w<k;w++)q[w]=-1,t[w]=-1;q[h+1]=0;t[h+1]=0;w=d-f;for(var B=w%2!=0,E=0,I=0,J=0,N=0,P=0;P<h&&!((new Date).getTime()>e);P++){for(var U=-P+
E;U<=P-I;U+=2){var ba=h+U;var ma=U==-P||U!=P&&q[ba-1]<q[ba+1]?q[ba+1]:q[ba-1]+1;for(var na=ma-U;ma<d&&na<f&&b.charAt(ma)==c.charAt(na);)ma++,na++;q[ba]=ma;if(ma>d)I+=2;else if(na>f)E+=2;else if(B&&(ba=h+w-U,ba>=0&&ba<k&&t[ba]!=-1)){var ya=d-t[ba];if(ma>=ya){a=Stc(a,b,c,ma,na,e);break a}}}for(U=-P+J;U<=P-N;U+=2){ba=h+U;ya=U==-P||U!=P&&t[ba-1]<t[ba+1]?t[ba+1]:t[ba-1]+1;for(ma=ya-U;ya<d&&ma<f&&b.charAt(d-ya-1)==c.charAt(f-ma-1);)ya++,ma++;t[ba]=ya;if(ya>d)N+=2;else if(ma>f)J+=2;else if(!B&&(ba=h+w-U,
ba>=0&&ba<k&&q[ba]!=-1&&(ma=q[ba],na=h+ma-ba,ya=d-ya,ma>=ya))){a=Stc(a,b,c,ma,na,e);break a}}}a=[[-1,b],[1,c]]}return a},Stc=function(a,b,c,d,e,f){var h=b.substring(d),k=c.substring(e);b=Op(a,b.substring(0,d),c.substring(0,e),!1,f);a=Op(a,h,k,!1,f);return b.concat(a)},Rtc=function(a,b){function c(h){for(var k="",q=0,t=-1,w=d.length;t<h.length-1;){t=h.indexOf("\n",q);t==-1&&(t=h.length-1);var B=h.substring(q,t+1);(e.hasOwnProperty?e.hasOwnProperty(B):e[B]!==void 0)?k+=String.fromCharCode(e[B]):(w==
f&&(B=h.substring(q),t=h.length),k+=String.fromCharCode(w),e[B]=w,d[w++]=B);q=t+1}return k}var d=[],e={};d[0]="";var f=4E4;a=c(a);f=65535;b=c(b);return{chars1:a,chars2:b,lineArray:d}},Mtc=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},Ntc=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},Ttc=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++}},Qtc=function(a,b){function c(k,q,t){for(var w=k.substring(t,t+Math.floor(k.length/4)),B=-1,E="",
I,J,N,P;(B=q.indexOf(w,B+1))!=-1;){var U=Mtc(k.substring(t),q.substring(B)),ba=Ntc(k.substring(0,t),q.substring(0,B));E.length<ba+U&&(E=q.substring(B-ba,B)+q.substring(B,B+U),I=k.substring(0,t-ba),J=k.substring(t+U),N=q.substring(0,B-ba),P=q.substring(B+U))}return E.length*2>=k.length?[I,J,N,P,E]: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]]},u0a=function(a,b){for(var c=!1,d=[],e=0,f=null,h=0,k=0,q=0,t=0,w=0;h<b.length;)b[h][0]==0?(d[e++]=h,k=t,q=w,w=t=0,f=b[h][1]):(b[h][0]==1?t+=b[h][1].length:w+=b[h][1].length,f&&f.length<=Math.max(k,q)&&f.length<=Math.max(t,w)&&(b.splice(d[e-1],0,[-1,f]),b[d[e-1]+1][0]=1,e--,e--,h=e>0?d[e-1]:-1,w=t=q=k=0,f=null,c=!0)),h++;c&&Ptc(a,b);Utc(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=Ttc(a,c);e=Ttc(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++}},Utc=function(a){function b(B,E){if(!B||!E)return 6;var I=B.charAt(B.length-1),J=E.charAt(0),N=I.match(Vtc),P=J.match(Vtc),U=N&&I.match(Wtc),
ba=P&&J.match(Wtc);I=U&&I.match(Xtc);J=ba&&J.match(Xtc);B=I&&B.match(Ytc);E=J&&E.match(Ztc);return B||E?5:I||J?4:N&&!U&&ba?3:U||ba?2:N||P?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=Ntc(d,e);if(h){var k=e.substring(e.length-h);d=d.substring(0,d.length-h);e=k+e.substring(0,e.length-h);f=k+f}h=d;k=e;for(var q=f,t=b(d,e)+b(e,f);e.charAt(0)===f.charAt(0);){d+=e.charAt(0);e=e.substring(1)+f.charAt(0);f=f.substring(1);var w=b(d,e)+b(e,f);w>=t&&(t=
w,h=d,k=e,q=f)}a[c-1][1]!=h&&(h?a[c-1][1]=h:(a.splice(c-1,1),c--),a[c][1]=k,q?a[c+1][1]=q:(a.splice(c+1,1),c--))}c++}},Vtc=/[^a-zA-Z0-9]/,Wtc=/\s/,Xtc=/[\r\n]/,Ytc=/\n\r?\n$/,Ztc=/^\r?\n\r?\n/,Ptc=function(a,b){b.push([0,""]);for(var c=0,d=0,e=0,f="",h="",k;c<b.length;)switch(b[c][0]){case 1:e++;h+=b[c][1];c++;break;case -1:d++;f+=b[c][1];c++;break;case 0:d+e>1?(d!==0&&e!==0&&(k=Mtc(h,f),k!==0&&(c-d-e>0&&b[c-d-e-1][0]==0?b[c-d-e-1][1]+=h.substring(0,k):(b.splice(0,0,[0,h.substring(0,k)]),c++),h=h.substring(k),
f=f.substring(k)),k=Ntc(h,f),k!==0&&(b[c][1]=h.substring(h.length-k)+b[c][1],h=h.substring(0,h.length-k),f=f.substring(0,f.length-k))),d===0?b.splice(c-e,d+e,[1,h]):e===0?b.splice(c-d,d+e,[-1,f]):b.splice(c-d-e,d+e,[-1,f],[1,h]),c=c-d-e+(d?1:0)+(e?1:0)+1):c!==0&&b[c-1][0]==0?(b[c-1][1]+=b[c][1],b.splice(c,1)):c++,d=e=0,h=f=""}b[b.length-1][1]===""&&b.pop();d=!1;for(c=1;c<b.length-1;)b[c-1][0]==0&&b[c+1][0]==0&&(b[c][1].substring(b[c][1].length-b[c-1][1].length)==b[c-1][1]?(b[c][1]=b[c-1][1]+b[c][1].substring(0,
b[c][1].length-b[c-1][1].length),b[c+1][1]=b[c-1][1]+b[c+1][1],b.splice(c-1,1),d=!0):b[c][1].substring(0,b[c+1][1].length)==b[c+1][1]&&(b[c-1][1]+=b[c+1][1],b[c][1]=b[c][1].substring(b[c+1][1].length)+b[c+1][1],b.splice(c+1,1),d=!0)),c++;d&&Ptc(a,b)};var aW=function(a,b,c){this.analytics=a;this.issueComments=b;this.dialogManager=c};aW.prototype.show=function(a,b,c){var d=this,e;return fe(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:$tc(d,a,b,c)};d.dialog=d.dialogManager.open(ZV,{data:e,width:"50vw"});return f.return((0,W.firstValueFrom)(qI(d.dialog)))})};
var $tc=function(a,b,c,d){return a.issueComments.listHistory(b,c).then(function(e){var f=e.length>0?e[0].unlinkifiedComment:"",h=e.length>0?e[0].formattingMode:"",k=!1,q=[];e=l(e);for(var t=e.next();!t.done;t=e.next()){t=t.value;var w=w0a(t);w||k?(f=auc(t.unlinkifiedComment),h=auc(t.formattingMode)):(f=v0a(f,t.unlinkifiedComment),k=t.formattingMode,h=h===k?auc(k):yh([auc(h,"diff-removed"),auc(k,"diff-added")]));k=t.unlinkifiedComment===void 0?"":t.unlinkifiedComment;var B=t.version,E=t.commentContentVerdict;
q.push({unlinkifiedComment:k,lastEditorUser:t.lastEditorUser,version:B,formattingMode:t.formattingMode,formattingModeDiff:h,lastModified:Number(t.lastModified)/1E3,open:B<25,preview:k.length<=48?k:k.substring(0,45)+"...",diff:f,restricted:E&&E.piiVerdict&&E.piiVerdict.severity!=="NONE_DETECTED"||!1,deleted:w0a(t)});f=t.unlinkifiedComment;h=t.formattingMode;k=w}d>-1?q[d].open=!0:q[0].open=!0;return q})},auc=function(a,b){return zh("span",b?{"class":b}:void 0,a)};
aW.\u0275fac=function(a){return new (a||aW)(n(bG),n($I),n(wI))};aW.\u0275prov=Hc({token:aW,factory:aW.\u0275fac,providedIn:"root"});var buc=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"]]),cuc=new Map([["ENABLED","Enabled"],["DISABLED","Disabled"]]),z0a=new Map([["BUGANIZER_DEFAULT","Default (10 years)"],["CUSTOM_PERIOD","Custom Period"],["INDEFINITE_RETENTION","Indefinite"]]),A0a=new Map([["BUGANIZER_DEFAULT",
"Default (60 days)"],["CUSTOM_PERIOD","Custom Period"],["INDEFINITE_RETENTION","Match Issue Retention"]]),bW=function(a,b){this.$log=a;this.sessionIsInternal=b.isInternalSession()};bW.\u0275fac=function(a){return new (a||bW)(n(tE),n(Ir))};bW.\u0275prov=Hc({token:bW,factory:bW.\u0275fac,providedIn:"root"});var C0a=new Map([["SLO_SOURCE_UNSPECIFIED","--"],["USER","User"],["BUGSCOPE","Bugscope"]]);var duc=zo.listIssues.makeHref,euc=zo.createIssue.makeHref,cW=function(a,b){Z.call(this);this.componentFridge=a;this.activeSession=b;this.providedComponentId$=new W.ReplaySubject(1);this.component$=this.providedComponentId$.pipe(pf(this.componentFridge.watch),mf({refCount:!0,bufferSize:1}));this.init=new W.ReplaySubject(1);this.isAnonymous=this.activeSession.isAnonymous()};X(cW,Z);cW.\u0275dir=Z.\u0275dir;
cW.prototype.ngOnInit=function(){var a=this;this.providedComponentId$.next(this.componentId);this.recentIssuesUrl=duc({q:"status:open componentid:"+this.componentId,s:"created_time:desc"});this.createIssueUrl=euc()+"?component="+this.componentId;this.viewComponentUrl=zo.editComponent.makeHref(this.componentId);this.component$.pipe(ef(),qf(this.destroyed$)).subscribe(function(){a.init.next()})};cW.\u0275fac=function(a){return new (a||cW)(A(CC),A(Ir))};
cW.\u0275cmp=p({type:cW,selectors:[["b-component-card"]],inputs:{componentId:"componentId"},outputs:{init:"init"},features:[zf],decls:4,vars:3,consts:[["role","dialog","aria-label","Component Hovercard",1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],[4,"ngIf"],[3,"accessLevel","labelOnlyMode"],["tabindex","0",1,"keep-focus-ring",3,"href"]],template:function(a,b){a&1&&(F(0,"div",0)(1,"div",1),C(2,G0a,16,8,"ng-container",2),T(3,"async"),G()());a&2&&(z(2),D("ngIf",V(3,1,b.component$)))},dependencies:[Gv,
yN,Lv],styles:["[_nghost-%COMP%]{max-width:400px}ul[_ngcontent-%COMP%]{list-style-type:none;padding:0}"]});var fuc=new md("GMAT_PAGINATOR_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var guc=function(a){this.options=a};guc.\u0275fac=function(a){return new (a||guc)(A(fuc))};guc.\u0275dir=fd({type:guc,selectors:[["mat-paginator"]],hostVars:2,hostBindings:function(a,b){a&2&&Kf("gmat-mdc-paginator",!b.options.disableGmatStyle)}});var dW=function(){this.changes=new W.Subject;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}};dW.\u0275fac=function(a){return new (a||dW)};dW.\u0275prov=Hc({token:dW,factory:dW.\u0275fac,providedIn:"root"});
var huc={provide:dW,deps:[[new ru,new su,dW]],useFactory:function(a){return a||new dW}};var iuc=new md("MAT_PAGINATOR_DEFAULT_OPTIONS"),juc=0,eW=function(a,b,c){var d=this;this._intl=a;this._changeDetectorRef=b;this._pageSizeLabelId="mat-paginator-page-size-label-"+juc++;this._isInitialized=!1;this._initializedStream=new W.ReplaySubject(1);this._length=this._pageIndex=0;this._pageSizeOptions=[];this.showFirstLastButtons=this.hidePageSize=!1;this.selectConfig={};this.disabled=!1;this.page=new Xu;this.initialized=this._initializedStream;this._intlChanges=a.changes.subscribe(function(){return d._changeDetectorRef.markForCheck()});
if(c){var e=c.pageSize,f=c.pageSizeOptions,h=c.hidePageSize,k=c.showFirstLastButtons;e!=null&&(this._pageSize=e);f!=null&&(this._pageSizeOptions=f);h!=null&&(this.hidePageSize=h);k!=null&&(this.showFirstLastButtons=k)}this._formFieldAppearance=(c==null?void 0:c.formFieldAppearance)||"outline"};g=eW.prototype;g.ngOnInit=function(){this._isInitialized=!0;this._updateDisplayedPageSizeOptions();this._initializedStream.next()};g.ngOnDestroy=function(){this._initializedStream.complete();this._intlChanges.unsubscribe()};
g.nextPage=function(){if(this.hasNextPage()){var a=this.pageIndex;this.pageIndex+=1;this._emitPageEvent(a)}};g.hasPreviousPage=function(){return this.pageIndex>=1&&this.pageSize!=0};g.hasNextPage=function(){return this.pageIndex<(this.pageSize?Math.ceil(this.length/this.pageSize):0)-1&&this.pageSize!=0};g._changePageSize=function(a){var b=this.pageIndex;this.pageIndex=Math.floor(this.pageIndex*this.pageSize/a)||0;this.pageSize=a;this._emitPageEvent(b)};
g._nextButtonsDisabled=function(){return this.disabled||!this.hasNextPage()};g._previousButtonsDisabled=function(){return this.disabled||!this.hasPreviousPage()};
g._updateDisplayedPageSizeOptions=function(){this._isInitialized&&(this.pageSize||(this._pageSize=this.pageSizeOptions.length!=0?this.pageSizeOptions[0]:50),this._displayedPageSizeOptions=this.pageSizeOptions.slice(),this._displayedPageSizeOptions.indexOf(this.pageSize)===-1&&this._displayedPageSizeOptions.push(this.pageSize),this._displayedPageSizeOptions.sort(function(a,b){return a-b}),this._changeDetectorRef.markForCheck())};
g._emitPageEvent=function(a){this.page.emit({previousPageIndex:a,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})};
ea.Object.defineProperties(eW.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 Hg(b,0)});this._updateDisplayedPageSizeOptions()}}});eW.\u0275fac=function(a){return new (a||eW)(A(dW),A(Ig),A(iuc,8))};
eW.\u0275cmp=p({type:eW,selectors:[["mat-paginator"]],hostAttrs:["role","group",1,"mat-mdc-paginator"],inputs:{color:"color",pageIndex:[2,"pageIndex","pageIndex",Hg],length:[2,"length","length",Hg],pageSize:[2,"pageSize","pageSize",Hg],pageSizeOptions:"pageSizeOptions",hidePageSize:[2,"hidePageSize","hidePageSize",Gg],showFirstLastButtons:[2,"showFirstLastButtons","showFirstLastButtons",Gg],selectConfig:"selectConfig",disabled:[2,"disabled","disabled",Gg]},outputs:{page:"page"},exportAs:["matPaginator"],
standalone:!0,features:[Af,sg],decls:14,vars:14,consts:[[1,"mat-mdc-paginator-outer-container"],[1,"mat-mdc-paginator-container"],[1,"mat-mdc-paginator-page-size"],[1,"mat-mdc-paginator-range-actions"],["aria-live","polite",1,"mat-mdc-paginator-range-label"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-previous",3,"click","matTooltip",
"matTooltipDisabled","matTooltipPosition","disabled"],["viewBox","0 0 24 24","focusable","false","aria-hidden","true",1,"mat-mdc-paginator-icon"],["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-next",3,"click","matTooltip","matTooltipDisabled","matTooltipPosition","disabled"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-last",3,"matTooltip","matTooltipDisabled",
"matTooltipPosition","disabled"],[1,"mat-mdc-paginator-page-size-label"],[1,"mat-mdc-paginator-page-size-select",3,"appearance","color"],[1,"mat-mdc-paginator-page-size-value"],["hideSingleSelectionIndicator","",3,"selectionChange","value","disabled","aria-labelledby","panelClass","disableOptionCentering"],[3,"value"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-first",3,"click","matTooltip","matTooltipDisabled","matTooltipPosition","disabled"],["d","M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"],
["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-last",3,"click","matTooltip","matTooltipDisabled","matTooltipPosition","disabled"],["d","M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"]],template:function(a,b){a&1&&(F(0,"div",0)(1,"div",1),C(2,K0a,5,4,"div",2),F(3,"div",3)(4,"div",4),R(5),G(),C(6,L0a,3,5,"button",5),F(7,"button",6),M("click",function(){if(b.hasPreviousPage()){var c=b.pageIndex;--b.pageIndex;b._emitPageEvent(c)}}),Gd(),F(8,"svg",7),H(9,"path",8),G()(),
Ad.currentNamespace=null,F(10,"button",9),M("click",function(){return b.nextPage()}),Gd(),F(11,"svg",7),H(12,"path",10),G()(),C(13,M0a,3,5,"button",11),G()()());a&2&&(z(2),Of(b.hidePageSize?-1:2),z(3),S(" ",b._intl.getRangeLabel(b.pageIndex,b.pageSize,b.length)," "),z(),Of(b.showFirstLastButtons?6:-1),z(),D("matTooltip",b._intl.previousPageLabel)("matTooltipDisabled",b._previousButtonsDisabled())("matTooltipPosition","above")("disabled",b._previousButtonsDisabled()),Bf("aria-label",b._intl.previousPageLabel),
z(3),D("matTooltip",b._intl.nextPageLabel)("matTooltipDisabled",b._nextButtonsDisabled())("matTooltipPosition","above")("disabled",b._nextButtonsDisabled()),Bf("aria-label",b._intl.nextPageLabel),z(3),Of(b.showFirstLastButtons?13:-1))},dependencies:[Wy,nM,Kx,Tx,OH],styles:[".mat-mdc-paginator{display:block;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-paginator-container-text-color);background-color:var(--mat-paginator-container-background-color);font-family:var(--mat-paginator-container-text-font);line-height:var(--mat-paginator-container-text-line-height);font-size:var(--mat-paginator-container-text-size);font-weight:var(--mat-paginator-container-text-weight);letter-spacing:var(--mat-paginator-container-text-tracking);--mat-form-field-container-height:var(--mat-paginator-form-field-container-height);--mat-form-field-container-vertical-padding:var(--mat-paginator-form-field-container-vertical-padding)}.mat-mdc-paginator .mat-mdc-select-value{font-size:var(--mat-paginator-select-trigger-text-size)}.mat-mdc-paginator .mat-mdc-form-field-subscript-wrapper{display:none}.mat-mdc-paginator .mat-mdc-select{line-height:1.5}.mat-mdc-paginator-outer-container{display:flex}.mat-mdc-paginator-container{display:flex;align-items:center;justify-content:flex-end;padding:0 8px;flex-wrap:wrap;width:100%;min-height:var(--mat-paginator-container-size)}.mat-mdc-paginator-page-size{display:flex;align-items:baseline;margin-right:8px}[dir=rtl] .mat-mdc-paginator-page-size{margin-right:0;margin-left:8px}.mat-mdc-paginator-page-size-label{margin:0 4px}.mat-mdc-paginator-page-size-select{margin:0 4px;width:84px}.mat-mdc-paginator-range-label{margin:0 32px 0 24px}.mat-mdc-paginator-range-actions{display:flex;align-items:center}.mat-mdc-paginator-icon{display:inline-block;width:28px;fill:var(--mat-paginator-enabled-icon-color)}.mat-mdc-icon-button[disabled] .mat-mdc-paginator-icon{fill:var(--mat-paginator-disabled-icon-color)}[dir=rtl] .mat-mdc-paginator-icon{transform:rotate(180deg)}.cdk-high-contrast-active .mat-mdc-icon-button[disabled] .mat-mdc-paginator-icon,.cdk-high-contrast-active .mat-mdc-paginator-icon{fill:currentColor;fill:CanvasText}.cdk-high-contrast-active .mat-mdc-paginator-range-actions .mat-mdc-icon-button{outline:solid 1px}\n"],
encapsulation:2,changeDetection:0});var fW=function(a){this.paths=a;this.ROUTES=zo;this.children=[];this.onVisit=new XF;this.pageSize=25;this.pageSizeOptions=[10,25,100];this.childrenOnPage=[]};fW.prototype.ngOnInit=function(){this.childrenOnPage=this.children.slice(0,this.pageSize)};fW.\u0275fac=function(a){return new (a||fW)(A(pN))};
fW.\u0275cmp=p({type:fW,selectors:[["b-component-children-list"]],inputs:{children:"children"},outputs:{onVisit:"onVisit"},decls:3,vars:2,consts:[["card","onedevHovercard"],[3,"length","pageSize","pageSizeOptions","page",4,"ngIf"],[1,"component-children"],[4,"ngFor","ngForOf"],[3,"page","length","pageSize","pageSizeOptions"],[1,"keep-underline","keep-focus-ring",3,"click","onedevHovercardTrigger","href"],[3,"componentId"]],template:function(a,b){a&1&&(C(0,N0a,1,3,"mat-paginator",1),F(1,"ul",2),C(2,
O0a,6,4,"li",3),G());a&2&&(D("ngIf",b.children.length>b.pageSize),z(2),D("ngForOf",b.childrenOnPage))},dependencies:[Fv,Gv,$H,gI,cW,guc,eW],encapsulation:2});var gW=function(){};gW.\u0275fac=function(a){return new (a||gW)};gW.\u0275mod=dd({type:gW});gW.\u0275inj=Ic({imports:[BB,DN]});var hW=function(){};hW.\u0275fac=function(a){return new (a||hW)};hW.\u0275mod=dd({type:hW});hW.\u0275inj=Ic({providers:[huc],imports:[Vx,pM,$L,eW]});var iW=function(){};iW.\u0275fac=function(a){return new (a||iW)};iW.\u0275mod=dd({type:iW});iW.\u0275inj=Ic({providers:[kec],imports:[hW]});var jW=function(){};jW.\u0275fac=function(a){return new (a||jW)};jW.\u0275mod=dd({type:jW});jW.\u0275inj=Ic({imports:[BB,NL,gW,iW]});var kW=function(){this.shouldShowCopyIssueShortLinks=!1;this.shortLinkPrefix="b/";this.onClickCopyIssueIds=new XF;this.onClickCopyIssueShortLinks=new XF;this.onClickCopyAsIssueSearch=new XF};kW.\u0275fac=function(a){return new (a||kW)};
kW.\u0275cmp=p({type:kW,selectors:[["b-copy-issue-id-button"]],inputs:{shouldShowCopyIssueShortLinks:"shouldShowCopyIssueShortLinks",shortLinkPrefix:"shortLinkPrefix"},outputs:{onClickCopyIssueIds:"onClickCopyIssueIds",onClickCopyIssueShortLinks:"onClickCopyIssueShortLinks",onClickCopyAsIssueSearch:"onClickCopyAsIssueSearch"},decls:10,vars:2,consts:[["splitMenu","matMenu"],["mat-button","","aria-label","Copy selected issue IDs",1,"medium","icon-only",3,"click"],["name","copy","size","small"],["mat-button",
"","aria-label","More copy issue ID options",1,"medium","compact",3,"matMenuTriggerFor"],["name","arrow-dropdown","size","small"],["mat-menu-item","",3,"click",4,"ngIf"],["mat-menu-item","",3,"click"]],template:function(a,b){if(a&1){var c=u();F(0,"b-button-group")(1,"button",1);M("click",function(){v(c);return x(b.onClickCopyIssueIds.emit())});H(2,"b-icon",2);G();F(3,"button",3);H(4,"b-icon",4);G();F(5,"mat-menu",null,0);C(7,P0a,2,1,"button",5);F(8,"button",6);M("click",function(){v(c);return x(b.onClickCopyAsIssueSearch.emit())});
R(9," Copy as issue search ");G()()()}a&2&&(a=Q(6),z(3),D("matMenuTriggerFor",a),z(4),D("ngIf",b.shouldShowCopyIssueShortLinks))},dependencies:[Gv,QL,TL,RL,UL,IH,Rx,NT,hN],encapsulation:2,changeDetection:0});Qoa(Soa(Roa(function(a){this._elementRef=a})));[].concat(r(["disabled","disableRipple","color","tabIndex"]),["extended"]);var kuc=function(){this.politeness="assertive";this.announcementMessage="";this.duration=0;this.data=null;this.horizontalPosition="center";this.verticalPosition="bottom"};var luc=Math.pow(2,31)-1,muc=function(a,b){var c=this;this._overlayRef=b;this._afterDismissed=new W.Subject;this._afterOpened=new W.Subject;this._onAction=new W.Subject;this._dismissedByAction=!1;this.containerInstance=a;a._onExit.subscribe(function(){return c._finishDismiss()})};g=muc.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,luc))};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 nuc=ph("state",[sh("void, hidden",rh({transform:"scale(0.8)",opacity:0})),sh("visible",rh({transform:"scale(1)",opacity:1})),uh("* => visible",qh("150ms cubic-bezier(0, 0, 0.2, 1)")),uh("* => void, * => hidden",qh("75ms cubic-bezier(0.4, 0.0, 1, 1)",rh({opacity:0})))]);var ouc=0,lW=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=Yc(gh);this._trackedModals=new Set;this._announceDelay=150;this._destroyed=!1;this._onAnnounce=new W.Subject;this._onExit=new W.Subject;this._onEnter=new W.Subject;this._animationState="void";this._liveElementId="mat-snack-bar-container-live-"+ouc++;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"))};X(lW,Pw);g=lW.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(ef()).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)})};lW.\u0275fac=function(a){return new (a||lW)(A(ze),A(Rd),A(Ig),A($v),A(kuc))};lW.\u0275dir=fd({type:lW,viewQuery:function(a,b){a&1&&fg(Sw,7);if(a&2){var c;jg(c=kg())&&(b._portalOutlet=c.first)}},features:[zf]});var mW=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=mW.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=Fg({parent:b&&b.viewContainerRef&&b.viewContainerRef.injector||this._injector,providers:[{provide:kuc,useValue:b}]});a=a.attach(new Nw(this.snackBarContainerComponent,b.viewContainerRef,c));a.instance.snackBarConfig=b;return a.instance};
g._attach=function(a,b){var c=this,d=Object.assign({},new kuc,this._defaultConfig,b),e=this._createOverlay(d);b=this._attachSnackBarContainer(e,d);var f=new muc(b,e);if(a instanceof cg)f.instance=b.attachTemplatePortal(new Ow(a,null,{$implicit:d.data,snackBarRef:f}));else{var h=this._createInjector(d,f);a=b.attachComponentPortal(new Nw(a,void 0,h));f.instance=a.instance}this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait)").pipe(qf(e._detachments)).subscribe(function(k){e.overlayElement.classList.toggle(c.handsetCssClass,
k.matches)});d.announcementMessage&&b._onAnnounce.subscribe(function(){c._live.announce(d.announcementMessage,d.politeness)});this._animateSnackBar(f,d);return this._openedSnackBarRef=f};
g._animateSnackBar=function(a,b){var c=this;a.afterDismissed().subscribe(function(){c._openedSnackBarRef==a&&(c._openedSnackBarRef=null);b.announcementMessage&&c._live.clear()});this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(function(){a.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):a.containerInstance.enter();b.duration&&b.duration>0&&a.afterOpened().subscribe(function(){return a._dismissAfter(b.duration)})};
g._createOverlay=function(a){var b=new mx;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"):sx(c);a.verticalPosition==="top"?c.top("0"):c.bottom("0");b.positionStrategy=c;return this._overlay.create(b)};
g._createInjector=function(a,b){return Fg({parent:a&&a.viewContainerRef&&a.viewContainerRef.injector||this._injector,providers:[{provide:muc,useValue:b},{provide:QD,useValue:a.data}]})};ea.Object.defineProperties(mW.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}}});
mW.\u0275fac=function(a){return new (a||mW)(n(vx),n(vw),n(Ae),n(pw),n(mW,12),n(K5b))};mW.\u0275prov=Hc({token:mW,factory:mW.\u0275fac});var nW=function(a,b){this.snackBarRef=a;this.data=b};nW.prototype.action=function(){this.snackBarRef.dismissWithAction()};ea.Object.defineProperties(nW.prototype,{hasAction:{configurable:!0,enumerable:!0,get:function(){return!!this.data.action}}});nW.\u0275fac=function(a){return new (a||nW)(A(muc),A(QD))};
nW.\u0275cmp=p({type:nW,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-simple-snackbar"],hostVars:1,hostBindings:function(a){a&2&&Bf("mat-id-collision",null)},decls:3,vars:2,consts:[[1,"mat-simple-snack-bar-content"],["class","mat-simple-snackbar-action",4,"ngIf"],[1,"mat-simple-snackbar-action"],["mat-button","",3,"click"]],template:function(a,b){a&1&&(F(0,"span",0),R(1),G(),C(2,Q0a,3,1,"div",1));a&2&&(z(),lg(b.data.message),z(),D("ngIf",b.hasAction))},dependencies:[Gv,oE],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 oW=function(){lW.apply(this,arguments)};X(oW,lW);oW.\u0275dir=lW.\u0275dir;oW.prototype._afterPortalAttached=function(){lW.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")};oW.\u0275fac=function(){var a;return function(b){return(a||(a=Od(oW)))(b||oW)}}();
oW.\u0275cmp=p({type:oW,selectors:[["snack-bar-container"]],hostAttrs:[1,"mat-snack-bar-container"],hostVars:2,hostBindings:function(a,b){a&1&&Wf("@state.done",function(c){return b.onAnimationEnd(c)});a&2&&(Uf("@state",b._animationState),Bf("mat-id-collision",null))},features:[zf],decls:3,vars:3,consts:[["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(a,b){a&1&&(F(0,"div",0),C(1,R0a,0,0,"ng-template",1),G(),H(2,"div"));a&2&&(z(2),Bf("aria-live",b._live)("role",b._role)("id",b._liveElementId))},
dependencies:[Sw],styles:[".mat-snack-bar-container{border-radius:4px;box-sizing:border-box;display:block;margin:24px;max-width:33vw;min-width:344px;padding:14px 16px;min-height:48px;transform-origin:center}.cdk-high-contrast-active .mat-snack-bar-container{border:solid 1px}.mat-snack-bar-handset{width:100%}.mat-snack-bar-handset .mat-snack-bar-container{margin:8px;max-width:100%;min-width:0;width:100%}\n"],encapsulation:2,data:{animation:[nuc]}});var pW=function(){};pW.\u0275fac=function(a){return new (a||pW)};pW.\u0275mod=dd({type:pW});pW.\u0275inj=Ic({imports:[yx,Tw,Tv,ML,zx,zx]});var qW=function(a,b,c,d,e,f){mW.call(this,a,b,c,d,e,f);this.simpleSnackBarComponent=nW;this.snackBarContainerComponent=oW;this.handsetCssClass="mat-snack-bar-handset"};X(qW,mW);qW.\u0275fac=function(a){return new (a||qW)(n(vx),n(vw),n(Ae),n(pw),n(qW,12),n(K5b))};qW.\u0275prov=Hc({token:qW,factory:qW.\u0275fac,providedIn:pW});var puc={duration:1E3},quc=new md("xap-clipboard-snackbar-options"),rW=function(a,b,c){this.clipboard=a;this.snackBar=b;this.snackBarConfig=c;this.textJob=""},ruc=function(a){var b,c,d;return fe(function(e){if(e.nextAddress==1){b=Object.assign({},puc,a.snackBarConfig);c=a.text;if(!a.clipboard.copy(c))return a.snackBar.open("Failed to copy.",void 0,b),e.jumpTo(0);if(typeof a.textJob!=="string"&&(d=a.textJob)!=null&&d.richText){if(typeof ClipboardItem!=="undefined"){var f=new ClipboardItem({"text/html":new Blob([a.textJob.richText],
{type:"text/html"}),"text/plain":new Blob([c],{type:"text/plain"})});f=navigator.clipboard.write([f])}else f=Promise.resolve();e=he(e,f,3)}else e=e.jumpTo(3);return e}a.snackBar.open("Copied to clipboard.",void 0,b);le(e)})};ea.Object.defineProperties(rW.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}}});
rW.\u0275fac=function(a){return new (a||rW)(A(MH),A(qW),A(quc,8))};rW.\u0275dir=fd({type:rW,selectors:[["","xapCopyToClipboard",""]],hostBindings:function(a,b){a&1&&M("click",function(){return ruc(b)})},inputs:{textJob:[0,"xapCopyToClipboard","textJob"]},standalone:!0});var sW=function(){};sW.prototype.getAriaLabel=function(){return this.ariaLabel?this.ariaLabel:this.ariaLabelledBy||this.ariaDescribedBy?null:"Copy content to clipboard"};sW.\u0275fac=function(a){return new (a||sW)};
sW.\u0275cmp=p({type:sW,selectors:[["xap-copy-button"]],hostVars:2,hostBindings:function(a,b){a&2&&Kf("clipboard-unthemed",!b.color)},inputs:{copyText:"copyText",disabled:"disabled",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledBy:[0,"aria-labelledby","ariaLabelledBy"],ariaDescribedBy:[0,"aria-describedby","ariaDescribedBy"],tabIndex:[0,"tabindex","tabIndex"],color:"color"},standalone:!0,features:[sg],decls:3,vars:7,consts:[["mat-icon-button","","type","button",3,"xapCopyToClipboard","disabled",
"color"],[1,"xap-clipboard-icon"]],template:function(a,b){a&1&&(F(0,"button",0)(1,"mat-icon",1),R(2," content_copy "),G()());a&2&&(D("xapCopyToClipboard",b.copyText)("disabled",b.disabled)("color",b.color),Bf("tabindex",b.tabIndex)("aria-label",b.getAriaLabel())("aria-labelledby",b.ariaLabelledBy)("aria-describedby",b.ariaDescribedBy))},dependencies:[Tv,ML,oE,AB,zB,pW,rW],encapsulation:2,changeDetection:0});var tW=function(){};tW.\u0275fac=function(a){return new (a||tW)};tW.\u0275mod=dd({type:tW});tW.\u0275inj=Ic({imports:[sW]});var uW=function(){};uW.\u0275fac=function(a){return new (a||uW)};uW.\u0275mod=dd({type:uW});uW.\u0275inj=Ic({imports:[BB,ZL,dJ,QT,jN,tW]});var vW=function(a,b,c,d,e){this.clipboard=a;this.analytics=c;this.butterBar=d;this.window=e;this.shortLinkPrefix=Rl(b.session)?"b/":"b-qa/"},b6a=function(a,b){a.clipboard.copy(b.join(", "));Ap(a.butterBar,"Issue IDs copied.",2E3);a.analytics.trackEvent("listIssues","copyIssueId","IDs")},c6a=function(a,b){a.clipboard.copy(b.map(function(c){return a.shortLinkPrefix+c}).join(", "));Ap(a.butterBar,"'"+a.shortLinkPrefix+"' links copied.",2E3);a.analytics.trackEvent("listIssues","copyIssueId","b/ links")},
d6a=function(a,b){b=zo.listIssues.makeHref({q:"id:("+b.join("|")+")"});a.clipboard.copy(a.window.location.origin+b);Ap(a.butterBar,"Issue search link copied.",2E3);a.analytics.trackEvent("listIssues","copyIssueId","Issue search link")};vW.\u0275fac=function(a){return new (a||vW)(n(MH),n(Ir),n(bG),n(sE),n(EH))};vW.\u0275prov=Hc({token:vW,factory:vW.\u0275fac,providedIn:"root"});var wW=function(a){this.trackerHelpers=a;this.componentPath=[];this.isArchived=!1;this.label="Component";this.openTab=""};ea.Object.defineProperties(wW.prototype,{componentPathInfo:{configurable:!0,enumerable:!0,set:function(a){a=mr(this.trackerHelpers,a);this.componentPath=this.componentPathsLinkTo==="settings"?Rp(a,kGa):Rp(a)}}});wW.\u0275fac=function(a){return new (a||wW)(A(kQ))};
wW.\u0275cmp=p({type:wW,selectors:[["b-component-breadcrumb"]],inputs:{componentPathsLinkTo:"componentPathsLinkTo",componentPathInfo:"componentPathInfo",isArchived:"isArchived",label:"label",openTab:"openTab"},decls:6,vars:3,consts:[["card","onedevHovercard"],["role","navigation","aria-labelledby","breadcrumb-label",1,"breadcrumb"],["id","breadcrumb-label"],[1,"breadcrumb-items"],["class","breadcrumb-item",4,"ngFor","ngForOf"],["class","breadcrumb-archived-indicator",4,"ngIf"],[1,"breadcrumb-item"],
[1,"keep-focus-ring",3,"onedevHovercardTrigger","routerLinkObj"],[3,"componentId"],[1,"breadcrumb-archived-indicator"]],template:function(a,b){a&1&&(F(0,"div",1)(1,"p",2),R(2),G(),F(3,"span",3),C(4,S0a,6,4,"span",4)(5,T0a,2,0,"span",5),G()());a&2&&(z(2),S("",b.label,":"),z(2),D("ngForOf",b.componentPath),z(),D("ngIf",b.isArchived))},dependencies:[Fv,Gv,wB,$H,gI,cW],encapsulation:2});var xW=function(){};xW.\u0275fac=function(a){return new (a||xW)};xW.\u0275mod=dd({type:xW});xW.\u0275inj=Ic({imports:[BB,NL,gW]});var yW=function(){this.warningChunks=[]};yW.prototype.ngOnInit=function(){var a=this.warningText,b=Y0a(a,"EXTERNAL_PUBLIC")||Y0a(a,"EXTERNAL_PARTNER");this.warningChunks=b?[{text:a.substring(0,b.startOfMatch)},{accessLevel:b.accessLevel},{text:a.substring(b.endOfMatch)}]:[{text:a}]};yW.\u0275fac=function(a){return new (a||yW)};
yW.\u0275cmp=p({type:yW,selectors:[["b-component-move-warning-content"]],inputs:{warningText:"warningText"},decls:2,vars:1,consts:[[4,"ngFor","ngForOf"],[4,"ngIf"],[3,"accessLevel"]],template:function(a,b){a&1&&(F(0,"div"),C(1,W0a,3,2,"span",0),G());a&2&&(z(),D("ngForOf",b.warningChunks))},dependencies:[Fv,Gv,yN],encapsulation:2});var X0a=new Map([["EXTERNAL_PUBLIC","visible to public users"],["EXTERNAL_PARTNER","visible to external partners"]]);var zW=function(a,b,c){this.data=a;this.documentationLinks=b;this.dialogRef=c;this.learnMore=Q$b(this.documentationLinks);this.acknowledged=!0;this.warning=this.header="";this.isAllowed=this.setLimitViewTrusted=this.isLimitNoneIssueTrackerMove=this.isExternalMove=!1;this.callbacks={allow:function(){},cancel:function(){}};this.header=a.response.warningHeader;this.warning=a.response.warning;this.isExternalMove=a.response.isExternalMove;this.isLimitNoneIssueTrackerMove=a.isLimitNoneIssueTrackerMove;
this.setLimitViewTrusted=this.isExternalMove&&this.isLimitNoneIssueTrackerMove;this.isExternalMove&&!this.isLimitNoneIssueTrackerMove&&(this.acknowledged=!1);this.isAllowed=a.response.isAllowed;this.callbacks=a.callbacks};zW.prototype.allow=function(){var a;(a=this.dialogRef)==null||a.close();this.isAllowed&&this.acknowledged&&this.callbacks.allow(this.setLimitViewTrusted)};zW.prototype.cancel=function(){var a;(a=this.dialogRef)==null||a.close();this.callbacks.cancel()};
zW.\u0275fac=function(a){return new (a||zW)(A(vI),A(oI),A(pI))};
zW.\u0275cmp=p({type:zW,selectors:[["b-component-move-warning"]],decls:13,vars:5,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[1,"component-move-warning-text"],[3,"warningText"],["target","_blank"],[4,"ngIf"],["mat-button","","mat-dialog-close","",1,"medium",3,"click"],["mat-flat-button","","cdkFocusInitial","",3,"disabled","click",4,"ngIf"],["aria-labelledby","issue-access-limit-radio-label",3,"ngModelChange","ngModel"],[1,"margin-s-bottom",3,"value"],[3,"value"],[3,"ngModelChange",
"ngModel"],["mat-flat-button","","cdkFocusInitial","",3,"click","disabled"]],template:function(a,b){a&1&&(F(0,"h1",0),R(1),G(),F(2,"div",1)(3,"div",2),H(4,"b-component-move-warning-content",3),G(),H(5,"br"),F(6,"a",4),R(7,"Learn more"),G(),C(8,a1a,3,2,"div",5),G(),F(9,"mat-dialog-actions")(10,"button",6),M("click",function(){return b.cancel()}),R(11," Cancel "),G(),C(12,b1a,2,1,"button",7),G());a&2&&(z(),lg(b.header),z(3),D("warningText",b.warning),z(2),Bf("href",b.learnMore,Qe),z(2),D("ngIf",b.isExternalMove&&
b.isAllowed),z(4),D("ngIf",b.isAllowed))},dependencies:[Gv,qy,yy,IH,Rx,uR,vR,QH,RH,xI,zI,BI,AI,yW],styles:["mat-checkbox[_ngcontent-%COMP%] {\n      margin-right: 8px;\n    }"],changeDetection:0});var AW=function(){};AW.\u0275fac=function(a){return new (a||AW)};AW.\u0275mod=dd({type:AW});AW.\u0275inj=Ic({imports:[BB,My,dJ,GS,jM,fJ,DN]});var suc=function(a,b,c){this.componentActions=a;this.errorHandler=b;this.cdr=c};suc.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 BW=function(a,b){a.selectedId&&tuc(a,a.selectedId);a.selectedId=b;if(a=uuc(a.selectedId))a.focus(),a.setAttribute("aria-selected","true")},CW=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},vuc=function(a){return!a.selectedId||a.selectedId<1?-1:a.components.findIndex(function(b){return b.componentId==a.selectedId})},tuc=function(a,b){b&&(a=uuc(a.selectedId))&&a.setAttribute("aria-selected",
"false")},uuc=function(a){return a?document.getElementById("component-"+a):null},wuc=function(a){for(a=a.target;;){if(!a)return!1;if(a.tagName==="A")return!0;a=a.parentNode}};var e1a=function(a){return{q:a}},DW=function(a,b,c,d){suc.call(this,a,c,d);this.paths=b;this.ROUTES=zo;this.includeArchived=!1;this.childClosed=new XF;this.selectedId=null};X(DW,suc);DW.prototype.ngOnInit=function(){};DW.prototype.ngOnDestroy=function(){this.parentComponent.focusOnChildren=void 0};DW.prototype.ngOnChanges=function(a){a.components&&xuc(this)};DW.prototype.onSubtreeChildClosed=function(a){this.selectedId=a;BW(this,a);this.rootController.selectionChanged(this,a)};
var xuc=function(a){a.parentComponent.focusOnChildren||(a.parentComponent.focusOnChildren=function(){a.selectNext()})};g=DW.prototype;
g.selectNext=function(){if(this.components)if(this.selectedId){var a=vuc(this),b=this.components[a];b.showChildren&&b.focusOnChildren&&!b.noChildren?(tuc(this,this.selectedId),this.selectedId=null,b.focusOnChildren()):a+1!=this.components.length&&(BW(this,this.components[a+1].componentId),this.rootController.selectionChanged(this,this.selectedId))}else BW(this,this.components[0].componentId),this.rootController.selectionChanged(this,this.selectedId)};
g.selectPrevious=function(){var a=vuc(this);a==0?(this.selectedId=null,this.childClosed.emit(this.parentComponent.componentId)):(BW(this,this.components[a-1].componentId),this.rootController.selectionChanged(this,this.selectedId))};g.closeSubtree=function(){if(this.selectedId){var a=CW(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=CW(this);a&&this.showChildren(a)};g.setSelected=function(a,b){wuc(b)||(BW(this,a),this.rootController.selectionChanged(this,a),b.preventDefault(),b.stopPropagation())};g.toggleChildrenForSelectedId=function(){var a=CW(this);a&&(a.showChildren?(a.showChildren=!1,this.cdr.detectChanges()):this.showChildren(a))};DW.\u0275fac=function(a){return new (a||DW)(A(UU),A(pN),A(uE),A(YF,2))};
DW.\u0275cmp=p({type:DW,selectors:[["component-subtree-list"]],inputs:{parentComponent:"parentComponent",rootController:"rootController",components:"components",includeArchived:"includeArchived"},outputs:{childClosed:"childClosed"},features:[qg([YF]),zf,td],decls:2,vars:1,consts:[[1,"components-list"],["tabindex","-1","role","treeitem","aria-selected","false",3,"id","click",4,"ngFor","ngForOf"],["tabindex","-1","role","treeitem","aria-selected","false",3,"click","id"],[1,"component-row"],[1,"selected-indicator"],
[1,"component-tree-toggle"],["matTooltip","Show child components",3,"click",4,"ngIf"],["matTooltip","Hide child components",3,"click",4,"ngIf"],[1,"component-info"],[1,"component-name",3,"href"],[3,"href",4,"ngIf"],[4,"ngIf"],[3,"accessLevel"],[3,"trackerId"],[1,"component-description"],[1,"component-buttons"],["mat-raised-button","","color","primary",3,"href",4,"ngIf"],["class","child-component-list","role","group","aria-expanded","true",4,"ngIf"],["matTooltip","Show child components",3,"click"],
["svgIcon","arrow-dropdown",2,"transform","rotate(-90deg)"],["matTooltip","Hide child components",3,"click"],["svgIcon","arrow-dropdown"],[3,"href"],["mat-raised-button","","color","primary",3,"href"],["role","group","aria-expanded","true",1,"child-component-list"],["class","component-no-children",4,"ngIf"],["class","bv2-view-loading",4,"ngIf"],[3,"components","parentComponent","rootController","includeArchived","childClosed",4,"ngIf"],[1,"component-no-children"],[1,"bv2-view-loading"],[3,"childClosed",
"components","parentComponent","rootController","includeArchived"]],template:function(a,b){a&1&&(F(0,"ol",0),C(1,m1a,19,13,"li",1),G());a&2&&(z(),D("ngForOf",b.components))},dependencies:[Fv,Gv,zB,LH,OH,IH,Sx,RQ,yN,nQ,DW],encapsulation:2});var p1a=function(a){return{q:a}},EW=function(a,b,c,d,e,f){suc.call(this,a,d,f);this.paths=b;this.ROUTES=zo;this.selectedId=null;this.includeArchived=!1;this.init=new XF;this.subscriptions=new W.Subscription;this.destroyed$=new W.ReplaySubject(1);this.scrollArea=e.nativeElement.parentElement;this.registerKeys(c)};X(EW,suc);g=EW.prototype;
g.ngOnInit=function(){var a=this;this.rootController=this;(0,W.timer)(0).pipe(qf(this.destroyed$)).subscribe(function(){yuc(a)&&!a.selectedId&&BW(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&&zuc(this)};g.onSubtreeChildClosed=function(a){var b=this;BW(this,a);this.focusedController=void 0;(0,W.timer)(0).pipe(qf(this.destroyed$)).subscribe(function(){FW(b)})};
g.fireSelectionEvent=function(a){var b=uuc(a);b&&b.click();FW(this,a)};var zuc=function(a){(0,W.timer)(0).pipe(qf(a.destroyed$)).subscribe(function(){yuc(a)&&!a.selectedId&&BW(a,a.components[0].componentId)})};g=EW.prototype;g.selectionChanged=function(a,b){b&&FW(this,b);a!==this.focusedController&&(this.focusedController&&(b=this.focusedController,b.selectedId&&tuc(b,b.selectedId),b.selectedId=null),this.focusedController=a||void 0)};
g.setSelected=function(a,b){wuc(b)||(BW(this,a),this.selectionChanged(null),FW(this),b.preventDefault(),b.stopPropagation())};
g.registerKeys=function(a){var b=this;this.subscriptions.add(LN(a,{title:"Browse Controls",hotkeys:[{keys:["j","DOWN"],displayAs:"j / Down",description:"Move to the next component",onPress:function(){b.selectNext()}},{keys:["k","UP"],displayAs:"k / Up",description:"Move to the previous component",onPress:function(){b.selectPrevious()}},{keys:["RIGHT"],displayAs:"Right",description:"View the components children",onPress:function(){b.showChildrenForSelectedId()}},{keys:["LEFT"],displayAs:"Left",description:"Close the components children",
onPress:function(){b.closeSubtree()}},{keys:["SPACE","ENTER"],displayAs:"Space / Enter",description:"Toggle component children display",onPress:function(){b.toggleChildrenForSelectedId()}}]}))};g.showChildrenForSelectedId=function(){if(this.focusedController)this.focusedController.showChildrenForSelectedId();else{var a=CW(this);a&&this.showChildren(a)}};
g.toggleChildrenForSelectedId=function(){this.focusedController&&this.focusedController.toggleChildrenForSelectedId();var a=CW(this);a&&(a.showChildren?(a.showChildren=!1,this.cdr.detectChanges()):this.showChildren(a))};g.closeSubtree=function(){this.focusedController?this.focusedController.closeSubtree():this.selectedId&&(CW(this).showChildren=!1,this.cdr.detectChanges())};
g.selectPrevious=function(){if(this.focusedController)this.focusedController.selectPrevious();else{var a=vuc(this);yuc(this)&&a>=1&&(BW(this,this.components[a-1].componentId),FW(this))}};
g.selectNext=function(){if(yuc(this))if(this.focusedController)this.focusedController.selectNext();else if(this.selectedId){var a=vuc(this),b=this.components[a];b.showChildren&&b.focusOnChildren&&!b.noChildren?(tuc(this,this.selectedId),this.selectedId=null,b.focusOnChildren()):a+1!=this.components.length&&(BW(this,this.components[a+1].componentId),FW(this))}else BW(this,this.components[0].componentId),FW(this)};
var FW=function(a,b){var c=Auc(a.scrollArea),d=c+a.scrollArea.offsetHeight;if(a=uuc(b||a.selectedId)){b=Auc(a);var e=b+a.offsetHeight;b<c?a.scrollIntoView(!1):e>d&&a.scrollIntoView(!0)}},Auc=function(a){for(var b=0;a&&a instanceof HTMLElement;)b+=a.offsetTop,a=a.offsetParent;return b},yuc=function(a){return!!(a.components&&a.components.length>0)};EW.\u0275fac=function(a){return new (a||EW)(A(UU),A(pN),A(KN),A(uE),A(Rd),A(YF,2))};
EW.\u0275cmp=p({type:EW,selectors:[["component-tree-list"]],inputs:{components:"components",includeArchived:"includeArchived"},outputs:{init:"init"},features:[qg([YF]),zf,td],decls:2,vars:1,consts:[["role","tree",1,"components-list"],["tabindex","-1","role","treeitem","aria-selected","false",3,"id","click",4,"ngFor","ngForOf"],["tabindex","-1","role","treeitem","aria-selected","false",3,"click","id"],[1,"component-row"],[1,"selected-indicator"],[1,"component-tree-toggle"],["matTooltip","Show child components",
3,"click",4,"ngIf"],["matTooltip","Hide child components",3,"click",4,"ngIf"],[1,"component-info"],[1,"component-name",3,"href"],[3,"href",4,"ngIf"],[4,"ngIf"],[3,"accessLevel"],[3,"trackerId"],[1,"component-description"],[1,"component-buttons"],["mat-raised-button","","color","primary",3,"href",4,"ngIf"],["class","child-component-list","role","group","aria-expanded","true",4,"ngIf"],["matTooltip","Show child components",3,"click"],["svgIcon","arrow-dropdown",2,"transform","rotate(-90deg)"],["matTooltip",
"Hide child components",3,"click"],["svgIcon","arrow-dropdown"],[3,"href"],["mat-raised-button","","color","primary",3,"href"],["role","group","aria-expanded","true",1,"child-component-list"],["class","component-no-children",4,"ngIf"],["class","bv2-view-loading",4,"ngIf"],[3,"components","parentComponent","rootController","includeArchived","childClosed",4,"ngIf"],[1,"component-no-children"],[1,"bv2-view-loading"],[3,"childClosed","components","parentComponent","rootController","includeArchived"]],
template:function(a,b){a&1&&(F(0,"ol",0),C(1,x1a,19,12,"li",1),G());a&2&&(z(),D("ngForOf",b.components))},dependencies:[Fv,Gv,zB,LH,OH,IH,Sx,RQ,yN,nQ,DW],encapsulation:2});var GW=function(){};GW.\u0275fac=function(a){return new (a||GW)};GW.\u0275mod=dd({type:GW});GW.\u0275inj=Ic({imports:[BB,aM,dJ,AS,DN,vS]});var Buc=new md("GMAT_SLIDE_TOGGLE_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var HW=function(a){this.options=a};HW.\u0275fac=function(a){return new (a||HW)(A(Buc))};HW.\u0275dir=fd({type:HW,selectors:[["mat-slide-toggle"]],hostVars:2,hostBindings:function(a,b){a&2&&Kf("gmat-mdc-slide-toggle",!b.options.disableGmatStyle)}});var Cuc=new md("mat-slide-toggle-default-options",{providedIn:"root",factory:function(){return{disableToggleValue:!1,hideIcon:!1}}});var Duc=["switch"],Euc={provide:jy,useExisting:Uc(function(){return IW}),multi:!0},Fuc=function(a,b){this.source=a;this.checked=b},Guc=0,IW=function(a,b,c,d,e,f){this._elementRef=a;this._focusMonitor=b;this._changeDetectorRef=c;this.defaults=e;this._onChange=function(){};this._onTouched=function(){};this._validatorOnChange=function(){};this._checked=!1;this.name=null;this.labelPosition="after";this.ariaLabelledby=this.ariaLabel=null;this.disableRipple=this.disabled=!1;this.tabIndex=0;this.change=
new Xu;this.toggleChange=new Xu;this.tabIndex=parseInt(d)||0;this.color=e.color||"accent";this._noopAnimations=f==="NoopAnimations";this.id=this._uniqueId="mat-mdc-slide-toggle-"+ ++Guc;var h;this.hideIcon=(h=e.hideIcon)!=null?h:!1;this._labelId=this._uniqueId+"-label"};g=IW.prototype;g._createChangeEvent=function(a){return new Fuc(this,a)};g.focus=function(){this._switchElement.nativeElement.focus()};
g.ngAfterContentInit=function(){var a=this;this._focusMonitor.monitor(this._elementRef,!0).subscribe(function(b){b==="keyboard"||b==="program"?(a._focused=!0,a._changeDetectorRef.markForCheck()):b||Promise.resolve().then(function(){a._focused=!1;a._onTouched();a._changeDetectorRef.markForCheck()})})};g.ngOnChanges=function(a){a.required&&this._validatorOnChange()};g.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef)};g.writeValue=function(a){this.checked=!!a};
g.registerOnChange=function(a){this._onChange=a};g.registerOnTouched=function(a){this._onTouched=a};g.validate=function(a){return this.required&&a.value!==!0?{required:!0}:null};g.registerOnValidatorChange=function(a){this._validatorOnChange=a};g.setDisabledState=function(a){this.disabled=a;this._changeDetectorRef.markForCheck()};g.toggle=function(){this.checked=!this.checked;this._onChange(this.checked)};g._emitChangeEvent=function(){this._onChange(this.checked);this.change.emit(this._createChangeEvent(this.checked))};
g._handleClick=function(){this.toggleChange.emit();this.defaults.disableToggleValue||(this.checked=!this.checked,this._onChange(this.checked),this.change.emit(new Fuc(this,this.checked)))};g._getAriaLabelledBy=function(){return this.ariaLabelledby?this.ariaLabelledby:this.ariaLabel?null:this._labelId};
ea.Object.defineProperties(IW.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"}}});IW.\u0275fac=function(a){return new (a||IW)(A(Rd),A(ew),A(Ig),Jd("tabindex"),A(Cuc),A(vu,8))};
IW.\u0275cmp=p({type:IW,selectors:[["mat-slide-toggle"]],viewQuery:function(a,b){a&1&&fg(Duc,5);if(a&2){var c;jg(c=kg())&&(b._switchElement=c.first)}},hostAttrs:[1,"mat-mdc-slide-toggle"],hostVars:13,hostBindings:function(a,b){a&2&&(Tf("id",b.id),Bf("tabindex",null)("aria-label",null)("name",null)("aria-labelledby",null),Lf(b.color?"mat-"+b.color:""),Kf("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",Gg],color:"color",disabled:[2,"disabled","disabled",Gg],disableRipple:[2,"disableRipple","disableRipple",Gg],tabIndex:[2,"tabIndex","tabIndex",function(a){return a==null?0:Hg(a)}],checked:[2,"checked","checked",Gg],hideIcon:[2,"hideIcon","hideIcon",Gg]},outputs:{change:"change",
toggleChange:"toggleChange"},exportAs:["matSlideToggle"],standalone:!0,features:[qg([Euc,{provide:ky,useExisting:IW,multi:!0}]),Af,td,sg],ngContentSelectors:["*"],decls:13,vars:24,consts:[["switch",""],["mat-internal-form-field","",3,"labelPosition"],["role","switch","type","button",1,"mdc-switch",3,"click","tabIndex","disabled"],[1,"mdc-switch__track"],[1,"mdc-switch__handle-track"],[1,"mdc-switch__handle"],[1,"mdc-switch__shadow"],[1,"mdc-elevation-overlay"],[1,"mdc-switch__ripple"],["mat-ripple",
"",1,"mat-mdc-slide-toggle-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-switch__icons"],[1,"mdc-label",3,"click","for"],["viewBox","0 0 24 24","aria-hidden","true",1,"mdc-switch__icon","mdc-switch__icon--on"],["d","M19.69,5.23L8.96,15.96l-4.23-4.23L2.96,13.5l6,6L21.46,7L19.69,5.23z"],["viewBox","0 0 24 24","aria-hidden","true",1,"mdc-switch__icon","mdc-switch__icon--off"],["d","M20 13H4v-2h16v2z"]],template:function(a,b){if(a&1){var c=u();
Xf();F(0,"div",1)(1,"button",2,0);M("click",function(){v(c);return x(b._handleClick())});H(3,"div",3);F(4,"div",4)(5,"div",5)(6,"div",6);H(7,"div",7);G();F(8,"div",8);H(9,"div",9);G();C(10,y1a,5,0,"div",10);G()()();F(11,"label",11);M("click",function(d){v(c);return x(d.stopPropagation())});Yf(12);G()()}a&2&&(a=Q(2),D("labelPosition",b.labelPosition),z(),Kf("mdc-switch--selected",b.checked)("mdc-switch--unselected",!b.checked)("mdc-switch--checked",b.checked)("mdc-switch--disabled",b.disabled),D("tabIndex",
b.disabled?-1:b.tabIndex)("disabled",b.disabled),Bf("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),z(8),D("matRippleTrigger",a)("matRippleDisabled",b.disableRipple||b.disabled)("matRippleCentered",!0),z(),Of(b.hideIcon?-1:10),z(),D("for",b.buttonId),Bf("id",b._labelId))},dependencies:[Ix,Gx],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}.mdc-switch[hidden]{display:none}.mdc-switch:disabled{cursor:default;pointer-events:none}.mdc-switch__track{overflow:hidden;position:relative;width:100%}.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%}@media screen and (forced-colors: active){.mdc-switch__track::before,.mdc-switch__track::after{border-color:currentColor}}.mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:translateX(0)}.mdc-switch__track::after{transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transform:translateX(-100%)}[dir=rtl] .mdc-switch__track::after,.mdc-switch__track[dir=rtl]::after{transform:translateX(100%)}.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__track::before,.mdc-switch--selected .mdc-switch__track[dir=rtl]::before{transform:translateX(-100%)}.mdc-switch--selected .mdc-switch__track::after{transition:transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:translateX(0)}.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)}[dir=rtl] .mdc-switch__handle-track,.mdc-switch__handle-track[dir=rtl]{left:auto;right:0}.mdc-switch--selected .mdc-switch__handle-track{transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch__handle-track,.mdc-switch--selected .mdc-switch__handle-track[dir=rtl]{transform:translateX(-100%)}.mdc-switch__handle{display:flex;pointer-events:auto;position:absolute;top:50%;transform:translateY(-50%);left:0;right:auto}[dir=rtl] .mdc-switch__handle,.mdc-switch__handle[dir=rtl]{left:auto;right:0}.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 screen and (forced-colors: active){.mdc-switch__handle::before,.mdc-switch__handle::after{border-color:currentColor}}.mdc-switch__shadow{border-radius:inherit;bottom:0;left:0;position:absolute;right:0;top:0}.mdc-elevation-overlay{bottom:0;left:0;right:0;top:0}.mdc-switch__ripple{left:50%;position:absolute;top:50%;transform:translate(-50%, -50%);z-index:-1}.mdc-switch:disabled .mdc-switch__ripple{display:none}.mdc-switch__icons{height:100%;position:relative;width:100%;z-index:1}.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--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 .mat-internal-form-field{color:var(--mat-switch-label-text-color);font-family:var(--mat-switch-label-text-font);line-height:var(--mat-switch-label-text-line-height);font-size:var(--mat-switch-label-text-size);letter-spacing:var(--mat-switch-label-text-tracking);font-weight:var(--mat-switch-label-text-weight)}.mat-mdc-slide-toggle .mdc-switch--disabled+label{color:var(--mdc-switch-disabled-label-text-color)}.mdc-switch{width:var(--mdc-switch-track-width)}.mdc-switch.mdc-switch--selected:enabled .mdc-switch__handle::after{background:var(--mdc-switch-selected-handle-color)}.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-selected-hover-handle-color)}.mdc-switch.mdc-switch--selected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-selected-focus-handle-color)}.mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__handle::after{background:var(--mdc-switch-selected-pressed-handle-color)}.mdc-switch.mdc-switch--selected:disabled .mdc-switch__handle::after{background:var(--mdc-switch-disabled-selected-handle-color)}.mdc-switch.mdc-switch--unselected:enabled .mdc-switch__handle::after{background:var(--mdc-switch-unselected-handle-color)}.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-unselected-hover-handle-color)}.mdc-switch.mdc-switch--unselected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-unselected-focus-handle-color)}.mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__handle::after{background:var(--mdc-switch-unselected-pressed-handle-color)}.mdc-switch.mdc-switch--unselected:disabled .mdc-switch__handle::after{background:var(--mdc-switch-disabled-unselected-handle-color)}.mdc-switch .mdc-switch__handle::before{background:var(--mdc-switch-handle-surface-color)}.mdc-switch:enabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-handle-elevation)}.mdc-switch:disabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-disabled-handle-elevation)}.mdc-switch .mdc-switch__focus-ring-wrapper,.mdc-switch .mdc-switch__handle{height:var(--mdc-switch-handle-height)}.mdc-switch .mdc-switch__handle{border-radius:var(--mdc-switch-handle-shape)}.mdc-switch .mdc-switch__handle{width:var(--mdc-switch-handle-width)}.mdc-switch .mdc-switch__handle-track{width:calc(100% - var(--mdc-switch-handle-width))}.mdc-switch.mdc-switch--selected:enabled .mdc-switch__icon{fill:var(--mdc-switch-selected-icon-color)}.mdc-switch.mdc-switch--selected:disabled .mdc-switch__icon{fill:var(--mdc-switch-disabled-selected-icon-color)}.mdc-switch.mdc-switch--unselected:enabled .mdc-switch__icon{fill:var(--mdc-switch-unselected-icon-color)}.mdc-switch.mdc-switch--unselected:disabled .mdc-switch__icon{fill:var(--mdc-switch-disabled-unselected-icon-color)}.mdc-switch.mdc-switch--selected:disabled .mdc-switch__icons{opacity:var(--mdc-switch-disabled-selected-icon-opacity)}.mdc-switch.mdc-switch--unselected:disabled .mdc-switch__icons{opacity:var(--mdc-switch-disabled-unselected-icon-opacity)}.mdc-switch.mdc-switch--selected .mdc-switch__icon{width:var(--mdc-switch-selected-icon-size);height:var(--mdc-switch-selected-icon-size)}.mdc-switch.mdc-switch--unselected .mdc-switch__icon{width:var(--mdc-switch-unselected-icon-size);height:var(--mdc-switch-unselected-icon-size)}.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-hover-state-layer-color)}.mdc-switch.mdc-switch--selected:enabled:focus .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:focus .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-focus-state-layer-color)}.mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-pressed-state-layer-color)}.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-hover-state-layer-color)}.mdc-switch.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-focus-state-layer-color)}.mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-pressed-state-layer-color)}.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus):hover .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus).mdc-ripple-surface--hover .mdc-switch__ripple::before{opacity:var(--mdc-switch-selected-hover-state-layer-opacity)}.mdc-switch.mdc-switch--selected:enabled:focus.mdc-ripple-upgraded--background-focused .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:focus:not(.mdc-ripple-upgraded):focus .mdc-switch__ripple::before{transition-duration:75ms;opacity:var(--mdc-switch-selected-focus-state-layer-opacity)}.mdc-switch.mdc-switch--selected:enabled:active:not(.mdc-ripple-upgraded) .mdc-switch__ripple::after{transition:opacity 150ms linear}.mdc-switch.mdc-switch--selected:enabled:active:not(.mdc-ripple-upgraded):active .mdc-switch__ripple::after{transition-duration:75ms;opacity:var(--mdc-switch-selected-pressed-state-layer-opacity)}.mdc-switch.mdc-switch--selected:enabled:active.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-switch-selected-pressed-state-layer-opacity)}.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus):hover .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus).mdc-ripple-surface--hover .mdc-switch__ripple::before{opacity:var(--mdc-switch-unselected-hover-state-layer-opacity)}.mdc-switch.mdc-switch--unselected:enabled:focus.mdc-ripple-upgraded--background-focused .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:focus:not(.mdc-ripple-upgraded):focus .mdc-switch__ripple::before{transition-duration:75ms;opacity:var(--mdc-switch-unselected-focus-state-layer-opacity)}.mdc-switch.mdc-switch--unselected:enabled:active:not(.mdc-ripple-upgraded) .mdc-switch__ripple::after{transition:opacity 150ms linear}.mdc-switch.mdc-switch--unselected:enabled:active:not(.mdc-ripple-upgraded):active .mdc-switch__ripple::after{transition-duration:75ms;opacity:var(--mdc-switch-unselected-pressed-state-layer-opacity)}.mdc-switch.mdc-switch--unselected:enabled:active.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-switch-unselected-pressed-state-layer-opacity)}.mdc-switch .mdc-switch__ripple{height:var(--mdc-switch-state-layer-size);width:var(--mdc-switch-state-layer-size)}.mdc-switch .mdc-switch__track{height:var(--mdc-switch-track-height)}.mdc-switch:disabled .mdc-switch__track{opacity:var(--mdc-switch-disabled-track-opacity)}.mdc-switch:enabled .mdc-switch__track::after{background:var(--mdc-switch-selected-track-color)}.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::after{background:var(--mdc-switch-selected-hover-track-color)}.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::after{background:var(--mdc-switch-selected-focus-track-color)}.mdc-switch:enabled:active .mdc-switch__track::after{background:var(--mdc-switch-selected-pressed-track-color)}.mdc-switch:disabled .mdc-switch__track::after{background:var(--mdc-switch-disabled-selected-track-color)}.mdc-switch:enabled .mdc-switch__track::before{background:var(--mdc-switch-unselected-track-color)}.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::before{background:var(--mdc-switch-unselected-hover-track-color)}.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::before{background:var(--mdc-switch-unselected-focus-track-color)}.mdc-switch:enabled:active .mdc-switch__track::before{background:var(--mdc-switch-unselected-pressed-track-color)}.mdc-switch:disabled .mdc-switch__track::before{background:var(--mdc-switch-disabled-unselected-track-color)}.mdc-switch .mdc-switch__track{border-radius:var(--mdc-switch-track-shape)}.mdc-switch:enabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-handle-elevation-shadow)}.mdc-switch:disabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-disabled-handle-elevation-shadow)}.mat-mdc-slide-toggle{display:inline-block;-webkit-tap-highlight-color:rgba(0,0,0,0);outline:0}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple,.mat-mdc-slide-toggle .mdc-switch__ripple::after{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple:not(:empty),.mat-mdc-slide-toggle .mdc-switch__ripple::after:not(:empty){transform:translateZ(0)}.mat-mdc-slide-toggle .mdc-switch__ripple::after{content:"";opacity:0}.mat-mdc-slide-toggle .mdc-switch:hover .mdc-switch__ripple::after{opacity:.04;transition:opacity 75ms 0ms 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.mat-mdc-slide-toggle-focused .mat-mdc-focus-indicator::before{content:""}.mat-mdc-slide-toggle .mat-ripple-element{opacity:.12}.mat-mdc-slide-toggle .mat-mdc-focus-indicator::before{border-radius:50%}.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle-track,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-elevation-overlay,.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}.mdc-switch__handle{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)}.mdc-switch--selected .mdc-switch__track::before{opacity:var(--mat-switch-hidden-track-opacity);transition:var(--mat-switch-hidden-track-transition)}.mdc-switch--selected .mdc-switch__track::after{opacity:var(--mat-switch-visible-track-opacity);transition:var(--mat-switch-visible-track-transition)}.mdc-switch--unselected .mdc-switch__track::before{opacity:var(--mat-switch-visible-track-opacity);transition:var(--mat-switch-visible-track-transition)}.mdc-switch--unselected .mdc-switch__track::after{opacity:var(--mat-switch-hidden-track-opacity);transition:var(--mat-switch-hidden-track-transition)}.mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__handle{width:var(--mat-switch-unselected-handle-size);height:var(--mat-switch-unselected-handle-size)}.mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle{width:var(--mat-switch-selected-handle-size);height:var(--mat-switch-selected-handle-size)}.mat-mdc-slide-toggle .mdc-switch__handle:has(.mdc-switch__icons){width:var(--mat-switch-with-icon-handle-size);height:var(--mat-switch-with-icon-handle-size)}.mat-mdc-slide-toggle:active .mdc-switch:not(.mdc-switch--disabled) .mdc-switch__handle{width:var(--mat-switch-pressed-handle-size);height:var(--mat-switch-pressed-handle-size)}.mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle{margin:var(--mat-switch-selected-handle-horizontal-margin)}.mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle:has(.mdc-switch__icons){margin:var(--mat-switch-selected-with-icon-handle-horizontal-margin)}.mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__handle{margin:var(--mat-switch-unselected-handle-horizontal-margin)}.mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__handle:has(.mdc-switch__icons){margin:var(--mat-switch-unselected-with-icon-handle-horizontal-margin)}.mat-mdc-slide-toggle:active .mdc-switch--selected:not(.mdc-switch--disabled) .mdc-switch__handle{margin:var(--mat-switch-selected-pressed-handle-horizontal-margin)}.mat-mdc-slide-toggle:active .mdc-switch--unselected:not(.mdc-switch--disabled) .mdc-switch__handle{margin:var(--mat-switch-unselected-pressed-handle-horizontal-margin)}.mdc-switch__track::after,.mdc-switch__track::before{border-width:var(--mat-switch-track-outline-width);border-color:var(--mat-switch-track-outline-color)}.mdc-switch--selected .mdc-switch__track::after,.mdc-switch--selected .mdc-switch__track::before{border-width:var(--mat-switch-selected-track-outline-width);border-color:var(--mat-switch-selected-track-outline-color)}.mdc-switch--disabled .mdc-switch__track::after,.mdc-switch--disabled .mdc-switch__track::before{border-width:var(--mat-switch-disabled-unselected-track-outline-width);border-color:var(--mat-switch-disabled-unselected-track-outline-color)}.mdc-switch--disabled.mdc-switch--selected .mdc-switch__handle::after{opacity:var(--mat-switch-disabled-selected-handle-opacity)}.mdc-switch--disabled.mdc-switch--unselected .mdc-switch__handle::after{opacity:var(--mat-switch-disabled-unselected-handle-opacity)}\n'],
encapsulation:2,changeDetection:0});var JW=function(){};JW.\u0275fac=function(a){return new (a||JW)};JW.\u0275mod=dd({type:JW});JW.\u0275inj=Ic({imports:[IW,zx,zx]});var KW=function(){};KW.\u0275fac=function(a){return new (a||KW)};KW.\u0275mod=dd({type:KW});KW.\u0275inj=Ic({providers:[{provide:Cuc,useValue:{color:"primary"}}],imports:[JW]});var Huc=0,LW=function(){this.id="b-slide-toggle-"+ ++Huc;this.ariaLabel=this.label="";this.labelPosition="before";this.model=!1;this.tooltip=void 0;this.disabled=!1;this.modelChange=new XF};LW.\u0275fac=function(a){return new (a||LW)};
LW.\u0275cmp=p({type:LW,selectors:[["b-slide-toggle"]],hostAttrs:[1,"vertical-centered"],inputs:{id:"id",label:"label",ariaLabel:[0,"aria-label","ariaLabel"],labelPosition:"labelPosition",model:"model",tooltip:"tooltip",disabled:"disabled"},outputs:{modelChange:"modelChange"},decls:2,vars:7,consts:[[3,"change","id","disabled","checked","aria-label","matTooltip","labelPosition"]],template:function(a,b){a&1&&(F(0,"mat-slide-toggle",0),M("change",function(d){b.model=d.checked;b.modelChange.emit(d.checked)}),
R(1),G());if(a&2){var c;D("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");z();lg(b.label)}},dependencies:[HW,IW,LH,OH],styles:["mat-slide-toggle[_ngcontent-%COMP%] { vertical-align: middle; }"],changeDetection:0});var MW=function(){};MW.\u0275fac=function(a){return new (a||MW)};MW.\u0275mod=dd({type:MW});MW.\u0275inj=Ic({imports:[KW,aM]});var Iuc=["spanElement"],NW=function(){this.modelValue="";this.maxWidth=0;this.disabled=!1;this.displayString=""};NW.prototype.ngOnChanges=function(a){if(a.modelValue||a.disabled)this.displayString=this.modelValue||""};NW.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)+"...")};
NW.prototype.getTooltip=function(){return this.displayString!==this.modelValue?this.modelValue:""};NW.\u0275fac=function(a){return new (a||NW)};
NW.\u0275cmp=p({type:NW,selectors:[["b-truncated-span"]],viewQuery:function(a,b){a&1&&fg(Iuc,5);if(a&2){var c;jg(c=kg())&&(b.spanElement=c.first)}},inputs:{modelValue:"modelValue",maxWidth:"maxWidth",disabled:"disabled"},features:[td],decls:2,vars:2,consts:[["spanElement",""],[3,"matTooltip","innerHtml"]],template:function(a,b){a&1&&H(0,"span",1,0);a&2&&D("matTooltip",b.getTooltip())("innerHtml",b.displayString,Pe)},dependencies:[LH,OH],encapsulation:2});var OW=function(){};OW.\u0275fac=function(a){return new (a||OW)};OW.\u0275mod=dd({type:OW});OW.\u0275inj=Ic({imports:[BB,aM]});var Juc=["popupField"],Kuc=["fieldContent"],Luc=["popupOverlay"],Muc=["overlayContent"],D1a=function(a){return{q:a}},$1a=function(a,b){return{"bv2-disabled":a,"bv2-readonly":b}},Nuc=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"}],PW=function(a,b,c,d,e,f,h,k){Z.call(this);this.cdr=a;this.element=b;this.overlay=c;this.viewContainerRef=d;this.dateFormatter=e;this.activeSession=f;this.constants=h;this.appEvents=k;this.googDateValue=null;this.autocompleteActive=!1;this.readonlyTooltip=
this.displayValue=null;this.textBuffer="";this.isActive=this.multiline=this.enableWaldoAvailability=!1;this.title=this.name="";this.displayValueOverride=this.value=null;this.isUser=!1;this.teamId="";this.clearable=!1;this.choices=[];this.customFieldId=0;this.showEnumTitle=!1;this.valueChange=new XF;this.disabled=this.readonly=!1;this.tooltip="";this.showAvailability=this.showHotkeyHint=this.truncate=!1;this.enableTeamAnnotations=f.isInternalSession();this.enableCustomFieldSearchImprovements=f.getFlag("enableCustomFieldSearchImprovements")};
X(PW,Z);PW.\u0275dir=Z.\u0275dir;g=PW.prototype;g.ngOnInit=function(){var a=this;this.enableWaldoAvailability=this.activeSession.getFlag("enableWaldoAvailability")&&this.activeSession.isInternalSession()&&this.showAvailability;this.subscriptions.add(this.appEvents.openEditField.subscribe(function(b){b!==a&&a.isActive&&(a.isActive=!1,Ouc(a),a.cdr.detectChanges())}));this.subscriptions.add(oac(this.dateFormatter,function(){Puc(a);a.cdr.detectChanges()}));this.destroyed$.subscribe(function(){Ouc(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})&&Puc(this)};g.ngAfterViewInit=function(){this.popupField&&(this.overlayRef=this.overlay.create({positionStrategy:this.getPositionStrategy(),scrollStrategy:this.overlay.scrollStrategies.reposition()}))};
g.getPositionStrategy=function(){return px(qx(rx(ux(this.overlay.position(),this.fieldContent).setOrigin(this.fieldContent),!1),5),Nuc)};
var Ouc=function(a){var b;((b=a.overlayRef)==null?0:b.hasAttached())&&a.overlayRef.detach()},m2a=function(a,b){if(!a.autocompleteActive)switch(b.keyCode){case 13:b.stopPropagation();s2a(a);break;case 27:b.stopPropagation(),Sp(a,b,!1,!0)}},k2a=function(a,b){if(!a.autocompleteActive)switch(b.keyCode){case 13:if(b.ctrlKey||b.metaKey)b.stopPropagation(),s2a(a);break;case 27:b.stopPropagation(),Sp(a,b,!1,!0)}},W1a=function(a,b){switch(b.keyCode){case 13:case 32:b.stopPropagation();b.preventDefault();Sp(a,
b,!0,!1);break;case 27:b.stopPropagation(),Sp(a,b,!1,!0)}},Sp=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,Ouc(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?zm(c):null),a.type===
"ENUM"&&a.enumMenuTrigger.openMenu(),a.type!=="ENUM"){Quc(a);var f=a.element.nativeElement;(0,W.fromEvent)(document,"click").pipe(te(function(h){return!f.contains(h.target)}),ef(),qf(a.overlayRef._detachments),qf(a.destroyed$)).subscribe(function(){Sp(a,null,!1,!1)})}b==null||b.stopPropagation();a.cdr.detectChanges()}};PW.prototype.schedule=function(a){var b=W.asyncScheduler.schedule(a);this.destroyed$.subscribe(function(){b.unsubscribe()})};
PW.prototype.getDisplayValue=function(a){return this.displayValue===null?a:this.displayValue};
var Puc=function(a){var b=a.value;switch(a.type){case "ENUM":if(a.title==="Type"&&b&&mac.has(b)){a.displayValue=Lm(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(zm(b)):a.displayValue=null;a.readonlyTooltip=null;break;default:a.displayValueOverride?
a.displayValue=a.displayValueOverride:a.displayValue=b?String(b):null,a.readonlyTooltip=null}};PW.prototype.setFieldValue=function(a){this.disabled||this.readonly||(this.type==="DATE"&&a&&(a=Am(a)),this.type==="NUMERIC"&&a===""&&(a=null),pi(this.value,a)?this.type==="ENUM"&&Sp(this,null,!1,!0):(Sp(this,null,!1,!0),this.value=a,this.valueChange.emit(this.value)))};
var s2a=function(a){if(a.type===void 0)throw Error("re");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("se");default:Dc(a.type,"FieldType")}};
PW.prototype.clearFieldValue=function(){this.value=null;this.valueChange.emit(this.value);Sp(this,null,!1,!0)};var Quc=function(a){Ouc(a);var b=a.overlayRef.attach(new Ow(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()})};
PW.prototype.getTooltip=function(){return this.readonly?this.readonlyTooltip||"":this.tooltip?this.tooltip:this.title?"Set "+this.title:""};PW.prototype.getPriority=function(a){return typeof a==="string"?a.toLowerCase():""};PW.\u0275fac=function(a){return new (a||PW)(A(YF,2),A(Rd),A(vx),A(dg),A(KI),A(Ir),A(JI),A(yE))};
PW.\u0275cmp=p({type:PW,selectors:[["b-edit-field"]],viewQuery:function(a,b){a&1&&(fg(UL,5),fg(Juc,5),fg(Kuc,5),fg(Luc,5),fg(Muc,5));if(a&2){var c;jg(c=kg())&&(b.enumMenuTrigger=c.first);jg(c=kg())&&(b.popupField=c.first);jg(c=kg())&&(b.fieldContent=c.first);jg(c=kg())&&(b.popupOverlay=c.first);jg(c=kg())&&(b.overlayContent=c.first)}},inputs:{multiline:"multiline",name:"name",title:"title",type:"type",value:"value",user:"user",displayValueOverride:"displayValueOverride",isUser:"isUser",teamId:"teamId",
clearable:"clearable",choices:"choices",customFieldId:"customFieldId",showEnumTitle:"showEnumTitle",readonly:"readonly",disabled:"disabled",tooltip:"tooltip",truncate:"truncate",showHotkeyHint:"showHotkeyHint",showAvailability:"showAvailability"},outputs:{valueChange:"valueChange"},features:[qg([YF]),zf,td],decls:11,vars:5,consts:[["enumMenu","matMenu"],["popupOverlay",""],["popupField","","tooltip","matTooltip"],["field",""],["customFieldTemplate",""],["emptyValue",""],["fieldContent",""],["overlayContent",
""],[1,"bv2-issue-metadata-field"],["class","keep-focus-ring","role","button","tabindex","0",3,"class","bv2-disabled","bv2-readonly","matTooltip","click","keydown","keydown.escape",4,"ngIf"],[3,"class","ngClass","matTooltip",4,"ngIf"],[4,"ngIf"],[1,"bv2-issue-metadata-footer"],[1,"keep-focus-ring"],["matMenuContent",""],["role","button","tabindex","0",1,"keep-focus-ring",3,"click","keydown","keydown.escape","matTooltip"],[3,"class",4,"ngIf"],["class","bv2-editable-value",4,"ngIf"],["class","bv2-editable-value",
3,"matMenuTriggerFor","menuClosed",4,"ngIf","ngIfElse"],[1,"bv2-editable-value",3,"menuClosed","matMenuTriggerFor"],[4,"ngTemplateOutlet"],[1,"overflow-ellipsis"],["class","subtle-link","routerLink","/issues",3,"queryParams",4,"ngIf","ngIfElse"],["mat-button","","aria-haspopup","true","matTooltip","Select items in the list","tabindex","0",1,"mat-primary","bv2-metadata-tool","bv2-metadata-link","tiny",3,"menuClosed","matMenuTriggerFor"],["routerLink","/issues",1,"subtle-link",3,"queryParams"],[1,"bv2-editable-value"],
[1,"bv2-editable-value",3,"keydown","click"],["class","issue-metadata-field-edit-icon",4,"ngIf"],["class","issue-metadata-field-dropdown-icon",4,"ngIf"],[1,"flex-kids-x","flex-cross-axis-centered"],[3,"user","email","teamId","enableSmallChip",4,"ngIf"],["class","bv2-editfield-avatar",3,"email",4,"ngIf"],["class","bv2-metadata-field-value",4,"ngIf"],[3,"user","email","teamId","enableSmallChip"],[1,"bv2-editfield-avatar",3,"email"],[1,"bv2-metadata-field-value"],[3,"email"],["class","bv2-metadata-field-value",
3,"maxWidth","modelValue","disabled",4,"ngIf"],["class","bv2-metadata-field-value",3,"ngClass","maxWidth","modelValue","disabled",4,"ngIf"],["class","bv2-metadata-field-value",3,"class","maxWidth","modelValue","disabled",4,"ngIf"],["class","bv2-edit-button",4,"ngIf"],[1,"bv2-metadata-field-value",3,"maxWidth","modelValue","disabled"],[1,"bv2-metadata-field-value",3,"ngClass","maxWidth","modelValue","disabled"],[1,"bv2-edit-button"],[1,"issue-metadata-field-edit-icon"],["svgIcon","edit-outline"],[1,
"issue-metadata-field-dropdown-icon"],["svgIcon","arrow-dropdown"],[3,"ngClass","matTooltip"],[3,"class","click",4,"ngIf"],[1,"keep-focus-ring",3,"modelChange","disabled","aria-label","model"],[3,"click"],[3,"user",4,"ngIf"],[3,"user"],["mat-menu-item","","role","menuitemcheckbox","aria-label","Clear",3,"b-menu-item-checked","disabled","click",4,"ngIf"],["mat-menu-item","","role","menuitemcheckbox",3,"b-menu-item-checked","disabled","matTooltip","hotkey","click","onHotkey",4,"ngFor","ngForOf"],["mat-menu-item",
"","role","menuitemcheckbox","aria-label","Clear",3,"click","disabled"],[1,"b-menu-item-check-mark"],["svgIcon","done",1,"icon-s"],["mat-menu-item","","role","menuitemcheckbox",3,"click","onHotkey","disabled","matTooltip","hotkey"],[1,"flex-kids-x","align-items-center","gap"],["class","muted plain-monospace margin-left-auto",4,"ngIf"],[1,"muted","plain-monospace","margin-left-auto"],["role","dialog",3,"ngSwitch"],[4,"ngSwitchCase"],[3,"click",4,"ngSwitchCase"],["class","bv2-text-field-edit",3,"click",
4,"ngSwitchDefault"],[3,"dateSelectionChange","saveClicked","cancelClicked","required","date"],[1,"bv2-text-field-edit",3,"click"],[1,"bv2-text-edit-dialog-buttons"],["mat-flat-button","","color","primary",1,"medium","field-popup-button",3,"click","disabled","matTooltip"],["svgIcon","done"],["mat-stroked-button","","color","primary",1,"medium","field-popup-button",3,"click","matTooltip"],["svgIcon","close"],["spellcheck","false",3,"ngModel","ngModelChange","keydown",4,"ngIf"],["step","any","spellcheck",
"false",3,"ngModel","ngModelChange","keydown",4,"ngIf"],["spellcheck","false",3,"ngModelChange","keydown","ngModel"],["step","any","spellcheck","false",3,"ngModelChange","keydown","ngModel"],["spellcheck","false",3,"ngModel","bContactAutocomplete","ngModelChange","keydown","autocompleteActive",4,"ngIf"],["step","any","spellcheck","false",3,"ngModel","bContactAutocomplete","ngModelChange","keydown","autocompleteActive",4,"ngIf"],["spellcheck","false",3,"ngModelChange","keydown","autocompleteActive",
"ngModel","bContactAutocomplete"],["step","any","spellcheck","false",3,"ngModelChange","keydown","autocompleteActive","ngModel","bContactAutocomplete"]],template:function(a,b){a&1&&(F(0,"div")(1,"div",8),C(2,Y1a,8,15,"div",9)(3,a2a,3,13,"div",10)(4,c2a,2,1,"ng-container",11),H(5,"div",12),G(),F(6,"mat-menu",13,0),C(8,g2a,2,2,"ng-template",14),G(),C(9,u2a,6,7,"ng-template",null,1,yg),G());a&2&&(z(),Kf("active",b.isActive&&!b.readonly&&!b.disabled),z(),D("ngIf",b.type!=="BOOL"),z(),D("ngIf",b.type===
"BOOL"),z(),D("ngIf",b.isUser))},dependencies:[ZM,Ev,Fv,Gv,Kv,Hv,Iv,Jv,zB,rB,rP,AV,mh,qy,yy,MN,IH,Rx,QL,TL,RL,SL,UL,LH,OH,LW,oL,NW,fN,iN,Mv],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 Ruc={ENUM:"ENUM",BOOL:"BOOL",DATE:"DATE",TEXT:"TEXT",NUMERIC:"NUMERIC"},QW=function(){};QW.\u0275fac=function(a){return new (a||QW)};QW.\u0275mod=dd({type:QW});QW.\u0275inj=Ic({imports:[cN,YS,BB,sP,QV,My,NN,dJ,ZL,aM,MW,OL,GJ,OW,kN]});var RW=function(a){this.analytics=a;this.config=Object.assign({},new cI,{delay:400,position:[{originX:"start",originY:"center",overlayX:"end",overlayY:"center",offsetX:-20}]})};RW.prototype.ngOnInit=function(){};RW.prototype.trackClick=function(){this.analytics.trackEvent("editIssue","click","changelistChip")};RW.\u0275fac=function(a){return new (a||RW)(A(bG))};
RW.\u0275cmp=p({type:RW,selectors:[["b-changelist-chip"]],inputs:{changelistId:"changelistId"},decls:7,vars:5,consts:[["card","onedevHovercard"],["cardBody",""],["target","_blank",1,"bv2-metadata-link",3,"click","href","onedevHovercardTrigger","onedevHovercardConfig"],[1,"suffix"],[3,"onedevIsHovercardReady","changelistId",4,"onedevHovercardLazyBody"],[3,"onedevIsHovercardReady","changelistId"]],template:function(a,b){if(a&1){var c=u();F(0,"a",2);M("click",function(){v(c);return x(b.trackClick())});
R(1);F(2,"span",3);R(3,"CL");G()();F(4,"onedev-hovercard",null,0);C(6,w2a,2,2,"b-changelist-card",4);G()}a&2&&(a=Q(5),D("href","http://critique.corp.google.com/"+b.changelistId,Qe)("onedevHovercardTrigger",a)("onedevHovercardConfig",b.config),Bf("aria-label","Changelist "+b.changelistId),z(),S(" ",b.changelistId," "))},dependencies:[$H,aI,gI,bI,aN],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 SW=function(a,b){this.activeSession=a;this.analytics=b;this.gerritUrl="";this.isInternal=this.activeSession.getFrontendAccessMode()==="INTERNAL"};SW.prototype.ngOnInit=function(){};SW.prototype.ngOnChanges=function(a){a.change&&(this.gerritUrl=Uza(this.change,this.isInternal))};SW.prototype.trackClick=function(){this.analytics.trackEvent("editIssue","click","gerritChangesChip")};SW.\u0275fac=function(a){return new (a||SW)(A(Ir),A(bG))};
SW.\u0275cmp=p({type:SW,selectors:[["b-gerrit-change-chip"]],inputs:{change:[0,"gerritChange","change"]},features:[td],decls:5,vars:8,consts:[["target","_blank",1,"bv2-metadata-link",3,"click","href"],[1,"suffix"]],template:function(a,b){a&1&&(F(0,"a",0),M("click",function(){return b.trackClick()}),R(1),F(2,"span",1),R(3),T(4,"titlecase"),G()());a&2&&(Ef("aria-label","",b.change.host," ",b.change.changeNumber,""),D("href",b.gerritUrl,Qe),z(),S(" ",b.change.changeNumber," "),z(2),lg(V(4,6,b.change.host)))},
dependencies:[Nv],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 TW=function(a){this.activeSession=a;this.gerritChange=this.changelist=void 0;this.enableGerritChanges=this.activeSession.getFlag("enableGerritChanges")};TW.prototype.ngOnInit=function(){};TW.prototype.ngOnChanges=function(a){a.codeChange&&((a=Dm(this.codeChange))?(this.changelist=void 0,this.gerritChange=a):(this.gerritChange=void 0,this.changelist=Number(this.codeChange)))};TW.\u0275fac=function(a){return new (a||TW)(A(Ir))};
TW.\u0275cmp=p({type:TW,selectors:[["b-code-change-chip"]],inputs:{codeChange:"codeChange"},features:[td],decls:2,vars:1,consts:[[3,"changelistId"],[3,"gerritChange"]],template:function(a,b){a&1&&C(0,x2a,1,1,"b-changelist-chip",0)(1,y2a,1,1,"b-gerrit-change-chip",1);a&2&&Of(b.changelist?0:b.enableGerritChanges&&b.gerritChange?1:-1)},dependencies:[RW,SW],encapsulation:2});var UW=function(){};UW.\u0275fac=function(a){return new (a||UW)};UW.\u0275mod=dd({type:UW});UW.\u0275inj=Ic({imports:[BB,NL,lN]});var VW=function(){var a=this;this.showPlaceholder=!1;this.customFieldTitle="";this.allowMultiSelect=!1;this.selectedValues=[];this.allowedValues=[];this.disabled=!1;this.onValueChange=new XF;this.onApplyChanges=new XF;this.onCancelChanges=new XF;this.searchQuery$=new W.Subject;this.hasPendingChanges=!1;this.selectedValuesMap={};this.oldSelectedValuesMap={};this.suggestedValues$=this.searchQuery$.pipe(bf(300),df(),y(function(b){var c=b.toLowerCase();return a.allowedValues.filter(function(d){return Ha(d.toLowerCase(),
c)})}))};g=VW.prototype;g.ngOnInit=function(){cea(this.selectedValuesMap);for(var a=l(this.allowedValues),b=a.next();!b.done;b=a.next())b=b.value,this.selectedValuesMap[b]=this.selectedValues.includes(b);this.oldSelectedValuesMap=Object.assign({},this.selectedValuesMap);this.hasPendingChanges=!1};g.ngAfterViewInit=function(){};
g.onSpace=function(a){var b;this.allowMultiSelect&&((b=this.autocompleteTrigger)==null?0:b.activeOption)&&(this.toggleSelection(this.autocompleteTrigger.activeOption.value),a.preventDefault(),a.stopPropagation())};g.search=function(a){this.searchQuery$.next(a)};g.handleSelectionChange=function(){this.hasPendingChanges=!pi(this.oldSelectedValuesMap,this.selectedValuesMap)};g.toggleSelection=function(a){this.selectedValuesMap[a]=!this.selectedValuesMap[a];this.handleSelectionChange()};
var C2a=function(a,b){a.allowMultiSelect?(b=Object.keys(rc(a.selectedValuesMap,function(c){return c})),a.onApplyChanges.emit(b)):a.onValueChange.emit(b==null?void 0:b.option.value)};VW.prototype.cancel=function(){this.onCancelChanges.emit()};VW.\u0275fac=function(a){return new (a||VW)};
VW.\u0275cmp=p({type:VW,selectors:[["b-custom-repeated-enum-picker"]],viewQuery:function(a,b){a&1&&fg(JP,7);if(a&2){var c;jg(c=kg())&&(b.autocompleteTrigger=c.first)}},inputs:{showPlaceholder:"showPlaceholder",customFieldTitle:"customFieldTitle",currentInputValue:"currentInputValue",allowMultiSelect:"allowMultiSelect",selectedValues:"selectedValues",allowedValues:"allowedValues",disabled:"disabled"},outputs:{onValueChange:"onValueChange",onApplyChanges:"onApplyChanges",onCancelChanges:"onCancelChanges"},
decls:7,vars:10,consts:[["customRepeatedEnumPicker",""],["auto","matAutocomplete"],["id","custom-repeated-enum-picker","type","text","autocomplete","off","aria-label","Custom repeated enum field selection",3,"click","input","keydown.space","placeholder","ngModel","disabled","matAutocomplete"],[3,"optionSelected","hideSingleSelectionIndicator"],["class","custom-repeated-enum-search-result",3,"value",4,"ngFor","ngForOf"],["class","action-buttons",4,"ngIf"],[1,"custom-repeated-enum-search-result",3,
"value"],[3,"checked","click","change",4,"ngIf"],["class","custom-repeated-enum-suggestion",4,"ngIf"],[3,"click","change","checked"],[1,"custom-repeated-enum-suggestion"],[1,"action-buttons"],["mat-flat-button","","type","submit",1,"small","action-button",3,"click","keydown.enter","disabled"],["svgIcon","done",1,"icon-s"],["mat-stroked-button","","type","button",1,"small","action-button",3,"click","keydown.esc"],["svgIcon","close",1,"icon-s"]],template:function(a,b){if(a&1){var c=u();F(0,"input",
2,0);M("click",function(){v(c);var e=Q(1);return x(b.search(e.value))})("input",function(){v(c);var e=Q(1);return x(b.search(e.value))})("keydown.space",function(e){v(c);return x(b.onSpace(e))});G();F(2,"mat-autocomplete",3,1);M("optionSelected",function(e){v(c);return x(C2a(b,e))});C(4,B2a,3,3,"mat-option",4);T(5,"async");G();C(6,D2a,5,5,"div",5)}if(a&2){var d;a=Q(3);D("placeholder",b.showPlaceholder?"Select "+b.customFieldTitle:"")("ngModel",b.currentInputValue)("disabled",b.disabled)("matAutocomplete",
a);Bf("aria-disabled",b.disabled);z(2);D("hideSingleSelectionIndicator",!0);z(2);D("ngForOf",(d=V(5,8,b.suggestedValues$))!==null&&d!==void 0?d:b.currentInputValue?[]:b.allowedValues);z(2);D("ngIf",b.allowMultiSelect)}},dependencies:[Fv,Gv,zB,HP,IP,Kx,JP,mh,qy,yy,IH,Rx,QH,RH,Lv],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 WW=function(){};WW.\u0275fac=function(a){return new (a||WW)};WW.\u0275mod=dd({type:WW});WW.\u0275inj=Ic({imports:[BB,LP,My,dJ,jM]});var Suc=0,XW=function(a){this.elementRef=a;this.titleWhenExpanded=this.titleWhenCollapsed="";this.isExpanded=!1;this.iconName="";this.hasCompactTitleBar=!1;this.headerId="b-collapsible-panel-header-"+Suc;this.id="b-collapsible-panel-"+Suc;Suc++};XW.prototype.toggleExpansion=function(){var a=this;this.isExpanded||setTimeout(function(){return a.elementRef.nativeElement.scrollIntoView({behavior:"smooth",block:"nearest"})},200);this.isExpanded=!this.isExpanded};
ea.Object.defineProperties(XW.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"}}});XW.\u0275fac=function(a){return new (a||XW)(A(Rd))};
XW.\u0275cmp=p({type:XW,selectors:[["collapsible-panel"],["b-collapsible-panel"]],inputs:{titleWhenCollapsed:"titleWhenCollapsed",titleWhenExpanded:"titleWhenExpanded",isExpanded:"isExpanded",iconName:"iconName",hasCompactTitleBar:"hasCompactTitleBar",title:"title"},ngContentSelectors:["*"],decls:8,vars:12,consts:[[1,"collapsible-panel"],["aria-label","collapsible panel",1,"title-bar","unstyled-button",3,"click","mouseup"],["size","small","class","icon",3,"name",4,"ngIf"],["class","title",4,"ngIf"],
["class","horizontal-line",4,"ngIf"],["svgIcon","arrow-down",1,"icon-s"],["role","region",1,"content"],["size","small",1,"icon",3,"name"],[1,"title"],[1,"horizontal-line"]],template:function(a,b){a&1&&(Xf(),F(0,"div",0)(1,"button",1),M("click",function(){return b.toggleExpansion()})("mouseup",function(){b.elementRef.nativeElement.querySelector(".title-bar").blur()}),C(2,E2a,1,1,"b-icon",2)(3,F2a,2,1,"span",3)(4,G2a,2,0,"div",4),H(5,"mat-icon",5),G(),F(6,"div",6),Yf(7),G()());a&2&&(z(),Kf("compact",
b.hasCompactTitleBar),Bf("id",b.headerId)("aria-expanded",b.isExpanded)("aria-controls",b.id),z(),D("ngIf",b.iconName),z(),D("ngIf",!b.hasCompactTitleBar||!b.isExpanded),z(),D("ngIf",b.hasCompactTitleBar),z(),D("@expandCollapseIcon",b.expandedState),z(),D("@expandCollapseContent",b.expandedState),Bf("id",b.id)("aria-labelledby",b.headerId))},dependencies:[Gv,zB,hN],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:[ph("expandCollapseContent",[sh("expanded",rh({height:"*",visibility:"visible"})),sh("collapsed",rh({height:"0",visibility:"hidden"})),uh("expanded <=> collapsed",[qh("200ms")])]),ph("expandCollapseIcon",[sh("expanded",rh({transform:"rotate(-180deg)"})),sh("collapsed",rh({transform:"*"})),uh("expanded <=> collapsed",[qh("200ms")])])]}});var YW=function(){};YW.\u0275fac=function(a){return new (a||YW)};YW.\u0275mod=dd({type:YW});YW.\u0275inj=Ic({imports:[BB,jN]});var Tuc=new md("CDK_DRAG_CONFIG");var Uuc=new md("CDK_DRAG_PARENT");var Vuc=new md("CdkDragHandle"),ZW=function(a,b){this.element=a;this._parentDrag=b;this._stateChanges=new W.Subject;this._disabled=!1;b==null||b._addHandle(this)};ZW.prototype.ngOnDestroy=function(){var a;(a=this._parentDrag)==null||a._removeHandle(this);this._stateChanges.complete()};ea.Object.defineProperties(ZW.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled},set:function(a){this._disabled=a;this._stateChanges.next(this)}}});
ZW.\u0275fac=function(a){return new (a||ZW)(A(Rd),A(Uuc,12))};ZW.\u0275dir=fd({type:ZW,selectors:[["","cdkDragHandle",""]],hostAttrs:[1,"cdk-drag-handle"],inputs:{disabled:[2,"cdkDragHandleDisabled","disabled",Gg]},standalone:!0,features:[qg([{provide:Vuc,useExisting:ZW}]),Af]});var Wuc=Wg({passive:!1,capture:!0}),Xuc=new Set,Yuc=function(){};Yuc.\u0275fac=function(a){return new (a||Yuc)};Yuc.\u0275cmp=p({type:Yuc,selectors:[["ng-component"]],hostAttrs:["cdk-drag-resets-container",""],standalone:!0,features:[sg],decls:0,vars:0,template:function(){},styles:["@layer cdk-resets{.cdk-drag-preview{background:none;border:none;padding:0;color:inherit}}\n"],encapsulation:2,changeDetection:0});
var $W=function(a,b){var c=this;this._ngZone=a;this._appRef=Yc(uv);this._environmentInjector=Yc(qu);this._dropInstances=new Set;this._dragInstances=new Set;this._activeDragInstances=bma([]);this._globalListeners=new Map;this._draggingPredicate=function(d){return d.isDragging()};this.pointerMove=new W.Subject;this.pointerUp=new W.Subject;this.scroll=new W.Subject;this._preventDefaultWhileDragging=function(d){c._activeDragInstances().length>0&&d.preventDefault()};this._persistentTouchmoveListener=function(d){c._activeDragInstances().length>
0&&(c._activeDragInstances().some(c._draggingPredicate)&&d.preventDefault(),c.pointerMove.next(d))};this._document=b},Zuc=function(a,b){a._dropInstances.has(b)||a._dropInstances.add(b)},$uc=function(a,b){a._dragInstances.add(b);a._dragInstances.size===1&&a._ngZone.runOutsideAngular(function(){a._document.addEventListener("touchmove",a._persistentTouchmoveListener,Wuc)})},bvc=function(a,b){a._dragInstances.delete(b);avc(a,b);a._dragInstances.size===0&&a._document.removeEventListener("touchmove",a._persistentTouchmoveListener,
Wuc)};
$W.prototype.startDragging=function(a,b){var c=this;this._activeDragInstances().indexOf(a)>-1||(this._loadResets(),this._activeDragInstances.update(function(d){return[].concat(r(d),[a])}),this._activeDragInstances().length===1&&(b=b.type.startsWith("touch"),this._globalListeners.set(b?"touchend":"mouseup",{handler:function(d){return c.pointerUp.next(d)},options:!0}).set("scroll",{handler:function(d){return c.scroll.next(d)},options:!0}).set("selectstart",{handler:this._preventDefaultWhileDragging,options:Wuc}),
b||this._globalListeners.set("mousemove",{handler:function(d){return c.pointerMove.next(d)},options:Wuc}),this._ngZone.runOutsideAngular(function(){c._globalListeners.forEach(function(d,e){c._document.addEventListener(e,d.handler,d.options)})})))};var avc=function(a,b){a._activeDragInstances.update(function(c){var d=c.indexOf(b);return d>-1?(c.splice(d,1),[].concat(r(c))):c});a._activeDragInstances().length===0&&a._clearGlobalListeners()};g=$W.prototype;
g.isDragging=function(a){return this._activeDragInstances().indexOf(a)>-1};g.scrolled=function(a){var b=this,c=[this.scroll];a&&a!==this._document&&c.push(new W.Observable(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 W.merge.apply(null,r(c))};
g.ngOnDestroy=function(){var a=this;this._dragInstances.forEach(function(b){return bvc(a,b)});this._dropInstances.forEach(function(b){a._dropInstances.delete(b)});this._clearGlobalListeners();this.pointerMove.complete();this.pointerUp.complete()};g._clearGlobalListeners=function(){var a=this;this._globalListeners.forEach(function(b,c){a._document.removeEventListener(c,b.handler,b.options)});this._globalListeners.clear()};
g._loadResets=function(){var a=this;if(!Xuc.has(this._appRef)){Xuc.add(this._appRef);var b=Kma(Yuc,{environmentInjector:this._environmentInjector});this._appRef.onDestroy(function(){Xuc.delete(a._appRef);Xuc.size===0&&b.destroy()})}};$W.\u0275fac=function(a){return new (a||$W)(n(ze),n(gh))};$W.\u0275prov=Hc({token:$W,factory:$W.\u0275fac,providedIn:"root"});var L2a=0;var cvc=function(a){this._document=a;this.positions=new Map};cvc.prototype.clear=function(){this.positions.clear()};cvc.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:M2a(c)})})};
var dvc=function(a,b){var c=Zg(b);b=a.positions.get(c);if(!b)return null;b=b.scrollPosition;if(c===a._document){var d=a.getViewportScrollPosition();var e=d.top;d=d.left}else e=c.scrollTop,d=c.scrollLeft;var f=b.top-e,h=b.left-d;a.positions.forEach(function(k,q){k.clientRect&&c!==q&&c.contains(q)&&Tp(k.clientRect,f,h)});b.top=e;b.left=d;return{top:f,left:h}};cvc.prototype.getViewportScrollPosition=function(){return{top:window.scrollY,left:window.scrollX}};var evc=new Set(["position"]),fvc=function(a,b,c,d,e,f,h,k,q){this._document=a;this._rootElement=b;this._direction=c;this._initialDomRect=d;this._previewTemplate=e;this._previewClass=f;this._pickupPositionOnPage=h;this._initialTransform=k;this._zIndex=q};g=fvc.prototype;g.attach=function(a){this._preview=this._createPreview();a.appendChild(this._preview);"showPopover"in this._preview&&this._preview.showPopover()};
g.destroy=function(){this._preview.remove();var a;(a=this._previewEmbeddedView)==null||a.destroy();this._preview=this._previewEmbeddedView=null};g.setTransform=function(a){this._preview.style.transform=a};g.getBoundingClientRect=function(){return this._preview.getBoundingClientRect()};g.addClass=function(a){this._preview.classList.add(a)};g.addEventListener=function(a,b){this._preview.addEventListener(a,b)};g.removeEventListener=function(a,b){this._preview.removeEventListener(a,b)};
g._createPreview=function(){var a=this._previewTemplate,b=this._previewClass,c=a?a.template:null;if(c&&a){var d=a.matchSize?this._initialDomRect:null;c=a.viewContainer.createEmbeddedView(c,a.context);c.detectChanges();var e=P2a(c,this._document);this._previewEmbeddedView=c;a.matchSize?V2a(e,d):e.style.transform=U2a(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else e=K2a(this._rootElement),V2a(e,this._initialDomRect),this._initialTransform&&(e.style.transform=this._initialTransform);
Q2a(e.style,{"pointer-events":"none",margin:"0",position:"fixed",top:"0",left:"0","z-index":this._zIndex+""},evc);Up(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};var gvc=Wg({passive:!0}),hvc=Wg({passive:!1}),ivc=Wg({passive:!1,capture:!0}),R2a=new Set(["position"]),lvc=function(a,b,c,d,e,f){var h=this;this._config=b;this._document=c;this._ngZone=d;this._viewportRuler=e;this._dragDropRegistry=f;this._passiveTransform={x:0,y:0};this._activeTransform={x:0,y:0};this._hasStartedDragging=bma(!1);this._moveEvents=new W.Subject;this._resizeSubscription=this._scrollSubscription=this._pointerUpSubscription=this._pointerMoveSubscription=W.Subscription.EMPTY;this._boundaryElement=
null;this._nativeInteractionsEnabled=!0;this._handles=[];this._disabledHandles=new Set;this._direction="ltr";this.dragStartDelay=0;this._disabled=!1;this.beforeStarted=new W.Subject;this.started=new W.Subject;this.released=new W.Subject;this.ended=new W.Subject;this.entered=new W.Subject;this.exited=new W.Subject;this.dropped=new W.Subject;this.moved=this._moveEvents;this._pointerDown=function(k){h.beforeStarted.next();if(h._handles.length){var q=h._getTargetHandle(k);!q||h._disabledHandles.has(q)||
h.disabled||h._initializeDragSequence(q,k)}else h.disabled||h._initializeDragSequence(h._rootElement,k)};this._pointerMove=function(k){var q=h._getPointerPositionOnPage(k);if(h._hasStartedDragging()){k.cancelable&&k.preventDefault();var t=h._getConstrainedPointerPosition(q);h._hasMoved=!0;h._lastKnownPointerPosition=q;h._updatePointerDirectionDelta(t);if(h._dropContainer)h._updateActiveDropContainer(t,q);else{q=h.constrainPosition?h._initialDomRect:h._pickupPositionOnPage;var w=h._activeTransform;
w.x=t.x-q.x+h._passiveTransform.x;w.y=t.y-q.y+h._passiveTransform.y;h._applyRootElementTransform(w.x,w.y)}h._moveEvents.observers.length&&h._ngZone.run(function(){h._moveEvents.next({source:h,pointerPosition:t,event:k,distance:h._getDragDistance(t),delta:h._pointerDirectionDelta})})}else Math.abs(q.x-h._pickupPositionOnPage.x)+Math.abs(q.y-h._pickupPositionOnPage.y)>=h._config.dragStartThreshold&&((q=Date.now()>=h._dragStartTime+h._getDragStartDelay(k),w=h._dropContainer,q)?w&&(w.isDragging()||w._activeSiblings.size>
0)||(k.cancelable&&k.preventDefault(),h._hasStartedDragging.set(!0),h._ngZone.run(function(){return h._startDragSequence(k)})):h._endDragSequence(k))};this._pointerUp=function(k){h._endDragSequence(k)};this._nativeDragStart=function(k){if(h._handles.length){var q=h._getTargetHandle(k);!q||h._disabledHandles.has(q)||h.disabled||k.preventDefault()}else h.disabled||k.preventDefault()};jvc(kvc(this,a),b.parentDragRef||null);this._parentPositions=new cvc(c);$uc(f,this)};
lvc.prototype.getPlaceholderElement=function(){return this._placeholder};lvc.prototype.getRootElement=function(){return this._rootElement};
var mvc=function(a){return a.isDragging()?a.getPlaceholderElement():a.getRootElement()},nvc=function(a,b){a._handles=b.map(function(d){return dh(d)});a._handles.forEach(function(d){return Up(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},kvc=function(a,b){var c=dh(b);c!==a._rootElement&&(a._rootElement&&a._removeRootElementListeners(a._rootElement),a._ngZone.runOutsideAngular(function(){c.addEventListener("mousedown",
a._pointerDown,hvc);c.addEventListener("touchstart",a._pointerDown,gvc);c.addEventListener("dragstart",a._nativeDragStart,hvc)}),a._initialTransform=void 0,a._rootElement=c);typeof SVGElement!=="undefined"&&a._rootElement instanceof SVGElement&&(a._ownerSVGElement=a._rootElement.ownerSVGElement);return a},ovc=function(a,b){a._boundaryElement=b?dh(b):null;a._resizeSubscription.unsubscribe();b&&(a._resizeSubscription=a._viewportRuler.change(10).subscribe(function(){return a._containInsideBoundaryOnResize()}));
return a},jvc=function(a,b){a._parentDragRef=b};g=lvc.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();bvc(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",Z2a,ivc)};
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(),avc(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();
avc(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();avc(this._dragDropRegistry,this)}};
g._startDragSequence=function(a){Vp(a)&&(this._lastTouchEventTime=Date.now());this._toggleNativeDragInteractions();var b=this._getShadowRoot(),c=this._dropContainer;b&&this._ngZone.runOutsideAngular(function(){b.addEventListener("selectstart",Z2a,ivc)});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 fvc(this._document,
this._rootElement,this._direction,this._initialDomRect,this._previewTemplate||null,this.previewClass||null,this._pickupPositionOnPage,this._initialTransform,this._config.zIndex||1E3);this._preview.attach(this._getPreviewInsertionPoint(e,b));S2a(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=Vp(b),f=!e&&b.button!==0,h=this._rootElement,k=Zg(b),q=!e&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now();e=e?xoa(b):woa(b);k&&k.draggable&&b.type==="mousedown"&&b.preventDefault();d||f||q||e||(this._handles.length&&(d=h.style,this._rootElementTapHighlight=d.webkitTapHighlightColor||"",d.webkitTapHighlightColor="transparent"),this._hasMoved=!1,this._hasStartedDragging.set(this._hasMoved),
this._removeListeners(),this._initialDomRect=this._rootElement.getBoundingClientRect(),this._pointerMoveSubscription=this._dragDropRegistry.pointerMove.subscribe(this._pointerMove),this._pointerUpSubscription=this._dragDropRegistry.pointerUp.subscribe(this._pointerUp),this._scrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(function(t){return c._updateOnScroll(t)}),this._boundaryElement&&(this._boundaryRect=M2a(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;S2a(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=Y2a(this._preview._preview);return c===0?Promise.resolve():this._ngZone.runOutsideAngular(function(){return new Promise(function(d){var e=function(h){if(!h||Zg(h)===a._preview&&h.propertyName==="transform"){var k;(k=a._preview)==null||k.removeEventListener("transitionend",
e);d();clearTimeout(f)}},f=setTimeout(e,c*1.5);a._preview.addEventListener("transitionend",e)})})};g._createPlaceholderElement=function(){var a=this._placeholderTemplate,b=a?a.template:null;b?(this._placeholderRef=a.viewContainer.createEmbeddedView(b,a.context),this._placeholderRef.detectChanges(),a=P2a(this._placeholderRef,this._document)):a=K2a(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=Vp(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=Vp(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,Up(this._rootElement,a))}};g._removeRootElementListeners=function(a){a.removeEventListener("mousedown",this._pointerDown,hvc);a.removeEventListener("touchstart",this._pointerDown,gvc);a.removeEventListener("dragstart",this._nativeDragStart,hvc)};
g._applyRootElementTransform=function(a,b){a=U2a(a,b);b=this._rootElement.style;this._initialTransform==null&&(this._initialTransform=b.transform&&b.transform!="none"?b.transform:"");b.transform=T2a(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(T2a(U2a(a,b),d))};g._getDragDistance=function(a){var b=this._pickupPositionOnPage;return b?{x:a.x-b.x,y:a.y-b.y}:{x:0,y:0}};
g._cleanupCachedDimensions=function(){this._boundaryRect=this._previewRect=void 0;this._parentPositions.clear()};
g._containInsideBoundaryOnResize=function(){var a=this._passiveTransform,b=a.x;a=a.y;if(!(b===0&&a===0||this.isDragging())&&this._boundaryElement){var c=this._rootElement.getBoundingClientRect(),d=this._boundaryElement.getBoundingClientRect();if(!(d.width===0&&d.height===0||c.width===0&&c.height===0)){var e=d.left-c.left,f=c.right-d.right,h=d.top-c.top,k=c.bottom-d.bottom;d.width>c.width?(e>0&&(b+=e),f>0&&(b-=f)):b=0;d.height>c.height?(h>0&&(a+=h),k>0&&(a-=k)):a=0;b===this._passiveTransform.x&&a===
this._passiveTransform.y||this.setFreeDragPosition({y:a,x:b})}}};g._getDragStartDelay=function(a){var b=this.dragStartDelay;return typeof b==="number"?b:Vp(a)?b.touch:b?b.mouse:0};
g._updateOnScroll=function(a){var b=dvc(this._parentPositions,a);b&&(a=Zg(a),this._boundaryRect&&a!==this._boundaryElement&&a.contains(this._boundaryElement)&&Tp(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=ioa(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):dh(c)};g._getPreviewRect=function(){this._previewRect&&(this._previewRect.width||this._previewRect.height)||(this._previewRect=this._preview?this._preview.getBoundingClientRect():this._initialDomRect);return this._previewRect};
g._getTargetHandle=function(a){return this._handles.find(function(b){return a.target&&(a.target===b||b.contains(a.target))})};ea.Object.defineProperties(lvc.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 Up(b,a)}))}}});var aX=function(a,b){this._element=a;this._dragDropRegistry=b;this._itemPositions=[];this.orientation="vertical";this._previousSwap={drag:null,delta:0,overlaps:!1}};aX.prototype.start=function(a){this.withItems(a)};
aX.prototype.sort=function(a,b,c,d){var e=this._itemPositions,f=this._getItemIndexFromPointerPosition(a,b,c,d);if(f===-1&&e.length>0)return null;var h=this.orientation==="horizontal",k=e.findIndex(function(J){return J.drag===a}),q=e[f],t=q.clientRect,w=k>f?1:-1,B=this._getItemOffsetPx(e[k].clientRect,t,w),E=this._getSiblingOffsetPx(k,e,w),I=e.slice();Wp(e,k,f);e.forEach(function(J,N){if(I[N]!==J){var P=J.drag===a;N=P?B:E;P=P?a.getPlaceholderElement():J.drag.getRootElement();J.offset+=N;h?(P.style.transform=
T2a("translate3d("+Math.round(J.offset)+"px, 0, 0)",J.initialTransform),Tp(J.clientRect,0,N)):(P.style.transform=T2a("translate3d(0, "+Math.round(J.offset)+"px, 0)",J.initialTransform),Tp(J.clientRect,N,0))}});this._previousSwap.overlaps=N2a(t,b,c);this._previousSwap.drag=q.drag;this._previousSwap.delta=h?d.x:d.y;return{previousIndex:k,currentIndex:f}};
aX.prototype.enter=function(a,b,c,d){d=d==null||d<0?this._getItemIndexFromPointerPosition(a,b,c):d;var e=this._activeDraggables,f=e.indexOf(a),h=a.getPlaceholderElement(),k=e[d];k===a&&(k=e[d+1]);!k&&(d==null||d===-1||d<e.length-1)&&this._shouldEnterAsFirstChild(b,c)&&(k=e[0]);f>-1&&e.splice(f,1);k&&!this._dragDropRegistry.isDragging(k)?(b=k.getRootElement(),b.parentElement.insertBefore(h,b),e.splice(d,0,a)):(dh(this._element).appendChild(h),e.push(a));h.style.transform="";this._cacheItemPositions()};
aX.prototype.withItems=function(a){this._activeDraggables=a.slice();this._cacheItemPositions()};var pvc=function(a,b){a._sortPredicate=b};
aX.prototype.reset=function(){var a=this;this._activeDraggables.forEach(function(b){var c=b.getRootElement();if(c){var d,e=(d=a._itemPositions.find(function(f){return f.drag===b}))==null?void 0:d.initialTransform;c.style.transform=e||""}});this._itemPositions=[];this._activeDraggables=[];this._previousSwap.drag=null;this._previousSwap.delta=0;this._previousSwap.overlaps=!1};
aX.prototype.getItemIndex=function(a){return(this.orientation==="horizontal"&&this.direction==="rtl"?this._itemPositions.slice().reverse():this._itemPositions).findIndex(function(b){return b.drag===a})};var qvc=function(a,b,c){a._itemPositions.forEach(function(d){Tp(d.clientRect,b,c)});a._itemPositions.forEach(function(d){d=d.drag;a._dragDropRegistry.isDragging(d)&&d._sortFromLastPointerPosition()})};g=aX.prototype;
g._cacheItemPositions=function(){var a=this.orientation==="horizontal";this._itemPositions=this._activeDraggables.map(function(b){var c=mvc(b);return{drag:b,offset:0,initialTransform:c.style.transform||"",clientRect:M2a(c)}}).sort(function(b,c){return a?b.clientRect.left-c.clientRect.left:b.clientRect.top-c.clientRect.top})};g._getItemOffsetPx=function(a,b,c){var d=this.orientation==="horizontal",e=d?b.left-a.left:b.top-a.top;c===-1&&(e+=d?b.width-a.width:b.height-a.height);return e};
g._getSiblingOffsetPx=function(a,b,c){var d=this.orientation==="horizontal",e=b[a].clientRect;a=b[a+c*-1];b=e[d?"width":"height"]*c;if(a){var f=d?"left":"top";d=d?"right":"bottom";b=c===-1?b-(a.clientRect[f]-e[d]):b+(e[f]-a.clientRect[d])}return b};
g._shouldEnterAsFirstChild=function(a,b){if(!this._activeDraggables.length)return!1;var c=this._itemPositions,d=this.orientation==="horizontal";if(c[0].drag!==this._activeDraggables[0])return c=c[c.length-1].clientRect,d?a>=c.right:b>=c.bottom;c=c[0].clientRect;return d?a<=c.left:b<=c.top};
g._getItemIndexFromPointerPosition=function(a,b,c,d){var e=this,f=this.orientation==="horizontal",h=this._itemPositions.findIndex(function(k){var q=k.drag;k=k.clientRect;if(q===a)return!1;if(d){var t=f?d.x:d.y;if(q===e._previousSwap.drag&&e._previousSwap.overlaps&&t===e._previousSwap.delta)return!1}return f?b>=Math.floor(k.left)&&b<Math.floor(k.right):c>=Math.floor(k.top)&&c<Math.floor(k.bottom)});return h!==-1&&this._sortPredicate(h,a)?h:-1};var svc=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 W.Subject;this.entered=new W.Subject;this.exited=new W.Subject;this.dropped=new W.Subject;this.sorted=new W.Subject;this.receivingStarted=new W.Subject;this.receivingStopped=new W.Subject;this._isDragging=!1;this._draggables=
[];this._siblings=[];this._activeSiblings=new Set;this._viewportScrollSubscription=W.Subscription.EMPTY;this._horizontalScrollDirection=this._verticalScrollDirection=0;this._stopScrollTimers=new W.Subject;this._cachedShadowRoot=null;this._startScrollInterval=function(){f._stopScrolling();(0,W.interval)(0,W.animationFrameScheduler).pipe(qf(f._stopScrollTimers)).subscribe(function(){var h=f._scrollNode,k=f.autoScrollStep;f._verticalScrollDirection===1?h.scrollBy(0,-k):f._verticalScrollDirection===2&&
h.scrollBy(0,k);f._horizontalScrollDirection===1?h.scrollBy(-k,0):f._horizontalScrollDirection===2&&h.scrollBy(k,0)})};this.element=dh(a);this._document=c;rvc(this,[this.element]);Zuc(b,this);this._parentPositions=new cvc(c);this._sortStrategy=new aX(this.element,b);pvc(this._sortStrategy,function(h,k){return f.sortPredicate(h,k,f)})};g=svc.prototype;
g.dispose=function(){this._stopScrolling();this._stopScrollTimers.complete();this._viewportScrollSubscription.unsubscribe();this.beforeStarted.complete();this.entered.complete();this.exited.complete();this.dropped.complete();this.sorted.complete();this.receivingStarted.complete();this.receivingStopped.complete();this._activeSiblings.clear();this._scrollNode=null;this._parentPositions.clear();this._dragDropRegistry._dropInstances.delete(this)};g.isDragging=function(){return this._isDragging};
g.start=function(){this._draggingStarted();this._notifyReceivingSiblings()};g.enter=function(a,b,c,d){this._draggingStarted();d==null&&this.sortingDisabled&&(d=this._draggables.indexOf(a));this._sortStrategy.enter(a,b,c,d);this._cacheParentPositions();this._notifyReceivingSiblings();this.entered.next({item:a,container:this,currentIndex:this.getItemIndex(a)})};g.exit=function(a){this._reset();this.exited.next({item:a,container:this})};
g.drop=function(a,b,c,d,e,f,h,k){k=k===void 0?{}:k;this._reset();this.dropped.next({item:a,currentIndex:b,previousIndex:c,container:this,previousContainer:d,isPointerOverContainer:e,distance:f,dropPoint:h,event:k})};g.withItems=function(a){var b=this,c=this._draggables;this._draggables=a;a.forEach(function(d){return d._withDropContainer(b)});this.isDragging()&&(c.filter(function(d){return d.isDragging()}).every(function(d){return a.indexOf(d)===-1})?this._reset():this._sortStrategy.withItems(this._draggables))};
g.withDirection=function(a){this._sortStrategy.direction=a;return this};g.connectedTo=function(a){this._siblings=a.slice();return this};var tvc=function(a,b){a._sortStrategy.orientation=b},rvc=function(a,b){var c=dh(a.element);a._scrollableElements=b.indexOf(c)===-1?[c].concat(r(b)):b.slice()};g=svc.prototype;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&&O2a(this._domRect,b,c)&&(b=this._sortStrategy.sort(a,b,c,d))&&this.sorted.next({previousIndex:b.previousIndex,currentIndex:b.currentIndex,container:this,item:a})};
g._startScrollingIfNecessary=function(a,b){var c=this;if(!this.autoScrollDisabled){var d=0,e=0;this._parentPositions.positions.forEach(function(q,t){if(t!==c._document&&q.clientRect&&!k&&O2a(q.clientRect,a,b)){var w=q.clientRect;q=$2a(w,b);w=a3a(w,a);var B=0,E=0;if(q){var I=t.scrollTop;q===1?I>0&&(B=1):t.scrollHeight-I>t.clientHeight&&(B=2)}w&&(q=t.scrollLeft,c._sortStrategy.direction==="rtl"?w===2?q<0&&(E=2):t.scrollWidth+q>t.clientWidth&&(E=1):w===1?q>0&&(E=1):t.scrollWidth-q>t.clientWidth&&(E=
2));q=l([B,E]);d=q.next().value;e=q.next().value;if(d||e)k=t}});if(!d&&!e){var f=this._viewportRuler.getViewportSize(),h=f.width;f=f.height;h={width:h,height:f,top:0,right:h,bottom:f,left:0};d=$2a(h,b);e=a3a(h,a);var k=window}!k||d===this._verticalScrollDirection&&e===this._horizontalScrollDirection&&k===this._scrollNode||(this._verticalScrollDirection=d,this._horizontalScrollDirection=e,this._scrollNode=k,(d||e)&&k?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}};
g._stopScrolling=function(){this._stopScrollTimers.next()};g._draggingStarted=function(){var a=dh(this.element).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(){var a=dh(this.element);this._parentPositions.cache(this._scrollableElements);this._domRect=this._parentPositions.positions.get(a).clientRect};g._reset=function(){var a=this;this._isDragging=!1;var b=dh(this.element).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&&N2a(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){if(!this._domRect||!N2a(this._domRect,b,c)||!this.enterPredicate(a,this))return!1;a=this._getShadowRoot().elementFromPoint(b,c);if(!a)return!1;b=dh(this.element);return a===b||b.contains(a)};
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=dvc(a._parentPositions,b))&&qvc(a._sortStrategy,b.top,b.left):a._activeSiblings.size>0&&a._cacheParentPositions()})};g._getShadowRoot=function(){this._cachedShadowRoot||(this._cachedShadowRoot=ioa(dh(this.element))||this._document);return this._cachedShadowRoot};
g._notifyReceivingSiblings=function(){var a=this,b=this._sortStrategy._activeDraggables.filter(function(c){return c.isDragging()});this._siblings.forEach(function(c){return c._startReceiving(a,b)})};var uvc={dragStartThreshold:5,pointerDirectionChangeThreshold:5},bX=function(a,b,c,d){this._document=a;this._ngZone=b;this._viewportRuler=c;this._dragDropRegistry=d};bX.prototype.createDrag=function(a,b){b=b===void 0?uvc:b;return new lvc(a,b,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)};bX.\u0275fac=function(a){return new (a||bX)(n(gh),n(ze),n(ix),n($W))};bX.\u0275prov=Hc({token:bX,factory:bX.\u0275fac,providedIn:"root"});var vvc=new md("CdkDropList"),cX=function(a,b,c,d,e,f,h,k,q,t,w){var B=this;this.element=a;this.dropContainer=b;this._ngZone=d;this._viewContainerRef=e;this._dir=h;this._changeDetectorRef=q;this._selfHandle=t;this._parentDrag=w;this._destroyed=new W.Subject;this._handles=new W.BehaviorSubject([]);this.started=new Xu;this.released=new Xu;this.ended=new Xu;this.entered=new Xu;this.exited=new Xu;this.dropped=new Xu;this.moved=new W.Observable(function(E){var I=B._dragRef.moved.pipe(y(function(J){return{source:B,
pointerPosition:J.pointerPosition,event:J.event,delta:J.delta,distance:J.distance}})).subscribe(E);return function(){I.unsubscribe()}});this._injector=Yc(Ae);this._dragRef=k.createDrag(a,{dragStartThreshold:f&&f.dragStartThreshold!=null?f.dragStartThreshold:5,pointerDirectionChangeThreshold:f&&f.pointerDirectionChangeThreshold!=null?f.pointerDirectionChangeThreshold:5,zIndex:f==null?void 0:f.zIndex});this._dragRef.data=this;wvc.push(this);f&&this._assignDefaults(f);b&&(this._dragRef._withDropContainer(b._dropListRef),
b.addItem(this));this._syncInputs(this._dragRef);this._handleEvents(this._dragRef)};g=cX.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;Fe(function(){a._updateRootElement();a._setupHandlesListener();a.freeDragPosition&&a._dragRef.setFreeDragPosition(a.freeDragPosition)},{injector:this._injector})};g.ngOnChanges=function(a){var b=a.rootElementSelector;a=a.freeDragPosition;b&&!b.firstChange&&this._updateRootElement();a&&!a.firstChange&&this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)};
g.ngOnDestroy=function(){var a=this;this.dropContainer&&this.dropContainer.removeItem(this);var b=wvc.indexOf(this);b>-1&&wvc.splice(b,1);this._ngZone.runOutsideAngular(function(){a._handles.complete();a._destroyed.next();a._destroyed.complete();a._dragRef.dispose()})};g._addHandle=function(a){var b=this._handles.getValue();b.push(a);this._handles.next(b)};g._removeHandle=function(a){var b=this._handles.getValue();a=b.indexOf(a);a>-1&&(b.splice(a,1),this._handles.next(b))};
g._setPreviewTemplate=function(a){this._previewTemplate=a};g._resetPreviewTemplate=function(a){a===this._previewTemplate&&(this._previewTemplate=null)};g._setPlaceholderTemplate=function(a){this._placeholderTemplate=a};g._resetPlaceholderTemplate=function(a){a===this._placeholderTemplate&&(this._placeholderTemplate=null)};
g._updateRootElement=function(){var a=this.element.nativeElement,b=a;if(this.rootElementSelector){var c;b=a.closest!==void 0?a.closest(this.rootElementSelector):(c=a.parentElement)==null?void 0:c.closest(this.rootElementSelector)}kvc(this._dragRef,b||a)};g._getBoundaryElement=function(){var a=this.boundaryElement;return a?typeof a==="string"?this.element.nativeElement.closest(a):dh(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.dragStartDelay=
typeof d==="object"&&d?d:eh(d);a.constrainPosition=b.constrainPosition;a.previewClass=b.previewClass;d=ovc(a,b._getBoundaryElement());d._placeholderTemplate=e;d._previewTemplate=f;d._previewContainer=b.previewContainer||"global";c&&a.withDirection(c.value)}});a.beforeStarted.pipe(ef()).subscribe(function(){if(b._parentDrag)a._parentDragRef=b._parentDrag._dragRef;else for(var c=b.element.nativeElement.parentElement;c;){if(c.classList.contains("cdk-drag")){var d=void 0;jvc(a,((d=wvc.find(function(e){return e.element.nativeElement===
c}))==null?void 0:d._dragRef)||null);break}c=c.parentElement}})};
g._handleEvents=function(a){var b=this;a.started.subscribe(function(c){b.started.emit({source:b,event:c.event});b._changeDetectorRef.markForCheck()});a.released.subscribe(function(c){b.released.emit({source:b,event:c.event})});a.ended.subscribe(function(c){b.ended.emit({source:b,distance:c.distance,dropPoint:c.dropPoint,event:c.event});b._changeDetectorRef.markForCheck()});a.entered.subscribe(function(c){b.entered.emit({container:c.container.data,item:b,currentIndex:c.currentIndex})});a.exited.subscribe(function(c){b.exited.emit({container:c.container.data,
item:b})});a.dropped.subscribe(function(c){b.dropped.emit({previousIndex:c.previousIndex,currentIndex:c.currentIndex,previousContainer:c.previousContainer.data,container:c.container.data,isPointerOverContainer:c.isPointerOverContainer,item:b,distance:c.distance,dropPoint:c.dropPoint,event:c.event})})};
g._assignDefaults=function(a){var b=a.lockAxis,c=a.dragStartDelay,d=a.constrainPosition,e=a.previewClass,f=a.boundaryElement,h=a.draggingDisabled,k=a.rootElementSelector;a=a.previewContainer;this.disabled=h==null?!1:h;this.dragStartDelay=c||0;b&&(this.lockAxis=b);d&&(this.constrainPosition=d);e&&(this.previewClass=e);f&&(this.boundaryElement=f);k&&(this.rootElementSelector=k);a&&(this.previewContainer=a)};
g._setupHandlesListener=function(){var a=this;this._handles.pipe(sf(function(b){b=b.map(function(c){return c.element});a._selfHandle&&a.rootElementSelector&&b.push(a.element);nvc(a._dragRef,b)}),pf(function(b){return W.merge.apply(null,r(b.map(function(c){return c._stateChanges.pipe(of(c))})))}),qf(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),Up(d,!0)):c._disabledHandles.has(d)&&
(c._disabledHandles.delete(d),Up(d,c.disabled))})};ea.Object.defineProperties(cX.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled||this.dropContainer&&this.dropContainer.disabled},set:function(a){this._disabled=a;this._dragRef.disabled=this._disabled}}});var wvc=[];cX.\u0275fac=function(a){return new (a||cX)(A(Rd),A(vvc,12),A(gh),A(ze),A(dg),A(Tuc,8),A(Uw,8),A(bX),A(Ig),A(Vuc,10),A(Uuc,12))};
cX.\u0275dir=fd({type:cX,selectors:[["","cdkDrag",""]],hostAttrs:[1,"cdk-drag"],hostVars:4,hostBindings:function(a,b){a&2&&Kf("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",Gg],constrainPosition:[0,"cdkDragConstrainPosition","constrainPosition"],previewClass:[0,"cdkDragPreviewClass","previewClass"],previewContainer:[0,"cdkDragPreviewContainer","previewContainer"]},outputs:{started:"cdkDragStarted",released:"cdkDragReleased",ended:"cdkDragEnded",entered:"cdkDragEntered",exited:"cdkDragExited",dropped:"cdkDragDropped",moved:"cdkDragMoved"},exportAs:["cdkDrag"],standalone:!0,features:[qg([{provide:Uuc,useExisting:cX}]),
Af,td]});var xvc=new md("CdkDropListGroup");var yvc=0,dX=function(a,b,c,d,e,f,h){var k=this;this.element=a;this._changeDetectorRef=c;this._scrollDispatcher=d;this._dir=e;this._group=f;this._destroyed=new W.Subject;this.connectedTo=[];this.id="cdk-drop-list-"+yvc++;this.enterPredicate=function(){return!0};this.sortPredicate=function(){return!0};this.dropped=new Xu;this.entered=new Xu;this.exited=new Xu;this.sorted=new Xu;this._unsortedItems=new Set;this._dropListRef=new svc(a,b._dragDropRegistry,b._document,b._ngZone,b._viewportRuler);this._dropListRef.data=
this;h&&this._assignDefaults(h);this._dropListRef.enterPredicate=function(q,t){return k.enterPredicate(q.data,t.data)};this._dropListRef.sortPredicate=function(q,t,w){return k.sortPredicate(q,t.data,w.data)};this._setupInputSyncSubscription(this._dropListRef);this._handleEvents(this._dropListRef);zvc.push(this);f&&f._items.add(this)};dX.prototype.addItem=function(a){this._unsortedItems.add(a);this._dropListRef.isDragging()&&this._syncItemsWithRef()};
dX.prototype.removeItem=function(a){this._unsortedItems.delete(a);this._dropListRef.isDragging()&&this._syncItemsWithRef()};var Avc=function(a){return Array.from(a._unsortedItems).sort(function(b,c){return mvc(b._dragRef).compareDocumentPosition(mvc(c._dragRef))&Node.DOCUMENT_POSITION_FOLLOWING?-1:1})};g=dX.prototype;
g.ngOnDestroy=function(){var a=zvc.indexOf(this);a>-1&&zvc.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(of(this._dir.value),qf(this._destroyed)).subscribe(function(c){return a.withDirection(c)});a.beforeStarted.subscribe(function(){var c=ah(b.connectedTo).map(function(e){return typeof e==="string"?zvc.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=EWb(b._scrollDispatcher,b.element).map(function(e){return e.elementRef.nativeElement});
rvc(b._dropListRef,d);b._scrollableParentsResolved=!0}a.disabled=b.disabled;a.lockAxis=b.lockAxis;a.sortingDisabled=b.sortingDisabled;a.autoScrollDisabled=b.autoScrollDisabled;a.autoScrollStep=eh(b.autoScrollStep,2);tvc(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()});(0,W.merge)(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(Avc(this).map(function(a){return a._dragRef}))};
ea.Object.defineProperties(dX.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 zvc=[];dX.\u0275fac=function(a){return new (a||dX)(A(Rd),A(bX),A(Ig),A(ex),A(Uw,8),A(xvc,12),A(Tuc,8))};
dX.\u0275dir=fd({type:dX,selectors:[["","cdkDropList",""],["cdk-drop-list"]],hostAttrs:[1,"cdk-drop-list"],hostVars:7,hostBindings:function(a,b){a&2&&(Bf("id",b.id),Kf("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",Gg],sortingDisabled:[2,"cdkDropListSortingDisabled","sortingDisabled",Gg],enterPredicate:[0,"cdkDropListEnterPredicate","enterPredicate"],sortPredicate:[0,"cdkDropListSortPredicate","sortPredicate"],autoScrollDisabled:[2,"cdkDropListAutoScrollDisabled","autoScrollDisabled",Gg],autoScrollStep:[0,"cdkDropListAutoScrollStep","autoScrollStep"]},outputs:{dropped:"cdkDropListDropped",entered:"cdkDropListEntered",exited:"cdkDropListExited",sorted:"cdkDropListSorted"},
exportAs:["cdkDropList"],standalone:!0,features:[qg([{provide:xvc,useValue:void 0},{provide:vvc,useExisting:dX}]),Af]});new md("CdkDragPlaceholder");new md("CdkDragPreview");var eX=function(){};eX.\u0275fac=function(a){return new (a||eX)};eX.\u0275mod=dd({type:eX});eX.\u0275inj=Ic({providers:[bX],imports:[jx]});var Bvc=["addLink"],Cvc=["showFewer"],Dvc=["showMore"],Evc=["removeButton"],Fvc=[[["",8,"title-action"]],[["",8,"value-action"]]],Gvc=function(a,b,c){return{"bv2-issue-metadata-list-field":a,"bv2-issue-metadata-field":b,"internal-only":c}},d3a=function(a,b){return{item:a,$index:b}},z3a=function(a){return{q:a}},I3a=function(a){return{"disabled-icon":a}},Hvc=[Object.assign({},$p("start","bottom"),aq("start","top"),{offsetY:8}),Object.assign({},$p("center","bottom"),aq("center","top"),{offsetY:8}),Object.assign({},
$p("end","bottom"),aq("end","top"),{offsetY:8}),Object.assign({},$p("start","top"),aq("start","bottom"),{offsetY:-8}),Object.assign({},$p("end","top"),aq("end","bottom"),{offsetY:-8})],fX=function(a,b,c,d,e,f,h){Z.call(this);var k=this;this.cdr=a;this.dateFormatter=b;this.analytics=c;this.liveAnnouncer=d;this.principalTypesFridge=e;this.issuePermissionService=f;this.OVERLAY_POSITION_LIST=Hvc;this.defaultLineCount=Number.POSITIVE_INFINITY;this.isDefaultOrAllowedValues=this.preventDuplicates=this.readonly=
!1;this.values=null;this.providedValues$=new W.ReplaySubject(1);this.showInternalOnlyFieldBadge=!1;this.userMap=new Map;this.enumChoices=null;this.sortedEnumChoices=[];this.enumPendingValues=new Set;this.isUser=this.isActive=!1;this.valuesChange=new XF;this.showingAll=this.listFieldDisabled=!1;this.tooltip=this.title="";this.truncate=!1;this.additionAllowed=!0;this.isExpanded=this.isCollapsible=!1;this.collapsiblePanelTitle=this.iconName="";this.customFieldId=0;this.inputValidator=null;this.toggleAccessLimits=
new XF;this.teamId=this.invalidMessage="";this.isString=ri;this.groups$=this.providedValues$.pipe(pf(function(q){return Ivc(k,q)}),of(new Set));this.hasAclToAdmin$=this.issuePermissionService.hasAclToAdmin$;this.enableTeamAnnotations=h.isInternalSession();this.environmentType=h.getEnvironmentType();this.enableCustomFieldSearchImprovements=h.getFlag("enableCustomFieldSearchImprovements");this.enableGerritChanges=h.getFlag("enableGerritChanges")};X(fX,Z);fX.\u0275dir=Z.\u0275dir;
fX.prototype.ngOnChanges=function(a){var b;if((b=a.users)==null?0:b.currentValue){b=l(a.users.currentValue);for(var c=b.next();!c.done;c=b.next()){c=c.value;var d=sm(c);d&&this.userMap.set(d,qi(c))}}if(a.values){var e;this.providedValues$.next((e=this.values)!=null?e:[])}a.showInternalOnlyFieldBadge&&(this.showInternalOnlyFieldBadge=a.showInternalOnlyFieldBadge.currentValue)};fX.prototype.ngOnInit=function(){k3a(this)};
var k3a=function(a){a.sortedEnumChoices=[].concat(r(a.enumChoices||[])).sort(function(b){b=b.value;var c,d=((c=a.values)==null?0:c.includes(b))?1:0,e;return(((e=a.values)==null?0:e.includes(b))?1:0)-d})},l3a=function(a){var b=a.values||[],c=[].concat(r(a.enumPendingValues)),d=c.filter(function(f){return!b.includes(f)}),e=b.filter(function(f){return!c.includes(f)});if(d.length||e.length)a.values=c,a.valuesChange.emit({values:a.values,added:d,removed:e})},Xp=function(a){return a.type==="REPEATED_ENUM"&&
a.enableCustomFieldSearchImprovements&&a.sortedEnumChoices.length>900};fX.prototype.showCodeChanges=function(a){a=!!Dm(a);return this.type==="CODE_CHANGES"&&(!a||this.enableGerritChanges)};
var b4a=function(a){return a.sortedEnumChoices.map(function(b){return b.displayText})},a4a=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});Zp(a,!0);Q3a(a)&&Yp(a,!0)};fX.prototype.isCustomField=function(){return["REPEATED_TEXT","REPEATED_DATE","REPEATED_ENUM","REPEATED_NUMERIC"].includes(this.type)};
fX.prototype.removeItem=function(a){var b=this;if(!this.listFieldDisabled){var c=this.values.splice(a,1);this.valuesChange.emit({values:this.values,removed:c})}this.schedule(function(){var d;if((d=b.values)==null?0:d.length){d=Math.min(a,b.values.length-1);var e,f,h;(e=b.removeButtons)==null||(f=e.get(d))==null||(h=f.nativeElement)==null||h.focus()}else{var k,q;(k=b.addLinkEl)==null||(q=k.nativeElement)==null||q.focus()}})};
fX.prototype.addItems=function(a){var b=[];this.values=this.values||[];if(a)if(this.type==="REPEATED_DATE"){var c=Am(a);this.preventDuplicates&&this.values.find(function(h){return pi(h,c)})||b.push(c)}else if(this.type==="REPEATED_NUMERIC"&&Jta(this.values)&&Jta(b))a=Number(a),this.preventDuplicates&&this.values.includes(a)||b.push(a);else if(si(this.values)&&si(b))if(this.isCustomField())this.preventDuplicates&&this.values.includes(a)||b.push(a);else if(!this.isCustomField()){a=l(a.split(/[,; ]/));
for(var d=a.next();!d.done;d=a.next()){var e=d=d.value;if(this.type==="CODE_CHANGES"){var f=!!Dm(d);this.enableGerritChanges&&f?e=d:e=oHa(d)}e&&!this.values.includes(e)&&b.push(e)}}this.isDefaultOrAllowedValues&&this.type!=="REPEATED_DATE"||Zp(this,!0);b.length!==0&&(this.values=[].concat(r(this.values),r(b)),this.valuesChange.emit({values:this.values,added:b}))};fX.prototype.onDrop=function(a){Wp(this.values,a.previousIndex,a.currentIndex);this.valuesChange.emit({values:this.values})};
var Zp=function(a,b){var c,d=l((c=a.menuTriggers)!=null?c:[]);for(c=d.next();!c.done;c=d.next())c.value.closeMenu();var e;d=l((e=a.popupTriggers)!=null?e:[]);for(e=d.next();!e.done;e=d.next())e=e.value,e.disabled||(e.disabled=!0,e.disabled=!1);b&&a.addLinkEl&&a.addLinkEl.nativeElement.focus()},Yp=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()})},Q3a=function(a){return!!a.values&&a.values.length>a.defaultLineCount+1},f3a=function(a){return a.values&&a.type==="REPEATED_DATE"?a.values.map(function(b){return a.dateFormatter.formatUserCalendar(zm(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 ri(b)?b:Ita(b)?""+b:a.dateFormatter.formatUserCalendar(zm(b))})},Y3a=function(a,b,c){var d,e,
f;return fe(function(h){if(h.nextAddress==1)return a.inputValidator?he(h,a.inputValidator(b.value.input),3):h.jumpTo(2);h.nextAddress!=2&&(a.invalidMessage=h.yieldResult,a.cdr.detectChanges());if(!b.valid||a.invalidMessage)return h.return();d=b.value.input;(e=b)==null||e.reset();(f=c.querySelector("input"))==null||f.focus();a.addItems(d);le(h)})};g=fX.prototype;g.trackClick=function(a){this.analytics.trackEvent("linkField","click",a)};g.getUser=function(a){return this.userMap.get(a)};g.schedule=function(a){this.subscriptions.add(W.asyncScheduler.schedule(a))};
g.trackByIndex=function(a){return a};g.getAriaLabel=function(){if(!this.values||this.values.length===0)return this.title+" is empty";var a=this.title+" has "+this.values.length+" ";switch(this.type){case "USERCHIP":a+="user";break;case "REPEATED_DATE":a+="date";break;default:a+="item"}this.values.length>1&&(a+="s");return a};
var S3a=function(a,b){return b.displayText+", "+(a.enumPendingValues.has(b.value)?"selected":"not selected")},Ivc=function(a,b){if(!a.isUser)return(0,W.of)(new Set([]));var c=function(d){return d.principalType==="GROUP"};return a.principalTypesFridge.watchSet(b).pipe(y(function(d){return new Set(d.filter(c).map(function(e){return e.email}))}))};fX.\u0275fac=function(a){return new (a||fX)(A(YF,2),A(KI),A(bG),A(vw),A(SG),A(sJ),A(Ir))};
fX.\u0275cmp=p({type:fX,selectors:[["b-list-field"]],viewQuery:function(a,b){a&1&&(fg(Bvc,5),fg(Cvc,5),fg(Dvc,5),fg(Evc,5),fg(UL,5),fg(wU,5));if(a&2){var c;jg(c=kg())&&(b.addLinkEl=c.first);jg(c=kg())&&(b.showFewer=c.first);jg(c=kg())&&(b.showMore=c.first);jg(c=kg())&&(b.removeButtons=c);jg(c=kg())&&(b.menuTriggers=c);jg(c=kg())&&(b.popupTriggers=c)}},inputs:{defaultLineCount:"defaultLineCount",readonly:"readonly",preventDuplicates:"preventDuplicates",isDefaultOrAllowedValues:"isDefaultOrAllowedValues",
values:"values",users:"users",showInternalOnlyFieldBadge:"showInternalOnlyFieldBadge",displayValuesOverride:"displayValuesOverride",enumChoices:"enumChoices",isUser:"isUser",listFieldDisabled:"listFieldDisabled",showingAll:"showingAll",title:"title",type:"type",tooltip:"tooltip",truncate:"truncate",additionAllowed:"additionAllowed",isCollapsible:"isCollapsible",isExpanded:"isExpanded",iconName:"iconName",collapsiblePanelTitle:"collapsiblePanelTitle",customFieldId:"customFieldId",inputValidator:"inputValidator",
teamId:"teamId"},outputs:{valuesChange:"valuesChange",toggleAccessLimits:"toggleAccessLimits"},features:[qg([YF]),zf,td],ngContentSelectors:[".title-action",".value-action"],decls:26,vars:28,consts:[["addLink",""],["itemRenderer",""],["metadataTools",""],["enumPopup","matMenu"],["textPopup",""],["datePopup",""],["customFieldPopup",""],["checkIfWorkspaces",""],["checkIfTeam",""],["checkIfPostMortems",""],["checkIfRepeatedEnum",""],["default",""],["removeIcon",""],["removeButton",""],["showFewer",""],
["showMore",""],["textPopupForm","ngForm","formEl",""],[3,"ngClass"],["tabindex","0",1,"bv2-issue-metadata-field-inner",3,"matTooltip","matTooltipPosition","matTooltipDisabled"],[1,"bv2-editable-title",3,"matTooltip","matTooltipPosition","matTooltipDisabled"],[4,"ngIf"],["svgIcon","shield_person_24px","class","icon-xs internal-only-badge","matTooltip","Visible to internal only","aria-label","Visible to internal only",4,"ngIf"],["cdkDropList","",1,"list-field-content",3,"cdkDropListDropped","cdkDropListDisabled"],
[3,"isExpanded","iconName","hasCompactTitleBar","title",4,"ngIf"],[1,"bv2-field-user-action-footer"],[3,"ngSwitch",4,"ngIf"],["matMenuContent",""],["svgIcon","shield_person_24px","matTooltip","Visible to internal only","aria-label","Visible to internal only",1,"icon-xs","internal-only-badge"],[3,"isExpanded","iconName","hasCompactTitleBar","title"],["cdkDrag","",4,"ngFor","ngForOf","ngForTrackBy"],[3,"ngTemplateOutlet"],["cdkDrag",""],[3,"ngTemplateOutletContext","ngTemplateOutlet"],[3,"ngSwitch"],
[4,"ngSwitchCase"],["mat-button","","dialogLabel","Add a new item to the list","class","mat-primary bv2-metadata-tool bv2-metadata-link tiny","matTooltip","Add a new item to the list","tabindex","0",3,"xapInlineDialogClick","overlayPositions",4,"ngSwitchCase"],["mat-button","","panelClass","bv2-add-item-bubble","class","mat-primary bv2-metadata-tool bv2-metadata-link tiny","tabindex","0",3,"xapInlineDialogClick","dialogLabel","overlayPositions","matTooltip","beforeOpened",4,"ngSwitchDefault"],["mat-button",
"","aria-haspopup","true","class","mat-primary bv2-metadata-tool bv2-metadata-link tiny","matTooltip","Select items in the list","tabindex","0",3,"matMenuTriggerFor","menuOpened","menuClosed",4,"ngIf"],["mat-button","","dialogLabel","Select items in the list","panelClass","bv2-add-item-bubble","class","mat-primary bv2-metadata-tool bv2-metadata-link tiny","matTooltip","Select items in the list","tabindex","0",3,"xapInlineDialogClick","overlayPositions",4,"ngIf"],["mat-button","","aria-haspopup","true",
"matTooltip","Select items in the list","tabindex","0",1,"mat-primary","bv2-metadata-tool","bv2-metadata-link","tiny",3,"menuOpened","menuClosed","matMenuTriggerFor"],["mat-button","","dialogLabel","Select items in the list","panelClass","bv2-add-item-bubble","matTooltip","Select items in the list","tabindex","0",1,"mat-primary","bv2-metadata-tool","bv2-metadata-link","tiny",3,"xapInlineDialogClick","overlayPositions"],["mat-button","","dialogLabel","Add a new item to the list","matTooltip","Add a new item to the list",
"tabindex","0",1,"mat-primary","bv2-metadata-tool","bv2-metadata-link","tiny",3,"xapInlineDialogClick","overlayPositions"],["mat-button","","panelClass","bv2-add-item-bubble","tabindex","0",1,"mat-primary","bv2-metadata-tool","bv2-metadata-link","tiny",3,"beforeOpened","xapInlineDialogClick","dialogLabel","overlayPositions","matTooltip"],["class","flex-kids-x flex-cross-axis-centered flex-wrappable",4,"ngIf"],[1,"flex-kids-x","flex-cross-axis-centered","flex-wrappable"],[1,"bv2-issue-metadata-list-item"],
[4,"ngIf","ngIfElse"],["class","unstyled keep-focus-ring","aria-label","Open issue access dialog.",3,"disabled","click",4,"ngIf","ngIfElse"],[1,"float-clear"],[3,"codeChange"],["target","_blank",1,"bv2-metadata-link",3,"href"],[3,"teamId","componentId"],["target","_blank",1,"bv2-metadata-link",3,"click","href"],["class","overflow-ellipsis",3,"matTooltip",4,"ngIf","ngIfElse"],[1,"overflow-ellipsis",3,"matTooltip"],["routerLink","/issues",1,"subtle-link",3,"click","queryParams"],["class","list-field-user-container",
4,"ngIf"],[3,"maxWidth","modelValue","disabled"],[1,"list-field-user-container"],[3,"user","email","teamId","enableSmallChip","enableGroupIcon",4,"ngIf"],["name","group_24px","class","group-icon","size","small",4,"ngIf"],[3,"email",4,"ngIf"],[3,"user","email","teamId","enableSmallChip","enableGroupIcon"],["name","group_24px","size","small",1,"group-icon"],[3,"email"],["aria-label","Open issue access dialog.",1,"unstyled","keep-focus-ring",3,"click","disabled"],["size","small","name","edit_24px",1,
"issue-metadata-field-edit-icon",3,"ngClass"],["class","bv2-remove-icon bv2-remove-item keep-focus-ring",3,"disabled","matTooltip","click",4,"ngIf"],[1,"bv2-remove-icon","bv2-remove-item","keep-focus-ring",3,"click","disabled","matTooltip"],["class","bv2-metadata-tool bv2-metadata-link","tabindex","0","role","button",3,"matTooltip","click","keydown.enter","keydown.space",4,"ngIf"],["tabindex","0","role","button",1,"bv2-metadata-tool","bv2-metadata-link",3,"click","keydown.enter","keydown.space","matTooltip"],
[1,"bv2-metadata-tool"],["tabindex","0","role","button",1,"bv2-metadata-link",3,"click","keydown.enter","keydown.space","matTooltip"],["mat-menu-item","","type","button","role","menuitemcheckbox",3,"disabled","b-menu-item-checked","click",4,"ngFor","ngForOf","ngForTrackBy"],["mat-menu-item","","type","button","role","menuitemcheckbox",3,"click","disabled"],[1,"b-menu-item-check-mark"],["svgIcon","done",1,"icon-s"],[3,"ngSubmit"],["type","text","name","input","ngModel","","required","","aria-expanded",
"true","autofocus","",3,"bContactAutocomplete",4,"ngIf"],["name","input","ngModel","","required","","step","any","aria-expanded","true","autofocus","",3,"type",4,"ngIf"],[1,"bv2-list-field-addition-dialog-buttons"],["mat-flat-button","","type","submit",1,"medium","field-popup-button",3,"disabled"],["svgIcon","done"],["mat-stroked-button","","type","button",1,"medium","field-popup-button",3,"click"],["svgIcon","close"],["type","text","name","input","ngModel","","required","","aria-expanded","true",
"autofocus","",3,"bContactAutocomplete"],["name","input","ngModel","","required","","step","any","aria-expanded","true","autofocus","",3,"type"],[3,"dateChange","cancelClicked","required","renderPanel"],[3,"onApplyChanges","onCancelChanges","allowMultiSelect","customFieldTitle","allowedValues","selectedValues"]],template:function(a,b){if(a&1){var c=u();Xf(Fvc);F(0,"div",17)(1,"div",18)(2,"div",19);C(3,b3a,2,1,"label",20)(4,c3a,1,0,"mat-icon",21);Yf(5);G();F(6,"div",22);M("cdkDropListDropped",function(d){v(c);
return x(b.onDrop(d))});C(7,g3a,3,7,"collapsible-panel",23)(8,j3a,4,4,"ng-container",20);F(9,"div",24,0);C(11,r3a,4,3,"ng-container",25);Yf(12,1);G()()();C(13,N3a,1,1,"ng-template",null,1,yg)(15,R3a,2,2,"ng-template",null,2,yg);F(17,"mat-menu",null,3);C(19,U3a,1,2,"ng-template",26);G();C(20,Z3a,13,8,"ng-template",null,4,yg)(22,$3a,1,2,"ng-template",null,5,yg)(24,c4a,3,4,"ng-template",null,6,yg);G()}a&2&&(Kf("empty-list-field-indication",!(b.values==null?0:b.values.length))("active",b.isActive&&!b.listFieldDisabled&&
!b.readonly),D("ngClass",wg(24,Gvc,!b.showInternalOnlyFieldBadge,!b.showInternalOnlyFieldBadge,b.showInternalOnlyFieldBadge)),z(),Kf("bv2-disabled",b.listFieldDisabled)("bv2-readonly",b.readonly),D("matTooltip",b.tooltip)("matTooltipPosition","left")("matTooltipDisabled",Xp(b)),Bf("aria-label",b.getAriaLabel()),z(),D("matTooltip",b.tooltip)("matTooltipPosition","left")("matTooltipDisabled",!Xp(b)),z(),D("ngIf",b.title),z(),D("ngIf",b.showInternalOnlyFieldBadge),z(2),Kf("draggable",(b.values==null?
null:b.values.length)&&b.isDefaultOrAllowedValues),D("cdkDropListDisabled",!b.isDefaultOrAllowedValues),z(),D("ngIf",b.isCollapsible),z(),D("ngIf",!b.isCollapsible),z(3),D("ngIf",!b.readonly&&b.additionAllowed))},dependencies:[Ev,Fv,Gv,Kv,Hv,Iv,Jv,zB,rB,hN,Oy,AV,zy,mh,qy,ry,Iy,yy,wy,IH,Rx,LH,OH,oL,NW,iN,dX,cX,tU,sU,wU,QL,TL,RL,SL,UL,rP,XW,zQ,VW,TW,Lv],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 Jvc={USERCHIP:"USERCHIP",CODE_CHANGES:"CODE_CHANGES",POSTMORTEMS:"POSTMORTEMS",REPEATED_TEXT:"REPEATED_TEXT",REPEATED_DATE:"REPEATED_DATE",REPEATED_ENUM:"REPEATED_ENUM",REPEATED_NUMERIC:"REPEATED_NUMERIC",TEAM:"TEAM",WORKSPACES:"WORKSPACES"},gX=function(){};gX.\u0275fac=function(a){return new (a||gX)};gX.\u0275mod=dd({type:gX});gX.\u0275inj=Ic({imports:[BB,jN,TV,lN,QV,My,dJ,aM,OL,tS,OW,kN,eX,IU,KU,ZL,sP,YW,KU,uS,WW,UW]});var f4a=function(){return[]},hX=function(){this.disabled=this.readonly=!1;this.save=new XF},Kvc=function(a){return a.issue.customFieldMap[a.field.customFieldId]};hX.prototype.getDisplayValue=function(){var a,b,c=(b=(a=Kvc(this).displayValues)==null?void 0:a[0])!=null?b:null;c==="0.0"&&(c="0");return c};hX.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 e4a=function(a){return(a=Bm(Kvc(a)))&&a.values===void 0?a:null},h4a=function(a){return(a=Bm(Kvc(a)))&&a.values!==void 0?a.values:null};ea.Object.defineProperties(hX.prototype,{isShared:{configurable:!0,enumerable:!0,get:function(){return this.field.shared}}});hX.\u0275fac=function(a){return new (a||hX)};
hX.\u0275cmp=p({type:hX,selectors:[["b-custom-field-editor"]],viewQuery:function(a,b){a&1&&fg(PW,5);if(a&2){var c;jg(c=kg())&&(b.editField=c.first)}},hostVars:2,hostBindings:function(a,b){a&2&&Kf("is-shared-field",b.isShared)},inputs:{issue:"issue",field:"field",readonly:"readonly",disabled:"disabled"},outputs:{save:"save"},decls:1,vars:1,consts:[[4,"ngIf"],[3,"readonly","name","title","type","tooltip","clearable","value","displayValueOverride","choices","showEnumTitle","disabled","customFieldId",
"valueChange",4,"ngIf"],[3,"readonly","defaultLineCount","title","type","customFieldId","tooltip","values","displayValuesOverride","enumChoices","listFieldDisabled","valuesChange",4,"ngIf"],[3,"valueChange","readonly","name","title","type","tooltip","clearable","value","displayValueOverride","choices","showEnumTitle","disabled","customFieldId"],[3,"valuesChange","readonly","defaultLineCount","title","type","customFieldId","tooltip","values","displayValuesOverride","enumChoices","listFieldDisabled"]],
template:function(a,b){a&1&&C(0,j4a,3,2,"ng-container",0);a&2&&D("ngIf",Kvc(b))},dependencies:[Gv,fX,PW],encapsulation:2});var iX=function(){};iX.\u0275fac=function(a){return new (a||iX)};iX.\u0275mod=dd({type:iX});iX.\u0275inj=Ic({imports:[BB,gX,QW]});var jX=function(){this.customFields=this.selectedComponent=null;this.fieldSelected=new XF;this.filter=function(){return!0}};jX.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};jX.\u0275fac=function(a){return new (a||jX)};
jX.\u0275cmp=p({type:jX,selectors:[["b-custom-field-picker"]],inputs:{filter:"filter"},outputs:{fieldSelected:"fieldSelected"},decls:5,vars:4,consts:[[1,"bv2-custom-field-picker"],[1,"bv2-custom-field-picker-message"],[3,"selectedComponentChange","selectedComponent","placeholder","isRequired"],["class","bv2-custom-field-picker-select-box",4,"ngIf"],[1,"bv2-custom-field-picker-select-box"],[4,"ngIf"],["appearance","outline"],[1,"mat-select","bv2-custom-field-picker-select",3,"selectionChange"],[3,
"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(a,b){a&1&&(F(0,"div",0)(1,"div",1),R(2," First, select a component that contains the custom field. "),G(),F(3,"b-team-component-picker",2),M("selectedComponentChange",function(c){return b.onComponentSelect(c!==null&&c!==void 0?c:null)}),G(),C(4,o4a,4,3,"div",3),G());a&2&&(z(3),D("selectedComponent",b.selectedComponent)("placeholder","Choose Component")("isRequired",!0),z(),D("ngIf",b.selectedComponent))},dependencies:[Fv,Gv,mM,Wy,Qy,nM,Kx,
kM,bV],encapsulation:2});var kX=function(){};kX.\u0275fac=function(a){return new (a||kX)};kX.\u0275mod=dd({type:kX});kX.\u0275inj=Ic({imports:[BB,qM,fV]});var Lvc=function(a){return{value:a}},lX=function(){this.isNonemptyJsonDateValue=Pza};lX.prototype.toDate=function(a){return zm(a)};lX.\u0275fac=function(a){return new (a||lX)};
lX.\u0275cmp=p({type:lX,selectors:[["b-custom-field-value-display"]],inputs:{customFieldValue:"customFieldValue"},decls:6,vars:4,consts:[["null",""],["nonNull",""],[1,"bv2-custom-field-value-display"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[4,"ngIf"],["mode","date",3,"date"],[4,"ngFor","ngForOf"]],template:function(a,b){a&1&&(F(0,"span",2),C(1,p4a,1,0,"ng-container",3),G(),C(2,q4a,0,0,"ng-template",null,0,yg)(4,D4a,8,8,"ng-template",null,1,yg));a&2&&(a=Q(5),z(),D("ngTemplateOutlet",b.customFieldValue==
null?null:a)("ngTemplateOutletContext",ug(2,Lvc,b.customFieldValue)))},dependencies:[Fv,Gv,Kv,TM],encapsulation:2});var mX=function(){};mX.\u0275fac=function(a){return new (a||mX)};mX.\u0275mod=dd({type:mX});mX.\u0275inj=Ic({imports:[BB,UM]});var nX=function(a,b,c,d){this.documentationLinks=a;this.userAccess=b;this.errorHandler=c;this.data=d;this.issuesToFlag=[];this.issuesChecked=0;this.protectedIssues=[];this.permissionsCheckComplete=!1;this.issuesToFlag=d.issuesToFlag};nX.prototype.ngOnInit=function(){Mvc(this,this.issuesToFlag)};
var Mvc=function(a,b){b.length<=0?a.permissionsCheckComplete=!0:oD(a.userAccess,"admin","components/"+b[0].componentId).then(function(c){a.issuesChecked++;c||a.protectedIssues.push(b[0]);Mvc(a,b.slice(1))},function(c){a.errorHandler.errorHandler(null,c)})};nX.\u0275fac=function(a){return new (a||nX)(A(oI),A(mD),A(uE),A(vI))};
nX.\u0275cmp=p({type:nX,selectors:[["b-bulk-flag-as-spam-dialog"]],decls:19,vars:6,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[1,"bv2-bulk-flag-as-spam-prompt"],["target","_blank",1,"keep-underline",3,"href"],[1,"bv2-bulk-flag-as-spam-warning"],[4,"ngIf"],["mat-dialog-actions",""],["mat-button","","mat-dialog-close","",1,"medium"],["mat-flat-button","","cdkFocusInitial","",1,"dialog-primary-action",3,"disabled","mat-dialog-close"],[4,"ngFor","ngForOf"]],template:function(a,b){a&1&&
(F(0,"h1",0),R(1,"Flag Issues as Spam"),G(),F(2,"div",1)(3,"div",2)(4,"p"),R(5),F(6,"a",3),R(7,"see here"),G(),R(8,". "),G(),F(9,"p"),R(10," This operation cannot be undone in bulk. "),G()(),F(11,"div",4),C(12,H4a,3,2,"div",5)(13,J4a,5,2,"div",5),G()(),F(14,"div",6)(15,"button",7),R(16," Close "),G(),F(17,"button",8),R(18," Flag as Spam "),G()());a&2&&(z(5),S(" 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, "),
z(),D("href",P$b(b.documentationLinks),Qe),z(6),D("ngIf",!b.permissionsCheckComplete),z(),D("ngIf",b.permissionsCheckComplete&&b.protectedIssues.length>0),z(4),D("disabled",!b.permissionsCheckComplete)("mat-dialog-close",!0))},dependencies:[Fv,Gv,IH,Rx,xI,zI,BI,AI],encapsulation:2});var oX=function(a,b){this.cdr=a;this.dialogRef=b;this.component=null};oX.prototype.updateComponent=function(a){this.component=a;this.cdr.detectChanges()};oX.prototype.save=function(){this.dialogRef.close(this.component)};oX.prototype.cancel=function(){this.dialogRef.close()};oX.\u0275fac=function(a){return new (a||oX)(A(YF,2),A(pI))};
oX.\u0275cmp=p({type:oX,selectors:[["b-bulk-move-dialog"]],features:[qg([YF])],decls:13,vars:4,consts:[["mat-dialog-title",""],[1,"bv2-bulk-move-warning"],[3,"selectedComponentChange","selectedComponent","placeholder","isRequired"],["mat-button","",3,"click"],["mat-flat-button","",3,"click","disabled"]],template:function(a,b){a&1&&(F(0,"h1",0),R(1,"Change Component"),G(),F(2,"mat-dialog-content")(3,"p"),R(4,"Choose new component for these issues."),G(),F(5,"p",1),R(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. "),
G(),F(7,"b-team-component-picker",2),M("selectedComponentChange",function(c){return b.updateComponent(c!==null&&c!==void 0?c:null)}),G()(),F(8,"mat-dialog-actions")(9,"button",3),M("click",function(){return b.cancel()}),R(10," Cancel "),G(),F(11,"button",4),M("click",function(){return b.save()}),R(12," Save "),G()());a&2&&(z(7),D("selectedComponent",b.component)("placeholder","Choose Component")("isRequired",!0),z(4),D("disabled",b.component==null))},dependencies:[IH,Rx,zI,BI,AI,bV],styles:[".bv2-bulk-move-warning[_ngcontent-%COMP%]{font-weight:bold}mat-dialog-content[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{color:var(--text)}"]});var pX=function(){this.renderPanel=!0;this.sloEditCommit=new XF;this.closePicker=new XF};pX.prototype.ngOnChanges=function(a){if(a.sloEditTime){var b;if(a=this.sloEditTime){var c=new Hm;c.setTime(a.seconds*1E3);a=c}else a=null;this.currentPickerDate=(b=a)!=null?b:void 0}};pX.prototype.setDate=function(a){this.currentPickerDate=a};pX.\u0275fac=function(a){return new (a||pX)};
pX.\u0275cmp=p({type:pX,selectors:[["slo-edit-date-time-picker"]],inputs:{sloEditTime:"sloEditTime",sloStatus:"sloStatus",renderPanel:"renderPanel"},outputs:{sloEditCommit:"sloEditCommit",closePicker:"closePicker"},features:[qg([YF]),td],decls:2,vars:2,consts:[[3,"clickOutside"],[3,"dateSelectionChange","saveClicked","cancelClicked","renderPanel","date"]],template:function(a,b){a&1&&(F(0,"div",0),M("clickOutside",function(){b.closePicker.emit()}),F(1,"b-date-time-picker-content",1),M("dateSelectionChange",
function(c){return b.setDate(c)})("saveClicked",function(){var c=b.sloEditCommit,d=c.emit;var e=(e=b.currentPickerDate)?{seconds:e.getTime()/1E3,nanos:0}:null;d.call(c,{date:e!=null?e:null});b.closePicker.emit()})("cancelClicked",function(){b.closePicker.emit()}),G()());a&2&&(z(),D("renderPanel",b.renderPanel)("date",b.currentPickerDate))},dependencies:[CH,AV],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 qX=function(a,b){this.data=a;this.dialogRef=b;this.commitEvent=void 0;this.fieldDisplayName=a.fieldDisplayName};qX.prototype.close=function(){this.dialogRef.close(this.commitEvent)};qX.\u0275fac=function(a){return new (a||qX)(A(vI),A(pI))};
qX.\u0275cmp=p({type:qX,selectors:[["b-edit-calendar-modal"]],decls:3,vars:2,consts:[["mat-dialog-title",""],["mat-dialog-content","",3,"sloEditCommit","closePicker","renderPanel"]],template:function(a,b){a&1&&(F(0,"h1",0),R(1),G(),F(2,"slo-edit-date-time-picker",1),M("sloEditCommit",function(c){b.commitEvent=c})("closePicker",function(){return b.close()}),G());a&2&&(z(),S("Edit ",b.fieldDisplayName,""),z(),D("renderPanel",!1))},dependencies:[zI,AI,pX],encapsulation:2});var rX=function(a,b){this.data=a;this.dialogRef=b;this.fieldDisplayName=this.data.fieldDisplayName;this.effortSpec=this.data.effortSpec;this.numericEstimatedEffort="";this.effortSpecName=this.effortSpec.name;this.currentEnumLabel="";this.enumSpec=this.effortSpec.enumSpec;var c,d;this.enumOptions=(d=(c=this.enumSpec)==null?void 0:c.options)!=null?d:[];this.isEnumSpec=!!this.enumSpec;var e;this.allowedLabels=((e=this.enumOptions)!=null?e:[]).map(function(f){return f.label})};
rX.prototype.enableSubmit=function(){return this.isEnumSpec&&this.currentEnumLabel!==""||!this.isEnumSpec};rX.prototype.cancel=function(){this.dialogRef.close(void 0)};rX.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)};rX.\u0275fac=function(a){return new (a||rX)(A(vI),A(pI))};
rX.\u0275cmp=p({type:rX,selectors:[["b-edit-estimated-effort-modal"]],decls:9,vars:4,consts:[["mat-dialog-title",""],[4,"ngIf"],["class","bv2-top-field-label",4,"ngIf"],["mat-button","",3,"click"],["mat-flat-button","",3,"click","disabled"],["matInput","",3,"ngModelChange","keypress","ngModel"],[1,"bv2-top-field-label"],[3,"valueChange","value","includeEmptyOption","options"]],template:function(a,b){a&1&&(F(0,"h1",0),R(1),G(),C(2,K4a,5,2,"mat-dialog-content",1)(3,L4a,4,4,"div",2),F(4,"mat-dialog-actions")(5,
"button",3),M("click",function(){return b.cancel()}),R(6," Cancel "),G(),F(7,"button",4),M("click",function(){return b.save()}),R(8," Save "),G()());a&2&&(z(),S("Edit ",b.fieldDisplayName,""),z(),D("ngIf",!b.isEnumSpec),z(),D("ngIf",b.isEnumSpec),z(4),D("disabled",!b.enableSubmit()))},dependencies:[Gv,mh,qy,yy,IH,Rx,zI,BI,AI,SV,cz,Wy,Qy,kM,JV],encapsulation:2});var sX=function(a,b){this.data=a;this.dialogRef=b;this.fieldDisplayName=this.removeItems=this.addItems="";this.fieldDisplayName=a.fieldDisplayName};sX.prototype.save=function(){this.dialogRef.close({addItems:this.addItems,removeItems:this.removeItems})};sX.prototype.close=function(){this.dialogRef.close()};sX.\u0275fac=function(a){return new (a||sX)(A(vI),A(pI))};
sX.\u0275cmp=p({type:sX,selectors:[["b-edit-item-modal"]],decls:20,vars:6,consts:[["mat-dialog-title",""],[1,"bv2-modal-form"],["appearance","outline","subscriptSizing","dynamic"],["matInput","","type","text",3,"ngModelChange","ngModel"],["mat-button","",1,"gmat-button",3,"click"],["mat-flat-button","",1,"gmat-button",3,"click"]],template:function(a,b){a&1&&(F(0,"h1",0),R(1),G(),F(2,"mat-dialog-content")(3,"p"),R(4),G(),F(5,"div",1)(6,"mat-form-field",2)(7,"mat-label"),R(8),G(),F(9,"input",3),pg("ngModelChange",
function(c){og(b.addItems,c)||(b.addItems=c);return c}),G()(),H(10,"br"),F(11,"mat-form-field",2)(12,"mat-label"),R(13),G(),F(14,"input",3),pg("ngModelChange",function(c){og(b.removeItems,c)||(b.removeItems=c);return c}),G()()()(),F(15,"mat-dialog-actions")(16,"button",4),M("click",function(){return b.close()}),R(17," Cancel "),G(),F(18,"button",5),M("click",function(){return b.save()}),R(19," Save "),G()());a&2&&(z(),S("Edit ",b.fieldDisplayName,""),z(3),S("Enter ",b.fieldDisplayName," to add or remove"),
z(4),S(" ",b.fieldDisplayName," to Add "),z(),ng("ngModel",b.addItems),z(4),S(" ",b.fieldDisplayName," to Remove "),z(),ng("ngModel",b.removeItems))},dependencies:[mh,qy,yy,oE,SV,cz,Wy,Qy,kM,zI,BI,AI],styles:["mat-form-field[_ngcontent-%COMP%]{margin-top:8px}"]});var Nvc=["hotlistFilterInput"],Ovc=["hotlistCreate"],Pvc=["hotlistApply"],Qvc=["hotlistLoad"],Rvc=["menuitem"],tX=function(a,b,c,d,e,f){Z.call(this);this.liveAnnouncer=a;this.butterBar=b;this.userAccess=c;this.analytics=d;this.activeSession=e;this.cdr=f;this.selectedHotlistIds=[[]];this.choices=[];this.checkEditAcl=!0;this.onCreate=new XF;this.onApply=new XF;this.onLoad=new XF;this.hotlistEditAcls={};this.validHotlistIds=new Set;this.pendingChanges=this.canLoad=this.canCreate=!1;this.oldSelectedHotlistMap=
{};this.selectedHotlistMap={};this.shouldShowHotlist={};this.filterText="";this.focusedRowIndex=-1;this.isAnonymous=this.activeSession.isAnonymous()};X(tX,Z);tX.\u0275dir=Z.\u0275dir;tX.prototype.ngAfterViewInit=function(){var a=this,b;(b=this.trigger)==null||b.menuOpened.pipe(qf(this.destroyed$)).subscribe(function(){(0,W.timer)(0).pipe(qf(a.destroyed$)).subscribe(function(){a.focusFilterBox()})});var c;(c=this.trigger)==null||c.menuClosed.pipe(qf(this.destroyed$)).subscribe(function(){Svc(a)})};
tX.prototype.focusFilterBox=function(){this.filterElement.nativeElement.focus()};tX.prototype.ngOnChanges=function(){Tvc(this);this.oldSelectedHotlistMap=Object.assign({},this.selectedHotlistMap);this.pendingChanges=this.canCreate=!1;Uvc(this)};
var Tvc=function(a){var b={};cea(a.selectedHotlistMap);if(a.choices){a.validHotlistIds.clear();for(var c=l(a.choices),d=c.next();!d.done;d=c.next())d=d.value,b[d.hotlistId]=0,a.validHotlistIds.add(d.hotlistId);if(a.selectedHotlistIds){c=a.selectedHotlistIds.length;d=l(a.selectedHotlistIds);for(var e=d.next();!e.done;e=d.next())if(e=e.value){e=l(e);for(var f=e.next();!f.done;f=e.next())b[f.value]++}d=l(Object.entries(b));for(e=d.next();!e.done;e=d.next())f=l(e.value),e=f.next().value,f=f.next().value,
a.selectedHotlistMap[Number(e)]=f?f===c?!0:null:!1;Lba(a.choices,function(h,k){var q=b[h.hotlistId],t=b[k.hotlistId];return q>t?-1:q<t?1:fr(h.name,k.name)})}}};tX.prototype.open=function(){this.trigger.openMenu();this.cdr.detectChanges()};tX.prototype.close=function(){this.trigger.closeMenu()};
tX.prototype.hasAclToEdit=function(a){var b=this;if($da(this.hotlistEditAcls,a.hotlistId))return this.hotlistEditAcls[a.hotlistId];oD(this.userAccess,"appender","hotlists/"+a.hotlistId).then(function(c){b.hotlistEditAcls[a.hotlistId]=c})};
var M4a=function(a,b){if(!a.checkEditAcl)return!1;a=a.hasAclToEdit(b);return a===void 0?!0:!a},dq=function(a,b){var c=a.selectedHotlistMap[b.hotlistId];a.selectedHotlistMap[b.hotlistId]=c===null?!0:!c;T4a(a);a.close()},T4a=function(a){a.onApply.emit({oldSelectionMap:a.oldSelectedHotlistMap,newSelectionMap:a.selectedHotlistMap})},Uvc=function(a){for(var b=a.filterText,c=!1,d=l(a.choices),e=d.next();!e.done;e=d.next())e=e.value,a.shouldShowHotlist[e.hotlistId]=Ha(e.name.toLowerCase(),b.toLowerCase()),
e.name===b&&(c=!0);a.canCreate=!(!b||c);a.canLoad=ho(zi(b))&&!!b&&!!a.onLoad},Svc=function(a){a.trigger.menuOpen||(Tvc(a),a.filterText="",Uvc(a),a.pendingChanges=!1,a.focusedRowIndex=-1)},Vvc=function(a){var b=a.selectedHotlistIds;return b&&b.length===1?"Hotlists ("+Cba(b[0],function(c){return a.validHotlistIds.has(c)})+")":"Hotlists"};
tX.prototype.createHotlist=function(){var a=this,b=this.filterText;this.canCreate&&(this.filterText="",Uvc(this),this.onCreate.emit({name:b,successCallback:function(c){dq(a,c)},errorCallback:function(){a.butterBar.showWarning("Failed to create hotlist "+b)}}))};
tX.prototype.loadHotlist=function(){var a=this,b=this.filterText;if(this.canLoad){this.analytics.trackEvent("hotlistPicker","loadHotlist");Ap(this.butterBar,"Loading hotlist "+b.toString());this.filterText="";Uvc(this);for(var c=vi(b),d=l(this.choices),e=d.next();!e.done;e=d.next())if(e=e.value,c===e.hotlistId){dq(this,e);return}this.onLoad.emit({hotlistId:c,successCallback:function(f){dq(a,f)},errorCallback:function(){a.butterBar.showWarning("Failed to load hotlist "+b)}})}};
tX.prototype.handleSelectionChange=function(){this.focusFilterBox();this.pendingChanges=!pi(this.oldSelectedHotlistMap,this.selectedHotlistMap)};
var N4a=function(a,b){M4a(a,b)||(a.selectedHotlistMap[b.hotlistId]=!a.selectedHotlistMap[b.hotlistId],a.handleSelectionChange())},bwc=function(a,b){b=b===void 0?0:b;var c=Wvc(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=Eba(Wvc(a),b),Xvc(a),Yvc(a,b)):a.focusedRowIndex<d&&a.canCreate?Zvc(a,d):a.focusedRowIndex<d+1&&a.canLoad?$vc(a,d):a.focusedRowIndex<d+2&&a.pendingChanges&&
awc(a,d)},Wvc=function(a){return a.menuItems.map(function(b){return b.nativeElement})},cwc=function(a,b){b=b===void 0?0:b;if(a.focusedRowIndex===a.choices.length+1&&a.canCreate)Zvc(a,a.choices.length);else if(a.focusedRowIndex===a.choices.length+2&&a.canLoad)$vc(a,a.choices.length);else if(a.focusedRowIndex===a.choices.length+2&&a.canCreate)Zvc(a,a.choices.length);else{var c=Wvc(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=Eba(Wvc(a),b),Xvc(a),Yvc(a,b)):(a.focusedRowIndex=-1,Yvc(a,null))}},Yvc=function(a,b){a.filterElement&&JN(a.filterElement.nativeElement,b);a.focusFilterBox()},Zvc=function(a,b){a.focusedRowIndex=b;JN(a.filterElement.nativeElement,null);var c;(c=a.createElement)==null||c.focus();a.liveAnnouncer.announce("Create new hotlist "+a.filterText);a.focusFilterBox()},$vc=function(a,b){a.focusedRowIndex=b+1;JN(a.filterElement.nativeElement,null);var c;(c=a.loadElement)==
null||c.focus();a.liveAnnouncer.announce("Load hotlist "+a.filterText);a.focusFilterBox()},awc=function(a,b){a.focusedRowIndex=b+2;JN(a.filterElement.nativeElement,null);var c;(c=a.applyElement)==null||c.focus();a.liveAnnouncer.announce("Apply");a.focusFilterBox()},Xvc=function(a){a.focusedRowIndex===-1||a.focusedRowIndex>=a.choices.length||(a=Wvc(a)[a.focusedRowIndex],a.scrollIntoViewIfNeeded?a.scrollIntoViewIfNeeded():a.scrollIntoView({block:"end"}))},O4a=function(a){return a==null?"mixed":a.toString()},
P4a=function(a){return a==null?"indeterminate":a?"checked":"unchecked"};tX.\u0275fac=function(a){return new (a||tX)(A(vw),A(sE),A(mD),A(bG),A(Ir),A(YF,2))};
tX.\u0275cmp=p({type:tX,selectors:[["b-hotlist-picker"]],viewQuery:function(a,b){a&1&&(fg(UL,5),fg(Nvc,5),fg(Ovc,5),fg(Pvc,5),fg(Qvc,5),fg(Rvc,5));if(a&2){var c;jg(c=kg())&&(b.trigger=c.first);jg(c=kg())&&(b.filterElement=c.first);jg(c=kg())&&(b.createElement=c.first);jg(c=kg())&&(b.applyElement=c.first);jg(c=kg())&&(b.loadElement=c.first);jg(c=kg())&&(b.menuItems=c)}},inputs:{selectedHotlistIds:"selectedHotlistIds",choices:"choices",checkEditAcl:"checkEditAcl"},outputs:{onCreate:"onCreate",onApply:"onApply",
onLoad:"onLoad"},features:[qg([YF]),zf,td],decls:13,vars:4,consts:[["hotlistMenu","matMenu"],["hotlistFilterInput",""],["hotlistChoices",""],["hotlistCreate",""],["menuitem",""],["hotlistLoad",""],["hotlistApply",""],["mat-button","","id","hotlist-picker-button","aria-describedby","hotlist-picker-label-text",1,"gmat-button","medium","primary",3,"matMenuTriggerFor","disabled"],["id","hotlist-picker-label-text"],["name","arrow-dropdown","size","small"],[1,"menu"],[1,"menu-control"],[1,"hotlist-filter"],
["mat-input","","type","text","id","hotlist-filter-input","maxlength","255","role","combobox","aria-autocomplete","list","aria-expanded","true","placeholder","Type to filter hotlists from your sidebar","autocomplete","off",3,"ngModelChange","mousedown","blur","click","keydown","ngModel"],["matMenuContent",""],["role","listbox",1,"multi-edit-scrollarea"],["class","multi-edit-menuitem","role","option",3,"display","focused","title","click",4,"ngFor","ngForOf"],["mat-menu-item","","matTooltip","Type a new name to create a hotlist",
"matTooltipPosition","right","title","Type a new hotlist name above and then click here to create a new hotlist.",1,"hotlist-create",3,"click","keydown.enter","disabled"],[4,"ngIf"],["mat-menu-item","","matTooltip","Type a hotlist id number to load a hotlist by id.","matTooltipPosition","right",3,"focused","click","keydown.enter",4,"ngIf"],["mat-menu-item","","class","hotlist-apply","id","hotlist-apply","aria-label","apply",3,"focused","click","keydown.enter",4,"ngIf"],["role","option",1,"multi-edit-menuitem",
3,"click","title"],["role","checkbox",3,"click","state","disabled"],["mat-menu-item","","matTooltip","Type a hotlist id number to load a hotlist by id.","matTooltipPosition","right",3,"click","keydown.enter"],["mat-menu-item","","id","hotlist-apply","aria-label","apply",1,"hotlist-apply",3,"click","keydown.enter"]],template:function(a,b){if(a&1){var c=u();F(0,"button",7)(1,"span",8);R(2);G();H(3,"b-icon",9);G();F(4,"mat-menu",null,0)(6,"div",10)(7,"div",11)(8,"div",12)(9,"input",13,1);pg("ngModelChange",
function(d){v(c);og(b.filterText,d)||(b.filterText=d);return x(d)});M("ngModelChange",function(){v(c);return x(Uvc(b))})("mousedown",function(d){v(c);return x(d.stopPropagation())})("blur",function(){v(c);return x(Svc(b))})("click",function(d){v(c);return x(d.stopPropagation())})("keydown",function(d){v(c);d.stopImmediatePropagation();d.key==="Escape"?b.close():d.key==="ArrowDown"?(bwc(b),d.preventDefault()):d.key==="ArrowUp"?(cwc(b),d.preventDefault()):d.key==="PageUp"?cwc(b,11):d.key==="PageDown"?
bwc(b,11):d.key===" "?b.focusedRowIndex===-1||b.focusedRowIndex>=b.choices.length||(N4a(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(),T4a(b)):0<=b.focusedRowIndex&&b.focusedRowIndex<b.choices.length&&b.hasAclToEdit(b.choices[b.focusedRowIndex])&&dq(b,b.choices[b.focusedRowIndex]));return x()});G()()();H(11,"mat-divider");C(12,V4a,11,8,"ng-template",
14);G()()}a&2&&(a=Q(5),D("matMenuTriggerFor",a)("disabled",b.isAnonymous),z(2),lg(Vvc(b)),z(7),ng("ngModel",b.filterText))},dependencies:[Fv,Gv,QL,TL,RL,SL,UL,oE,mh,qy,Jy,yy,Jx,LH,OH,MP,hN],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 fwc=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 hJ;this.selectedVerifiersStatus=this.selectedAssigneesStatus="ISSUE_SELECTION_STATUS_UNSPECIFIED";dwc(this,b);ewc(this,b)},dwc=function(a,b){var c=b[0],d=Qm[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},gwc=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||Km(c)})?b?"MULTIPLE":"IDENTICAL_EMAILS":"POSSIBLY_MULTIPLE"},ewc=function(a,b){var c=
b.map(function(d){return d.assigneeEmail});b=b.map(function(d){return d.verifierEmail});a.selectedAssigneesStatus=gwc(c);a.selectedVerifiersStatus=gwc(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])};
fwc.prototype.clearAssignee=function(){this.commonAssignee="";this.selectedAssigneesStatus="ISSUE_SELECTION_STATUS_UNSPECIFIED";this.overwriteAssignee=!0;P5a(this)};fwc.prototype.clearVerifier=function(){this.commonVerifier="";this.selectedVerifiersStatus="ISSUE_SELECTION_STATUS_UNSPECIFIED";this.overwriteVerifier=!0};
var lq=function(a){return a.origIssues.every(function(b){return!!b.verifierEmail})},L5a=function(a,b){(a.origCommonIssueState=b)?(b.status==="NEW"?hwc(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||hwc(a.selectedAssigneesStatus)||(a.commonAssignee=a.lastCommonAssignee?
a.lastCommonAssignee:a.userEmail),hwc(a.selectedVerifiersStatus)||a.commonVerifier||b.status!=="VERIFIED"||(a.commonVerifier=a.userEmail)),a.issueState=a.origCommonIssueState):a.issueState=void 0},hwc=function(a){return a==="MULTIPLE"||a==="POSSIBLY_MULTIPLE"},P5a=function(a){var b=Qm.NEW,c=Qm.ASSIGNED;a.issueState===b&&a.commonAssignee?a.issueState=a.origCommonIssueState===b?c:a.origCommonIssueState:a.commonAssignee||a.issueState&&!i5b.has(a.issueState)||(a.issueState=b)},iwc=function(a){var b=a.issueState;
return b?a.origIssues.some(function(c){return b.status!==c.status}):!1},Y5a=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);iwc(a)&&b.set("status",a.issueState.status);a.comment.value&&b.set("comment",a.comment.value);return b};var jwc=function(a){this.uploadUrl_=a};var kwc=function(){Xo.call(this)};Mt(kwc,Xo);var uX=function(a){Hz.call(this,a)};Mt(uX,Hz);var vX=function(a){Hz.call(this,a)};Mt(vX,Hz);var lwc=function(a,b){this.name_=a;this.inputElement_=b};lwc.prototype.getName=function(){return this.name_};var mwc=function(){this.maxChunkSize_=1073741824;this.retryOnHttpClientErrorEnabled_=!0};var wX=function(){Xo.call(this);this.name_="closure_frame"+nwc++;this.iframesForDisposal_=[];owc[this.name_]=this},xX;Mt(wX,Xo);var owc={},nwc=0,pwc=function(a,b){var c=$o(a);Cbc(b,function(d,e){Array.isArray(d)||(d=[d]);Sa(d,function(f){f=c.createDom("INPUT",{type:"hidden",name:e,value:f});a.appendChild(f)})})};g=wX.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("te");this.lastUri_=a=new bp(a);b=b?b.toUpperCase():"GET";c&&eK(a);xX||(xX=r_b("FORM"),xX.acceptCharset="utf-8",c=xX.style,c.position="absolute",c.visibility="hidden",c.top=c.left="-10px",c.width=c.height="10px",c.overflow="hidden",document.body.appendChild(xX));this.form_=xX;b=="GET"&&pwc(this.form_,a.queryData_);d&&pwc(this.form_,d);d=a.toString();this.form_.action=HVa(new wc(d===null?"null":d===void 0?"undefined":d));this.form_.method=b;qwc(this);
rwc(this)};g.abort=function(a){if(this.active_){var b=swc(this);if(b)if(Jz(b))b.removeAllListeners();else if(b=Mz(b)){var c=0,d;for(d in b.listeners)for(var e=b.listeners[d].concat(),f=0;f<e.length;++f)Oz(e[f])&&++c}this.success_=this.active_=this.complete_=!1;this.lastErrorCode_=a||7;this.dispatchEvent("abort");twc(this)}};
g.disposeInternal=function(){this.active_&&this.abort();wX.superClass_.disposeInternal.call(this);this.iframe_&&uwc(this);rwc(this);delete this.errorChecker_;this.lastUri_=this.lastContent_=this.form_=null;this.lastErrorCode_=0;delete owc[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 jhc(this.lastContent_)};
g.getLastUri=function(){return this.lastUri_};g.getLastErrorCode=function(){return this.lastErrorCode_};g.getLastError=function(){return Gqc(this.lastErrorCode_)};
var qwc=function(a){a.active_=!0;a.complete_=!1;a.lastErrorCode_=0;a.iframeName_=a.name_+"_"+(a.nextIframeId_++).toString(36);a.iframe_=$o(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";Pt?b.marginTop=b.marginLeft="-10px":(b.position="absolute",b.top=b.left="-10px");$o(a.form_).document_.body.appendChild(a.iframe_);b=a.iframeName_+"_inner";var c=v_b(a.iframe_);if(document.baseURI){var d=Dp(b);
d=vh('<head><base href="'+Dp(document.baseURI)+'"></head><body><iframe id="'+d+'" name="'+d+'"></iframe>')}else d=Dp(b),d=vh('<body><iframe id="'+d+'" name="'+d+'"></iframe>');c.write(xh(d));Yo(c.getElementById(b),"load",a.onIframeLoaded_,!1,a);d=Wz("TEXTAREA",a.form_);for(var e=0,f=d.length;e<f;e++){var h=d[e].value,k=[];z_b(d[e],k,!1);k.join("")!=h&&(dA(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=Wz("SELECT",a.form_);f=Wz("SELECT",
d);h=0;for(k=e.length;h<k;h++)for(var q=Wz("OPTION",e[h]),t=Wz("OPTION",f[h]),w=0,B=q.length;w<B;w++)t[w].selected=q[w].selected;e=Wz("INPUT",a.form_);f=Wz("INPUT",d);h=0;for(k=e.length;h<k;h++)if(e[h].type=="file"&&e[h].value!=f[h].value){a.form_.target=b;d=a.form_;break}try{a.errorHandled_=!1,d.submit(),c.close(),Ot&&Cq(a.testForFirefoxSilentError_,250,a)}catch(E){Nz(c.getElementById(b),"load",a.onIframeLoaded_,!1,a),c.close(),a.handleError_(2)}};
wX.prototype.onIframeLoaded_=function(){Nz(swc(this),"load",this.onIframeLoaded_,!1,this);try{var a=this.iframe_?v_b(swc(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"),twc(this))}catch(e){this.handleError_(1)}};
wX.prototype.handleError_=function(a){this.errorHandled_||(this.active_=this.success_=!1,this.complete_=!0,this.lastErrorCode_=a,this.dispatchEvent("complete"),this.dispatchEvent("error"),twc(this),this.errorHandled_=!0)};
var twc=function(a){uwc(a);rwc(a);a.form_=null;a.dispatchEvent("ready")},uwc=function(a){var b=a.iframe_;b&&(b.onreadystatechange=null,b.onload=null,b.onerror=null,a.iframesForDisposal_.push(b));a.iframeDisposalTimer_&&(Dq(a.iframeDisposalTimer_),a.iframeDisposalTimer_=null);Ot?a.iframeDisposalTimer_=Cq(a.disposeIframes_,2E3,a):a.disposeIframes_();a.iframe_=null;a.iframeName_=null};
wX.prototype.disposeIframes_=function(){this.iframeDisposalTimer_&&(Dq(this.iframeDisposalTimer_),this.iframeDisposalTimer_=null);for(;this.iframesForDisposal_.length!=0;){var a=this.iframesForDisposal_.pop();bA(a)}};var rwc=function(a){a.form_&&a.form_==xX&&u_b(a.form_)},swc=function(a){return a.iframe_?v_b(a.iframe_).getElementById(a.iframeName_+"_inner"):null};
wX.prototype.testForFirefoxSilentError_=function(){if(this.active_){var a=this.iframe_?v_b(swc(this)):null;a&&!BRb(a,"documentUri")?(Nz(swc(this),"load",this.onIframeLoaded_,!1,this),navigator.onLine?this.handleError_(3):this.handleError_(9)):Cq(this.testForFirefoxSilentError_,250,this)}};var vwc=function(a,b,c,d,e){Xo.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 bp(a);cK(a,"upload_protocol","multipart");this.url_=a.toString();this.request_=new wX;this.state_="Ready";this.errorDescription_=
null;this.eventHandler_=new Lr(this);hq(this,this.eventHandler_);this.eventHandler_.listen(this.request_,"success",this.onTransferSuccess_);this.eventHandler_.listen(this.request_,"error",this.onTransferError_)};X(vwc,kwc);g=vwc.prototype;g.run=function(){this.state_="Transferring";var a=this.request_,b=this.form_;if(a.active_)throw Error("te");var c=new bp(this.url_||b.action);a.lastUri_=c;a.form_=b;a.form_.action=HVa(c.toString());qwc(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 uX("m"))};g.pause=function(){};g.unpause=function(){};g.onTransferSuccess_=function(){this.state_="Complete";this.dispatchEvent(new uX("j"))};
g.onTransferError_=function(){this.errorDescription_="Transfer failed.";this.state_="Error";this.dispatchEvent(new uX("l"))};var ywc=function(a,b){a.name!==void 0?(this.name=a.name,this.code=wwc[a.name]):(this.code=a=a.code,this.name=xwc(a));za.call(this,KSb("%s %s",this.name,b))};Mt(ywc,za);
var xwc=function(a){var b=aea(wwc,function(c){return a==c});if(b===void 0)throw Error("ue`"+a);return b},yX={},wwc=(yX.AbortError=3,yX.EncodingError=5,yX.InvalidModificationError=9,yX.InvalidStateError=7,yX.NotFoundError=1,yX.NotReadableError=4,yX.NoModificationAllowedError=6,yX.PathExistsError=12,yX.QuotaExceededError=10,yX.SecurityError=2,yX.SyntaxError=8,yX.TypeMismatchError=11,yX);var zwc=function(a,b){Hz.call(this,a.type,b);this.event_=a};Mt(zwc,Hz);var Awc=function(a,b,c){c===void 0&&(c=a.size);return a.slice?a.slice(b,c):null};Vo(function(){if(!Aa.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 Bwc=Vo(function(){if(!Aa.Blob)return!1;var a=new Uint8Array(100);try{var b=new Blob([a])}catch(c){return!1}return Awc(b,0,1)===null?!1:!0});var Cwc=function(){Xo.call(this);this.reader_=new FileReader;this.reader_.onloadstart=Kt(this.dispatchProgressEvent_,this);this.reader_.onprogress=Kt(this.dispatchProgressEvent_,this);this.reader_.onload=Kt(this.dispatchProgressEvent_,this);this.reader_.onabort=Kt(this.dispatchProgressEvent_,this);this.reader_.onerror=Kt(this.dispatchProgressEvent_,this);this.reader_.onloadend=Kt(this.dispatchProgressEvent_,this)};Mt(Cwc,Xo);g=Cwc.prototype;
g.abort=function(){try{this.reader_.abort()}catch(a){throw new ywc(a,"aborting read");}};g.getReadyState=function(){return this.reader_.readyState};g.getError=function(){return this.reader_.error&&new ywc(this.reader_.error,"reading file")};g.dispatchProgressEvent_=function(a){this.dispatchEvent(new zwc(a,this))};g.disposeInternal=function(){Cwc.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 Dwc=function(a){var b=new QK;a.listen("loadend",Lt(function(c,d){var e=d.reader_.result,f=d.getError();e==null||f?(SK(c),TK(c,!1,f)):c.callback(e);d.dispose()},b,a));return b};var zX=function(){Bq.call(this)};X(zX,Bq);zX.prototype.createXhr=function(){var a=Bq.prototype.createXhr.call(this);a.upload&&(a.upload.onprogress=Kt(this.onProgress_,this));return a};zX.prototype.onProgress_=function(a){this.dispatchEvent(a)};var Ewc=function(){this.attempt_=-1;this.delayCallId_=null;this.maxDelayMs_=6E4;this.maxAttempts_=-1},Gwc=function(a,b){var c=a.attempt_+1;if(a.maxAttempts_>0&&c>a.maxAttempts_)return!1;c==0?b():a.delayCallId_=Cq(function(){a.delayCallId_=null;b()},Fwc(a),a);a.attempt_=c;return!0};Ewc.prototype.reset=function(){this.delayCallId_&&Dq(this.delayCallId_);this.attempt_=-1};var Fwc=function(a){var b=250*Math.pow(2,a.attempt_);a.maxDelayMs_>=0&&(b=Math.min(b,a.maxDelayMs_));return b};var X4a=["Content-Length","Content-Type","Content-Encoding","Transfer-Encoding"];var Hwc=function(a){Xo.call(this);a=a||new mwc;this.request_=this.state_=null;this.withCredentials_=!1;this.transferHandle_=null;this.offset_=this.bytesTransferred_=0;this.retryIterator_=new Ewc;this.retryIterator_.maxAttempts_=6;this.retryIterator_.maxDelayMs_=6E4;this.errorType_=this.errorDescription_=null;this.eventHandler_=new Lr(this);hq(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};Mt(Hwc,kwc);g=Hwc.prototype;g.run=function(){AX(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 zX,a.withCredentials_=this.withCredentials_,a.send(this.transferHandle_.uploadUrl_,"POST","",{"X-Goog-Upload-Command":"cancel"});this.state_="Cancel";this.bytesTransferred_=0;this.dispatchEvent(new uX("m"))}};
g.pause=function(){this.pauseRequested_=!0};g.unpause=function(){this.pauseRequested_=!1;this.state_==="Paused"&&(this.state_=this.stateAfterUnpausing_,this.stateAfterUnpausing_=null,Iwc(this))};
var AX=function(a){var b=a.state_;a.pauseRequested_?(a.pauseRequested_=!1,a.stateAfterUnpausing_=b,a.state_="Paused"):Gwc(a.retryIterator_,function(){return Iwc(a)})||BX(a,1,"Transfer encountered too many consecutive failures.")},Iwc=function(a){switch(a.state_){case "Start":a.start_();break;case "Upload":var b=a.transferHandle_.uploadUrl_,c=a.blob_.size;if(Bwc()){var d=a.chunkSize_;var e=a.offset_+d>=c;c=Awc(a.blob_,a.offset_,e?c:a.offset_+d)}else a.offset_=0,c=a.blob_,e=!0;a.request_=new zX;a.request_.withCredentials_=
a.withCredentials_;a.eventHandler_.removeAll();a.eventHandler_.listen(a.request_,"progress",a.onUploadProgress_);d=Kt(a.onUploadComplete_,a,a.offset_+c.size,e);a.eventHandler_.listen(a.request_,"complete",d);a.lastCommandResponseCode_=null;a.dispatchEvent(new vX("o"));e=Object.assign({},a.headers_||{},{"X-Goog-Upload-Command":"upload"+(e?", finalize":""),"X-Goog-Upload-Offset":a.offset_});a.request_.send(b,"POST",c,e);break;case "Query":a.query_();break;default:throw Error("ve");}},BX=function(a,
b,c){a.state_="Error";a.errorDescription_=c;a.errorType_=b;a.dispatchEvent(new uX("l"))};g=Hwc.prototype;
g.start_=function(){this.request_=new zX;var a=vc(this.headers_);this.blob_.size!=null&&(a["Content-Length"]=this.blob_.size);a=Y4a(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 vX("o"))};
g.onStartComplete_=function(a){var b=a.target;this.lastCommandResponseCode_=b.getStatus();this.dispatchEvent(new vX("p"));Jwc(b)?Kwc(this,b):Lwc(b)?(b=eq(a.target.getAllResponseHeaders()),this.dispatchEvent(new uX("k")),a=fq(b,"X-Goog-Upload-URL"),b=(b=fq(b,"X-Goog-Upload-Chunk-Granularity"))?parseInt(b,10):1,a===void 0||isNaN(b)||b<=0?BX(this,2,"Server returned invalid headers."):(this.chunkSize_=Math.floor(this.maxChunkSize_/b)*b,this.transferHandle_=new jwc(a),this.dispatchEvent(new uX("n")),this.state_=
"Upload",this.retryIterator_.reset(),AX(this))):AX(this)};g.onUploadProgress_=function(a){this.bytesTransferred_=this.offset_+a.loaded;this.dispatchEvent(new uX("i"))};
g.onUploadComplete_=function(a,b,c){var d=this,e,f;return fe(function(h){switch(h.nextAddress){case 1:e=c.target;d.lastCommandResponseCode_=e.getStatus();d.dispatchEvent(new vX("p"));if(d.retryOnHttpClientErrorEnabled_?Mwc(e)||e.getStatus()==404:Jwc(e))return d.bytesTransferred_=a,Kwc(d,e),h.return();if(Lwc(e)){h.jumpTo(2);break}if(!(f=d.detectCorruptedBlobEnabled_)){h.jumpTo(3);break}return he(h,Nwc(d),4);case 4:f=h.yieldResult;case 3:if(f)return BX(d,3,"Blob has been modified or corrupted."),h.return();
d.requireUploadRequestModification_=e.getStatus()==400;d.state_="Query";AX(d);return h.return();case 2:if(b)return BX(d,4,"Got a non-final success response after issuing a finalize command."),h.return();d.bytesTransferred_=a;d.offset_=a;d.retryIterator_.reset();AX(d);return h.return()}})};
g.query_=function(){this.request_=new zX;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 vX("o"))};
g.onQueryComplete_=function(a){var b=a.target;this.lastCommandResponseCode_=b.getStatus();this.dispatchEvent(new vX("p"));Jwc(b)?(b.getStatus()===200&&(this.bytesTransferred_=this.blob_.size),Kwc(this,b)):Lwc(b)?(a=eq(a.target.getAllResponseHeaders()),a=parseInt(fq(a,"X-Goog-Upload-Size-Received"),10),isNaN(a)?BX(this,5,"Server did not respond with current offset."):a<this.offset_?BX(this,6,"Server lost bytes! Expected an offset of at least "+this.offset_+", but got an offset of "+a+"."):this.requireUploadRequestModification_&&
this.offset_===a?BX(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",AX(this))):AX(this)};
var Kwc=function(a,b){a.responseCode_=b.getStatus();var c=eq(b.getAllResponseHeaders());a.responseHeaders_=Z4a(c);a.responseText_=b.getResponseText();a.state_="Response received";a.dispatchEvent(new uX("j"))},Lwc=function(a){var b=a.getStatus();a=eq(a.getAllResponseHeaders());a=fq(a,"X-Goog-Upload-Status");return b===200&&a==="active"},Mwc=function(a){a=eq(a.getAllResponseHeaders());return fq(a,"X-Goog-Upload-Status")==="final"},Jwc=function(a){if(Mwc(a))return!0;a=a.getStatus();return a>=400&&a<
500},Nwc=function(a){var b;return fe(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);ge(c,2);if(b=Awc(a.blob_,0,1)){var d=new Cwc,e=Dwc(d);d.readAsBinaryString(b);c=he(c,e,4)}else c=c.return(!0);return c}if(c.nextAddress!=2)return c.return(a.blob_.size!==a.originalBlobSize_);ke(c);return c.return(!0)})};var Owc=function(a,b,c,d,e,f){Xo.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 ui;this.boundary_="uploader-"+nu()+"-"+a.toIsoString();this.transferRequest_=null;this.bytesTransferred_=0;this.responseText_=this.responseHeaders_=this.responseCode_=null;this.state_="Ready";this.errorDescription_=null;this.eventHandler_=new Lr(this);hq(this,this.eventHandler_)};X(Owc,kwc);g=Owc.prototype;
g.run=function(){var a=vc(this.headers_);this.payload_.length!=null&&(a["Content-Length"]=this.payload_.length);a=Y4a(a);a["X-Goog-Upload-Protocol"]="multipart";a["Content-Type"]="multipart/related; boundary="+this.boundary_;this.state_="Transferring";this.transferRequest_=new zX;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 uX("m")))};g.pause=function(){};g.unpause=function(){};
g.onTransferProgress_=function(a){this.bytesTransferred_=Math.max(0,a.loaded-this.metadataOverhead_);this.dispatchEvent(new uX("i"))};g.onTransferComplete_=function(a){var b=a.target.getStatus();b===void 0||b===-1?(this.errorDescription_="Connection broken before response was received.",this.state_="Error",this.dispatchEvent(new uX("l"))):(this.responseCode_=b,a=a.target,b=eq(a.getAllResponseHeaders()),this.responseHeaders_=Z4a(b),this.responseText_=a.getResponseText(),this.state_="Complete",this.dispatchEvent(new uX("j")))};var Pwc=function(){},Qwc=function(a,b,c,d,e){e=e===void 0?!1:e;if(c instanceof lwc)return new vwc(a,"POST",b,c.inputElement_,d);if(typeof c==="string"||c instanceof String)return new Owc(a,"POST",b,c,d);var f=new Hwc(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 Rwc=new md("ScottyUploaderConfigFactory"),Swc=new md("ScottyUploader",{factory:function(){return new Pwc}}),CX=function(a,b){this.uploader=a;this.configFactory=b;this.internalTransferStatus=new W.Subject;this.transferStatus=or(this.internalTransferStatus)};
CX.prototype.upload=function(a,b){var c=this;b=b===void 0?this.configFactory.create(a):b;a=Qwc(b.url,b.headers||{},a,b.metadata||"",!!b.withCredentials);this.transferSubscription&&!b.allowSimultaneousUpload&&this.transferSubscription.unsubscribe();this.transferSubscription=(0,W.merge)((0,W.fromEvent)(a,"k"),(0,W.fromEvent)(a,"i"),(0,W.fromEvent)(a,"n"),(0,W.fromEvent)(a,"l"),(0,W.fromEvent)(a,"j"),(0,W.fromEvent)(a,"m")).pipe(qf((0,W.fromEvent)(a,"j").pipe(cf(0)))).subscribe(function(d){c.internalTransferStatus.next(d)});
a.run()};CX.\u0275fac=function(a){return new (a||CX)(n(Swc),n(Rwc))};CX.\u0275prov=Hc({token:CX,factory:CX.\u0275fac});var Twc=function(a){this.name_=a;this.files_=[];this.directories_=[];this.directoryMap_={}};Twc.prototype.getDirectory=function(a){return this.directoryMap_[a]};Twc.prototype.getName=function(){return this.name_};var Vwc=function(a,b,c){b=b===void 0?"single_file":b;c=c===void 0?[]:c;Xo.call(this);this.overlayTarget_=a;this.parentOverlay_=a!=null?a.parentNode:Cp(document,"scotty-overlay-parent");this.selectorType_=b;this.acceptTypes_=c;this.overlay_=Uwc(this,this.overlayTarget_,this.selectorType_,this.acceptTypes_)};X(Vwc,Xo);
var Uwc=function(a,b,c,d){var e=document.createElement("input");e.setAttribute("type","file");e.setAttribute("name","Filedata");Yo(e,"change",a.onFilesSelected_,!1,a);c==="multiple_file"&&(e.multiple="true");c==="single_directory"&&(e.webkitdirectory="true");d.length>0&&e.setAttribute("accept",d.join(","));e.style.position="absolute";e.style.overflow="hidden";e.style.height="0px";e.style.width="0px";e.style.opacity="0";e.setAttribute("aria-hidden","true");e.setAttribute("tabIndex",-1);if(a.overlayTarget_!=
null)return e.style.height=b.offsetHeight+"px",e.style.width=b.offsetWidth+"px",a.parentOverlay_&&(a.parentOverlay_.style.position="relative"),b.parentNode&&b.parentNode.insertBefore(e,b.nextSibling),Sr(e,new Qr(b.offsetLeft,b.offsetTop)),e;a.parentOverlay_.appendChild(e);return e};Vwc.prototype.click=function(){this.overlay_.click()};
Vwc.prototype.onFilesSelected_=function(a){a:{try{var b=(new XMLHttpRequest).upload!==void 0;break a}catch(t){}b=!1}if(b){var c;a=Array.from((c=a.target.files)!=null?c:[]);c=[];if(this.selectorType_==="single_directory"&&(Pt||DRb)){c=new Twc("");if(File.prototype.hasOwnProperty("webkitRelativePath"))for(b=0;b<a.length;b++)for(var d=a[b],e=d.webkitRelativePath.split("/"),f=c,h=0;h<e.length;h++){var k=e[h];if(h==e.length-1){k!="."&&f.files_.push(d);break}var q=f.getDirectory(k);q==void 0&&(k=q=new Twc(k),
f.directoryMap_[k.getName()]=k,f.directories_.push(k));f=q}c=c.directories_}this.dispatchEvent(new Wwc(a,c,null))}else a=a.target.value,a.match(/^c:\\fakepath\\/i)&&(a=a.substring(12)),this.dispatchEvent(new Wwc([],[],new lwc(a,this.overlay_)));this.parentOverlay_.removeChild(this.overlay_);this.overlay_=Uwc(this,this.overlayTarget_,this.selectorType_,this.acceptTypes_)};
var Xwc={SINGLE_FILE_SELECTION:"single_file",MULTIPLE_FILE_SELECTION:"multiple_file",SINGLE_DIRECTORY_SELECTION:"single_directory"},Wwc=function(a,b){Hz.call(this,"u");this.files=a;this.directories=b};X(Wwc,Hz);var DX=function(a,b){this.elementRef=a;this.ngZone=b;this.destroyed=new W.ReplaySubject(1);this.supportedFileExtensions=null;this.fileExtensionRejected=new Xu;this.maxFileSize=null;this.fileSizeRejected=new Xu;this.fileSelected=new Xu;this.fileNameLengthRejected=new Xu};
DX.prototype.ngAfterViewInit=function(){var a=this;this.getOverlay().pipe(pf(function(b){return(0,W.merge)((0,W.fromEvent)(b,"q"),(0,W.fromEvent)(b,"u"))}),qf(this.destroyed)).subscribe(function(b){a.ngZone.run(function(){a:{if(a.supportedFileExtensions){var c=l(b.files);for(var d=c.next();!d.done;d=c.next()){d=d.value.name;var e=d.lastIndexOf(".");if(!a.supportedFileExtensions.includes(e!==-1?d.substr(e+1).toLowerCase():"")){c=!1;break a}}}c=!0}if(c){a:{if(a.maxFileSize)for(c=l(b.files),d=c.next();!d.done;d=
c.next())if(d.value.size>a.maxFileSize){c=!1;break a}c=!0}if(c){a:{if(a.maxFileNameLength)for(c=l(b.files),d=c.next();!d.done;d=c.next())if(d.value.name.length>a.maxFileNameLength){c=!1;break a}c=!0}c?a.fileSelected.emit(b):a.fileNameLengthRejected.emit(b)}else a.fileSizeRejected.emit(b)}else a.fileExtensionRejected.emit(b)})});this.getOverlay().subscribe(function(b){(0,W.fromEvent)(b,"s").subscribe(function(){a.ngZone.run(function(){})})});this.getOverlay().subscribe(function(b){(0,W.fromEvent)(b,
"t").subscribe(function(){a.ngZone.run(function(){})})})};DX.prototype.ngOnDestroy=function(){this.destroyed.next(!0);this.destroyed.complete()};DX.\u0275fac=function(a){return new (a||DX)(A(Rd),A(ze))};DX.\u0275dir=fd({type:DX,inputs:{supportedFileExtensions:"supportedFileExtensions",maxFileSize:"maxFileSize",maxFileNameLength:"maxFileNameLength"},outputs:{fileExtensionRejected:"fileExtensionRejected",fileSizeRejected:"fileSizeRejected",fileSelected:"fileSelected",fileNameLengthRejected:"fileNameLengthRejected"}});var EX=function(a,b){DX.call(this,a,b);this.overlay=this.fileSelectorOverlay=null};X(EX,DX);
EX.prototype.getOverlay=function(){var a=this;this.overlay||(this.overlay=this.ngZone.runOutsideAngular(function(){return(0,W.merge)((0,W.fromEvent)(a.elementRef.nativeElement,"mouseover"),(0,W.fromEvent)(a.elementRef.nativeElement,"focus")).pipe(hf(),qf(a.destroyed),y(function(){a.fileSelectorOverlay=new Vwc(a.elementRef.nativeElement,a.selectorType,Ywc(a));a.fileSelectorOverlay.overlay_.style.display="none";return a.fileSelectorOverlay}),mf(1))}));return this.overlay};
EX.prototype.onClick=function(){this.fileSelectorOverlay&&this.fileSelectorOverlay.click()};var Ywc=function(a){return(a.supportedFileExtensions||[]).map(function(b){return"."+b})};EX.\u0275fac=function(a){return new (a||EX)(A(Rd),A(ze))};EX.\u0275dir=fd({type:EX,hostBindings:function(a,b){a&1&&M("click",function(){return b.onClick()})},inputs:{selectorType:"selectorType"},features:[zf]});var FX=function(a,b,c){EX.call(this,a,b);this.uploader=c;this.disableAutoUploadInternal=!1};X(FX,EX);
FX.prototype.ngOnInit=function(){var a=this;this.fileSelected.pipe(qf(this.destroyed),te(function(){return!a.disableAutoUpload})).subscribe(function(b){b=l(b.files);for(var c=b.next();!c.done;c=b.next()){c=c.value;var d=void 0;(d=a.uploader)==null||d.upload(c)}})};ea.Object.defineProperties(FX.prototype,{disableAutoUpload:{configurable:!0,enumerable:!0,get:function(){return this.disableAutoUploadInternal},set:function(a){this.disableAutoUploadInternal=bh(a)}}});
FX.\u0275fac=function(a){return new (a||FX)(A(Rd),A(ze),A(CX,8))};FX.\u0275dir=fd({type:FX,selectors:[["","xapUploaderTrigger",""],["","xapScottyUploaderTrigger",""]],inputs:{disableAutoUpload:"disableAutoUpload"},features:[zf]});var GX=function(){this.SelectorType=Xwc;this.includeTextLabel=this.disabled=!1;this.onSelect=new XF},$4a=function(a,b){if(b=b.files){b=l(b);for(var c=b.next();!c.done;c=b.next())a.onSelect.emit(c.value)}};GX.\u0275fac=function(a){return new (a||GX)};
GX.\u0275cmp=p({type:GX,selectors:[["b-attachment-selector"]],inputs:{disabled:"disabled",includeTextLabel:"includeTextLabel"},outputs:{onSelect:"onSelect"},decls:4,vars:2,consts:[["fullButton",""],[1,"goog-inline-block","vertical-centered"],["mat-icon-button","","xapUploaderTrigger","","matTooltip","Add attachments","aria-label","Add attachments",3,"selectorType","disableAutoUpload","disabled","fileSelected",4,"ngIf","ngIfElse"],["mat-icon-button","","xapUploaderTrigger","","matTooltip","Add attachments",
"aria-label","Add attachments",3,"fileSelected","selectorType","disableAutoUpload","disabled"],["svgIcon","attachment"],["mat-stroked-button","","xapUploaderTrigger","","matTooltip","Add attachments","aria-label","Add attachments",3,"fileSelected","selectorType","disableAutoUpload","disabled"]],template:function(a,b){a&1&&(F(0,"div",1),C(1,a5a,2,3,"button",2),G(),C(2,b5a,3,3,"ng-template",null,0,yg));a&2&&(a=Q(3),z(),D("ngIf",!b.includeTextLabel)("ngIfElse",a))},dependencies:[Gv,zB,IH,Rx,Tx,LH,OH,
FX],encapsulation:2});var Zwc=function(a,b){gJ.call(this,a.size,a.name);var c=this;this.destroyed$=new W.Subject;this.onTransferEventUpdate=function(d){var e=d.target;c.transfer=e;switch(d.type){case "i":case "k":case "n":c.state=1;c.transferredBytes=e.getBytesTransferred()||0;break;case "l":c.handleError(e);break;case "j":c.transferredBytes=e.getBytesTransferred()||0;(d=e.getResponseCode())&&d!=200?c.handleError(e):(d=e.getResponseText())?(c.state=2,c.blobRef=JSON.parse(d).encryptedMedia):c.handleError(e);c.unsubscribe();
break;case "m":c.state=4;c.transferredBytes=e.getBytesTransferred()||0;break;default:c.transferredBytes=e.getBytesTransferred()||0}};b.pipe(qf(this.destroyed$)).subscribe(function(d){c.onTransferEventUpdate(d)})};X(Zwc,gJ);
Zwc.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){Ei("Unable to extract error message",b,d);var c;this.errorMessage=(c=a.getErrorDescription())!=null?c:""}this.errorMessage||(this.errorMessage="Error while uploading.")};Zwc.prototype.cancel=function(){var a,b;(a=this.transfer)==null||(b=a.cancel)==null||b.call(a);this.unsubscribe()};
Zwc.prototype.unsubscribe=function(){this.destroyed$.next();this.destroyed$.complete()};var HX=function(a){this.activeSession=a};
HX.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=kHa(a.name)?a.name:b;return{url:cK(Sbc().setPath("/upload/"),"authuser",this.activeSession.getSessionIdentifier()).toString(),headers:{"X-Bv2-Encoded-Upload-File-Name":b,
"X-Goog-Upload-File-Name":a},withCredentials:!0}};HX.\u0275fac=function(a){return new (a||HX)(n(Ir))};HX.\u0275prov=Hc({token:HX,factory:HX.\u0275fac,providedIn:"root"});var IX=function(a,b){this.uploader=a;this.uploaderConfigFactory=b};IX.prototype.create=function(){return new CX(this.uploader,this.uploaderConfigFactory)};IX.\u0275fac=function(a){return new (a||IX)(n(Swc),n(HX))};IX.\u0275prov=Hc({token:IX,factory:IX.\u0275fac,providedIn:"root"});var f5a=function(a){return{"attachment-error":a}},JX=function(a){Z.call(this);this.scottyUploaderFactory=a;this.uploads=[];this.onUploadCancel=new XF;this.onUploadComplete=new XF;this.uploadStates=zac};X(JX,Z);JX.\u0275dir=Z.\u0275dir;JX.prototype.ngOnDestroy=function(){Z.prototype.ngOnDestroy.call(this);for(var a=l(this.uploads),b=a.next();!b.done;b=a.next())b.value.cancel()};
JX.prototype.upload=function(a){var b=this,c=this.scottyUploaderFactory.create();c.upload(a);a=new Zwc(a,c.transferStatus);c.transferStatus.pipe(qf(this.destroyed$)).subscribe(function(d){d.type==="j"&&b.onUploadComplete.emit()});return a};JX.prototype.cancel=function(a){a.cancel();this.onUploadCancel.emit(a)};JX.\u0275fac=function(a){return new (a||JX)(A(IX))};
JX.\u0275cmp=p({type:JX,selectors:[["b-attachment-uploader"]],inputs:{uploads:"uploads"},outputs:{onUploadCancel:"onUploadCancel",onUploadComplete:"onUploadComplete"},features:[zf],decls:1,vars:1,consts:[["class","attachments",4,"ngIf"],[1,"attachments"],["class","attachment",3,"ngClass",4,"ngFor","ngForOf"],[1,"attachment",3,"ngClass"],[1,"attachment-title"],["svgIcon","file-present"],[1,"issue-attachment-filename",3,"matTooltip"],[1,"attachment-filesize"],[4,"ngIf"],["role","alert","aria-live",
"assertive",4,"ngIf"],[1,"bv2-remove-icon","keep-focus-ring","attachment-cancel-button",3,"click","matTooltip"],["role","alert","aria-live","assertive"]],template:function(a,b){a&1&&C(0,h5a,2,1,"div",0);a&2&&D("ngIf",b.uploads.length>0)},dependencies:[Ev,Fv,Gv,zB,LH,OH,AJ],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 $wc=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 axc=function(a){gJ.call(this,a.size,a.name);this.attachment=a};X(axc,gJ);var bxc=function(a,b){a.state=1;tac(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=mn(c)?nn(c):"Error while uploading."})};var KX=function(a){this.id_=a;this.opts={}};g=KX.prototype;g.setLabel=function(a){this.label_=a||void 0;return this};g.setOptions=function(a){this.opts=a};g.setQuery=function(a){this.opts.query=a;return this};g.setParent=function(a){this.opts.parent=a};g.toArray=function(){var a=rc(this.opts,function(c){return c!==null});a=sc(a)?null:a;a=[this.id_,this.label_,a];var b=Dba(a,i_b);return a=a.slice(0,b+1)};
g.toString=function(){var a=this.toArray();return"("+yRb(a,function(b){return JSON.stringify(b)}).join(",")+")"};g.getId=function(){return this.id_};g.getLabel=function(){return this.label_};g.getOptions=function(){return vc(this.opts)};g.getQuery=function(){return this.opts.query};var LX=function(a){KX.call(this,a||"all")};Mt(LX,KX);var cxc=function(){var a=new LX("all");a.opts.ownedByMe=!0;a.opts.drdis=!0;a.opts.includeFolders=!0;a.opts.sortKey=7;a.opts.ff=!0;return a};LX.prototype.setMode=function(a){this.opts.mode=a;return this};LX.prototype.setLabel=function(a){LX.superClass_.setLabel.call(this,a);return this};LX.prototype.setQuery=function(a){LX.superClass_.setQuery.call(this,a);return this};LX.prototype.setParent=function(a){LX.superClass_.setParent.call(this,a)};var dxc=function(){KX.call(this,"image-search")};X(dxc,KX);g=dxc.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){KX.prototype.setLabel.call(this,a);return this};g.setQuery=function(a){KX.prototype.setQuery.call(this,a);return this};g.setParent=function(a){KX.prototype.setParent.call(this,a)};var MX=function(){KX.call(this,"maps")};X(MX,KX);MX.prototype.setMode=function(a){this.opts.mode=a;return this};MX.prototype.setLabel=function(a){KX.prototype.setLabel.call(this,a);return this};MX.prototype.setQuery=function(a){KX.prototype.setQuery.call(this,a);return this};MX.prototype.setParent=function(a){KX.prototype.setParent.call(this,a)};var exc=function(){KX.call(this,"photos")};X(exc,KX);g=exc.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){KX.prototype.setLabel.call(this,a);return this};g.setQuery=function(a){KX.prototype.setQuery.call(this,a);return this};g.setParent=function(a){KX.prototype.setParent.call(this,a)};g.removeDuplicates=function(){this.opts.rdv=!0;return this};var NX=function(){KX.call(this,"url")};X(NX,KX);NX.prototype.setType=function(a){this.opts.type=a;return this};NX.prototype.setLabel=function(a){KX.prototype.setLabel.call(this,a);return this};NX.prototype.setQuery=function(a){KX.prototype.setQuery.call(this,a);return this};NX.prototype.setParent=function(a){KX.prototype.setParent.call(this,a)};var fxc=function(){KX.call(this,"video-search")};X(fxc,KX);fxc.prototype.setLabel=function(a){KX.prototype.setLabel.call(this,a);return this};fxc.prototype.setQuery=function(a){KX.prototype.setQuery.call(this,a);return this};fxc.prototype.setParent=function(a){KX.prototype.setParent.call(this,a)};var gxc=function(){KX.call(this,"web")};X(gxc,KX);gxc.prototype.setLabel=function(a){KX.prototype.setLabel.call(this,a);return this};gxc.prototype.setQuery=function(a){KX.prototype.setQuery.call(this,a);return this};gxc.prototype.setParent=function(a){KX.prototype.setParent.call(this,a)};var hxc=function(){this.root_=void 0;this.items_=[];this.opts={}},ixc=function(a){switch(a){case "image-search":return new dxc;case "maps":return new MX;case "photos":return new exc;case "url":return new NX;case "video-search":return new fxc;case "web":return new gxc}return new KX(a)};hxc.prototype.addView=function(a){this.items_.push(typeof a==="string"?ixc(a):a);return this};
var jxc=function(a){return"("+yRb(a.items_,function(b){return b.toString()}).join(",")+")"},kxc=function(a){a=rc(a.opts,function(b){return b!==null});return(a=sc(a)?null:a)?JSON.stringify(Xda(a,function(b){return b.toString()})):""};hxc.prototype.toString=function(){if(this.root_){var a=["{root:",this.root_.toString(),",items:",jxc(this)],b=kxc(this);b&&(a.push(",options:"),a.push(b));a.push("}");return a.join("")}return jxc(this)};hxc.prototype.getOptions=function(){return vc(this.opts)};var lxc=function(a){this.basePickerUrl_=a||"https://docs.google.com/picker";this.nav_=new hxc};g=lxc.prototype;g.nav_=null;g.domHelper_=null;g.addView=function(a){this.nav_.addView(a);return this};g.getBaseUrl=function(){return this.basePickerUrl_};g.getDomHelper=function(){return this.domHelper_};g.setAppId=function(a){this.appId_=a};g.setCallback=function(a){this.callback_=a;return this};var mxc=function(a){lxc.call(this,a)};Mt(mxc,lxc);var OX=function(a){Xo.call(this);this.dom_=a||$o();this.rightToLeft_=nxc;this.id_=null;this.inDocument_=!1;this.element_=null;this.googUiComponentHandler_=void 0;this.childIndex_=this.children_=this.parent_=null;this.wasDecorated_=!1};Mt(OX,Xo);OX.prototype.idGenerator_=$r.getInstance();var nxc=!1;g=OX.prototype;g.getId=function(){return this.id_||(this.id_=Nr(this.idGenerator_))};
g.setId=function(a){if(this.parent_&&this.parent_.childIndex_){uc(this.parent_.childIndex_,this.id_);var b=this.parent_.childIndex_;if(b!==null&&a in b)throw Error("Z`"+a);b[a]=this}this.id_=a};g.getElement=function(){return this.element_};g.getHandler=function(){this.googUiComponentHandler_||(this.googUiComponentHandler_=new Lr(this));return this.googUiComponentHandler_};
g.setParent=function(a){if(this==a)throw Error("we");if(a&&this.parent_&&this.id_&&atc(this.parent_,this.id_)&&this.parent_!=a)throw Error("we");this.parent_=a;OX.superClass_.setParentEventTarget.call(this,a)};g.getParent=function(){return this.parent_};g.setParentEventTarget=function(a){if(this.parent_&&this.parent_!=a)throw Error("xe");OX.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("ye");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("ye");if(a&&this.canDecorate(a)){this.wasDecorated_=!0;var b=Uz(a);this.dom_&&this.dom_.document_==b||(this.dom_=$o(a));this.decorateInternal(a);this.enterDocument()}else throw Error("ze");};
g.canDecorate=function(){return!0};g.decorateInternal=function(a){this.element_=a};g.enterDocument=function(){this.inDocument_=!0;oxc(this,function(a){!a.inDocument_&&a.getElement()&&a.enterDocument()})};g.exitDocument=function(){oxc(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_);oxc(this,function(a){a.dispose()});!this.wasDecorated_&&this.element_&&bA(this.element_);this.parent_=this.element_=this.childIndex_=this.children_=null;OX.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("ye");if(a<0||a>(this.children_?this.children_.length:0))throw Error("Ae");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;Va(this.children_)}else{b=this.childIndex_;c=(void 0).getId();if(b!==null&&c in b)throw Error("Z`"+c);b[c]=void 0}(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_=kP(this.inDocument_?this.element_:this.dom_.document_.body));return this.rightToLeft_};g.hasChildren=function(){return!!this.children_&&this.children_.length!=0};var atc=function(a,b){return a.childIndex_&&b?dea(a.childIndex_,b)||null:null},oxc=function(a,b){a.children_&&a.children_.forEach(b,void 0)};
OX.prototype.removeChild=function(a,b){if(a){var c=typeof a==="string"?a:a.getId();a=atc(this,c);c&&a&&(uc(this.childIndex_,c),Va(this.children_,a),b&&(a.exitDocument(),a.element_&&bA(a.element_)),a.setParent(null))}if(!a)throw Error("Be");return a};OX.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};Mt(j5a,i5a);var pxc=function(a){i5a.call(this,"visibility");this.visible=a};Mt(pxc,i5a);var qxc=Bt(["//www-onepick-opensocial.googleusercontent.com/gadgets/js/rpc.js?c=1&container=onepick"]),rxc=Bt(["//apis.google.com/js/rpc.js"]),sxc=Bh(qxc),txc=Bh(rxc),l5a=null;var uxc=function(a){Xo.call(this);this.element_=a;this.listenKeyIn_=Yo(this.element_,"focus",this,!0);this.listenKeyOut_=Yo(this.element_,"blur",this,!0)};Mt(uxc,Xo);uxc.prototype.handleEvent=function(a){var b=new Iz(a.event_);b.type=a.type=="focusin"||a.type=="focus"?"focusin":"focusout";this.dispatchEvent(b)};uxc.prototype.disposeInternal=function(){uxc.superClass_.disposeInternal.call(this);Oz(this.listenKeyIn_);Oz(this.listenKeyOut_);delete this.element_};var vxc=new Map;vxc.set("application/vnd.google-apps.document","application/vnd.google-gsuite.document-blob");vxc.set("application/vnd.google-apps.spreadsheet","application/vnd.google-gsuite.spreadsheet-blob");vxc.set("application/vnd.google-apps.presentation","application/vnd.google-gsuite.presentation-blob");var wxc=new Set;wxc.add("application/vnd.google-apps.kix");wxc.add("application/vnd.google-apps.ritz");wxc.add("application/vnd.google-apps.punch");var Hxc=function(a,b,c){var d=c&&Kh(c,1);if(c){var e=Kh(c,3);e=e&&JSON.parse(e)||{};c={0:Kh(c,1),1:c.getLabel(),2:e}}else c={};switch(a[0].getId().getSourceId()){case 13:return xxc(a,b,d,c);case 3:return yxc(a,b,d,c);case 10:return zxc(a,b,d,c);case 12:return Axc(a,b);case 2:return Bxc(a,b,d,c);case 5:return Cxc(a,b,d,c);case 9:return Dxc(a,b,d,c);case 6:return Exc(a,b,d,c);case 25:return Fxc(a,b,d,c);case 1:return dk(a[0],pZb,26)?Gxc(a,b,d,c):zxc(a,b,d,c);default:return{}}},Exc=function(a,b,c,d){a=
a.map(function(e){return{id:e.getId().getId(),serviceId:"youtube",name:e.getName(),description:e.getDescription(),type:PX(e),lastEditedUtc:$i(e,Ii,16).toDate().getTime(),iconUrl:"https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png",url:e.getUrl(),embedUrl:Kh(e,13),thumbnails:QX(tz(e))}});return{action:b,docs:a,viewToken:d,view:c||"youtube",v2Translated:!0}},Bxc=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:PX(f),lastEditedUtc:f.getLastModifiedTimestamp().toDate().getTime(),url:f.getUrl(),sizeBytes:oSb(f),description:f.getDescription(),iconUrl:f.getIconUrl(),thumbnails:QX(tz(f)),isShared:$i(f,uz,21).getShared(),downloadUrl:$i(f,uz,21).getDownloadUrl(),embedUrl:Kh(f,13),copyable:Hj($i(f,uz,21),9),resourceKey:Kh($i(f,uz,21),11)};Hj($i(f,uz,21),12)&&(h.uploadState="success",h.isNew=!0);if($i(f,uz,21).hasVideoMetadata()){f=$i(f,uz,21).getVideoMetadata();if(dk(f,Ki,2)){var k=f.getDuration().getSeconds_asLegacyNumberOrString()+
f.getDuration().getNanos()/1E9;h.duration=k}h.aspectRatio=Aj(f,1)}return h});return{action:b,docs:e,viewToken:d,view:c||"all",extraUserInputs:Ixc(a),v2Translated:!0}},Cxc=function(a,b,c,d){a=a.map(function(e){var f=$i($i(e,wZb,15),oz,1);Mq(e,10,oz,f);return{id:e.getId().getId(),serviceId:"web",mimeType:e.getMimeType(),name:e.getName(),type:PX(e),url:e.getUrl(),description:e.getDescription(),iconUrl:"https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png",thumbnails:QX(tz(e))}});return{action:b,
docs:a,viewToken:d,view:c||"image-search",v2Translated:!0}},Dxc=function(a,b,c,d){a=a.map(function(e){return{serviceId:"url",name:tz(e)[0].getUrl().split("/").pop(),type:PX(e),mimeType:e.getMimeType(),url:e.getUrl(),description:e.getDescription(),iconUrl:"https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png",thumbnails:QX(tz(e))}});return{action:b,docs:a,viewToken:d,view:c||"url",v2Translated:!0}},Gxc=function(a,b,c,d){a=a.map(function(e){return{id:e.getId().getId(),serviceId:"picasa",
name:e.getName(),type:PX(e),description:e.getDescription(),iconUrl:"https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png",thumbnails:QX(tz(e))}});return{action:b,docs:a,viewToken:d,view:c||"webcam",v2Translated:!0}},zxc=function(a,b,c,d){return{action:b,docs:a.map(Jxc),viewToken:d,view:Kxc(c||"upload",a),extraUserInputs:Ixc(a),v2Translated:!0}},Kxc=function(a,b){return b.some(function(c){var d;return((d=$i(c,rz,30))==null?void 0:fj(d,3,0))===9})?a+"/gmailphotos":a},yxc=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:PX(f),lastEditedUtc:f.getLastModifiedTimestamp().toDate().getTime(),url:f.getUrl(),sizeBytes:oSb(f),description:f.getDescription(),iconUrl:"https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png",thumbnails:QX(tz(f)),mediaKey:f.getId().getId(),parentId:f.getParentId()},k,q=(k=$i(f,rZb,18))==null?void 0:$i(k,qZb,3);q&&(h.latitude=Aj(q,1),h.longitude=Aj(q,2));var t;
(f=(t=$i(f,rZb,18))==null?void 0:ej(t,6))&&(h.version=f);return h});return{action:b,docs:e,viewToken:d,view:c||"photos",extraUserInputs:Ixc(a),v2Translated:!0}},xxc=function(a,b,c,d){a=a.map(function(e){return{id:e.getId().getId(),serviceId:"et",name:tz(e)[0].getUrl().split("/").pop(),description:e.getDescription(),type:"et",iconUrl:"https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png",thumbnails:QX(tz(e),"etjpg")}});return{action:b,docs:a,viewToken:d,view:c||"et",v2Translated:!0}},
Fxc=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:PX(e),description:e.getDescription(),iconUrl:"https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png",url:e.getUrl(),embedUrl:e.getUrl(),thumbnails:QX(tz(e))}});return{action:b,docs:a,viewToken:d,view:c||"photos",v2Translated:!0}},Axc=function(a,b){a=a.map(function(c){var d=
$i(c,qz,27);d=Ij(d,1,yj())[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}},QX=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}})},
Ixc=function(a){return{isAttachment:a.some(function(b){return Hj(b,31)})}},Jxc=function(a){var b={id:a.getId().getId(),serviceId:Lxc(a),mimeType:a.getMimeType(),name:a.getName(),type:PX(a),sizeBytes:oSb(a),description:a.getDescription(),iconUrl:"https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png",thumbnails:QX(tz(a)),isNew:!0},c=$i(a,rz,30);if(c){b.dataUrl=Kh(c,1)||null;a:{var d=$i(a,rz,30);switch(fj(d,3,0)){case 9:d=Bj(d,uZb,2,sz);d={remoteRefs:d&&Kh(d,1)};break a;case 10:case 15:d=
Bj(d,tZb,4,sz);var e=tz(a);d={photo_id:d&&d.getPhotoId(),media_key:a.getId().getId(),media_type:a.getType()===1?1:2,image_url:e&&e[0].getUrl(),width:e&&String(e[0].getWidth()),height:e&&String(e[0].getHeight())};break a}d=null}b.uploadMetadata=d}(d=c&&Bj(c,tZb,4,sz))&&(b.id=d.getPhotoId());(d=c&&Bj(c,vZb,5,sz))&&(b.contentId=Kh(d,1));(d=c&&Bj(c,sZb,6,sz))&&(b.contentId=Kh(d,1));(c==null?void 0:fj(c,3,0))===1&&(b.mediaKey=a.getId().getId());return b},Lxc=function(a){var b;switch(((b=$i(a,rz,30))==
null?void 0:fj(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},PX=function(a){switch(a.getType()){case 1:case 21:return"photo";case 2:return"video";case 6:return"folder";case 13:return"calendar";case 14:return"album";case 19:return"contact";case 3:case 4:case 5:case 7:case 12:return a.getMimeType().startsWith("application/vnd.google-apps.")?
"document":"file";default:return"file"}};var Mxc=function(a){this.obj_=a};g=Mxc.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 Nxc=function(a){this.obj_=a||{}};g=Nxc.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 Oxc=function(a){a.obj_.attributes=a.obj_.attributes||{};return new Mxc(a.obj_.attributes)},Tjc=function(a){return(a=a.obj_.timeout)?a:null};var Pxc=function(){Nxc.apply(this,arguments)};X(Pxc,Nxc);var Qxc=Bt(["https://apis.google.com/js/api.js"]),Rxc=Bh(Qxc),Vxc=function(a,b){var c=!1,d=Sxc(a,b).then(function(f){c=!0;return f}),e=j0b(5E3).then(function(){return c?Sxc(a,b):Txc(b).then(function(f){return Uxc(f,a)})});return W_b([d,e])},Sxc=function(a,b){return Wxc(b).then(function(c){return Uxc(c,a)})},Uxc=function(a,b){var c=b.lastIndexOf("gapi.",0)==0?b.slice(5):b;return a[c]?hA(a[c]):new gA(function(d,e){var f=Cq(function(){e(Error("Ce"))},3E4);a.load(b,{callback:function(){Dq(f);d(a[c])},
onerror:function(h){Dq(f);e(h)}})})},Wxc=function(a){return a.gapi&&a.gapi.load?hA(a.gapi):Txc(a)},Txc=function(a){return ZHa(Rxc,{document:a.document}).then(function(){return a.gapi})},Xxc=function(){};Xxc.prototype.load=function(a,b){b=b===void 0?window:b;var c=Date.now();return Vxc(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 Yxc=function(){Gz.call(this);this.gapiLoader_=new Xxc;this.origin_=null;this.gapiPickerIframeResolver_=Y_b();this.gapiIframesResolver_=Y_b();this.gapiIframesResolver_.promise.then(null,function(){});this.gapiPickerIframeResolver_.promise.then(null,function(){});this.hostMessageHandlerInternal_={}};X(Yxc,Gz);
var Zxc=function(a,b){var c=So("gapi.iframes",b);return c?(a=Date.now(),hA({library:c,loadStartMs:a,loadEndMs:a})):a.gapiLoader_.load("gapi.iframes",b)},$xc=function(a,b,c,d,e,f){var h=!0;h=h===void 0?!1:h;Zxc(a,aA(b.ownerDocument)).then(function(k){var q=k.library;a.gapiIframesResolver_.resolve(q);k=a.gapiPickerIframeResolver_;var t=k.resolve,w=h;w=w===void 0?!1:w;var B={};B["host-message-handler"]=c;a.hostMessageHandlerInternal_=B;var E=fK(d);E=fK(E);E=XJ(new bp,E.scheme_).setDomain(E.getDomain()).setPort(E.getPort()).toString();
a.origin_=E;E=(new Pxc).setUrl(d);E.obj_.where=b;E.obj_.allowPost=w;E.obj_.messageHandlers=B;w=So("makeWhiteListIframesFilter",q)([a.origin_]);E.obj_.messageHandlersFilter=w;e!=null&&E.setId(e);f!=null&&(E.obj_.rpctoken=f);Oxc(E).setStyle({display:"block","min-width":"100%",width:"1px"}).setHeight("100%");Oxc(E).value().allow="camera 'src' "+a.origin_;q=q.getContext().openChild(E.value());t.call(k,q)},function(k){a.gapiIframesResolver_.reject(k);a.gapiPickerIframeResolver_.reject(k)});return a.gapiPickerIframeResolver_.promise},
ayc=function(a,b){return V_b([a.gapiIframesResolver_.promise,a.gapiPickerIframeResolver_.promise]).then(function(c){var d=l(c);c=d.next().value;return(d=d.next().value)?d.send("picker-message-handler",b,void 0,So("makeWhiteListIframesFilter",c)([a.origin_])):R_b(Error("De"))})};Yxc.prototype.disposeInternal=function(){byc(this);Gz.prototype.disposeInternal.call(this)};var byc=function(a){a.gapiPickerIframeResolver_.promise.then(function(b){b&&(b.unregister("host-message-handler"),delete a.hostMessageHandlerInternal_["host-message-handler"])})};var cyc=function(){this.nextId=0};cyc.prototype.getUniqueId=function(){return":"+(this.nextId++).toString(36)};var eyc=function(a,b){switch(a.action){case "select-contacts":a=dyc(a.contacts);break;case "visibility":a=a.visible;a=(new xz).setCommand(7).setVisible(a);var c={};c["iframe-command"]=a.serialize();a=c;break;default:a=null}return a?ayc(b,a):hA()},dyc=function(a){if(!a||a.length==0)return null;var b=new xz;b.setCommand(11);var c=new cyc;a.forEach(function(d){if(d.email){var e=(new Wt).setName(d.name?d.name:d.email);var f=new qz;d=nc(f,1,Ob,d.email);e=oj(e,qz,27,d).setId((new nz).setId(c.getUniqueId()).setSourceId(12))}else e=
null;e&&b.addItem(e)});a={};a["iframe-command"]=b.serialize();return a};var RX=function(a,b,c){Xo.call(this);this.target=a;this.handle=b||a;this.limits=c||new fP(NaN,NaN,NaN,NaN);this.document_=Uz(a);this.eventHandler_=new Lr(this);hq(this,this.eventHandler_);this.deltaY=this.deltaX=this.startY=this.startX=this.screenY=this.screenX=this.clientY=this.clientX=0;this.dragging_=!1;Yo(this.handle,["touchstart","mousedown"],this.startDrag,!1,this);this.useSetCapture_=fyc};Mt(RX,Xo);
var fyc=Aa.document&&Aa.document.documentElement&&!!Aa.document.documentElement.setCapture&&!!Aa.document.releaseCapture;g=RX.prototype;g.getHandler=function(){return this.eventHandler_};g.disposeInternal=function(){RX.superClass_.disposeInternal.call(this);Nz(this.handle,["touchstart","mousedown"],this.startDrag,!1,this);this.eventHandler_.removeAll();this.useSetCapture_&&this.document_.releaseCapture();this.handle=this.target=null};
g.startDrag=function(a){var b=a.type=="mousedown";if(this.dragging_||b&&(a.event_.button!=0||Zr&&a.ctrlKey))this.dispatchEvent("earlycancel");else if(this.dispatchEvent(new SX("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(aA(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=$z($o(this.document_).document_)}};
g.endDrag=function(a,b){this.eventHandler_.removeAll();this.useSetCapture_&&this.document_.releaseCapture();this.dragging_?(this.dragging_=!1,this.dispatchEvent(new SX("end",this,a.clientX,a.clientY,a,gyc(this,this.deltaX),hyc(this,this.deltaY),b||a.type=="touchcancel"))):this.dispatchEvent("earlycancel")};
g.handleMove_=function(a){var b=a.clientX-this.clientX,c=a.clientY-this.clientY;this.clientX=a.clientX;this.clientY=a.clientY;this.screenX=a.screenX;this.screenY=a.screenY;if(!this.dragging_){var d=this.startX-this.clientX,e=this.startY-this.clientY;if(d*d+e*e>0)if(this.dispatchEvent(new SX("start",this,a.clientX,a.clientY,a)))this.dragging_=!0;else{this.isDisposed()||this.endDrag(a);return}}c=iyc(this,b,c);b=c.x;c=c.y;this.dragging_&&this.dispatchEvent(new SX("beforedrag",this,a.clientX,a.clientY,
a,b,c))&&(jyc(this,a,b,c),a.preventDefault())};var iyc=function(a,b,c){var d=$z($o(a.document_).document_);b+=d.x-a.pageScroll.x;c+=d.y-a.pageScroll.y;a.pageScroll=d;a.deltaX+=b;a.deltaY+=c;return new Qr(gyc(a,a.deltaX),hyc(a,a.deltaY))};RX.prototype.onScroll_=function(a){var b=iyc(this,0,0);a.clientX=this.clientX;a.clientY=this.clientY;jyc(this,a,b.x,b.y)};
var jyc=function(a,b,c,d){a.target.style.left=c+"px";a.target.style.top=d+"px";a.dispatchEvent(new SX("drag",a,b.clientX,b.clientY,b,c,d))},gyc=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))},hyc=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))};RX.prototype.isDragging=function(){return this.dragging_};
var SX=function(a,b,c,d,e,f,h){Hz.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};Mt(SX,Hz);var TX=function(a){this.map_=new Map;var b=arguments.length;if(b>1){if(b%2)throw Error("$");for(var c=0;c<b;c+=2)this.set(arguments[c],arguments[c+1])}else a&&this.addAll(a)};g=TX.prototype;g.getCount=function(){return this.map_.size};g.getValues=function(){return Array.from(this.map_.values())};g.getKeys=function(){return Array.from(this.map_.keys())};g.containsKey=function(a){return this.map_.has(a)};g.containsValue=function(a){return this.getValues().some(function(b){return b==a})};
g.equals=function(a,b){var c=this;b=b===void 0?function(d,e){return d===e}:b;return this===a?!0:this.map_.size!=a.getCount()?!1:this.getKeys().every(function(d){return b(c.map_.get(d),a.get(d))})};g.isEmpty=function(){return this.map_.size==0};g.clear=function(){this.map_.clear()};g.remove=function(a){return this.map_.delete(a)};g.get=function(a,b){return this.map_.has(a)?this.map_.get(a):b};g.set=function(a,b){this.map_.set(a,b);return this};
g.addAll=function(a){if(a instanceof TX){a=l(a.map_);for(var b=a.next();!b.done;b=a.next()){var c=l(b.value);b=c.next().value;c=c.next().value;this.map_.set(b,c)}}else if(a)for(a=l(Object.entries(a)),b=a.next();!b.done;b=a.next())c=l(b.value),b=c.next().value,c=c.next().value,this.map_.set(b,c)};g.forEach=function(a,b){var c=this;b=b===void 0?this:b;this.map_.forEach(function(d,e){return a.call(b,d,e,c)})};g.clone=function(){return new TX(this)};(function(){for(var a=["ms","moz","webkit","o"],b,c=0;b=a[c]&&!Aa.requestAnimationFrame;++c)Aa.requestAnimationFrame=Aa[b+"RequestAnimationFrame"],Aa.cancelAnimationFrame=Aa[b+"CancelAnimationFrame"]||Aa[b+"CancelRequestAnimationFrame"];if(!Aa.requestAnimationFrame){var d=0;Aa.requestAnimationFrame=function(e){var f=(new Date).getTime(),h=Math.max(0,16-(f-d));d=f+h;return Aa.setTimeout(function(){e(f+h)},h)};Aa.cancelAnimationFrame||(Aa.cancelAnimationFrame=function(e){clearTimeout(e)})}})();
var kyc=[[],[]],lyc=0,myc=!1,nyc=0,pyc=function(a,b){var c=nyc++,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,kyc[lyc].push(d));myc||(myc=!0,window.requestAnimationFrame(oyc))}},oyc=
function(){myc=!1;var a=kyc[lyc],b=a.length;lyc=(lyc+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 qyc=Ah(xSb(new ju(vSb,"about:blank")));Ec(qyc);var ryc=Ah(xSb(new ju(vSb,"javascript:undefined")));Ec(ryc);var syc=function(a,b){this.element_=a;this.dom_=b};var UX=function(a,b){OX.call(this,b);this.useIframeMask_=!!a;this.lastFocus_=null;this.resizeBackgroundTask_=pyc({mutate:this.resizeBackground_},this);pyc({mutate:this.updateModalAndBackground_},this)};Mt(UX,OX);g=UX.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(){UX.superClass_.createDom.call(this);var a=this.getElement();dP(a,zi(this.getCssClass()).split(" "));a.tabIndex=0;jP(a,!1);tyc(this);uyc(this)};
var tyc=function(a){if(a.useIframeMask_&&!a.bgIframeEl_){var b=a.getDomHelper().createDom("IFRAME",{frameborder:0,style:"border:0;vertical-align:bottom;"});b.src=Ec(qyc).toString();a.bgIframeEl_=b;a.bgIframeEl_.className=a.getCssClass()+"-bg";jP(a.bgIframeEl_,!1);blc(a.bgIframeEl_,0)}a.bgEl_||(a.bgEl_=a.getDomHelper().createDom("DIV",a.getCssClass()+"-bg"),jP(a.bgEl_,!1))},uyc=function(a){a.tabCatcherElement_||(a.tabCatcherElement_=a.getDomHelper().createElement("SPAN"),jP(a.tabCatcherElement_,!1),
a.tabCatcherElement_.tabIndex=0,a.tabCatcherElement_.style.position="absolute")};g=UX.prototype;g.resetBackwardTabWrap_=function(){this.backwardTabWrapInProgress_=!1};g.canDecorate=function(a){return!!a&&a.tagName=="DIV"};g.decorateInternal=function(a){UX.superClass_.decorateInternal.call(this,a);a=zi(this.getCssClass()).split(" ");dP(this.getElement(),a);tyc(this);uyc(this);this.getElement().tabIndex=0;jP(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);UX.superClass_.enterDocument.call(this);a=this.tabCatcherElement_;b=this.getElement();b.parentNode&&b.parentNode.insertBefore(a,b.nextSibling);this.focusHandler_=new uxc(this.getDomHelper().document_);this.getHandler().listen(this.focusHandler_,"focusin",this.onFocus);vyc(this,!1)};
g.exitDocument=function(){this.isVisible()&&this.setVisible(!1);Nh(this.focusHandler_);UX.superClass_.exitDocument.call(this);bA(this.bgIframeEl_);bA(this.bgEl_);bA(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_&&vyc(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_);wyc(this,!0);this.focus();this.visible_=!0;if(this.popupShowTransition_&&this.bgShowTransition_)Lz(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_)Lz(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 vyc=function(a,b){a.modalAriaVisibilityHelper_||(a.modalAriaVisibilityHelper_=new syc(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_||cgc(d,"hidden")||(IN(d,"hidden",!0),a.hiddenElements_.push(d))}}else if(a.hiddenElements_){for(c=0;c<a.hiddenElements_.length;c++)a.hiddenElements_[c].removeAttribute("aria-hidden");a.hiddenElements_=null}};
UX.prototype.updateModalAndBackground_=function(){this.resizeBackground_();this.reposition()};var wyc=function(a,b){a.bgIframeEl_&&jP(a.bgIframeEl_,b);a.bgEl_&&jP(a.bgEl_,b);jP(a.getElement(),b);jP(a.tabCatcherElement_,b)};g=UX.prototype;g.onShow=function(){this.dispatchEvent("show")};g.onHide=function(){wyc(this,!1);this.dispatchEvent("hide")};g.isVisible=function(){return this.visible_};g.focus=function(){this.focusElement_()};
g.resizeBackground_=function(){this.bgIframeEl_&&jP(this.bgIframeEl_,!1);this.bgEl_&&jP(this.bgEl_,!1);var a=this.getDomHelper().document_;var b=xyc(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_&&(jP(this.bgIframeEl_,!0),alc(this.bgIframeEl_,c,a));this.bgEl_&&(jP(this.bgEl_,!0),alc(this.bgEl_,c,a))};
g.reposition=function(){if(iq(this.getElement(),"position")=="fixed")var a=0,b=0;else b=$z(this.getDomHelper().document_),a=b.x,b=b.y;var c=Rr(this.getElement());var d=xyc(this);a=Math.max(a+d.width/2-c.width/2,0);b=Math.max(b+d.height/2-c.height/2,0);Sr(this.getElement(),a,b);Sr(this.tabCatcherElement_,a,b)};g.onFocus=function(a){this.backwardTabWrapInProgress_?this.resetBackwardTabWrap_():a.target==this.tabCatcherElement_&&Cq(this.focusElement_,0,this)};g.focusElement_=function(){try{this.getElement().focus()}catch(a){}};
var xyc=function(a){a=a.getDomHelper().document_;return Yz(aA(a)||window)};UX.prototype.disposeInternal=function(){Nh(this.popupShowTransition_);this.popupShowTransition_=null;Nh(this.popupHideTransition_);this.popupHideTransition_=null;Nh(this.bgShowTransition_);this.bgShowTransition_=null;Nh(this.bgHideTransition_);this.bgHideTransition_=null;UX.superClass_.disposeInternal.call(this)};var XX=function(a,b,c){UX.call(this,b,c);this.class_=a||"modal-dialog";this.buttons_=VX(VX(new WX,yyc,!0),zyc,!1,!0)};Mt(XX,UX);g=XX.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_&&dA(this.titleTextEl_,a)};g.getTitle=function(){return this.title_};g.getContent=function(){return""};g.getContentElement=function(){this.getElement()||this.render();return this.contentEl_};var Ayc=function(a){a.getElement()||a.render();return a.getElement()};XX.prototype.getBackgroundElement=function(){this.getElement()||this.render();return XX.superClass_.getBackgroundElement.call(this)};
var Byc=function(a,b){a.backgroundElementOpacity_=b;a.getElement()&&(b=a.getBackgroundElement())&&blc(b,a.backgroundElementOpacity_)};XX.prototype.handleDrag=function(){};
var Cyc=function(a,b){var c=zi(a.class_+"-title-draggable").split(" ");a.getElement()&&(b?dP(a.titleEl_,c):Wkc(a.titleEl_,c));b&&!a.dragger_?(b=new RX(a.getElement(),a.titleEl_),a.dragger_=b,dP(a.titleEl_,c),Yo(a.dragger_,"start",a.setDraggerLimits_,!1,a),Yo(a.dragger_,"drag",a.handleDrag,!1,a)):!b&&a.dragger_&&(a.dragger_.dispose(),a.dragger_=null)};g=XX.prototype;
g.createDom=function(){XX.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"));t_b(a,this.titleEl_,this.contentEl_=b.createDom("DIV",{className:this.class_+"-content",id:c}),this.buttonEl_=
b.createDom("DIV",this.class_+"-buttons"));HN(this.titleTextEl_,"heading");HN(this.titleCloseEl_,"button");this.titleCloseEl_.tabIndex=0;dgc(this.titleCloseEl_,"Close");HN(a,"dialog");IN(a,"labelledby",this.titleTextId_||"");jP(this.titleCloseEl_,this.hasTitleCloseButton_);this.buttons_&&(a=this.buttons_,a.element_=this.buttonEl_,a.render());jP(this.buttonEl_,!!this.buttons_);Byc(this,this.backgroundElementOpacity_)};
g.decorateInternal=function(a){XX.superClass_.decorateInternal.call(this,a);a=this.getElement();var b=this.class_+"-content";this.contentEl_=Xz(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_=Xz(document,null,b,a)[0])?(this.titleTextEl_=Xz(document,null,c,this.titleEl_)[0],this.titleCloseEl_=Xz(document,null,d,this.titleEl_)[0]):
(this.titleEl_=this.getDomHelper().createDom("DIV",b),a.insertBefore(this.titleEl_,this.contentEl_));this.titleTextEl_?(this.title_=A_b(this.titleTextEl_),this.titleTextEl_.id||(this.titleTextEl_.id=this.getId())):(this.titleTextEl_=r_b("SPAN",{className:c,id:this.getId()}),this.titleEl_.appendChild(this.titleTextEl_));this.titleTextId_=this.titleTextEl_.id;IN(a,"labelledby",this.titleTextId_||"");this.titleCloseEl_||(this.titleCloseEl_=this.getDomHelper().createDom("SPAN",d),this.titleEl_.appendChild(this.titleCloseEl_));
jP(this.titleCloseEl_,this.hasTitleCloseButton_);b=this.class_+"-buttons";(this.buttonEl_=Xz(document,null,b,a)[0])?(this.buttons_=new WX(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()),jP(this.buttonEl_,!!this.buttons_));Byc(this,this.backgroundElementOpacity_)};
g.enterDocument=function(){XX.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_);Cyc(this,!0);this.getHandler().listen(this.titleCloseEl_,"click",this.onTitleCloseClick_);var a=this.getElement();HN(a,"dialog");this.titleTextEl_.id!==""&&IN(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()&&vyc(this,!1)}};g.exitDocument=function(){this.isVisible()&&this.setVisible(!1);Cyc(this,!1);XX.superClass_.exitDocument.call(this)};g.setVisible=function(a){a!=this.isVisible()&&(this.inDocument_||this.render(),XX.superClass_.setVisible.call(this,a))};g.onShow=function(){XX.superClass_.onShow.call(this);this.dispatchEvent("aftershow")};
g.onHide=function(){XX.superClass_.onHide.call(this);this.dispatchEvent("afterhide");this.disposeOnHide_&&this.dispose()};g.setDraggerLimits_=function(){var a=this.getDomHelper().document_,b=Yz(aA(a)||window),c=Math.max(a.body.scrollWidth,b.width);a=Math.max(a.body.scrollHeight,b.height);var d=Rr(this.getElement());iq(this.getElement(),"position")=="fixed"?this.dragger_.limits=new fP(0,0,Math.max(0,b.width-d.width),Math.max(0,b.height-d.height)):this.dragger_.limits=new fP(0,0,c-d.width,a-d.height)};
g.onTitleCloseClick_=function(){Dyc(this)};var Dyc=function(a){if(a.hasTitleCloseButton_){var b=a.buttons_,c=b&&b.cancelButton_;c?(b=b.get(c),a.dispatchEvent(new Eyc(c,b))&&a.setVisible(!1)):a.setVisible(!1)}},Fyc=function(a){a.hasTitleCloseButton_=!1;a.titleCloseEl_&&jP(a.titleCloseEl_,a.hasTitleCloseButton_)};XX.prototype.setDisposeOnHide=function(a){this.disposeOnHide_=a};XX.prototype.disposeInternal=function(){this.buttonEl_=this.titleCloseEl_=null;XX.superClass_.disposeInternal.call(this)};
XX.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 Eyc(a,b))&&this.setVisible(!1)}};
XX.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 Eyc(f,b))):e||(b=!0)}else{if(a.keyCode==9&&a.shiftKey&&e==this.getElement()){this.backwardTabWrapInProgress_=!0;try{this.tabCatcherElement_.focus()}catch(w){}Cq(this.resetBackwardTabWrap_,0,this)}}else if(a.keyCode==13){if(e.tagName=="BUTTON"&&!e.disabled)f=e.name;
else if(e==this.titleCloseEl_)Dyc(this);else if(d){var h=d.defaultButton_,k;if(k=h)a:{k=Wz("BUTTON",d.element_);for(var q=0,t;t=k[q];q++)if(t.name==h||t.id==h){k=t;break a}k=null}e=(e.tagName=="TEXTAREA"||e.tagName=="SELECT"||e.tagName=="A")&&!e.disabled;!k||k.disabled||e||(f=h)}f&&d&&(c=!0,b=this.dispatchEvent(new Eyc(f,String(d.get(f)))))}else e!=this.titleCloseEl_||a.keyCode!=32&&a.key!=" "||Dyc(this);if(b||c)a.stopPropagation(),a.preventDefault();b&&this.setVisible(!1)};
var Eyc=function(a,b){this.type="dialogselect";this.key=a;this.caption=b};Mt(Eyc,Hz);var WX=function(a){TX.call(this);this.dom_=a||$o();this.class_="goog-buttonset";this.cancelButton_=this.element_=this.defaultButton_=null};Mt(WX,TX);WX.prototype.clear=function(){TX.prototype.clear.call(this);this.defaultButton_=this.cancelButton_=null};WX.prototype.set=function(a,b,c,d){TX.prototype.set.call(this,a,b);c&&(this.defaultButton_=a);d&&(this.cancelButton_=a);return this};
var VX=function(a,b,c,d){return a.set(b.key,b.caption,c,d)};WX.prototype.render=function(){if(this.element_){WMa(this.element_,Ar);var a=$o(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)}};
WX.prototype.decorate=function(a){if(a&&a.nodeType==1){this.element_=a;a=Wz("BUTTON",this.element_);for(var b=0,c,d,e;c=a[b];b++)if(d=c.name||c.id,e=A_b(c)||c.value,d){var f=b==0;this.set(d,e,f,c.name=="cancel");f&&Ukc(c,this.class_+"-default")}}};WX.prototype.getElement=function(){return this.element_};WX.prototype.getDomHelper=function(){return this.dom_};
var yyc={key:"ok",caption:"OK"},zyc={key:"cancel",caption:"Cancel"},Gyc={key:"yes",caption:"Yes"},Hyc={key:"no",caption:"No"},Iyc={key:"save",caption:"Save"},Jyc={key:"continue",caption:"Continue"};typeof document!="undefined"&&(VX(new WX,yyc,!0,!0),VX(VX(new WX,yyc,!0),zyc,!1,!0),VX(VX(new WX,Gyc,!0),Hyc,!1,!0),VX(VX(VX(new WX,Gyc),Hyc,!0),zyc,!1,!0),VX(VX(VX(new WX,Jyc),Iyc),zyc,!0,!0));var Kyc=function(a,b,c){XX.call(this,a,b,c)};Mt(Kyc,XX);var gq=function(a,b){Xo.call(this);this.element_=a;a=cA(this.element_)?this.element_:this.element_?this.element_.body:null;this.isRtl_=!!a&&kP(a);this.listenKey_=Yo(this.element_,Ot?"DOMMouseScroll":"mousewheel",this,b)};Mt(gq,Xo);
gq.prototype.handleEvent=function(a){var b=0,c=0,d=a.event_;d.type=="mousewheel"?(a=Lyc(-d.wheelDelta),d.wheelDeltaX!==void 0?(b=Lyc(-d.wheelDeltaX),c=Lyc(-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 Myc(a,d,b,c);this.dispatchEvent(b)};
var Lyc=function(a){return Pt&&(Zr||GRb)&&a%40!=0?a:a/40};gq.prototype.disposeInternal=function(){gq.superClass_.disposeInternal.call(this);Oz(this.listenKey_);this.listenKey_=null};var Myc=function(a,b,c,d){Iz.call(this,b);this.type="mousewheel";this.detail=a;this.deltaX=c;this.deltaY=d};Mt(Myc,Iz);var Nyc;var Oyc=Bt(["https://about:blank"]),Pyc=Bt(['javascript:""']),Qyc=Bt(["about:blank"]),YX=function(a,b,c,d,e,f,h,k,q){k=k===void 0?!1:k;q=q===void 0?!1:q;XX.call(this,f?f+" picker modal-dialog":"picker modal-dialog",!0,c);Mbc(a,"protocol");this.iframeManager_=new Yxc;this.targetId_=nu();this.rpcToken_=nu();a=fK(a);dK(a,"hostId");c=dK(a,"parent");this.useGapi_=!q&&!0||(c==null?void 0:c.includes("onepick.corp.google.com"));k&&cK(a,"fv2","true");this.setUrl(a.toString());this.preferredDialogWidth_=d;
this.preferredDialogHeight_=e;d!==void 0||e!==void 0?d=!0:(d=dK(fK(a.toString()),"hostId"),Nyc||(Nyc=new Set("DocVerse fusiontables geo geowiki gm gmail-gadget gws hotpot jointly presentations pwa sites templates trix trix-copy-sheet webstore".split(" "))),d=!Nyc.has(d));this.autoSizeDialog_=d;this.gadgetsDomHelper_=h||this.getDomHelper();b&&(h=this.gadgetsDomHelper_,b=dK(fK(this.url_),"grugl")=="true"?txc:sxc,k5a(h)||(h=h||$o(document),d=h.createElement("SCRIPT"),Fc(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):Nt(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()):WMa(this.buttonEl_,Ar),jP(this.buttonEl_,!!this.buttons_))};Mt(YX,Kyc);g=YX.prototype;g.url_="";g.iframe_=null;g.iframeLoaded_=!1;g.loadedFired_=!1;g.callback_=function(){};
g.enterDocument=function(){YX.superClass_.enterDocument.call(this);o5a(this.getBackgroundElement(),this.getHandler())};g.render=function(a){var b=this;YX.superClass_.render.call(this,a);this.useGapi_?Zxc(this.iframeManager_,window).then(function(){return Ryc(b)}).then(null,function(c){return void b.handleError_(c)}):Syc(this)};
var Ryc=function(a){var b=a.getDomHelper().createDom("div",["picker-dialog-content","picker-frame"]);jP(b,!1);a.getContentElement().appendChild(b);return $xc(a.iframeManager_,b,function(c){var d=zZb(c["iframe-command"]);switch(d.getCommand()){case 1:c=a.callback_;d=$i(d,xZb,2);var e="";switch(d.getStatus()){case 2:e="cancel";break;case 1:e="picked";break;case 3:e="error"}var f=d.getItemList(Pi);d=f.length===0?{action:e}:Hxc(f,e,d.getInternalOnlyV1ViewInfo());c.call(a,d);a.setVisible(!1);break;case 4:Fyc(a),
a.callback_({action:"loaded"})}},a.url_,a.targetId_,a.rpcToken_).then(function(c){a.iframe_=c.getIframeEl();Tyc(a);jP(a.iframe_.parentElement,!0);Ukc(a.getElement(),"picker-dialog");Uyc(a);return c})},Syc=function(a){a.iframe_=a.dom_.createDom("IFRAME",{id:a.targetId_,name:a.targetId_,"class":"picker-frame",frameBorder:"0",allow:"camera"});oea(a.iframe_,Vyc(a));Ukc(a.getElement(),"picker-dialog");a.getContentElement().appendChild(a.iframe_);a.getHandler().listen(a.iframe_,"load",function(){return void Tyc(a)});
a.iframe_.src=a.url_;Uyc(a)},Xyc=function(a){Wyc(a,Kt(function(b){b.setAuthToken(this.targetId_,this.rpcToken_)},a))},Uyc=function(a){var b=dK(fK(a.url_),"title");b&&a.setTitle(b)},Vyc=function(a){return yba()>=7&&a.url_.lastIndexOf("https",0)==0?Bh(Oyc):ls?Bh(Pyc):Bh(Qyc)},Tyc=function(a){Xyc(a);a.iframeLoaded_=!0;a.iframe_.tabIndex=0;a.isVisible()&&a.focus()};YX.prototype.handleKeydown_=function(a){a.keyCode==27&&(this.setVisible(!1),this.callback_({action:"cancel"}),a.stopPropagation(),a.preventDefault())};
var Wyc=function(a,b){var c=a.gadgetsDomHelper_;m5a(function(){b(c.getWindow().gadgets.rpc)},c)};YX.prototype.setUrl=function(a){a=cK(new bp(a),"rpcService",this.targetId_);cK(a,"rpctoken",this.rpcToken_);ZJ(a,"rpctoken="+this.rpcToken_);XJ(a,"https");this.url_=a.toString();this.iframe_&&(this.iframe_.src=this.url_)};YX.prototype.setAppId=function(a){this.appId_=a;this.loadedFired_&&Yyc(this)};
YX.prototype.setCallback=function(a){this.callback_=a;Wyc(this,Kt(function(b){b.register(this.targetId_,Kt(this.handlePickerAction_,this))},this))};YX.prototype.handlePickerAction_=function(a){var b=a.action;b=="loaded"&&(this.loadedFired_=!0,this.sendCommand(new pxc(this.isVisible())),Yyc(this),Fyc(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 Yyc=function(a){a.appId_&&a.sendCommand(new j5a(a.appId_,window.location.protocol+"//"+window.location.host))};g=YX.prototype;g.setRelayUrl=function(a){Wyc(this,Kt(function(b){b.setRelayUrl(this.targetId_,a)},this))};g.sendCommand=function(a){var b=this;this.useGapi_&&eyc(a,this.iframeManager_).then(null,function(c){return void b.handleError_(c)});Wyc(this,Kt(function(c){c.call(this.targetId_,"picker",null,a)},this))};
g.resizePicker_=function(){var a=this.getDomHelper().document_;a=aA(a)||window;if(dK(fK(this.url_),"ignoreLimits")=="true")a=new Sz(this.preferredDialogWidth_,this.preferredDialogHeight_);else if(dK(fK(this.url_),"shadeDialog")=="true"){var b=elc(Ayc(this)),c=Yz(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 Sz(a>0?a:0,c>0?c:0)}else{b=this.preferredDialogWidth_;if(b){b=Math.max(320,Math.min(1051,b));c=this.preferredDialogHeight_;
c||(c=Yz(a),c=c.height*.85);var d=Math.max(480,Math.min(650,c))}else c=Yz(a),b=c.width*.618,d=b<c.height?Math.round(Math.max(480,Math.min(650,b*.85))):Math.round(Math.max(480,Math.min(650,c.height*.85))),b=Math.round(d/.618);c=Yz(a);b=Math.min(b,Math.max(c.width,320));d=Math.min(d,Math.max(c.height,480));a=new Sz(b,d)}alc(this.getContentElement(),a);this.reposition()};
g.reposition=function(){if(dK(fK(this.url_),"shadeDialog")=="true"){var a=Rr(this.getElement()),b=Yz(this.getDomHelper().getWindow());a=Math.floor(b.width/2-a.width/2);if(b=elc(Ayc(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=$z(this.getDomHelper().document_).y;Sr(this.getElement(),a,b)}else YX.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_))}YX.superClass_.setVisible.call(this,a);this.sendCommand(new pxc(a))};
g.focus=function(){YX.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 ZX=function(a,b){b=b===void 0?YX:b;lxc.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};X(ZX,mxc);ZX.prototype.disposeOnHide_=!1;
ZX.prototype.build=function(){this.urlParamMap_.get("parent")||this.setRelayUrl(ZJ(YJ(fK(window.location.href)),"").setPath("/favicon.ico").toString());this.urlParamMap_.set("ifls",Date.now());if(this.urlParamMap_.get("minimal"))throw Error("Ee");var a=new this.pickerConstructor(Zyc(this).toString(),!0,this.getDomHelper(),this.dialogWidth_,this.dialogHeight_,"",this.gadgetsDomHelper_,!1,!1);a.setDisposeOnHide(this.disposeOnHide_);a.setAppId(this.appId_);a.setCallback(this.callback_);return a};
var $yc=function(a,b){a.urlParamMap_.set(b,"true");return a};g=ZX.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 azc=function(a){a.urlParamMap_.set("hostId","buganizer-drive");return a};g=ZX.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 Zyc=function(a){a.postProcessors_.length&&a.urlParamMap_.set("pp",JSON.stringify(a.postProcessors_));a.urlParamMap_.set("nav",jxc(a.nav_));var b=new bp(a.getBaseUrl());a.urlParamMap_.forEach(function(c,d){cK(b,d,c)});return b};var $X=function(a,b){this.activeSession=a;this.attachmentsApi=b;this.disabled=!1;this.onPickDoc=new XF;this.onCloneBlob=new XF;this.onePickUrl=a.getOnePickUrl();this.onePickSecretToken=a.getOnePickSecretToken()};
$X.prototype.showDialog=function(){var a=this;if(!this.drivePicker){var b=window.location.origin||window.location.protocol+"//"+window.location.host;this.drivePicker=azc($yc($yc($yc($yc((new ZX(this.onePickUrl)).addView(cxc().setMode("list")),"navHidden"),"multiselectEnabled"),"edbe"),"showAttach").setCallback(function(c){if(c&&c.action==="picked")for(var d=l(c.docs),e=d.next();!e.done;e=d.next())e=new $wc(e.value),c.extraUserInputs.isAttachment?(e=new axc(e),bxc(e,a.attachmentsApi),a.onCloneBlob.emit(e)):
a.onPickDoc.emit(e)}).setOrigin(b)).build()}this.drivePicker.setVisible(!0)};$X.\u0275fac=function(a){return new (a||$X)(A(Ir),A(RI))};
$X.\u0275cmp=p({type:$X,selectors:[["b-drive-attachment"]],inputs:{disabled:"disabled"},outputs:{onPickDoc:"onPickDoc",onCloneBlob:"onCloneBlob"},decls:3,vars:1,consts:[[1,"goog-inline-block","vertical-centered"],["mat-icon-button","","matTooltip","Add Drive attachments","aria-label","Add Drive attachments",3,"click","disabled"],["svgIcon","google-drive"]],template:function(a,b){a&1&&(F(0,"div",0)(1,"button",1),M("click",function(){return b.showDialog()}),H(2,"mat-icon",2),G()());a&2&&(z(),D("disabled",
b.disabled))},dependencies:[zB,IH,Tx,LH,OH],encapsulation:2});var aY=function(a,b,c){Z.call(this);this.window=b;this.scrolledOnScreenService=c;this.onAutoResize=new XF;this.el=a.nativeElement;this.cloneEl=this.el.cloneNode();this.cloneEl.removeAttribute("id");this.cloneEl.removeAttribute("name");this.cloneEl.removeAttribute("aria-label");this.cloneEl.setAttribute("aria-hidden","");this.cloneEl.removeAttribute("data-stable");this.cloneEl.setAttribute("data-cloned-for-auto-resize","");this.cloneEl.style.height="auto";this.cloneEl.style.visibility="hidden";this.cloneEl.style.position=
"absolute";this.cloneEl.style.left="0";this.cloneEl.style.top="0";this.cloneEl.style.zIndex="-9999";this.cloneEl.style.overflowY="hidden";this.window.document.body.appendChild(this.cloneEl)};X(aY,Z);aY.prototype.ngOnInit=function(){var a=this;this.subscriptions.add(this.scrolledOnScreenService.getObservable(this.el,!0).subscribe(function(b){b&&bzc(a,0)}));this.autoResize&&this.subscriptions.add(this.autoResize.subscribe(function(){bzc(a,2)}))};aY.prototype.onInput=function(){bzc(this,1)};
var bzc=function(a,b){for(var c=a.window.getComputedStyle(a.el),d=l("width max-height min-height font-family text-decoration letter-spacing".split(" ")),e=d.next();!e.done;e=d.next())e=e.value,a.cloneEl.style.setProperty(e,c.getPropertyValue(e));a.cloneEl.value=a.el.value;d=a.window.getComputedStyle(a.cloneEl);c=a.cloneEl;c=io(d.getPropertyValue("border-top-width"))+io(d.getPropertyValue("padding-top"))+c.scrollHeight+io(d.getPropertyValue("padding-bottom"))+io(d.getPropertyValue("border-bottom-width"))+
24;Number.isNaN(c)||(e=io(d.getPropertyValue("max-height")),d=io(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})))};aY.prototype.ngOnDestroy=function(){this.cloneEl.parentElement&&this.cloneEl.parentElement.removeChild(this.cloneEl);Z.prototype.ngOnDestroy.call(this)};aY.\u0275fac=function(a){return new (a||aY)(A(Rd),A(EH),A(fM))};
aY.\u0275dir=fd({type:aY,selectors:[["textarea","autoResize",""]],hostBindings:function(a,b){a&1&&M("input",function(){return b.onInput()})},inputs:{autoResize:"autoResize"},outputs:{onAutoResize:"onAutoResize"},features:[zf]});var czc=["textarea"],dzc=["hiddenInput"],ezc=["autocompleteUnderlay"],fzc=Symbol(),bY=function(a,b,c){Z.call(this);this.codefont=a;this.activeSession=b;this.window=c;this.textareaClass=[];this.disabled=!1;this.contentChange=new XF;this.focus=new XF;this.blur=new XF;this.autoResize=new XF;this.manualResize$=new XF;this.autocompleteUserName="";this.scrollPosition=this.autocompleteLeft=this.autocompleteTop=0;this.taggingInProgress=!1;this.wordInfo={wordStart:0,wordEnd:0,word:""};this.textAreaLastAtSymbolLocation=
this.textAreaLastCursorLocation=0};X(bY,Z);bY.\u0275dir=Z.\u0275dir;bY.prototype.ngOnInit=function(){var a=this;this.subscriptions.add(this.codefont.codefont$.subscribe(function(b){b?jq(a).classList.add("codefont"):jq(a).classList.remove("codefont")}))};bY.prototype.ngOnDestroy=function(){Z.prototype.ngOnDestroy.call(this);this.focus.complete();this.blur.complete();this.manualResize$.complete()};bY.prototype.setValue=function(a){jq(this).value!==a&&(jq(this).value=a,this.manualResize$.next())};
bY.prototype.getValue=function(){return jq(this).value};var jq=function(a){return a.textareaRef.nativeElement},kq=function(a){var b;return(b=a.hiddenInputRef)==null?void 0:b.nativeElement},q5a=function(a){return a.activeSession.isInternalSession()&&a.audience==="INTERNAL"},gzc=function(a){var b;return(b=a.autocompleteUnderlayRef)==null?void 0:b.nativeElement},hzc=function(a){var b=jq(a).selectionStart;a.wordInfo=a.findWord(a.getValue(),b)};
bY.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 izc=function(a){return a.key==="ArrowDown"||a.key==="ArrowUp"||a.key==="Enter"||a.key==="Escape"||a.key==="Tab"},jzc=function(a){var b=gzc(a);a=jq(a);b&&a&&(b.scrollTop=a.scrollTop)},r5a=function(a){a.taggingInProgress=!1;a.autocompleteUserName=""},s5a=function(a,b){b=b===void 0?!1:b;var c=jq(a),d=jq(a).value,e,f=(e=kq(a))==null?void 0:e.value;e=f==null?void 0:f.length;hzc(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};bY.prototype[fzc]=function(){return this.findWord};bY.\u0275fac=function(a){return new (a||bY)(A(UH),A(Ir),A(EH))};
bY.\u0275cmp=p({type:bY,selectors:[["b-comment-draft-textarea"]],viewQuery:function(a,b){a&1&&(fg(czc,7),fg(dzc,5),fg(ezc,5));if(a&2){var c;jg(c=kg())&&(b.textareaRef=c.first);jg(c=kg())&&(b.hiddenInputRef=c.first);jg(c=kg())&&(b.autocompleteUnderlayRef=c.first)}},hostBindings:function(a,b){a&1&&M("click",function(){r5a(b)},!1,Gga)("keyup",function(c){var d=c.key;c=c.target.classList.contains("autocomplete-hidden-input");d==="Escape"&&c&&(r5a(b),jq(b).focus())},!1,Gga)},inputs:{textareaClass:"textareaClass",
disabled:"disabled",placeholder:"placeholder",idForAriaLabel:"idForAriaLabel",audience:"audience"},outputs:{contentChange:"contentChange",focus:"focus",blur:"blur",autoResize:"autoResize"},features:[zf],decls:7,vars:11,consts:[["commentBoxContainer",""],["textarea",""],["hiddenInput",""],["autocompleteUnderlay",""],[1,"pos-rel","comment-box-container",3,"keydown"],["aria-label","Comment box - add your comment","cdkFocusInitial","",3,"input","focus","blur","onAutoResize","keydown","keyup","scroll",
"autoResize","ngClass","disabled"],[1,"autocomplete-input-container"],["type","text","bContactAutocomplete","SINGLE","class","autocomplete-hidden-input","tabIndex","-1","aria-hidden","true",3,"value","change","keyup",4,"ngIf"],["class","autocomplete-underlay","contentEditable","true",4,"ngIf"],["type","text","bContactAutocomplete","SINGLE","tabIndex","-1","aria-hidden","true",1,"autocomplete-hidden-input",3,"change","keyup","value"],["contentEditable","true",1,"autocomplete-underlay"]],template:function(a,
b){if(a&1){var c=u();F(0,"div",4,0);M("keydown",function(d){v(c);d.key==="Escape"&&(r5a(b),jq(b).focus());return x()});F(2,"textarea",5,1);M("input",function(){v(c);b.contentChange.emit(b.getValue());return x()})("focus",function(d){v(c);return x(b.focus.emit(d))})("blur",function(d){v(c);return x(b.blur.emit(d))})("onAutoResize",function(d){v(c);return x(b.autoResize.emit(d))})("keydown",function(d){v(c);if(q5a(b)&&izc(d)&&b.taggingInProgress){d==null||d.preventDefault();var e;(e=kq(b))==null||e.focus();
e=d.code;var f=d.key,h=d.keyCode,k=d.which;d=new KeyboardEvent("keydown",{charCode:d.charCode,metaKey:d.metaKey,type:d.type,code:f==="Enter"?"Tab":e,key:f==="Enter"?"Tab":f,keyCode:f==="Enter"?9:h,which:f==="Enter"?9:k});var q;(q=kq(b))==null||q.dispatchEvent(d)}return x()})("keyup",function(d){v(c);if(q5a(b)){var e=jq(b),f=e==null?void 0:e.value;b.textAreaLastCursorLocation=e.selectionStart;b.textAreaLastAtSymbolLocation=f.slice(0,b.textAreaLastCursorLocation).lastIndexOf("@");if(!izc(d)){d=d.target;
b.scrollPosition=d.scrollTop;hzc(b);var h=b.wordInfo.word;e=h==="@";f=h.startsWith("@");var k=h.slice(h.length-1).match(/[a-z]/i);h=rAa.test(h.slice(1));if(e||f&&k&&!h){d=d.selectionStart;if(!b.taggingInProgress){if(e=gzc(b)){e.textContent=b.getValue();f=gzc(b);k=jq(b);h="height width font-family margin line-height padding border".split(" ");if(f&&k){k=b.window.getComputedStyle(k);h=l(h);for(var q=h.next();!q.done;q=h.next()){q=q.value;var t=k.getPropertyValue(q);f.style.setProperty(q,t)}}jzc(b)}e=
e==null?void 0:e.firstChild;f=e==null?void 0:e.textContent;e&&f&&d&&(f=new Range,f.setStart(e,d),f.setEnd(e,d),d=document.createElement("span"),f.deleteContents(),f.insertNode(d),e=d.getBoundingClientRect(),b.autocompleteTop=e.top,b.autocompleteLeft=e.left,d.remove())}b.taggingInProgress=!0}else b.taggingInProgress=!1;if(b.taggingInProgress){b.autocompleteUserName=b.wordInfo.word.slice(1);var w;(w=kq(b))==null||w.dispatchEvent(new KeyboardEvent("keydown"))}}}return x()})("scroll",function(){v(c);
return x(jzc(b))});G();F(4,"span",6);C(5,t5a,2,1,"input",7);G();C(6,u5a,2,0,"div",8);G()}a&2&&(z(2),D("autoResize",b.manualResize$)("ngClass",b.textareaClass)("disabled",b.disabled),Bf("placeholder",b.placeholder)("id",b.idForAriaLabel),z(2),Jf("top",b.autocompleteTop+"px")("left",b.autocompleteLeft+"px"),z(),D("ngIf",b.taggingInProgress),z(),D("ngIf",q5a(b)))},dependencies:[Ev,Gv,rP,aY],styles:["textarea.banned-words-warning[_ngcontent-%COMP%]{border-color:#c5221f;border-color:var(--bad-gfx)}/*# sourceMappingURL=comment_draft_textarea.css.map */"],
changeDetection:0});var kzc=function(a){return{"draft-markdown":a}},cY=function(a,b,c){Z.call(this);var d=this;this.cdr=a;this.ref=b;this.events=c;this.previewDisabled=!1;this.selectedIndex=0;this.onCommentSubmitted=function(){d.matTabGroup.selectedIndex=0};this.render=function(){var e=d.matTabGroup;e._tabHeader&&e._tabHeader._alignInkBarToSelectedTab();d.cdr.markForCheck()}};X(cY,Z);cY.\u0275dir=Z.\u0275dir;cY.prototype.ngOnInit=function(){this.subscriptions.add(this.events.commentSubmitted.subscribe(this.onCommentSubmitted))};
cY.prototype.synchronizeHeight=function(a){this.ref.nativeElement.querySelector("mat-tab-group").style.height=a+56+"px"};cY.\u0275fac=function(a){return new (a||cY)(A(YF,2),A(Rd),A(yE))};
cY.\u0275cmp=p({type:cY,selectors:[["b-comment-draft-tab-group"]],viewQuery:function(a,b){a&1&&fg(CM,7);if(a&2){var c;jg(c=kg())&&(b.matTabGroup=c.first)}},inputs:{editArea:"editArea",previewArea:"previewArea",previewDisabled:"previewDisabled"},features:[qg([YF]),zf],decls:5,vars:5,consts:[[1,"small","no-border",3,"animationDone","selectedIndexChange","dynamicHeight","selectedIndex"],["label","Edit"],[4,"ngTemplateOutlet"],["label","Preview",3,"disabled"]],template:function(a,b){a&1&&(F(0,"mat-tab-group",
0),M("animationDone",function(){setTimeout(b.render,2E3)})("selectedIndexChange",function(c){return b.selectedIndex=c}),F(1,"mat-tab",1),C(2,v5a,1,0,"ng-container",2),G(),F(3,"mat-tab",3),C(4,w5a,1,0,"ng-container",2),G()());a&2&&(D("dynamicHeight",!1)("selectedIndex",b.selectedIndex),z(2),D("ngTemplateOutlet",b.editArea),z(),D("disabled",b.previewDisabled),z(),D("ngTemplateOutlet",b.previewArea))},dependencies:[Kv,HM,BM,CM],styles:["[_nghost-%COMP%]     mat-tab-header{margin-left:8px;margin-bottom:16px}/*# sourceMappingURL=comment_draft_tab_group.css.map */"],
changeDetection:0});var dY=function(a,b,c,d){Z.call(this);this.codefont=a;this.ngZone=b;this.prefs=c;this.hotkeys=d;this.isMarkdown$=this.prefs.lastPublishMode$.pipe(y(function(e){return e===J4b}));this.idPrefix="b-draft";this.content="";this.textareaClass=[];this.disabled=!1;this.audience="EXTERNAL";this.init=new XF;this.contentChange=new XF;this.focus=new XF;this.blur=new XF;this.autoResize=new XF;this.onSubmit=new XF};X(dY,Z);dY.\u0275dir=Z.\u0275dir;
dY.prototype.ngOnChanges=function(){this.commentDraftTextarea&&this.commentDraftTextarea.setValue(this.content)};
dY.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 lzc=function(a){a.ngZone.run(function(){if(a.commentDraftTabGroup){var b=a.commentDraftTabGroup;b.selectedIndex=0;b.render()}a.commentDraftTextarea&&jq(a.commentDraftTextarea).focus()})};dY.prototype.synchronizeHeight=function(a){this.commentDraftTabGroup&&this.commentDraftTabGroup.synchronizeHeight(a.newHeight)};dY.\u0275fac=function(a){return new (a||dY)(A(UH),A(ze),A(rH),A(KN))};
dY.\u0275cmp=p({type:dY,selectors:[["b-comment-draft"]],viewQuery:function(a,b){a&1&&(fg(bY,5),fg(cY,5));if(a&2){var c;jg(c=kg())&&(b.commentDraftTextarea=c.first);jg(c=kg())&&(b.commentDraftTabGroup=c.first)}},inputs:{content:"content",textareaClass:"textareaClass",disabled:"disabled",placeholder:"placeholder",audience:"audience",idForAriaLabel:"idForAriaLabel"},outputs:{init:"init",contentChange:"contentChange",focus:"focus",blur:"blur",autoResize:"autoResize",onSubmit:"onSubmit"},features:[zf,
td],decls:2,vars:10,consts:[[3,"autoResize","keydown.control.enter","keydown.meta.enter","textareaClass","ngClass","disabled","placeholder","idForAriaLabel","audience"]],template:function(a,b){a&1&&(F(0,"b-comment-draft-textarea",0),T(1,"async"),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()}),G());a&2&&D("textareaClass",b.textareaClass)("ngClass",
ug(8,kzc,V(1,6,b.isMarkdown$)))("disabled",b.disabled)("placeholder",b.placeholder)("idForAriaLabel",b.idForAriaLabel)("audience",b.audience)},dependencies:[Ev,bY,Lv],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 eY=function(){};eY.\u0275fac=function(a){return new (a||eY)};eY.\u0275mod=dd({type:eY});eY.\u0275inj=Ic({imports:[jM,BB,sP,My,yx,DH,hM,qM,JM,dJ,aM]});var fY=function(a,b,c){Z.call(this);this.issueDetailsBrain=a;this.userResources=b;this.analytics=c;this.isPlusOneText=!1;this.onSubmitComment=new XF};X(fY,Z);fY.\u0275dir=Z.\u0275dir;fY.prototype.ngOnChanges=function(a){a.isPlusOneText&&this.isPlusOneText&&this.analytics.trackEvent("editIssue","view","commentAndVoteBanner")};
fY.prototype.onClick=function(a){var b=fo(this.issueDetailsBrain.id$);this.onSubmitComment.emit(a);b!=null&&(e7b(this.userResources,b,{voted:!0,starred:null,notificationSubscription:null}).pipe(qf(this.destroyed$)).subscribe(),this.analytics.trackEvent("editIssue","click","commentAndVote"))};fY.\u0275fac=function(a){return new (a||fY)(A(qJ),A($E),A(bG))};
fY.\u0275cmp=p({type:fY,selectors:[["b-plus-one-comment-callout"]],inputs:{isPlusOneText:"isPlusOneText"},outputs:{onSubmitComment:"onSubmitComment"},features:[zf,td],decls:1,vars:1,consts:[["class","callout",4,"ngIf"],[1,"callout"],["svgIcon","info",1,"info-icon",3,"matTooltip"],["role","alert",1,"content"],[1,"actions"],["mat-flat-button","","color","primary",3,"click"]],template:function(a,b){a&1&&C(0,x5a,7,1,"div",0);a&2&&D("ngIf",b.isPlusOneText)},dependencies:[Gv,zB,oE,LH,OH],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 mzc=["commentBoxContainer"],nzc=[[["","warning",""]],[["","recaptchaContainer",""]],[["","additionalToolbarItems",""]]],ozc=function(a){return{focused:a}},pzc=function(a,b){return[a,b]},gY=function(a,b,c,d){this.analytics=a;this.hotkeys=b;this.activeSession=c;this.appEvents=d;this.MARKDOWN="MARKDOWN";this.commentChange=new XF;this.warn=this.disabled=this.supportsPreview=!1;this.showToolbar=!0;this.attachmentsDisabled=!1;this.showRestrictionOptions=!0;this.isPlusOneCalloutEnabled=!1;this.onPlusOneTextEntered=
new XF;this.onChange=new XF;this.onFocusEvent=new XF;this.onSubmit=new XF;this.onRestrict=new XF;this.focused=!1;this.commentRebound$=new W.ReplaySubject(1);this.destroyed$=new W.ReplaySubject(1);this.currentTracker=this.activeSession.getTracker();this.createRestrictedResourcesComponentIds=this.activeSession.getCreateRestrictedSubresourcesComponentIds()};g=gY.prototype;g.ngOnDestroy=function(){var a;(a=this.comment)==null||Aac(a);this.destroyed$.next()};
g.ngOnInit=function(){var a=this;this.appEvents.focusCommentBox.pipe(qf(this.destroyed$)).subscribe(function(b){szb(a,b)});this.appEvents.scrollToCommentBox.pipe(qf(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 ZFa(c)};
g.isRestricted=function(){var a,b;return((b=(a=this.judgementForNewContent)==null?void 0:a.severity)!=null?b:"NONE_DETECTED")!=="NONE_DETECTED"};var szb=function(a,b){(b=b===void 0?"":b)&&a.analytics.trackEvent("commentBox","takeFocus",b);a.scrollIntoView();setTimeout(function(){var c;(c=a.commentDraftComponent)==null||lzc(c)})};g=gY.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&&Va(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))};gY.\u0275fac=function(a){return new (a||gY)(A(bG),A(KN),A(Ir),A(yE))};
gY.\u0275cmp=p({type:gY,selectors:[["b-comment-box"]],viewQuery:function(a,b){a&1&&(fg(dY,5),fg(mzc,5),fg(JX,5));if(a&2){var c;jg(c=kg())&&(b.commentDraftComponent=c.first);jg(c=kg())&&(b.commentBoxContainer=c.first);jg(c=kg())&&(b.attachmentUploader=c.first)}},inputs:{issueId:"issueId",comment:"comment",supportsPreview:"supportsPreview",componentId:"componentId",placeholder:"placeholder",judgementForNewContent:"judgementForNewContent",audience:"audience",disabled:"disabled",warn:"warn",showToolbar:"showToolbar",
idForAriaLabel:"idForAriaLabel",attachmentsDisabled:"attachmentsDisabled",showRestrictionOptions:"showRestrictionOptions",isPlusOneCalloutEnabled:"isPlusOneCalloutEnabled"},outputs:{commentChange:"commentChange",onPlusOneTextEntered:"onPlusOneTextEntered",onChange:"onChange",onFocusEvent:"onFocusEvent",onSubmit:"onSubmit",onRestrict:"onRestrict"},features:[td],ngContentSelectors:["[warning]","[recaptchaContainer]","[additionalToolbarItems]"],decls:10,vars:16,consts:[["commentBoxContainer",""],["restrictedFlatButton",
""],[1,"bv2-comment-box-container",3,"ngClass"],[1,"bv2-comment-textarea-wrapper"],[3,"contentChange","focus","blur","keydown","paste","content","placeholder","disabled","textareaClass","audience","idForAriaLabel"],[4,"ngIf"],[3,"onUploadCancel","onUploadComplete","uploads"],["class","bv2-comment-toolbar",4,"ngIf"],[3,"onSubmitComment","isPlusOneText"],[1,"bv2-comment-toolbar"],[3,"onSelect","disabled"],[3,"disabled","onPickDoc","onCloneBlob",4,"ngIf"],["class","goog-inline-block vertical-centered restriction-button",
4,"ngIf"],[3,"onPickDoc","onCloneBlob","disabled"],[1,"goog-inline-block","vertical-centered","restriction-button"],[4,"ngIf","ngIfElse"],["mat-icon-button","","matTooltip","Restrict this comment/attachment","aria-label","Restrict this comment/attachment",3,"click","disabled"],["svgIcon","restricted"],["mat-button","","matTooltip","Restrict this comment/attachment","aria-label","Restrict this comment/attachment",1,"button-with-text",3,"click"],[3,"comment","issueId","audience","formattingMode"]],
template:function(a,b){if(a&1){var c=u();Xf(nzc);F(0,"div",2,0)(2,"div",3)(3,"b-comment-draft",4);M("contentChange",function(d){v(c);if(b.comment){var e=b.comment.value;b.comment.value=d;d!==e&&(b.onChange&&(b.commentChange.emit(b.comment),b.onChange.emit()),b.onPlusOneTextEntered&&b.onPlusOneTextEntered.emit(d.trim()==="+1"))}return x()})("focus",function(){v(c);return x(b.onFocus())})("blur",function(){v(c);return x(b.onBlur())})("keydown",function(d){v(c);return x(b.onKeydown(d))})("paste",function(d){v(c);
if(d&&d.clipboardData!=null){var e=d.clipboardData;for(var f=!1,h=!1,k=0,q=0;q<e.items.length;q++)e.items[q].kind==="string"&&e.items[q].type==="text/plain"?f=!0:e.items[q].kind==="file"&&(h=!0,k=q);h&&e.items&&e.files?(h=e.files[0],k=e.items[k].type.replace(/^.*[/]/,""),f?(e=e.getData("text/plain"),e=e.replace(/^.*[\\\/]/,"")):e=(new Date).toString()+"."+k,e={file:h,filename:e}):e=void 0;e&&(d.preventDefault(),d=new File([e.file],e.filename,{type:e.file.type}),b.uploadFile(d))}return x()});G();C(4,
y5a,2,1,"ng-container",5);G();Yf(5);F(6,"b-attachment-uploader",6);M("onUploadCancel",function(d){v(c);b.removeUpload(d);return x(b.onChange.emit())})("onUploadComplete",function(){v(c);return x(b.onChange.emit())});G();Yf(7,1);C(8,D5a,5,3,"div",7);G();C(9,E5a,2,4,"div",5)}a&2&&(D("ngClass",ug(11,ozc,b.focused)),z(3),D("content",b.comment.value)("placeholder",b.placeholder)("disabled",b.disabled)("textareaClass",vg(13,pzc,b.disabled?"bv2-disabled":"",b.warn?"banned-words-warning":""))("audience",
b.audience)("idForAriaLabel",b.idForAriaLabel),z(),D("ngIf",b.isPlusOneCalloutEnabled),z(2),D("uploads",b.comment.uploads),z(2),D("ngIf",b.showToolbar),z(),D("ngIf",b.supportsPreview&&b.comment.formattingMode===b.MARKDOWN))},dependencies:[Ev,Gv,zB,dY,LH,OH,JL,$X,GX,JX,IH,Rx,Tx,fY],encapsulation:2});var hY=function(a){this.activeSession=a;this.externalWarnings=[];this.enableNewVisibilityChips=this.activeSession.getFlag("enableNewVisibilityChips")};hY.\u0275fac=function(a){return new (a||hY)(A(Ir))};
hY.\u0275cmp=p({type:hY,selectors:[["b-external-warnings"]],inputs:{externalWarnings:"externalWarnings"},decls:1,vars:1,consts:[[1,"bv2-external-component-modal-warning"],[3,"href"],[3,"issueId"],[3,"accessLevel"]],template:function(a,b){a&1&&C(0,K5a,8,1,"div",0);a&2&&Of(b.externalWarnings.length>0?0:-1)},dependencies:[yN,TN],styles:[".bv2-external-component-modal-warning[_ngcontent-%COMP%] {\n  padding-top: 10px;\n\n  ul {\n    padding-left: 0;\n  }\n}"],changeDetection:0});var iY=function(){};
iY.\u0275fac=function(a){return new (a||iY)};iY.\u0275mod=dd({type:iY});iY.\u0275inj=Ic({imports:[DN,vP]});var qzc=["captchaContainer"],jY=function(a,b,c,d,e){this.ngZone=a;this.window=b;this.darkmodeService=c;this.appEvents=d;this.analytics=e;this.onUpdate=new XF;this.destroyed$=new W.ReplaySubject(1)};jY.prototype.ngOnInit=function(){var a=this;this.appEvents.recaptchaSubmitted.pipe(qf(this.destroyed$)).subscribe(function(){a.reset();a.onUpdate.emit("")})};
jY.prototype.ngAfterViewInit=function(){var a=this;this.onUpdate.emit("");var b;(b=this.window.recaptchaAsync)==null||b.then(function(c){var d=a.darkmodeService.clientDarkmodeSubject.getValue();a.widgetId=c.render(a.captchaContainer.nativeElement,{sitekey:"6Ley9F4iAAAAAIwZf9W4ujzph90roM2zldPodcjv",callback:function(e){a.ngZone.run(function(){a.onUpdate.emit(e);a.analytics.trackEvent("recaptchaToken","create")})},"expired-callback":function(){a.ngZone.run(function(){a.onUpdate.emit("");a.analytics.trackEvent("recaptchaToken",
"expire")})},theme:d?"dark":"light"})})};jY.prototype.ngOnDestroy=function(){this.reset();this.destroyed$.next()};jY.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)})}};jY.\u0275fac=function(a){return new (a||jY)(A(ze),A(EH),A(jV),A(yE),A(bG))};
jY.\u0275cmp=p({type:jY,selectors:[["b-recaptcha"]],viewQuery:function(a,b){a&1&&fg(qzc,5);if(a&2){var c;jg(c=kg())&&(b.captchaContainer=c.first)}},outputs:{onUpdate:"onUpdate"},decls:2,vars:0,consts:[["captchaContainer",""]],template:function(a){a&1&&H(0,"div",null,0)},encapsulation:2});var rzc=["dialog"],kY=function(a,b,c,d){Z.call(this);this.matDialog=a;this.activeSession=b;this.hotkeys=c;this.save=new XF;this.close=new XF;this.externalWarnings=[];this.issueEditBuilder=null;this.FocusableField=szc;this.enableRecaptcha=this.activeSession.userRequiresCaptcha()&&this.activeSession.getFlag("enableBulkEditCaptchaUi");this.comment=new hJ;var e;this.comment.formattingMode=Xk((e=sH(d).textDisplayPreferences)==null?void 0:e.lastPublishMode);this.issueStates=g5b};X(kY,Z);kY.\u0275dir=Z.\u0275dir;
kY.prototype.showDialog=function(a,b,c){var d=this;this.issueEditBuilder=new fwc(this.activeSession.getUserEmail(),a);this.issueEditBuilder.comment=this.comment;b&&L5a(this.issueEditBuilder,b);this.focus=c;this.hotkeys.pause();this.matDialogRef=this.matDialog.open(this.dialog,{minWidth:512,maxWidth:512});qI(this.matDialogRef).pipe(qf(this.destroyed$)).subscribe(function(e){d.hotkeys.unpause();e&&d.save.emit();d.close.emit()})};kY.\u0275fac=function(a){return new (a||kY)(A(wI),A(Ir),A(KN),A(rH))};
kY.\u0275cmp=p({type:kY,selectors:[["b-state-modal"]],viewQuery:function(a,b){a&1&&fg(rzc,5);if(a&2){var c;jg(c=kg())&&(b.dialog=c.first)}},inputs:{externalWarnings:"externalWarnings"},outputs:{save:"save",close:"close"},features:[zf],decls:2,vars:0,consts:[["dialog",""],["statusForm","ngForm"],["statusMenu",""],["mat-dialog-title",""],["mat-dialog-content",""],["class","bv2-modal-form",4,"ngIf"],["class","flex-kids-x justify-flex-end",4,"ngIf"],["mat-dialog-actions",""],["type","button","mat-button",
"",1,"gmat-button","medium",3,"mat-dialog-close"],["type","submit","color","primary","mat-flat-button","",1,"gmat-button","medium","confirm",3,"mat-dialog-close","disabled"],[1,"bv2-modal-form"],["type","button","mat-button","",1,"gmat-button","medium","primary","status-select",3,"matMenuTriggerFor"],["name","arrow-dropdown","size","small"],["mat-menu-item","","type","button",3,"click","disabled"],["mat-menu-item","","type","button",3,"disabled","click",4,"ngFor","ngForOf"],[3,"ngSwitch"],[4,"ngSwitchCase"],
["class","bv2-modal-text-field",4,"ngSwitchDefault"],["placeholder","Add a comment (optional)",3,"onSubmit","comment","showToolbar"],[1,"float-clear"],[3,"externalWarnings"],[1,"bv2-modal-text-field"],["for","bv2-state-modal-assignee",1,"bv2-top-field-label"],["class","bv2-multiple-user-chip",4,"ngSwitchCase"],[4,"ngSwitchDefault"],["for","bv2-state-modal-verifier",1,"bv2-top-field-label"],["class","bv2-multiple-user-chip",3,"bv2-invalid-multiple-user-chip",4,"ngSwitchCase"],[1,"bv2-multiple-user-chip"],
["title","Clear assignees",3,"click"],["type","text","name","assignee",3,"ngModelChange","ngModel","bContactAutocomplete"],["title","Clear verifiers",3,"click"],["type","text","name","verifier",3,"ngModelChange","ngModel","required","bContactAutocomplete"],["for","bv2-state-modal-issue-id",1,"bv2-top-field-label"],["type","text","name","duplicateOf",3,"ngModelChange","ngModel"],[1,"flex-kids-x","justify-flex-end"],[3,"onUpdate"]],template:function(a){a&1&&C(0,Z5a,14,5,"ng-template",null,0,yg)},dependencies:[Fv,
Gv,Hv,Iv,Jv,xI,zI,BI,AI,zy,mh,qy,ry,Iy,yy,wy,oE,hN,QL,TL,RL,UL,rP,gY,jY,hY],encapsulation:2});var szc={ASSIGNEE:0,VERIFIER:1,COMMENT:2,DUPE_ID:3,0:"ASSIGNEE",1:"VERIFIER",2:"COMMENT",3:"DUPE_ID"};var lY=function(a){this.dialogRef=a;this.reporter="";this.autocompleteActive=!1};lY.prototype.enableSubmit=function(){return this.reporter!==""};lY.prototype.cancel=function(){this.dialogRef.close()};lY.prototype.save=function(){this.dialogRef.close(this.reporter)};lY.\u0275fac=function(a){return new (a||lY)(A(pI))};
lY.\u0275cmp=p({type:lY,selectors:[["b-reporter-picker-dialog"]],decls:12,vars:3,consts:[["mat-dialog-title",""],["appearance","outline","subscriptSizing","dynamic"],["matInput","",3,"ngModelChange","autocompleteActive","keydown","bContactAutocomplete","ngModel"],["mat-button","",1,"gmat-button",3,"click"],["mat-flat-button","",1,"gmat-button",3,"click","disabled"]],template:function(a,b){a&1&&(F(0,"h1",0),R(1,"Change Reporter"),G(),F(2,"mat-dialog-content")(3,"mat-form-field",1)(4,"mat-label"),R(5,
" Reporter "),G(),F(6,"input",2),pg("ngModelChange",function(c){og(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()}),G()()(),F(7,"mat-dialog-actions")(8,"button",3),M("click",function(){return b.cancel()}),R(9," Cancel "),G(),F(10,"button",4),M("click",function(){return b.save()}),R(11," Save "),G()());a&2&&(z(6),D("bContactAutocomplete","SINGLE"),ng("ngModel",
b.reporter),z(4),D("disabled",!b.enableSubmit()))},dependencies:[mh,qy,yy,oE,zI,BI,AI,SV,cz,Wy,Qy,kM,rP],styles:["mat-dialog-content[_ngcontent-%COMP%]   mat-form-field[_ngcontent-%COMP%]{margin-top:8px}"]});var tzc=["addCommentDialog"],mY=function(a,b,c,d,e,f,h,k,q,t,w,B,E){Z.call(this);var I=this;this.componentFridge=a;this.cdr=b;this.activeSession=c;this.analytics=d;this.hotkeys=e;this.componentActions=f;this.issueTypeDialog=h;this.copyIssueIdService=k;this.matDialog=q;this.$log=t;this.issuePicker=w;this.userPreferencesManager=B;this.accessIndicatorService=E;this.currentUserEmail=this.activeSession.getUserEmail();this.uniqueComponentIds$=new W.Subject;this.effortSpec$=this.uniqueComponentIds$.pipe(pf(function(J){return I.componentFridge.watchSet(J)}),
y(function(J){return I.getCommonEffortSpec(J)}),mf({bufferSize:1,refCount:!0}));this.enableBulkEstimatedEffortOption$=this.effortSpec$.pipe(y(function(J){return J!==void 0}));this.hotlistIdMatrix=[];this.hotlistChoices=[];this.onSave=new XF;this.onCreateHotlist=new XF;this.onLoadHotlist=new XF;this.externalWarnings=[];this.enableRecaptcha=this.activeSession.userRequiresCaptcha()&&this.activeSession.getFlag("enableBulkEditCaptchaUi");this.recaptchaResponse="";this.controllerName="baseControls"};
X(mY,Z);var uzc=function(a){var b=new hJ,c;b.formattingMode=Xk((c=sH(a.userPreferencesManager).textDisplayPreferences)==null?void 0:c.lastPublishMode);return b};mY.prototype.hasSelectedIssues=function(){return this.getSelectedIssues().length>0};var vzc=function(a){return a.getSelectedIssues().some(function(b){return!b.isRead})},$5a=function(a){return vzc(a)?"Mark as read":"Mark as unread"},mq=function(a){return a.getSelectedIssues().map(function(b){return b.issueId})};
mY.prototype.onSelectionChange=function(){for(var a=this.getSelectedIssues(),b=l(a),c=b.next();!c.done;c=b.next()){var d=void 0;(d=c.value).hotlistId!=null||(d.hotlistId=[])}this.hotlistIdMatrix=a.map(function(e){return e.hotlistId});this.cdr.detectChanges();a=wzc(a);this.uniqueComponentIds$.next(a)};
var wzc=function(a){var b=[];a=l(a);for(var c=a.next();!c.done;c=a.next())c=c.value,b.includes(c.componentId)||b.push(c.componentId);return b},xzc=function(a){if(!xC(a.activeSession)){a.externalWarnings=[];var b=(0,W.combineLatest)(a.getSelectedIssues().map(function(e){return Jgc(a.accessIndicatorService,e.issueId,e.componentId).pipe(y(function(f){return{issue:e,indicator:f}}))}));(0,W.firstValueFrom)(b).then(function(e){e=l(e);for(var f=e.next();!f.done;f=e.next()){f=f.value;var h=f.issue;f.indicator.type!==
"no_indicator"&&a.externalWarnings.push({type:"issue",issueId:h.issueId})}}).then(function(){a.cdr.detectChanges()});b=new Set(a.getSelectedIssues().map(function(e){return e.componentId}));b=l(b);for(var c=b.next(),d={};!c.done;d={id$jscomp$404:void 0},c=b.next())d.id$jscomp$404=c.value,a.componentActions.get(d.id$jscomp$404).then(function(e){if(a.activeSession.isInternalSession()&&bq(e)||wC(a.activeSession)&&cq(e)){var f,h={type:"component",path:F4a((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$404+".")}}(d))}};g=mY.prototype;g.getCommonEffortSpec=function(a){a=l(a);for(var b=a.next();!b.done;b=a.next()){b=b.value;if(!b.effortSpec)return;b=b.effortSpec;var c=b.id;if(!d){var d=c;var e=b}else if(d!==c)return}return e};
g.bulkEdit=function(a){switch(a){case "ASSIGNEE":nY(this,null,0);break;case "COMPONENT":yzc(this);break;case "VERIFIER":nY(this,null,1);break;case "REPORTER":zzc(this);break;case "CHANGELIST":Azc(this,"changelists","Changelists",!0);break;case "CUSTOM_FIELDS":Bzc(this);break;case "FOUND_IN":Azc(this,"foundInVersion","Found In");break;case "VERIFIED_IN":Azc(this,"verifiedInVersion","Verified In");break;case "TARGETED_TO":Azc(this,"targetedToVersion","Targeted To");break;case "COMMENT":Czc(this);break;
case "SLO_START_TIME":Dzc(this);break;case "ESTIMATED_EFFORT":Ezc(this);break;case "CC":Azc(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)&&oY(this,"priority",a);break;case "SEVERITY":(a=a.newValue)&&oY(this,"severity",a);break;case "STATUS":(a=a.newValue)&&nY(this,Qm[a],a==="DUPLICATE"?3:void 0);break;case "TYPE":(a=a.newValue)&&oY(this,"type",a);break;case "IS_ARCHIVED":oY(this,"isArchived",""+a.newValue);break;case "IN_PROD":oY(this,"inProd",""+a.newValue);break;case "CC":oY(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?pY(this,{actionType:"ADD",fieldName:"blockedByIssueId",title:"Mark all selected issues as blocked by:",edgeType:"blocker"}):pY(this,{actionType:"REMOVE",fieldName:"blockedByIssueId",title:"Unmark all selected issues as blocked by:",edgeType:"un-blocker"});break;case "BLOCKING":a.isMarking?pY(this,{actionType:"ADD",fieldName:"blockingIssueId",title:"Mark all selected issues as blocking:",edgeType:"blocking"}):pY(this,
{actionType:"REMOVE",fieldName:"blockingIssueId",title:"Unmark all selected issues as blocking:",edgeType:"un-blocking"});break;case "PARENT":a.isMarking?pY(this,{actionType:"ADD",fieldName:"parentId",title:"Mark all selected issues as children of:",edgeType:"child"}):pY(this,{actionType:"REMOVE",fieldName:"parentId",title:"Unlink all selected issues from this parent:",edgeType:"un-parent"});break;case "DUPLICATE":nY(this,Qm.DUPLICATE,3);break;default:this.$log.error("unsupported issue relation: "+
a.issueRelation)}};g.bulkMarkIssueRead=function(){var a=vzc(this);oY(this,"readState",a?"true":"")};
var oY=function(a,b,c,d){var e={fieldName:b,value:c};d!==void 0&&(e.actionType=d);var f=mq(a),h=[e];b==="deletionReason"&&h.push({fieldName:"isDeleted",value:"true"});d=function(){var k={bulkEditOps:[{issueIds:f,actions:h}]};a.enableRecaptcha&&a.recaptchaResponse!==""&&(k.recaptchaToken=a.recaptchaResponse);a.onSave.emit(k)};b!=="type"||c!=="VULNERABILITY"&&c!=="PRIVACY_ISSUE"?d():(c==="VULNERABILITY"&&GI(a.issueTypeDialog,"VULNERABILITY",d,function(){}),c==="PRIVACY_ISSUE"&&GI(a.issueTypeDialog,
"PRIVACY_ISSUE",d,function(){}))},nY=function(a,b,c){a.hasSelectedIssues()&&(xzc(a),a.stateModal.showDialog(a.getSelectedIssues(),b,c))},Fzc=function(a){var b=a.onSave,c=b.emit,d=mq(a),e=a.stateModal.issueEditBuilder,f=[];e.issueState||L5a(e);e=l(Y5a(e));for(var h=e.next();!h.done;h=e.next()){var k=l(h.value);h=k.next().value;k=k.next().value;k!==void 0&&f.push({fieldName:h,value:k})}c.call(b,{bulkEditOps:[{issueIds:d,actions:f}],recaptchaToken:a.stateModal.issueEditBuilder.recaptchaResponse})},zzc=
function(a){a.hasSelectedIssues()&&(xzc(a),qI(a.matDialog.open(lY,{width:"400px"})).pipe(qf(a.destroyed$)).subscribe(function(b){a.hotkeys.unpause();b&&oY(a,"reporter",b)}),a.hotkeys.pause())},Azc=function(a,b,c,d){d=d===void 0?!1:d;a.hasSelectedIssues()&&(qI(a.matDialog.open(sX,{width:"400px",data:{fieldDisplayName:c}})).pipe(qf(a.destroyed$)).subscribe(function(e){a.hotkeys.unpause();e&&Gzc(a,b,e.addItems,e.removeItems,d)}),a.hotkeys.pause())},Dzc=function(a){a.hasSelectedIssues()&&(qI(a.matDialog.open(qX,
{width:"330px",data:{fieldDisplayName:"SLO Start Time"}})).pipe(qf(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:mq(a),actions:c}]})}}),a.hotkeys.pause())},Ezc=function(a){var b=fo(a.effortSpec$);a.hasSelectedIssues()&&b!==void 0&&(qI(a.matDialog.open(rX,{width:"400px",data:{fieldDisplayName:"Estimated Effort",effortSpec:b}})).pipe(qf(a.destroyed$)).subscribe(function(c){a.hotkeys.unpause();
if(c){var d=[];d.push({fieldName:"effortEstimate",value:c.estimate});a.onSave.emit({bulkEditOps:[{issueIds:mq(a),actions:d}]})}}),a.hotkeys.pause())},Gzc=function(a,b,c,d,e){e=e===void 0?!1:e;c=Gp(c);d=Gp(d);var f=[],h=!["foundInVersion","targetedToVersion","verifiedInVersion"].includes(b),k=function(q){return Pta(q,h).map(function(t){return t.trim()})};Hp(c)||(c=k(c),e&&(c=c.filter(function(q){return!isNaN(q)})),f.push.apply(f,r(c.map(function(q){return{fieldName:b,value:q,actionType:"ADD"}}))));
Hp(d)||(d=k(d),f.push.apply(f,r(d.map(function(q){return{fieldName:b,value:q,actionType:"REMOVE"}}))));f.length&&a.onSave.emit({bulkEditOps:[{issueIds:mq(a),actions:f}]})},yzc=function(a){a.hasSelectedIssues()&&(qI(a.matDialog.open(oX,{width:"600px",position:{top:"100px"},panelClass:"overflow-visible-dialog-panel"})).pipe(qf(a.destroyed$)).subscribe(function(b){a.hotkeys.unpause();b&&(a.onSave.emit({bulkEditOps:[{issueIds:mq(a),actions:[{fieldName:"componentId",value:String(b.componentId)}]}]}),a.analytics.trackEvent(a.controllerName,
"bulkMove"))}),a.hotkeys.pause())},Hzc=function(a){a.hasSelectedIssues()&&(qI(a.matDialog.open(nX,{width:"600px",data:{issuesToFlag:a.getSelectedIssues()}})).pipe(qf(a.destroyed$)).subscribe(function(b){a.hotkeys.unpause();b&&(a.analytics.trackEvent(a.controllerName,"bulkFlagAsSpam"),oY(a,"deletionReason","ABUSE"))}),a.hotkeys.pause())},Czc=function(a){a.hasSelectedIssues()&&a.addCommentDialog&&(a.comment||(a.comment=uzc(a)),a.addCommentDialogRef=a.matDialog.open(a.addCommentDialog,{panelClass:"no-jitter",
minWidth:512,maxWidth:512}),qI(a.addCommentDialogRef).pipe(qf(a.destroyed$)).subscribe(function(b){a.hotkeys.unpause();a.comment&&(b&&Cac(a.comment)&&oY(a,"comment",a.comment.value),a.comment.reset())}),a.hotkeys.pause(),xzc(a))},g6a=function(a){var b;(b=a.addCommentDialogRef)==null||b.close(!0)},Bzc=function(a){a.hasSelectedIssues()&&qI(a.matDialog.open(KV,{data:a.getSelectedIssues(),width:"500px"})).pipe(qf(a.destroyed$)).subscribe(function(b){b&&(a.onSave.emit({bulkEditOps:b}),a.analytics.trackEvent(a.controllerName,
"bulkCustomField"))})};
mY.prototype.handleHotlistPickerSave=function(a){var b=a.newSelectionMap;var c=a.oldSelectionMap;var d=[],e=[],f=0;Object.entries(b).forEach(function(h){var k=l(h);h=k.next().value;k=k.next().value;k!==c[h]&&(k?d.push(h):e.push(h),f++)});a=[];d.length&&a.push({fieldName:"hotlists",actionType:"ADD",value:d.join(",")});e.length&&a.push({fieldName:"hotlists",actionType:"REMOVE",value:e.join(",")});a.length&&(this.onSave.emit({bulkEditOps:[{issueIds:mq(this),actions:a}]}),this.analytics.trackEvent(this.controllerName,"applyHotlists",
"numHotlists",f))};var pY=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:mq(a),actions:[{fieldName:d,value:e,actionType:c}]}]}))});a.hotkeys.pause()};mY.\u0275fac=function(a){return new (a||mY)(A(CC),A(YF),A(Ir),A(bG),A(KN),A(UU),A(FI),A(vW),A(wI),A(tE),A(NS),A(rH),A(SN))};
mY.\u0275dir=fd({type:mY,viewQuery:function(a,b){a&1&&(fg(tzc,5),fg(tX,5),fg(kY,5));if(a&2){var c;jg(c=kg())&&(b.addCommentDialog=c.first);jg(c=kg())&&(b.hotlistPicker=c.first);jg(c=kg())&&(b.stateModal=c.first)}},inputs:{hotlistChoices:"hotlistChoices"},outputs:{onSave:"onSave",onCreateHotlist:"onCreateHotlist",onLoadHotlist:"onLoadHotlist"},features:[zf]});var qY=function(){};qY.\u0275fac=function(a){return new (a||qY)};qY.\u0275mod=dd({type:qY});qY.\u0275inj=Ic({providers:[{provide:Swc,useFactory:function(){return new Pwc}}]});var rY=function(){};rY.\u0275fac=function(a){return new (a||rY)};rY.\u0275mod=dd({type:rY});rY.\u0275inj=Ic({imports:[Tv,qY]});var sY=function(){};sY.\u0275fac=function(a){return new (a||sY)};sY.\u0275mod=dd({type:sY});sY.\u0275inj=Ic({providers:[{provide:Rwc,useFactory:HX}],imports:[BB,dJ,aM,rY,GJ]});var tY=function(){};tY.\u0275fac=function(a){return new (a||tY)};tY.\u0275mod=dd({type:tY});tY.\u0275inj=Ic({imports:[BB,ML,aM]});var uY=function(){};uY.\u0275fac=function(a){return new (a||uY)};uY.\u0275mod=dd({type:uY});uY.\u0275inj=Ic({imports:[BB,eY,jN,aM,YS,KM,sY,dJ,tY]});var vY=function(){};vY.\u0275fac=function(a){return new (a||vY)};vY.\u0275mod=dd({type:vY});vY.\u0275inj=Ic({imports:[BB,ZL,ML,TV,My,Mx,aM,NP,PP,jN]});var wY=function(){};wY.\u0275fac=function(a){return new (a||wY)};wY.\u0275mod=dd({type:wY});wY.\u0275inj=Ic({});var xY=function(){};xY.\u0275fac=function(a){return new (a||xY)};xY.\u0275mod=dd({type:xY});xY.\u0275inj=Ic({imports:[BB,fJ,DN,My,ML,jN,ZL,sP,uY,wY,iY]});var yY=function(a,b,c,d,e,f,h,k,q,t,w,B,E){mY.call(this,a,b,c,d,e,f,h,k,q,t,w,B,E);this.panels=[];this.isNonPublicSession=this.activeSession.isNonPublicSession();this.enableBulkEditUi=!this.activeSession.userRequiresCaptcha();this.controllerName="dashboardControls";this.onSelectionChange.bind(this);this.getCommonEffortSpec.bind(this)};X(yY,mY);yY.\u0275dir=mY.\u0275dir;yY.prototype.ngOnChanges=function(a){if(a.panels)this.onSelectionChange()};
yY.prototype.getSelectedIssues=function(){var a=this.panels.flatMap(function(b){return b.selectedIssues});Jba(a,null,function(b){return b.issueId.toString()});return a};yY.\u0275fac=function(a){return new (a||yY)(A(CC),A(YF,2),A(Ir),A(bG),A(KN),A(UU),A(FI),A(vW),A(wI),A(tE),A(NS),A(rH),A(SN))};
yY.\u0275cmp=p({type:yY,selectors:[["b-dashboard-controls"]],inputs:{panels:"panels"},features:[qg([YF]),zf,td],decls:7,vars:5,consts:[["addCommentDialog",""],[3,"readStatePrompt","enableBulkEstimatedEffortOption","onBulkEdit","onQuickBulkEdit","onBulkEditIssueRelation","onBulkMarkIssueRead",4,"ngIf"],[3,"shortLinkPrefix","shouldShowCopyIssueShortLinks","onClickCopyIssueIds","onClickCopyIssueShortLinks","onClickCopyAsIssueSearch",4,"ngIf"],["class","bv2-grid-hotlist-picker",4,"ngIf"],[1,"bv2-appbar-menu",
3,"flagAsSpamClicked","showFlagIssuesAsSpam"],[3,"save","close","externalWarnings"],[3,"onBulkEdit","onQuickBulkEdit","onBulkEditIssueRelation","onBulkMarkIssueRead","readStatePrompt","enableBulkEstimatedEffortOption"],[3,"onClickCopyIssueIds","onClickCopyIssueShortLinks","onClickCopyAsIssueSearch","shortLinkPrefix","shouldShowCopyIssueShortLinks"],[1,"bv2-grid-hotlist-picker"],[3,"onApply","onCreate","onLoad","selectedHotlistIds","choices"],["mat-dialog-title",""],[3,"comment","showToolbar","commentChange",
"onSubmit",4,"ngIf"],[3,"externalWarnings"],["class","flex-kids-x justify-flex-end",4,"ngIf"],["mat-button","",1,"medium",3,"mat-dialog-close"],["mat-flat-button","","cdkFocusInitial","",1,"medium","primary",3,"disabled","mat-dialog-close"],[3,"commentChange","onSubmit","comment","showToolbar"],[1,"flex-kids-x","justify-flex-end"],[3,"onUpdate"]],template:function(a,b){if(a&1){var c=u();C(0,a6a,2,4,"b-app-bar-bulk-edit-menus",1)(1,e6a,1,2,"b-copy-issue-id-button",2)(2,f6a,2,2,"div",3);F(3,"b-app-bar-more-menu",
4);M("flagAsSpamClicked",function(){v(c);return x(Hzc(b))});G();F(4,"b-state-modal",5);M("save",function(){v(c);return x(Fzc(b))})("close",function(){v(c);return x(b.hotkeys.unpause())});G();C(5,j6a,11,6,"ng-template",null,0,yg)}a&2&&(D("ngIf",b.hasSelectedIssues()),z(),D("ngIf",b.hasSelectedIssues()),z(),D("ngIf",b.enableBulkEditUi&&b.hasSelectedIssues()),z(),D("showFlagIssuesAsSpam",b.isNonPublicSession&&b.hasSelectedIssues()),z(),D("externalWarnings",b.externalWarnings))},dependencies:[PT,OT,gY,
Gv,kW,tX,IH,Rx,xI,zI,BI,AI,kY,jY,hY,Lv],styles:["[_nghost-%COMP%] { display: flex; align-items: center; }"]});var zY=function(){};zY.\u0275fac=function(a){return new (a||zY)};zY.\u0275mod=dd({type:zY});zY.\u0275inj=Ic({imports:[RT,YS,uY,BB,DN,uW,vY,jN,dJ,fJ,xY,wY,iY]});var Izc=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},Jzc=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)},AY=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=sm(c.assigneeUser)||"";this.verifier=sm(c.verifierUser)||
"";this.collaborators=rm(c.collaboratorsUsers)||[];this.cc=rm(c.ccUsers)||[];this.title=c.title||"";this.comment=c.comment||"";this.formattingMode=c.formattingMode?c.formattingMode:"PLAIN";this.hotlistId=c.hotlistId||[];this.inProd=c.inProd||!1;this.issueAccessLimitLevel=c.issueAccessLimitLevel||"LIMIT_NONE";this.customFieldValues=Object.create(null);a=l(c.customField||[]);for(b=a.next();!b.done;b=a.next())b=b.value,this.customFieldValues[b.customFieldId.toString()]=b;a=l(Object.entries(this.customFields));
for(b=a.next();!b.done;b=a.next())c=l(b.value),b=c.next().value,c=c.next().value,b=Number(b),this.customFieldValues[b]||(this.customFieldValues[b]=c.typedDefaultValue!=null?c.typedDefaultValue:{customFieldId:b})},Lzc=function(a,b){b.name=a.name;b.description=a.description;b.inheritable=a.inheritable;var c=b.snapshot||{};c.componentId=a.componentId;Kzc(a.type)?delete c.type:c.type=a.type;Kzc(a.priority)?delete c.priority:c.priority=a.priority;Kzc(a.severity)?delete c.severity:c.severity=a.severity;
c.assigneeUser=tm(a.assignee);c.verifierUser=tm(a.verifier);c.collaboratorsUsers=a.collaborators.map(function(f){return tm(f)});a.collaboratorGroups.length>0&&(c.collaboratorsUsers=nza(a.collaboratorGroups).concat(c.collaboratorsUsers||[]));c.ccUsers=a.cc.map(function(f){return tm(f)});c.comment=a.comment;c.formattingMode=a.formattingMode;c.title=a.title;c.hotlistId=a.hotlistId;c.inProd=a.inProd;c.customField=[];c.issueAccessLimitLevel=a.issueAccessLimitLevel;for(var d=l(Object.keys(a.customFields)),
e=d.next();!e.done;e=d.next())(e=a.customFieldValues[e.value])&&!Cm(e)&&c.customField.push(e);b.snapshot=c};
AY.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:Dc(c,"Unexpected custom field type: "+c)}}this.dirty=!0};AY.prototype.isDirty=function(){return this.dirty};AY.prototype.setFormattingMode=function(a){this.formattingMode=a;this.dirty=!0};AY.prototype.onAccessLimitLevelSelected=function(a){this.issueAccessLimitLevel=a;this.dirty=!0};
var Kzc=function(a){return Hp(a)||a==="--"};AY.prototype.getCollaboratorGroupsString=function(){return this.collaboratorGroups.length===0?"":this.collaboratorGroups.length>1?this.collaboratorGroups.length+" groups selected":this.collaboratorGroups[0]};AY.prototype.separateCollaboratorGroups=function(a){a=new Set(a);for(var b=[],c=l(this.collaborators),d=c.next();!d.done;d=c.next())d=d.value,a.has(d)?this.collaboratorGroups.push(d):b.push(d);this.collaborators=b};
var R6a=function(a,b){a.collaborators=b.split(",").map(function(c){return c.trim()}).filter(function(c){return!!c});a.dirty=!0},S6a=function(a,b){a.cc=b.split(",").map(function(c){return c.trim()}).filter(function(c){return!!c});a.dirty=!0},Mzc={value:"--",displayText:"--"};var Nzc=new UC("M/d/yyyy"),BY=function(a){this.dateFormatter=a;this.boundValueChange=new XF;this.textValue="";this.ariaLabelledBy=this.inputId=void 0;this.isRequired=!1};BY.prototype.ngOnInit=function(){if(this.boundValue){if(this.boundValue)if(typeof this.boundValue==="string")var a=wi(this.boundValue);else{var b;a=(b=zm(this.boundValue))!=null?b:void 0}else a=void 0;this.googDate=a;this.change(this.googDate,!0)}};
BY.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=Nzc.format(a);else{var d;a=(d=Qza(Nzc.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):""}};BY.\u0275fac=function(a){return new (a||BY)(A(KI))};
BY.\u0275cmp=p({type:BY,selectors:[["bv2-input-date-picker"]],inputs:{boundValue:"boundValue",inputId:[0,"bv2Id","inputId"],ariaLabelledBy:[0,"bv2AriaLabelledby","ariaLabelledBy"],isRequired:"isRequired"},outputs:{boundValueChange:"boundValueChange"},decls:1,vars:4,consts:[[3,"valueChange","required","value","customFormId","customAriaLabelledBy"]],template:function(a,b){a&1&&(F(0,"b-date-time-input",0),M("valueChange",function(c){return b.change(c)}),G());a&2&&D("required",b.isRequired)("value",b.googDate)("customFormId",
b.inputId)("customAriaLabelledBy",b.ariaLabelledBy)},dependencies:[DV],encapsulation:2});var CY=function(){this.ROUTES=zo;this.showHovercard=this.removable=!0;this.disabled=!1;this.removeHotlist=new XF};CY.prototype.getAriaLabel=function(a){return"hotlist: "+a.name};CY.\u0275fac=function(a){return new (a||CY)};
CY.\u0275cmp=p({type:CY,selectors:[["b-hotlist-chip"]],inputs:{hotlist:"hotlist",removable:"removable",showHovercard:"showHovercard",disabled:"disabled"},outputs:{removeHotlist:"removeHotlist"},decls:1,vars:1,consts:[["card","onedevHovercard"],[4,"ngIf"],[1,"chip",3,"onedevHovercardTrigger","onedevHovercardActive"],[1,"name"],[1,"keep-focus-ring",3,"href"],["mat-icon-button","",3,"invisible","click",4,"ngIf"],[3,"hotlist"],["mat-icon-button","",3,"click"],["svgIcon","close"]],template:function(a,
b){a&1&&C(0,l6a,9,11,"ng-container",1);a&2&&D("ngIf",b.hotlist)},dependencies:[Gv,zB,$H,gI,qU,oE],styles:["[_nghost-%COMP%]{margin-right:8px;display:inline-block;vertical-align:middle;white-space:nowrap}.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-icon-button[_ngcontent-%COMP%]{height:25px;width:25px;line-height:25px}.chip[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{width:50%}.chip[_ngcontent-%COMP%]   .name[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:inherit;text-decoration:none}"]});var nq={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"},Ozc={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"},m6a=[nq,{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"},Ozc];var DY=function(){Z.call(this);var a=this;this.defaultAccessLimitLevel$=new W.ReplaySubject(1);this.disabled=!0;this.implicitAccessEnabled=!1;this.updatedAccessLimitLevel=new XF;this.selectedDisplay$=new W.BehaviorSubject(null);this.displays=m6a;this.disabledDropdownTooltip="Only users with Issue Admin permission can adjust restriction levels.";this.currentIssueAccessLimitLevelDisplay$=(0,W.combineLatest)([this.selectedDisplay$,this.defaultAccessLimitLevel$]).pipe(y(function(b){var c=l(b);b=c.next().value;
c=c.next().value;return b?b:Pzc(a,c)}));this.issueAccessLimitLevelDisplayTitle$=this.currentIssueAccessLimitLevelDisplay$.pipe(y(function(b){return b.title}));this.defaultAccessLimitLevel$.subscribe(function(b){a.selectedDisplay$.next(Pzc(a,b))})};X(DY,Z);DY.\u0275dir=Z.\u0275dir;var Pzc=function(a,b){a=l(a.displays);for(var c=a.next();!c.done;c=a.next())if(c=c.value,c.accessLevel===b)return c;return nq};
ea.Object.defineProperties(DY.prototype,{defaultAccessLimitLevel:{configurable:!0,enumerable:!0,set:function(a){this.defaultAccessLimitLevel$.next(a)}}});DY.\u0275fac=function(a){return new (a||DY)};
DY.\u0275cmp=p({type:DY,selectors:[["b-issue-access-limits-dropdown"]],inputs:{defaultAccessLimitLevel:"defaultAccessLimitLevel",disabled:"disabled",implicitAccessEnabled:"implicitAccessEnabled"},outputs:{updatedAccessLimitLevel:"updatedAccessLimitLevel"},features:[zf],decls:13,vars:10,consts:[["accessLimitsMenu","matMenu"],[1,"access-limits-dropdown"],["mat-button","","mat-stroked-button","","dropdown-menu-button","","type","button",1,"access-limits-dropdown-button","gmat-button","small",3,"matMenuTriggerFor",
"disabled"],[1,"selected-access-limit-level-title"],["svgIcon","acl-alias-domain",1,"icon-s"],[1,"selected-access-limit-level-title-text"],["iconPositionEnd","","svgIcon","arrow-dropdown",1,"icon-s"],["svgIcon","help-outline","class","icon-s valign-middle","tabindex","0","aria-hidden","false",3,"matTooltip",4,"ngIf"],[1,"access-limit-level-options"],["mat-menu-item","","class","access-limit-level-option",3,"click",4,"ngFor","ngForOf"],["svgIcon","help-outline","tabindex","0","aria-hidden","false",
1,"icon-s","valign-middle",3,"matTooltip"],["mat-menu-item","",1,"access-limit-level-option",3,"click"],[1,"access-limit-level-title"],[1,"icon-s",3,"svgIcon"],[1,"access-limit-level-title-text"],[1,"access-limit-level-description"]],template:function(a,b){a&1&&(F(0,"div",1)(1,"button",2),T(2,"async"),F(3,"span",3),H(4,"mat-icon",4),F(5,"span",5),R(6),T(7,"async"),G()(),H(8,"mat-icon",6),G(),C(9,n6a,1,1,"mat-icon",7),F(10,"mat-menu",8,0),C(12,o6a,7,3,"button",9),G()());if(a&2){var c;a=Q(11);z();D("matMenuTriggerFor",
a)("disabled",b.disabled);Bf("aria-label","Issue Access level, "+((c=(c=V(2,6,b.selectedDisplay$))==null?null:c.title)!==null&&c!==void 0?c:"Default access"));z(5);S(" ",V(7,8,b.issueAccessLimitLevelDisplayTitle$)," ");z(3);D("ngIf",b.disabled);z(3);D("ngForOf",b.displays)}},dependencies:[Fv,Gv,zB,IH,Rx,QL,TL,RL,UL,LH,OH,Lv],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:sub;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 EY=function(a){this.confirmationDialogService=a},Qzc=function(a,b,c){return fe(function(d){return d.return(cac(a.confirmationDialogService,{title:b,content:wh(c)}))})},Rzc=function(a,b){return fe(function(c){if(b.canEditIssuesInComponent){var d;if(d=b.issueAccessLimitLevel==="LIMIT_VIEW"){d=!!b.assigneeUser;var e=!!b.verifierUser,f,h=!((f=b.collaboratorsUsers)==null||!f.length),k;f=!((k=b.ccUsers)==null||!k.length);d=!d&&!e&&!h&&!f}c=d?c.return(Qzc(a,b.confirmationDialogText.noListedUsers.title,
b.confirmationDialogText.noListedUsers.content)):b.issueAccessLimitLevel==="LIMIT_VIEW"&&p6a(b)?c.return(Qzc(a,b.confirmationDialogText.loseAccess.title,b.confirmationDialogText.loseAccess.content)):c.return(!0)}else c=c.return(!0);return c})};EY.\u0275fac=function(a){return new (a||EY)(n(EI))};EY.\u0275prov=Hc({token:EY,factory:EY.\u0275fac,providedIn:"root"});var Szc=["saveBeforeClosingDialog"],Tzc=["deleteDialog"],L6a=function(){return[]},Uzc={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?"}},
FY=function(a,b,c,d,e,f,h,k,q,t,w,B,E,I,J,N,P,U,ba){Z.call(this);var ma=this;this.matDialogService=a;this.cdr=b;this.userApi=c;this.templatesApi=d;this.hotlistApi=e;this.constants=f;this.paths=h;this.butterBar=k;this.analytics=q;this.issueTypeDialog=t;this.componentActions=w;this.documentationLinks=B;this.appEvents=E;this.accessPolicyApi=I;this.trackerFridge=J;this.componentFridge=N;this.currentUserBookmarksFridge=P;this.confirmIssueAccessLimitSettingsService=U;this.activeSession=ba;this.defaultIndex=
-1;this.componentId=0;this.supportCustomFields=!1;this.templates=[];this.customFieldRows=[];this.currentTemplateRow=this.currentTemplate=null;this.currentIndex=-1;this.templateRows=[];this.afterSaveCheckFunc=null;this.hotlists=[];this.selectedHotlists=[];this.hotlistMap={};this.selectedHotlistIds=[[]];this.templateHotlistIds=[];this.componentIdsToPaths={};this.hotlistPickerIndex=0;this.enableTemplateInheritance=this.implicitAccessEnabled=!1;this.FieldType=Ruc;this.componentId$=new W.ReplaySubject(0);
this.component$=this.componentId$.pipe(pf(function(na){return ma.componentFridge.watch(na)}));this.trackerId$=this.component$.pipe(y(function(na){return na==null?void 0:na.trackerId}));this.tracker$=this.trackerId$.pipe(pf(function(na){return na?ma.trackerFridge.watch(na):(0,W.of)(void 0)}));this.ROUTES=zo;this.COLLABORATOR_GROUPS_TOOLTIP="Collaborator groups are trusted groups that are configured by tracker admins only. Select and add these groups if they should be given collaborator access to this issue.";
this.trackerCollaboratorGroups=[];this.customFieldIds=Object.create(null);this.issueTypeChoices=Vzc(this);this.priorityChoices=Wzc(this);this.severityChoices=Xzc(this);this.subscriptions.add(this.tracker$.subscribe(function(na){na&&(ma.trackerCollaboratorGroups=qm(na.collaboratorGroups));ma.currentTemplate&&ma.currentTemplate.separateCollaboratorGroups(ma.trackerCollaboratorGroups)}));this.enableTemplateInheritance=this.activeSession.getFlag("enableTemplateInheritance")};X(FY,Z);FY.\u0275dir=Z.\u0275dir;
g=FY.prototype;
g.ngOnInit=function(){var a=this,b=function(){a.fetchUserHotlists()};this.fetchUserHotlists();this.accessPolicyApi.checkComponentImplicitAccessEnabled(this.componentId).then(function(c){return a.implicitAccessEnabled=c});this.subscriptions.add(this.appEvents.hotlistChanged.subscribe(b));this.subscriptions.add(this.appEvents.hotlistCreated.subscribe(b));this.subscriptions.add(this.appEvents.bookmarkGroupModified.subscribe(b));Promise.all([this.loadCustomFields(),this.loadTemplates()]).finally(function(){GY(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 fr(c.name,d.name)})};g.removeHotlist=function(a){Va(this.templateHotlistIds[this.hotlistPickerIndex],a);this.currentTemplate.dirty=!0;this.updateSelectedHotlists()};
g.createHotlist=function(a){var b=this;var c=a.name;var d=a.successCallback;a=a.errorCallback;this.analytics.trackEvent("editTemplate","createHotlist");Ap(this.butterBar,"Creating hotlist "+c+"...",0);this.hotlistApi.createHotlist(c).then(function(e){Ap(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;qc(a.newSelectionMap,function(d,e){e=vi(e);if(d!==c[e]){b.currentTemplate.dirty=!0;var f=b.selectedHotlistIds[0].includes(e);d&&!f?(d=b.templateHotlistIds[b.hotlistPickerIndex],Ta(d,e)||d.push(e)):!d&&f&&Va(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;(this.activeSession.getFlag("enableLeanFeF")?(0,W.firstValueFrom)(jF(this.currentUserBookmarksFridge)):this.userApi.getUserHotlists()).then(function(b){b=l(b);for(var c=b.next();!c.done;c=b.next())a.addHotlist(c.value);a.cdr.detectChanges()})};
g.addHotlist=function(a){var b=this.hotlistMap[a.hotlistId];b&&Va(this.hotlists,b);this.hotlistMap[a.hotlistId]=a;this.hotlists.push(a)};var Vzc=function(a){var b=a.constants.editIssueTypes.map(function(c){return{value:c,displayText:V6a(c),altText:a.constants.issueTypesShortDescriptions.get(c)}});return[Mzc].concat(b)},V6a=function(a){return a===Mzc.value?a:Lm(a)};FY.prototype.getDateValue=function(a){return a};FY.prototype.getListFieldType=function(a){return a};
var O6a=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},D6a=function(a){a.currentTemplateRow.issueType==="VULNERABILITY"||a.currentTemplateRow.issueType==="PRIVACY_ISSUE"?GI(a.issueTypeDialog,a.currentTemplateRow.issueType==="VULNERABILITY"?"VULNERABILITY":"PRIVACY_ISSUE",function(){a.currentTemplate.type=a.currentTemplateRow.issueType;
a.currentTemplate.dirty=!0},function(){a.currentTemplateRow.issueType=a.currentTemplate.type}):(a.currentTemplate.type=a.currentTemplateRow.issueType,a.currentTemplate.dirty=!0)},Wzc=function(a){return[Mzc].concat(a.constants.priorities.map(function(b){return{value:b,displayText:b}}))},Xzc=function(a){return[Mzc].concat(a.constants.severities.map(function(b){return{value:b,displayText:b}}))},Yzc=function(a){return a.templateRows.filter(function(b){return!b.inherited})},Zzc=function(a){return a.templateRows.filter(function(b){return b.inherited})};
FY.prototype.setCustomField=function(a,b,c){a.editableTemplate.setCustomField(b,c!==null?c:void 0)};
var U6a=function(a){a.currentTemplate=null;a.currentTemplateRow=null;a.currentIndex=-1;GY(a)},t6a=function(a,b){var c=a.currentIndex;$zc(a,function(){b.index===c?U6a(a):a.openEditor(b.index)})},aAc=function(a){a.templateHotlistIds.push([]);$zc(a,function(){a.openEditor()})},pq=function(a,b){return b.index>=0&&b.index===a.currentIndex},w6a=function(a,b){var c;return b.index>=0&&!((c=a.templates[b.index])==null?0:c.default)},T6a=function(a){var b,c,d,e,f,h,k,q,t,w,B,E,I,J;return fe(function(N){if(N.nextAddress==
1){if(!a.currentTemplate)return N.return();c=(b=a.currentTemplate.collaborators)!=null?b:[];e=(d=a.currentTemplate.collaboratorGroups)!=null?d:[];return he(N,Rzc(a.confirmIssueAccessLimitSettingsService,{assigneeUser:a.currentTemplate.assignee,verifierUser:a.currentTemplate.verifier,ccUsers:a.currentTemplate.cc,collaboratorsUsers:[].concat(r(c),r(e)),issueAccessLimitLevel:a.currentTemplate.issueAccessLimitLevel,currentUserEmail:a.activeSession.getUserEmail(),canEditIssuesInComponent:!0,confirmationDialogText:Uzc}),
2)}f=N.yieldResult;if(!f)return N.return();a.currentIndex<0?(k="creating",q={componentId:a.componentId,default:!1},h=function(P){Ap(a.butterBar,P.name?'Template "'+P.name+'" created.':"Template created.");a.analytics.trackEvent("template","create");bAc(a,"create",P.snapshot);cAc(a,"create",P.templateId);dAc(a,"create",P.templateId);a.templates.push(P);a.openEditor(a.templates.length-1)}):(k="updating",t=a.currentIndex,q=a.templates[t],h=function(P){Ap(a.butterBar,P.name?'Template "'+P.name+'" updated.':
"Template updated.");a.analytics.trackEvent("template","update");bAc(a,"update",P.snapshot);cAc(a,"update",P.templateId);dAc(a,"update",P.templateId);a.templates[t]=P;U6a(a)});a.currentTemplate.hotlistId=a.templateHotlistIds[a.hotlistPickerIndex];Lzc(a.currentTemplate,q);Ap(a.butterBar,"Saving template...");B=w=q;E=B.componentId;J=(I=B.templateId)&&String(I)!=="0"?a.templatesApi.update(E,I,w):a.templatesApi.create(E,w);return N.return(J.then(function(P){a.appEvents.templateModified.next(String(a.componentId));
h(P);a.cdr.detectChanges()}).catch(function(P){P=nn(P);a.butterBar.showWarning(P?"Error "+k+" template: "+P:"There was an error "+k+" the template.",0)}))})},u6a=function(a,b){qI(a.matDialogService.open(a.deleteDialog,{data:b})).pipe(qf(a.destroyed$)).subscribe(function(c){c&&eAc(a,b)})},eAc=function(a,b){var c=b.index;var d;fe(function(e){switch(e.nextAddress){case 1:d=a.templates[c];if(c<0||d.default)return e.return(Promise.resolve());Ua(a.templateHotlistIds,c);Ua(a.templates,c);a.defaultIndex=
a.templates.findIndex(function(f){return f.default});GY(a);a.cdr.detectChanges();Ap(a.butterBar,"Deleting...");ge(e,2,3);return he(e,a.templatesApi.delete(d.componentId,d.templateId),5);case 5:a.appEvents.templateModified.next(String(a.componentId)),Ap(a.butterBar,"Deleted template"),a.analytics.trackEvent("template","delete"),a.currentIndex===c&&U6a(a);case 3:return ie(e),he(e,a.loadTemplates(),6);case 6:GY(a);a.cdr.detectChanges();je(e,0);break;case 2:ke(e),a.butterBar.showWarning("Error while deleting template"),
e.jumpTo(3)}})},gAc=function(a,b){b?T6a(a).then(function(){fAc(a);a.cdr.detectChanges()}):fAc(a)},v6a=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};
FY.prototype.openEditor=function(a){var b=this;this.currentIndex=a===void 0?-1:a;if(this.currentIndex<0){this.currentTemplate=hAc(this,{componentId:this.componentId,default:!1,name:"New Template"});this.currentTemplate.dirty=!0;this.updateSelectedHotlists();GY(this);this.cdr.detectChanges();var c;(c=document.getElementById("template-name"))==null||c.focus()}else iAc(this,this.templates[this.currentIndex]).then(function(d){b.currentTemplate=hAc(b,d);b.hotlistPickerIndex=b.currentIndex;b.updateSelectedHotlists();
GY(b);b.currentTemplate.separateCollaboratorGroups(b.trackerCollaboratorGroups);b.cdr.detectChanges();var e;(e=document.getElementById("template-name"))==null||e.focus()})};
var iAc=function(a,b){return a.templatesApi.get(b.componentId,b.templateId||0)},$zc=function(a,b){a.currentTemplate&&a.currentTemplate.isDirty()?(a.afterSaveCheckFunc=b,jAc(a)):b()},bAc=function(a,b,c){c&&c.issueAccessLimitLevel&&c.issueAccessLimitLevel!=="LIMIT_NONE"&&a.analytics.trackEvent("issueAccessLimits",b,"template:"+c.issueAccessLimitLevel)},cAc=function(a,b,c){a.currentTemplate&&a.currentTemplate.collaboratorGroups.length>0&&a.analytics.trackEvent("quickAddCollaborators",b,"template:"+c)},
dAc=function(a,b,c){var d;((d=a.currentTemplate)==null?0:d.inheritable)&&a.analytics.trackEvent("templateInheritance",b,"component:"+a.componentId+" template:"+c)},jAc=function(a){qI(a.matDialogService.open(a.saveBeforeClosingDialog,{data:a.currentTemplateRow})).pipe(qf(a.destroyed$)).subscribe(function(b){b!==void 0&&gAc(a,b)})},fAc=function(a){var b=a.afterSaveCheckFunc;a.afterSaveCheckFunc=null;b&&b()},hAc=function(a,b){return new AY(a.customFieldIds,b)};
FY.prototype.loadCustomFields=function(){var a=this;this.customFieldRows=[];this.customFieldIds={};return this.supportCustomFields?this.componentActions.get(this.componentId).then(function(b){a.componentIdsToPaths={};var c=[],d,e=((d=b.componentPathInfo)==null?void 0:d.componentPathId)||[];for(d=0;d<e.length;d++){var f=b.componentPathInfo.componentPathId[d];c.push(b.componentPathInfo.componentPathName[d]);a.componentIdsToPaths[f]=c.join(" > ")}b=l(b.componentPathInfo.allCustomField||[]);for(c=b.next();!c.done;c=
b.next()){c=c.value;if(!c.enabledOnIssues)return;a.customFieldIds[c.customFieldId.toString()]=c;a.customFieldRows.push(new Jzc(c,c.type==="TEXT"?"1":"2"))}a.cdr.detectChanges()}).catch(function(){a.butterBar.showWarning("Unable to load custom fields")}):Promise.resolve()};
FY.prototype.loadTemplates=function(){var a=this;this.templates=[];return this.templatesApi.query(this.componentId).then(function(b){a.templates=b;b=l(a.templates);for(var c=b.next();!c.done;c=b.next())c=c.value,c.snapshot.hotlistId?a.templateHotlistIds.push(c.snapshot.hotlistId):a.templateHotlistIds.push([]);a.defaultIndex=a.templates.findIndex(function(d){return d.default});a.cdr.detectChanges()}).catch(function(){a.butterBar.showWarning("Unable to load templates")})};
var GY=function(a){if(a.currentIndex<0)a.templateRows=a.templates.map(function(e,f){return new Izc(f,e,e.componentId!==a.componentId&&e.inheritable)}),a.currentTemplate&&(a.currentTemplateRow=new Izc(-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 Izc(f,e,e.componentId!==a.componentId&&e.inheritable)}));a.currentTemplate&&(a.currentTemplateRow=
new Izc(b,a.currentTemplate,!1),c.push(a.currentTemplateRow));d=a.templates.slice(b+1);c=c.concat(d.map(function(e,f){return new Izc(b+f+1,e,e.componentId!==a.componentId&&e.inheritable)}));a.templateRows=c;a.hotlistPickerIndex=a.currentIndex}},s6a=function(a,b){var c,d,e,f;return fe(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;Hp(Gp(d))&&(d="(unnamed template)");a.defaultIndex=b;Ap(a.butterBar,"Changing default template...");
a.analytics.trackEvent("template","changeDefault");ge(h,2,3);return he(h,kAc(a,c.templateId),5);case 5:Ap(a.butterBar,"Changed default template to "+d);case 3:return ie(h),he(h,a.loadTemplates(),6);case 6:GY(a);a.cdr.detectChanges();je(h,0);break;case 2:e=ke(h),f="Error while changing default message"+(mn(e)?": "+nn(e):"."),a.butterBar.showWarning(f),h.jumpTo(3)}})},kAc=function(a,b){var c,d;return fe(function(e){if(e.nextAddress==1)return he(e,(0,W.firstValueFrom)(a.component$),2);if(e.nextAddress!=
3){c=e.yieldResult;if(!c||c.defaultTemplateId===b)return e.return();c.defaultTemplateId=b;return he(e,a.componentActions.update(c),3)}d=e.yieldResult;a.componentFridge.announce(d);a.appEvents.templateModified.next(String(d.componentId));le(e)})};FY.\u0275fac=function(a){return new (a||FY)(A(wI),A(YF,2),A(aF),A(HC),A(RE),A(JI),A(pN),A(sE),A(bG),A(FI),A(UU),A(oI),A(yE),A(qC),A(pH),A(CC),A(hF),A(EY),A(Ir))};
FY.\u0275cmp=p({type:FY,selectors:[["b-edit-templates"]],viewQuery:function(a,b){a&1&&(fg(Szc,5),fg(Tzc,5));if(a&2){var c;jg(c=kg())&&(b.saveBeforeClosingDialog=c.first);jg(c=kg())&&(b.deleteDialog=c.first)}},inputs:{componentId:"componentId",supportCustomFields:"supportCustomFields"},features:[qg([YF]),zf],decls:22,vars:3,consts:[["deleteDialog",""],["saveBeforeClosingDialog",""],["typeMenu",""],["priorityMenu",""],["severityMenu",""],["card","onedevHovercard"],["cardBody",""],[1,"component-banner",
"template-help-banner"],["target","_blank",1,"keep-underline","keep-focus-ring",3,"href"],[1,"templates-list"],[1,"template-column-tool"],[4,"ngFor","ngForOf"],[3,"ngIf"],[1,"edit-button-row"],["format","fill","bAriaLabel","Create New template in this component",3,"onAction"],[4,"ngIf"],["colspan","4",4,"ngIf"],["tabindex","-1",1,"template-row-name"],[1,"template-row-new-issue-link"],["tabindex","0",1,"keep-focus-ring",3,"href"],[3,"change","id","checked","aria-label","value"],["format","hairline",
3,"onAction","bAriaLabel"],["format","hairline",3,"onAction","bAriaLabel","disabled"],["colspan","4"],[1,"template-edit-pane","template-editor-within-table"],["class","form-header",4,"ngIf"],[1,"cell-1"],[1,"template-label"],["for","template-name"],["id","template-name","type","text",1,"template-field",3,"ngModelChange","ngModel"],["for","template-description"],["id","template-description","type","text",1,"template-field",3,"ngModelChange","ngModel"],"role;region;tabindex;0;aria-label;Standard issue fields".split(";"),
[1,"cell-1","access-limit-row"],[1,"access-limit-field"],["for","template-issue-access-limits-dropdown"],["id","template-issue-access-limits-dropdown",3,"updatedAccessLimitLevel","disabled","defaultAccessLimitLevel","implicitAccessEnabled"],["class","collaborator-group-field",4,"ngIf"],["for","template-title"],["id","template-title","type","text",1,"template-field",3,"ngModelChange","ngModel"],[1,"cell-3"],["for","template-default-type"],["id","template-default-type","type","button","mat-button",
"",1,"medium","primary",3,"matMenuTriggerFor"],["name","arrow-dropdown","size","small"],[3,"overlapTrigger"],["mat-menu-item","",3,"disabled","matTooltip","click",4,"ngFor","ngForOf"],["for","template-default-priority"],["id","template-default-priority","type","button","mat-button","",1,"medium","primary",3,"matMenuTriggerFor"],["mat-menu-item","",3,"disabled","click",4,"ngFor","ngForOf"],["for","template-default-severity"],["id","template-default-severity","type","button","mat-button","",1,"medium",
"primary",3,"matMenuTriggerFor"],[1,"cell-1","bv2-edit-template-hotlists"],["for","template-default-hotlist"],["id","template-default-hotlist",1,"hotlist-picker",3,"onApply","onCreate","onLoad","selectedHotlistIds","choices"],["class","bv2-hotlist-chips",4,"ngFor","ngForOf"],[1,"float-clear"],[1,"cell-2"],["for","template-assignee"],["id","template-assignee","type","text",1,"template-field",3,"ngModelChange","bContactAutocomplete","ngModel"],["for","template-verifier"],["id","template-verifier","type",
"text",1,"template-field",3,"ngModelChange","bContactAutocomplete","ngModel"],["for","template-collaborators"],["matTooltip","Collaborators are people directly working on this issue. When expanded access is on, this field grants issue edit permissions","svgIcon","help-outline","tabindex","0",1,"icon-xs","valign-middle","margin-xs-left"],["id","template-collaborators","type","text",1,"template-field",3,"ngModelChange","bContactAutocomplete","ngModel"],["for","template-cc"],["id","template-cc","type",
"text",1,"template-field",3,"ngModelChange","bContactAutocomplete","ngModel"],["for","template-comment"],["id","template-comment",1,"template-field",3,"ngModelChange","ngModel"],[3,"change","initialValue"],["for","template-in-prod"],["id","template-in-prod","aria-label","issue in prod",3,"modelChange","model"],"role;region;tabindex;0;aria-label;Custom issue fields".split(";"),[3,"class",4,"ngFor","ngForOf"],[1,"buttons-row"],["format","fill",3,"onAction","disabled"],["format","hairline",3,"onAction"],
[1,"form-header"],["id","template-inheritable","aria-label","template inheritable by child components",3,"modelChange","model"],["for","template-inheritable"],["matTooltip","If activated, all child components will inherit this template. Make sure this template meets your organizational needs as sub-components will not be able to hide this template","svgIcon","help-outline","tabindex","0",1,"icon-xs","valign-middle","margin-xs-left"],[1,"collaborator-group-field"],["for","template-collaborator-groups-dropdown"],
["svgIcon","help-outline","tabindex","0","aria-hidden","false",1,"icon-xs","valign-middle","margin-xs-left",3,"matTooltip"],["appearance","outline",1,"static-label"],["multiple","","aria-label","Collaborator groups",3,"ngModelChange","ngModel"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],["mat-menu-item","",3,"click","disabled","matTooltip"],["mat-menu-item","",3,"click","disabled"],[1,"bv2-hotlist-chips"],[3,"removeHotlist","hotlist"],[3,"for"],[3,"ngSwitch"],["class","template-field","type","text",
3,"ngModel","ngModelChange",4,"ngSwitchCase"],["class","template-field","type","number","step","any",3,"ngModel","ngModelChange",4,"ngSwitchCase"],[3,"type","name","clearable","value","choices","valueChange",4,"ngSwitchCase"],[3,"boundValue","boundValueChange",4,"ngSwitchCase"],[3,"defaultLineCount","type","values","enumChoices","truncate","valuesChange",4,"ngSwitchDefault"],["type","text",1,"template-field",3,"ngModelChange","ngModel"],["type","number","step","any",1,"template-field",3,"ngModelChange",
"ngModel"],[3,"valueChange","type","name","clearable","value","choices"],[3,"boundValueChange","boundValue"],[3,"valuesChange","defaultLineCount","type","values","enumChoices","truncate"],["role","heading","aria-level","3",1,"template-row-name"],["colspan","2"],[1,"template-component-path"],[1,"header-label"],[3,"onedevHovercardTrigger","href"],[4,"onedevHovercardLazyBody"],[3,"onedevIsHovercardReady","componentId"],["mat-dialog-content",""],["mat-dialog-actions",""],["mat-button","",1,"medium","cancel",
3,"mat-dialog-close"],["color","primary","mat-flat-button","",1,"medium","confirm",3,"mat-dialog-close"],["mat-button","",1,"medium",3,"mat-dialog-close"],["cdkFocusInitial","","color","primary","mat-flat-button","",1,"medium","confirm",3,"mat-dialog-close"]],template:function(a,b){if(a&1){var c=u();F(0,"div")(1,"div",7);R(2," A template is a set of default values for new issues created in this component. ");F(3,"a",8);R(4,"Learn more");G()();F(5,"table",9)(6,"tr")(7,"th");R(8,"TEMPLATE");G();F(9,
"th",10);R(10,"DEFAULT");G();H(11,"th",10)(12,"th",10);G();C(13,X6a,3,2,"tr",11)(14,a7a,2,2,"ng-template",12);G();F(15,"div",13)(16,"b-button",14);M("onAction",function(){v(c);return x(aAc(b))});R(17," Create New Template ");G()();C(18,b7a,7,3,"ng-template",null,0,yg)(20,c7a,9,4,"ng-template",null,1,yg);G()}a&2&&(z(3),D("href","https://g3doc.corp.google.com/company/teams/buganizer/user-guide/concepts/templates",Qe),z(10),D("ngForOf",Yzc(b)),z(),D("ngIf",Zzc(b)))},dependencies:[jQ,Fv,Gv,Hv,Iv,Jv,zB,
KL,cW,PW,mh,Ay,qy,yy,CY,tX,$H,aI,gI,bI,BY,fX,IH,Rx,xI,BI,AI,vR,LW,rP,mM,Wy,nM,oM,Kx,kM,LH,OH,hN,QL,TL,RL,UL,DY],styles:["[_nghost-%COMP%]     mat-form-field.static-label{width:180px;margin-top:5px;font-size:1rem}[_nghost-%COMP%]     mat-form-field.static-label .mat-mdc-form-field-infix{min-height:initial;padding:0}.buttons-row[_ngcontent-%COMP%]   b-button[_ngcontent-%COMP%]{margin-right:10px}.access-limit-field[_ngcontent-%COMP%]{margin-right:20px}.cell-1.access-limit-row[_ngcontent-%COMP%]{display:inline-flex;min-height:60px}.template-component-path[_ngcontent-%COMP%]{white-space:nowrap}"]});var HY=function(){};HY.\u0275fac=function(a){return new (a||HY)};HY.\u0275mod=dd({type:HY});HY.\u0275inj=Ic({imports:[BB,RV]});var IY=function(a,b){this.hotlists=a;this.userAccess=b;this.id$=new W.ReplaySubject(1);this.removeHotlist=new XF;this.removable=!0;this.hotlist$=this.id$.pipe(pf(this.hotlists.watch));this.isDisabled$=(0,W.combineLatest)([this.id$,this.id$.pipe(pf(this.hotlists.isSaving$))]).pipe(y(function(c){var d=l(c);c=d.next().value;d=d.next().value;return c==null?!1:d?!0:!1}))};
IY.prototype.ngOnInit=function(){var a=this;this.removable$=this.removable==="check-acl"?this.id$.pipe(pf(function(b){return oD(a.userAccess,"appender","hotlists/"+b)})):(0,W.of)(this.removable)};ea.Object.defineProperties(IY.prototype,{id:{configurable:!0,enumerable:!0,set:function(a){this.idInternal=String(a);this.id$.next(String(a))}}});IY.\u0275fac=function(a){return new (a||IY)(A(bF),A(mD))};
IY.\u0275cmp=p({type:IY,selectors:[["b-hotlist-chip-smart"]],inputs:{id:"id",removable:"removable"},outputs:{removeHotlist:"removeHotlist"},decls:4,vars:9,consts:[[3,"removeHotlist","hotlist","disabled","removable"]],template:function(a,b){a&1&&(F(0,"b-hotlist-chip",0),T(1,"async"),T(2,"async"),T(3,"async"),M("removeHotlist",function(){b.idInternal==null?Ei("Missing id"):b.removeHotlist.emit()}),G());if(a&2){var c;D("hotlist",V(1,3,b.hotlist$))("disabled",V(2,5,b.isDisabled$)===!0)("removable",(c=
V(3,7,b.removable$))!==null&&c!==void 0?c:!1)}},dependencies:[CY,Lv],encapsulation:2,changeDetection:0});var JY=function(){};JY.\u0275fac=function(a){return new (a||JY)};JY.\u0275mod=dd({type:JY});JY.\u0275inj=Ic({imports:[BB,NL,FU,ML]});var KY=function(){};KY.\u0275fac=function(a){return new (a||KY)};KY.\u0275mod=dd({type:KY});KY.\u0275inj=Ic({imports:[BB,dJ,ZL,aM,jN]});var LY=function(){};LY.\u0275fac=function(a){return new (a||LY)};LY.\u0275mod=dd({type:LY});LY.\u0275inj=Ic({imports:[YS,BB,KM,gW,QW,My,JY,vY,NL,HY,gX,dJ,jM,fJ,GS,MW,GJ,sP,qM,Nx,aM,jN,ZL,KY]});var MY=function(a,b,c,d){this.activeSession=a;this.appSearchState=b;this.analytics=c;this.domSafe=d;this.enableEstado=this.activeSession.getFlag("enableEstado")};MY.prototype.openInEstado=function(){this.analytics.trackEvent("listIssues","addOns","Estado");this.domSafe.openInNewTab("http://go/estado/dashboard-lite/buganizer?buganizer-query="+encodeURIComponent(this.appSearchState.currentQuery))};MY.\u0275fac=function(a){return new (a||MY)(n(Ir),n(xH),n(bG),n(FH))};
MY.\u0275prov=Hc({token:MY,factory:MY.\u0275fac,providedIn:"root"});var NY=function(a,b){this.sloStatusHelpersService=a;this.dateFormatter=b;this.timeDisplayText="--";this.rawObjectiveDisplayText=this.objectiveDisplayText=null;this.cardActionText="--";this.sloEndTimeDisplayText=(0,W.of)("--");this.SloRuleDayType=F3b;this.iconName="slo-status-no-data"};NY.prototype.getIconName=function(a){return lAc.has(a)?lAc.get(a):"slo-status-no-data"};
var mAc=function(a,b,c){a.iconName=a.getIconName(b);c=c!==null?zfc(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:Ei("unknown status type: "+b)}};
NY.prototype.ngOnChanges=function(){var a=Date.now()/1E3;if(this.sloBounds&&mJ(this.sloBounds)){var b=this.sloBounds.targetTime.seconds,c=b-this.sloBounds.startTime.seconds;c?this.objectiveDisplayText=zfc(c*1E3):this.objectiveDisplayText=null;var d,e,f;this.rawObjectiveDisplayText=zfc((((e=(d=this.sloBounds.objective)==null?void 0:d.seconds)!=null?e:0)+((f=this.sloBounds.businessDays)!=null?f:0)*86400)*1E3);this.sloEndTimeDisplayText=SM(this.dateFormatter,new Date(b*1E3));c=this.sloBounds;mJ(c)&&
c.endTime&&c.endTime.seconds!==0&&c.endTime.seconds<=Date.now()/1E3?(b=this.sloBounds.endTime.seconds,this.sloEndTimeDisplayText=SM(this.dateFormatter,new Date(b*1E3)),mAc(this,"COMPLETED",a-b)):b<a?mAc(this,"OUT_OF_SLO",a-b):(c=this.sloStatusHelpersService.isSloStartTimeApplied(this.sloStartTime),a=b-a,mAc(this,a>259200?c?"SNOOZED_HEALTHY":"HEALTHY":c?"SNOOZED_NEAR":"NEAR",a))}else mAc(this,"NO_DATA",null),this.rawObjectiveDisplayText=this.objectiveDisplayText=null};
NY.\u0275fac=function(a){return new (a||NY)(A(lJ),A(RM))};
NY.\u0275cmp=p({type:NY,selectors:[["b-slo-time-indicator"]],inputs:{sloBounds:"sloBounds",sloStartTime:"sloStartTime",sloEndTime:"sloEndTime",includeSnoozeDetails:"includeSnoozeDetails",sloMetricDescription:"sloMetricDescription",includeObjective:"includeObjective"},features:[td],decls:16,vars:13,consts:[["card",""],["dayTypeCalendar",""],[3,"ngClass","svgIcon"],[1,"slo-time-indicator-text",3,"onedevHovercardTrigger","onedevHovercardActive"],[1,"slo-status-text"],["role","dialog","aria-label","More slo information",
1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],[1,"margin-s-bottom","padded-s-bottom","border-bottom"],[4,"ngIf","ngIfElse"]],template:function(a,b){a&1&&(H(0,"mat-icon",2),F(1,"span",3)(2,"span",4),R(3),G()(),F(4,"onedev-hovercard",null,0)(6,"div",5)(7,"div",6)(8,"div"),R(9),G(),F(10,"div",7),R(11),T(12,"async"),G(),C(13,d7a,5,2,"ng-container",8),G()()(),C(14,e7a,2,1,"ng-template",null,1,yg));if(a&2){a=Q(5);var c=Q(15);D("ngClass",b.iconName)("svgIcon",b.iconName);Bf("aria-label",b.timeDisplayText===
"--"?"No SLO data":"");z();D("onedevHovercardTrigger",a)("onedevHovercardActive",!(!b.includeObjective||!b.rawObjectiveDisplayText));z(2);lg(b.timeDisplayText);z(6);lg(b.timeDisplayText);z(2);mg(" ",b.cardActionText," ",V(12,11,b.sloEndTimeDisplayText)," ");z(2);D("ngIf",(b.sloBounds==null?null:b.sloBounds.dayType)===b.SloRuleDayType.BUSINESS)("ngIfElse",c)}},dependencies:[Ev,Gv,zB,$H,gI,Lv],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 lAc=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 OY=function(a){this.sloStatusHelpersService=a;this.includeNoSlo=!1};OY.prototype.ngOnInit=function(){nAc(this);this.hasSlo=!!this.sloStatus&&Iac(this.sloStatus)};OY.prototype.ngOnChanges=function(){nAc(this)};var nAc=function(a){a.sloStatus&&(a.assignmentSlo=oAc(kj(a.sloStatus.assignmentBounds)),a.responseSlo=oAc(kj(a.sloStatus.responseBounds)),a.closureSlo=oAc(kj(a.sloStatus.closureBounds)))};OY.prototype.isSloStartTimeApplied=function(){return this.sloStatusHelpersService.isSloStartTimeApplied(this.sloStartTime)};
var oAc=function(a){if(mJ(a))return a};OY.\u0275fac=function(a){return new (a||OY)(A(lJ))};
OY.\u0275cmp=p({type:OY,selectors:[["b-slo-status-summary"]],inputs:{sloStatus:"sloStatus",sloStartTime:"sloStartTime",sloEndTime:"sloEndTime",includeNoSlo:"includeNoSlo",onlyShowMetric:"onlyShowMetric"},features:[td],decls:3,vars:3,consts:[[4,"ngIf"],["sloMetricDescription","ASSIGNMENT",3,"sloStartTime","sloEndTime","sloBounds","includeObjective"],["sloMetricDescription","RESPONSE",3,"sloStartTime","sloEndTime","sloBounds","includeObjective"],["sloMetricDescription","CLOSURE",3,"sloStartTime","sloEndTime",
"sloBounds","includeObjective"]],template:function(a,b){a&1&&C(0,f7a,2,4,"div",0)(1,g7a,2,4,"div",0)(2,h7a,2,4,"div",0);a&2&&(D("ngIf",(b.includeNoSlo||b.assignmentSlo)&&(!b.onlyShowMetric||b.onlyShowMetric=="ASSIGNMENT")),z(),D("ngIf",(b.includeNoSlo||b.responseSlo)&&(!b.onlyShowMetric||b.onlyShowMetric=="RESPONSE")),z(),D("ngIf",(b.includeNoSlo||b.closureSlo)&&(!b.onlyShowMetric||b.onlyShowMetric=="CLOSURE")))},dependencies:[Gv,NY],encapsulation:2,changeDetection:0});var PY=function(a,b,c){this.sloStatusHelpersService=a;this.analytics=b;this.sloApi=c};PY.prototype.ngOnInit=function(){this.hasSlo=!!this.sloStatus&&Jac(this.sloStatus,this.onlyShowMetric);this.sloId!=="0"?(this.editSloLink=zo.editSlo.makeHref(this.sloId),pAc(this)):this.editSloLink=null};PY.prototype.trackOpenSlo=function(){this.analytics.trackEvent("editSlo","open","fromSloStatusCard")};var pAc=function(a){a.sloApi.get(a.sloId).then(function(b){a.sloName=b.name}).catch(function(){a.sloName=null})};
PY.\u0275fac=function(a){return new (a||PY)(A(lJ),A(bG),A($G))};
PY.\u0275cmp=p({type:PY,selectors:[["slo-status-card"]],inputs:{sloId:"sloId",sloStatus:"sloStatus",sloStartTime:"sloStartTime",onlyShowMetric:"onlyShowMetric"},ngContentSelectors:["*"],decls:10,vars:4,consts:[["card",""],[3,"onedevHovercardTrigger"],["role","dialog","aria-label","SLO Hovercard",1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],[1,"bv2-hovercard-narrow"],["class","slo-indicators",4,"ngIf"],["class","no-slo-message",4,"ngIf"],[4,"ngIf"],[1,"slo-indicators"],[3,"sloStatus",
"sloStartTime","onlyShowMetric"],[1,"no-slo-message"],["class","slo-link",3,"href","click",4,"ngIf"],[1,"slo-link",3,"click","href"]],template:function(a,b){a&1&&(Xf(),F(0,"span",1),Yf(1),G(),F(2,"onedev-hovercard",null,0)(4,"div",2)(5,"div",3)(6,"div",4),C(7,i7a,2,3,"div",5)(8,l7a,3,2,"div",6)(9,o7a,4,2,"span",7),G()()()());a&2&&(a=Q(3),D("onedevHovercardTrigger",a),z(7),D("ngIf",b.hasSlo),z(),D("ngIf",!b.hasSlo),z(),D("ngIf",b.editSloLink))},dependencies:[Gv,$H,gI,OY],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 qAc=function(a){var b=this;this.selectedCustomField=null;this.isLegalColumn=function(c){return b.columns.find(function(d){return d.name===String(c.customFieldId)})===void 0};this.column=a.column;this.columns=a.columns};qAc.\u0275fac=function(a){return new (a||qAc)(A(vI))};
qAc.\u0275cmp=p({type:qAc,selectors:[["b-column-picker-custom-dialog"]],decls:9,vars:4,consts:[["mat-dialog-title",""],[3,"fieldSelected","filter"],["mat-button","",1,"medium","cancel",3,"mat-dialog-close"],["mat-flat-button","",1,"medium","dialog-primary-action","confirm",3,"disabled","mat-dialog-close"]],template:function(a,b){a&1&&(F(0,"h1",0),R(1),G(),F(2,"mat-dialog-content")(3,"b-custom-field-picker",1),M("fieldSelected",function(c){return b.selectedCustomField=c}),G()(),F(4,"mat-dialog-actions")(5,
"button",2),R(6," Cancel "),G(),F(7,"button",3),R(8," Add "),G()());a&2&&(z(),S("Insert custom field column next to ",b.column.fullLabel,""),z(2),D("filter",b.isLegalColumn),z(4),D("disabled",!b.selectedCustomField)("mat-dialog-close",b.selectedCustomField))},dependencies:[IH,Rx,xI,zI,BI,AI,jX],encapsulation:2});var p7a="issueId componentPath type status priority severity reporter assignee verifier cc collaborator changelist postmortem blockingIssueId blockedByIssueId createdTime modifiedTime resolvedTime verifiedTime title foundInVersion targetedToVersion verifiedInVersion inProd duplicateOfIssueId voteCount duplicateCount ccCount collaboratorCount lastModifier archived minSlo assignmentSlo responseSlo closureSlo deletionTime team estimate estimateTotalOpen estimateTotalComplete accessLevel descendantCount openDescendantCount oneDayViewCount sevenDayViewCount thirtyDayViewCount".split(" "),
rAc="priority type title assignee status sevenDayViewCount issueId modifiedTime".split(" ");var qq=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)};qq.prototype.toString=function(){return this.isCustomField?"customfield:"+this.name+"["+this.fullLabel+"]":this.name};
var v7a={issueId:{defaultSortDirection:"DESC",label:"ID",moreOptions:[{name:"id-link",menuItem:"Plain Link"},{name:"id-copy",menuItem:"Quick Copy Chip"}]},priority:{label:"P",fullLabel:"Priority"},severity:{label:"S",fullLabel:"Severity"},modifiedTime:{defaultSortDirection:"DESC",label:"LAST MODIFIED"},createdTime:{defaultSortDirection:"DESC",label:"CREATED"},verifiedTime:{defaultSortDirection:"DESC",label:"VERIFIED"},resolvedTime:{defaultSortDirection:"DESC",label:"RESOLVED"},blockedByIssueId:{sortable:!1,
label:"BLOCKED BY"},foundInVersion:{label:"FOUND IN"},targetedToVersion:{label:"TARGETED TO"},verifiedInVersion:{label:"VERIFIED IN"},inProd:{label:"IN PROD"},duplicateOfIssueId:{sortable:!1,label:"DUPLICATE OF"},componentPath:{label:"COMPONENT",moreOptions:[{name:"wrapComponents",menuItem:"Wrap components"},{name:"rtlComponentPath",menuItem:"Prefer right alignment"}]},cc:{sortable:!1},collaborator:{sortable:!1},changelist:{sortable:!1},postmortem:{sortable:!1},blockingIssueId:{sortable:!1,label:"BLOCKING"},
title:{moreOptions:[{name:"showHotlists",menuItem:"Show hotlists"},{name:"wrapTitles",menuItem:"Wrap titles"}]},status:{moreOptions:[{name:"showStatusIcons",menuItem:"Icons only"},{name:"status-plain",menuItem:"Plain text (no colors)"}]},voteCount:{defaultSortDirection:"DESC",label:"VOTES",fullLabel:"Vote Count"},duplicateCount:{defaultSortDirection:"DESC",label:"DUPE COUNT",tooltip:"Duplicate Count"},ccCount:{defaultSortDirection:"DESC",label:"CC COUNT"},collaboratorCount:{defaultSortDirection:"DESC",
label:"COLLABORATOR COUNT"},lastModifier:{label:"LAST MODIFIED BY"},minSlo:{defaultSortDirection:"ASC",label:"NEAREST SLO",fullLabel:"Nearest SLO",parentLabel:"SLO"},assignmentSlo:{label:"ASSIGNMENT SLO",fullLabel:"Assignment SLO",parentLabel:"SLO",sortable:!0},responseSlo:{label:"RESPONSE SLO",fullLabel:"Response SLO",parentLabel:"SLO",sortable:!0},closureSlo:{label:"CLOSURE SLO",fullLabel:"Closure SLO",parentLabel:"SLO",sortable:!0},deletionTime:{label:"DELETION DATE",fullLabel:"Deletion Date",
sortable:!0},team:{label:"TEAM",sortable:!0},estimate:{label:"ESTIMATE",fullLabel:"Estimate",parentLabel:"Estimates",sortable:!0},estimateTotalOpen:{label:"TOTAL DAYS OPEN",fullLabel:"Total days open",parentLabel:"Estimates",sortable:!0,tooltip:"Total estimate of all child issues that are open in number of days"},estimateTotalComplete:{label:"TOTAL DAYS COMPLETE",fullLabel:"Total days complete",parentLabel:"Estimates",sortable:!0,tooltip:"Total estimate of all child issues that are complete (fixed or won\u2019t fix) in number of days"},
accessLevel:{label:"ISSUE ACCESS LEVEL",sortable:!0},descendantCount:{defaultSortDirection:"DESC",parentLabel:"Descendant Issue",label:"DESCENDANT COUNT",sortable:!0},openDescendantCount:{defaultSortDirection:"DESC",parentLabel:"Descendant Issue",label:"OPEN DESCENDANT COUNT",sortable:!0},oneDayViewCount:{defaultSortDirection:"DESC",parentLabel:"View Count",label:"24H VIEWS",sortable:!0,tooltip:"Total view count in the past 24 hours"},sevenDayViewCount:{defaultSortDirection:"DESC",parentLabel:"View Count",
label:"7D VIEWS",sortable:!0,tooltip:"Total view count in the past seven days"},thirtyDayViewCount:{defaultSortDirection:"DESC",parentLabel:"View Count",label:"30D VIEWS",sortable:!0,tooltip:"Total view count in the past thirty days"}};var sAc=function(a,b,c){this.target=a;this.eventType=b;this.listener=c;this.target.addEventListener(this.eventType,this.listener)};sAc.prototype.off=function(){this.target.removeEventListener(this.eventType,this.listener)};var tAc=function(){this.bindings=[]};tAc.prototype.off=function(){for(var a=l(this.bindings),b=a.next();!b.done;b=a.next())b.value.off()};
var uAc=function(a){var b=this;this.params=a;this.mask=document.createElement("div");this.element=this.params.nativeElement;this.eventBindings=new tAc;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()}};
uAc.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(){vAc(a,"dragstart",a.onDragTargetDragstart);vAc(a,"dragenter",a.onDragTargetDragenter);vAc(a,"dragend",a.onDragTargetDragend);vAc(a,"selectstart",a.onDragTargetSelectstart);a.eventBindings.bindings.push(new sAc(a.mask,"dragleave",a.onMaskDragLeave));
a.eventBindings.bindings.push(new sAc(a.mask,"dragover",a.onMaskDragover));a.eventBindings.bindings.push(new sAc(a.mask,"drop",a.onMaskDrop))})};var vAc=function(a,b,c){a.eventBindings.bindings.push(new sAc(a.element,b,Ck("th.drag-target",c)))};uAc.prototype.tearDown=function(){this.eventBindings.off()};var wAc=["table"],xAc=["defaultHeaderCellTemplate"],yAc=["defaultViewCellTemplate"],zAc=["dataRows"],y7a=function(a){return{column:a}},B7a=function(a,b,c){return{row:a,column:b,index:c}},QY=function(a,b){var c=this;this.activeSession=a;this.ngZone=b;this.headerCellTemplates={};this.viewCellTemplates={};this.list=[];this.columns=[];this.columnsChange=new XF;this.rowClick=new XF;this.rowLabelRenderer=function(d,e){return"Row "+e};this.sortChange=new XF;this.focusedRowIndexChange=new XF;this.afterViewInit=
new XF;this.enableDragDropHeader=!0;this.readUnreadOptOut=this.activeSession.getFlag("readUnreadOptOut");this.onDragDropColumn=function(d,e){var f=[].concat(r(c.columns));d=f.splice(d,1)[0];f.splice(e,0,d);c.columns=f;c.columnsChange.emit([].concat(r(c.columns)))};this.onTdClickableClick=Ck("td.clickable",function(d,e){if((d.type!=="mouseup"||d.button===1)&&!Ydc(e)&&(e=e.closest("tr"))){var f,h=(f=e.dataset.rowId)!=null?f:"";c.rowClick.emit({id:h,isRead:!!e.dataset.isRead,event:d})}})};
QY.prototype.ngOnInit=function(){this.enableDragDropHeader&&AAc(this);this.tableElement.nativeElement.addEventListener("click",this.onTdClickableClick);this.tableElement.nativeElement.addEventListener("mouseup",this.onTdClickableClick)};var AAc=function(a){a.dragDropHeaderLogic=new uAc({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()};
QY.prototype.ngOnChanges=function(a){if(a=a.focusedRowIndex){var b=a.currentValue;b!=null&&b!==a.previousValue&&this.dataRows&&(a=this.dataRows.toArray()[b])&&(aJa(a.nativeElement)||a.nativeElement.scrollIntoView({block:"center"}),this.focus())}};QY.prototype.ngAfterViewInit=function(){this.afterViewInit.emit(this)};
QY.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 BAc=function(a){return a.columns.map(function(b){b=b.name;return b!=null?a.viewCellTemplates[b]||a.defaultViewCellTemplate:a.defaultViewCellTemplate})};QY.prototype.renderRowLabel=function(a,b){return this.rowLabelRenderer(a,b)};
QY.prototype.focus=function(){if(this.focusedRowIndex!=null&&this.dataRows!=null){var a=this.dataRows.toArray()[this.focusedRowIndex];a&&a.nativeElement.focus()}};QY.prototype.getColumnIndexForElement=function(a){var b=a.dataset.dragTargetColumnName;return this.columns.findIndex(function(c){return c.name===b})};QY.\u0275fac=function(a){return new (a||QY)(A(Ir),A(ze))};
QY.\u0275cmp=p({type:QY,selectors:[["pop-grid"]],viewQuery:function(a,b){a&1&&(fg(wAc,7),fg(xAc,7),fg(yAc,7),fg(zAc,5,Rd));if(a&2){var c;jg(c=kg())&&(b.tableElement=c.first);jg(c=kg())&&(b.defaultHeaderCellTemplate=c.first);jg(c=kg())&&(b.defaultViewCellTemplate=c.first);jg(c=kg())&&(b.dataRows=c)}},inputs:{list:"list",columns:"columns",rowLabelRenderer:"rowLabelRenderer",sort:"sort",focusedRowIndex:"focusedRowIndex",scrollContainer:"scrollContainer",enableDragDropHeader:"enableDragDropHeader"},outputs:{columnsChange:"columnsChange",
rowClick:"rowClick",sortChange:"sortChange",focusedRowIndexChange:"focusedRowIndexChange",afterViewInit:"afterViewInit"},features:[td],decls:13,vars:3,consts:[["table",""],["defaultHeaderCellTemplate",""],["defaultViewCellTemplate",""],["dataRows",""],[1,"pop-grid",3,"mousedown"],[3,"class",4,"ngFor","ngForOf"],[1,"header-row"],[4,"ngFor","ngForOf"],[4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["tabindex","0",3,"selected","unread","closed","grid-focus","click","focus",4,"ngFor","ngForOf"],
["tabindex","0",3,"click","focus"],[3,"column"],[3,"row","column"]],template:function(a,b){if(a&1){var c=u();F(0,"table",4,0);M("mousedown",function(d){v(c);d.shiftKey&&window.getSelection().removeAllRanges();return x()});F(2,"colgroup");C(3,w7a,1,3,"col",5);G();F(4,"thead")(5,"tr",6);C(6,z7a,2,4,"ng-container",7);G()();F(7,"tbody");C(8,E7a,2,1,"ng-container",8);G()();C(9,F7a,2,1,"ng-template",null,1,yg)(11,G7a,2,2,"ng-template",null,2,yg)}a&2&&(z(3),D("ngForOf",b.columns),z(3),D("ngForOf",b.columns),
z(2),D("ngIf",BAc(b)))},encapsulation:2});var RY=function(a,b){this.templateRef=a;this.popGrid=b};RY.prototype.ngOnInit=function(){this.forHeaderCell&&(this.popGrid.headerCellTemplates[this.forHeaderCell]=this.templateRef)};RY.\u0275fac=function(a){return new (a||RY)(A(cg),A(QY))};RY.\u0275dir=fd({type:RY,selectors:[["","forHeaderCell",""]],inputs:{forHeaderCell:"forHeaderCell"}});var SY=function(a,b){this.templateRef=a;this.popGrid=b};
SY.prototype.ngOnInit=function(){this.forViewCell&&(this.popGrid.viewCellTemplates[this.forViewCell]=this.templateRef)};SY.\u0275fac=function(a){return new (a||SY)(A(cg),A(QY))};SY.\u0275dir=fd({type:SY,selectors:[["","forViewCell",""]],inputs:{forViewCell:"forViewCell"}});var TY=function(a,b){this.templateRef=a;this.popGrid=b};TY.prototype.ngOnInit=function(){this.popGrid.defaultHeaderCellTemplate=this.templateRef};TY.\u0275fac=function(a){return new (a||TY)(A(cg),A(QY))};
TY.\u0275dir=fd({type:TY,selectors:[["","forHeaderCellDefault",""]]});var UY=function(){this.columnLabel=this.columnName="";this.defaultSortDirection="ASC";this.sortChanged=new XF};UY.prototype.ariaLabel=function(){var a=this.columnLabel+", sortable";return this.isActive()?this.sort.direction==="ASC"?a+", sorted ascending":a+", sorted descending":a};UY.prototype.isActive=function(){return!!this.sort&&this.sort.field===this.columnName};
UY.prototype.activate=function(){var a=this.defaultSortDirection;this.isActive()&&(a=this.sort.direction==="ASC"?"DESC":"ASC");this.sortChanged.emit({field:this.columnName,direction:a})};UY.\u0275fac=function(a){return new (a||UY)};
UY.\u0275cmp=p({type:UY,selectors:[["b-sortable-header"]],inputs:{columnName:"columnName",columnLabel:"columnLabel",sort:"sort",defaultSortDirection:"defaultSortDirection"},outputs:{sortChanged:"sortChanged"},decls:3,vars:8,consts:[["role","button","tabindex","0",1,"keep-focus-ring","pop-grid-sort-header",3,"click","keydown.enter","keydown.space"],[1,"arrow"]],template:function(a,b){a&1&&(F(0,"div",0),M("click",function(){return b.activate()})("keydown.enter",function(c){b.activate();return c.stopPropagation()})("keydown.space",
function(c){b.activate();return c.stopPropagation()}),H(1,"span",1),R(2),G());a&2&&(Kf("current-sort",b.isActive())("direction-asc",b.isActive()&&b.sort.direction==="ASC")("direction-desc",b.isActive()&&b.sort.direction==="DESC"),Bf("aria-label",b.ariaLabel()),z(2),S(" ",b.columnLabel," "))},encapsulation:2});var VY=function(a,b){this.elementRef=a;this.grid=b};VY.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}}};VY.prototype.ngOnDestroy=function(){this.cellParent&&delete this.cellParent.dataset.dragTargetColumnName};
VY.\u0275fac=function(a){return new (a||VY)(A(Rd),A(QY,8))};
VY.\u0275cmp=p({type:VY,selectors:[["pop-grid-default-th"]],inputs:{column:"column"},decls:3,vars:2,consts:[[1,"pop-grid-default-th"],[3,"columnLabel","columnName","defaultSortDirection","sort","matTooltip","sortChanged",4,"ngIf"],["class","pop-grid-non-sort-header keep-focus-ring","tabindex","0",4,"ngIf"],[3,"sortChanged","columnLabel","columnName","defaultSortDirection","sort","matTooltip"],["tabindex","0",1,"pop-grid-non-sort-header","keep-focus-ring"],["class","a11y-only",4,"ngIf"],[1,"a11y-only"]],
template:function(a,b){a&1&&(F(0,"div",0),C(1,H7a,1,5,"b-sortable-header",1)(2,J7a,3,3,"div",2),G());a&2&&(z(),D("ngIf",b.column.sortable),z(),D("ngIf",!b.column.sortable))},dependencies:[Gv,LH,OH,UY],encapsulation:2});var CAc=function(){return{before:!1}},DAc=function(){return{before:!0}},Q7a=function(a,b){return{columns:a,before:b}},WY=function(a,b,c,d,e,f){Z.call(this);var h=this;this.matDialog=a;this.userPreferencesManager=b;this.butterBar=c;this.analytics=d;this.hotkeys=e;this.activeSession=f;this.selectedColumnsChange=new XF;this.onAddTeamColumn=new XF;this.currentAvailableItems=[];this.isRemovable=!0;this.menuOpen=!1;this.listViewPrefs=vC.listViewPreferences;b.preferences$.pipe(qf(this.destroyed$)).subscribe(function(k){h.listViewPrefs=
k.listViewPreferences||vC.listViewPreferences})};X(WY,Z);WY.\u0275dir=Z.\u0275dir;WY.prototype.ngOnChanges=function(a){a.selectedColumns&&EAc(this)};
var FAc=function(a){a.selectedColumnsChange.emit([].concat(r(a.selectedColumns)));EAc(a)},L7a=function(a,b){var c=Object.assign({},a.listViewPrefs),d=M7a(b),e=d.get;d=d.set;d(c,!e(c));a.activeSession.isAnonymous()||Ap(a.butterBar,"Saving display preference...",0);a.userPreferencesManager.save({listViewPreferences:c}).pipe(ef(),qf(a.destroyed$)).subscribe(function(){a.analytics.trackEvent("preferences","setListViewPref:"+b,e(c).toString());a.listViewPrefs=c;a.activeSession.isAnonymous()||Ap(a.butterBar,
"Display preference saved.",4E3)},function(){a.activeSession.isAnonymous()||a.butterBar.showWarning("Display preference could not be saved.")})},T7a=function(a,b){a.hotkeys.pause();qI(a.matDialog.open(qAc,{data:{column:a.column,columns:a.selectedColumns},position:{top:"100px"},panelClass:"overflow-visible-dialog-panel"})).pipe(qf(a.destroyed$)).subscribe({next:function(c){c&&a.add(c,b)},error:function(){a.hotkeys.unpause()},complete:function(){a.hotkeys.unpause()}})},EAc=function(a){for(var b={},
c=l(a.selectedColumns),d=c.next();!d.done;d=c.next())b[d.value.name]=!0;var e=a.availableColumns.filter(function(f){return!$da(b,f.name)});c=[].concat(r(new Set(e.filter(function(f){return f.parentLabel}).map(function(f){return f.parentLabel})))).map(function(f){return{label:f,columns:e.filter(function(h){return h.parentLabel===f})}});d=e.filter(function(f){return!f.parentLabel});a.currentAvailableItems=[].concat(r(d),r(c));a.currentAvailableItems.sort(function(f,h){return fr(f instanceof qq?f.fullLabel:
f.label,h instanceof qq?h.fullLabel:h.label)});a.isRemovable=GAc(a)};WY.prototype.isIssueGridColumn=function(a){return a instanceof qq};WY.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,FAc(this),!0}return!1};
WY.prototype.add=function(a,b){var c=this;this.menuTrigger.closeMenu();a="customFieldId"in a&&a.customFieldId?new qq({name:a.customFieldId.toString(),label:a.name,fullLabel:a.name,sortable:!0,draggable:!0,isCustomField:!0}):a;a.label==="TEAM"&&this.onAddTeamColumn.emit();var d=this.selectedColumns.findIndex(function(e){return e.name===c.column.name});if(d===-1)return!1;b=b?d:d+1;this.selectedColumns=[].concat(r(this.selectedColumns));this.selectedColumns.splice(b,0,a);FAc(this);return!0};
var GAc=function(a){return a.selectedColumns.filter(function(b){return!b.isMetadata}).length>1};WY.\u0275fac=function(a){return new (a||WY)(A(wI),A(rH),A(sE),A(bG),A(KN),A(Ir))};
WY.\u0275cmp=p({type:WY,selectors:[["b-column-picker"]],viewQuery:function(a,b){a&1&&fg(UL,5);if(a&2){var c;jg(c=kg())&&(b.menuTrigger=c.first)}},inputs:{column:"column",availableColumns:"availableColumns",selectedColumns:"selectedColumns"},outputs:{selectedColumnsChange:"selectedColumnsChange",onAddTeamColumn:"onAddTeamColumn"},features:[zf,td],decls:20,vars:11,consts:[["pickerMenu","matMenu"],["addColumnMenu","matMenu"],["columnGroupMenu","matMenu"],["menuTrigger","matMenuTrigger"],[1,"bv2-column-picker-container"],
[1,"bv2-columnheader-content"],[3,"column"],["mat-button","","tabindex","0","role","button","class","columnpicker-button",3,"matMenuTriggerFor","columnpicker-button-active","menuOpened","menuClosed","keydown.enter","keydown.space",4,"ngIf"],[1,"columnpicker-menu"],["mat-menu-item","","class","checkbox-item",3,"b-menu-item-checked","click",4,"ngFor","ngForOf"],[4,"ngIf"],["mat-menu-item","",3,"click","disabled"],["mat-menu-item","",3,"matMenuTriggerFor","matMenuTriggerData"],["matMenuContent",""],
["mat-button","","tabindex","0","role","button",1,"columnpicker-button",3,"menuOpened","menuClosed","keydown.enter","keydown.space","matMenuTriggerFor"],["mat-menu-item","",1,"checkbox-item",3,"click"],["name","done","size","small",1,"item-checkmark","b-menu-item-check-mark"],[1,"item-description"],["mat-menu-item","",3,"click"],[4,"ngFor","ngForOf"],["mat-menu-item","",3,"matTooltip","click","keydown.enter",4,"ngIf"],["mat-menu-item","",3,"matMenuTriggerFor","matMenuTriggerData",4,"ngIf"],["mat-menu-item",
"",3,"click","keydown.enter","matTooltip"],["mat-menu-item","",3,"click","keydown.enter",4,"ngFor","ngForOf"],["mat-menu-item","",3,"click","keydown.enter"]],template:function(a,b){if(a&1){var c=u();F(0,"div",4)(1,"div",5);H(2,"pop-grid-default-th",6);G();C(3,K7a,2,5,"div",7);F(4,"mat-menu",8,0);C(6,N7a,4,3,"button",9)(7,O7a,1,0,"mat-divider",10);F(8,"button",11);M("click",function(){v(c);return x(b.remove())});R(9," Remove column ");G();F(10,"button",12);R(11," Add column right ");G();F(12,"button",
12);R(13," Add column left ");G()();F(14,"mat-menu",null,1);C(16,U7a,4,1,"ng-template",13);G();F(17,"mat-menu",null,2);C(19,W7a,1,1,"ng-template",13);G()()}a&2&&(a=Q(15),z(2),D("column",b.column),z(),D("ngIf",!0),z(3),D("ngForOf",b.column.moreOptions),z(),D("ngIf",b.column.moreOptions.length),z(),D("disabled",!b.isRemovable),z(2),D("matMenuTriggerFor",a)("matMenuTriggerData",tg(9,CAc)),z(2),D("matMenuTriggerFor",a)("matMenuTriggerData",tg(10,DAc)))},dependencies:[Fv,Gv,QL,TL,RL,SL,UL,MP,LH,OH,hN,
VY],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 JAc=function(a){var b=this;this.params=a;this.element=this.params.nativeElement;this.dropzone=document.createElement("div");this.onTdDragStart=Ck("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=Ck("tr",function(c,d){if(b.draggedRow&&b.dragTargetRow!==d&&d.closest("tbody")&&
d!==b.draggedRow){HAc(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=Ck("tr",function(){b.draggedRow&&(HAc(b.draggedRow),HAc(b.dragTargetRow),b.draggedRow.setAttribute("aria-grabbed",
"false"),b.draggedRow=b.dragTargetRow=void 0)});this.onTrDragLeave=Ck("tr",function(c){c.stopPropagation();c.preventDefault()});this.onDropzoneDragEnter=Ck(".row-dropzone",function(c){c.stopPropagation();c.preventDefault()});this.onDropzoneDragLeave=Ck(".row-dropzone",function(c){HAc(b.dragTargetRow);IAc(b);c.stopPropagation();c.preventDefault()});this.onDropzoneDragOver=Ck(".row-dropzone",function(c){c.stopPropagation();c.preventDefault()});this.onDropzoneDrop=Ck(".row-dropzone",function(c){IAc(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()})};
JAc.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");IAc(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)})};
JAc.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 HAc=function(a){a&&(a.classList.remove("drag-over"),a.classList.remove("above"),a.classList.remove("below"),a.classList.remove("dragging"))},IAc=function(a){a.dropzone.style.display="none"};var XY=function(a){this.sloStatusHelpersService=a;this.includeObjective=this.includeSloMetric=!1;this.firstOpenSlo=null;this.firstOpenSloMetric=""};XY.prototype.ngOnInit=function(){KAc(this)};XY.prototype.ngOnChanges=function(a){(a.sloStatus||a.includeSloMetric)&&KAc(this)};var KAc=function(a){var b=Kac(a.sloStatus);b?(a.firstOpenSlo=b.sloBounds,a.includeSloMetric?a.firstOpenSloMetric=b.sloMetric:a.firstOpenSloMetric=""):(a.firstOpenSlo=null,a.firstOpenSloMetric="")};
XY.\u0275fac=function(a){return new (a||XY)(A(lJ))};
XY.\u0275cmp=p({type:XY,selectors:[["b-aggregated-slo-status-indicator"]],inputs:{sloStatus:"sloStatus",sloStartTime:"sloStartTime",sloEndTime:"sloEndTime",includeSloMetric:"includeSloMetric",includeObjective:"includeObjective"},features:[td],decls:1,vars:5,consts:[[3,"sloBounds","sloMetricDescription","sloStartTime","sloEndTime","includeObjective"]],template:function(a,b){a&1&&H(0,"b-slo-time-indicator",0);a&2&&D("sloBounds",b.firstOpenSlo)("sloMetricDescription",b.firstOpenSloMetric)("sloStartTime",
b.sloStartTime)("sloEndTime",b.sloEndTime)("includeObjective",b.includeObjective)},dependencies:[NY],encapsulation:2,changeDetection:0});var LAc=function(){};LAc.\u0275fac=function(a){return new (a||LAc)};LAc.\u0275cmp=p({type:LAc,selectors:[["archived-issue-indicator"]],decls:3,vars:0,consts:[["aria-hidden","true","svgIcon","archive_24px"]],template:function(a){a&1&&(F(0,"span"),H(1,"mat-icon",0),R(2,"Archived "),G())},dependencies:[zB],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 YY=function(){};YY.\u0275fac=function(a){return new (a||YY)};YY.\u0275mod=dd({type:YY});YY.\u0275inj=Ic({imports:[BB]});var ZY=function(a){this.bFocus=!0;this.nativeElement=a.nativeElement};ZY.prototype.ngOnInit=function(){this.bFocus&&this.nativeElement.focus()};ZY.prototype.ngOnChanges=function(){this.bFocus&&this.nativeElement.focus()};ZY.\u0275fac=function(a){return new (a||ZY)(A(Rd))};ZY.\u0275dir=fd({type:ZY,selectors:[["","bFocus",""]],inputs:{bFocus:"bFocus"},features:[td]});var $Y=function(){};$Y.\u0275fac=function(a){return new (a||$Y)};$Y.\u0275mod=dd({type:$Y});$Y.\u0275inj=Ic({});var aZ=function(a){this.internalArray_=m(a)};X(aZ,Y);aZ.prototype.getIssueId=function(){return ej(this,1)};aZ.prototype.getIssueId_asLegacyNumberOrString=function(){return ej(this,1)};aZ.prototype.getIssueId_asString=function(){return du(this,1)};aZ.prototype.setIssueId=function(a){return bj(this,1,a)};var MAc=function(a){this.internalArray_=m(a)};X(MAc,Y);MAc.repeatedFields_=[1];var bZ=function(a){this.internalArray_=m(a,0,bZ.messageId)};X(bZ,Y);bZ.prototype.getIt=function(){return $i(this,MAc,2)};bZ.prototype.setIt=function(a){return oj(this,MAc,2,a)};bZ.messageId="b.ListStatusUpdateHistoryResponse";var cZ=function(a){this.executor=a};cZ.prototype.update=function(a){var b=this.executor,c=b.post,d="action/issues/"+a.issueId+"/statusUpdate";a=(new PC).setIt(xva(a));return c.call(b,{url:d,body:a,responseConstructor:PC}).pipe(y(fza))};cZ.prototype.delete=function(a){return this.executor.delete({url:"action/issues/"+a+"/statusUpdate",responseConstructor:null})};
var NAc=function(a,b){var c=dj((new aZ).setIssueId(Number(b)),2,2);return a.executor.post({url:"action/issues/"+b+"/listStatusUpdates",body:c,responseConstructor:bZ}).pipe(y(function(d){d=d.getIt();return xj(d,fk,1,yj()).map(wva)}))};cZ.\u0275fac=function(a){return new (a||cZ)(n(IB))};cZ.\u0275prov=Hc({token:cZ,factory:cZ.\u0275fac,providedIn:"root"});var OAc=function(a){this.internalArray_=m(a)};X(OAc,Y);g=OAc.prototype;g.getComponentId=function(){return ej(this,1)};g.getComponentId_asLegacyNumberOrString=function(){return ej(this,1)};g.getComponentId_asString=function(){return du(this,1)};g.setComponentId=function(a){return bj(this,1,a)};g.getText=function(){return Kh(this,2)};g.setText=function(a){return cj(this,2,a)};var dZ=function(a){this.internalArray_=m(a,0,dZ.messageId)};X(dZ,Y);dZ.prototype.getIt=function(){return $i(this,OAc,3)};dZ.prototype.setIt=function(a){return oj(this,OAc,3,a)};dZ.messageId="b.CheckBannedWordsRequest";var PAc=function(a){this.internalArray_=m(a)};X(PAc,Y);PAc.repeatedFields_=[1];var eZ=function(a){this.internalArray_=m(a,0,eZ.messageId)};X(eZ,Y);eZ.prototype.getIt=function(){return $i(this,PAc,2)};eZ.prototype.setIt=function(a){return oj(this,PAc,2,a)};eZ.messageId="b.CheckBannedWordsResponse";var fZ=function(a){this.executor=a};fZ.prototype.checkBannedWords=function(a){a=(new dZ).setIt((new OAc).setComponentId(Number(a.componentId)).setText(a.text));return this.executor.post({url:"action/check_banned_words",body:a,responseConstructor:eZ}).pipe(y(X7a))};fZ.\u0275fac=function(a){return new (a||fZ)(n(IB))};fZ.\u0275prov=Hc({token:fZ,factory:fZ.\u0275fac,providedIn:"root"});var gZ=function(a){this.observableApi=a};gZ.prototype.checkBannedWords=function(a){return(0,W.firstValueFrom)(this.observableApi.checkBannedWords(a))};
gZ.\u0275fac=function(a){return new (a||gZ)(n(fZ))};gZ.\u0275prov=Hc({token:gZ,factory:gZ.\u0275fac,providedIn:"root"});var hZ=function(a,b,c,d){Z.call(this);this.bannedWordsApi=a;this.activeSession=b;this.errorHandler=c;this.analytics=d;this.matchedPatterns=[];this.warningState="INITIAL";this.enableBannedWordsCheck=this.activeSession.getFlag("enableBannedWordsCheck");this.isUserInternal=this.activeSession.isInternalSession()};X(hZ,Z);hZ.\u0275dir=Z.\u0275dir;
hZ.prototype.check=function(a,b,c){var d=this;return fe(function(e){if(!(d.enableBannedWordsCheck&&d.isUserInternal&&b&&c))return e.return(!0);switch(d.warningState){case "INITIAL":return e.return(QAc(d,String(c),a));case "SHOW_WARNING":return d.warningState="SKIP_WARNING",d.analytics.trackEvent("bannedWords","skipBannedWordsCheck",rq(d)),e.return(!0);default:return e.return(!0)}})};
var QAc=function(a,b,c){var d,e;return fe(function(f){if(f.nextAddress==1)return ge(f,2),he(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",rq(a)),f.return(!1)):f.return(!0);e=ke(f);wE(a.errorHandler,e);return f.return(!0)})},rq=function(a){return a.matchedPatterns.join(", ")};
hZ.prototype.showWarning=function(){return this.warningState==="SHOW_WARNING"};hZ.prototype.reset=function(){this.matchedPatterns=[];this.warningState="INITIAL"};hZ.\u0275fac=function(a){return new (a||hZ)(n(gZ),n(Ir),n(uE),n(bG))};hZ.\u0275prov=Hc({token:hZ,factory:hZ.\u0275fac});var RAc=function(a){return[a]},iZ=function(a){this.matDialog=a};iZ.prototype.show=function(a,b,c){a.formattingMode==="LITERAL"&&(a.formattingMode="PLAIN");this.dialog=this.matDialog.open(jZ,{width:"60vw",disableClose:!0,panelClass:"no-jitter",data:{componentId:c,formattingAudience:b,statusUpdate:a}});return(0,W.firstValueFrom)(qI(this.dialog))};iZ.\u0275fac=function(a){return new (a||iZ)(n(wI))};iZ.\u0275prov=Hc({token:iZ,factory:iZ.\u0275fac,providedIn:"root"});
var jZ=function(a,b,c,d,e,f){Z.call(this);var h=this;this.activeSession=a;this.data=b;this.dialogService=c;this.dialogRef=d;this.bannedWordsChecker=f;this.CHAR_LIMIT=1E3;this.FormattingMode=DB;this.contentRemovalRequestLink=this.activeSession.isInternalSession()?"https://goto.corp.google.com/delete-comments-attachments":"https://issuetracker.google.com/issues/new?component=169992&template=543202";this.formattingAudience=b.formattingAudience;this.origStatusUpdate=b.statusUpdate;this.newStatusUpdate=
qi(this.origStatusUpdate);this.subscriptions.add(FQ(e,function(){return h.isModified()},!1))};X(jZ,Z);jZ.\u0275dir=Z.\u0275dir;var SAc=function(a){var b,c;return(c=mHa((b=a.newStatusUpdate)==null?void 0:b.updateText))!=null?c:""};g=jZ.prototype;g.ngOnInit=function(){var a=this;this.dialogRef.keydownEvents().pipe(qf(this.destroyed$)).subscribe(function(b){b.key==="Escape"&&a.closeIfUnmodified()});this.dialogRef.backdropClick().pipe(qf(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!pi(this.newStatusUpdate,this.origStatusUpdate)};g.asNumber=function(a){return Number(a)};
g.closeDialogForSave=function(){var a=this,b,c,d;return fe(function(e){if(e.nextAddress==1)return a.isModified()?he(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||lzc(c),e.return();(d=a.dialogService.dialog)==null||d.close(a.newStatusUpdate);le(e)})};jZ.\u0275fac=function(a){return new (a||jZ)(A(Ir),A(vI),A(iZ),A(pI),A(EQ),A(hZ))};
jZ.\u0275cmp=p({type:jZ,selectors:[["ng-component"]],viewQuery:function(a,b){a&1&&fg(dY,5);if(a&2){var c;jg(c=kg())&&(b.commentDraft=c.first)}},features:[qg([hZ]),zf],decls:19,vars:17,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[1,"muted"],["target","_blank",1,"keep-underline","keep-focus-ring",3,"href"],[3,"contentChange","onSubmit","content","textareaClass"],["class","char-limit-warning",4,"ngIf"],["class","banned-words-warning break-word",4,"ngIf"],[1,"inline-block",3,"change","initialValue"],
["class","clamper line-clamp-4","tabindex","0",4,"ngIf"],["mat-dialog-actions",""],["mat-button","",3,"mat-dialog-close"],["mat-flat-button","",1,"gmat-button","save-button",3,"click","disabled","color"],[1,"char-limit-warning"],[1,"banned-words-warning","break-word"],["target","_blank","aria-label","Learn more about banned words","href","http://go/b-trackers#banned-words-for-tracker",1,"color-bad-text","keep-underline"],["tabindex","0",1,"clamper","line-clamp-4"],[3,"comment","issueId","formattingMode",
"audience"]],template:function(a,b){a&1&&(F(0,"h1",0),R(1,"Editing Status Update"),G(),F(2,"section",1)(3,"p",2),R(4," Editing the Status Update will not permanently remove old ones from database history. "),H(5,"br"),R(6," For deletion of PII or other sensitive content, please "),F(7,"a",3),R(8," file a support request. "),G()(),F(9,"b-comment-draft",4),pg("contentChange",function(d){og(b.newStatusUpdate.updateText,d)||(b.newStatusUpdate.updateText=d);return d}),M("contentChange",function(){b.bannedWordsChecker.reset()})("onSubmit",
function(){return b.closeDialogForSave()}),G(),C(10,Y7a,2,1,"p",5)(11,Z7a,4,1,"p",6),F(12,"b-markdown-toggle",7),M("change",function(d){return b.newStatusUpdate.formattingMode=d}),G(),C(13,$7a,2,4,"div",8),G(),F(14,"footer",9)(15,"button",10),R(16," Cancel "),G(),F(17,"button",11),M("click",function(){return b.closeDialogForSave()}),R(18),G()());if(a&2){var c;z(7);D("href",b.contentRemovalRequestLink,Qe);z(2);Lf(SAc(b));ng("content",b.newStatusUpdate.updateText);D("textareaClass",ug(15,RAc,b.bannedWordsChecker.showWarning()?
"banned-words-warning":""));z();D("ngIf",b.newStatusUpdate.updateText.length>1E3);z();D("ngIf",b.bannedWordsChecker.showWarning());z();Kf("margin-bottom",b.newStatusUpdate.formattingMode!==b.FormattingMode.MARKDOWN);D("initialValue",(c=b.origStatusUpdate.formattingMode)!==null&&c!==void 0?c:b.FormattingMode.PLAIN);z();D("ngIf",b.newStatusUpdate.formattingMode===b.FormattingMode.MARKDOWN);z(2);D("mat-dialog-close",void 0);z(2);D("disabled",b.newStatusUpdate.updateText.length===0||b.newStatusUpdate.updateText.length>
1E3||!b.isModified())("color",b.bannedWordsChecker.showWarning()?"warn":"primary");z();S(" ",b.bannedWordsChecker.showWarning()?"Save Anyway":"Save"," ")}},dependencies:[xI,zI,BI,AI,Gv,oE,KL,JL,dY],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 kZ=function(a,b,c,d,e,f){var h=this;this.issueFridge=a;this.issueApi=b;this.prompts=c;this.contextSensitiveRegistry=d;this.analytics=e;this.activeSession=f;this.enableNoButton=this.activeSession.getFlag("enableIssueSummarizationNoButton")&&this.activeSession.isInternalSession();this.issueId$=this.contextSensitiveRegistry.getIssueId().pipe(te(lj));this.isSummarizable$=this.issueId$.pipe(te(lj),pf(function(k){return TAc(h.prompts,k)}),mf({refCount:!0,bufferSize:1}));this.pregeneratedSummary$=this.isSummarizable$.pipe(tf(this.issueId$),
pf(function(k){var q=l(k);k=q.next().value;q=q.next().value;return h.enableNoButton&&k?h.getIssueSummary(q,"COMMENTS_LONG"):(0,W.of)(void 0)}),mf({refCount:!0,bufferSize:1}));this.generateSummaryRequested$=new W.ReplaySubject(1);this.generatedSummary$=this.generateSummaryRequested$.pipe(tf(this.issueId$),pf(function(k){k=l(k);k.next();k=k.next().value;return UAc(h,k,"COMMENTS_LONG")}));this.summary$=(0,W.merge)(this.pregeneratedSummary$,this.generatedSummary$).pipe(mf({bufferSize:1,refCount:!1}))};
kZ.prototype.getIssueSummary=function(a,b){return(0,W.combineLatest)([this.issueFridge.watch(a),this.issueApi.getIssueSummary(a,b)]).pipe(y(function(c){var d=l(c);c=d.next().value;d=d.next().value;if(!c)Ei("issue is undefined");else if(!(c.version>d.issueVersion))return d}),$e(function(c){c.status!==404&&Ei("Error to get an issue summary: error: ",c);return(0,W.of)(void 0)}))};var UAc=function(a,b,c){return fe(function(d){return d.return((0,W.firstValueFrom)(a.issueApi.generateIssueSummary(b,c)))})};
kZ.prototype.trackThumbsUp=function(a,b){this.trackEvent("accept",b);lZ(this,a,"THUMBS_UP")};kZ.prototype.trackThumbsDown=function(a,b){this.trackEvent("reject",b);lZ(this,a,"THUMBS_DOWN")};kZ.prototype.trackEvent=function(a,b){this.analytics.trackEvent("llmSummarize",a,b)};
var lZ=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 rD;var k=b.setFeedback;c=(new T4b).setIssueId(d).setSummaryType(M3b[e]).setModelVersion(f).setIssueVersion(h).setFeedbackType(L3b[c]);c=k.call(b,c);c=(new ND).setIt(c);a.executor.post({url:"action/issues/"+d+"/submitSummaryFeedback",body:c,responseConstructor:null}).subscribe()}};kZ.\u0275fac=function(a){return new (a||kZ)(n(jG),n(OD),n(mZ),n(wH),n(bG),n(Ir))};
kZ.\u0275prov=Hc({token:kZ,factory:kZ.\u0275fac,providedIn:"root"});
var mZ=function(a){this.eventsForIssueFridge=a},TAc=function(a,b){return VAc(a,b).pipe(y(function(c){return!!(c&&c.commentEvents.length>=3)}),df())},WAc=function(a,b){var c,d;return fe(function(e){if(e.nextAddress==1)return he(e,(0,W.firstValueFrom)(VAc(a,b)),2);c=e.yieldResult;d=c.commentEvents.map(function(f){return f.userPerformingAction.split("@")[0]+": "+JSON.stringify(f.unlinkifiedComment.trim())});return e.return("Please provide a brief summary of the topic, any recommendations, and any status in the following conversation using up to 3 lines.\nThe input is of the form: <speaker>: <comment>, where the comment is a JSON string.\n\n"+d.join("\n")+
"\n\nSUMMARY:")})},VAc=function(a,b){return a.eventsForIssueFridge.watch(b,{trustUncertainMemory:!0}).pipe(y(function(c){if(!c)return{commentEvents:[]};c=c.events;return{commentEvents:[].concat(r(c.slice(0,1).filter(function(d){var e;return(e=d.unlinkifiedComment)==null?void 0:e.trim()})),r(c.slice(1).filter(a8a).filter(function(d){var e;return(e=d.unlinkifiedComment)==null?void 0:e.trim()})))}}))};mZ.\u0275fac=function(a){return new (a||mZ)(n(rF))};
mZ.\u0275prov=Hc({token:mZ,factory:mZ.\u0275fac,providedIn:"root"});var XAc=function(a){this.internalArray_=m(a)};X(XAc,Y);XAc.prototype.getEmail=function(){return Kh(this,1)};XAc.prototype.setEmail=function(a){return cj(this,1,a)};var vq=function(a){this.internalArray_=m(a)};X(vq,Y);g=vq.prototype;g.getWorkspaceId=function(){return ej(this,1)};g.getWorkspaceId_asLegacyNumberOrString=function(){return ej(this,1)};g.getName=function(){return Kh(this,2)};g.setName=function(a){return cj(this,2,a)};g.getTimeZone=function(){return $i(this,Zn,8)};g.setTimeZone=function(a){return oj(this,Zn,8,a)};g.hasTimeZone=function(){return dk(this,Zn,8)};g.getMembersList=function(){return xj(this,XAc,9,yj())};
g.setMembersList=function(a){return gk(this,9,a)};g.getUpdateTime=function(){return $i(this,Ii,12)};g.setUpdateTime=function(a){oj(this,Ii,12,a)};g.hasUpdateTime=function(){return dk(this,Ii,12)};g.getBookmarkGroupId_asLegacyNumberOrString=function(){return ej(this,14)};g.setBookmarkGroupId=function(a){return bj(this,14,a)};g.setTeamId=function(a){return cj(this,20,a)};var YAc=Mh(vq);vq.repeatedFields_=[5,9,13,15,17,18];var ZAc=function(a,b,c){this.requestMessage_=a;this.methodDescriptor_=b;this.metadata_=c};ZAc.prototype.getMethodDescriptor=function(){return this.methodDescriptor_};ZAc.prototype.getMetadata=function(){return this.metadata_};var $Ac=function(a,b,c){c=c===void 0?{}:c;this.responseMessage_=a;this.metadata_=c;this.methodDescriptor_=b;this.status_=null};$Ac.prototype.getMetadata=function(){return this.metadata_};$Ac.prototype.getMethodDescriptor=function(){return this.methodDescriptor_};$Ac.prototype.getStatus=function(){return this.status_};var nZ=function(a,b,c,d,e){this.name=a;this.requestType=b;this.responseType=c;this.requestSerializeFn=d;this.responseDeserializeFn=e},aBc=function(a,b,c){c=c===void 0?{}:c;return new ZAc(b,a,c)};nZ.prototype.getName=function(){return this.name};nZ.prototype.getName=nZ.prototype.getName;var bBc=function(a){this.internalArray_=m(a)};X(bBc,Y);var cBc=function(a){this.internalArray_=m(a)};X(cBc,Y);cBc.prototype.getWorkspaceId=function(){return ej(this,1)};cBc.prototype.getWorkspaceId_asLegacyNumberOrString=function(){return ej(this,1)};var dBc=new nZ("/google.corp.devtools.worktracker.v1.WorkspaceService/Get",cBc,vq,function(a){return a.serialize()},YAc);var eBc=function(a){this.internalArray_=m(a)};X(eBc,Y);var gBc=function(a,b){return Wi(a,1,fBc,b)};eBc.repeatedFields_=[3];var fBc=[1,2];var hBc=function(a){this.internalArray_=m(a)};X(hBc,Y);var iBc=Mh(hBc);hBc.repeatedFields_=[1,2,3];var jBc=new nZ("/google.corp.devtools.worktracker.v1.WorkspaceService/List",eBc,hBc,function(a){return a.serialize()},iBc);var oZ=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)};X(oZ,Error);oZ.prototype.toString=function(){var a="RpcError("+(DVb(this.code)||String(this.code))+")";this.message&&(a+=": "+this.message);return a};var kBc=new Set(["SAPISIDHASH","APISIDHASH"]);var lBc=Promise;var pZ=function(a){this.internalArray_=m(a)};X(pZ,Y);pZ.prototype.getCode=function(){return gj(this,1)};pZ.prototype.setCode=function(a){return Gi(this,1,a)};pZ.prototype.getMessage=function(){return Kh(this,2)};pZ.prototype.setMessage=function(a){return cj(this,2,a)};var mBc=Mh(pZ);pZ.repeatedFields_=[3];var qZ=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_&&nBc(this)},tBc=function(a,b){Yo(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("Ge");c=atob(c)}try{var d=
a.grpcResponseDeserializeFn_(c)}catch(h){oBc(a,new oZ(13,"Error when deserializing response data; error: "+h+(", response: "+c)));return}c=CVb(a.xhr_.getStatus());pBc(a,qBc(a));c==0?rBc(a,d):oBc(a,new oZ(c,"Xhr succeeded but the status code is not 200"))}else{c=a.xhr_.getResponseText();d=qBc(a);if(c){var e=sBc(a,c);c=e.code;var f=e.details;e=e.metadata}else c=2,f="Rpc failed due to xhr error. error code: "+a.xhr_.getLastErrorCode()+", error: "+a.xhr_.getLastError(),e=d;pBc(a,d);oBc(a,new oZ(c,f,e))}})},
nBc=function(a){a.xhrNodeReadableStream_.on("data",function(b){if("1"in b){var c=b["1"];try{var d=a.grpcResponseDeserializeFn_(c)}catch(e){oBc(a,new oZ(13,"Error when deserializing response data; error: "+e+(", response: "+c)))}d&&rBc(a,d)}if("2"in b)for(b=sBc(a,b["2"]),c=0;c<a.onStatusCallbacks_.length;c++)a.onStatusCallbacks_[c](b)});a.xhrNodeReadableStream_.on("end",function(){pBc(a,qBc(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=CVb(c);break;default:d=14}pBc(a,qBc(a));b=Gqc(b)+", error: "+a.xhr_.getLastError();c!=-1&&(b+=", http status code: "+c);oBc(a,new oZ(d,b))}})},qBc=function(a){var b={},c=a.xhr_.getResponseHeaders();Object.keys(c).forEach(function(d){b[d]=c[d]});return b},sBc=function(a,b){var c=2,d={};
try{var e=mBc(b);c=e.getCode();var f=e.getMessage();xj(e,ym,3,yj()).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}};
qZ.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 uBc=function(a,b){b=a.indexOf(b);b>-1&&a.splice(b,1)};
qZ.prototype.removeListener=function(a,b){a=="data"?uBc(this.onDataCallbacks_,b):a=="metadata"?uBc(this.onMetadataCallbacks_,b):a=="status"?uBc(this.onStatusCallbacks_,b):a=="end"?uBc(this.onEndCallbacks_,b):a=="error"&&uBc(this.onErrorCallbacks_,b);return this};qZ.prototype.cancel=function(){this.xhr_.abort()};
var rBc=function(a,b){for(var c=0;c<a.onDataCallbacks_.length;c++)a.onDataCallbacks_[c](b)},pBc=function(a,b){for(var c=0;c<a.onMetadataCallbacks_.length;c++)a.onMetadataCallbacks_[c](b)},oBc=function(a,b){for(var c=0;c<a.onErrorCallbacks_.length;c++)a.onErrorCallbacks_[c](b)};qZ.prototype.cancel=qZ.prototype.cancel;qZ.prototype.removeListener=qZ.prototype.removeListener;qZ.prototype.on=qZ.prototype.on;var rZ=function(a){this.worker_=a.worker||null;this.streamBinaryChunks_=a.streamBinaryChunks||!1;this.cacheMode_=this.credentialsMode_=void 0};Mt(rZ,Hqc);rZ.prototype.createInstance=function(){var a=new sZ(this.worker_,this.streamBinaryChunks_);this.credentialsMode_&&a.setCredentialsMode(this.credentialsMode_);this.cacheMode_&&a.setCacheMode(this.cacheMode_);return a};rZ.prototype.internalGetOptions=Pz({});rZ.prototype.setCredentialsMode=function(a){this.credentialsMode_=a};
rZ.prototype.setCacheMode=function(a){this.cacheMode_=a};var sZ=function(a,b){Xo.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};
Mt(sZ,Xo);sZ.prototype.open=function(a,b){if(this.readyState!=0)throw this.abort(),Error("He");this.method_=a;this.url_=b;this.readyState=1;vBc(this)};sZ.prototype.send=function(a){if(this.readyState!=1)throw this.abort(),Error("Ie");this.inProgress_=!0;var b={headers:this.requestHeaders_,method:this.method_,credentials:this.credentialsMode_,cache:this.cacheMode_};a&&(b.body=a);(this.worker_||Aa).fetch(new Request(this.url_,b)).then(this.handleResponse_.bind(this),this.handleSendFailure_.bind(this))};
sZ.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,wBc(this));this.readyState=0};
sZ.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,vBc(this)),this.inProgress_&&(this.readyState=3,vBc(this),this.inProgress_)))if(this.responseType==="arraybuffer")a.arrayBuffer().then(this.handleResponseArrayBuffer_.bind(this),this.handleSendFailure_.bind(this));else if(typeof Aa.ReadableStream!=="undefined"&&
"body"in a){this.currentReader_=a.body.getReader();if(this.streamBinaryChunks_){if(this.responseType)throw Error("Je");this.response=[]}else this.response=this.responseText="",this.textDecoder_=new TextDecoder;xBc(this)}else a.text().then(this.handleResponseText_.bind(this),this.handleSendFailure_.bind(this))};var xBc=function(a){a.currentReader_.read().then(a.handleDataFromStream_.bind(a)).catch(a.handleSendFailure_.bind(a))};
sZ.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?wBc(this):vBc(this);this.readyState==3&&xBc(this)}};sZ.prototype.handleResponseText_=function(a){this.inProgress_&&(this.response=this.responseText=a,wBc(this))};
sZ.prototype.handleResponseArrayBuffer_=function(a){this.inProgress_&&(this.response=a,wBc(this))};sZ.prototype.handleSendFailure_=function(){this.inProgress_&&wBc(this)};var wBc=function(a){a.readyState=4;a.fetchResponse_=null;a.currentReader_=null;a.textDecoder_=null;vBc(a)};g=sZ.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 vBc=function(a){a.onreadystatechange&&a.onreadystatechange.call(a)};
Object.defineProperty(sZ.prototype,"withCredentials",{get:function(){return this.credentialsMode_==="include"},set:function(a){this.setCredentialsMode(a?"include":"same-origin")}});var yBc=function(){this.isInputValid_=!0;this.streamPos_=0;this.leftoverInput_=""};yBc.prototype.error_=function(a,b){this.isInputValid_=!1;throw Error("Ke`"+this.streamPos_+"`"+b+"`"+a);};
yBc.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=bSb(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 tq=function(){this.errorMessage_=null;this.result_=[];this.countLengthBytes_=this.length_=this.tag_=this.state_=this.streamPos_=0;this.messageBuffer_=null;this.countMessageBytes_=0};tq.prototype.getErrorMessage=function(){return this.errorMessage_};tq.prototype.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_);};tq.prototype.acceptsBinaryInput=function(){return!0};
tq.prototype.parse=function(a){function b(q){q&128&&f.error_(h,k,"invalid tag");(q&7)!=2&&f.error_(h,k,"invalid wire type");f.tag_=q>>>3;f.tag_!=1&&f.tag_!=2&&f.tag_!=15&&f.error_(h,k,"unexpected tag");f.state_=1;f.length_=0;f.countLengthBytes_=0}function c(q){f.countLengthBytes_++;f.countLengthBytes_==5&&q&240&&f.error_(h,k,"message length too long");f.length_|=(q&127)<<(f.countLengthBytes_-1)*7;q&128||(f.state_=2,f.countMessageBytes_=0,typeof Uint8Array!=="undefined"?f.messageBuffer_=new Uint8Array(f.length_):
f.messageBuffer_=Array(f.length_),f.length_==0&&e())}function d(q){f.messageBuffer_[f.countMessageBytes_++]=q;f.countMessageBytes_==f.length_&&e()}function e(){if(f.tag_<15){var q={};q[f.tag_]=f.messageBuffer_;f.result_.push(q)}f.state_=0}for(var f=this,h=a instanceof Array?a:new Uint8Array(a),k=0;k<h.length;){switch(f.state_){case 3:f.error_(h,k,"stream already broken");break;case 0:b(h[k]);break;case 1:c(h[k]);break;case 2:d(h[k]);break;default:throw Error("Le`"+f.state_);}f.streamPos_++;k++}a=
f.result_;f.result_=[];return a.length>0?a:null};var uq=function(){this.errorMessage_=null;this.streamPos_=0;this.base64Decoder_=new yBc;this.pbParser_=new tq};uq.prototype.getErrorMessage=function(){return this.errorMessage_};uq.prototype.error_=function(a,b){this.errorMessage_="The stream is broken @"+this.streamPos_+". Error: "+b+". With input:\n"+a;throw Error(this.errorMessage_);};uq.prototype.acceptsBinaryInput=function(){return!1};
uq.prototype.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 tZ=function(a){return a=="\r"||a=="\n"||a==" "||a=="\t"};var c8a=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)},zBc={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=c8a.prototype;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(;E<a.length;)if(tZ(a[E]))E++,f.pos_++;else break;return E<t}function c(){for(var J;;){J=a[E++];if(!J)break;f.pos_++;switch(f.state_){case q.INIT:J==="{"?f.state_=q.OBJECT_OPEN:J==="["?f.state_=q.ARRAY_OPEN:tZ(J)||f.error_(a,E);continue;case q.KEY_START:case q.OBJECT_OPEN:if(tZ(J))continue;if(f.state_===q.KEY_START)h.push(q.KEY_END);else if(J==="}"){e("{}");f.state_=d();continue}else h.push(q.OBJECT_END);J==='"'?f.state_=q.STRING:f.error_(a,E);continue;case q.KEY_END:case q.OBJECT_END:if(tZ(J))continue;
J===":"?(f.state_===q.OBJECT_END&&(h.push(q.OBJECT_END),f.depth_++),f.state_=q.VALUE):J==="}"?(f.depth_--,e(),f.state_=d()):J===","?(f.state_===q.OBJECT_END&&h.push(q.OBJECT_END),f.state_=q.KEY_START):f.error_(a,E);continue;case q.ARRAY_OPEN:case q.VALUE:if(tZ(J))continue;if(f.state_===q.ARRAY_OPEN)if(f.depth_++,f.state_=q.VALUE,J==="]"){f.depth_--;if(f.depth_===0){f.state_=q.ARRAY_END;return}e("[]");f.state_=d();continue}else h.push(q.ARRAY_END);J==='"'?f.state_=q.STRING:J==="{"?f.state_=q.OBJECT_OPEN:
J==="["?f.state_=q.ARRAY_OPEN:J==="t"?f.state_=q.TRUE1:J==="f"?f.state_=q.FALSE1:J==="n"?f.state_=q.NULL1:J!=="-"&&("0123456789".indexOf(J)!==-1?f.state_=q.NUM_DIGIT:f.error_(a,E));continue;case q.ARRAY_END:if(J===",")h.push(q.ARRAY_END),f.state_=q.VALUE,f.depth_===1&&(B=E);else if(J==="]"){f.depth_--;if(f.depth_===0)return;e();f.state_=d()}else if(tZ(J))continue;else f.error_(a,E);continue;case q.STRING:var N=E;a:for(;;){for(;f.unicodeCount_>0;)if(J=a[E++],f.unicodeCount_===4?f.unicodeCount_=0:f.unicodeCount_++,
!J)break a;if(J==='"'&&!f.slashed_){f.state_=d();break}if(J==="\\"&&!f.slashed_&&(f.slashed_=!0,J=a[E++],!J))break;if(f.slashed_)if(f.slashed_=!1,J==="u"&&(f.unicodeCount_=1),J=a[E++])continue;else break;k.lastIndex=E;J=k.exec(a);if(!J){E=a.length+1;break}E=J.index+1;J=a[J.index];if(!J)break}f.pos_+=E-N;continue;case q.TRUE1:if(!J)continue;J==="r"?f.state_=q.TRUE2:f.error_(a,E);continue;case q.TRUE2:if(!J)continue;J==="u"?f.state_=q.TRUE3:f.error_(a,E);continue;case q.TRUE3:if(!J)continue;J==="e"?
f.state_=d():f.error_(a,E);continue;case q.FALSE1:if(!J)continue;J==="a"?f.state_=q.FALSE2:f.error_(a,E);continue;case q.FALSE2:if(!J)continue;J==="l"?f.state_=q.FALSE3:f.error_(a,E);continue;case q.FALSE3:if(!J)continue;J==="s"?f.state_=q.FALSE4:f.error_(a,E);continue;case q.FALSE4:if(!J)continue;J==="e"?f.state_=d():f.error_(a,E);continue;case q.NULL1:if(!J)continue;J==="u"?f.state_=q.NULL2:f.error_(a,E);continue;case q.NULL2:if(!J)continue;J==="l"?f.state_=q.NULL3:f.error_(a,E);continue;case q.NULL3:if(!J)continue;
J==="l"?f.state_=d():f.error_(a,E);continue;case q.NUM_DECIMAL_POINT:J==="."?f.state_=q.NUM_DIGIT:f.error_(a,E);continue;case q.NUM_DIGIT:if("0123456789.eE+-".indexOf(J)!==-1)continue;else E--,f.pos_--,f.state_=d();continue;default:f.error_(a,E)}}}function d(){var J=h.pop();return J!=null?J:q.VALUE}function e(J){f.depth_>1||(J||(J=B===-1?f.buffer_+a.substring(w,E):a.substring(B,E)),f.deliverMessageAsRawString_?f.result_.push(J):f.result_.push(JSON.parse(J)),B=E)}for(var f=this,h=f.stack_,k=f.stringInputPattern_,
q=zBc,t=a.length,w=0,B=-1,E=0;E<t;)switch(f.streamState_){case 3:return f.error_(a,E),null;case 2:return b()&&f.error_(a,E),null;case 0:if(b()){var I=a[E++];f.pos_++;if(I==="["){f.streamState_=1;w=E;f.state_=q.ARRAY_OPEN;continue}else f.error_(a,E)}return null;case 1:return c(),f.depth_===0&&f.state_==q.ARRAY_END?(f.streamState_=2,f.buffer_=a.substring(E)):f.buffer_=B===-1?f.buffer_+a.substring(w):a.substring(B),f.result_.length>0?(I=f.result_,f.result_=[],I):null}return null};var b8a=function(){this.errorMessage_=this.jsonStreamParser_=null;this.state_=this.streamPos_=0;this.result_=[];this.statusParsed_=!1};b8a.prototype.getErrorMessage=function(){return this.errorMessage_};b8a.prototype.acceptsBinaryInput=function(){return!1};
b8a.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 c8a({allowCompactJsonArrayFormat:!0,deliverMessageAsRawString:!0})}function d(q){if(q)for(var t=0;t<q.length;t++){var w={};w[1]=q[t];f.result_.push(w)}}function e(q){if(q){(f.statusParsed_||q.length>1)&&b("extra status: "+q);f.statusParsed_=!0;var t={};t[2]=q[0];f.result_.push(t)}}for(var f=
this,h=0;h<a.length;){var k;if(k=f.state_!==2){a:{for(;h<a.length;){if(!tZ(a[h])){k=!0;break a}h++;f.streamPos_++}k=!1}k=!k}if(k)return null;switch(f.state_){case 6:b("stream already broken");break;case 0:a[h]==="["?(f.state_=1,h++,f.streamPos_++):b("unexpected input token");break;case 1:a[h]==="["?(f.state_=2,c()):a[h]===","||a.slice(h,h+5)=="null,"?f.state_=3:a[h]==="]"?(f.state_=5,h++,f.streamPos_++):b("unexpected input token");break;case 2:k=f.jsonStreamParser_.parse(a.substring(h));d(k);f.jsonStreamParser_.done()?
(f.state_=3,k=f.jsonStreamParser_.buffer_,f.streamPos_+=a.length-h-k.length,a=k,h=0):(f.streamPos_+=a.length-h,h=a.length);break;case 3:a[h]===","||a.slice(h,h+5)=="null,"?(f.state_=4,c(),f.jsonStreamParser_.parse("["),h+=a[h]===","?1:5,f.streamPos_++):a[h]==="]"&&(f.state_=5,h++,f.streamPos_++);break;case 4:k=f.jsonStreamParser_.parse(a.substring(h));e(k);f.jsonStreamParser_.done()?(f.state_=5,k=f.jsonStreamParser_.buffer_,f.streamPos_+=a.length-h-k.length,a=k,h=0):(f.streamPos_+=a.length-h,h=a.length);
break;case 5:b("extra input after stream end")}}return f.result_.length>0?(a=f.result_,f.result_=[],a):null};var ABc=function(a){this.xhr_=a;this.parser_=null;this.status_=this.pos_=0;this.hasStreamingResponseData_=!1;this.dataHandler_=this.statusHandler_=this.textDecoder_=null;this.eventHandler_=new Lr(this);this.eventHandler_.listen(this.xhr_,"readystatechange",this.readyStateChangeHandler_)};ABc.prototype.getXhr=function(){return this.xhr_};
var uZ=function(a,b){a.status_!=b&&(a.status_=b,a.statusHandler_&&a.statusHandler_())},BBc=function(a){a.eventHandler_.removeAll();if(a.xhr_){var b=a.xhr_;a.xhr_=null;b.abort();b.dispose()}};ABc.prototype.getStatus=function(){return this.status_};
ABc.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?uZ(this,7):c==7?uZ(this,8):d||uZ(this,3)),this.parser_||(this.parser_=d8a(this.xhr_),
this.parser_==null&&uZ(this,5)),this.status_>2)BBc(this);else{if(a.length>this.pos_){var h=a.length;c=[];try{if(this.parser_.acceptsBinaryInput())for(var k=0;k<h;k++){var q=this.parser_.parse(Array.from(a[k]));q&&(c=c.concat(q))}else{q="";if(!this.textDecoder_){if(typeof TextDecoder==="undefined")throw Error("Me");this.textDecoder_=new TextDecoder}for(k=0;k<h;k++)q+=this.textDecoder_.decode(a[k],{stream:b==4&&k==h-1});c=this.parser_.parse(q)}a.splice(0,h);c&&this.dataHandler_(c)}catch(w){uZ(this,
5);BBc(this);break a}}else if(e.length>this.pos_){k=e.slice(this.pos_);this.pos_=e.length;try{var t=this.parser_.parse(k);t!=null&&this.dataHandler_&&this.dataHandler_(t)}catch(w){uZ(this,5);BBc(this);break a}}b==4?(e.length!=0||this.hasStreamingResponseData_?uZ(this,2):uZ(this,4),BBc(this)):uZ(this,1)}}}catch(w){uZ(this,6),BBc(this)}};var CBc=function(a){a=this.xhrReader_=a;var b=Kt(this.onData_,this);a.dataHandler_=b;a=this.xhrReader_;b=Kt(this.onStatusChange_,this);a.statusHandler_=b;this.callbackMap_={};this.callbackOnceMap_={}};g=CBc.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&&Va(c,b);(a=this.callbackOnceMap_[a])&&Va(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&&DBc(this,a,b);(b=this.callbackOnceMap_.data)&&DBc(this,a,b);this.callbackOnceMap_.data=[]};
var DBc=function(a,b,c){for(var d={},e=0;e<b.length;d={message$jscomp$767:void 0},e++)d.message$jscomp$767=b[e],c.forEach(function(f){return function(h){try{h(f.message$jscomp$767)}catch(k){a.handleError_("message-callback exception (ignored) "+k)}}}(d))};CBc.prototype.onStatusChange_=function(){switch(this.xhrReader_.getStatus()){case 1:EBc(this,"readable");break;case 5:case 6:case 4:case 7:case 3:EBc(this,"error");break;case 8:EBc(this,"close");break;case 2:EBc(this,"end")}};
var EBc=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]=[]};CBc.prototype.handleError_=function(){};var FBc=function(a){a=a===void 0?{}:a;this.suppressCorsPreflight_=a.suppressCorsPreflight||So("suppressCorsPreflight",a)||!1;this.withCredentials_=a.withCredentials||So("withCredentials",a)||!1;this.streamInterceptors_=a.streamInterceptors||[];this.unaryInterceptors_=a.unaryInterceptors||[];this.workerScope_=a.workerScope;this.chunkedServerStreaming_=a.useFetchDownloadStreams||!1},IBc=function(a,b,c,d,e){var f=b.substr(0,b.length-e.name.length);return GBc(function(h){return new lBc(function(k,q){var t=
{},w=HBc(a,h,f);w.on("error",function(B){return q(B)});w.on("metadata",function(B){t=B});w.on("data",function(B){var E=h.getMethodDescriptor(),I=t;I=I===void 0?{}:I;k(new $Ac(B,E,I))})})},a.unaryInterceptors_).call(a,aBc(e,c,d)).then(function(h){return h.responseMessage_})},vZ=function(a,b,c,d,e){return IBc(a,b,c,d,e)};
FBc.prototype.serverStreaming=function(a,b,c,d){var e=this,f=a.substr(0,a.length-d.name.length);return GBc(function(h){var k=h.getMethodDescriptor(),q=h.getMetadata(),t=JBc(e,!1);q=KBc(e,q,t,f+k.getName());var w=LBc(t,k.responseDeserializeFn,!0);h=k.requestSerializeFn(h.requestMessage_);t.send(q,"POST",h);return w},this.streamInterceptors_).call(this,aBc(d,b,c))};
var HBc=function(a,b,c){var d=b.getMethodDescriptor(),e=b.getMetadata(),f=JBc(a,!0);a=KBc(a,e,f,c+d.getName());c=LBc(f,d.responseDeserializeFn,!1);tBc(c,e["X-Goog-Encode-Response-If-Executable"]=="base64");b=d.requestSerializeFn(b.requestMessage_);f.send(a,"POST",b);return c},JBc=function(a,b){b=a.chunkedServerStreaming_&&!b;return a.workerScope_||b?new Bq(new rZ({worker:a.workerScope_,streamBinaryChunks:b})):new Bq},KBc=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&&kBc.has(e.split(" ")[0])||a.withCredentials_)c.withCredentials_=!0;if(a.suppressCorsPreflight_)d=Vbc(d,"$httpHeaders",b);else for(var f in b)c.headers.set(f,b[f]);return d},LBc=function(a,b,c){if(c){c=new ABc(a);var d=new CBc(c)}return new qZ({xhr:a,nodeReadableStream:d},b)},GBc=function(a,b){var c=a;b.forEach(function(d){var e=c;c=function(f){return d.intercept(f,e)}});return c};var MBc=function(a){var b={withCredentials:!0,suppressCorsPreflight:!0};b=b||{};b.format="jspb";this.client_=new FBc(b);this.hostname_=a==void 0?a:a.replace(/\/+$/,"")};MBc.prototype.get=function(a,b){return vZ(this.client_,this.hostname_+"/$rpc/google.corp.devtools.worktracker.v1.WorkspaceService/Get",a,b||{},dBc)};MBc.prototype.list=function(a,b){return vZ(this.client_,this.hostname_+"/$rpc/google.corp.devtools.worktracker.v1.WorkspaceService/List",a,b||{},jBc)};var NBc={},OBc;NBc.Authorization=(OBc=tMa([]))!=null?OBc:"";NBc["X-Goog-Api-Key"]="AIzaSyAVSCxcE30nYSaySrZXBXCTumqIjorZA2c";NBc["X-Goog-AuthUser"]="0";var wZ=function(a,b){this.activeSession=a;this.clientFactory=b;this.environmentType=this.activeSession.getEnvironmentType();this.client=this.clientFactory.create(this.getServiceEndpoint())},PBc=function(a,b){return a.activeSession.isExternalSession()?(0,W.of)([]):(0,W.from)(a.client.list(gBc(new eBc,"b/"+b),NBc)).pipe(y(e8a(b)),$e(function(){return(0,W.of)([])}))};
wZ.prototype.getServiceEndpoint=function(){switch(this.environmentType){case "NIGHTLY":return"https://staging-worktracker-googleapis.corp.google.com";case "PROD":return"https://worktracker-googleapis.corp.google.com";default:return"https://autopush-worktracker-googleapis.corp.google.com"}};wZ.\u0275fac=function(a){return new (a||wZ)(n(Ir),n(xZ))};wZ.\u0275prov=Hc({token:wZ,factory:wZ.\u0275fac,providedIn:"root"});var xZ=function(){};xZ.prototype.create=function(a){return new MBc(a)};
xZ.\u0275fac=function(a){return new (a||xZ)};xZ.\u0275prov=Hc({token:xZ,factory:xZ.\u0275fac,providedIn:"root"});var QBc=[[["",8,"value-action"]]],yZ=function(a){Z.call(this);var b=this;this.jspbPrincipalTypes=a;this.readonly=!1;this.collaborators=[];this.collaboratorsUsers=[];this.listFieldDisabled=!1;this.teamId="";this.isCollapsible=!1;this.valuesChange=new XF;this.toggleAccessLimits=new XF;this.additionAllowed=!0;this.ListFieldType=Jvc;this.userPrincipalValidator=function(c){var d,e,f;return fe(function(h){if(h.nextAddress==1){if(!c)return h.return("This field is required");d=c.split(",").map(function(k){return k.trim()}).filter(Boolean);
return he(h,Y8b(b.jspbPrincipalTypes,d,!1),2)}e=h.yieldResult;f=d.find(function(k){var q;return((q=e[k])==null?void 0:q.principalType)!=="USER"});return h.return(f?"You can only add users to collaborators.":"")})}};X(yZ,Z);yZ.\u0275dir=Z.\u0275dir;yZ.\u0275fac=function(a){return new (a||yZ)(A(RG))};
yZ.\u0275cmp=p({type:yZ,selectors:[["b-collaborators-field"]],inputs:{readonly:"readonly",collaborators:"collaborators",collaboratorsUsers:"collaboratorsUsers",listFieldDisabled:"listFieldDisabled",teamId:"teamId",isCollapsible:"isCollapsible",additionAllowed:"additionAllowed"},outputs:{valuesChange:"valuesChange",toggleAccessLimits:"toggleAccessLimits"},features:[qg([YF]),zf],ngContentSelectors:[".value-action"],decls:3,vars:17,consts:[["aria-label","Collaborators are people directly working on this issue.",
1,"full-width",3,"valuesChange","toggleAccessLimits","defaultLineCount","readonly","additionAllowed","title","type","isUser","values","users","inputValidator","listFieldDisabled","teamId","isExpanded","collapsiblePanelTitle","isCollapsible","iconName"],[1,"value-action"]],template:function(a,b){a&1&&(Xf(QBc),F(0,"b-list-field",0),M("valuesChange",function(c){return b.valuesChange.emit(c)})("toggleAccessLimits",function(){return b.toggleAccessLimits.emit()}),F(1,"div",1),Yf(2),G()());a&2&&(ag("collapsiblePanelTitle",
"",b.collaborators.length," ",b.collaborators.length===1?"user":"users",""),D("defaultLineCount",5)("readonly",b.readonly)("additionAllowed",b.additionAllowed)("title","Collaborators")("type",b.ListFieldType.USERCHIP)("isUser",!0)("values",b.collaborators)("users",b.collaboratorsUsers)("inputValidator",b.userPrincipalValidator)("listFieldDisabled",b.listFieldDisabled)("teamId",b.teamId)("isExpanded",!0)("isCollapsible",b.isCollapsible)("iconName",b.isCollapsible?"groups_24px":""))},dependencies:[fX],
encapsulation:2});var zZ=function(){};zZ.\u0275fac=function(a){return new (a||zZ)};zZ.\u0275mod=dd({type:zZ});zZ.\u0275inj=Ic({imports:[gX,BB,aM]});var RBc=function(){var a=this;this.pressed=new XF;this.disabled=!1;this.getTooltip=function(){return a.disabled?"Deployment status is only available for submitted Boq, Pod & Annealing CLs. For more information, go/devgraph_supported_insights.":"Open the insights graph"}};RBc.\u0275fac=function(a){return new (a||RBc)};
RBc.\u0275cmp=p({type:RBc,selectors:[["insights-graph-btn"]],inputs:{disabled:"disabled"},outputs:{pressed:"pressed"},decls:14,vars:3,consts:[["mat-stroked-button","","color","primary",1,"gmat-button",3,"click","title","disabled"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 18 22"],["fill","none","fill-rule","evenodd"],"stroke;currentColor;stroke-linecap;round;stroke-linejoin;round;stroke-opacity;.4;d;M17.5 5.41l-8-3.91m0 7.82l-8-3.91".split(";"),"stroke;currentColor;stroke-opacity;.4;d;M9.5 9.32v10".split(";"),
"stroke;currentColor;stroke-linecap;round;stroke-linejoin;round;stroke-width;1.5;d;M9.5 1.5l-8 3.91v10.01l8 3.91 8-3.91V5.41l-8 3.91".split(";"),"cx 1.5 cy 5.41 r 1.5 fill currentColor fill-rule nonzero".split(" "),"cx 17.5 cy 5.41 r 1.5 fill currentColor fill-rule nonzero".split(" "),"cx 9.5 cy 9.32 r 1.5 fill currentColor fill-rule nonzero".split(" "),"cx 1.5 cy 15.43 r 1.5 fill currentColor fill-rule nonzero".split(" "),"cx 17.5 cy 15.43 r 1.5 fill currentColor fill-rule nonzero".split(" "),"cx 9.5 cy 19.33 r 1.5 fill currentColor fill-rule nonzero".split(" "),
"cx 9.5 cy 1.5 r 1.5 fill currentColor fill-rule nonzero".split(" ")],template:function(a,b){a&1&&(F(0,"button",0),M("click",function(){return b.pressed.emit()}),R(1,"Insights "),Gd(),F(2,"svg",1)(3,"g",2),H(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),G()()());a&2&&(D("title",b.getTooltip())("disabled",b.disabled),Bf("aria-label",b.getTooltip()))},dependencies:[oE],styles:["button.gmat-button[_ngcontent-%COMP%]{line-height:20px;padding:0 5px;font-size:.75rem;font-weight:500;font-family:Roboto,Arial,sans-serif}[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 AZ=function(a,b){Z.call(this);var c=this;this.componentFridge=a;this.trackerHelpers=b;this.recentIssuesInComponent=ro;this.componentId$=new W.ReplaySubject(1);this.hidePath=!1;this.error$=this.componentFridge.error$.pipe(te(function(d){return String(d.idOrKey)===c.componentIdInternal}));this.rawComponent$=this.componentId$.pipe(te(lj),pf(this.componentFridge.watch),te(lj));this.component$=(0,W.merge)(this.error$,this.rawComponent$).pipe(y(function(d){return d.componentId&&d.name?d:{componentId:Number(d.idOrKey),
name:"(unknown)"}}));this.isArchived$=this.component$.pipe(y(function(d){return d.archived}));this.componentPath$=this.component$.pipe(y(function(d){d=mr(c.trackerHelpers,d.componentPathInfo);return Rp(d)}));this.init=new W.ReplaySubject(1);this.routes$=this.componentId$.pipe(y(function(d){return{createIssue:jGa(d),componentSettings:kGa(d),recentIssues:ro(d)}}))};X(AZ,Z);AZ.\u0275dir=Z.\u0275dir;AZ.prototype.ngOnInit=function(){var a=this;this.component$.pipe(ef(),qf(this.destroyed$)).subscribe(function(){a.init.next()})};
ea.Object.defineProperties(AZ.prototype,{componentId:{configurable:!0,enumerable:!0,set:function(a){this.componentIdInternal=a=String(a);this.componentId$.next(a)}}});AZ.\u0275fac=function(a){return new (a||AZ)(A(CC),A(kQ))};
AZ.\u0275cmp=p({type:AZ,selectors:[["b-component-path-card"]],inputs:{componentId:"componentId",hidePath:"hidePath"},outputs:{init:"init"},features:[zf],decls:7,vars:7,consts:[["role","dialog","aria-label","Component Hovercard",1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],["class","component-path squared b-chip s margin-s-bottom",4,"ngIf"],[4,"ngIf"],["class","flex-kids-y padded-s-top actions",4,"ngIf"],[1,"component-path","squared","b-chip","s","margin-s-bottom"],[4,"ngFor","ngForOf"],
[3,"routerLinkObj"],[1,"flex-kids-x"],["svgIcon","folder",1,"icon-xs"],[1,"type-s"],[1,"id-text","flex-kids-x","gap-s","align-items-center"],[3,"accessLevel","labelOnlyMode"],[1,"flex-kids-y","padded-s-top","actions"],["aria-label","View recent open issues","mat-button","",1,"gmat-button","primary",3,"routerLinkObj"],["aria-label","View component settings","mat-button","",1,"gmat-button","primary",3,"routerLinkObj"],["aria-label","Create issue in this component","mat-button","",1,"gmat-button","primary",
3,"routerLinkObj"]],template:function(a,b){a&1&&(F(0,"div",0)(1,"div",1),C(2,i8a,5,6,"div",2)(3,j8a,11,5,"ng-container",3),T(4,"async"),C(5,k8a,7,3,"div",4),T(6,"async"),G()());a&2&&(z(2),D("ngIf",!b.hidePath),z(),D("ngIf",V(4,3,b.component$)),z(2),D("ngIf",V(6,5,b.routes$)))},dependencies:[Fv,Gv,zB,wB,pE,yN,Lv],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 SBc=function(a){this.internalArray_=m(a,0,SBc.messageId)};X(SBc,Y);SBc.messageId="b.CompareComponentAccessResponse";var BZ=function(a){this.executor=a};BZ.prototype.check=function(a,b,c){return this.executor.get({url:"action/compare_component_access/"+a+"/"+b,options:{params:{issueId:c}},responseConstructor:SBc}).then(pxa)};BZ.\u0275fac=function(a){return new (a||BZ)(n(JB))};BZ.\u0275prov=Hc({token:BZ,factory:BZ.\u0275fac,providedIn:"root"});var CZ=function(a,b,c,d,e,f,h){this.issueInteractionsTracking=a;this.issueFridge=b;this.butterBar=c;this.compareComponentAccess=d;this.matDialogService=e;this.editIssueService=f;this.activeSession=h},e9a=function(a,b,c){var d,e,f,h,k,q,t,w;fe(function(B){switch(B.nextAddress){case 1:return b=String(b),pJ(a.issueInteractionsTracking,b,{label:"changeComponent"}),c?he(B,(0,W.firstValueFrom)(a.issueFridge.watch(b)),2):B.return();case 2:d=B.yieldResult;if(!d)return a.butterBar.showWarning("Could not load issue "+
b),B.return();e=d.snapshot[0].componentId;f=c.componentId;return e===f?B.return():he(B,a.compareComponentAccess.check(String(e),String(f),b),3);case 3:h=B.yieldResult;k=!!c.trackerId;q=d.snapshot[0].issueAccessLimitLevel==="LIMIT_NONE";t=a.activeSession.getFlag("enableTrackerBoundaryImprovements")&&k&&q;w={allow:!1,setLimitViewTrusted:!1};if(!h.warning){B.jumpTo(4);break}return he(B,TBc(a,h,t),5);case 5:if(w=B.yieldResult,!w.allow)return B.return();case 4:return B.return(a.editIssueService.updateComponent(b,
f,h.isExternalMove,w.setLimitViewTrusted))}})},TBc=function(a,b,c){c=c===void 0?!1:c;return new Promise(function(d){qI(a.matDialogService.open(zW,{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})})})};CZ.\u0275fac=function(a){return new (a||CZ)(n(oJ),n(jG),n(sE),n(BZ),n(wI),n(LJ),n(Ir))};
CZ.\u0275prov=Hc({token:CZ,factory:CZ.\u0275fac,providedIn:"root"});var UBc=function(a){this.documentationLinks=a};UBc.\u0275fac=function(a){return new (a||UBc)(A(oI))};
UBc.\u0275cmp=p({type:UBc,selectors:[["b-issue-component-retention-dialog"]],decls:12,vars:3,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["target","_blank",3,"href"],["mat-dialog-actions",""],["mat-stroked-button","",1,"medium",3,"mat-dialog-close"],["mat-flat-button","","color","primary","cdkFocusInitial","",1,"medium","dialog-primary-action",3,"mat-dialog-close"]],template:function(a){a&1&&(F(0,"h1",0),R(1,"Apply component retention settings?"),G(),F(2,"div",1)(3,"p"),R(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. "),
G(),F(5,"a",2),R(6,"Learn more"),G()(),F(7,"div",3)(8,"button",4),R(9," Cancel "),G(),F(10,"button",5),R(11," OK "),G()());a&2&&(z(5),D("href",Dr(),Qe),z(3),D("mat-dialog-close",!1),z(2),D("mat-dialog-close",!0))},dependencies:[xI,zI,BI,AI,IH,Rx],encapsulation:2});var VBc=function(a,b){this.documentationLinks=b;this.deletionReasons=a.deletionReasons;this.attachmentId=a.attachmentId};VBc.\u0275fac=function(a){return new (a||VBc)(A(vI),A(oI))};
VBc.\u0275cmp=p({type:VBc,selectors:[["b-issue-delete-attachment-dialog"]],decls:14,vars:6,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["title","Deletion Reasons Help Link","target","_blank",1,"icon-s",3,"href"],[3,"ngModelChange","ngModel"],[3,"value","disabled",4,"ngFor","ngForOf"],["mat-dialog-actions",""],["mat-stroked-button","",1,"medium",3,"mat-dialog-close"],["mat-flat-button","","color","primary",1,"medium","dialog-primary-action",3,"mat-dialog-close","disabled"],[3,"value",
"disabled"],[4,"ngIf"]],template:function(a,b){a&1&&(F(0,"h1",0),R(1),G(),F(2,"div",1)(3,"span"),R(4," Please select the reason for deleting this attachment. "),F(5,"a",2),R(6," \u00a0Learn more "),G()(),F(7,"mat-radio-group",3),pg("ngModelChange",function(c){og(b.selectedReason,c)||(b.selectedReason=c);return c}),C(8,m8a,3,4,"mat-radio-button",4),G()(),F(9,"div",5)(10,"button",6),R(11," Cancel "),G(),F(12,"button",7),R(13," Delete "),G()());a&2&&(z(),S("Delete attachment ",b.attachmentId,""),z(4),
D("href",R$b(b.documentationLinks),Qe),z(2),ng("ngModel",b.selectedReason),z(),D("ngForOf",b.deletionReasons),z(4),D("mat-dialog-close",b.selectedReason)("disabled",!b.selectedReason))},dependencies:[Fv,Gv,xI,zI,BI,AI,IH,Rx,qy,yy,uR,vR],styles:["mat-radio-group[_ngcontent-%COMP%] {display: flex; flex-direction: column; margin: 15px 0;}","mat-radio-button[_ngcontent-%COMP%] {margin: 5px}"]});var WBc=function(a,b){this.documentationLinks=b;this.commentNumber=a.commentNumber;this.issueId=a.issueId;this.deletionReasons=a.deletionReasons};WBc.\u0275fac=function(a){return new (a||WBc)(A(vI),A(oI))};
WBc.\u0275cmp=p({type:WBc,selectors:[["b-issue-delete-comment-dialog"]],decls:14,vars:7,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["title","Deletion Reasons Help Link","target","_blank",1,"icon-s",3,"href"],[3,"ngModelChange","ngModel"],[3,"value","disabled",4,"ngFor","ngForOf"],["mat-dialog-actions",""],["mat-stroked-button","",1,"medium",3,"mat-dialog-close"],["mat-flat-button","","color","primary",1,"medium","dialog-primary-action",3,"mat-dialog-close","disabled"],[3,"value","disabled"],
[4,"ngIf"]],template:function(a,b){a&1&&(F(0,"h1",0),R(1),G(),F(2,"div",1)(3,"label"),R(4,"Please select the reason for deleting this comment."),G(),F(5,"a",2),R(6," \u00a0Learn more "),G(),F(7,"mat-radio-group",3),pg("ngModelChange",function(c){og(b.selectedReason,c)||(b.selectedReason=c);return c}),C(8,o8a,3,4,"mat-radio-button",4),G()(),F(9,"div",5)(10,"button",6),R(11," Cancel "),G(),F(12,"button",7),R(13," Delete "),G()());a&2&&(z(),mg("Delete Comment #",b.commentNumber," of Issue ",b.issueId,
""),z(4),D("href",R$b(b.documentationLinks),Qe),z(2),ng("ngModel",b.selectedReason),z(),D("ngForOf",b.deletionReasons),z(4),D("mat-dialog-close",b.selectedReason)("disabled",!b.selectedReason))},dependencies:[Fv,Gv,xI,zI,BI,AI,IH,Rx,qy,yy,uR,vR],styles:["mat-radio-group[_ngcontent-%COMP%] {display: flex; flex-direction: column; margin: 15px 0;}","mat-radio-button[_ngcontent-%COMP%] {margin: 5px}"]});var XBc=function(a,b){this.documentationLinks=a;this.activeSession=b;this.REMOVAL_URL=p8a(this.activeSession.isInternalSession())};XBc.\u0275fac=function(a){return new (a||XBc)(A(oI),A(Ir))};
XBc.\u0275cmp=p({type:XBc,selectors:[["b-issue-flag-as-spam-dialog"]],decls:19,vars:4,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["target","_blank",1,"keep-underline",3,"href"],["mat-dialog-actions",""],["mat-stroked-button","",1,"medium",3,"mat-dialog-close"],["mat-flat-button","","color","primary","cdkFocusInitial","",1,"medium","dialog-primary-action",3,"mat-dialog-close"]],template:function(a,b){a&1&&(F(0,"h1",0),R(1,"Report spam?"),G(),F(2,"div",1)(3,"p"),R(4," This will remove the issue from search results, and it will be deleted after 30 days. For more information on remediating spam at scale, "),
F(5,"a",2),R(6,"see here"),G(),R(7,". "),G(),H(8,"p"),F(9,"p"),R(10," To delete PII or other sensitive content, "),F(11,"a",2),R(12,"file a support request"),G(),R(13,". "),G()(),F(14,"div",3)(15,"button",4),R(16," Cancel "),G(),F(17,"button",5),R(18," Report spam "),G()());a&2&&(z(5),D("href",P$b(b.documentationLinks),Qe),z(6),D("href",b.REMOVAL_URL,Qe),z(4),D("mat-dialog-close",!1),z(2),D("mat-dialog-close",!0))},dependencies:[xI,zI,BI,AI,IH,Rx],encapsulation:2});var YBc=function(a){this.documentationLinks=a;this.indefiniteRetentionAcknowledged=!1};YBc.\u0275fac=function(a){return new (a||YBc)(A(oI))};
YBc.\u0275cmp=p({type:YBc,selectors:[["b-issue-indefinite-retention-dialog"]],decls:28,vars:5,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["target","_blank",3,"href"],["cdkFocusInitial","",3,"change","checked"],["mat-dialog-actions",""],["mat-stroked-button","",1,"medium",3,"mat-dialog-close"],["mat-flat-button","","color","primary",1,"medium","dialog-primary-action",3,"mat-dialog-close","disabled"]],template:function(a,b){a&1&&(F(0,"h1",0),R(1,"Retain issue indefinitely?"),G(),F(2,
"div",1)(3,"p"),R(4," Are you sure you want to override any component retention settings, and retain this issue indefinitely? "),G(),F(5,"p")(6,"b"),R(7,"Please note indefinite retention is not appropriate in many circumstances."),G(),H(8,"br"),R(9," Before selecting this option, you should make sure at least one of the following is true: "),G(),F(10,"ul")(11,"li"),R(12," There is no personal data, user data, or any other forms of sensitive data being stored in this issue. "),G(),F(13,"li"),R(14,
" You have a process in place to manually delete this issue within an approved period of time. "),G(),F(15,"li"),R(16," Legal and Privacy have approved this non-standard retention period. "),G()(),H(17,"p"),F(18,"p")(19,"a",2),R(20,"Learn more"),G()(),F(21,"mat-checkbox",3),M("change",function(c){return b.indefiniteRetentionAcknowledged=c.checked}),R(22," I acknowledge "),G()(),F(23,"div",4)(24,"button",5),R(25," Cancel "),G(),F(26,"button",6),R(27," OK "),G()());a&2&&(z(19),D("href",Dr(),Qe),z(2),
D("checked",b.indefiniteRetentionAcknowledged),z(3),D("mat-dialog-close",!1),z(2),D("mat-dialog-close",!0)("disabled",!b.indefiniteRetentionAcknowledged))},dependencies:[xI,zI,BI,AI,IH,Rx,QH,RH],styles:[".mat-mdc-dialog-content[_ngcontent-%COMP%] { max-height: unset; overflow: unset; }","ul[_ngcontent-%COMP%] { list-style: disc }"]});var DZ=function(a){Z.call(this);this.userPreferencesManager=a;this.timestamps$=this.userPreferencesManager.preferences$.pipe(y(function(b){var c;return(c=b.dismissalTimestamps)!=null?c:void 0}));this.timestampsSubject$=eo(this.timestamps$.pipe(qf(this.destroyed$)),{})};X(DZ,Z);DZ.\u0275dir=Z.\u0275dir;var ZBc=function(a,b){return a.timestamps$.pipe(y(function(c){return c?!!c[b]:!1}))};DZ.prototype.isDismissed=function(a){return!!fo(ZBc(this,a))};
DZ.prototype.dismiss=function(a){var b={};b={dismissalTimestamps:Object.assign({},this.timestampsSubject$.value,(b[a]=new Date(Date.now()),b))};return this.userPreferencesManager.save(b).pipe(y(function(c){if(c.dismissalTimestamps&&c.dismissalTimestamps[a])return c.dismissalTimestamps[a]}))};DZ.\u0275fac=function(a){return new (a||DZ)(n(rH))};DZ.\u0275prov=Hc({token:DZ,factory:DZ.\u0275fac,providedIn:"root"});var EZ=function(a,b,c){Z.call(this);this.data=a;this.dialogRef=b;this.dismissalService=c;this.dontShowAgain=!1};X(EZ,Z);EZ.\u0275dir=Z.\u0275dir;EZ.prototype.confirm=function(){var a=this,b;return fe(function(c){if(c.nextAddress==1){if(!a.dontShowAgain)return c.jumpTo(2);b=q8a(a.data.action);return he(c,(0,W.firstValueFrom)(a.dismissalService.dismiss(b)),2)}a.dialogRef.close(!0);le(c)})};EZ.\u0275fac=function(a){return new (a||EZ)(A(vI),A(pI),A(DZ))};
EZ.\u0275cmp=p({type:EZ,selectors:[["b-share-email-confirmation-dialog"]],features:[zf],decls:9,vars:2,consts:[["mat-dialog-content",""],[3,"innerHTML"],[3,"change","checked"],["mat-dialog-actions",""],["mat-button","",1,"medium",3,"click"],["mat-flat-button","","color","primary","cdkFocusInitial","",1,"medium",3,"click"]],template:function(a,b){a&1&&(F(0,"div",0),H(1,"div",1),F(2,"mat-checkbox",2),M("change",function(c){return b.dontShowAgain=c.checked}),R(3," Don't show this again "),G()(),F(4,
"div",3)(5,"button",4),M("click",function(){return b.dialogRef.close(!1)}),R(6," Cancel "),G(),F(7,"button",5),M("click",function(){return b.confirm()}),R(8," Confirm "),G()());a&2&&(z(),D("innerHTML",b.data.content,Pe),z(),D("checked",b.dontShowAgain))},dependencies:[BI,AI,IH,Rx,QH,RH],styles:["mat-checkbox[_ngcontent-%COMP%] {\n      margin-top: 12px;\n      padding-bottom: 12px;\n    }"]});var FZ=function(){};FZ.\u0275fac=function(a){return new (a||FZ)};FZ.\u0275mod=dd({type:FZ});FZ.\u0275inj=Ic({imports:[BB,fJ,dJ,TV,My,lM,GS,AS,JM,jM]});var GZ=function(a){this.internalArray_=m(a)};X(GZ,Y);GZ.prototype.getContentJudgement=function(){return $i(this,aj,1)};GZ.prototype.setContentJudgement=function(a){return oj(this,aj,1,a)};var HZ=function(a){this.internalArray_=m(a)};X(HZ,Y);HZ.prototype.getContentJudgement=function(){return $i(this,aj,1)};HZ.prototype.setContentJudgement=function(a){return oj(this,aj,1,a)};var IZ=function(a){this.internalArray_=m(a,0,IZ.messageId)};X(IZ,Y);IZ.prototype.getIt=function(){return $i(this,GZ,4)};IZ.prototype.setIt=function(a){return oj(this,GZ,4,a)};IZ.messageId="b.CreateContentJudgementRequest";var $Bc=function(a){this.internalArray_=m(a)};X($Bc,Y);$Bc.repeatedFields_=[1];var JZ=function(a){this.internalArray_=m(a,0,JZ.messageId)};X(JZ,Y);JZ.prototype.getIt=function(){return $i(this,$Bc,2)};JZ.prototype.setIt=function(a){return oj(this,$Bc,2,a)};JZ.messageId="b.ListContentJudgementsResponse";var KZ=function(a){this.internalArray_=m(a,0,KZ.messageId)};X(KZ,Y);KZ.prototype.getIt=function(){return $i(this,HZ,2)};KZ.prototype.setIt=function(a){return oj(this,HZ,2,a)};KZ.messageId="b.UpdateContentJudgementRequest";var LZ=function(a){this.executor=a};LZ.prototype.create=function(a,b,c){var d=new IZ,e=d.setIt,f=new GZ,h=f.setContentJudgement;a=dj(iua({resourcePath:a,severity:b,judgementReason:c,contentJudgementId:void 0,contentJudge:""}),5,2);a=dj(a,6,2);d=e.call(d,h.call(f,a));return this.executor.post({url:"action/content_judgements",body:d,responseConstructor:po}).pipe(y($Fa))};
LZ.prototype.update=function(a){var b=dj(iua(a),5,2);b=oo(b,8);b=(new KZ).setIt((new HZ).setContentJudgement(b));return this.executor.post({url:"action/content_judgements/"+a.contentJudgementId,body:b,responseConstructor:po}).pipe(y($Fa))};LZ.prototype.list=function(a){return this.executor.get({url:"action/content_judgements",options:{params:{resource_path:a}},responseConstructor:JZ}).pipe(y(function(b){b=b.getIt();return xj(b,aj,1,yj()).map(jua)}))};LZ.\u0275fac=function(a){return new (a||LZ)(n(IB))};
LZ.\u0275prov=Hc({token:LZ,factory:LZ.\u0275fac,providedIn:"root"});var NZ=function(a,b,c,d,e){var f=this;this.dialogRef=a;this.documentationLinks=b;this.contentJudgements=c;this.activeSession=d;this.data=e;this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc";this.RestrictionSeverity=T3b;this.loaded=!1;this.minimumSeverity="RESTRICTION_SEVERITY_UNSPECIFIED";this.severity="NONE_DETECTED";this.severity=e.severity;e.resourcePath?c.list(e.resourcePath).subscribe(function(h){var k="RESTRICTION_SEVERITY_UNSPECIFIED";h=l(h);for(var q=h.next();!q.done;q=h.next())q=q.value,
q.contentJudge===f.activeSession.getUserEmail()?aCc(f,q):MZ(q.severity,k)&&(k=q.severity);f.minimumSeverity=k;MZ(f.minimumSeverity,f.severity)&&(f.severity=f.minimumSeverity);f.loaded=!0}):(aCc(this,e.contentJudgement),this.loaded=!0)};NZ.prototype.canInteract=function(){return this.loaded&&(this.data.hasAclToCreate||!!this.judgement)};
var MZ=function(a,b){return r8a(a)>r8a(b)},aCc=function(a,b){if(a.judgement=b)a.severity=b.severity},bCc=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.";
MZ(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};NZ.prototype.getContentJudgement=function(){var a;this.judgement?a=Object.assign({},this.judgement):a={contentJudge:"",contentJudgementId:void 0,resourcePath:void 0,severity:"RESTRICTION_SEVERITY_UNSPECIFIED",judgementReason:""};a.severity=this.severity;a.judgementReason="None specified";return a};
NZ.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()})};NZ.prototype.onNoClick=function(){this.dialogRef.close(null)};NZ.\u0275fac=function(a){return new (a||NZ)(A(pI),A(oI),A(LZ),A(Ir),A(vI))};
NZ.\u0275cmp=p({type:NZ,selectors:[["b-content-judgement-dialog"]],decls:28,vars:11,consts:[["mat-dialog-title",""],["svgIcon","restricted",1,"icon-m"],["mat-dialog-content",""],["id","restriction-radio-group-label"],["target","_blank","aria-label","Learn more about restricted access",1,"keep-focus-ring",3,"rel"],["aria-labelledby","restriction-radio-group-label",3,"ngModelChange","ngModel"],[1,"restriction-radio","restriction-none",3,"value","disabled"],[1,"restriction-radio","restriction-pii",3,
"value","disabled"],[1,"restriction-radio","restriction-spii",3,"value","disabled"],["mat-button","",1,"gmat-button","medium","content-judgement-dialog-cancel",3,"click"],["mat-flat-button","","color","primary","cdkFocusInitial","",1,"gmat-button","medium","content-judgement-dialog-confirm",3,"click","disabled"]],template:function(a,b){a&1&&(F(0,"header",0)(1,"h1"),H(2,"mat-icon",1),F(3,"div"),R(4," Set restriction "),G()()(),F(5,"section",2)(6,"label",3),R(7),F(8,"a",4),R(9," Learn More "),G()(),
F(10,"mat-radio-group",5),pg("ngModelChange",function(c){og(b.severity,c)||(b.severity=c);return c}),F(11,"mat-radio-button",6),R(12," No restriction "),F(13,"div"),R(14,' Users with "View issues" can access. '),G()(),F(15,"mat-radio-button",7),R(16," Restricted "),F(17,"div"),R(18,' Users with "View restricted content" can access. '),G()(),F(19,"mat-radio-button",8),R(20," Restricted+ "),F(21,"div"),R(22,' Users with "View restricted+ content" can access. '),G()()()(),F(23,"mat-dialog-actions")(24,
"button",9),M("click",function(){return b.onNoClick()}),R(25," Cancel "),G(),F(26,"button",10),M("click",function(){return b.onSaveClick()}),R(27," Set "),G()());a&2&&(z(7),S(" ",bCc(b)," "),z(),D("rel",b.EXTERNAL_LINK_REL),Bf("href",b.documentationLinks.getRestrictedAccessHelpLink(),Qe),z(2),ng("ngModel",b.severity),z(),D("value",b.RestrictionSeverity.NONE_DETECTED)("disabled",!b.canInteract()||MZ(b.minimumSeverity,b.RestrictionSeverity.NONE_DETECTED)),z(4),D("value",b.RestrictionSeverity.RESTRICTED)("disabled",
!b.canInteract()||MZ(b.minimumSeverity,b.RestrictionSeverity.RESTRICTED)),z(4),D("value",b.RestrictionSeverity.RESTRICTED_PLUS)("disabled",!b.canInteract()||MZ(b.minimumSeverity,b.RestrictionSeverity.RESTRICTED_PLUS)),z(7),D("disabled",!b.canInteract()))},dependencies:[zB,oE,zI,BI,AI,uR,vR,qy,yy],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 OZ=function(a,b,c){this.dialogRef=a;this.documentationLinks=b;this.data=c;this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc";this.acknowledgeToMatchIssueRetention=!1;this.resource=c.resource;this.piiRetention=c.piiRetention};OZ.prototype.canInteract=function(){return!PZ(this)||this.acknowledgeToMatchIssueRetention};var PZ=function(a){return a.piiRetention==="INDEFINITE"};OZ.prototype.onSaveClick=function(){this.dialogRef.close(1)};OZ.prototype.onNoClick=function(){this.dialogRef.close(0)};
OZ.\u0275fac=function(a){return new (a||OZ)(A(pI),A(oI),A(vI))};
OZ.\u0275cmp=p({type:OZ,selectors:[["b-update-retention-dialog"]],decls:19,vars:8,consts:[["mat-dialog-title",""],["svgIcon","restricted",1,"icon-m"],[4,"ngIf"],["mat-dialog-content",""],["target","_blank","aria-label","Learn more about component retention",3,"rel"],[3,"ngModel","ngModelChange",4,"ngIf"],["mat-dialog-actions",""],["mat-button","",1,"gmat-button","medium","update-retention-dialog-cancel",3,"click"],["mat-button","","color","primary","cdkFocusInitial","",1,"gmat-button","dialog-primary-action",
"medium","update-retention-dialog-confirm",3,"click","disabled"],[3,"ngModelChange","ngModel"]],template:function(a,b){a&1&&(F(0,"h1",0),H(1,"mat-icon",1),F(2,"div"),C(3,s8a,2,1,"span",2)(4,t8a,2,0,"span",2),G()(),F(5,"div",3),C(6,u8a,8,1,"span",2)(7,v8a,3,2,"span",2),F(8,"span")(9,"a",4),R(10," Learn More "),G()()(),F(11,"div")(12,"span"),C(13,w8a,2,1,"mat-checkbox",5),G()(),F(14,"div",6)(15,"button",7),M("click",function(){return b.onNoClick()}),R(16," Cancel "),G(),F(17,"button",8),M("click",function(){return b.onSaveClick()}),
R(18," Save "),G()());a&2&&(z(3),D("ngIf",PZ(b)),z(),D("ngIf",!PZ(b)),z(2),D("ngIf",PZ(b)),z(),D("ngIf",!PZ(b)),z(2),D("rel",b.EXTERNAL_LINK_REL),Bf("href",Dr(),Qe),z(4),D("ngIf",PZ(b)),z(4),D("disabled",!b.canInteract()))},dependencies:[Gv,zB,oE,zI,BI,AI,QH,RH,qy,yy],styles:["h1[_ngcontent-%COMP%]{text-align:center}.mat-mdc-dialog-content[_ngcontent-%COMP%]{overflow:inherit}/*# sourceMappingURL=update_retention_dialog.css.map */"]});var QZ=function(a,b,c,d,e,f,h,k){this.errorHandler=a;this.eventsForIssueFridge=b;this.issueFridge=c;this.issueCommentsService=d;this.issueInteractionsTracking=e;this.butterBar=f;this.editIssueService=h;this.formattedCommentsForIssueFridge=k},cCc=function(a,b){var c=b.issueId;var d=b.newCommentId;var e=b.newComment;var f=b.newCommentFormattingMode;var h=b.recaptchaToken;var k,q;fe(function(t){switch(t.nextAddress){case 1:k=a.editIssueService.savingState(c);if(!e.trim())return a.butterBar.showWarning("New comment cannot be empty."),
t.return();IJ(k,"commentEdit");Ap(a.butterBar,"Saving comment edit...",0);pJ(a.issueInteractionsTracking,c,{label:d===1?"description":"comment"});ge(t,2,3);return he(t,a.issueCommentsService.update(c,d,e,f,h),5);case 5:Ap(a.butterBar,"Comment edit successful.",4E3),TB(a.eventsForIssueFridge,c,function(w){w.events=NCa(w.events,d,{formattedComment:void 0,unlinkifiedComment:e,formattingMode:f})}),a.issueFridge.poke(c),a.formattedCommentsForIssueFridge.invalidate(c+"-"+d),a.eventsForIssueFridge.poke(c);
case 3:ie(t);JJ(k,"commentEdit");je(t,0);break;case 2:q=ke(t),wE(a.errorHandler,q),t.jumpTo(3)}})};QZ.\u0275fac=function(a){return new (a||QZ)(n(uE),n(rF),n(jG),n($I),n(oJ),n(sE),n(LJ),n(xF))};QZ.\u0275prov=Hc({token:QZ,factory:QZ.\u0275fac,providedIn:"root"});var dCc=function(a,b,c){this.objectId=a;this.version=b;this.payload=c},eCc=function(){},fCc=function(a){this.timestampMicros=a};x8a.prototype.reset=function(){this.currentMaxDelayMs_=this.initialMaxDelayMs_;this.inRetryMode_=!1};var gCc=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 Fq=function(a){this.internalArray_=m(a)};X(Fq,Y);var D8a=[1,2,3,15];var Hq=function(a){this.internalArray_=m(a)};X(Hq,Y);var Jq=[1,2,3,4,5,6,7,8,9,10,11,12];var Gq=function(a){this.internalArray_=m(a)};X(Gq,Y);Gq.repeatedFields_=[1];var Eq=function(a){this.internalArray_=m(a)};X(Eq,Y);Eq.prototype.getName=function(){return Un(this,1,hCc)};Eq.prototype.setName=function(a){return Wi(this,1,hCc,a)};Eq.prototype.hasName=function(){return Un(this,1,hCc)!=null};Eq.prototype.getNameOrUndefined=function(){return hu(this,Ti(this,hCc,1))};var hCc=[1,2];var iCc=function(a){this.internalArray_=m(a)};X(iCc,Y);g=iCc.prototype;g.setProject=function(a){oj(this,Eq,1,a)};g.getOwner=function(){return $i(this,Fq,2)};g.setOwner=function(a){return oj(this,Fq,2,a)};g.getPath=function(){return $i(this,Gq,3)};g.setPath=function(a){return oj(this,Gq,3,a)};g.hasPath=function(){return dk(this,Gq,3)};var jCc=function(a){this.internalArray_=m(a)};X(jCc,Y);g=jCc.prototype;g.setProject=function(a){oj(this,Eq,1,a)};g.getOwner=function(){return $i(this,Fq,2)};g.setOwner=function(a){return oj(this,Fq,2,a)};g.getPrefix=function(){return $i(this,Gq,3)};g.setPrefix=function(a){oj(this,Gq,3,a)};var RZ=function(a){this.internalArray_=m(a)};X(RZ,Y);RZ.prototype.getVersion=function(){return bu(this,1)};RZ.prototype.setVersion=function(a){return ql(this,1,a)};RZ.prototype.getVersionOrUndefined=function(){return gu(this,1)};var SZ=function(a){this.internalArray_=m(a)};X(SZ,Y);SZ.prototype.getHeader=function(){return $i(this,RZ,4)};SZ.prototype.getPrefix=function(){return Bj(this,jCc,6,kCc)};SZ.prototype.setPrefix=function(a){Gj(this,6,kCc,a)};var kCc=[2,3,6];var lCc=function(a){this.internalArray_=m(a)};X(lCc,Y);var mCc=function(a){this.internalArray_=m(a)};X(mCc,Y);mCc.prototype.setAffinitization=function(a){sl(this,2,a)};mCc.prototype.getAffinitizationOrUndefined=function(){return tt(this,2)};var nCc=function(a){this.internalArray_=m(a)};X(nCc,Y);var oCc=function(a){this.internalArray_=m(a)};X(oCc,Y);g=oCc.prototype;g.getStreamId_legacyNullable_asLegacyNumberOrString=function(){return dl(this,1)};g.setStreamId=function(a){xl(this,1,a)};g.getClose=function(){return Bj(this,nCc,3,pCc)};g.setClose=function(a){Gj(this,3,pCc,a)};g.hasClose=function(){return Qj(this,nCc,3,pCc)};g.setAffinitization=function(a){sl(this,4,a)};g.getAffinitizationOrUndefined=function(){return tt(this,4)};var pCc=[2,3];var TZ=function(a){this.internalArray_=m(a)};X(TZ,Y);TZ.prototype.setRequestsList=function(a){return gk(this,1,a)};TZ.prototype.addAndReturnRequests=function(){return Tda(this,1,oCc)};TZ.repeatedFields_=[1];var UZ=function(a){this.internalArray_=m(a)};X(UZ,Y);UZ.prototype.getCode=function(){return et(this,1)};UZ.prototype.getCode_legacyNullable=function(){return et(this,1)};UZ.prototype.setCode=function(a){return sl(this,1,a)};var qCc=function(a){this.internalArray_=m(a)};X(qCc,Y);var rCc=function(a){this.internalArray_=m(a)};X(rCc,Y);rCc.prototype.getVersion=function(){return dl(this,3)};rCc.prototype.setVersion=function(a){return xl(this,3,a)};rCc.prototype.getVersionOrUndefined=function(){var a=dl(this,3);return a==null?void 0:a};var sCc=function(a){this.internalArray_=m(a)};X(sCc,Y);sCc.repeatedFields_=[1];var tCc=function(a){this.internalArray_=m(a)};X(tCc,Y);var VZ=function(a){this.internalArray_=m(a)};X(VZ,Y);VZ.prototype.getStart=function(){return Bj(this,tCc,1,WZ)};VZ.prototype.setStart=function(a){return Gj(this,1,WZ,a)};VZ.prototype.getChanges=function(){return Bj(this,sCc,2,WZ)};VZ.prototype.hasChanges=function(){return Qj(this,sCc,2,WZ)};var WZ=[1,2,3,5];var XZ=function(a){this.internalArray_=m(a)};X(XZ,Y);XZ.prototype.getStatus=function(){return $i(this,Cz,1)};XZ.prototype.setStatus=function(a){return oj(this,Cz,1,a)};XZ.prototype.hasStatus=function(){return dk(this,Cz,1)};var uCc=function(a){this.internalArray_=m(a)};X(uCc,Y);g=uCc.prototype;g.getStreamId_legacyNullable_asLegacyNumberOrString=function(){return dl(this,1)};g.setStreamId=function(a){xl(this,1,a)};g.getClose=function(){return Bj(this,XZ,3,vCc)};g.setClose=function(a){Gj(this,3,vCc,a)};g.hasClose=function(){return Qj(this,XZ,3,vCc)};var vCc=[2,3,4];var YZ=function(a){this.internalArray_=m(a)};X(YZ,Y);YZ.prototype.getResponsesList=function(){return xj(this,uCc,1,yj())};YZ.prototype.getStatus=function(){return $i(this,UZ,2)};YZ.prototype.setStatus=function(a){return oj(this,UZ,2,a)};YZ.prototype.hasStatus=function(){return dk(this,UZ,2)};YZ.repeatedFields_=[1];var wCc=function(){Hz.call(this,"y")};Mt(wCc,Hz);var xCc=function(){Hz.call(this,"x")};Mt(xCc,Hz);var yCc=function(a,b,c){this.path=a;this.authMethod=b;this.useFetchApi=c},zCc=function(a,b,c,d,e){this.channelMessageHandler=a;this.channelStatusHandler=b;this.config=c;this.channelCreator=d;this.state=0;this.channelHandler=new Lr;this.channel=this.createWebChannel(e)};
zCc.prototype.createWebChannel=function(a){var b=this;a={sendRawJson:!0,messageContentType:"application/json+protobuf",httpSessionIdParam:void 0,messageUrlParams:Object.assign({},{gsessionid:a},this.config.authMethod.getQueryParameters()),useFetchStreams:this.config.useFetchApi,messageHeaders:this.config.authMethod.getHeaders(),supportsCrossDomainXhr:this.config.authMethod.usesCredentialedRequests()};a=this.channelCreator(this.config.path,a);this.channelHandler.listen(a,"v",function(){b.channelStatusHandler.onOpen()});
this.channelHandler.listen(a,"w",function(){b.channelStatusHandler.onClose((new ACc(b.channel.channel_)).getLastStatusCode());b.state=2;b.channel.removeAllListeners();b.channelHandler.removeAll()});this.channelHandler.listen(a,"y",function(c){(c=c.data)&&c.length===1&&b.channelMessageHandler(new YZ(c[0]))});this.channelHandler.listen(a,"x",function(c){b.channelStatusHandler.onError(c,(new ACc(b.channel.channel_)).getLastStatusCode());c.status!==0&&(b.state=2)});return a};
zCc.prototype.open=function(){this.state===0&&(this.state=1,this.channel.open())};zCc.prototype.close=function(){this.state!==2&&this.channel.close()};zCc.prototype.send=function(a){a=a.serialize();this.channel.send(a)};var BCc,CCc=(new RZ).setVersion(7);BCc=sl(CCc,2,5);var Lq=function(a){this.rep=a};Lq.prototype.equals=function(a){return this.rep===a.rep};var DCc=function(){var a=8;a=a===void 0?1:a;this.max=8;this.lastAddedTimestampMs=Date.now();this.tokens=a};DCc.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 Kq=function(a,b){this.seconds=a;this.nanos=b},F8a=function(a){var b=new Ii;b.setSeconds(a.seconds);b.setNanos(a.nanos);return b},K8a=function(a){try{var b=Number(a.getSeconds_asLegacyNumberOrString()),c=a.getNanos();if(b<-62135596800)throw Error("Oe`"+b);if(253402300800<=b)throw Error("Pe`"+b);if(c<0)throw Error("Qe`"+c);if(1E9<=c)throw Error("Re`"+c);if(!Number.isInteger(b))throw Error("Se`"+b);if(!Number.isInteger(c))throw Error("Te`"+c);return new Kq(b,c)}catch(d){return null}};
Kq.prototype.equals=function(a){return this.seconds===a.seconds&&this.nanos===a.nanos};var Iq=function(a,b){this.low_=a|0;this.high_=b|0},ECc=function(a){return a.high_*4294967296+(a.low_>>>0)};g=Iq.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("Ue`"+a);if(this.isSafeInteger()){var b=ECc(this);return a==10?""+b:b.toString(a)}b=14-(a>>2);var c=Math.pow(a,b),d=ZZ(c,c/4294967296);c=$Z(this,d);var e=Math,f=e.abs;d=c.multiply(d);d=this.add(a_(d));e=f.call(e,ECc(d));f=a==10?""+e:e.toString(a);f.length<b&&(f="0000000000000".slice(f.length-b)+f);e=ECc(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 a_=function(a){var b=~a.low_+1|0;return ZZ(b,~a.high_+!b|0)};
Iq.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 ZZ((h&65535)<<16|a&65535,((d>>>16)+(b+e)&65535)<<16|d&65535)};
Iq.prototype.multiply=function(a){if(this.isZero())return this;if(a.isZero())return a;var b=this.high_>>>16,c=this.high_&65535,d=this.low_>>>16,e=this.low_&65535,f=a.high_>>>16,h=a.high_&65535,k=a.low_>>>16;a=a.low_&65535;var q=e*a;var t=(q>>>16)+d*a;var w=t>>>16;t=(t&65535)+e*k;w+=t>>>16;w+=c*a;var B=w>>>16;w=(w&65535)+d*k;B+=w>>>16;w=(w&65535)+e*h;B=B+(w>>>16)+(b*a+c*k+d*h+e*f)&65535;return ZZ((t&65535)<<16|q&65535,B<<16|w&65535)};
var $Z=function(a,b){if(b.isZero())throw Error("Ve");if(a.high_<0){if(a.equals(FCc)){if(b.equals(GCc)||b.equals(HCc))return FCc;if(b.equals(FCc))return GCc;var c=a.high_;c=ZZ(a.low_>>>1|c<<31,c>>1);c=$Z(c,b).shiftLeft(1);if(c.equals(b_))return b.high_<0?GCc:HCc;var d=b.multiply(c);a=a.add(a_(d));return c.add($Z(a,b))}return b.high_<0?$Z(a_(a),a_(b)):a_($Z(a_(a),b))}if(a.isZero())return b_;if(b.high_<0)return b.equals(FCc)?b_:a_($Z(a,a_(b)));for(d=b_;a.compare(b)>=0;){c=Math.max(1,Math.floor(ECc(a)/
ECc(b)));var e=Math.ceil(Math.log(c)/Math.LN2);e=e<=48?1:Math.pow(2,e-48);for(var f=c_(c),h=f.multiply(b);h.high_<0||h.compare(a)>0;)c-=e,f=c_(c),h=f.multiply(b);f.isZero()&&(f=GCc);d=d.add(f);a=a.add(a_(h))}return d};Iq.prototype.and=function(a){return ZZ(this.low_&a.low_,this.high_&a.high_)};Iq.prototype.or=function(a){return ZZ(this.low_|a.low_,this.high_|a.high_)};Iq.prototype.xor=function(a){return ZZ(this.low_^a.low_,this.high_^a.high_)};
Iq.prototype.shiftLeft=function(a){a&=63;if(a==0)return this;var b=this.low_;return a<32?ZZ(b<<a,this.high_<<a|b>>>32-a):ZZ(0,b<<a-32)};
var c_=function(a){return a>0?a>=0x7fffffffffffffff?ICc:new Iq(a,a/4294967296):a<0?a<=-0x7fffffffffffffff?FCc:a_(new Iq(-a,-a/4294967296)):b_},ZZ=function(a,b){return new Iq(a,b)},Oq=function(a,b){if(a.charAt(0)=="-")return a_(Oq(a.substring(1),b));var c=parseInt(a,b||10);if(c<=9007199254740991)return new Iq(c%4294967296|0,c/4294967296|0);if(a.length==0)throw Error("We");if(a.indexOf("-")>=0)throw Error("Xe`"+a);b=b||10;if(b<2||36<b)throw Error("Ue`"+b);c=c_(Math.pow(b,8));for(var d=b_,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(c_(Math.pow(b,f))).add(c_(h)):(d=d.multiply(c),d=d.add(c_(h)))}return d},b_=ZZ(0,0),GCc=ZZ(1,0),HCc=ZZ(-1,-1),ICc=ZZ(4294967295,2147483647),FCc=ZZ(0,2147483648);var wq=function(a,b){this.value=a;this.isDecreasing=!!b};
wq.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 Iq)b=a.value instanceof Iq?this.value.equals(a.value):!1;else if(this.value instanceof Lq)b=a.value instanceof Lq?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 Kq?a.value instanceof Kq?this.value.equals(a.value):!1:!1;return b};var Nq=function(a,b){this.parts=a;this.isPrivate=b},H8a=function(){for(var a=[],b=l(kd.apply(0,arguments)),c=b.next();!c.done;c=b.next())c=c.value,c instanceof wq?a.push(c):a.push(new wq(c));return new Nq(a,!1)};
Nq.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 JCc=function(){},Aq=function(a,b){this.apiKey=a;this.authUser=b};Aq.prototype.getHeaders=function(){var a={},b;(b=tMa([]))?(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};Aq.prototype.getQueryParameters=function(){return{key:this.apiKey}};Aq.prototype.domainType=function(){return 0};Aq.prototype.usesCredentialedRequests=function(){return!0};var yq=function(a){this.oauthTokens=a};
yq.prototype.getHeaders=function(){var a={};a.Authorization="OAuth "+this.oauthTokens.getValue();return a};yq.prototype.getQueryParameters=function(){return{}};yq.prototype.domainType=function(){return 1};yq.prototype.usesCredentialedRequests=function(){return!0};var zq=function(a,b){this.apiKey=a;this.appAuthTokens=b};zq.prototype.getHeaders=function(){return{}};zq.prototype.getQueryParameters=function(){return{key:this.apiKey}};zq.prototype.domainType=function(){return 1};
zq.prototype.usesCredentialedRequests=function(){return!1};var KCc=function(a,b,c){this.code=a;this.message=b;this.status=c},LCc=function(a,b){b=b===void 0?A8a():b;this.baseUri=a;this.xhrIo=b};LCc.prototype.post=function(a,b,c,d){d=d===void 0?{}:d;return this.request("POST",a,b,c,d)};
LCc.prototype.request=function(a,b,c,d,e){var f=this,h=new bp(this.baseUri);h.setPath(b);if(e.queryParams){b=l(Object.entries(e.queryParams));for(var k=b.next();!k.done;k=b.next()){var q=l(k.value);k=q.next().value;q=q.next().value;cK(h,k,q)}}var t={"Content-type":"application/json+protobuf"};Object.assign(t,e.extraHeaders);var w=c.serialize();return new Promise(function(B,E){var I;f.xhrIo.send(h,function(){var J=this.getStatus()===-1?void 0:this.getStatus();if(this.isSuccess())try{B(dra(d,this.getResponseText()))}catch(N){E(new KCc(4,
"Failed to deserialize response from "+h+": "+this.getResponseText(),J))}else E(new KCc(this.getLastErrorCode(),this.getLastError(),J))},a,w,t,(I=e.timeoutMs)!=null?I:2E4,e.withCredentials)})};var MCc=function(a,b,c){Gz.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};X(MCc,Gz);g=MCc.prototype;g.fire=function(a){this.args_=arguments;this.timer_||this.pauseCount_?this.shouldFire_=!0:this.doAction_()};g.stop=function(){this.timer_&&(Dq(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(){Gz.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_=Cq(function(){return a.onTimer_()},this.interval_);var b=this.args_;this.args_=null;this.listener_.apply(null,b)};var NCc=null,OCc=function(){return NCc=NCc||new Xo},PCc=function(a){Hz.call(this,"serverreachability",a)};Mt(PCc,Hz);var QCc=function(a){var b=OCc();b.dispatchEvent(new PCc(b,a))},RCc=function(a,b){Hz.call(this,"statevent",a);this.stat=b};Mt(RCc,Hz);var d_=function(a){var b=OCc();b.dispatchEvent(new RCc(b,a))},SCc=function(a,b,c){Hz.call(this,"timingevent",a);this.size=b;this.rtt=c};Mt(SCc,Hz);
var TCc=function(a,b,c){var d=OCc();d.dispatchEvent(new SCc(d,a,b,c))},UCc=function(a,b){if(typeof a!=="function")throw Error("Ze");return Aa.setTimeout(function(){a()},b)};var e_=function(){this.redactEnabled_=!0};e_.prototype.disableRedact=function(){this.redactEnabled_=!1};
var VCc=function(a,b,c,d,e,f){a.info(function(){if(a.redactEnabled_)if(f){var h="";for(var k=f.split("&"),q=0;q<k.length;q++){var t=k[q].split("=");if(t.length>1){var w=t[0];t=t[1];var B=w.split("_");h=B.length>=2&&B[1]=="type"?h+(w+"="+t+"&"):h+(w+"=redacted&")}}}else h=null;else h=f;return"XMLHTTP REQ ("+d+") [attempt "+e+"]: "+b+"\n"+c+"\n"+h})},WCc=function(a,b,c,d,e,f,h){a.info(function(){return"XMLHTTP RESP ("+d+") [ attempt "+e+"]: "+b+"\n"+c+"\n"+f+" "+h})},f_=function(a,b,c,d){a.info(function(){return"XMLHTTP TEXT ("+
b+"): "+XCc(a,c)+(d?" "+d:"")})},YCc=function(a,b){a.info(function(){return"TIMEOUT: "+b})};e_.prototype.debug=function(){};e_.prototype.info=function(){};e_.prototype.warning=function(){};
var XCc=function(a,b){if(!a.redactEnabled_)return b;if(!b)return null;try{var c=JSON.parse(b);if(c)for(var d=0;d<c.length;d++)if(Array.isArray(c[d])){var e=c[d];if(!(e.length<2)){var f=e[1];if(Array.isArray(f)&&!(f.length<1)){var h=f[0];if(h!="noop"&&h!="stop"&&h!="close")for(var k=1;k<f.length;k++)f[k]=""}}}return(new khc).serialize(c)}catch(q){return a.debug("Exception parsing expected JS array - probably was not JS"),b}};var g_=function(a,b,c,d,e){this.channel_=a;this.channelDebug_=b;this.sid_=c;this.rid_=d;this.retryId_=e||1;this.eventHandler_=new Lr(this);this.timeout_=45E3;this.extraHeaders_=null;this.successful_=!1;this.postData_=this.requestUri_=this.baseUri_=this.type_=this.requestStartTime_=this.watchDogTimeoutTime_=this.watchDogTimerId_=null;this.pendingMessages_=[];this.xmlHttp_=null;this.xmlHttpChunkStart_=0;this.lastError_=this.verb_=null;this.lastStatusCode_=-1;this.cancelled_=!1;this.readyStateChangeThrottleMs_=
0;this.readyStateChangeThrottle_=null;this.firstByteReceived_=this.initialResponseDecoded_=this.decodeInitialResponse_=this.decodeChunks_=!1;this.fetchResponseState_=new ZCc},ZCc=function(){this.textDecoder=null;this.responseBuffer="";this.responseArrivedForFetch=!1},$Cc=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"}},aDc={},bDc={};
g_.prototype.setExtraHeaders=function(a){this.extraHeaders_=a};g_.prototype.setTimeout=function(a){this.timeout_=a};g_.prototype.setReadyStateChangeThrottle=function(a){this.readyStateChangeThrottleMs_=a};g_.prototype.getPendingMessages=function(){return this.pendingMessages_};
var dDc=function(a,b,c){a.type_=1;a.baseUri_=eK(b.clone());a.postData_=c;a.decodeChunks_=!0;cDc(a,null)},cDc=function(a,b){a.requestStartTime_=Date.now();eDc(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 ZCc;a.xmlHttp_=fDc(a.channel_,c?b:null,!a.postData_);a.readyStateChangeThrottleMs_>0&&(a.readyStateChangeThrottle_=new MCc(Kt(a.xmlHttpHandler_,
a,a.xmlHttp_),a.readyStateChangeThrottleMs_));a.eventHandler_.listen(a.xmlHttp_,"readystatechange",a.readyStateChangeHandler_);b=a.extraHeaders_?vc(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));QCc(1);VCc(a.channelDebug_,a.verb_,a.requestUri_,a.rid_,a.retryId_,a.postData_)};
g_.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)};g_.prototype.xmlHttpHandler_=function(a){try{a==this.xmlHttp_?gDc(this):this.channelDebug_.warning("Called back with an unexpected xmlhttp")}catch(b){this.channelDebug_.debug("Failed call to OnXmlHttpReadyStateChanged_"),hDc(this)}finally{}};
var gDc=function(a){var b=a.xmlHttp_.getReadyState(),c=a.xmlHttp_.getLastErrorCode(),d=a.xmlHttp_.getStatus();if(!(b<3||b==3&&!hDc(a))){a.cancelled_||b!=4||c==7||(c==8||d<=0?QCc(3):QCc(2));iDc(a);var e=a.xmlHttp_.getStatus();a.lastStatusCode_=e;c=jDc(a);hDc(a)||a.channelDebug_.debug(function(){return"No response text for uri "+a.requestUri_+" status "+e});a.successful_=e==200;WCc(a.channelDebug_,a.verb_,a.requestUri_,a.rid_,a.retryId_,b,e);if(a.successful_){if(a.decodeInitialResponse_&&!a.initialResponseDecoded_)if(d=
kDc(a))f_(a.channelDebug_,a.rid_,d,"Initial handshake response via X-HTTP-Initial-Response"),a.initialResponseDecoded_=!0,lDc(a,d);else{a.successful_=!1;a.lastError_=3;d_(12);a.channelDebug_.warning("XMLHTTP Missing X_HTTP_INITIAL_RESPONSE ("+a.rid_+")");h_(a);mDc(a);return}a.decodeChunks_?nDc(a,b,c):(f_(a.channelDebug_,a.rid_,c,null),lDc(a,c));b==4&&h_(a);a.successful_&&!a.cancelled_&&(b==4?oDc(a.channel_,a):(a.successful_=!1,eDc(a)))}else a.xmlHttp_.getResponseHeaders(),e==400&&c.indexOf("Unknown SID")>
0?(a.lastError_=3,d_(12),a.channelDebug_.warning("XMLHTTP Unknown SID ("+a.rid_+")")):(a.lastError_=0,d_(13),a.channelDebug_.warning("XMLHTTP Bad status "+e+" ("+a.rid_+")")),h_(a),mDc(a)}},kDc=function(a){return a.xmlHttp_&&(a=sq(a.xmlHttp_,"X-HTTP-Initial-Response"))&&!Hp(a)?a:null},jDc=function(a){if(!pDc(a))return a.xmlHttp_.getResponseText();var b=a.xmlHttp_.getResponse(),c="",d=b.length,e=a.xmlHttp_.getReadyState()==4;if(!a.fetchResponseState_.textDecoder){if(typeof TextDecoder==="undefined")return h_(a),
mDc(a),"";a.fetchResponseState_.textDecoder=new Aa.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},hDc=function(a){return a.xmlHttp_?a.fetchResponseState_.responseArrivedForFetch?!0:!(!a.xmlHttp_.getResponseText()&&!a.xmlHttp_.getResponse()):!1},pDc=function(a){return a.xmlHttp_?
a.verb_=="GET"&&a.type_!=2&&a.channel_.usesFetchStreams_:!1},nDc=function(a,b,c){for(var d=!0,e;!a.cancelled_&&a.xmlHttpChunkStart_<c.length;)if(e=qDc(a,c),e==bDc){b==4&&(a.lastError_=4,d_(14),d=!1);f_(a.channelDebug_,a.rid_,null,"[Incomplete Response]");break}else if(e==aDc){a.lastError_=4;d_(15);f_(a.channelDebug_,a.rid_,c,"[Invalid Chunk]");d=!1;break}else f_(a.channelDebug_,a.rid_,e,null),lDc(a,e);pDc(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,d_(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),rDc(b),b.bpDetectionDone_=!0,d_(11))):(f_(a.channelDebug_,a.rid_,c,"[Invalid Chunked Response]"),h_(a),mDc(a))},qDc=function(a,
b){var c=a.xmlHttpChunkStart_,d=b.indexOf("\n",c);if(d==-1)return bDc;c=Number(b.substring(c,d));if(isNaN(c))return aDc;d+=1;if(d+c>b.length)return bDc;b=b.slice(d,d+c);a.xmlHttpChunkStart_=d+c;return b};g_.prototype.cancel=function(){this.cancelled_=!0;h_(this)};
var eDc=function(a){a.watchDogTimeoutTime_=Date.now()+a.timeout_;sDc(a,a.timeout_)},sDc=function(a,b){if(a.watchDogTimerId_!=null)throw Error("$e");a.watchDogTimerId_=UCc(Kt(a.onWatchDogTimeout_,a),b)},iDc=function(a){a.watchDogTimerId_&&(Aa.clearTimeout(a.watchDogTimerId_),a.watchDogTimerId_=null)};
g_.prototype.onWatchDogTimeout_=function(){this.watchDogTimerId_=null;var a=Date.now();a-this.watchDogTimeoutTime_>=0?(YCc(this.channelDebug_,this.requestUri_),this.type_!=2&&(QCc(3),d_(17)),h_(this),this.lastError_=2,mDc(this)):(this.channelDebug_.warning("WatchDog timer called too early"),sDc(this,this.watchDogTimeoutTime_-a))};
var mDc=function(a){a.channel_.isClosed()||a.cancelled_||oDc(a.channel_,a)},h_=function(a){iDc(a);Nh(a.readyStateChangeThrottle_);a.readyStateChangeThrottle_=null;a.eventHandler_.removeAll();if(a.xmlHttp_){var b=a.xmlHttp_;a.xmlHttp_=null;b.abort();b.dispose()}};g_.prototype.getLastError=function(){return this.lastError_};g_.prototype.getLastStatusCode=function(){return this.lastStatusCode_};g_.prototype.getRequestId=function(){return this.rid_};g_.prototype.getXhr=function(){return this.xmlHttp_};
var lDc=function(a,b){try{var c=a.channel_;if(c.state_!=0&&(c.backChannelRequest_==a||tDc(c.forwardChannelRequestPool_,a)))if(!a.initialResponseDecoded_&&tDc(c.forwardChannelRequestPool_,a)&&c.state_==3){try{var d=c.wireCodec_.parser_.parse(b)}catch(ba){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_)uDc(c),vDc(c);else break a;else c.channelDebug_.warning("We do not have a BackChannel established");wDc(c);d_(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_=UCc(Kt(c.onBackChannelDead_,c),6E3))}}if(xDc(c.forwardChannelRequestPool_)<=
1&&c.forwardChannelFlushedCallback_){try{c.forwardChannelFlushedCallback_()}catch(ba){}c.forwardChannelFlushedCallback_=void 0}}else c.channelDebug_.debug("Bad POST response data returned"),i_(c,11)}else if((a.initialResponseDecoded_||c.backChannelRequest_==a)&&uDc(c),!Hp(b))for(e=c.wireCodec_.parser_.parse(b),f=0;f<e.length;f++){var k=e[f];c.lastArrayId_=k[0];k=k[1];if(c.state_==2)if(k[0]=="c"){c.sid_=k[1];c.hostPrefix_=c.correctHostPrefix(k[2]);var q=k[3];q!=null&&(c.channelVersion_=q,c.channelDebug_.info("VER="+
c.channelVersion_));var t=k[4];t!=null&&(c.serverVersion_=t,c.channelDebug_.info("SVER="+c.serverVersion_));var w=k[5];w!=null&&typeof w==="number"&&w>0&&(h=1.5*w,c.backChannelRequestTimeoutMs_=h,c.channelDebug_.info("backChannelRequestTimeoutMs_="+h));h=c;var B=a.getXhr();if(B){var E=sq(B,"X-Client-Wire-Protocol");if(E){var I=h.forwardChannelRequestPool_;b=E;!I.requestPool_&&(Ha(b,"spdy")||Ha(b,"quic")||Ha(b,"h2"))&&(I.maxSize_=I.maxPoolSizeConfigured_,I.requestPool_=new Set,I.request_&&(I.addRequest(I.request_),
I.request_=null))}if(h.httpSessionIdParam_){var J=sq(B,"X-HTTP-Session-Id");J?(h.httpSessionId_=J,cK(h.forwardChannelUri_,h.httpSessionIdParam_,J)):h.channelDebug_.warning("Missing X_HTTP_SESSION_ID in the handshake response")}}c.state_=3;c.handler_&&c.handler_.channelOpened();c.detectBufferingProxy_&&(c.handshakeRttMs_=Date.now()-a.requestStartTime_,c.channelDebug_.info("Handshake RTT: "+c.handshakeRttMs_+"ms"));h=c;b=a;var N=d=h,P=yDc(N,N.supportsCrossDomainXhrs_?h.hostPrefix_:null,h.path_);N.channelDebug_.debug("GetBackChannelUri: "+
P);d.backChannelUri_=P;if(b.initialResponseDecoded_){h.channelDebug_.debug("Upgrade the handshake request to a backchannel.");zDc(h.forwardChannelRequestPool_,b);d=b;var U=h.backChannelRequestTimeoutMs_;U&&d.setTimeout(U);d.watchDogTimerId_&&(iDc(d),eDc(d));h.backChannelRequest_=b}else ADc(h);c.outgoingMaps_.length>0&&BDc(c)}else k[0]!="stop"&&k[0]!="close"||i_(c,7);else c.state_==3&&(k[0]=="stop"||k[0]=="close"?k[0]=="stop"?i_(c,7):c.disconnect():k[0]!="noop"&&c.handler_&&c.handler_.channelHandleArray(k),
c.backChannelRetryCount_=0)}QCc(4)}catch(ba){}};var CDc=function(a,b){this.mapId=a;this.map=b;this.context=null};var DDc=function(a){this.maxPoolSizeConfigured_=a||10;Aa.PerformanceNavigationTiming?(a=Aa.performance.getEntriesByType("navigation"),a=a.length>0&&(a[0].nextHopProtocol=="hq"||a[0].nextHopProtocol=="h2")):a=!!(Aa.chrome&&Aa.chrome.loadTimes&&Aa.chrome.loadTimes()&&Aa.chrome.loadTimes().wasFetchedViaSpdy);this.maxSize_=a?this.maxPoolSizeConfigured_:1;this.requestPool_=null;this.maxSize_>1&&(this.requestPool_=new Set);this.request_=null;this.pendingMessages_=[]},EDc=function(a){return a.request_?!0:
a.requestPool_?a.requestPool_.size>=a.maxSize_:!1},xDc=function(a){return a.request_?1:a.requestPool_?a.requestPool_.size:0},tDc=function(a,b){return a.request_?a.request_==b:a.requestPool_?a.requestPool_.has(b):!1};DDc.prototype.addRequest=function(a){this.requestPool_?this.requestPool_.add(a):this.request_=a};var zDc=function(a,b){a.request_&&a.request_==b?a.request_=null:a.requestPool_&&a.requestPool_.has(b)&&a.requestPool_.delete(b)};
DDc.prototype.cancel=function(){this.pendingMessages_=this.getPendingMessages();if(this.request_)this.request_.cancel(),this.request_=null;else if(this.requestPool_&&this.requestPool_.size!==0){for(var a=l(this.requestPool_.values()),b=a.next();!b.done;b=a.next())b.value.cancel();this.requestPool_.clear()}};
DDc.prototype.getPendingMessages=function(){if(this.request_!=null)return this.pendingMessages_.concat(this.request_.getPendingMessages());if(this.requestPool_!=null&&this.requestPool_.size!==0){for(var a=this.pendingMessages_,b=l(this.requestPool_.values()),c=b.next();!c.done;c=b.next())a=a.concat(c.value.getPendingMessages());return a}return Ya(this.pendingMessages_)};var FDc=function(a,b){a.pendingMessages_=a.pendingMessages_.concat(b)};var GDc=function(a,b){var c=new e_;c.debug("TestLoadImage: loading "+a);if(Aa.Image){var d=new Image;d.onload=Lt(j_,c,"TestLoadImage: loaded",!0,b,d);d.onerror=Lt(j_,c,"TestLoadImage: error",!1,b,d);d.onabort=Lt(j_,c,"TestLoadImage: abort",!1,b,d);d.ontimeout=Lt(j_,c,"TestLoadImage: timeout",!1,b,d);Aa.setTimeout(function(){if(d.ontimeout)d.ontimeout()},1E4);d.src=a}else b(!1)},HDc=function(a,b){var c=new e_,d=new AbortController,e=setTimeout(function(){d.abort();j_(c,"TestPingServer: timeout",!1,
b)},1E4);fetch(a,{signal:d.signal}).then(function(f){clearTimeout(e);f.ok?j_(c,"TestPingServer: ok",!0,b):j_(c,"TestPingServer: server error",!1,b)}).catch(function(){clearTimeout(e);j_(c,"TestPingServer: error",!1,b)})},j_=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 IDc=function(){this.replacer_=void 0};IDc.prototype.stringify=function(a){return Aa.JSON.stringify(a,this.replacer_)};IDc.prototype.parse=function(a){return Aa.JSON.parse(a,void 0)};var JDc=function(){this.parser_=new IDc},KDc=function(a,b,c){var d=c||"";try{Cbc(a,function(e,f){var h=e;$a(e)&&(h=(new khc).serialize(e));b.push(d+f+"="+encodeURIComponent(h))})}catch(e){throw b.push(d+"type="+encodeURIComponent("_badmap")),e;}};var LDc=function(a,b,c){return c&&c.internalChannelParams?c.internalChannelParams[a]||b:b},k_=function(a){this.clientVersion_=22;this.serverVersion_=0;this.outgoingMaps_=[];this.channelDebug_=new e_;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_=LDc("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_=LDc("baseRetryDelayMs",5E3,a);this.retryDelaySeedMs_=LDc("retryDelaySeedMs",1E4,a);this.forwardChannelMaxRetries_=LDc("forwardChannelMaxRetries",2,a);this.forwardChannelRequestTimeoutMs_=
LDc("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 DDc(a&&a.concurrentRequestLimit);this.wireCodec_=new JDc;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};k_.prototype.channelVersion_=8;k_.prototype.state_=1;
k_.prototype.connect=function(a,b,c,d){this.channelDebug_.debug("connect()");d_(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=yDc(this,null,this.path_);this.channelDebug_.debug("GetForwardChannelUri: "+a);this.forwardChannelUri_=a;BDc(this)};
k_.prototype.disconnect=function(){this.channelDebug_.debug("disconnect()");MDc(this);if(this.state_==3){var a=this.nextRid_++,b=this.forwardChannelUri_.clone();cK(b,"SID",this.sid_);cK(b,"RID",a);cK(b,"TYPE","terminate");NDc(this,b);a=new g_(this,this.channelDebug_,this.sid_,a);a.type_=2;a.baseUri_=eK(b.clone());b=!1;if(Aa.navigator&&Aa.navigator.sendBeacon)try{b=Aa.navigator.sendBeacon(a.baseUri_.toString(),"")}catch(c){}!b&&Aa.Image&&((new Image).src=a.baseUri_,b=!0);b||(a.xmlHttp_=fDc(a.channel_,
null),a.xmlHttp_.send(a.baseUri_));a.requestStartTime_=Date.now();eDc(a)}ODc(this)};var vDc=function(a){a.backChannelRequest_&&(rDc(a),a.backChannelRequest_.cancel(),a.backChannelRequest_=null)},MDc=function(a){vDc(a);a.backChannelTimerId_&&(Aa.clearTimeout(a.backChannelTimerId_),a.backChannelTimerId_=null);uDc(a);a.forwardChannelRequestPool_.cancel();a.forwardChannelTimerId_&&(typeof a.forwardChannelTimerId_==="number"&&Aa.clearTimeout(a.forwardChannelTimerId_),a.forwardChannelTimerId_=null)};
g=k_.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 BDc=function(a){EDc(a.forwardChannelRequestPool_)||a.forwardChannelTimerId_||(a.forwardChannelTimerId_=!0,eA(a.onStartForwardChannelTimer_,a),a.forwardChannelRetryCount_=0)},QDc=function(a,b){if(xDc(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_=UCc(Kt(a.onStartForwardChannelTimer_,a,b),PDc(a,a.forwardChannelRetryCount_));a.forwardChannelRetryCount_++;return!0};
k_.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 g_(this,this.channelDebug_,"",a),c=this.extraHeaders_;this.initHeaders_&&(c?(c=vc(c),fea(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=RDc(this,b,d);e=this.forwardChannelUri_.clone();cK(e,"RID",a);this.clientVersion_>0&&cK(e,"CVER",this.clientVersion_);this.httpSessionIdParam_&&
cK(e,"X-HTTP-Session-Id",this.httpSessionIdParam_);NDc(this,e);c&&(this.encodeInitMessageHeaders_?d="headers="+encodeURIComponent(String(Ubc(c)))+"&"+d:this.httpHeadersOverwriteParam_&&Vbc(e,this.httpHeadersOverwriteParam_,c));this.forwardChannelRequestPool_.addRequest(b);this.blockingHandshake_&&cK(e,"TYPE","init");this.fastHandshake_?(cK(e,"$req",d),cK(e,"SID","null"),b.decodeInitialResponse_=!0,dDc(b,e,null)):dDc(b,e,d);this.state_=2}}else this.state_==3&&(a?SDc(this,a):this.outgoingMaps_.length==
0?this.channelDebug_.debug("startForwardChannel_ returned: nothing to send"):EDc(this.forwardChannelRequestPool_)||(SDc(this),this.channelDebug_.debug("startForwardChannel_ finished, sent request")))};
var SDc=function(a,b){var c;b?c=b.getRequestId():c=a.nextRid_++;var d=a.forwardChannelUri_.clone();cK(d,"SID",a.sid_);cK(d,"RID",c);cK(d,"AID",a.lastArrayId_);NDc(a,d);a.httpHeadersOverwriteParam_&&a.extraHeaders_&&Vbc(d,a.httpHeadersOverwriteParam_,a.extraHeaders_);c=new g_(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=RDc(a,c,1E3);c.setTimeout(Math.round(a.forwardChannelRequestTimeoutMs_*
.5)+Math.round(a.forwardChannelRequestTimeoutMs_*.5*Math.random()));a.forwardChannelRequestPool_.addRequest(c);dDc(c,d,b)},NDc=function(a,b){a.extraParams_&&qc(a.extraParams_,function(c,d){cK(b,d,c)});a.handler_&&Cbc({},function(c,d){cK(b,d,c)})},RDc=function(a,b,c){c=Math.min(a.outgoingMaps_.length,c);var d=a.handler_?Kt(a.handler_.badMapError,a.handler_,a):null;a:{for(var e=a.outgoingMaps_,f=-1;;){var h=["count="+c];f==-1?c>0?(f=e[0].mapId,h.push("ofs="+f)):f=0:h.push("ofs="+f);for(var k=!0,q=0;q<
c;q++){var t=e[q].mapId,w=e[q].map;t-=f;if(t<0)f=Math.max(0,e[q].mapId-100),k=!1;else try{KDc(w,h,"req"+t+"_")}catch(B){d&&d(w)}}if(k){d=h.join("&");break a}}d=void 0}a=a.outgoingMaps_.splice(0,c);b.pendingMessages_=a;return d},ADc=function(a){a.backChannelRequest_||a.backChannelTimerId_||(a.backChannelAttemptId_=1,eA(a.onStartBackChannelTimer_,a),a.backChannelRetryCount_=0)},wDc=function(a){if(a.backChannelRequest_||a.backChannelTimerId_||a.backChannelRetryCount_>=3)return!1;a.channelDebug_.debug("Going to retry GET");
a.backChannelAttemptId_++;a.backChannelTimerId_=UCc(Kt(a.onStartBackChannelTimer_,a),PDc(a,a.backChannelRetryCount_));a.backChannelRetryCount_++;return!0};
k_.prototype.onStartBackChannelTimer_=function(){this.backChannelTimerId_=null;TDc(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_=UCc(Kt(this.onBpDetectionTimer_,this),a)}};
k_.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;d_(10);vDc(this);TDc(this)}else this.channelDebug_.warning("Invalid operation.")};
var rDc=function(a){a.bpDetectionTimerId_!=null&&(a.channelDebug_.debug("Cancel the BP detection timer."),Aa.clearTimeout(a.bpDetectionTimerId_),a.bpDetectionTimerId_=null)},TDc=function(a){a.channelDebug_.debug("Creating new HttpRequest");a.backChannelRequest_=new g_(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();cK(b,"RID","rpc");cK(b,"SID",a.sid_);cK(b,"AID",a.lastArrayId_);cK(b,"CI",a.enableStreaming_?"0":"1");!a.enableStreaming_&&a.longPollingTimeout_&&cK(b,"TO",a.longPollingTimeout_);cK(b,"TYPE","xmlhttp");NDc(a,b);a.httpHeadersOverwriteParam_&&a.extraHeaders_&&Vbc(b,a.httpHeadersOverwriteParam_,a.extraHeaders_);a.backChannelRequestTimeoutMs_&&a.backChannelRequest_.setTimeout(a.backChannelRequestTimeoutMs_);var c=a.backChannelRequest_,d=a.hostPrefix_;c.type_=1;c.baseUri_=eK(b.clone());
c.postData_=null;c.decodeChunks_=!0;cDc(c,d);a.channelDebug_.debug("New Request created")};k_.prototype.correctHostPrefix=function(a){return this.handler_?this.handler_.correctHostPrefix(a):a};k_.prototype.onBackChannelDead_=function(){this.deadBackChannelTimerId_!=null&&(this.deadBackChannelTimerId_=null,vDc(this),wDc(this),d_(19))};
var uDc=function(a){a.deadBackChannelTimerId_!=null&&(Aa.clearTimeout(a.deadBackChannelTimerId_),a.deadBackChannelTimerId_=null)},oDc=function(a,b){a.channelDebug_.debug("Request complete");var c=null;if(a.backChannelRequest_==b){uDc(a);rDc(a);a.backChannelRequest_=null;var d=2}else if(tDc(a.forwardChannelRequestPool_,b))c=b.getPendingMessages(),zDc(a.forwardChannelRequestPool_,b),d=1;else return;if(a.state_!=0)if(b.successful_)d==1?(TCc(b.postData_?b.postData_.length:0,Date.now()-b.requestStartTime_,
a.forwardChannelRetryCount_),BDc(a)):ADc(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: "+$Cc(f,a.errorResponseStatusCode_)});if(d==1&&QDc(a,b)||d==2&&wDc(a))return;a.channelDebug_.debug("Exceeded max number of retries")}c&&c.length>0&&FDc(a.forwardChannelRequestPool_,c);a.channelDebug_.debug("Error: HTTP request failed");
switch(f){case 1:i_(a,5);break;case 4:i_(a,10);break;case 3:i_(a,6);break;default:i_(a,2)}}},PDc=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},i_=function(a,b){a.channelDebug_.info("Error code "+b);if(b==2){var c=Kt(a.testNetworkCallback_,a),d=a.networkTestUrl_,e=!d;d=new bp(d||"//www.google.com/images/cleardot.gif");Aa.location&&Aa.location.protocol=="http"||XJ(d,"https");eK(d);e?GDc(d.toString(),
c):HDc(d.toString(),c)}else d_(2);a.onError_(b)};k_.prototype.testNetworkCallback_=function(a){a?(this.channelDebug_.info("Successfully pinged google.com"),d_(2)):(this.channelDebug_.info("Failed to ping google.com"),d_(1))};k_.prototype.onError_=function(a){this.channelDebug_.debug("HttpChannel: error - "+a);this.state_=0;this.handler_&&this.handler_.channelError(a);ODc(this);MDc(this)};
var ODc=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,Ya(a.outgoingMaps_),a.outgoingMaps_.length=0;a.handler_.channelClosed()}},
yDc=function(a,b,c){var d=fK(c);d.getDomain()!=""?(b&&d.setDomain(b+"."+d.getDomain()),d.setPort(d.getPort())):(d=Aa.location,d=Sbc(d.protocol,null,b?b+"."+d.hostname:d.hostname,+d.port,c));b=a.httpSessionIdParam_;c=a.getHttpSessionId();b&&c&&cK(d,b,c);cK(d,"VER",a.channelVersion_);NDc(a,d);return d},fDc=function(a,b,c){if(b&&!a.supportsCrossDomainXhrs_)throw Error("af");b=a.usesFetchStreams_&&!a.xmlHttpFactory_?new Bq(new rZ({streamBinaryChunks:c})):new Bq(a.xmlHttpFactory_);b.withCredentials_=a.supportsCrossDomainXhrs_;
return b};k_.prototype.isActive=function(){return!!this.handler_&&this.handler_.isActive(this)};var UDc=function(){};g=UDc.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 VDc=function(){};VDc.prototype.createWebChannel=function(a,b){return new l_(a,b)};
var l_=function(a,b){Xo.call(this);this.channel_=new k_(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)&&!Hp(a)&&(this.channel_.httpHeadersOverwriteParam_=a);this.supportsCrossDomainXhr_=b&&b.supportsCrossDomainXhr||!1;this.sendRawJson_=b&&b.sendRawJson||!1;(b=b&&b.httpSessionIdParam)&&!Hp(b)&&(this.channel_.httpSessionIdParam_=b,$da(this.messageUrlParams_,b)&&uc(this.messageUrlParams_,b));this.channelHandler_=new m_(this)};Mt(l_,Xo);
l_.prototype.open=function(){this.channel_.handler_=this.channelHandler_;this.supportsCrossDomainXhr_&&(this.channel_.supportsCrossDomainXhrs_=!0);this.channel_.connect(this.url_,this.messageUrlParams_||void 0)};l_.prototype.close=function(){this.channel_.disconnect()};l_.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 khc).serialize(a),a=c);b.outgoingMaps_.push(new CDc(b.nextMapId_++,a));b.state_==3&&BDc(b)};
l_.prototype.disposeInternal=function(){this.channel_.handler_=null;delete this.channelHandler_;this.channel_.disconnect();delete this.channel_;l_.superClass_.disposeInternal.call(this)};var WDc=function(a){wCc.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)?dea(b,this.metadataKey):b}else this.data=a};Mt(WDc,wCc);
var XDc=function(a){xCc.call(this);this.status=1;this.errorCode=a};Mt(XDc,xCc);var m_=function(a){this.channel_=a};Mt(m_,UDc);m_.prototype.channelOpened=function(){this.channel_.dispatchEvent("v")};m_.prototype.channelHandleArray=function(a){this.channel_.dispatchEvent(new WDc(a))};m_.prototype.channelError=function(a){this.channel_.dispatchEvent(new XDc(a))};m_.prototype.channelClosed=function(){this.channel_.dispatchEvent("w")};var ACc=function(a){this.channel_=a};
ACc.prototype.getHttpSessionId=function(){return this.channel_.getHttpSessionId()};ACc.prototype.commit=function(a){this.channel_.forwardChannelFlushedCallback_=a};ACc.prototype.getLastStatusCode=function(){return this.channel_.getLastStatusCode()};var YDc=function(){this.changeList=[]};YDc.prototype.add=function(a){this.changeList.push(a)};
var ZDc=function(a,b,c){this.authMethod=b;this.jspbClient=new LCc(a,c)},$Dc=function(a,b){var c,d,e,f,h;return fe(function(k){if(k.nextAddress==1){var q=new lCc;c=oj(q,SZ,1,b);q=a.jspbClient;var t=q.post;var w=a.authMethod;w={queryParams:w.getQueryParameters(),extraHeaders:w.getHeaders(),withCredentials:w.usesCredentialedRequests()};return he(k,t.call(q,"/punctual/v1/chooseServer",c,mCc,w),2)}d=k.yieldResult;e=sj(d,1);if(e==null)throw Error("cf");return k.return({gsessionid:e,affinitization:(f=d.getAffinitizationOrUndefined())!=
null?f:0,initialConnectionDelayMillis:(h=bu(d,3))!=null?h:0})})},aEc=function(a,b,c){this.project=a;this.interestSet=b;this.knowledgeTimestamp=c;this.hasRecurred=!1;this.resyncMillis=Date.now()},n_=function(a,b){this.channelDeps=a;this.options=b;this.causalStreams=new Map;this.limboStreams=new Map;this.nonCausalStreams=new Map;this.newStreamSubject=new W.Subject;this.streamNumber=0;this.rawStatus=new W.Subject;this.status=new W.BehaviorSubject(new pZ);this.skipBackoff=new DCc;this.recentResyncs=[];
this.hasConnected=!1;this.rawStatus.pipe(Vja(function(e){return e.getCode()===0?Promise.resolve():new Promise(function(f){Cq(f,500)})})).subscribe(this.status);this.delayGenerator=new x8a;var c,d;this.reconnectHint=(d=(c=b.reconnectHint)==null?void 0:c.pipe($e(function(){return W.NEVER}),Tja(W.NEVER)))!=null?d:W.NEVER;bEc(this)},cEc=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 bp}var f=e.clone().setPath("/punctual/multi-watch/channel"),
h=new yCc(f.toString(),d,c.xmlHttpFactory!==void 0);return{serverChooser:new ZDc(e,d,A8a(c.xmlHttpFactory)),channelCreator:function(k,q,t){k=new zCc(k,q,h,function(w,B){return(new VDc).createWebChannel(w,B)},t);k.open();return k}}});return new n_(b,c)};
n_.prototype.handleClose=function(a,b){var c=this.causalStreams.get(a)||this.limboStreams.get(a)||this.nonCausalStreams.get(a);c&&(b.getCode_legacyNullable()===0?c.observer.complete():c.observer.error(b),this.causalStreams.delete(a),this.limboStreams.delete(a),this.nonCausalStreams.delete(a))};
var dEc=function(a){for(var b=0,c=Date.now();b<a.recentResyncs.length;)c>=a.recentResyncs[b].resyncMillis+6E4?a.recentResyncs.splice(b):++b},eEc=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 Nq&&d instanceof Nq?c.equals(d):!1;return d})};n_.prototype.onOpen=function(){var a=new pZ;a.setCode(0);try{this.rawStatus.next(a)}catch(b){}};n_.prototype.onClose=function(){this.channelState=void 0;bEc(this)};
n_.prototype.onError=function(a,b){a=new pZ;a.setCode(z8a(b));try{this.rawStatus.next(a)}catch(c){}b=l(this.causalStreams.values());for(a=b.next();!a.done;a=b.next())a.value.streamInitiationReason=2;b=l(this.nonCausalStreams.values());for(a=b.next();!a.done;a=b.next())a.value.streamInitiationReason=2};
var hEc=function(a,b,c){if(a.channelState){var d=fEc(c.project,c.interestSet);c instanceof gEc&&(xl(d,1,c.knowledgeTimestamp.toString()),pl(d,8,c.knowledgeTimestampChosenByPunctual));sl(d,9,c.streamInitiationReason);c.streamInitiationReason=0;c=new TZ;var e=c.addAndReturnRequests();e.setStreamId(b.toString());Gj(e,2,pCc,d);e.setAffinitization(a.channelState.affinitization);a.channelState.channel.send(c)}},fEc=function(a,b){var c=new SZ;c=oj(c,RZ,4,BCc);if(b instanceof Nq){var d=new iCc;a!=null&&d.setProject(C8a(a));
d.setOwner(E8a(b));d.setPath(G8a(b));Gj(c,2,kCc,d)}else d=new jCc,a!=null&&d.setProject(C8a(a)),d.setOwner(E8a(b.root)),d.setPrefix(G8a(b.root)),c.setPrefix(d);return c},iEc=function(a,b){var c=new TZ,d=c.addAndReturnRequests();d.setStreamId(b.toString());d.setClose(new nCc);a.channelState&&a.channelState.channel.send(c);a.causalStreams.delete(b);a.limboStreams.delete(b);a.nonCausalStreams.delete(b)},bEc=function(a){var b=gCc(a.delayGenerator);B8a(b).pipe(ska(a.reconnectHint.pipe(hf(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){jEc(a,c.serverChooser).then(function(d){Cq(function(){a.hasConnected=!0;kEc(a,c.channelCreator,d)},a.hasConnected?0:d.initialConnectionDelayMillis)},function(){bEc(a)})},function(c){c=(new pZ).setCode(13).setMessage(c.toString());a.rawStatus.next(c)})})},jEc=function(a,b){var c,d,e,f,h,k;return fe(function(q){if(q.nextAddress==1)return he(q,lEc(a),2);c=q.yieldResult;d=l(c);
e=d.next().value;f=d.next().value;h=e;k=f;return q.return($Dc(b,fEc(h,k)))})},lEc=function(a){var b,c,d,e,f,h,k;return fe(function(q){b=[a.causalStreams,a.limboStreams,a.nonCausalStreams];c=l(b);for(d=c.next();!d.done;d=c.next())for(e=d.value,f=l(e.values()),h=f.next();!h.done;h=f.next())return k=h.value,q.return([k.project,k.interestSet]);return he(q,DTb(or(a.newStreamSubject).pipe(hf())),1)})},kEc=function(a,b,c){a.channelState={channel:b(function(f){for(var h=l(f.getResponsesList()),k=h.next();!k.done;k=
h.next()){var q=a,t=k.value;if(k=t.getStreamId_legacyNullable_asLegacyNumberOrString())if(k=Number(k),t.hasClose()){a:{if(t=t.getClose())if(t=t.getStatus())break a;t=void 0}t&&q.handleClose(k,t)}else if(t=Bj(t,VZ,2,vCc))switch(Ri(t,WZ)){case 1:if(t=q.causalStreams.get(k)){try{t.observer.next(new eCc)}catch(N){}q.causalStreams.delete(k);q.limboStreams.set(k,t.start())}break;case 3:a:{if(t=Bj(t,qCc,3,WZ))if(t=dl(t,1)){var w=new fCc(Oq(t));break a}w=void 0}if(w&&(t=k,k=w,(w=q.limboStreams.get(t))?(w=
w.advance(k.timestampMicros),q.limboStreams.delete(t),q.nonCausalStreams.set(t,w),q=w):q=q.nonCausalStreams.get(t),q)){t=q;w=k.timestampMicros;w>t.knowledgeTimestamp&&(t.knowledgeTimestamp=w,t.knowledgeTimestampChosenByPunctual=!0);try{q.observer.next(k)}catch(N){}}break;case 2:k=q.nonCausalStreams.get(k)||q.limboStreams.get(k);if(!k)break;q=k.interestSet;if(w=t.getChanges()){t=new YDc;w=l(xj(w,rCc,1,yj()));for(var B=w.next();!B.done;B=w.next()){var E=B.value,I=$i(E,Gq,6);B=dl(E,3);if(I&&B){var J=
void 0;E=(J=Qq(E,2))==null?void 0:J8a(J);J=E===null?void 0:E;(I=L8a(q,I))&&t.add(new dCc(I,Oq(B),J))}}q=t}else q=void 0;if(q)for(q=l(q.changeList),t=q.next();!t.done;t=q.next()){t=t.value;t=new dCc(t.objectId,t.version,t.payload);try{k.observer.next(t)}catch(N){}}break;case 5:if(k=q.causalStreams.get(k)||q.limboStreams.get(k)||q.nonCausalStreams.get(k)){k instanceof gEc&&(dEc(q),(t=eEc(q,k))?(t.hasRecurred=!0,t.knowledgeTimestamp=k.knowledgeTimestamp,t.resyncMillis=Date.now()):q.recentResyncs.push(new aEc(k.project,
k.interestSet,k.knowledgeTimestamp)));try{k.observer.complete()}catch(N){}}}}if(f.hasStatus())switch(f.getStatus().getCode_legacyNullable()){case 1:f=l(a.causalStreams.values());for(h=f.next();!h.done;h=f.next())h.value.streamInitiationReason=3;f=l(a.nonCausalStreams.values());for(h=f.next();!h.done;h=f.next())h.value.streamInitiationReason=3;a.channelState&&a.channelState.channel.close()}},a,c.gsessionid),affinitization:c.affinitization};b=[].concat(Array.from(a.causalStreams.entries())).concat(Array.from(a.nonCausalStreams.entries()));
b.sort(function(f,h){return f[0]-h[0]});b=l(b);for(c=b.next();!c.done;c=b.next()){var d=l(c.value);c=d.next().value;d=d.next().value;hEc(a,c,d)}b=l(a.limboStreams);for(c=b.next();!c.done;c=b.next())c=l(c.value),c.next(),c.next().value.observer.complete();a.limboStreams.clear();var e=a.channelState;Cq(function(){a.channelState===e&&a.delayGenerator.reset()},45E3)};
n_.prototype.watch=function(a,b){var c=this;b=b===void 0?{}:b;return new W.Observable(function(d){var e=++c.streamNumber,f,h=(f=b.projectOverride)!=null?f:c.options.defaultProject;d=new mEc(d,h,a);c.causalStreams.set(e,d);c.newStreamSubject.next({});hEc(c,e,d);return function(){iEc(c,e)}})};
n_.prototype.watchWithStartTime=function(a,b,c){var d=this;c=c===void 0?{}:c;return new W.Observable(function(e){var f=++d.streamNumber,h,k=(h=c.projectOverride)!=null?h:d.options.defaultProject,q=new gEc(e,k,a,b,!1);dEc(d);if((e=eEc(d,q))&&(e.hasRecurred||b.compare(e.knowledgeTimestamp)<=0)){var t=!0;Cq(function(){t&&q.observer.complete()},6E4);return function(){t=!1}}d.nonCausalStreams.set(f,q);d.newStreamSubject.next({});hEc(d,f,q);return function(){iEc(d,f)}})};
var mEc=function(a,b,c){this.observer=a;this.project=b;this.interestSet=c;this.streamInitiationReason=1};mEc.prototype.start=function(){return new nEc(this.observer,this.project,this.interestSet)};var nEc=function(a,b,c){this.observer=a;this.project=b;this.interestSet=c};nEc.prototype.advance=function(a){return new gEc(this.observer,this.project,this.interestSet,a,!0)};
var gEc=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 oEc={firstPartyUri:new bp("https://signaler-pa.clients6.google.com"),thirdPartyUri:new bp("https://signaler-pa.googleapis.com")},pEc={firstPartyUri:new bp("https://punctual-dev.corp.google.com"),thirdPartyUri:new bp("https://signaler-staging.sandbox.google.com")},qEc=Map,rEc;rEc={firstPartyUri:new bp("https://preprod-dynamite-alpha-us-signaler-pa.clients6.google.com"),thirdPartyUri:new bp("https://preprod-dynamite-alpha-us-signaler-pa.googleapis.com")};
var sEc=new qEc([["prod",oEc],["preprod-dynamite-alpha-us",rEc],["ytprod",{firstPartyUri:new bp("https://signaler-pa.youtube.com"),thirdPartyUri:new bp("https://signaler-pa.googleapis.com")}],["dev",pEc]]);var tEc=function(a){this.projectPath=a;this.authParams=new JCc;this.fetchApi=!1};tEc.prototype.setApiKey=function(a){this.authParams.apiKey=a;return this};tEc.prototype.useFetchApi=function(a){this.fetchApi=!0;this.worker=a;return this};
tEc.prototype.build=function(){var a=y8a(this.authParams),b=this.projectPath;if(!b.startsWith("/punctual/"))throw Error("df`"+b);var c=b.substring(10).split("/");if(c.length!==2)throw Error("ef`"+b);b=l(c);c=b.next().value;b=b.next().value;if(c.startsWith("custom:"))c=new bp(decodeURIComponent(c.substring(7))),c={firstPartyUri:c,thirdPartyUri:c};else{var d=sEc.get(c);if(!d)throw Error("ff`"+c);c=d}var e;this.fetchApi&&(e=new rZ({worker:this.worker}));return cEc(c,a,{reconnectHint:this.reconnectHint,
defaultProject:b,xmlHttpFactory:e})};var uEc={watch:function(){return(0,W.of)()},watchWithStartTime:function(){return(0,W.of)()},status:(0,W.of)()},o_=function(a){this.activeSession=a;if(this.activeSession.getFlag("enablePushUpdatesClient")){switch(this.activeSession.getEnvironmentType()){case "PROD":case "NIGHTLY":a="AIzaSyDBL0cdQ7zgltPyAYPmzKE4X2t2_S_wW8w";var b="/punctual/prod/buganizer";break;case "QA":a="AIzaSyCpeBtg5BChNlEw-O4F0WpVJWgk_CFEY6I";b="/punctual/prod/buganizer-qa";break;default:a="ANVavNKXeiME5gTvC0_SzcTVHNYBMU50fWn-NpE",
b="/punctual/dev/buganizer-test"}this.punctualClient=(new tEc(b)).setApiKey(a).build()}else this.punctualClient=uEc},vEc=function(a,b){return a.punctualClient.watch(H8a("new-comment-issue",b)).pipe(te(function(c){return c instanceof dCc}))};o_.\u0275fac=function(a){return new (a||o_)(n(Ir))};o_.\u0275prov=Hc({token:o_,factory:o_.\u0275fac,providedIn:"root"});var p_=function(a){this.punctualService=a;this.stream=new W.Subject;this.isPaused=!1;this.closeStream$=new W.Subject};p_.prototype.resume=function(){this.isPaused=!1};var wEc=function(a,b){a.issueId!==b&&(a.closeStream$.next(),a.stream=new W.Subject,a.issueId=b,a.resume(),a.watch(b).subscribe(a.stream));return a.stream};p_.prototype.watch=function(a){var b=this;return vEc(this.punctualService,a).pipe(te(function(){var c=!b.isPaused;b.resume();return c}),bf(1E3),qf(this.closeStream$))};
p_.\u0275fac=function(a){return new (a||p_)(n(o_))};p_.\u0275prov=Hc({token:p_,factory:p_.\u0275fac,providedIn:"root"});var xEc=function(a,b){this.displayText=a;this.value=b;this.enabled=!0;this.disabledReason=""};var yEc=function(a){return[a]},q_=function(a){this.matDialog=a};q_.prototype.show=function(a,b,c,d){this.dialog=this.matDialog.open(r_,{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(0,W.firstValueFrom)(qI(this.dialog))};q_.\u0275fac=function(a){return new (a||q_)(n(wI))};q_.\u0275prov=Hc({token:q_,factory:q_.\u0275fac,providedIn:"root"});
var r_=function(a,b,c,d,e,f){Z.call(this);var h=this;this.activeSession=a;this.origComment=b;this.dialogService=c;this.dialogRef=d;this.bannedWordsChecker=f;this.MARKDOWN="MARKDOWN";this.contentRemovalRequestLink=this.activeSession.isInternalSession()?"https://goto.corp.google.com/buganizer-delete":"https://issuetracker.google.com/issues/new?component=169992&template=543202";this.enableRecaptcha=this.activeSession.userRequiresCaptcha();this.recaptchaResponse="";this.newComment=Object.assign({},this.origComment);
this.subscriptions.add(FQ(e,function(){return h.isModified()},!1))};X(r_,Z);r_.\u0275dir=Z.\u0275dir;g=r_.prototype;g.ngOnInit=function(){var a=this;this.dialogRef.keydownEvents().pipe(qf(this.destroyed$)).subscribe(function(b){b.key==="Escape"&&a.closeIfUnmodified()});this.dialogRef.backdropClick().pipe(qf(this.destroyed$)).subscribe(function(){a.closeIfUnmodified()})};g.closeIfUnmodified=function(){if(!this.isModified()){var a;(a=this.dialogService.dialog)==null||a.close()}};
g.isCaptchaValid=function(){return!this.enableRecaptcha||this.recaptchaResponse!==""};g.isModified=function(){return!pi(this.newComment,this.origComment)};
g.closeDialogForSave=function(){var a=this,b,c,d;return fe(function(e){if(e.nextAddress==1){if(!a.isModified())return e.return();a.enableRecaptcha&&(a.newComment.recaptchaToken=a.recaptchaResponse);return he(e,a.bannedWordsChecker.check(a.newComment.text,a.newComment.audience==="EXTERNAL",a.newComment.componentId),2)}(b=e.yieldResult)?(d=a.dialogService.dialog)==null||d.close(a.newComment):(c=a.commentDraft)==null||lzc(c);le(e)})};
r_.\u0275fac=function(a){return new (a||r_)(A(Ir),A(vI),A(q_),A(pI),A(EQ),A(hZ))};
r_.\u0275cmp=p({type:r_,selectors:[["ng-component"]],viewQuery:function(a,b){a&1&&fg(dY,5);if(a&2){var c;jg(c=kg())&&(b.commentDraft=c.first)}},features:[qg([hZ]),zf],decls:19,vars:18,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[1,"muted"],["target","_blank",1,"keep-underline","keep-focus-ring",3,"href"],[3,"contentChange","onSubmit","content","audience","textareaClass"],["class","banned-words-warning break-word",4,"ngIf"],[1,"inline-block",3,"change","initialValue"],[3,"comment","issueId",
"audience","formattingMode",4,"ngIf"],[4,"ngIf"],["mat-dialog-actions",""],["mat-button","",3,"mat-dialog-close"],["mat-flat-button","",1,"gmat-button",3,"click","disabled","color"],[1,"banned-words-warning","break-word"],["target","_blank","aria-label","Learn more about banned words","href","http://go/b-trackers#banned-words-for-tracker",1,"color-bad-text","keep-underline"],[3,"comment","issueId","audience","formattingMode"],[1,"recaptcha-container"],[3,"onUpdate"]],template:function(a,b){a&1&&(F(0,
"h1",0),R(1),G(),F(2,"section",1)(3,"p",2),R(4," Editing comments will not permanently remove old ones from database history. "),H(5,"br"),R(6," For deletion of PII or other sensitive content, please "),F(7,"a",3),R(8," file a support request."),G()(),F(9,"b-comment-draft",4),pg("contentChange",function(c){og(b.newComment.text,c)||(b.newComment.text=c);return c}),M("onSubmit",function(){return b.closeDialogForSave()})("contentChange",function(){b.bannedWordsChecker.reset()}),G(),C(10,M8a,4,1,"p",
5),F(11,"b-markdown-toggle",6),M("change",function(c){return b.newComment.formattingMode=c}),G(),C(12,N8a,1,4,"b-live-preview",7),G(),C(13,O8a,3,0,"section",8),F(14,"footer",9)(15,"button",10),R(16," Cancel "),G(),F(17,"button",11),M("click",function(){return b.closeDialogForSave()}),R(18),G()());a&2&&(z(),mg("Editing Comment #",b.origComment.id," of Issue ",b.origComment.issueId,""),z(6),D("href",b.contentRemovalRequestLink,Qe),z(2),ng("content",b.newComment.text),D("audience",b.origComment.audience)("textareaClass",
ug(16,yEc,b.bannedWordsChecker.showWarning()?"banned-words-warning":"")),z(),D("ngIf",b.bannedWordsChecker.showWarning()),z(),Kf("margin-bottom",(b.newComment==null?null:b.newComment.formattingMode)!==b.MARKDOWN),D("initialValue",b.origComment.formattingMode),z(),D("ngIf",(b.newComment==null?null:b.newComment.formattingMode)===b.MARKDOWN),z(),D("ngIf",b.enableRecaptcha),z(2),D("mat-dialog-close",void 0),z(2),D("disabled",!b.isModified()||!b.isCaptchaValid())("color",b.bannedWordsChecker.showWarning()?
"warn":"primary"),z(),S(" ",b.bannedWordsChecker.showWarning()?"Save Anyway":"Save"," "))},dependencies:[xI,zI,BI,AI,Gv,oE,KL,JL,dY,jY],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 s_=function(a,b,c,d,e,f,h,k,q,t,w,B,E,I,J,N,P,U,ba,ma,na,ya,Pa){this.dismissalService=a;this.editIssueService=b;this.butterBar=c;this.issuePermissionService=d;this.issueCommentService=e;this.editCommentDialogService=f;this.issueFridge=h;this.matDialogService=k;this.paths=q;this.analytics=t;this.domSafe=w;this.confirmationDialogService=B;this.issueComments=E;this.errorHandler=I;this.eventsForIssueFridge=J;this.componentFridge=N;this.commentFormatter=P;this.confirmNoAccessService=U;this.activeSession=
ba;this.appEvents=ma;this.issuePicker=na;this.eventsForIssueWatcher=ya;this.issueInteractionsTracking=Pa},sr=function(a,b,c){var d,e,f,h,k,q,t;return fe(function(w){if(w.nextAddress==1)return he(w,(0,W.firstValueFrom)(a.issueFridge.watch(b)),2);if(w.nextAddress!=3){d=w.yieldResult;f=(e=d)==null?void 0:e.snapshot[0].componentId;h=a.editIssueService.savingState(b);if(h.get("commentEdit"))return w.return();a.butterBar.dismiss();q=(k=a.issuePermissionService.audience())!=null?k:"EXTERNAL";return he(w,
a.editCommentDialogService.show(b,q,c,f),3)}t=w.yieldResult;if(t==null)return w.return();cCc(a.issueCommentService,{issueId:b,newCommentId:t.id,newComment:t.text,newCommentFormattingMode:t.formattingMode,recaptchaToken:t.recaptchaToken});le(w)})},AEc=function(a,b,c){var d,e,f;return fe(function(h){if(h.nextAddress==1)return c?he(h,zEc(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"},
he(h,a.issuePicker.open(d),3);e=h.yieldResult;if((f=e)==null?0:f.length){var k=Ao(e[0],{template_issue:b,template_comment:c,do_attribution:!0});a.analytics.trackEvent("editIssue","copyComment");a.domSafe.openInNewTab(k)}le(h)})},zEc=function(a,b){function c(U){return B.get(U)}var d,e,f,h,k,q,t,w,B,E,I,J,N,P;return fe(function(U){if(U.nextAddress==1)return he(U,(0,W.firstValueFrom)(a.issueFridge.watch(b)),2);if(U.nextAddress!=3){d=U.yieldResult;if(!d)return U.return([]);f=(e=d.snapshot[0].duplicateIssueId)!=
null?e:[];k=(h=d.snapshot[0].blockingIssueId)!=null?h:[];t=(q=d.snapshot[0].blockedByIssueId)!=null?q:[];return he(U,(0,W.firstValueFrom)(a.issueFridge.watchSet(Sm([].concat(r(f),r(k),r(t))))),3)}w=U.yieldResult;B=new Map(w.map(function(ba){return[ba.issueId,ba]}));E=t.map(c).filter(lj).map(P8a("BLOCKED_BY"));I=k.map(c).filter(lj).map(P8a("BLOCKING"));J=f.map(c).filter(lj).map(P8a("DUPLICATE"));N=[].concat(r(E),r(I),r(J));P=Q8a(N);return U.return(P)})},CEc=function(a,b,c){var d;return fe(function(e){return e.nextAddress==
1?c?he(e,cac(a.confirmationDialogService,{title:"Restore comment # "+c+"?",content:wh("Are you sure you want to restore this comment?")}),2):e.return():(d=e.yieldResult)?he(e,BEc(a,b,c),0):e.return()})},BEc=function(a,b,c){var d,e;return fe(function(f){switch(f.nextAddress){case 1:d=a.editIssueService.savingState(b);if(d.get("commentUndelete"))return f.return();Ap(a.butterBar,"Restoring comment...",0);ge(f,2,3);IJ(d,"commentUndelete");return he(f,a.issueComments.undelete(b,c),5);case 5:Ap(a.butterBar,
"Comment restored successfully.");case 3:ie(f);JJ(d,"commentUndelete");a.issueFridge.poke(b);a.eventsForIssueFridge.poke(b);je(f,0);break;case 2:e=ke(f),Ap(a.butterBar,"Comment restoration failed."),wE(a.errorHandler,e),f.jumpTo(3)}})},FEc=function(a,b,c,d){var e,f,h,k;return fe(function(q){if(q.nextAddress==1){if(!c)return q.return();e=a.editIssueService.savingState(b);return e.get("commentDelete")?q.return():he(q,DEc(a,b),2)}return q.nextAddress!=3?(f=q.yieldResult,a.butterBar.dismiss(),he(q,(0,W.firstValueFrom)(qI(a.matDialogService.open(WBc,
{width:"560px",data:{commentNumber:c,issueId:b,deletionReasons:f}}))),3)):(h=q.yieldResult)?he(q,EEc(a,b,c,h.value,(k=d)!=null?k:""),0):q.jumpTo(0)})},EEc=function(a,b,c,d,e){var f,h;return fe(function(k){switch(k.nextAddress){case 1:f=a.editIssueService.savingState(b);if(f.get("commentDelete"))return k.return();ge(k,2,3);Ap(a.butterBar,"Deleting comment...",0);IJ(f,"commentDelete");return he(k,a.issueComments.delete(b,c,d,e),5);case 5:Ap(a.butterBar,"Comment deleted. Deleted items may be restored within 30 days."),
a.eventsForIssueFridge.poke(b);case 3:ie(k);JJ(f,"commentDelete");a.issueFridge.poke(b);je(k,0);break;case 2:h=ke(k),Ap(a.butterBar,"Comment deletion failed."),wE(a.errorHandler,h),k.jumpTo(3)}})},DEc=function(a,b){var c,d,e,f,h,k,q,t;return fe(function(w){switch(w.nextAddress){case 1:return he(w,(0,W.firstValueFrom)(a.issueFridge.watch(b,{trustUncertainMemory:!0})),2);case 2:c=w.yieldResult;e=((d=c)==null?void 0:d.snapshot[0].componentId)||void 0;if(!e){f=void 0;w.jumpTo(3);break}return he(w,(0,W.firstValueFrom)(a.componentFridge.watch(e)),
4);case 4:f=w.yieldResult;case 3:return h=f,k=new xEc("Other","USER_REQUEST"),h&&h.commentEditState!=="DISABLED"||(k.enabled=!1,k.disabledReason="comment editing must be enabled"),q=new xEc("Spam or Abuse","ABUSE"),a.issuePermissionService.accessLevel()!=="EXTERNAL_PUBLIC"&&(q.enabled=!1,q.disabledReason="available on Public components"),t=new xEc("Personally Identifiable Information","RESTRICTED"),w.return([t,q,k])}})},GEc=function(a,b,c){var d,e;return fe(function(f){if(f.nextAddress==1)return d=
rJ(a.issuePermissionService,sm(c.userPerformingActionUser)),a.analytics.trackEvent("restrictedContent","updateContentJudgement","comment"),he(f,a.showContentJudgementDialog({severity:mo(c.commentContentVerdict),resourcePath:"issues/"+b+"/comments/"+c.commentNumber,hasAclToCreate:a.issuePermissionService.hasAclToAdmin()||d}),2);if(e=f.yieldResult)c.commentContentVerdict={piiVerdict:{severity:e.contentJudgement.severity}},a.issueFridge.poke(b),a.eventsForIssueFridge.poke(b),lG(a.issueFridge,[b],{markRead:!0,
userActivityType:"EDIT"});le(f)})};s_.prototype.showContentJudgementDialog=function(a){return(0,W.firstValueFrom)(qI(this.matDialogService.open(NZ,{panelClass:"no-jitter",width:"500px",data:a})))};
var HEc=function(a,b,c){var d;return fe(function(e){if(e.nextAddress==1)return he(e,(0,W.firstValueFrom)(qI(a.matDialogService.open(OZ,{width:"500px",data:{resource:b,piiRetention:c}}))),2);d=e.yieldResult;return e.return(d===1)})},IEc=function(a,b,c,d){var e;fe(function(f){if(f.nextAddress==1){if(d==null)return f.return();a.analytics.trackEvent("restrictedContent","updateContentJudgement","attachment");return he(f,a.showContentJudgementDialog({severity:mo(d.contentVerdict),resourcePath:"issues/"+
b+"/attachments/"+d.attachmentId,hasAclToCreate:a.issuePermissionService.hasAclToAdmin()||c}),2)}if(e=f.yieldResult)d.contentVerdict={piiVerdict:{severity:e.contentJudgement.severity}},a.issueFridge.poke(b),a.eventsForIssueFridge.poke(b),lG(a.issueFridge,[b],{markRead:!0,userActivityType:"EDIT"});le(f)})};
s_.prototype.showDeleteAttachmentDialog=function(a,b){var c=this,d,e,f,h,k,q,t;fe(function(w){if(w.nextAddress==1){d=c.editIssueService.savingState(a);if(d.get("deleteAttachment")||!b.attachmentId)return w.return();e=W;f=e.firstValueFrom;h=c.matDialogService;k=h.open;q=VBc;return he(w,DEc(c,a),3)}return w.nextAddress!=2?he(w,f.call(e,qI(k.call(h,q,{width:"560px",data:{deletionReasons:w.yieldResult,attachmentId:b.attachmentId}}))),2):(t=w.yieldResult)?he(w,kbc(c.editIssueService,a,b,t.value),0):w.jumpTo(0)})};
var JEc=function(a,b){var c=b.issueId;var d=b.componentId;var e=b.comment;var f,h,k;return fe(function(q){if(q.nextAddress==1){if(a.issuePermissionService.accessLevel()!=="INTERNAL"||a.issuePermissionService.hasAclToEdit()&&a.issuePermissionService.isImplicitAccessEnabled())return q.return(!0);ge(q,2);var t=W.firstValueFrom;var w=a.commentFormatter;var B={comment:e.value,issueId:c,audience:(f=a.issuePermissionService.audience())!=null?f:"EXTERNAL",formattingMode:e.formattingMode,idPrefix:"b"+c+"-draft"};
w=B.formattingMode==="LITERAL"||B.comment.trim()===""?(0,W.of)([]):Fdc(w,B).pipe(y(MIa));return he(q,t.call(W,w),4)}if(q.nextAddress!=2)return h=q.yieldResult,q.return(cJ(a.confirmNoAccessService,{componentId:d,userEmails:h,relation:"reader",analyticsEventLabel:"mention"}));k=ke(q);wE(a.errorHandler,k);return q.return(!1)})},KEc=function(a,b){b=b===void 0?"comment":b;var c,d;return fe(function(e){if((c=a.issuePermissionService.accessLevel())&&c==="INTERNAL"||a.issuePermissionService.hasAclToEdit()||
a.activeSession.isInternalSession()||wC(a.activeSession)||a.dismissalService.isDismissed(q8a(b)))return e.return(!0);switch(b){case "comment":d=wh("Commenting on this bug report means your email address will be shared with the team that works on this product.");break;case "reaction":d=wh("Reacting to this comment means your email address will be shared with the team that works on this product.");break;default:Dc(b)}return e.return((0,W.firstValueFrom)(qI(a.matDialogService.open(EZ,{width:"500px",
data:{content:d,action:b}}))))})};
s_.prototype.submitCommentBox=function(a,b,c,d){var e=this,f,h,k,q;return fe(function(t){if(t.nextAddress==1){f=e.editIssueService.savingState(b);if(!e.issuePermissionService.hasAclToComment()||!Cac(c)||f.get("comment"))return t.return();IJ(f,"comment");h=function(){JJ(f,"comment")};return he(t,JEc(e,{issueId:b,componentId:a,comment:c}),2)}if(t.nextAddress!=3)return k=t.yieldResult,k?he(t,KEc(e),3):(h(),t.return());q=t.yieldResult;if(!q)return h(),t.return();e.analytics.trackEvent("editIssue","addComment",
c.formattingMode==="MARKDOWN"?"markdown":"non markdown");pJ(e.issueInteractionsTracking,b);e.eventsForIssueWatcher.isPaused=!0;return t.return(e.editIssueService.FOR_ISSUE_COMMENT_DIALOGS_SERVICE_ONLY.saveCommentDraft(b,d).finally(function(){h();e.appEvents.commentSubmitted.next(b);e.appEvents.scrollToCommentBox.next()}))})};
s_.prototype.showNewContentJudgementDialog=function(a){var b=this,c,d,e,f,h,k;return fe(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",he(q,b.showContentJudgementDialog({severity:h,contentJudgement:void 0,hasAclToCreate:!0}),2);(k=q.yieldResult)&&c.setJudgementForNewContent(k.contentJudgement);le(q)})};
s_.prototype.updateCommentReaction=function(a){var b=this,c;return fe(function(d){return d.nextAddress==1?a.hasReacted?he(d,KEc(b,"reaction"),3):d.jumpTo(2):d.nextAddress==2||(c=d.yieldResult,c)?d.return(b.issueComments.updateCommentReaction(a)):d.return(void 0)})};s_.\u0275fac=function(a){return new (a||s_)(n(DZ),n(LJ),n(sE),n(sJ),n(QZ),n(q_),n(jG),n(wI),n(pN),n(bG),n(FH),n(EI),n($I),n(uE),n(rF),n(CC),n(IL),n(bJ),n(Ir),n(yE),n(NS),n(p_),n(oJ))};s_.\u0275prov=Hc({token:s_,factory:s_.\u0275fac,providedIn:"root"});var t_=function(a,b,c,d){this.editIssueService=a;this.issuePicker=b;this.analytics=c;this.butterBar=d},LEc=function(a,b){var c,d,e,f,h,k,q;return fe(function(t){if(t.nextAddress==1)return b=String(b),c=a.editIssueService.editableIssue(b),d=c.status,c.setStatus("DUPLICATE"),e={title:"Mark issue as duplicate of:",currentResource:{id:b,type:"issue"},componentId:c.componentId,allowMultipleIds:!1,edgeType:"canonical"},f=(new Date).getTime(),he(t,a.issuePicker.open(e),2);h=t.yieldResult;if((k=h)==null||
!k.length)return c.status=d,t.return();if(b===h[0])return c.status=d,a.butterBar.showWarning("Cannot set issue as a duplicate of itself"),t.return();q=(new Date).getTime()-f;a.analytics.trackEvent("issuePicker","duplicate duration","<"+Math.min(2*Math.ceil(q/2E3),600)+"s",q);a.analytics.trackEvent("editIssue","setCanonicalIssue");j8b(a.analytics,"DUPLICATE");return t.return(cbc(a.editIssueService,b,h[0]))})};t_.\u0275fac=function(a){return new (a||t_)(n(LJ),n(NS),n(bG),n(sE))};
t_.\u0275prov=Hc({token:t_,factory:t_.\u0275fac,providedIn:"root"});var u_=function(a,b,c,d){var e=this;this.componentFridge=a;this.issueEditComponentService=b;this.trackerHelpers=c;this.activeSession=d;this.componentId$=new W.ReplaySubject(1);this.viewOnly=!1;this.compactMode$=new W.BehaviorSubject(!1);this.editing=!1;this.component$=this.componentId$.pipe(pf(function(f){return e.componentFridge.watch(f).pipe(of(void 0))}));this.isArchived$=this.component$.pipe(y(function(f){return f==null?void 0:f.archived}));this.showPublicIndicator$=this.component$.pipe(y(function(f){var h;
f=f==null?void 0:(h=f.accessLimit)==null?void 0:h.accessLevel;return!e.activeSession.getFlag("enableNewVisibilityChips")||f==null||e.activeSession.isExternalSession()?!1:e.activeSession.isInternalSession()||wC(e.activeSession)?f==="EXTERNAL_PUBLIC":!1}));this.showPartnerIndicator$=this.component$.pipe(y(function(f){var h;f=f==null?void 0:(h=f.accessLimit)==null?void 0:h.accessLevel;return!e.activeSession.getFlag("enableNewVisibilityChips")||f==null||e.activeSession.isExternalSession()||wC(e.activeSession)?
!1:e.activeSession.isInternalSession()?f==="EXTERNAL_PARTNER":!1}));this.folder$=(0,W.combineLatest)([this.showPublicIndicator$,this.showPartnerIndicator$]).pipe(y(function(f){var h=l(f);f=h.next().value;h=h.next().value;return f?{icon:"folder_shared_24px",tooltip:"Public component. Issues can be made visible to public Google Search."}:h?{icon:"folder_shared_24px",tooltip:"Partner component. Issues can be made visible to Google partners."}:kp(e.activeSession)?{icon:"folder_special_24px",tooltip:"This component is inside a tracker"}:
{icon:"folder",tooltip:""}}),of({icon:"folder",tooltip:""}));this.componentPath$=(0,W.combineLatest)([this.componentId$,this.component$,this.compactMode$]).pipe(y(function(f){var h=l(f);f=h.next().value;var k=h.next().value;h=h.next().value;if(k==null)return Rp({componentPathId:[Number(f)]});f=mr(e.trackerHelpers,k.componentPathInfo);f=Rp(f);if(h){h=[];k=0;for(var q=f.length-1;q>=0;q--){var t=f[q],w=q===f.length-1?48:32;if(k>=w)break;var B=String(t.name),E=void 0;if(k+[].concat(r(B)).length>w){var I=
w-k;w="";B=B===void 0?"":B;I=I===void 0?48:I;w=w===void 0?"...":w;E=[].concat(r(B));E.length<=I||(B=I-[].concat(r(w)).length,B=E.slice(-B).join(""),String.prototype.trimStart!=null&&(B=B.trimStart()),B=w+B);E=!0}k+=[].concat(r(B)).length;h.unshift(Object.assign({},t,{name:B,isTruncated:E}));if(E)break}f.length>h.length&&(h[0].isSpliced=!0);f=h}return f}));this.isEmpty$=this.component$.pipe(y(function(f){return!f}));this.isThinkingAndEmpty$=(0,W.combineLatest)([this.componentFridge.thinking$,this.isEmpty$]).pipe(y(function(f){var h=
l(f);f=h.next().value;h=h.next().value;return f&&h}));this.isReady$=this.isThinkingAndEmpty$.pipe(y(function(f){return!f}))};u_.prototype.ngOnInit=function(){};ea.Object.defineProperties(u_.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)}}});u_.\u0275fac=function(a){return new (a||u_)(A(CC),A(CZ),A(kQ),A(Ir))};
u_.\u0275cmp=p({type:u_,selectors:[["b-component-breadcrumb-chip"]],inputs:{componentId:"componentId",issueId:"issueId",viewOnly:"viewOnly",popoutLink:"popoutLink",compactMode:"compactMode"},decls:3,vars:2,consts:[["componentPicker",""],["viewOnlyComponent",""],["card",""],["cardBody",""],[3,"isReady",4,"ngIf","ngIfElse"],[3,"isReady"],[1,"b-chip","squared","s"],["class","icon-xs","title","Component folder path",3,"svgIcon","matTooltip",4,"ngIf"],["class","component-path",4,"ngIf"],[4,"ngIf"],["mat-icon-button",
"","class","edit-btn","aria-label","Change Component","matTooltip","Change Component",3,"click",4,"ngIf"],["mat-icon-button","","class","small pop-out-btn","aria-label","View Component (Link opens in a new window)","matTooltip","View Component","target","_blank",3,"routerLinkObj",4,"ngIf"],["title","Component folder path",1,"icon-xs",3,"svgIcon","matTooltip"],[1,"component-path"],[4,"ngFor","ngForOf"],["href","javascript:void(0);","title","Show all Components","class","subtle-link","role","button",
3,"click",4,"ngIf"],["class","subtle-link",3,"routerLinkObj","onedevHovercardTrigger","muted",4,"ngIf","ngIfElse"],[4,"onedevHovercardLazyBody"],["href","javascript:void(0);","title","Show all Components","role","button",1,"subtle-link",3,"click"],[1,"subtle-link",3,"routerLinkObj","onedevHovercardTrigger"],[1,"view-only-component"],[3,"onedevIsHovercardReady","componentId"],["mat-icon-button","","aria-label","Change Component","matTooltip","Change Component",1,"edit-btn",3,"click"],["svgIcon","edit-outline",
1,"icon-xxs"],["mat-icon-button","","aria-label","View Component (Link opens in a new window)","matTooltip","View Component","target","_blank",1,"small","pop-out-btn",3,"routerLinkObj"],["svgIcon","pop-out",1,"icon-xs"],["placeholder","Choose Component",3,"selectedComponentChange","dropdownClosed","selectedComponent","isRequired","shouldFocus"]],template:function(a,b){a&1&&C(0,d9a,13,22,"b-async-data-placeholder",4)(1,f9a,2,5,"ng-template",null,0,yg);a&2&&(a=Q(2),D("ngIf",!b.editing)("ngIfElse",a))},
dependencies:[oQ,Fv,Gv,zB,wB,IH,Ux,Tx,bV,$H,aI,gI,bI,LH,OH,AZ,Lv],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 v_=function(a,b,c,d,e,f,h,k,q,t,w,B,E,I){Z.call(this);var J=this;this.errorHandler=a;this.issueApi=b;this.issueFridge=c;this.componentFridge=d;this.trackerFridge=e;this.eventsForIssueFridge=f;this.issuePermissionService=h;this.snackBar=k;this.dialogRef=q;this.data=t;this.analytics=w;this.confirmationDialogService=E;this.jspbPrincipalTypes=I;this.defaultAccessLimitLevel="LIMIT_NONE";this.COLLABORATOR_GROUPS_TOOLTIP="Collaborator groups are trusted groups that are configured by tracker admins only. Select and add these groups if they should be given collaborator access to this issue.";
this.writers=[];this.appenders=[];this.readers=[];this.isImplicitAccessEnabled$=this.issuePermissionService.isImplicitAccessEnabled$;this.hasAclToAdmin$=this.issuePermissionService.hasAclToAdmin$;this.issueId=this.data.issueId;this.issue$=this.issueFridge.watch(this.issueId);this.currentAccessLimitLevel$=this.issue$.pipe(y(function(N){var P;return(P=N==null?void 0:N.snapshot[0].issueAccessLimitLevel)!=null?P:J.defaultAccessLimitLevel}));this.updatedAccessLimitLevel$=new W.BehaviorSubject(this.defaultAccessLimitLevel);
this.hasAccessLimitLevelSelectionChanged$=(0,W.combineLatest)([this.currentAccessLimitLevel$,this.updatedAccessLimitLevel$]).pipe(y(function(N){var P=l(N);N=P.next().value;P=P.next().value;return N!==P}));this.componentId=this.data.componentId;this.component$=this.componentFridge.watch(this.componentId);this.trackerId$=this.component$.pipe(y(function(N){return N==null?void 0:N.trackerId}));this.tracker$=this.trackerId$.pipe(pf(function(N){return N?J.trackerFridge.watch(N):(0,W.of)(void 0)}));this.collaboratorGroupsEmailToDetailsMap=
new Map;this.addedCollaboratorGroups=new Set;this.removedCollaboratorGroups=new Set;this.expandedAccessTooltip$=this.isImplicitAccessEnabled$.pipe(y(function(N){return N?"This component has expanded access enabled. Assignees, verifiers, and collaborators can edit issues, and CC'd users can add comments.":"This component has expanded access disabled. Being listed on the issue does not confer any additional access privileges."}));this.currentUserEmail=B.getUserEmail()};X(v_,Z);v_.\u0275dir=Z.\u0275dir;
v_.prototype.ngOnInit=function(){var a=this;this.subscriptions.add(this.currentAccessLimitLevel$.subscribe(function(b){a.updatedAccessLimitLevel$.next(b);g9a(a,b)}));this.subscriptions.add((0,W.combineLatest)([this.tracker$,this.issue$]).subscribe(function(b){var c=l(b);b=c.next().value;c=c.next().value;a.updateCollaboratorGroups(b,c)}));this.subscriptions.add(this.hasAccessLimitLevelSelectionChanged$.subscribe(function(b){a.dialogRef.disableClose=b}));this.analytics.trackEvent("issueAccessLimits",
"view","issue_access_limits_dialog:"+this.issueId)};
v_.prototype.updateCollaboratorGroups=function(a,b){var c=this,d,e,f,h;fe(function(k){if(k.nextAddress==1){c.collaboratorGroupsEmailToDetailsMap.clear();c.addedCollaboratorGroups.clear();c.removedCollaboratorGroups.clear();if(a&&a.collaboratorGroups)for(d=l(a.collaboratorGroups),e=d.next();!e.done;e=d.next())f=e.value,f.emailAddress&&c.collaboratorGroupsEmailToDetailsMap.set(f.emailAddress,{user:f,specifiedOnIssue:!1});return b&&b.snapshot&&b.snapshot[0].collaboratorsUsers?he(k,MEc(c,b.snapshot[0].collaboratorsUsers),
3):k.jumpTo(0)}h=k.yieldResult;h.forEach(function(q){c.collaboratorGroupsEmailToDetailsMap.set(q.emailAddress,{user:q,specifiedOnIssue:!0})});le(k)})};
var MEc=function(a,b){var c,d;return fe(function(e){if(e.nextAddress==1)return c=b.map(function(f){return f.emailAddress}).filter(lj),he(e,Y8b(a.jspbPrincipalTypes,c,!1),2);d=e.yieldResult;return e.return(b.filter(function(f){if(!f.emailAddress)return!1;var h;return((h=d[f.emailAddress])==null?void 0:h.principalType)==="GROUP"}))})},NEc=function(a){return a?"Expanded access on":"Expanded access off"},j9a=function(a,b){return a.addedCollaboratorGroups.size>0||a.removedCollaboratorGroups.size>0||b===
!0},g9a=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=Jo(c.writers);a.appenders=Jo(c.appenders);a.readers=Jo(c.readers)},function(c){wE(a.errorHandler,
c)})};g=v_.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=Eo({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:wh(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){wE(a.errorHandler,b)})};g.didSave=function(){this.snackBar.open("Successfully saved access configuration",void 0,{duration:2500});this.issueFridge.poke(this.issueId);this.eventsForIssueFridge.poke(this.issueId)};g.onPressCancel=function(){this.dialogRef.close()};v_.\u0275fac=function(a){return new (a||v_)(A(uE),A(PD),A(jG),A(CC),A(pH),A(rF),A(sJ),A(XD),A(pI),A(vI),A(bG),A(Ir),A(EI),A(RG))};
v_.\u0275cmp=p({type:v_,selectors:[["b-issue-access-limits-dialog"]],hostBindings:function(a,b){a&1&&M("keydown.escape",function(){return b.onEscape()})},features:[zf],decls:39,vars:43,consts:[["closeButton",""],[1,"bv2-issue-limits-title"],[1,"lock-circle"],["svgIcon","lock","color","text-primary"],[1,"issue-limits-dialog-title-txt"],[3,"issueId","componentId","compactMode","popoutLink","viewOnly"],[1,"expanded-access"],[1,"expanded-access-txt"],["svgIcon","help-outline","tabindex","0","aria-hidden",
"false","aria-label","Help","role","button",1,"icon-s","valign-middle",3,"matTooltip"],[3,"updatedAccessLimitLevel","disabled","defaultAccessLimitLevel","implicitAccessEnabled"],[4,"ngIf"],[1,"user-display-area"],[1,"limit-users-title"],["idForInputBox","Users who can edit, comment, and view",3,"users","includeAliases","includeViewAliases"],["idForInputBox","Users who can comment and view",3,"users","includeAliases","includeViewAliases"],["idForInputBox","Users who can only view",3,"users","includeAliases",
"includeViewAliases"],["mat-dialog-actions",""],[4,"ngIf","ngIfElse"],[1,"collaborator-groups-title"],[1,"collaborator-groups-checkboxes"],[4,"ngFor","ngForOf"],[1,"collaborator-group-checkbox",3,"click","change","id","name","checked"],["mat-button","",1,"gmat-button","medium","cancel",3,"click"],["mat-flat-button","","color","primary",1,"gmat-button","medium","confirm",3,"click","disabled"],["mat-button","",1,"gmat-button","medium","close",3,"click"]],template:function(a,b){if(a&1){var c=u();F(0,
"div",1)(1,"span",2);H(2,"mat-icon",3);G();F(3,"h2",4);R(4,"Issue access level");G()();F(5,"mat-dialog-content")(6,"div");H(7,"b-component-breadcrumb-chip",5);F(8,"span",6);T(9,"async");F(10,"span",7);R(11);T(12,"async");G();H(13,"mat-icon",8);T(14,"async");G()();F(15,"b-issue-access-limits-dropdown",9);T(16,"async");T(17,"async");T(18,"async");M("updatedAccessLimitLevel",function(k){v(c);b.updatedAccessLimitLevel$.next(k);g9a(b,k);return x()});G();C(19,i9a,8,4,"ng-container",10);T(20,"async");F(21,
"div",11)(22,"div")(23,"div",12);R(24,"Users who can edit, comment, and view");G();H(25,"b-multi-user-input",13);G();F(26,"div")(27,"div",12);R(28,"Users who can comment and view");G();H(29,"b-multi-user-input",14);G();F(30,"div")(31,"div",12);R(32,"Users who can only view");G();H(33,"b-multi-user-input",15);G()()();F(34,"div",16);C(35,k9a,6,3,"ng-container",17);T(36,"async");C(37,l9a,2,0,"ng-template",null,0,yg);G()}if(a&2){var d,e,f,h;a=Q(38);z(7);D("issueId",b.issueId)("componentId",b.data.componentId)("compactMode",
!0)("popoutLink",b.manageComponentAccessRouterLink)("viewOnly",!0);z();Kf("expanded-access-on",V(9,27,b.isImplicitAccessEnabled$));z(3);lg(NEc((d=V(12,29,b.isImplicitAccessEnabled$))!==null&&d!==void 0?d:!1));z(2);D("matTooltip",(e=V(14,31,b.expandedAccessTooltip$))!==null&&e!==void 0?e:"");z(2);D("disabled",!V(16,33,b.hasAclToAdmin$))("defaultAccessLimitLevel",(f=V(17,35,b.currentAccessLimitLevel$))!==null&&f!==void 0?f:b.defaultAccessLimitLevel)("implicitAccessEnabled",(h=V(18,37,b.isImplicitAccessEnabled$))!==
null&&h!==void 0?h:!1);z(4);D("ngIf",b.collaboratorGroupsEmailToDetailsMap.size>0&&V(20,39,b.hasAclToAdmin$));z(6);D("users",b.writers)("includeAliases",!1)("includeViewAliases",!1);Bf("disabled",!0);z(4);D("users",b.appenders)("includeAliases",!1)("includeViewAliases",!1);Bf("disabled",!0);z(4);D("users",b.readers)("includeAliases",!1)("includeViewAliases",!1);Bf("disabled",!0);z(2);D("ngIf",V(36,41,b.hasAclToAdmin$))("ngIfElse",a)}},dependencies:[DY,Fv,Gv,zB,u_,oE,BI,AI,LH,OH,ON,QH,RH,Lv,Qv],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 w_=function(a){this.dialog=a;this.dialogRef=null};w_.prototype.open=function(a){this.dialogRef=this.dialog.open(v_,{panelClass:"no-jitter",data:a,ariaLabel:"Issue access level"})};w_.prototype.isOpen=function(){return this.dialogRef?this.dialogRef.getState()===0:!1};w_.\u0275fac=function(a){return new (a||w_)(n(wI))};w_.\u0275prov=Hc({token:w_,factory:w_.\u0275fac,providedIn:"root"});var x_=function(){this.isReady=!1};x_.\u0275fac=function(a){return new (a||x_)};x_.\u0275cmp=p({type:x_,selectors:[["onedev-async-data-placeholder"]],inputs:{isReady:"isReady"},ngContentSelectors:["*"],decls:2,vars:2,consts:[["class","loading-indicator",4,"ngIf"],[4,"ngIf"],[1,"loading-indicator"]],template:function(a,b){a&1&&(Xf(),C(0,m9a,1,0,"div",0)(1,n9a,2,0,"ng-container",1));a&2&&(D("ngIf",!b.isReady),z(),D("ngIf",b.isReady))},dependencies:[Gv],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 OEc=function(){this.warning=""};OEc.\u0275fac=function(a){return new (a||OEc)};
OEc.\u0275cmp=p({type:OEc,selectors:[["onedev-warning-icon"]],hostVars:2,hostBindings:function(a,b){a&2&&Kf("is-present",b.warning)},inputs:{warning:"warning"},decls:1,vars:1,consts:[["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24",3,"matTooltip",4,"ngIf"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24",3,"matTooltip"],["d","M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"]],template:function(a,b){a&1&&C(0,o9a,2,1,"svg",0);a&
2&&D("ngIf",b.warning)},dependencies:[Gv,oS],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 PEc=["*",[["","actions",""]]],QEc=[[["onedev-field-label"]],[["onedev-field-value"]]],REc=0,y_=function(){this.thinking=!1;this.warning=this.labelTooltip="";this.id="onedev-field-label-"+REc;REc++};y_.\u0275fac=function(a){return new (a||y_)};
y_.\u0275cmp=p({type:y_,selectors:[["onedev-field-label"]],hostVars:1,hostBindings:function(a,b){a&2&&Bf("id",b.id)},inputs:{thinking:"thinking",labelTooltip:"labelTooltip",warning:"warning"},ngContentSelectors:["*"],decls:4,vars:3,consts:[[3,"isReady"],[1,"label",3,"matTooltip"],[3,"warning"]],template:function(a,b){a&1&&(Xf(),F(0,"onedev-async-data-placeholder",0)(1,"span",1),Yf(2),G(),H(3,"onedev-warning-icon",2),G());a&2&&(D("isReady",!b.thinking),z(),D("matTooltip",b.labelTooltip),z(2),D("warning",
b.warning))},dependencies:[x_,oS,OEc],styles:["[_nghost-%COMP%]{line-height:29px;font-size:13px}span.label[_ngcontent-%COMP%]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}"]});var z_=function(){this.thinking=!1};z_.\u0275fac=function(a){return new (a||z_)};
z_.\u0275cmp=p({type:z_,selectors:[["onedev-field-value"]],inputs:{thinking:"thinking"},ngContentSelectors:["*","[actions]"],decls:3,vars:1,consts:[[3,"isReady"]],template:function(a,b){a&1&&(Xf(PEc),F(0,"onedev-async-data-placeholder",0),Yf(1),Yf(2,1),G());a&2&&D("isReady",!b.thinking)},dependencies:[x_],encapsulation:2});var A_=function(){this.labelPosition="left"};A_.prototype.ngAfterContentInit=function(){var a=this;setTimeout(function(){a.field&&a.label&&(a.field.labelledById=a.label.id)})};
A_.\u0275fac=function(a){return new (a||A_)};
A_.\u0275cmp=p({type:A_,selectors:[["onedev-edit-field"]],contentQueries:function(a,b,c){a&1&&(gg(c,IV,5),gg(c,y_,7));if(a&2){var d;jg(d=kg())&&(b.field=d.first);jg(d=kg())&&(b.label=d.first)}},inputs:{labelPosition:"labelPosition"},ngContentSelectors:["onedev-field-label","onedev-field-value"],decls:3,vars:4,consts:[[1,"wrapper"]],template:function(a,b){a&1&&(Xf(QEc),F(0,"div",0),Yf(1),Yf(2,1),G());a&2&&Kf("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 SEc=["popOverContent"],B_=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 Xu;this.isOpen=!1;this.destroyed$=new W.ReplaySubject(1);this.backdropClickSubscription=W.Subscription.EMPTY};B_.prototype.ngOnInit=function(){};B_.prototype.ngOnDestroy=function(){this.close();this.destroyed$.next();this.destroyed$.complete()};
B_.prototype.open=function(){var a=this;this.isOpen||(this.overlayRef=this.createOverlay(),this.attach(),this.isOpen=!0,this.backdropClickSubscription=this.overlayRef.backdropClick().pipe(qf(this.destroyed$)).subscribe(function(){r9a(a)}))};B_.prototype.close=function(){this.isOpen&&this.overlayRef&&(this.overlayRef.dispose(),this.overlayRef=void 0,this.isOpen=!1,this.backdropClickSubscription.unsubscribe())};
var q9a=function(a){a.closedWithAction.emit(0);a.close()},r9a=function(a){a.closedWithAction.emit(1);a.close()};g=B_.prototype;g.processKeydown=function(a){switch(a.key){case "Escape":r9a(this);a.stopPropagation();break;case "Enter":if(this.newlineWithEnterKey){if(a.metaKey||a.ctrlKey)q9a(this),a.stopPropagation(),a.preventDefault()}else a.shiftKey||(q9a(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 Ow(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=PWb(rx(ux(this.overlay.position(),this.anchor),this.fitToViewport),this.fitToViewport);a._offsetX=-4;a._offsetY=this.displayUnder?this.anchor.offsetHeight:-4;return px(a,TEc)};g.getScrollStrategy=function(){return this.overlay.scrollStrategies.reposition()};
B_.\u0275fac=function(a){return new (a||B_)(A(vx),A(dg))};
B_.\u0275cmp=p({type:B_,selectors:[["onedev-pop-over-edit-panel"]],viewQuery:function(a,b){a&1&&fg(SEc,7);if(a&2){var c;jg(c=kg())&&(b.contentTemplateRef=c.first)}},inputs:{anchor:"anchor",editorTemplate:"editorTemplate",displayUnder:"displayUnder",newlineWithEnterKey:"newlineWithEnterKey",hasBackdrop:"hasBackdrop",fitToViewport:"fitToViewport",minWidth:"minWidth",saveDisabled:"saveDisabled"},outputs:{closedWithAction:"closedWithAction"},exportAs:["onedevPopOverEditPanel"],decls:2,vars:0,consts:[["popOverContent",
""],["cdkTrapFocus","",1,"content","gmat-elevation-z2",3,"keydown","cdkTrapFocusAutoCapture"],[1,"edit-field"],[4,"ngTemplateOutlet"],[1,"actions"],["mat-button","","color","primary",1,"save",3,"click","disabled"],["mat-button","","color","primary",1,"cancel",3,"click"]],template:function(a){a&1&&C(0,s9a,8,3,"ng-template",null,0,yg)},dependencies:[Kv,mw,oE],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 TEc=[{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 UEc=["popOver"],u9a=function(a){return{$implicit:a}},C_=function(a){this.disabled=!1;this.displayEditIcon=!0;this.openPopOverOnInit=!1;this.valueChange=new Xu;this.required=this.editing=this.headerFocused=!1;this.editingValue="";this.onChange=function(){};this.onTouched=function(){};if(a===""||a==="true"||a==="required")this.required=!0};X(C_,IV);g=C_.prototype;g.ngOnInit=function(){};g.ngAfterViewInit=function(){var a=this;this.openPopOverOnInit&&setTimeout(function(){a.startEditing()})};
g.valueChanged=function(){return z9a(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=z9a(this.editingValue),this.valueChange.emit(a))};g.writeValue=function(a){var b=z9a(a);if(a!=null||this.val!==b)this.val=b,this.editingValue=a!=null?a:""};
g.isActive=function(){return this.headerFocused||this.editing};g.registerOnChange=function(a){this.onChange=a};g.registerOnTouched=function(a){this.onTouched=a};g.setDisabledState=function(a){this.disabled=a};ea.Object.defineProperties(C_.prototype,{value:{configurable:!0,enumerable:!0,get:function(){return this.val},set:function(a){a!==this.val&&this.writeValue(a!=null?String(a):null)}}});C_.\u0275fac=function(a){return new (a||C_)(Jd("required"))};
C_.\u0275cmp=p({type:C_,selectors:[["onedev-numeric-field"]],viewQuery:function(a,b){a&1&&fg(UEc,7);if(a&2){var c;jg(c=kg())&&(b.popOver=c.first)}},inputs:{value:"value",disabled:"disabled",displayEditIcon:"displayEditIcon",labelledById:"labelledById",openPopOverOnInit:"openPopOverOnInit",valueTemplate:"valueTemplate"},outputs:{valueChange:"valueChange"},features:[qg([{provide:jy,useExisting:Uc(function(){return C_}),multi:!0},{provide:IV,useExisting:Uc(function(){return C_}),multi:!0}]),zf],decls:11,
vars:6,consts:[["anchor",""],["standardValueDisplay",""],["popOver","onedevPopOverEditPanel"],["inputTemplate",""],["aria-label","Edit numeric field",3,"click","focus","blur","disabled"],[4,"ngIf","ngIfElse"],["class","edit-icon","xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24",4,"ngIf"],[3,"closedWithAction","anchor","editorTemplate"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24",1,"edit-icon"],["d","M20.71,5.63l-2.34-2.34C18.18,3.1,17.92,3,17.67,3c-0.26,0-0.51,0.1-0.71,0.29L3,17.25L3,21h3.75L20.71,7.04 C21.1,6.65,21.1,6.02,20.71,5.63z M5.92,19H5l0-0.92L15.54,7.53l0.92,0.92L5.92,19z"],
["type","number",3,"ngModelChange","ngModel"]],template:function(a,b){if(a&1){var c=u();F(0,"button",4,0);M("click",function(){v(c);return x(b.startEditing())})("focus",function(){v(c);return x(b.headerFocused=!0)})("blur",function(){v(c);return x(b.headerFocused=!1)});F(2,"span");C(3,v9a,2,4,"ng-container",5)(4,w9a,1,1,"ng-template",null,1,yg);G();C(6,x9a,2,0,"svg",6);G();F(7,"onedev-pop-over-edit-panel",7,2);M("closedWithAction",function(f){v(c);return x(b.stopEditing(f))});G();C(9,y9a,1,1,"ng-template",
null,3,yg)}if(a&2){a=Q(1);var d=Q(5),e=Q(10);D("disabled",b.disabled);z(3);D("ngIf",b.valueTemplate)("ngIfElse",d);z(3);D("ngIf",!b.disabled&&b.displayEditIcon);z();D("anchor",a)("editorTemplate",e)}},dependencies:[Gv,Kv,mh,Ay,qy,yy,B_],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 F9a=function(){return[]},D_=function(){this.disabled=this.thinking=!1;this.effortChange=new XF;this.isCompatibleValue=!0;this.fieldName="";this.fieldType="UNKNOWN";this.isNaN=isNaN};
D_.prototype.ngOnChanges=function(){if(this.getFieldType()==="DROPDOWN"){var a;this.effortSpec&&(a=this.effortSpec.enumSpec)!=null&&a.options&&this.effort&&this.effort.estimate?(a=VEc(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=WEc(this)};D_.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=WEc(this);this.effortChange.emit(this.effort)};D_.prototype.getFieldName=function(){return this.effortSpec?this.effortSpec.name||"":this.effort?"Estimate "+this.effort.specId:"Estimate"};
D_.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 WEc=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"&&VEc(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},VEc=function(a){var b;if((b=a.effort)==null?0:b.estimate){var c,d,e,f;return(f=(c=a.effortSpec)==null?void 0:(d=c.enumSpec)==null?void 0:(e=d.options)==null?
void 0:e.find(function(h){var k;return h.label===((k=a.effort)==null?void 0:k.estimate)}))!=null?f:"incompatible"}};D_.\u0275fac=function(a){return new (a||D_)};
D_.\u0275cmp=p({type:D_,selectors:[["b-estimated-effort-row"]],inputs:{thinking:"thinking",effort:"effort",effortSpec:"effortSpec",disabled:"disabled"},outputs:{effortChange:"effortChange"},features:[td],decls:3,vars:1,consts:[["rawNumericValueTemplate",""],["warningHovercard","onedevHovercard"],["optionTemplate",""],["emptyOption",""],["regularNumeric",""],[4,"ngIf"],["labelTooltip","Estimated effort",3,"thinking"],["svgIcon","error","aria-hidden","false","aria-label","This estimate was made under a different configuration and needs to be \n                          updated.",
"class","icon-xs effort-warning align-items-center",3,"onedevHovercardTrigger",4,"ngIf"],["role","dialog",1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],["href","http://go/buganizer/user-guide/concepts/wtdm-home.md?cl=head#stale-effort","target","_blank"],[3,"thinking"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],["svgIcon","error","aria-hidden","false","aria-label","This estimate was made under a different configuration and needs to be \n                          updated.",
1,"icon-xs","effort-warning","align-items-center",3,"onedevHovercardTrigger"],[1,"flex-kids-x",3,"valueChange","value","valueTemplate","disabled","displayEditIcon"],[3,"valueChange","value","options","includeEmptyOption","optionTemplate","disabled","displayArrowIcon"],[4,"ngIf","ngIfElse"]],template:function(a,b){a&1&&C(0,I9a,16,7,"onedev-edit-field",5)(1,L9a,3,2,"ng-template",null,0,yg);a&2&&D("ngIf",b.effortSpec)},dependencies:[Gv,Hv,Iv,Jv,zB,y_,z_,A_,JV,C_,$H,gI],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 XOb=function(a){this.internalArray_=m(a,1)};X(XOb,Y);var Bs=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=Bs.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 Bs;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 st=function(a){this.internalArray_=m(a)};X(st,Y);st.prototype.getEntryPoint=function(){return fj(this,5,0)};st.prototype.setEntryPoint=function(a){return sl(this,5,a)};var vt=function(a){this.internalArray_=m(a)};X(vt,Y);vt.prototype.getEntryPoint=function(){return fj(this,1,0)};vt.prototype.setEntryPoint=function(a){return sl(this,1,a)};var E_=function(a){this.internalArray_=m(a)};X(E_,Y);E_.prototype.getQuery=function(){return Kh(this,1,"")};E_.prototype.setQuery=function(a){return rj(this,1,a)};E_.prototype.clearQuery=function(){oo(this,1)};E_.prototype.hasQuery=function(){return $k(this,1)};var XEc=function(a,b){yl(a,3,b)};E_.prototype.getAffinityVersion=function(){return gj(this,7)};E_.prototype.setAffinityVersion=function(a){ql(this,7,a)};E_.prototype.getAffinityVersionOrUndefined=function(){return gu(this,7)};
var YEc=function(a){var b=Ahc();oo(a,8,Bb(b))};g=E_.prototype;g.getSources=function(){return $i(this,st,10)};g.getInstanceId=function(){return Kh(this,11,"")};g.setInstanceId=function(a){return rj(this,11,a)};g.clearInstanceId=function(){oo(this,11)};g.hasInstanceId=function(){return $k(this,11)};g.getInstanceIdOrUndefined=function(){return hu(this,11)};var jt=function(a){this.internalArray_=m(a)};X(jt,Y);g=jt.prototype;g.getPersonLoggingId=function(){return Kh(this,1)};g.setPersonLoggingId=function(a){rj(this,1,a)};g.getFieldLoggingId=function(){return Kh(this,2)};g.setFieldLoggingId=function(a){rj(this,2,a)};g.setFieldValue=function(a){return rj(this,3,a)};g.clearFieldValue=function(){return oo(this,3)};g.getName=function(){return Kh(this,4)};g.setName=function(a){return rj(this,4,a)};g.hasName=function(){return $k(this,4)};
g.getNameOrUndefined=function(){return hu(this,4)};g.getContactId=function(){return Kh(this,5)};g.setContactId=function(a){rj(this,5,a)};g.getProfileId=function(){return Kh(this,6)};g.getProfileId_legacyNullable=function(){return sj(this,6)};g.setProfileId=function(a){return rj(this,6,a)};g.hasProfileId=function(){return $k(this,6)};g.getFieldType=function(){return fj(this,7,0)};g.getIsPlaceholder=function(){return Hj(this,10,!1)};g.setIsPlaceholder=function(a){pl(this,10,a)};
g.getGroupId=function(){return Kh(this,11)};g.setGroupId=function(a){rj(this,11,a)};g.hasGroupId=function(){return $k(this,11)};var it=function(a){this.internalArray_=m(a)};X(it,Y);g=it.prototype;g.getProvenance=function(){return fj(this,3,0)};g.setProvenance=function(a){return sl(this,3,a)};g.getContext=function(){return fj(this,5,0)};g.getExistingSelectionsCount=function(){return gj(this,6,0)};g.setExistingSelectionsCount=function(a){ql(this,6,a)};var ht=function(a){this.internalArray_=m(a)};X(ht,Y);var us=function(a){return $i(a,it,2)};ht.prototype.getSessionState=function(){return $i(this,E_,3)};ht.prototype.setSessionState=function(a){return oj(this,E_,3,a)};ht.prototype.hasSessionState=function(){return dk(this,E_,3)};var gt=function(a){this.internalArray_=m(a)};X(gt,Y);g=gt.prototype;g.getType=function(){return fj(this,1,0)};g.setType=function(a){return sl(this,1,a)};g.hasType=function(){return al(this,1)};g.getValue=function(){return Kh(this,2,"")};g.setValue=function(a){return rj(this,2,a)};g.hasValue=function(){return $k(this,2)};var ZEc=function(a){this.delegate_=a};g=ZEc.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 BOb=function(){this.familyName_=this.givenName_=this.displayName_="";this.sourceType_=0};g=BOb.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 $Ec=function(a,b){this.delegate_=a;this.name_=b};X($Ec,ZEc);$Ec.prototype.getName=function(){return this.name_};var F_=function(a){this.delegate_=a};g=F_.prototype;g.getDelegate=function(){return this.delegate_};g.getResultType=function(){return this.delegate_.getResultType()};g.getTargetList=function(){return this.delegate_.getTargetList()};g.getMemberList=function(){return this.delegate_.getMemberList()};g.getTotalMemberCount=function(){return this.delegate_.getTotalMemberCount()};g.getPrimaryTarget=function(){return this.delegate_.getPrimaryTarget()};g.getDisplayName=function(){return this.delegate_.getDisplayName()};
g.getDisplayValue=function(){return this.delegate_.getDisplayValue()};g.getDescription=function(){return this.delegate_.getDescription()};g.getPhotoUrl=function(){return this.delegate_.getPhotoUrl()};g.getMatchInfo=function(){return this.delegate_.getMatchInfo()};g.getExtendedData=function(){return this.delegate_.getExtendedData()};var Rq=function(a){this.delegate_=a};X(Rq,F_);g=Rq.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 M9a=function(a,b){this.delegate_=a;this.targets_=b};X(M9a,F_);M9a.prototype.getTargetList=function(){return this.targets_};var aFc=function(){};aFc.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 Rq(new M9a(a,c))};aFc.prototype.reset=function(){};var O9a=function(a){this.types_=a};X(O9a,aFc);O9a.prototype.shouldRemove=function(a){return!this.types_.includes(a.getTargetType())};O9a.prototype.reset=function(){};var Q9a=function(a){this.sourceIds_=a.filter(function(b){return xOb.includes(b.getType())}).map(String);this.targetIds_=a.filter(function(b){return aic.includes(b.getType())}).map(String)};X(Q9a,aFc);Q9a.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 S9a=function(a){this.filters_=a};S9a.prototype.filterResult=function(a){for(var b=l(this.filters_),c=b.next();!c.done;c=b.next())if(a=c.value.filterResult(a),!a)return null;return a};S9a.prototype.reset=function(a){for(var b=l(this.filters_),c=b.next();!c.done;c=b.next())c.value.reset(a)};var bFc=T9a();var cFc=new md("PeoplekitClientConfig"),dFc=function(a){this.matcher=a};dFc.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};dFc.prototype.reset=function(){};var eFc=function(a){this.internalArray_=m(a)};X(eFc,Y);g=eFc.prototype;g.setMaxResults=function(a){return ql(this,1,a)};g.getQuery=function(){return Kh(this,2,"")};g.setQuery=function(a){return rj(this,2,a)};g.clearQuery=function(){oo(this,2)};g.hasQuery=function(){return $k(this,2)};var fFc=function(){this.dynamicDataProviders_=[];this.staticDataProviders_=[]};var gFc=function(a){this.internalArray_=m(a,1)};X(gFc,Y);var hFc=function(a){this.internalArray_=m(a)};X(hFc,Y);g=hFc.prototype;g.getExperimentIdsList=function(a){return Ek(this,1,yj(a))};g.setExperimentIdsList=function(a){return jc(this,1,a,Hb)};g.getExperimentIds=function(){return eu(this,1)};g.setExperimentIds=function(a){iu(this,1,a)};g.getProfileId=function(){return Kh(this,2)};g.getProfileId_legacyNullable=function(){return sj(this,2)};g.setProfileId=function(a){return rj(this,2,a)};g.hasProfileId=function(){return $k(this,2)};
hFc.repeatedFields_=[1];var iFc=function(){},jFc=function(){return!1},kFc=function(){this.experiments_=(new hFc).setProfileId(HO.userProfileId);this.peopleApiEnv_=HO.apiEnv;this.delegatorId_=this.userEmail_="";this.userKeys_=new Set;this.onAuthError_=iFc;this.offlineStorage_=null;this.apiKey_=this.clearcutUrl_="";this.isOffline_=jFc;this.customDataConfig_=null;this.isOrgStateEnabled_=!1;var a=HO.userEmail;this.userEmail_=a||"";a&&this.userKeys_.add(String(Rs(a)))};g=kFc.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||iFc};g.getApiKey=function(){return this.apiKey_};
g.setApiKey=function(a){this.apiKey_=a;return this};var G_=function(a,b){b!=null||(b=Yc(ze));var c=new kFc;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 fFc;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 eic(c.getPeopleApiEnv(),new fic(""))}});this.peopleStore=b.peopleStore;this.environmentConfig=b.environmentConfig};G_.\u0275fac=function(a){return new (a||G_)(n(cFc),n(ze))};G_.\u0275prov=Hc({token:G_,factory:G_.\u0275fac});var H_=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 Xu;this.sessionOptions=(new Bs).setFilter(lFc);this.inputSearchDelay=200;this.destroyed$=new W.ReplaySubject(1);this.inputChanged$=new W.ReplaySubject(1)};H_.prototype.ngOnDestroy=function(){this.destroyed$.next();this.destroyed$.complete();this.autocomplete.dispose()};
H_.prototype.ngOnInit=function(){var a=this,b=this.clientConfig.autocompleteFactory.createConfig(this.peopleKitService.environmentConfig);U9a(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=NFa(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});mFc(this.autocomplete,function(c){a.selectionChange.emit(c);a.autocomplete.report(4)});this.inputChanged$.pipe(bf(this.inputSearchDelay)).subscribe(function(){a.search()})};H_.prototype.search=function(){var a=this;this.zone.runOutsideAngular(function(){a.autocomplete.search(a.inputEl.nativeElement.value,a.inputEl.nativeElement)})};
H_.prototype.cancel=function(){var a=this;this.zone.runOutsideAngular(function(){a.autocomplete.cancel()})};H_.\u0275fac=function(a){return new (a||H_)(A(cFc),A(gh),A(G_),A(Rd),A(ze),A(wu))};
H_.\u0275dir=fd({type:H_,selectors:[["input","peoplekitAutocomplete",""]],hostBindings:function(a,b){a&1&&M("input",function(){return b.inputChanged$.next()})("focus",function(){return b.search()})("blur",function(){return b.cancel()})},inputs:{config:[0,"peoplekitAutocompleteConfig","config"],sessionOptions:[0,"peoplekitSearchSessionOptions","sessionOptions"],inputSearchDelay:[0,"peoplekitAutocompleteInputSearchDelay","inputSearchDelay"]},outputs:{selectionChange:"peoplekitAutocompleteSelectionChange"},
exportAs:["peoplekitAutocomplete"]});var lFc=P9a(1);var nFc=["popOver"],oFc=["inputBox"],I_=function(a){this.defaultAutocompleteConfig=a;this.mergedAutocompleteConfig=Object.assign({},pFc,this.defaultAutocompleteConfig);this.displayUnder=!1;this.initialInputValue="";this.openPopOverOnInit=!1;this.closed=new Xu;this.inputValue="";this.sessionOptions=qFc};I_.prototype.ngAfterViewInit=function(){this.openPopOverOnInit&&this.openPopOver(this.initialInputValue)};
I_.prototype.ngOnChanges=function(a){a.autocompleteConfig&&(this.mergedAutocompleteConfig=Object.assign({},pFc,this.defaultAutocompleteConfig,this.autocompleteConfig))};I_.prototype.openPopOver=function(a){var b=this;this.inputValue=a;this.popOver.open();setTimeout(function(){var c;(c=b.inputBox)==null||c.nativeElement.select()})};I_.prototype.onPopOverClose=function(a){this.closed.emit(a===0?this.inputValue:void 0);this.inputValue=""};I_.\u0275fac=function(a){return new (a||I_)(A(rFc,8))};
I_.\u0275cmp=p({type:I_,selectors:[["onedev-user-picker-panel","anchor",""]],viewQuery:function(a,b){a&1&&(fg(nFc,7),fg(oFc,5));if(a&2){var c;jg(c=kg())&&(b.popOver=c.first);jg(c=kg())&&(b.inputBox=c.first)}},inputs:{anchor:"anchor",autocompleteConfig:"autocompleteConfig",displayUnder:"displayUnder",initialInputValue:"initialInputValue",openPopOverOnInit:"openPopOverOnInit"},outputs:{closed:"closed"},features:[td],attrs:["anchor",""],decls:4,vars:3,consts:[["popOver","onedevPopOverEditPanel"],["autocompleteTemplate",
""],["inputBox",""],[3,"closedWithAction","anchor","displayUnder","editorTemplate"],["peoplekitAutocomplete","",3,"peoplekitAutocompleteSelectionChange","ngModelChange","peoplekitAutocompleteConfig","peoplekitSearchSessionOptions","ngModel"]],template:function(a,b){if(a&1){var c=u();F(0,"onedev-pop-over-edit-panel",3,0);M("closedWithAction",function(d){v(c);return x(b.onPopOverClose(d))});G();C(2,V9a,2,3,"ng-template",null,1,yg)}a&2&&(a=Q(3),D("anchor",b.anchor)("displayUnder",b.displayUnder)("editorTemplate",
a))},dependencies:[mh,qy,yy,B_,H_],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 rFc=new md("user-picker-autocomplete-config"),pFc={showSuggestions:!0,moveAutocompleteAboveAnchorIfOffscreen:!0,density:2},qFc=(new Bs).setFilter(T9a(P9a(1),new dFc(function(a){return a.indexOf("-pager")>=0||a.indexOf("+pager")>=0||a.indexOf("lifeguard-ng")>=0})));var X9a=function(a){return{$implicit:a}},sFc=0,J_=function(){this.val="";this.disabled=!1;this.emailChange=new Xu;this.popOverOpen=this.active=!1;this.contentId="onedev-user-picker-"+sFc;this.onChange=function(){};this.onTouched=function(){};sFc++};X(J_,IV);g=J_.prototype;g.openPopOver=function(){this.disabled||(this.onTouched(),this.popOver.openPopOver(this.email),this.popOverOpen=!0)};
g.onPopOverClose=function(a){a!=null&&a!==this.email&&(this.onChange(a),this.emailChange.emit(a),this.email=a);this.popOverOpen=!1};g.contentAriaLabelledBy=function(){if(this.labelledById)return this.labelledById+" "+this.contentId};g.writeValue=function(a){a!=null&&(this.val=a)};g.isActive=function(){return this.active||this.popOverOpen};g.registerOnChange=function(a){this.onChange=a};g.registerOnTouched=function(a){this.onTouched=a};g.setDisabledState=function(a){this.disabled=a};
ea.Object.defineProperties(J_.prototype,{email:{configurable:!0,enumerable:!0,get:function(){return this.val},set:function(a){a!==this.val&&this.writeValue(a)}}});J_.\u0275fac=function(a){return new (a||J_)};
J_.\u0275cmp=p({type:J_,selectors:[["onedev-user-picker"]],viewQuery:function(a,b){a&1&&fg(I_,7);if(a&2){var c;jg(c=kg())&&(b.popOver=c.first)}},inputs:{email:"email",disabled:"disabled",labelledById:"labelledById",selectedUserTemplate:"selectedUserTemplate",autocompleteConfig:"autocompleteConfig"},outputs:{emailChange:"emailChange"},exportAs:["onedevUserPicker"],features:[qg([{provide:IV,useExisting:Uc(function(){return J_}),multi:!0},{provide:jy,useExisting:Uc(function(){return J_}),multi:!0}]),
zf],decls:7,vars:9,consts:[["anchor",""],["plainText",""],[1,"unstyled-button",3,"focus","blur","click"],[4,"ngIf","ngIfElse"],["class","edit-icon","xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24",4,"ngIf"],[3,"closed","anchor","autocompleteConfig"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24",1,"edit-icon"],["d","M20.71,5.63l-2.34-2.34C18.18,3.1,17.92,3,17.67,3c-0.26,0-0.51,0.1-0.71,0.29L3,17.25L3,21h3.75L20.71,7.04 C21.1,6.65,21.1,6.02,20.71,5.63z M5.92,19H5l0-0.92L15.54,7.53l0.92,0.92L5.92,19z"]],
template:function(a,b){if(a&1){var c=u();F(0,"button",2,0);M("focus",function(){v(c);return x(b.active=!0)})("blur",function(){v(c);return x(b.active=!1)})("click",function(){v(c);return x(b.openPopOver())});C(2,Y9a,2,4,"ng-container",3)(3,Z9a,1,1,"ng-template",null,1,yg)(5,$9a,2,0,"svg",4);G();F(6,"onedev-user-picker-panel",5);M("closed",function(e){v(c);return x(b.onPopOverClose(e))});G()}if(a&2){a=Q(1);var d=Q(4);Kf("active",b.isActive());Bf("id",b.contentId)("aria-labelledby",b.contentAriaLabelledBy());
z(2);D("ngIf",b.selectedUserTemplate)("ngIfElse",d);z(3);D("ngIf",!b.disabled);z();D("anchor",a)("autocompleteConfig",b.autocompleteConfig)}},dependencies:[Gv,Kv,I_],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 tFc=["picker"],K_=function(){this.disabled=!1;this.emailChange=new XF;this.userEmail=""};X(K_,IV);K_.prototype.openPopOver=function(){this.picker.openPopOver()};K_.prototype.isActive=function(){return this.picker.isActive()};ea.Object.defineProperties(K_.prototype,{user:{configurable:!0,enumerable:!0,set:function(a){this.userEmail=sm(a)||""}}});K_.\u0275fac=function(){var a;return function(b){return(a||(a=Od(K_)))(b||K_)}}();
K_.\u0275cmp=p({type:K_,selectors:[["b-user-picker"]],viewQuery:function(a,b){a&1&&fg(tFc,7);if(a&2){var c;jg(c=kg())&&(b.picker=c.first)}},inputs:{user:"user",teamId:"teamId",disabled:"disabled",labelledById:"labelledById"},outputs:{emailChange:"emailChange"},exportAs:["bUserPicker"],features:[qg([{provide:IV,useExisting:Uc(function(){return K_}),multi:!0}]),zf],decls:4,vars:4,consts:[["picker","onedevUserPicker"],["userChip",""],[3,"emailChange","email","disabled","labelledById","selectedUserTemplate"],
[3,"email","teamId","enableSmallChip",4,"ngIf"],[3,"email","teamId","enableSmallChip"]],template:function(a,b){if(a&1){var c=u();F(0,"onedev-user-picker",2,0);M("emailChange",function(d){v(c);return x(b.emailChange.emit(d))});G();C(2,b$a,1,1,"ng-template",null,1,yg)}a&2&&(a=Q(3),D("email",b.userEmail)("disabled",b.disabled)("labelledById",b.labelledById)("selectedUserTemplate",a))},dependencies:[Gv,iN,J_],styles:["[_nghost-%COMP%]     .user-chip-small, [_nghost-%COMP%]     .internal-non-team-member-chip{width:100%}  .peoplekit-autocomplete-anchor{z-index:1001}/*# sourceMappingURL=user_picker.css.map */"]});var uFc=function(a){return{"internal-only":a}},L_=function(a,b,c,d,e){Z.call(this);var f=this;this.session=a;this.userPreferencesManager=b;this.sloStatusHelpersService=c;this.paths=d;this.sloFridge=e;this.onSloStartTimeChange=new XF;this.onSloEndTimeChange=new XF;this.showInternalOnlyFieldBadge=!1;this.providedSloId$=new W.ReplaySubject(1);this.slo$=this.providedSloId$.pipe(pf(function(h){return f.sloFridge.watchOne(h)}));this.hasClosureSlo=this.isSloEndEditTimePickerOpen=this.isSloStartEditTimePickerOpen=
this.enableSloEndTime=this.hasSloEndTime=this.hasSloStartTime=this.isAccordionExpanded=!1};X(L_,Z);L_.\u0275dir=Z.\u0275dir;L_.prototype.ngOnInit=function(){var a=this;vFc(this);this.userPreferencesManager.layoutPreferences$.pipe(qf(this.destroyed$)).subscribe(function(b){a.isAccordionExpanded=!!b.expandIssueSlo})};L_.prototype.ngOnChanges=function(){this.sloId&&this.providedSloId$.next(this.sloId);vFc(this)};
var vFc=function(a){a.hasSlo=!!a.sloStatus&&Iac(a.sloStatus);a.hasClosureSlo=a.hasSlo&&Jac(a.sloStatus,"CLOSURE");a.enableSloEndTime=a.session.getFlag("enableSloEndTime");var b,c;(c=a.sloStatus)?(c=c.closureBounds,c=mJ(kj(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=zo.editSlo.makeHref(a.sloId):a.editSloLink=void 0;
a.componentId?a.componentSloLink=zo.editComponent.makeHref(a.componentId):a.componentSloLink=void 0},wFc=function(a){a.isAccordionExpanded=!a.isAccordionExpanded;p9b(a.userPreferencesManager,{expandIssueSlo:a.isAccordionExpanded}).pipe(qf(a.destroyed$)).subscribe();Gn("issueSlo","toggle",a.isAccordionExpanded?"open":"close")};L_.prototype.updateSloStartTime=function(a){this.onSloStartTimeChange.next(a)};L_.prototype.updateSloEndTime=function(a){this.onSloEndTimeChange.next(a)};
L_.prototype.trackOpenSlo=function(){Gn("editSlo","open","fromIssueSloBox")};L_.\u0275fac=function(a){return new (a||L_)(A(Ir),A(rH),A(lJ),A(pN),A(aH))};
L_.\u0275cmp=p({type:L_,selectors:[["b-issue-slo-box"]],inputs:{sloId:"sloId",componentId:"componentId",sloStatus:"sloStatus",sloStartTime:"sloStartTime",sloEndTime:"sloEndTime",isEditable:"isEditable",issueCreationTimestamp:"issueCreationTimestamp",showInternalOnlyFieldBadge:"showInternalOnlyFieldBadge"},outputs:{onSloStartTimeChange:"onSloStartTimeChange",onSloEndTimeChange:"onSloEndTimeChange"},features:[zf,td],decls:19,vars:23,consts:[["trigger","cdkOverlayOrigin"],[1,"slo-container",3,"ngClass"],
[1,"issue-slo-box-title",3,"click"],["svgIcon","shield_person_24px","class","icon-xs internal-only-badge","matTooltip","Visible to internal only","aria-label","Visible to internal only",4,"ngIf"],[1,"slo-body"],[1,"slo-status"],[3,"hidden"],[3,"sloStatus","sloStartTime","sloEndTime","includeSloMetric","includeObjective"],[3,"sloStatus","sloStartTime","sloEndTime","includeNoSlo"],["mat-icon-button","","aria-label","Toggle the detailed SLO status","matTooltip","Toggle the detailed SLO status",1,"expand-button",
"small",3,"click"],["svgIcon","arrow-down","class","icon-s",4,"ngIf"],["svgIcon","arrow-up","class","icon-s",4,"ngIf"],[1,"slo-actions",3,"hidden"],["class","slo-action","id","start-time-row",4,"ngIf"],["class","slo-action","id","end-time-row",4,"ngIf"],["class","slo-action",4,"ngIf"],["svgIcon","shield_person_24px","matTooltip","Visible to internal only","aria-label","Visible to internal only",1,"icon-xs","internal-only-badge"],["svgIcon","arrow-down",1,"icon-s"],["svgIcon","arrow-up",1,"icon-s"],
["id","start-time-row",1,"slo-action"],["href","http://go/buganizer/guides/defer-slos","target","_blank","aria-label","View help page on deferring slos","matTooltip","View help page on deferring slos",1,"clear-link"],[1,"slo-edit"],["role","button","tabindex","0","aria-label","Modify the slo start date value","matTooltip","Modify the slo start date value","cdkOverlayOrigin","",1,"bv2-metadata-link",3,"keydown.enter","keydown.space","click"],[4,"ngIf"],["cdkConnectedOverlay","",3,"cdkConnectedOverlayOrigin",
"cdkConnectedOverlayOpen"],["mode","date",3,"timestamp"],[3,"closePicker","sloEditCommit","sloStatus","sloEditTime"],["id","end-time-row",1,"slo-action"],["role","button","tabindex","0","aria-label","Modify the slo end date value","matTooltip","Modify the slo end date value","cdkOverlayOrigin","",1,"bv2-metadata-link",3,"click","keydown.enter","keydown.space"],[1,"slo-action"],["aria-label","Navigate to the applied slo page","matTooltip","Navigate to the applied slo page","class","slo-link bv2-metadata-link slo-definition",
3,"click",4,"ngIf"],["aria-label","Navigate to the applied slo page","matTooltip","Navigate to the applied slo page",1,"slo-link","bv2-metadata-link","slo-definition",3,"click"],["aria-label","Open page to select an slo","matTooltip","Open page to select an slo",1,"bv2-metadata-link","bv2-metadata-tool","slo-definition",3,"click"]],template:function(a,b){a&1&&(F(0,"div",1)(1,"span",2),M("click",function(){return wFc(b)}),F(2,"label"),R(3,"SLO Status"),G(),C(4,c$a,1,0,"mat-icon",3),G(),F(5,"div",4)(6,
"div",5)(7,"div",6),H(8,"b-aggregated-slo-status-indicator",7),G(),F(9,"div",6),H(10,"b-slo-status-summary",8),G(),F(11,"button",9),M("click",function(){return wFc(b)}),C(12,d$a,1,0,"mat-icon",10)(13,e$a,1,0,"mat-icon",11),G()(),F(14,"div",12),C(15,i$a,9,4,"div",13)(16,n$a,10,5,"div",14)(17,p$a,4,3,"div",15)(18,q$a,3,1,"div",15),G()()());a&2&&(D("ngClass",ug(21,uFc,b.showInternalOnlyFieldBadge)),z(4),D("ngIf",b.showInternalOnlyFieldBadge),z(3),D("hidden",b.isAccordionExpanded),z(),D("sloStatus",b.sloStatus)("sloStartTime",
b.sloStartTime)("sloEndTime",b.sloEndTime)("includeSloMetric",!0)("includeObjective",!0),z(),D("hidden",!b.isAccordionExpanded),z(),D("sloStatus",b.sloStatus)("sloStartTime",b.sloStartTime)("sloEndTime",b.sloEndTime)("includeNoSlo",!0),z(),Bf("aria-expanded",b.isAccordionExpanded),z(),D("ngIf",!b.isAccordionExpanded),z(),D("ngIf",b.isAccordionExpanded),z(),D("hidden",!b.isAccordionExpanded),z(),D("ngIf",b.isEditable),z(),D("ngIf",b.enableSloEndTime&&b.isEditable),z(),D("ngIf",b.editSloLink),z(),D("ngIf",
!b.editSloLink&&b.componentSloLink))},dependencies:[Ev,Gv,zB,LH,OH,oE,XY,TM,OY,pX,xx,wx,Lv],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 xFc={MISSING:"MISSING",DELETED:"DELETED",VALID:"VALID"};var M_=function(a,b,c,d,e,f,h,k,q){Z.call(this);var t=this;this.data=a;this.dialogRef=b;this.teamsService=c;this.componentActions=d;this.userPreferencesManager=e;this.snackBar=f;this.analytics=h;this.errorHandler=k;this.componentFridge=q;this.teamSuggestionIds=[];this.header="";this.teamOptions=[];this.teamAction="CHANGE";this.WarningType=xFc;this.warningType=a.warningType;this.componentId=a.componentId;this.parentComponentId=a.parentComponentId;this.teamSuggestionIds=a.teamSuggestionIds;this.selectedTeam=
new yFc(this.teamSuggestionIds[0]||"0",[]);this.componentSetting=zo.editComponent.makeHref(this.componentId);this.suggestedTeams$=l9b(this.teamsService,this.teamSuggestionIds).pipe(y(function(w){for(var B=[],E=l(t.teamSuggestionIds),I=E.next();!I.done;I=E.next()){I=I.value;var J=w.get(I);J&&B.push(new yFc(I,J.collapsedPathNames))}return B}),of([]));this.myTeams$=iH(this.teamsService,"").pipe(y(function(w){return w.map(function(B){return new yFc(B.teamId,B.pathNames)})}));(0,W.combineLatest)([this.suggestedTeams$,
this.myTeams$]).pipe(y(function(w){var B=l(w);w=B.next().value;B=B.next().value;return[].concat(r(w),r(B))}),y(CAa(function(w){return w.teamId})),qf(this.destroyed$)).subscribe(function(w){t.teamOptions=w;t.selectedTeam=w[0]})};X(M_,Z);M_.\u0275dir=Z.\u0275dir;M_.prototype.ngOnInit=function(){this.warningType==="MISSING"?this.header="Add team to the component":this.warningType==="DELETED"&&(this.header="Change team mapping for this component")};
M_.prototype.confirm=function(){var a=this;if(this.teamAction==="CHANGE")this.parentComponentId>0?this.componentActions.get(this.parentComponentId).then(function(c){var d;zFc(a,((d=c.team)==null?void 0:d.id)||"0",a.selectedTeam.teamId)}):zFc(this,"0",this.selectedTeam.teamId);else{var b=qi(this.userPreferencesManager.teamWarningPreferencesSubject$.value);b.componentTeamWarnings.push({componentId:this.componentId,dismissMillis:(new Date).getTime()});u9b(this.userPreferencesManager,b).pipe(qf(this.destroyed$)).subscribe(function(){a.analytics.trackEvent("teamWarning",
"dismiss","componentId",a.componentId);var c;(c=a.dialogRef)==null||c.close()},function(){})}};var zFc=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)})};
M_.prototype.selectOption=function(a){this.selectedTeam=a};M_.prototype.trackClick=function(a){this.analytics.trackEvent("teamWarning","click",a)};M_.prototype.getMomaTeamLink=function(){return"https://moma.corp.google.com/team/"+this.selectedTeam.teamId};M_.\u0275fac=function(a){return new (a||M_)(A(vI),A(pI),A(gH),A(UU),A(rH),A(XD),A(bG),A(uE),A(CC))};
M_.\u0275cmp=p({type:M_,selectors:[["b-team-warning-dialog"]],features:[zf],decls:11,vars:5,consts:[["optionTemplate",""],["emptyOption",""],["mat-dialog-title",""],["mat-dialog-content","",4,"ngIf"],["aria-label","Quick team actions",3,"ngModel","ngModelChange",4,"ngIf"],["class","suggested-teams",4,"ngIf"],["mat-button","","mat-dialog-close","",1,"gmat-button","medium"],["mat-flat-button","","cdkFocusInitial","",1,"gmat-button",3,"click"],["mat-dialog-content",""],["target","_blank",3,"click","href"],
["target","_blank",3,"href"],["aria-label","Quick team actions",3,"ngModelChange","ngModel"],["value","NONE"],["value","CHANGE"],[1,"suggested-teams"],[3,"valueChange","disabled","value","options","includeEmptyOption","optionTemplate"],["mat-icon-button","","target","_blank","matTooltip","Go to Moma Team page.",1,"gmat-button","small",3,"click"],["svgIcon","pop-out",1,"icon-s"],[4,"ngIf","ngIfElse"],[1,"suggested-team-option"]],template:function(a,b){a&1&&(F(0,"h1",2),R(1),G(),C(2,s$a,5,1,"div",3)(3,
t$a,5,1,"div",3)(4,u$a,7,1,"mat-radio-group",4)(5,y$a,6,6,"div",5),F(6,"mat-dialog-actions")(7,"button",6),R(8," Cancel "),G(),F(9,"button",7),M("click",function(){return b.confirm()}),R(10," Confirm "),G()());a&2&&(z(),lg(b.header),z(),D("ngIf",b.warningType===b.WarningType.MISSING),z(),D("ngIf",b.warningType===b.WarningType.DELETED),z(),D("ngIf",b.warningType===b.WarningType.MISSING),z(),D("ngIf",b.teamOptions.length>0))},dependencies:[Gv,zB,qy,yy,IH,Rx,Ux,xI,zI,BI,AI,uR,vR,LH,OH,JV],styles:["mat-radio-button[_ngcontent-%COMP%]{margin-top:10px}.suggested-teams[_ngcontent-%COMP%]{display:flex;flex-wrap:nowrap;align-items:center}[_nghost-%COMP%]     onedev-single-select button{margin-top:5px;border-color:#bdc1c6}  span.suggested-team-option{display:inline-block;width:490px}"]});
var yFc=function(a,b){this.teamId=a;this.teamPath=b.join(" > ")};var N_=function(a,b){Z.call(this);this.matDialogService=a;this.analytics=b;this.teamSuggestions=[];this.messageOnly=!1;this.updateTeam=new XF};X(N_,Z);N_.\u0275dir=Z.\u0275dir;N_.prototype.ngOnInit=function(){};N_.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")};
N_.prototype.openDialog=function(){var a=this;this.analytics.trackEvent("teamWarning","open");qI(this.matDialogService.open(M_,{width:"580px",data:{warningType:this.warningType,componentId:this.componentId,parentComponentId:this.parentComponentId,teamSuggestionIds:this.teamSuggestions.map(function(b){return String(b.teamId)})}})).pipe(qf(this.destroyed$)).subscribe(function(b){b&&a.updateTeam.emit(b)})};N_.\u0275fac=function(a){return new (a||N_)(A(wI),A(bG))};
N_.\u0275cmp=p({type:N_,selectors:[["b-team-warning"]],inputs:{warningType:"warningType",componentId:"componentId",parentComponentId:"parentComponentId",teamSuggestions:"teamSuggestions",messageOnly:"messageOnly"},outputs:{updateTeam:"updateTeam"},features:[zf,td],decls:4,vars:2,consts:[["messageType","caution","format","app"],[4,"ngIf"],["format","fill","mat-button","",3,"click"]],template:function(a,b){a&1&&(F(0,"b-callout",0)(1,"b-callout-body"),R(2),G(),C(3,z$a,3,1,"b-callout-actions",1),G());
a&2&&(z(2),S(" ",b.warningMessage," "),z(),D("ngIf",!b.messageOnly))},dependencies:[jQ,MQ,NQ,Gv],encapsulation:2});var AFc=new md("DevopsGraphLogger",{providedIn:"root",factory:function(){return Ei}}),BFc=new md("DEV_GRAPH",{providedIn:"root",factory:function(){var a;return fe(function(b){switch(b.nextAddress){case 1:return ge(b,2),he(b,C$a(),4);case 4:a=b.yieldResult;Ft(b,3);break;case 2:return ke(b),b.return();case 3:return ge(b,5),he(b,a.loadGraph(),7);case 7:Ft(b,6);break;case 5:return ke(b),b.return();case 6:return b.return(google.corp.devops.tools.graph)}})}});var O_=function(a,b,c,d){var e=this;this.session=a;this.theme=b;this.logger=c;this.graphBuilder=d;this.open$=new W.Subject;this.close$=new W.Subject;this.getContainer=function(){return document.getElementById("graph-sidebar-host")};this.onGraphClose=function(){var f=e.getContainer();f!=null&&(f.classList.remove("open"),e.close$.next())};this.onGraphOpen=function(){var f=e.getContainer();f!=null&&(f.classList.add("open"),e.open$.next())};this.init()};
O_.prototype.init=function(){var a=this,b,c,d,e,f;return fe(function(h){if(h.nextAddress==1)return b=a.getContainer(),!b||a.graphService&&a.graphController?h.return():he(h,a.graphBuilder,2);c=h.yieldResult;d=D$a(a.session.getEnvironmentType());if(e=c.createService({environment:d}))f=a.theme.clientDarkmodeSubject.getValue(),a.graphService=e,a.graphController=e.createController({element:b,onClose:a.onGraphClose,onOpen:a.onGraphOpen,theme:f?"dark":void 0}),a.theme.clientDarkmode$.subscribe(function(k){var q;
(q=a.graphController)==null||q.setTheme(k?"dark":"light")});le(h)})};var CFc=function(a,b){var c;return fe(function(d){switch(d.nextAddress){case 1:return ge(d,2),he(d,a.init(),4);case 4:return a.graphService==null?d.return(new Set):he(d,a.graphService.getAvailableIssueContexts(Number(b)),6);case 6:return d.return(d.yieldResult);case 5:Ft(d,0);break;case 2:return c=ke(d),a.logger(c),d.return(new Set)}})};
O_.prototype.openSidebar=function(a,b){var c=this,d;return fe(function(e){switch(e.nextAddress){case 1:return he(e,c.init(),2);case 2:if(!c.graphController)return e.return();ge(e,3);return he(e,c.graphController.openIssueContext(Number(a),b),5);case 5:Ft(e,0);break;case 3:d=ke(e),c.logger(d),le(e)}})};
O_.prototype.close=function(){var a=this,b;return fe(function(c){switch(c.nextAddress){case 1:return he(c,a.init(),2);case 2:if(!a.graphController)return c.return();ge(c,3);return he(c,a.graphController.close(),5);case 5:Ft(c,0);break;case 3:b=ke(c),a.logger(b),le(c)}})};O_.\u0275fac=function(a){return new (a||O_)(n(Ir),n(jV),n(AFc),n(BFc))};O_.\u0275prov=Hc({token:O_,factory:O_.\u0275fac,providedIn:"root"});var P_=function(a,b,c,d,e,f,h,k){Z.call(this);var q=this;this.devopsGraph=a;this.paramsService=b;this.analytics=c;this.butterBar=d;this.router=e;this.route=f;this.activeSession=h;this.contextSensitiveRegistry=k;this.id$=this.contextSensitiveRegistry.getIssueId().pipe(y(function(t){return t||void 0}));this.contexts$=this.id$.pipe(pf(function(t){return fe(function(w){return q.devopsGraph.getContainer()!=null&&t?w.return(CFc(q.devopsGraph,t).then(function(B){return{issueId:t,availablePanels:B}})):w.return(void 0)})}),
mf({refCount:!1,bufferSize:1}));this.availablePanels$=this.contexts$.pipe(y(function(t){return t?t.availablePanels:new Set}));this.shouldShowInsightsGraphMenu$=this.contexts$.pipe(y(function(t){return!!t&&t.availablePanels.size>0&&q.activeSession.isInternalSession()&&q.devopsGraph.getContainer()!=null}));this.shouldShowInsightsGraphButton$=this.contexts$.pipe(y(function(t){return!!t&&t.availablePanels.size>0&&q.activeSession.isInternalSession()&&q.devopsGraph.getContainer()!=null&&t.availablePanels.has("deployments")}));
this.openSidebar.bind(this);this.subscriptions.add(this.contexts$.subscribe(function(t){if(t){t=t.availablePanels;q.track("ingress-view-"+(t.size>0?"enabled":"disabled"));t.has("deployments")&&q.track("ingress-view-deployments-enabled");var w=q.paramsService.params.showInsights;w&&(w==="default"?t.size>0?q.openSidebar():q.butterBar.showWarning("Could not open Insights Sidebar: no data for this issue. See go/g3g-guide-buganizer."):t.has(w)?q.openSidebar(w):q.butterBar.showWarning("Could not open "+
w+" Insights Sidebar: no data for this issue. See go/g3g-guide-buganizer."))}else q.devopsGraph.close()}));this.subscriptions.add(this.devopsGraph.close$.subscribe(function(){DFc(q,null)}))};X(P_,Z);P_.\u0275dir=Z.\u0275dir;P_.prototype.onClickButton=function(a){this.analytics.trackEvent("sidebar","ingress-click");this.openSidebar(a)};
P_.prototype.openSidebar=function(a){var b=this,c,d,e,f;return fe(function(h){c=fo(b.contexts$);if(!c)return h.return();d=c;e=d.issueId;DFc(b,(f=a)!=null?f:"default");return h.return(b.devopsGraph.openSidebar(e,{panel:a}))})};P_.prototype.track=function(a){this.analytics.trackEvent("sidebar",a)};var DFc=function(a,b){a.router.navigationTransitions.currentNavigation==null&&a.router.navigate([],{relativeTo:a.route,queryParams:{showInsights:b},queryParamsHandling:"merge",replaceUrl:!0,preserveFragment:!0})};
P_.\u0275fac=function(a){return new (a||P_)(n(O_),n(vH),n(bG),n(sE),n(pB),n(ai),n(Ir),n(wH))};P_.\u0275prov=Hc({token:P_,factory:P_.\u0275fac,providedIn:"root"});var J$a=function(){return[]},G$a=function(a){return[a]},zab=function(a){return{$implicit:a}},Q_=function(a,b,c,d,e,f,h,k,q,t,w,B,E,I,J){var N=this;this.activeSession=a;this.editIssueService=b;this.issueFridge=c;this.issuePermissionService=d;this.issueDetailsBrain=e;this.constants=f;this.refreshMonitor=h;this.userPreferencesManager=k;this.documentationLinks=q;this.workspaceService=t;this.changelistApi=w;this.issueMarkAsDuplicateDialogService=B;this.analytics=E;this.issueInsightsSidebarService=I;this.issueLimits=
J;this.issueId$=new W.ReplaySubject(1);this.distinctIssueId$=this.issueId$.pipe(df());this.issue$=this.distinctIssueId$.pipe(pf(function(P){return N.editIssueService.editableIssue$(P)}));this.enablePeoplekitAc=this.activeSession.getFlag("enablePeoplekitUserAc");this.isGerritEnabled=this.activeSession.getFlag("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=Sq;this.trackCustomField=function(P,U){return"{"+U.componentId+", "+U.customFieldId+"}"};this.FieldType=Ruc;this.ListFieldType=Jvc;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.isWithinExternalComponent$=this.issuePermissionService.isWithinExternalComponent$;this.shouldDisplayWtdmUi$=this.issuePermissionService.isWithinExternalComponent$.pipe(y(function(P){return!N.activeSession.isExternalSession()&&!P}));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(y(r$a));this.component$=this.issueDetailsBrain.component$;this.effort$=this.issueDetailsBrain.effort$;this.accessLimitLevel$=
this.issueDetailsBrain.accessLimitLevel$;this.issueFields$=this.distinctIssueId$.pipe(y(function(P){return N.editIssueService.issueFields(P)}),mf({refCount:!0,bufferSize:1}));this.isForgottenFourPrimary$=this.issueFields$.pipe(pf(function(P){return P.isForgottenFourPrimary$}));this.showHiddenFieldsLabel$=this.issueFields$.pipe(pf(function(P){return P.showHiddenFieldsLabel$}));this.hasHiddenFields$=this.issueFields$.pipe(pf(function(P){return P.hasHiddenFields$}));this.isChangelistPrimary$=this.issueFields$.pipe(pf(function(P){return P.isChangelistPrimary$}));
this.isSeverityPrimary$=this.issueFields$.pipe(pf(function(P){return P.isSeverityPrimary$}));this.isSloStatusPrimary$=this.issueFields$.pipe(pf(function(P){return P.isSloStatusPrimary$}));this.hiddenCustomFields$=this.issueFields$.pipe(pf(function(P){return P.hiddenCustomFields$}));this.visibleCustomFields$=this.issueFields$.pipe(pf(function(P){return P.visibleCustomFields$}));this.issueQuickActions$=this.distinctIssueId$.pipe(y(function(P){return N.editIssueService.issueQuickActions(P)}),mf({refCount:!0,
bufferSize:1}));this.issueAssigneeQuickAction$=this.issueQuickActions$.pipe(pf(function(P){return P.issueAssigneeQuickAction$}));this.issueStatusQuickAction$=this.issueQuickActions$.pipe(pf(function(P){return P.issueStatusQuickAction$}));this.trackerId$=this.component$.pipe(y(function(P){return P==null?void 0:P.trackerId}));this.priorityChoices=this.constants.priorities.map(function(P){return{value:P,displayText:P,hotkey:A$a(P)}});this.severityChoices=this.constants.severities.map(function(P){return{value:P,
displayText:P}});this.typeChoices=this.constants.editIssueTypeChoices;this.teamHovercardInputs$=(0,W.combineLatest)([this.issueDetailsBrain.componentId$,this.teamId$]).pipe(y(function(P){var U=l(P);P=U.next().value;U=U.next().value;return{teamId:U?String(U):"0",componentId:P?String(P):"0"}}));this.isTeamWarningDismissed$=(0,W.combineLatest)([this.issue$,this.userPreferencesManager.preferences$]).pipe(y(function(P){P=l(P);var U=P.next().value;var ba,ma;return(ba=P.next().value.teamWarningPreferences)==
null?void 0:(ma=ba.componentTeamWarnings)==null?void 0:ma.some(function(na){return na.componentId===U.componentId})}));this.shouldDisplayTeamSuggestions$=(0,W.combineLatest)([this.issuePermissionService.userIsComponentAdmin$,this.isTeamWarningDismissed$,this.teamWarningType$]).pipe(y(function(P){var U=l(P);P=U.next().value;var ba=U.next().value;U=U.next().value;return P&&!ba&&(U==="MISSING"||U==="DELETED")}));this.statusChoices$=this.canonicalIssueId$.pipe(y(function(P){return[].concat(r(h5b.filter(function(U){return U.value!==
"DUPLICATE"})),[{value:"DUPLICATE",displayText:P?"Duplicate of "+P:"Duplicate"}])}),y(function(P){return P.map(function(U){return Object.assign({},U,{hotkey:B$a(U.value)})})}));this.workspaces$=this.distinctIssueId$.pipe(pf(function(P){return PBc(N.workspaceService,P)}),mf({refCount:!0,bufferSize:1}));this.pendingChangelists$=m8b(this.refreshMonitor,this.distinctIssueId$).pipe(pf(function(P){return N.changelistApi.getPendingChangelistsForIssue(P)}),y(function(P){return P.changelistNumbers.map(String)}),
y(function(P){return{cls:P,hasError:!1}}),$e(function(){return(0,W.of)({cls:[],hasError:!0})}),mf({refCount:!0,bufferSize:1}));this.pendingCodeChanges$=this.issue$.pipe(pf(function(P){return N.activeSession.isExternalSession()?(0,W.of)({issue:P,changelists:{cls:[],hasError:!1}}):N.pendingChangelists$.pipe(y(function(U){return{issue:P,changelists:U}}))}),y(function(P){var U=P.issue;P=P.changelists;U=I$b(U);return{changes:[].concat(r(P.cls),r(U)),hasError:P.hasError}}));this.USER_FIELD_HOVERCARD_CONFIG=
Object.assign({},new cI,{position:[j$b]});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(y(function(P){var U;return(P==null?void 0:(U=P.accessLimit)==null?void 0:U.accessLevel)==="INTERNAL"}));this.reconcileView={assignee:function(P){var U,ba;P.value=(ba=(U=fo(N.issue$))==null?void 0:U.assignee)!=null?ba:""},reporter:function(P){var U,ba;
P.value=(ba=(U=fo(N.issue$))==null?void 0:U.reporter)!=null?ba:""},verifier:function(P){var U,ba;P.value=(ba=(U=fo(N.issue$))==null?void 0:U.verifier)!=null?ba:""},ccs:function(P){var U,ba;P.values=(ba=(U=fo(N.issue$))==null?void 0:U.cc)!=null?ba:[]},collaborators:function(P){var U,ba;P.collaborators=(ba=(U=fo(N.issue$))==null?void 0:U.collaborators)!=null?ba:[]},issueType:function(P){var U,ba;P.value=(ba=(U=fo(N.issue$))==null?void 0:U.type)!=null?ba:null}};this.codeChangesValidator=function(P){var U;
return fe(function(ba){return N.isGerritEnabled?(U=P&&(!!oHa(P)||!!Dm(P)))?ba.return(""):ba.return("Must be a CL number or Gerrit URL"):ba.return("")})}};Q_.prototype.ngOnChanges=function(){this.issueId$.next(this.issueId)};
var sab=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!rJ(a.issuePermissionService,e)}):[].concat(r(c.cc),[a.activeSession.getUserEmail()]);return gbc(a.editIssueService,a.issueId,d)},oab=function(a){var b=a.issuePermissionService.isCurrentUserCollaborator();a.analytics.trackEvent("editIssue","toggleCollaborators (appbar)",
(!b).toString());var c=a.editIssueService.editableIssue(a.issueId),d=[];d=b?c.collaborators.filter(function(e){return!rJ(a.issuePermissionService,e)}):[].concat(r(c.collaborators),[a.activeSession.getUserEmail()]);return hbc(a.editIssueService,a.issueId,d)};Q_.prototype.getTrackerId=function(){return fo(this.trackerId$)};
Q_.prototype.toggleAccessLimits=function(){var a=this;return fe(function(b){if(a.issueLimits.isOpen())return b.return();a.issueLimits.open({componentId:Number(fo(a.issueDetailsBrain.componentId$)),issueId:a.issueId});le(b)})};Q_.prototype.toggleAccessLimitsWithKeystroke=function(a){this.toggleAccessLimits();a.stopPropagation();a.preventDefault()};
var bab=function(a,b,c){return dab(a.editIssueService,a.issueId,c).finally(function(){a.reconcileView.assignee(b)})},M$a=function(a,b,c){return fe(function(d){return d.return(O$a(a.editIssueService,a.issueId,c).finally(function(){a.reconcileView.reporter(b)}))})},iab=function(a,b,c){return fe(function(d){return d.return(kab(a.editIssueService,a.issueId,c).finally(function(){a.reconcileView.verifier(b)}))})},qbb=function(a,b,c){return fe(function(d){return d.return(gbc(a.editIssueService,a.issueId,
c).finally(function(){a.reconcileView.ccs(b)}))})},pbb=function(a,b,c){return fe(function(d){return d.return(hbc(a.editIssueService,a.issueId,c).finally(function(){a.reconcileView.collaborators(b)}))})},mbb=function(a,b,c,d){return fe(function(e){return e.return(abc(a.editIssueService,a.issueId,c,d).finally(function(){a.reconcileView.issueType(b)}))})},Tq=function(a,b){a.analytics.trackEvent("editIssue","quickAction (sidebar)",b==null?void 0:b.displayText);return ebc(a.editIssueService,a.issueId,
b)},obb=function(a,b){var c;return fe(function(d){a:switch(b){case "NEW":case "ASSIGNED":case "ACCEPTED":case "FIXED":case "VERIFIED":case "NOT_REPRODUCIBLE":case "INTENDED_BEHAVIOR":case "OBSOLETE":case "INFEASIBLE":case "DUPLICATE":var e=b;break a;default:e=null}c=e;if(!c)return d.return();if(c==="DUPLICATE")return d.return(LEc(a.issueMarkAsDuplicateDialogService,a.issueId));j8b(a.analytics,c);return d.return(dbc(a.editIssueService,a.issueId,c))})};
Q_.prototype.isSaving$=function(a){var b=this;return this.distinctIssueId$.pipe(y(function(c){return b.editIssueService.savingState(c)}),pf(function(c){return sp(c.propertiesBeingSaved,to(String(a)))}))};Q_.prototype.getAccessLimitLevelDisplay=function(a){return oq(a)};Q_.\u0275fac=function(a){return new (a||Q_)(A(Ir),A(LJ),A(jG),A(sJ),A(qJ),A(JI),A(iG),A(rH),A(oI),A(wZ),A(kC),A(t_),A(bG),A(P_),A(w_))};
Q_.\u0275cmp=p({type:Q_,selectors:[["edit-issue-metadata"]],inputs:{issueId:"issueId"},features:[td],decls:2,vars:3,consts:[["peoplekitReporter",""],["typeField",""],["priorityField",""],["statusField",""],["canonicalHovercard","onedevHovercard"],["ialCard","onedevHovercard"],["peoplekitAssignee",""],["peoplekitVerifier",""],["collaboratorsField",""],["collaboratorsCard","onedevHovercard"],["ccsField",""],["ccCard","onedevHovercard"],["sloField",""],["severityField",""],["codeChangesFields",""],["foundInField",
""],["targetedToField",""],["verifiedInField",""],["inProdField",""],["forgottenFourFields",""],["customFieldTemplate",""],["reporterField",""],["canonicalCardBody",""],["implicitAccessHelpBubble",""],["assigneeField",""],["userPicker","bUserPicker"],["verifierField",""],[4,"ngIf"],[4,"ngIf","ngIfElse"],[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"],[3,"onedevIsHovercardReady","issueId",4,"onedevHovercardLazyBody"],[3,"effort","effortSpec","disabled","effortChange",4,"ngIf"],[1,"bv2-issue-metadata-field"],["tabindex","0",1,"bv2-issue-metadata-field-inner","bv2-readonly",3,"onedevHovercardTrigger","onedevHovercardActive","onedevHovercardConfig"],
[1,"bv2-editable-title","access-level-title"],[1,"bv2-editable-value","access-level-info"],[1,"access-level-current-val"],["tabindex","0","role","button",1,"bv2-metadata-tool","bv2-metadata-link",3,"click","keydown.enter","keydown.space","matTooltip"],[1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],[1,"hovertext"],["mat-button","","target","_blank","aria-label","Learn more about issue access limits",1,"gmat-button","primary","bv2-metadata-link","keep-focus-ring",3,"href"],[1,"flex-kids-y"],
["class","implicit-access-header flex-kids-x flex-cross-axis-centered flex-spread full-width",4,"ngIf"],[1,"flex-1"],[3,"toggleAccessLimits","valuesChange","readonly","collaborators","collaboratorsUsers","listFieldDisabled","teamId","isCollapsible","onedevHovercardTrigger","onedevHovercardActive","onedevHovercardConfig"],[1,"value-action"],["class","bv2-metadata-tool bv2-metadata-link","tabindex","0","role","button",3,"disabled","matTooltip","click","keydown.enter","keydown.space",4,"ngIf"],["mat-button",
"","href","https://developers.google.com/issue-tracker/references/glossary-of-fields","target","_blank",1,"gmat-button","primary"],["title","CC","iconName","add_alert_24px",1,"full-width",3,"valuesChange","defaultLineCount","readonly","type","isUser","values","users","listFieldDisabled","isCollapsible","isExpanded","onedevHovercardTrigger","onedevHovercardActive","onedevHovercardConfig","collapsiblePanelTitle","teamId"],[3,"readonly","defaultLineCount","title","type","values","tooltip",4,"ngIf"],
[4,"ngFor","ngForOf","ngForTrackBy"],["class","hidden-fields-separator",4,"ngIf"],[3,"titleWhenCollapsed","titleWhenExpanded",4,"ngIf"],[4,"ngTemplateOutlet"],["class","issue-metadata-field-long",3,"readonly","defaultLineCount","title","type","values","showInternalOnlyFieldBadge",4,"ngIf"],[1,"issue-metadata-field-long",3,"readonly","defaultLineCount","title","type","values","showInternalOnlyFieldBadge"],["class","issue-metadata-field-short",4,"ngIf"],[1,"issue-metadata-field-short"],[3,"updateTeam",
"warningType","componentId","parentComponentId","teamSuggestions"],[3,"valueChange","name","title","type","value","user","isUser","readonly","disabled","showAvailability","teamId"],[3,"thinking"],[3,"emailChange","user","teamId","disabled"],["class","bv2-metadata-quick-action",4,"ngIf"],[1,"bv2-metadata-quick-action"],[1,"bv2-field-label-spacer"],["tabindex","0","role","button",1,"bv2-metadata-link",3,"click","keydown.enter","keydown.space","matTooltip"],[3,"onedevIsHovercardReady","issueId"],[3,
"effortChange","effort","effortSpec","disabled"],[1,"implicit-access-header","flex-kids-x","flex-cross-axis-centered","flex-spread","full-width"],[1,"implicit-access-header-text"],[3,"panelTemplate"],["svgIcon","help-outline",1,"icon-s"],["target","_blank",3,"href"],[3,"onHotkey","valueChange","hotkey","name","title","type","value","user","isUser","readonly","disabled","showAvailability","teamId"],["class","bv2-metadata-quick-action","tabindex","0","role","button",3,"hotkey","matTooltip","onHotkey",
"click","keydown.enter","keydown.space",4,"ngIf"],["tabindex","0","role","button",1,"bv2-metadata-quick-action",3,"onHotkey","click","keydown.enter","keydown.space","hotkey","matTooltip"],["class","bv2-metadata-link",3,"disabled",4,"ngIf"],[1,"bv2-metadata-link"],[3,"onHotkey","emailChange","hotkey","user","teamId","disabled"],["actions",""],["class","bv2-metadata-link","tabindex","0","role","button",3,"click",4,"ngIf"],["tabindex","0","role","button",1,"bv2-metadata-link",3,"click"],["class","bv2-metadata-link",
"tabindex","0","role","button",3,"hotkey","matTooltip","disabled","onHotkey","click","keydown.enter","keydown.space",4,"ngIf"],["tabindex","0","role","button",1,"bv2-metadata-link",3,"onHotkey","click","keydown.enter","keydown.space","hotkey","matTooltip"],[1,"flex-1",3,"valueChange","name","title","type","value","user","isUser","readonly","disabled","showAvailability","teamId"],[3,"readonly","defaultLineCount","title","type","values","tooltip"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,
"hidden-fields-separator"],[3,"titleWhenCollapsed","titleWhenExpanded"],[3,"refreshable"],["tabindex","0",1,"issue-metadata-field-long",3,"onSloStartTimeChange","onSloEndTimeChange","sloStatus","sloStartTime","sloEndTime","sloId","componentId","isEditable","issueCreationTimestamp","showInternalOnlyFieldBadge"],[1,"flex-1",3,"valueChange","name","title","type","tooltip","value","choices","readonly","disabled"],[3,"valuesChange","readonly","defaultLineCount","title","inputValidator","type","values",
"listFieldDisabled"],[1,"title-action"],[3,"pressed",4,"ngIf"],[3,"pressed"],[1,"issue-metadata-field-short","issue-metadata-field-short-left",3,"valueChange","name","title","type","multiline","tooltip","value","readonly","disabled"],[3,"valueChange","name","title","type","multiline","tooltip","value","readonly","disabled"],[3,"valueChange","name","title","type","value","tooltip","readonly","disabled"],[3,"save","issue","field","readonly","disabled"]],template:function(a,b){a&1&&(C(0,rbb,137,162,
"ng-container",27),T(1,"async"));a&2&&D("ngIf",V(1,1,b.issue$))},dependencies:[XW,Fv,Gv,Kv,zB,hX,PW,D_,y_,z_,A_,MN,$H,aI,gI,bI,RBc,VN,L_,fX,yZ,LH,OH,dM,N_,K_,xN,xU,DJ,Lv],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 EFc=["descriptionArea"],FFc=["container"],R_=function(a,b,c,d,e,f,h,k,q,t,w,B,E,I){Z.call(this);var J=this;this.cdr=a;this.issueFridge=b;this.eventsForIssueFridge=c;this.editStatusUpdateDialogService=d;this.statusUpdateService=e;this.issueCommentDialogsService=f;this.contextSensitiveRegistry=h;this.issuePermissionService=k;this.clipboard=q;this.snackBar=t;this.llmIssueSummaryService=w;this.activeSession=B;this.analytics=E;this.userFeedback=I;this.closeSidebar=new XF;this.navigateToNextIssue=new XF;
this.navigateToPreviousIssue=new XF;this.issueId$=new W.ReplaySubject(1);this.issue$=this.issueId$.pipe(qf(this.destroyed$),pf(this.issueFridge.watch),mf({bufferSize:1,refCount:!0}));this.componentId$=this.issue$.pipe(y(function(N){return N==null?void 0:N.snapshot[0].componentId}));this.accessLevel$=this.issue$.pipe(y(function(N){var P;return N==null?void 0:(P=N.accessLimit)==null?void 0:P.accessLevel}));this.events$=this.issueId$.pipe(qf(this.destroyed$),pf(this.eventsForIssueFridge.watch),y(function(N){return(N==
null?void 0:N.events)||[]}));this.firstEvent$=this.events$.pipe(y(function(N){return N.length>0?N[0]:void 0}));this.statusUpdate$=this.issue$.pipe(y(function(N){return N==null?void 0:N.statusUpdate}));this.statusUpdateNote$=this.statusUpdate$.pipe(te(lj),y(function(N){return{unlinkifiedComment:N.updateText,formattedComment:N.formattedText}}));this.userCanEditStatusUpdate$=this.issuePermissionService.hasAclToEdit$;this.hasStatusUpdate$=this.statusUpdate$.pipe(y(function(N){return!!N&&N.updateText!==
""}));this.firstNote$=this.events$.pipe(qf(this.destroyed$),y(function(N){if(N&&N.length>0&&N[0].commentNumber&&N[0].commentNumber>-1)return{commentNumber:N[0].commentNumber,unlinkifiedComment:N[0].unlinkifiedComment||"",formattedComment:N[0].formattedComment}}),mf({bufferSize:1,refCount:!0}));this.userCanEditDescription$=this.firstEvent$.pipe(pf(function(N){return N?J.issuePermissionService.canEditComment$(N):(0,W.of)(!1)}));this.hasDescription$=this.events$.pipe(qf(this.destroyed$),y(function(N){return N&&
N.length>0&&N[0].unlinkifiedComment!==""}));this.isFieldsExpanded=this.isDescriptionExpanded=this.isStatusUpdateExpanded=!0;this.editTitleMode=this.isSavingTitle=!1;this.draftTitle="";this.FormattingMode=DB;this.descriptionHasMore=!0;this.showFullDescription=!1;this.enableLlmSummarization=this.activeSession.getFlag("enableLlmSummarization")&&this.activeSession.isInternalSession();this.enableIssueSummarizationNoButton=this.llmIssueSummaryService.enableNoButton;this.summaryThumbsDown=this.summaryThumbsUp=
this.hasRatedSummary=this.hasIssueSummary=this.isLoadingIssueSummary=this.isIssueSummaryExpanded=this.isGenerateSummaryButtonDisplayed=!1;this.isSummarizable$=this.llmIssueSummaryService.isSummarizable$.pipe(sf(function(N){N&&J.llmIssueSummaryService.trackEvent("viewSummarizableIssue","issueSidebar")}),mf({refCount:!0,bufferSize:1}));this.issueSummary$=this.llmIssueSummaryService.summary$.pipe(te(lj),sf(function(N){J.hasIssueSummary=!0;J.isLoadingIssueSummary=!1;J.cdr.detectChanges();N.summary&&J.llmIssueSummaryService.trackEvent("display",
"issueSidebar")}),mf({bufferSize:1,refCount:!1}));this.containerScrolled=!1;this.destroyed$.subscribe(function(){Uq(J)});this.issueId$.pipe(qf(this.destroyed$)).subscribe(function(){Uq(J);J.isGenerateSummaryButtonDisplayed=!1;J.hasIssueSummary=!1;J.isIssueSummaryExpanded=!1;J.hasRatedSummary=!1;J.summaryThumbsUp=!1;J.summaryThumbsDown=!1;J.showFullDescription=!1});this.firstNote$.pipe(qf(this.destroyed$)).subscribe(function(){GFc(J)});this.llmIssueSummaryService.pregeneratedSummary$.pipe(qf(this.destroyed$)).subscribe(function(N){J.isLoadingIssueSummary=
!1;N?J.isIssueSummaryExpanded=!0:J.isGenerateSummaryButtonDisplayed=!0;J.cdr.detectChanges()})};X(R_,Z);R_.\u0275dir=Z.\u0275dir;R_.prototype.ngAfterViewInit=function(){var a=this;this.issueId$.pipe(qf(this.destroyed$)).subscribe(function(){a.container.nativeElement.scrollTop=0})};var GFc=function(a){setTimeout(function(){var b;a.descriptionHasMore=((b=a.descriptionArea)==null?void 0:b.nativeElement.scrollHeight)>130;a.cdr.detectChanges()})};g=R_.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");this.isGenerateSummaryButtonDisplayed=!1;this.isLoadingIssueSummary=!0;this.llmIssueSummaryService.generateSummaryRequested$.next();this.isIssueSummaryExpanded=!0};
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");lZ(b,a,"COPY")}};g.openFeedbackDialog=function(a){this.userFeedback.startFeedback();lZ(this.llmIssueSummaryService,a,"FEEDBACK")};
g.editStatusUpdate=function(){var a=this,b,c,d,e,f,h,k,q;return fe(function(t){switch(t.nextAddress){case 1:return he(t,(0,W.firstValueFrom)(a.issueId$),2);case 2:return b=t.yieldResult,he(t,(0,W.firstValueFrom)(a.componentId$),3);case 3:return c=t.yieldResult,d={issueId:b,updateText:"",version:-1},f=(e=fo(a.statusUpdate$))!=null?e:d,he(t,(0,W.firstValueFrom)(a.accessLevel$),4);case 4:return k=(h=t.yieldResult)&&h==="INTERNAL"?"INTERNAL":"EXTERNAL",he(t,a.editStatusUpdateDialogService.show(f,k,c),
5);case 5:q=t.yieldResult;if(!q)return t.return();a.statusUpdateService.update(q).subscribe(function(w){a.analytics.trackEvent("issueSidebar","edit","statusUpdate",w.updateText.length===0);TB(a.issueFridge,b,function(B){B.statusUpdate=w});a.issueFridge.poke(b)});le(t)}})};
var Vbb=function(a){var b,c,d;return fe(function(e){switch(e.nextAddress){case 1:return he(e,(0,W.firstValueFrom)(a.issueId$),2);case 2:return b=e.yieldResult,(c=fo(a.firstEvent$))?he(e,sr(a.issueCommentDialogsService,b,c),3):e.return();case 3:return he(e,a.eventsForIssueFridge.poke(b),4);case 4:a.analytics.trackEvent("issueSidebar","edit","description",((d=c.unlinkifiedComment)==null?void 0:d.length)===0),le(e)}})},ubb=function(a){var b;return fe(function(c){if(c.nextAddress==1)return he(c,(0,W.firstValueFrom)(a.issue$),
2);b=c.yieldResult;if(!b)return c.return();a.draftTitle=b.snapshot[0].title;a.editTitleMode=!0;le(c)})},Uq=function(a){a.isSavingTitle||(a.draftTitle="",a.editTitleMode=!1)};
R_.prototype.saveTitle=function(){var a=this,b;return fe(function(c){if(c.nextAddress==1)return he(c,(0,W.firstValueFrom)(a.issue$),2);b=c.yieldResult;if(!b||b.snapshot[0].title===a.draftTitle)return Uq(a),c.return();a.isSavingTitle=!0;p8b(a.issueFridge,b.issueId,a.draftTitle).subscribe(function(){a.analytics.trackEvent("issueSidebar","edit","title");a.isSavingTitle=!1;Uq(a)});le(c)})};R_.prototype.upvoted=function(a){this.analytics.trackEvent("issueSidebar","toggle","vote",a)};
ea.Object.defineProperties(R_.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,GFc(this))}}});
R_.\u0275fac=function(a){return new (a||R_)(A(YF,2),A(jG),A(rF),A(iZ),A(cZ),A(s_),A(wH),A(sJ),A(MH),A(XD),A(kZ),A(Ir),A(bG),A(lV))};
R_.\u0275cmp=p({type:R_,selectors:[["issue-sidebar"]],viewQuery:function(a,b){a&1&&(fg(EFc,5),fg(FFc,5));if(a&2){var c;jg(c=kg())&&(b.content=c.first);jg(c=kg())&&(b.container=c.first)}},inputs:{issueId:"issueId"},outputs:{closeSidebar:"closeSidebar",navigateToNextIssue:"navigateToNextIssue",navigateToPreviousIssue:"navigateToPreviousIssue"},features:[qg([YF]),zf],decls:23,vars:15,consts:[["container",""],["spinner",""],["aiHelp",""],["plainTextSummary",""],["descriptionArea",""],[1,"container","flex-kids-y",
3,"scroll"],[1,"top-actions","flex-kids-x","space-between","border-bottom"],[1,"flex-kids-x","align-items-center","margin-s-left","gap-s"],[4,"ngIf"],[3,"issueId","upvoted","voteCount","onVote",4,"ngIf"],["mat-icon-button","","matTooltip","Previous issue","matTooltipPosition","above","aria-label","Previous issue",3,"click"],["svgIcon","chevron-left"],["mat-icon-button","","matTooltip","Next issue","matTooltipPosition","above","aria-label","Next issue",3,"click"],["svgIcon","chevron-right"],["mat-icon-button",
"","matTooltip","Close sidebar","matTooltipPosition","above","aria-label","Close sidebar",3,"click"],["svgIcon","close"],["class","title",4,"ngIf"],[1,"details","flex-kids-y","padded-s-sides"],[4,"ngIf","ngIfElse"],[1,"heading-xs","muted","hover-link",3,"click","href"],[1,"a11y-only"],["mat-icon-button","","aria-label","copy issue id",1,"gmat-button","small","fade-icon-button","copy-issue-id",3,"click"],["svgIcon","copy",1,"icon-xs"],[3,"onVote","issueId","upvoted","voteCount"],[1,"title"],[1,"flex"],
["mat-icon-button","","matTooltip","Edit issue title","aria-label","Edit issue title",1,"fade-icon-button","gmat-button","small",3,"click","matTooltipShowDelay"],["svgIcon","edit-outline",1,"icon-s"],[1,"full-width"],["matInput","","type","text","aria-label","Edit issue title","rows","3",3,"ngModelChange","cdkTextareaAutosize","cdkAutosizeMinRows","ngModel","bFocus"],[1,"flex-kids-x","gap","justify-flex-end","padded-bottom","border-bottom"],["mat-stroked-button","","class","gmat-button small",3,"click",
4,"ngIf"],["mat-flat-button","","color","primary",1,"gmat-button","small",3,"click","disabled"],["mat-stroked-button","",1,"gmat-button","small",3,"click"],[1,"card-container"],[1,"card","status-update"],[1,"card-header"],[1,"card-header-inner-left"],["svgIcon","group","color","primary",1,"icon-s"],[1,"card-header-inner-right"],["mat-icon-button","","class","gmat-button small edit-button","aria-label","Edit the status update","matTooltip","Edit the status update","matTooltipPosition","above",3,"matTooltipShowDelay",
"click",4,"ngIf"],["mat-icon-button","","class","gmat-button small expand-button","aria-label","Toggle the status update view for this issue","matTooltip","Toggle the status update view for this issue","matTooltipPosition","above",3,"matTooltipShowDelay","click",4,"ngIf"],[1,"bv2-issue-metadata","card"],["svgIcon","release-notes-default","color","primary",1,"icon-s"],["mat-icon-button","","aria-label","Toggle the fields view for this issue","matTooltip","Toggle the fields view for this issue","matTooltipPosition",
"above",1,"gmat-button","small",3,"click","matTooltipShowDelay"],["svgIcon","arrow-down","class","icon-s",4,"ngIf"],["svgIcon","arrow-up","class","icon-s",4,"ngIf"],["class","fields-area margin-top flex-kids-y",4,"ngIf"],[1,"card","no-border","issue-summary",3,"ngClass"],["svgIcon","chat_spark_24px","color","primary",1,"icon-s"],["mat-icon-button","","aria-label","Show AI generated summary note","dialogLabel","AI generated summary note",1,"gmat-button","small",3,"xapInlineDialog","dialogTabIndex"],
["svgIcon","help-outline",1,"icon-s"],["mat-flat-button","","class","gmat-button small generate-summary",3,"click",4,"ngIf"],["mat-icon-button","","class","gmat-button small","aria-label","Toggle the AI-generated summary for this issue","matTooltip","Toggle the AI-generated summary for this issue","matTooltipPosition","above",3,"matTooltipShowDelay","click",4,"ngIf"],["class","issue-summary-area",4,"ngIf"],["mat-flat-button","",1,"gmat-button","small","generate-summary",3,"click"],["mat-icon-button",
"","aria-label","Toggle the AI-generated summary for this issue","matTooltip","Toggle the AI-generated summary for this issue","matTooltipPosition","above",1,"gmat-button","small",3,"click","matTooltipShowDelay"],["svgIcon","arrow-down",1,"icon-s"],["svgIcon","arrow-up",1,"icon-s"],[1,"issue-summary-area"],[3,"ngTemplateOutlet",4,"ngIf"],[3,"ngTemplateOutlet"],[3,"content",4,"ngIf","ngIfElse"],[1,"flex-kids-x","justify-flex-end","gap-s","margin-s-top"],["mat-icon-button","","aria-label","copy summary",
"matTooltip","Copy issue summary to clipboard",1,"gmat-button","small","copy-issue-summary",3,"click"],["svgIcon","copy",1,"icon-s"],["mat-icon-button","","aria-label","send feedback","matTooltip","Send feedback",1,"gmat-button","small","summary-feedback",3,"click"],["svgIcon","feedback-outline",1,"icon-s"],["mat-icon-button","","aria-label","rate thumbs up","matTooltip","Rate summary: Good",1,"gmat-button","small","summary-thumbs-up",3,"click","disabled"],["svgIcon","thumb_up_24px",1,"icon-s"],["mat-icon-button",
"","aria-label","rate thumbs down","matTooltip","Rate summary: Bad",1,"gmat-button","small","summary-thumbs-down",3,"click","disabled"],["svgIcon","thumb_down_24px",1,"icon-s"],[3,"content"],["mat-icon-button","","aria-label","Edit the status update","matTooltip","Edit the status update","matTooltipPosition","above",1,"gmat-button","small","edit-button",3,"click","matTooltipShowDelay"],["mat-icon-button","","aria-label","Toggle the status update view for this issue","matTooltip","Toggle the status update view for this issue",
"matTooltipPosition","above",1,"gmat-button","small","expand-button",3,"click","matTooltipShowDelay"],["class","status-update-area",4,"ngIf"],[1,"status-update-area"],[3,"issueId","note","issueAccessLevel","formattingMode",4,"ngIf"],[3,"issueId","note","issueAccessLevel","formattingMode"],[1,"card","description"],["mat-icon-button","","class","gmat-button small edit-button","aria-label","Edit the description","matTooltip","Edit the description","matTooltipPosition","above",3,"matTooltipShowDelay",
"click",4,"ngIf"],["mat-icon-button","","class","gmat-button small expand-button","aria-label","Toggle the description view for this issue","matTooltip","Toggle the description view for this issue","matTooltipPosition","above",3,"matTooltipShowDelay","click",4,"ngIf"],["mat-icon-button","","aria-label","Edit the description","matTooltip","Edit the description","matTooltipPosition","above",1,"gmat-button","small","edit-button",3,"click","matTooltipShowDelay"],["mat-icon-button","","aria-label","Toggle the description view for this issue",
"matTooltip","Toggle the description view for this issue","matTooltipPosition","above",1,"gmat-button","small","expand-button",3,"click","matTooltipShowDelay"],[1,"description-area"],[1,"description-note"],["class","description-show-more margin-s-top",4,"ngIf"],[1,"description-show-more","margin-s-top"],[3,"click"],[1,"fields-area","margin-top","flex-kids-y"],[3,"issueId"],[1,"text-center"]],template:function(a,b){if(a&1){var c=u();F(0,"div",5,0);M("scroll",function(){v(c);b.containerScrolled=b.container.nativeElement.scrollTop===
0?!1:!0;return x()});F(2,"header")(3,"div",6)(4,"div",7);C(5,sbb,7,3,"ng-container",8);T(6,"async");G();F(7,"div");C(8,tbb,1,3,"b-app-vote-button",9);T(9,"async");F(10,"button",10);M("click",function(){v(c);return x(b.navigateToPreviousIssue.emit())});H(11,"mat-icon",11);G();F(12,"button",12);M("click",function(){v(c);return x(b.navigateToNextIssue.emit())});H(13,"mat-icon",13);G();F(14,"button",14);M("click",function(){v(c);return x(b.closeSidebar.emit())});H(15,"mat-icon",15);G()()();C(16,zbb,4,
2,"div",16);T(17,"async");G();F(18,"div",17);C(19,hcb,32,26,"ng-container",18);T(20,"async");G()();C(21,icb,2,0,"ng-template",null,1,yg)}a&2&&(a=Q(22),z(2),Kf("elevated",b.containerScrolled),z(3),D("ngIf",V(6,7,b.issueId$)),z(3),D("ngIf",V(9,9,b.issue$)),z(8),D("ngIf",V(17,11,b.issue$)),z(3),D("ngIf",V(20,13,b.issue$))("ngIfElse",a))},dependencies:[oE,LH,OH,mh,qy,yy,kM,Wy,SV,cz,$y,tU,sU,JU,Ev,Gv,Kv,zB,RQ,Q_,yL,LL,ZY,UN,Lv],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)}.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)}.legacy-issue-summary[_ngcontent-%COMP%]{background-color:#f2f6ff;background-color:var(--blue-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 HFc=[[["",8,"tooltip-content"]],[["",8,"chip-content"]]],S_=function(){this.compactMode=this.labelOnlyMode=!1};S_.prototype.ngOnInit=function(){};S_.\u0275fac=function(a){return new (a||S_)};
S_.\u0275cmp=p({type:S_,selectors:[["b-base-chip"]],inputs:{labelOnlyMode:"labelOnlyMode",compactMode:"compactMode",labelClass:"labelClass",hovercardAriaLabel:"hovercardAriaLabel"},ngContentSelectors:[".tooltip-content",".chip-content"],decls:9,vars:6,consts:[["chipHovercard","onedevHovercard"],[1,"bv2-chip"],["role","dialog",1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],[1,"field-label-with-help",3,"onedevHovercardTrigger","onedevHovercardActive"],[1,"help-label",3,"ngClass"]],template:function(a,
b){a&1&&(Xf(HFc),F(0,"span",1)(1,"onedev-hovercard",null,0)(3,"div",2)(4,"div",3),Yf(5),G()()(),F(6,"div",4)(7,"span",5),Yf(8,1),G()()());if(a&2){var c;a=Q(2);z(3);Bf("aria-label",b.hovercardAriaLabel);z(3);D("onedevHovercardTrigger",a)("onedevHovercardActive",!b.labelOnlyMode);z();Kf("compact-chip",b.compactMode);D("ngClass",(c=b.labelClass)!==null&&c!==void 0?c:"")}},dependencies:[Ev,$H,gI],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 T_=function(a){this.documentationLinks=a;this.documentationLink=Dr()};T_.prototype.ngOnChanges=function(){this.retentionState?this.retentionExpireTime=Fm(this.retentionState.scheduledDeletionTime):this.retentionExpireTime=void 0};T_.\u0275fac=function(a){return new (a||T_)(A(oI))};
T_.\u0275cmp=p({type:T_,selectors:[["retention-help-text"]],inputs:{retentionState:"retentionState",modifiedTime:"modifiedTime"},features:[td],decls:1,vars:1,consts:[["indefinite",""],[4,"ngIf"],[4,"ngIf","ngIfElse"],["target","_blank",3,"href"],[3,"mode","timestamp","paddingLeftPx"]],template:function(a,b){a&1&&C(0,lcb,6,3,"ng-container",1);a&2&&D("ngIf",b.retentionState&&b.modifiedTime)},dependencies:[Gv,TM],encapsulation:2});var U_=function(a){this.dateFormatter=a;this.compactMode=!1;this.text=""};U_.prototype.ngOnChanges=function(){var a;((a=this.retentionState)==null?void 0:a.scheduledDeletionTime)!=null?this.text=inb(Fm(this.retentionState.scheduledDeletionTime),!this.compactMode):this.text="Indefinite"};U_.\u0275fac=function(a){return new (a||U_)(A(RM))};
U_.\u0275cmp=p({type:U_,selectors:[["retention-text"]],inputs:{retentionState:"retentionState",compactMode:"compactMode"},features:[td],decls:1,vars:1,template:function(a,b){a&1&&R(0);a&2&&lg(b.text)},encapsulation:2});var V_=function(){this.showRetentionInfo=this.dangerZone=this.labelOnlyMode=this.compactMode=this.showOnlyInDangerZone=!1};V_.prototype.ngOnChanges=function(){this.retentionState&&this.retentionState.retentionPeriod&&this.retentionState.scheduledDeletionTime?(this.dangerZone=ncb(this.retentionState),this.showRetentionInfo=this.showOnlyInDangerZone&&this.dangerZone||!this.showOnlyInDangerZone):this.showRetentionInfo=!1};V_.\u0275fac=function(a){return new (a||V_)(A(oI))};
V_.\u0275cmp=p({type:V_,selectors:[["b-retention-chip"]],inputs:{showOnlyInDangerZone:"showOnlyInDangerZone",compactMode:"compactMode",labelOnlyMode:"labelOnlyMode",retentionState:"retentionState",modifiedTime:"modifiedTime"},features:[td],decls:1,vars:1,consts:[["hovercardAriaLabel","Retention Chip Hovercard",3,"compactMode","labelClass","labelOnlyMode",4,"ngIf"],["hovercardAriaLabel","Retention Chip Hovercard",3,"compactMode","labelClass","labelOnlyMode"],[1,"chip-content"],[3,"retentionState",
"compactMode"],[1,"tooltip-content"],[3,"retentionState","modifiedTime"]],template:function(a,b){a&1&&C(0,mcb,5,7,"b-base-chip",0);a&2&&D("ngIf",b.showRetentionInfo)},dependencies:[Gv,S_,U_,T_],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 IFc=["issueSidenavContainer"],hfb=function(){return[]},fdb=function(a,b,c){return{low:a,high:b,p0:c}},Mdb=function(a){return{id:a}},reb=function(a,b){return{"bv2-grid-cell-variable-height":a,"rtl-component-path":b}},W_=function(a,b,c,d,e,f,h,k,q,t,w,B,E,I,J,N){var P=this;this.activeSession=a;this.cdr=b;this.elementRef=c;this.teamsService=d;this.ngZone=e;this.userPreferencesManager=f;this.hotlistFridge=h;this.issueFridge=k;this.bLocation=q;this.issuePagination=t;this.paths=w;this.errorHandler=
B;this.$log=E;this.domSafe=I;this.trackerHelpers=J;this.anayltics=N;this.ISSUE_STATUS_JS_ICON_NAME=f5b;this.STATUS_JS_FULL_TEXT=Mm;this.STATUS_JS_TERSE=a5b;this.lastCheckedIndex=null;this.focusedRowIndexChange=new XF;this.columns=[];this.columnsChange=new XF;this.enableColumnSaving=!1;this.sort=null;this.enableSidebar=!1;this.sortChange=new XF;this.rowClick=new XF;this.init=new XF;this.onRowDragDrop=new XF;this.onNextPage=new XF;this.onPrevPage=new XF;this.selectionCallbacks=[];this.GET_ISSUE_ACCESS_LEVEL_TITLE=
oq;this.isLoadingTeams=!0;this.isTotalEstimatesEnabled=this.activeSession.getFlag("enableAggregationRules");this.enableNewVisibilityChips=this.activeSession.getFlag("enableNewVisibilityChips");this.isIssueSidebarOpen=this.isIssueSidebarEnabled=!1;this.destroyed$=new W.ReplaySubject(1);this.starInProgress={};this.readUnreadOptOut=this.activeSession.getFlag("readUnreadOptOut");this.enableAddViewCountColumnsOnIlp=this.activeSession.getFlag("enableAddViewCountColumnsOnIlp");b=Ya(p7a);a.isInternalSession()||
(Va(b,"minSlo"),Va(b,"responseSlo"),Va(b,"assignmentSlo"),Va(b,"closureSlo"),Va(b,"deletionTime"),Va(b,"team"),Va(b,"estimate"),Va(b,"estimateTotalOpen"),Va(b,"estimateTotalComplete"));this.enableAddViewCountColumnsOnIlp||(Va(b,"oneDayViewCount"),Va(b,"sevenDayViewCount"),Va(b,"thirtyDayViewCount"));this.availableColumns=b.map(q7a);this.dragDropLogic=new JAc({ngZone:this.ngZone,nativeElement:this.elementRef.nativeElement,rowFinder:function(U){return JFc(P,U)},onRowDragDrop:function(U){P.onRowDragDrop.emit(U)}})};
g=W_.prototype;g.ngOnInit=function(){var a=this;this.dragDropLogic.setup();this.userPreferencesManager.listViewPreferences$.pipe(qf(this.destroyed$)).subscribe(function(b){a.listViewPrefs=b;a.cdr.detectChanges()});this.isIssueSidebarEnabled=this.enableSidebar&&this.activeSession.getFlag("enableIssueSidebar")||!1;this.init.emit(this)};
g.ngOnChanges=function(a){if(a.searchResults){var b,c=xta(((b=this.searchResults)==null?void 0:b.issues.map(function(e){return new Set([].concat(r(e.hotlistId||[])))}))||[]);this.hotlistFridge.watchSet([].concat(r(c)))}if(a.searchResults||a.columns)for(b=l(this.columns),c=b.next();!c.done;c=b.next())c.value.label==="TEAM"&&KFc(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}))||[]);Ota(a,d)||Vq(this)}};g.ngOnDestroy=function(){this.dragDropLogic.tearDown();this.destroyed$.next()};g.focus=function(){this.grid.focus()};g.selectAll=function(){if(this.searchResults){for(var a=l(this.searchResults.issues),b=a.next();!b.done;b=a.next())b.value.selected=!0;this.cdr.detectChanges()}Vq(this)};
var LFc=function(a){if(a.searchResults){for(var b=l(a.searchResults.issues),c=b.next();!c.done;c=b.next())c.value.selected=!1;a.cdr.detectChanges()}Vq(a)};W_.prototype.hasSelectedIssues=function(){return this.searchResults?this.searchResults.issues.some(function(a){return a.selected}):!1};
var zcb=function(a){return a.searchResults?a.searchResults.issues.every(function(b){return b.selected}):!1},MFc=function(a){return a.searchResults?a.searchResults.issues.some(function(b){return b.selected}):!1},ycb=function(a){if(!a.searchResults)return"unchecked";var b=!0,c=!1;a=l(a.searchResults.issues);for(var d=a.next();!d.done;d=a.next())d.value.selected?c=!0:b=!1;return b?"checked":c?"indeterminate":"unchecked"};
W_.prototype.getSelectedIssues=function(){return this.searchResults?this.searchResults.issues.filter(function(a){return a.selected}):[]};
var OFc=function(a){if(NFc(a)&&a.focusedRowIndex!=null&&a.searchResults){var b=a.searchResults.issues[a.focusedRowIndex];b&&(b.selected=!b.selected,a.cdr.detectChanges(),Vq(a))}},xcb=function(a){if(a.searchResults){for(var b=!MFc(a),c=l(a.searchResults.issues),d=c.next();!d.done;d=c.next())d.value.selected=b;a.cdr.detectChanges();Vq(a)}},ocb=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()&&grc(a.issuePagination,a.searchResults.endIndex+1).catch(function(b){a.$log.warn(b)}).finally(function(){a.onNextPage.emit()})},pcb=function(a){a.focusedRowIndex!=null&&a.focusedRowIndex>0?(a.focusedRowIndex--,a.focusedRowIndexChange.emit(a.focusedRowIndex),a.cdr.detectChanges()):a.searchResults&&a.searchResults.hasPreviousPage()&&grc(a.issuePagination,a.searchResults.startIndex-1).catch(function(b){a.$log.warn(b)}).finally(function(){a.onPrevPage.emit()})},
X_=function(a,b){b=b===void 0?{}:b;var c=a.getFocusedIssue();c&&(b.openInNewTab?a.domSafe.openInNewTab(Ao(c.issueId)):a.bLocation.setUrl(Ao(c.issueId)))};W_.prototype.getFocusedIssue=function(){return NFc(this)&&this.focusedRowIndex!=null&&this.searchResults?this.searchResults.issues[this.focusedRowIndex]:null};
var PFc=function(a,b){a.selectionCallbacks.push(b);b()},Vq=function(a){a=l(a.selectionCallbacks);for(var b=a.next();!b.done;b=a.next())b=b.value,b()},QFc=function(a){NFc(a)&&a.focusedRowIndex!=null&&a.searchResults&&a.toggleStar(a.searchResults.issues[a.focusedRowIndex])},RFc=function(a,b){b=b===void 0?!0:b;var c=a.getSelectedIssues();if(c.length!==0){for(var d=l(c),e=d.next();!e.done;e=d.next())e.value.isRead=b;a.cdr.detectChanges();lG(a.issueFridge,c.map(function(f){return f.issueId}),{markRead:b,
userActivityType:"MARK_AS_READ_OR_UNREAD"}).then(function(f){for(var h=l(c),k=h.next();!k.done;k=h.next()){var q=void 0;k.value.lastViewedTime=(q=f)!=null?q:null}}).catch(function(){for(var f=l(c),h=f.next();!h.done;h=f.next())h=h.value,h.isRead=!!h.lastViewedTime&&h.lastViewedTime>=h.majorModifiedTime}).finally(function(){a.cdr.detectChanges()})}};
W_.prototype.toggleStar=function(a){var b=this;a&&!this.starInProgress[a.issueId]&&(a.starred=!a.starred,this.starInProgress[a.issueId]=!0,n8b(this.issueFridge,String(a.issueId),a.starred).pipe(ef(),qf(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()}))};
W_.prototype.issueDescription=function(a){return(a.isClosed?"Closed ":this.readUnreadOptOut||a.isRead?"":"Unread ")+"Issue ID "+a.id+" titled: "+a.title};
var NFc=function(a){return a.searchResults!=null&&a.focusedRowIndex!=null&&a.focusedRowIndex>=0&&a.focusedRowIndex<a.searchResults.issues.length},JFc=function(a,b){return b?a.searchResults?a.searchResults.issues.findIndex(function(c){return c.id===b}):-1:-1},KFc=function(a){if(a.searchResults){for(var b=new Set,c=l(a.searchResults.issues),d=c.next();!d.done;d=c.next())d=String(d.value.teamId),d!=="0"&&b.add(d);b.size>0?(a.isLoadingTeams=!0,l9b(a.teamsService,[].concat(r(b))).pipe(qf(a.destroyed$)).subscribe(function(e){if(a.searchResults)for(var f=
l(a.searchResults.issues),h=f.next();!h.done;h=f.next()){h=h.value;var k=String(h.teamId);k!=="0"&&(k=e.get(k))&&(h.team=k.name)}a.isLoadingTeams=!1;a.cdr.detectChanges()})):a.isLoadingTeams=!1}};W_.prototype.isIssueGridColumn=function(){return!0};W_.prototype.getComponentPath=function(a){return si(a)?a.join(" > "):(a=mr(this.trackerHelpers,a))&&a.componentPathName?a.componentPathName.join(" > "):""};
W_.\u0275fac=function(a){return new (a||W_)(A(Ir),A(YF,2),A(Rd),A(gH),A(ze),A(rH),A(bF),A(jG),A(oN),A(bU),A(pN),A(uE),A(tE),A(FH),A(kQ),A(bG))};
W_.\u0275cmp=p({type:W_,selectors:[["b-issues-grid"]],viewQuery:function(a,b){a&1&&(fg(QY,7),fg(IFc,5));if(a&2){var c;jg(c=kg())&&(b.grid=c.first);jg(c=kg())&&(b.sideNavContainer=c.first)}},inputs:{searchResults:"searchResults",focusedRowIndex:"focusedRowIndex",columns:"columns",enableColumnSaving:"enableColumnSaving",sort:"sort",enableSidebar:"enableSidebar"},outputs:{focusedRowIndexChange:"focusedRowIndexChange",columnsChange:"columnsChange",sortChange:"sortChange",rowClick:"rowClick",init:"init",
onRowDragDrop:"onRowDragDrop",onNextPage:"onNextPage",onPrevPage:"onPrevPage"},features:[qg([YF]),td],decls:6,vars:2,consts:[["issuesGrid",""],["issueWithHovercard",""],["issueSidenavContainer",""],["issueHovercard","onedevHovercard"],["cardBody",""],["hasBackdrop","false",3,"sidebar-enabled",4,"ngIf","ngIfElse"],["hasBackdrop","false"],["mode","side","position","end",3,"openedChange","opened","disableClose"],[3,"issueId","closeSidebar","navigateToNextIssue","navigateToPreviousIssue",4,"ngIf"],[4,
"ngTemplateOutlet"],[3,"closeSidebar","navigateToNextIssue","navigateToPreviousIssue","issueId"],[1,"keep-focus-ring",3,"columnsChange","focusedRowIndexChange","sortChange","rowClick","list","columns","focusedRowIndex","scrollContainer","sort","rowLabelRenderer"],["class","focus-indicator",4,"forHeaderCell"],["class","drag-handle",4,"forHeaderCell"],["class","selected-box",4,"forHeaderCell"],[4,"forHeaderCell"],[4,"forHeaderCellDefault"],["class","focus-indicator",4,"forViewCell"],["class","drag-handle",
"draggable","true",4,"forViewCell"],["class","selected-box",4,"forViewCell"],["class","star-cell",4,"forViewCell"],[4,"forViewCell"],["data-template","issueId","class","clickable issue-id-cell",4,"forViewCell"],["class","clickable title-cell",3,"bv2-grid-cell-variable-height",4,"forViewCell"],["class","priority-cell clickable",4,"forViewCell"],["class","severity-cell clickable",4,"forViewCell"],["data-stable-cell","status","class","clickable",4,"forViewCell"],["data-stable-cell","type","class","clickable",
4,"forViewCell"],["class","clickable",4,"forViewCell"],["class","clickable datetime-cell",4,"forViewCell"],["class","componentPath-cell clickable",3,"ngClass",4,"forViewCell"],["class","clickable first-letter-capitalized",4,"forViewCell"],[1,"focus-indicator"],[4,"ngIf"],[1,"drag-handle"],[1,"selected-box"],["tabindex","0","aria-label","Select all issues","role","checkbox",1,"keep-focus-ring","b-select-all-toggle",3,"click","keydown.enter","keydown.space","state"],[3,"column"],[3,"column","availableColumns",
"selectedColumns","selectedColumnsChange",4,"ngIf"],[3,"column",4,"ngIf"],[3,"selectedColumnsChange","column","availableColumns","selectedColumns"],["draggable","true",1,"drag-handle"],["tabindex","-1","role","checkbox",3,"click","state"],[1,"star-cell"],["tabindex","-1",3,"starClicked","starred","disabled","starMessage","unStarMessage"],["data-template","issueId",1,"clickable","issue-id-cell"],[3,"ngSwitch"],[4,"ngSwitchDefault"],[4,"ngSwitchCase"],["tabindex","-1",1,"row-issue-id",3,"href"],[1,
"row-issue-id",3,"click","issueId","showCopyOptions"],[1,"clickable","title-cell"],[1,"bv2-grid-cell-container"],[3,"issueId","compactMode"],[3,"accessLevel","compactMode"],[3,"trackerId","compactMode"],[3,"retentionState","showOnlyInDangerZone","compactMode","modifiedTime"],[1,"bv2-grid-cell-text"],[1,"row-issue-title",3,"href"],["svgIcon","input_24px","class","navigate-to-idp icon-s",4,"ngIf"],["class","bv2-hotlist-chips",4,"ngIf"],["svgIcon","input_24px",1,"navigate-to-idp","icon-s"],[1,"bv2-hotlist-chips"],
[3,"id","removable",4,"ngFor","ngForOf"],[3,"id","removable"],[1,"priority-cell","clickable"],[1,"bv2-priority",3,"ngClass"],[1,"severity-cell","clickable"],["data-stable-cell","status",1,"clickable"],[3,"ngSwitch","title"],["class","icon-s",3,"svgIcon",4,"ngSwitchCase"],[3,"class",4,"ngSwitchDefault"],[1,"icon-s",3,"svgIcon"],["data-stable-cell","type",1,"clickable"],[1,"clickable"],[3,"email",4,"ngIf"],[3,"email"],[4,"ngFor","ngForOf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"clickable",
"datetime-cell"],["mode","datetime",3,"timestamp"],[1,"componentPath-cell","clickable",3,"ngClass"],[1,"clickable","first-letter-capitalized"],[3,"sloId","sloStatus","sloStartTime",4,"ngIf"],[3,"sloId","sloStatus","sloStartTime"],[3,"sloStatus","sloStartTime"],[3,"sloId","sloStatus","sloStartTime","onlyShowMetric",4,"ngIf"],[3,"sloId","sloStatus","sloStartTime","onlyShowMetric"],[3,"sloBounds"],["mode","date",3,"timestamp",4,"ngIf"],["mode","date",3,"timestamp"],["class","animated-loading-bar",4,
"ngIf"],[1,"animated-loading-bar"],["teamNotAssignedMessage","--",3,"teamId","componentId","anchorLinkEnabled"],[3,"onedevIsHovercardReady","issueId",4,"onedevHovercardLazyBody"],[3,"onedevHovercardTrigger"],[3,"onedevIsHovercardReady","issueId"]],template:function(a,b){a&1&&(F(0,"div"),C(1,scb,6,6,"mat-sidenav-container",5),G(),C(2,ifb,54,61,"ng-template",null,0,yg)(4,kfb,5,2,"ng-template",null,1,yg));a&2&&(a=Q(3),z(),D("ngIf",b.isIssueSidebarEnabled)("ngIfElse",a))},dependencies:[LAc,Ev,Fv,Gv,Kv,
Hv,Iv,Jv,zB,Jx,HT,GT,FT,QY,VY,RY,SY,TY,NY,PY,TM,XY,oL,IY,V_,nQ,yN,uT,$H,aI,gI,bI,VN,R_,zQ,vQ,TN,WY,wJ,vJ,BJ,yJ],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 Y_=new qq({name:"focused",sortable:!1,draggable:!1,isMetadata:!0}),SFc=new qq({name:"draghandle",sortable:!1,draggable:!1,isMetadata:!0}),Z_=new qq({name:"selected",sortable:!1,draggable:!1,isMetadata:!0}),a0=new qq({name:"starred",sortable:!1,draggable:!1,isMetadata:!0}),TFc=new qq({name:"position",sortable:!0,draggable:!1,fullLabel:"Position",label:"POS",isMetadata:!0});var b0=function(a,b,c){Z.call(this);var d=this;this.snackBar=a;this.issuePicker=b;this.issueApi=c;this.issueAddedToHotlist=new XF;this.onCloseIssuePicker=function(e){e=e===void 0?[]:e;if(e.length!==0&&d.id!=null){var f=e.join(", ");d.snackBar.open(e.length===1?"Adding issue "+f+" to this hotlist":"Adding multiple issues to this hotlist: "+f,void 0,{duration:2500});d.issueApi.issueBulkEdit({bulkEditOps:[{actions:[{fieldName:"hotlists",value:d.id,actionType:"ADD"}],issueIds:e}]}).then(d.didSave,d.gotErr)}};
this.didSave=function(){d.issueAddedToHotlist.emit();d.snackBar.open("Successfully added to hotlist",void 0,{duration:2500})};this.gotErr=function(e){var f,h,k,q,t=(q=(k=e==null?void 0:(f=e.error)==null?void 0:f.message)!=null?k:e==null?void 0:(h=e.data)==null?void 0:h.message)!=null?q:"Error adding issues to the hotlist";d.snackBar.open(t,"close",{panelClass:"error"})}};X(b0,Z);b0.\u0275dir=Z.\u0275dir;b0.\u0275fac=function(a){return new (a||b0)(A(XD),A(NS),A(PD))};
b0.\u0275cmp=p({type:b0,selectors:[["hotlist-add-issue-btn"]],inputs:{id:[0,"hotlistId","id"]},outputs:{issueAddedToHotlist:"issueAddedToHotlist"},features:[zf],decls:2,vars:0,consts:[["mat-button","","matTooltip","Add issues to this hotlist",1,"gmat-button","medium",3,"click"]],template:function(a,b){a&1&&(F(0,"button",0),M("click",function(){b.issuePicker.open({title:"Add Issues to this Hotlist",allowMultipleIds:!0},b.onCloseIssuePicker)}),R(1," Add Issue(s) "),G())},dependencies:[IH,Rx,LH,OH],
encapsulation:2});var c0=function(a,b,c,d){Z.call(this);var e=this;this.fridge=a;this.snackBar=b;this.dialog=c;this.events=d;this.id$=new W.ReplaySubject(1);this.hotlist$=this.id$.pipe(pf(function(f){return e.fridge.watchOne(f)}),mf({refCount:!0,bufferSize:1}));this.archived$=this.hotlist$.pipe(y(function(f){return!(f==null||!f.archived)}),df());this.archiveActionLabel$=this.archived$.pipe(y(function(f){return f?"Unarchive":"Archive"}));this.archiveActionTooltip$=this.archived$.pipe(y(function(f){return f?"Unarchive this hotlist":
"Archive this hotlist, hiding it from most searches"}));this.didSave=function(f){return function(){e.snackBar.open(f?"Hotlist was archived":"Hotlist was unarchived",void 0,{duration:2500});e.events.hotlistChanged.next()}};this.gotErr=function(f){return function(h){var k=f?"archiving":"unarchiving";e.snackBar.open(nn(h)||"Error "+k+" the hotlist","close",{panelClass:"error"})}};this.hotlist$.pipe(qf(this.destroyed$)).subscribe(function(f){e.latestHotlist=f})};X(c0,Z);c0.\u0275dir=Z.\u0275dir;
c0.prototype.isThinking=function(a){return this.fridge.isThinking(a)};c0.prototype.ngOnChanges=function(a){(a=a.id)&&this.id$.next(a.currentValue)};var VFc=function(a){if(a.latestHotlist!=null){var b=!a.latestHotlist.archived;b?a.dialog.open({title:"Archive Hotlist",content:wh("Do you want to archive this hotlist?"),isDestructive:!0,onConfirm:function(){UFc(a,b)}}):UFc(a,b)}},UFc=function(a,b){a.fridge.save(Object.assign({},a.latestHotlist,{archived:b})).subscribe({next:a.didSave(b),error:a.gotErr(b)})};
c0.\u0275fac=function(a){return new (a||c0)(A(bF),A(XD),A(EI),A(yE))};
c0.\u0275cmp=p({type:c0,selectors:[["hotlist-archive-btn"]],inputs:{id:[0,"hotlistId","id"]},features:[zf,td],decls:4,vars:7,consts:[["mat-button","",1,"gmat-button","medium",3,"click","disabled","matTooltip"]],template:function(a,b){a&1&&(F(0,"button",0),T(1,"async"),M("click",function(){return VFc(b)}),R(2),T(3,"async"),G());if(a&2){var c;D("disabled",b.isThinking(b.id))("matTooltip",(c=V(1,3,b.archiveActionTooltip$))!==null&&c!==void 0?c:"");z(2);S(" ",V(3,5,b.archiveActionLabel$)," ")}},dependencies:[IH,
Rx,LH,OH,Lv],encapsulation:2});var d0=function(a,b,c,d,e,f,h,k,q,t,w,B,E,I,J){mY.call(this,a,b,c,d,e,f,h,k,q,t,E,I,J);this.estadoService=w;this.refreshMonitor=B;this.init=new XF;this.onRefresh=new XF;this.isHotlistAdmin=!1;this.onExportCsv=new XF;this.showHotlistButtons=!1;this.isNonPublicSession=this.activeSession.isNonPublicSession();a=this.estadoService;this.enableEstadoInAppBar=a.enableEstado&&!kp(a.activeSession);this.enableBulkEditUi=!this.activeSession.userRequiresCaptcha();this.controllerName="gridControls"};X(d0,mY);
d0.\u0275dir=mY.\u0275dir;g=d0.prototype;g.ngOnInit=function(){this.init.emit(this)};g.ngOnChanges=function(a){var b=this;a.grid&&this.grid&&PFc(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 WFc=function(a){return a.hasSelectedIssues()&&a.isNonPublicSession};
d0.\u0275fac=function(a){return new (a||d0)(A(CC),A(YF,2),A(Ir),A(bG),A(KN),A(UU),A(FI),A(vW),A(wI),A(tE),A(MY),A(iG),A(NS),A(rH),A(SN))};
d0.\u0275cmp=p({type:d0,selectors:[["b-grid-controls"]],inputs:{grid:"grid",isHotlistAdmin:"isHotlistAdmin",currentHotlistId:"currentHotlistId",showHotlistButtons:"showHotlistButtons"},outputs:{init:"init",onRefresh:"onRefresh",onExportCsv:"onExportCsv"},features:[qg([YF]),zf,td],decls:11,vars:8,consts:[["addCommentDialog",""],["size","large","format","icon","tooltip","Refresh","bAriaLabel","Refresh",1,"refresh-button",3,"onAction"],["name","refresh","size","large"],[3,"enableBulkEstimatedEffortOption",
"readStatePrompt","onBulkEdit","onQuickBulkEdit","onBulkEditIssueRelation","onBulkMarkIssueRead",4,"ngIf"],[3,"shortLinkPrefix","shouldShowCopyIssueShortLinks","onClickCopyIssueIds","onClickCopyIssueShortLinks","onClickCopyAsIssueSearch",4,"ngIf"],["class","bv2-grid-hotlist-picker",4,"ngIf"],[4,"ngIf"],["class","compact","tooltip","Reporting","aria-label","Reporting",3,"size","format","onAction",4,"ngIf"],[1,"bv2-appbar-menu",3,"exportCsvClicked","flagAsSpamClicked","showExportCsv","showFlagIssuesAsSpam"],
[3,"save","close","externalWarnings"],[3,"onBulkEdit","onQuickBulkEdit","onBulkEditIssueRelation","onBulkMarkIssueRead","enableBulkEstimatedEffortOption","readStatePrompt"],[3,"onClickCopyIssueIds","onClickCopyIssueShortLinks","onClickCopyAsIssueSearch","shortLinkPrefix","shouldShowCopyIssueShortLinks"],[1,"bv2-grid-hotlist-picker"],[3,"onApply","onCreate","onLoad","selectedHotlistIds","choices"],[3,"hotlistId","issueAddedToHotlist",4,"ngIf"],[3,"hotlistId",4,"ngIf"],[3,"issueAddedToHotlist","hotlistId"],
[3,"hotlistId"],["tooltip","Reporting","aria-label","Reporting",1,"compact",3,"onAction","size","format"],["name","bar-chart","size","large"],["class","bv2-estado-text",4,"ngIf"],[1,"bv2-estado-text"],["mat-dialog-title",""],[3,"comment","showToolbar","commentChange","onSubmit",4,"ngIf"],[3,"externalWarnings"],["class","flex-kids-x justify-flex-end",4,"ngIf"],["mat-button","",1,"medium",3,"mat-dialog-close"],["mat-flat-button","","cdkFocusInitial","",1,"medium","primary",3,"disabled","mat-dialog-close"],
[3,"commentChange","onSubmit","comment","showToolbar"],[1,"flex-kids-x","justify-flex-end"],[3,"onUpdate"]],template:function(a,b){if(a&1){var c=u();F(0,"b-button",1);M("onAction",function(){v(c);return x(b.refresh())});H(1,"b-icon",2);G();C(2,lfb,2,4,"b-app-bar-bulk-edit-menus",3)(3,mfb,1,2,"b-copy-issue-id-button",4)(4,nfb,2,2,"div",5)(5,qfb,3,2,"ng-container",6)(6,sfb,3,3,"b-button",7);F(7,"b-app-bar-more-menu",8);M("exportCsvClicked",function(){v(c);return x(b.onExportCsv.emit())})("flagAsSpamClicked",
function(){v(c);return x(Hzc(b))});G();F(8,"b-state-modal",9);M("save",function(){v(c);return x(Fzc(b))})("close",function(){v(c);return x(b.hotkeys.unpause())});G();C(9,vfb,11,6,"ng-template",null,0,yg)}a&2&&(z(2),D("ngIf",b.hasSelectedIssues()),z(),D("ngIf",b.hasSelectedIssues()),z(),D("ngIf",b.enableBulkEditUi&&b.hasSelectedIssues()),z(),D("ngIf",b.showHotlistButtons&&!b.hasSelectedIssues()),z(),D("ngIf",b.enableEstadoInAppBar),z(),D("showExportCsv",b.isNonPublicSession||Q4b(b.activeSession))("showFlagIssuesAsSpam",
WFc(b)),z(),D("externalWarnings",b.externalWarnings))},dependencies:[PT,OT,jQ,gY,Gv,kW,c0,b0,tX,hN,IH,Rx,xI,zI,BI,AI,kY,jY,hY,Lv],styles:["[_nghost-%COMP%] { display: flex; align-items: center; }"]});var XFc=function(a){return{displayText:"Admins",values:a}},YFc=function(a){return[a]},ZFc=function(a){return{displayText:"Appenders",values:a}},$Fc=wh("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?"),e0=function(a,b,c,d,e,f,h,k,q){Z.call(this);var t=this;this.hotlistAccessPolicyFridge=a;this.links=b;this.snackBar=
c;this.events=d;this.dialog=f;this.permissions=h;this.userApi=k;this.activeSession=q;this.id$=new W.ReplaySubject(1);this.idSubject$=eo(this.id$.pipe(qf(this.destroyed$)));this.acl$=this.id$.pipe(pf(function(w){return t.hotlistAccessPolicyFridge.watchOne(w)}));this.latestCompactPolicy={};this.admins=[];this.appenders=[];this.readers=[];this.accessControlLink=K$b(this.links);this.validity={};this.isValid=function(){return Object.values(t.validity).every(Boolean)};this.isInvalid=function(){return!t.isValid()};
this.allAppenders=[];this.onPressSave=function(){t.isRevokingAdmin()?t.dialog.open({title:"Change Hotlist Admins",content:$Fc,isDestructive:!0,onConfirm:t.doSave}):t.doSave()};this.doSave=function(){var w=t.idSubject$.value;if(w!=null){var B=t.isRevokingAdmin();w={id:w,admins:jLa(t.admins),appenders:jLa(t.appenders),editors:null,readers:jLa(t.readers),implicitAccess:null,restrictedReaders:null,restrictedPlusReaders:null,inheritedAdmins:null,implicitAppenders:null,implicitEditors:null,implicitReaders:null};
t.hotlistAccessPolicyFridge.save(w).subscribe({next:t.didSave(B,w.id),error:t.gotErr})}};this.didSave=function(w,B){return function(){t.snackBar.open("Access control saved",void 0,{duration:2500});t.events.hotlistChanged.next();t.permissions.poke(B);w&&t.doStar()}};this.gotErr=function(w){t.snackBar.open(nn(w)||"Error saving the hotlist access policy","close",{panelClass:"error"})};this.doStar=function(){var w=t.idSubject$.value;w&&t.userApi.addUserBookmark({resourceType:"HOTLIST",resourceId:w}).then(function(){t.events.hotlistChanged.next()})};
this.onPressRevert=function(){t.resetEdits()};this.gotAcl=function(w){t.latestPolicy=w;var B,E,I;t.latestCompactPolicy={admins:Jo((B=t.latestPolicy)==null?void 0:B.admins),appenders:Jo((E=t.latestPolicy)==null?void 0:E.appenders),readers:Jo((I=t.latestPolicy)==null?void 0:I.readers)};t.resetEdits()};this.isChanged=function(){var w=t.latestCompactPolicy,B;if(!pi((B=w.admins)!=null?B:[],t.admins))return!0;var E;if(!pi((E=w.appenders)!=null?E:[],t.appenders))return!0;var I;return pi((I=w.readers)!=null?
I:[],t.readers)?!1:!0};this.hasNoChanges=function(){return!t.isChanged()};this.acl$.pipe(qf(this.destroyed$)).subscribe(this.gotAcl);this.subscriptions.add(FQ(e,this.isChanged,!1))};X(e0,Z);e0.\u0275dir=Z.\u0275dir;var aGc=function(a){return[].concat(r(new Set([].concat(r(a.admins),r(a.appenders)))))};e0.prototype.ngOnChanges=function(a){(a=a.hotlistId)&&this.id$.next(a.currentValue)};
e0.prototype.resetEdits=function(){var a;this.admins=[].concat(r((a=this.latestCompactPolicy.admins)!=null?a:[]));var b;this.appenders=[].concat(r((b=this.latestCompactPolicy.appenders)!=null?b:[]));var c;this.readers=[].concat(r((c=this.latestCompactPolicy.readers)!=null?c:[]));this.allAppenders=aGc(this)};e0.prototype.isRevokingAdmin=function(){var a=this.admins,b,c=(b=this.latestCompactPolicy.admins)!=null?b:[];return this.isRevokingDirectAdmin(a,c,this.activeSession.getUserEmail())};
e0.prototype.isRevokingDirectAdmin=function(a,b,c){c=c===void 0?"":c;if(FAa(a,b))return!1;c="USER:"+c;b=b.includes(c);a=!a.includes(c);return b&&a};e0.\u0275fac=function(a){return new (a||e0)(A(yF),A(oI),A(XD),A(yE),A(EQ),A(EI),A(OG),A(aF),A(Ir))};
e0.\u0275cmp=p({type:e0,selectors:[["b-edit-hotlist-acl"]],inputs:{hotlistId:"hotlistId",isReadOnly:"isReadOnly"},features:[zf,td],decls:22,vars:24,consts:[[1,"flex-kids-y"],[1,"muted","type-s","margin-s-bottom"],[3,"usersChange","isValid","users"],[3,"usersChange","isValid","users","includeAliases","containerChips"],[3,"usersChange","isValid","users","includeAliases","includeViewAliases","containerChips"],["target","_blank",3,"href"],["class","margin-top flex-kids-x gap-s",4,"ngIf"],[1,"margin-top",
"flex-kids-x","gap-s"],["mat-flat-button","","color","primary","type","submit",1,"gmat-button","medium",3,"click","disabled","matTooltip"],["mat-button","","type","button",1,"gmat-button","medium",3,"click","disabled","matTooltip"]],template:function(a,b){a&1&&(F(0,"form",0)(1,"label"),R(2,"Admins"),G(),F(3,"p",1),R(4,"Edit access controls, edit name and description, reorder hotlist, add/remove issues"),G(),F(5,"b-multi-user-input",2),M("usersChange",function(c){b.admins=c;b.allAppenders=aGc(b)})("isValid",
function(c){return b.validity.admins=c}),G(),F(6,"label"),R(7,"View and append"),G(),F(8,"p",1),R(9,"Reorder hotlist, add/remove issues"),G(),F(10,"b-multi-user-input",3),M("usersChange",function(c){b.appenders=c;b.allAppenders=aGc(b)})("isValid",function(c){return b.validity.appenders=c}),G(),F(11,"label"),R(12,"View only"),G(),F(13,"p",1),R(14,"View the hotlist"),G(),F(15,"b-multi-user-input",4),M("usersChange",function(c){b.readers=c})("isValid",function(c){return b.validity.readers=c}),G()(),
F(16,"p"),R(17," Users can see which issues are in a hotlist, even when they don't have view access to the hotlist. See "),F(18,"a",5),R(19,"access control documentation"),G(),R(20," for an explanation of the settings.\n"),G(),C(21,wfb,5,4,"div",6));a&2&&(z(5),Kf("disabled",b.isReadOnly),D("users",b.admins),z(5),Kf("disabled",b.isReadOnly),D("users",b.appenders)("includeAliases",!0)("containerChips",ug(18,YFc,ug(16,XFc,b.admins))),z(5),Kf("disabled",b.isReadOnly),D("users",b.readers)("includeAliases",
!0)("includeViewAliases",!0)("containerChips",ug(22,YFc,ug(20,ZFc,b.allAppenders))),z(3),D("href",b.accessControlLink,Qe),z(3),D("ngIf",!b.isReadOnly))},dependencies:[Gv,zy,ry,wy,IH,Rx,LH,OH,ON],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 bGc=["hotlistName"],f0=function(a,b,c,d){Z.call(this);var e=this;this.fridge=a;this.snackBar=b;this.events=c;this.isReadOnly=!1;this.id$=new W.ReplaySubject(1);this.hotlist$=this.id$.pipe(pf(function(f){return e.fridge.watchOne(f)}));this.isArchived=!1;this.localEdits={};this.gotHotlist=function(f){e.latestHotlist=f;var h;e.isArchived=(h=f==null?void 0:f.archived)!=null?h:!1;e.resetEdits(f)};this.gotErr=function(f){e.snackBar.open(nn(f)||"Error saving the hotlist","close",{panelClass:"error"})};
this.didSave=function(){e.snackBar.open("Hotlist saved",void 0,{duration:2500});e.events.hotlistChanged.next()};this.isChanged=function(){var f,h=(f=e.latestHotlist)!=null?f:{};return!pi(h,e.localEdits)};this.hasNoChanges=function(){return!e.isChanged()};this.save=function(){e.fridge.save(e.localEdits).subscribe({next:e.didSave,error:e.gotErr})};this.revert=function(){e.resetEdits(e.latestHotlist)};this.hotlist$.pipe(qf(this.destroyed$)).subscribe(function(f){e.gotHotlist(f)});this.subscriptions.add(FQ(d,
this.isChanged,!1))};X(f0,Z);f0.\u0275dir=Z.\u0275dir;f0.prototype.ngAfterViewInit=function(){var a=this;setTimeout(function(){var b;(b=a.hotlistName)==null||b.nativeElement.focus()})};f0.prototype.ngOnChanges=function(a){(a=a.hotlistId)&&this.id$.next(a.currentValue)};f0.prototype.resetEdits=function(a){var b;this.localEdits=(b=qi(a))!=null?b:{}};f0.\u0275fac=function(a){return new (a||f0)(A(bF),A(XD),A(yE),A(EQ))};
f0.\u0275cmp=p({type:f0,selectors:[["b-edit-hotlist-basic"]],viewQuery:function(a,b){a&1&&fg(bGc,5);if(a&2){var c;jg(c=kg())&&(b.hotlistName=c.first)}},inputs:{hotlistId:"hotlistId",isReadOnly:"isReadOnly"},features:[zf,td],decls:10,vars:5,consts:[["hotlistName",""],["name","hotlist",1,"flex-kids-y"],["for","hotlist-name",1,"required"],["type","text","id","hotlist-name","name","name","required","","aria-required","true","autocomplete","off",3,"ngModelChange","disabled","ngModel"],["for","hotlist-description",
1,"margin-top"],["id","hotlist-description","name","description",3,"ngModelChange","disabled","ngModel"],["class","margin-top flex-kids-x gap-s",4,"ngIf"],[1,"margin-top","flex-kids-x","gap-s"],["mat-flat-button","","color","primary","type","submit",1,"gmat-button","medium",3,"click","disabled","matTooltip"],["mat-button","","type","button",1,"gmat-button","medium",3,"click","disabled","matTooltip"],[3,"hotlistId"]],template:function(a,b){if(a&1){var c=u();F(0,"form",1)(1,"label",2);R(2,"Name");G();
F(3,"input",3,0);pg("ngModelChange",function(d){v(c);og(b.localEdits.name,d)||(b.localEdits.name=d);return x(d)});G();F(5,"label",4);R(6,"Description");G();F(7,"textarea",5);pg("ngModelChange",function(d){v(c);og(b.localEdits.description,d)||(b.localEdits.description=d);return x(d)});R(8,"  ");G();C(9,xfb,7,7,"div",6);G()}a&2&&(z(3),D("disabled",b.isReadOnly||b.isArchived),ng("ngModel",b.localEdits.name),z(4),D("disabled",b.isReadOnly||b.isArchived),ng("ngModel",b.localEdits.description),z(2),D("ngIf",
!b.isReadOnly))},dependencies:[Gv,zy,mh,qy,ry,Iy,yy,wy,IH,Rx,LH,OH,c0,Lv],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 g0=function(a,b){Z.call(this);var c=this;this.hotlists=a;this.acls=b;this.id$=new W.ReplaySubject(1);this.hotlist$=this.id$.pipe(pf(function(d){return c.hotlists.watchOne(d)}))};X(g0,Z);g0.\u0275dir=Z.\u0275dir;g0.prototype.isThinking=function(a){var b=a?"hotlists/"+a:void 0;return this.hotlists.isThinking(a)||this.acls.isThinking(b)};g0.prototype.ngOnChanges=function(a){(a=a.id)&&this.id$.next(a.currentValue)};g0.\u0275fac=function(a){return new (a||g0)(A(bF),A(yF))};
g0.\u0275cmp=p({type:g0,selectors:[["b-edit-hotlist-header"]],inputs:{id:[0,"hotlistId","id"]},features:[zf,td],decls:9,vars:8,consts:[[1,"flex-kids-x","align-items-center","gap-s","padded-x"],[1,"muted"],[4,"ngIf"],["class","color-bad-text",4,"ngIf"],[1,"color-bad-text"]],template:function(a,b){a&1&&(F(0,"header",0)(1,"h2")(2,"span",1),R(3),G(),C(4,yfb,2,1,"ng-container",2),T(5,"async"),G(),C(6,zfb,2,0,"strong",3),T(7,"async"),C(8,Afb,1,0,"b-spinner",2),G());if(a&2){var c;z(3);S(" Hotlist ",b.id,
": ");z();D("ngIf",V(5,4,b.hotlist$));z(2);D("ngIf",(c=V(7,6,b.hotlist$))==null?null:c.archived);z(2);D("ngIf",b.isThinking(b.id))}},dependencies:[Gv,RQ,Lv],styles:["[_nghost-%COMP%] {\n      display: block;\n    }"]});var h0=function(a){Z.call(this);this.activeSession=a;this.ROUTES=zo;this.id$=new W.ReplaySubject(1);this.enableBulkEditUi=!this.activeSession.userRequiresCaptcha()};X(h0,Z);h0.\u0275dir=Z.\u0275dir;h0.prototype.ngOnChanges=function(a){(a=a.id)&&this.id$.next(a.currentValue)};h0.prototype.onPressBack=function(){var a;(a=window.history)==null||a.back()};h0.\u0275fac=function(a){return new (a||h0)(A(Ir))};
h0.\u0275cmp=p({type:h0,selectors:[["b-edit-hotlist-toolbar"]],inputs:{id:[0,"hotlistId","id"]},features:[zf,td],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,"gmat-button","medium","no-visited-no-active",3,"href"],[3,"hotlistId",4,"ngIf"],[3,"hotlistId"]],template:function(a,
b){a&1&&(F(0,"section",0)(1,"b-button",1),M("onAction",function(){return b.onPressBack()}),H(2,"b-icon",2),G(),F(3,"a",3),R(4," View Issues "),G(),C(5,Bfb,2,3,"hotlist-add-issue-btn",4),G());a&2&&(z(3),D("href",b.ROUTES.viewHotlist.makeHref(b.id),Qe),z(2),D("ngIf",b.enableBulkEditUi))},dependencies:[Gv,IH,Sx,LH,OH,jQ,hN,b0,Lv],styles:[".button-bar[_ngcontent-%COMP%] {\n      display: flex;\n      align-items: center;\n      height: 46px;\n      box-sizing: border-box;\n    }"]});var cGc=new Map([[403,"You do not have permission to view this Hotlist."],[404,"This Hotlist does not exist."]]),i0=function(a,b,c,d){this.routeParams=a;this.pageTitle=b;this.permissions=c;this.hotlists=d;this.id=this.routeParams.hotlistId;this.resourceId="hotlists/"+this.id;this.isAdmin$=this.permissions.watchOne(this.resourceId).pipe(y(function(e){return e==null?void 0:e.admin}));this.hotlistErrorMsg$=this.hotlists.error$.pipe(y(function(e){var f;return(f=e.status)!=null?f:-1}),y(function(e){var f;
return(f=cGc.get(e))!=null?f:"unknown error"}),of(void 0));this.tabIndex=0};i0.prototype.ngOnInit=function(){this.pageTitle.setTitle("Edit Hotlist "+this.id);window.location.hash.includes("access")&&(this.tabIndex=1)};i0.\u0275fac=function(a){return new (a||i0)(A(iJ),A(cU),A(OG),A(bF))};
i0.\u0275cmp=p({type:i0,selectors:[["edit-hotlist"]],decls:4,vars:6,consts:[[4,"ngIf"],[3,"hotlistId"],[1,"bv2-view"],["gmat-tabs","",3,"selectedIndex"],["label","Basic Information"],[3,"hotlistId","isReadOnly"],["label","Access Control"],["class","muted padded-x",4,"ngIf"],[1,"muted","padded-x"],[1,"padded-x"]],template:function(a,b){a&1&&(C(0,Dfb,13,14,"ng-container",0),T(1,"async"),C(2,Efb,7,1,"ng-container",0),T(3,"async"));a&2&&(D("ngIf",V(1,2,b.hotlistErrorMsg$)===void 0),z(2),D("ngIf",V(3,
4,b.hotlistErrorMsg$)))},dependencies:[Gv,HM,BM,CM,cM,e0,f0,g0,h0,Lv],encapsulation:2});var j0=function(){};j0.\u0275fac=function(a){return new (a||j0)};j0.\u0275cmp=p({type:j0,selectors:[["b-error-banner"]],inputs:{error:"error"},decls:1,vars:1,consts:[["messageType","error",4,"ngIf"],["messageType","error"]],template:function(a,b){a&1&&C(0,Ffb,3,1,"b-callout",0);a&2&&D("ngIf",b.error)},dependencies:[Gv,MQ,NQ],encapsulation:2});var k0=function(){};k0.\u0275fac=function(a){return new (a||k0)};k0.\u0275mod=dd({type:k0});k0.\u0275inj=Ic({imports:[BB,yS]});var l0=function(){};l0.\u0275fac=function(a){return new (a||l0)};l0.\u0275mod=dd({type:l0});l0.\u0275inj=Ic({imports:[BB,My,dJ,aM,YS,sM,JM,jN,AS,k0,uP,hM]});var m0=function(){};m0.\u0275fac=function(a){return new (a||m0)};m0.\u0275mod=dd({type:m0});m0.\u0275inj=Ic({imports:[RT,YS,uY,BB,DN,uW,l0,vY,jN,dJ,fJ,aM,xY,wY,iY]});var n0=function(a,b,c,d){Z.call(this);this.element=a;this.bLocation=b;this.hotkeys=c;this.cdr=d;this.focusedIndex=0;this.convertUserToString=sm;this.hotlists=[];this.registerKeys()};X(n0,Z);n0.\u0275dir=Z.\u0275dir;g=n0.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=LN(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(zo.editHotlist.makeHref(a.hotlistId))};
n0.\u0275fac=function(a){return new (a||n0)(A(Rd),A(oN),A(KN),A(YF,2))};
n0.\u0275cmp=p({type:n0,selectors:[["b-hotlist-grid"]],inputs:{hotlists:"hotlists"},features:[qg([YF]),zf],decls:26,vars:1,consts:[[1,"pop-grid","bv2-resource-list"],[1,"header-row"],[1,"focus-indicator"],[1,"bv2-columnheader-content"],[1,"pop-grid-default-th"],[1,"pop-grid-non-sort-header"],["class","bv2-resource-list-row","tabindex","0",3,"grid-focus","click","focus",4,"ngFor","ngForOf"],["tabindex","0",1,"bv2-resource-list-row",3,"click","focus"],[1,"bv2-resource-list-cell","hotlist-name","clickable"],
["tabindex","-1",1,"grid-link",3,"click","href"],[1,"bv2-resource-list-cell","hotlist-description","clickable"],[1,"bv2-resource-list-cell","resource-admins","clickable"],[4,"ngFor","ngForOf"],[1,"bv2-resource-list-cell","hotlist-id","clickable"],[4,"ngIf"]],template:function(a,b){a&1&&(F(0,"table",0)(1,"thead")(2,"tr",1),H(3,"th",2),F(4,"th")(5,"div",3)(6,"div",4)(7,"div",5),R(8," Hotlist name "),G()()()(),F(9,"th")(10,"div",3)(11,"div",4)(12,"div",5),R(13," Description "),G()()()(),F(14,"th")(15,
"div",3)(16,"div",4)(17,"div",5),R(18," Admins "),G()()()(),F(19,"th")(20,"div",3)(21,"div",4)(22,"div",5),R(23," ID "),G()()()()()(),F(24,"tbody"),C(25,Ifb,11,9,"tr",6),G()());a&2&&(z(25),D("ngForOf",b.hotlists))},dependencies:[Fv,Gv],encapsulation:2});var o0=function(){};o0.\u0275fac=function(a){return new (a||o0)};o0.\u0275mod=dd({type:o0});o0.\u0275inj=Ic({imports:[BB]});var p0=function(a,b){this.bLocation=a;this.butterBar=b},dGc=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};p0.prototype.getCount=function(){var a=dGc(this,"c");return a?vi(a):null};var eGc=function(a){return(a=dGc(a,"p"))?vi(a):null};p0.prototype.getQuery=function(){return dGc(this,"q")};
p0.prototype.getDisplayColumns=function(){var a=this.bLocation.search().d;return a?(Array.isArray(a)?a:[a]).map(Fp).filter(lj):null};p0.prototype.getSortColumns=function(){var a=this.bLocation.search().s;return a?(Array.isArray(a)?a:[a]).map(PVa).filter(lj):null};
var q0=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 fGc(e)}));b.sortColumns!==void 0&&d("s",b.sortColumns==null?null:(b.sortColumns||[]).map(function(e){var f=e.direction=="ASCENDING"?"asc":"desc";return fGc(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)},fGc=function(a){return a.isCustomField()?String(a.customFieldId):a.type.toLowerCase()};p0.\u0275fac=function(a){return new (a||p0)(n(oN),n(sE))};p0.\u0275prov=Hc({token:p0,factory:p0.\u0275fac,providedIn:"root"});var r0=function(a,b,c){this.urlPreferences=a;this.userPreferencesManager=b;this.customFieldApi=c};r0.prototype.fetch=function(a,b){a=this.getParameters(a,b===void 0?null:b);return{searchPreferences:pp({page:a.page,query:a.query,resultsPerPage:a.resultsPerPage,sortColumns:a.sortColumns}),displayColumns:a.displayColumns}};
r0.prototype.getParameters=function(a,b){var c=this,d=b?function(){return gGc(b)}:function(){return hGc(c)},e=b?function(){return iGc(b)}:function(){return jGc(c)};d=Promise.resolve(this.urlPreferences.getDisplayColumns()).then(function(k){return s0(k)}).then(null,d).then(function(k){return s0(k)}).then(null,Pz(a.displayColumns)).then(function(k){return kGc(c,k)});e=Promise.resolve(this.urlPreferences.getSortColumns()).then(function(k){return s0(k)}).then(null,e).then(function(k){return s0(k)}).then(null,
Pz(a.sortColumns));var f=Promise.resolve(this.urlPreferences.getCount()).then(function(k){return s0(k)}).then(null,function(){return lGc(c)}).then(function(k){return s0(k)}).then(null,Pz(a.resultsPerPage)),h=Promise.resolve(this.urlPreferences.getQuery()).then(function(k){return s0(k)}).then(null,function(){return mGc(b,function(k){return k.query})}).then(null,Pz(a.query));a=eGc(this.urlPreferences)||a.page;return{displayColumns:d,sortColumns:e,resultsPerPage:f,query:h,page:a}};
var s0=function(a){return a==null?Promise.reject(null):a},gGc=function(a){return mGc(a,function(b){return b.displayColumn}).then(function(b){return nGc(b)})},iGc=function(a){return mGc(a,function(b){return b.sortOrder}).then(function(b){return oGc(b)})},jGc=function(a){return(0,W.firstValueFrom)(a.userPreferencesManager.sortColumnsPreferences$).then(function(b){return s0(b)}).then(function(b){return oGc(b)})},hGc=function(a){return(0,W.firstValueFrom)(a.userPreferencesManager.displayColumnsPreferences$).then(function(b){return s0(b)}).then(function(b){return nGc(b)})},
lGc=function(a){return(0,W.firstValueFrom)(a.userPreferencesManager.preferences$.pipe(y(function(b){var c;return(c=b.resultsPerPage)!=null?c:null}))).then(function(b){return s0(b)})},mGc=function(a,b){return a?a.then(function(c){c=b(c);return c==null?Promise.reject(null):c}):Promise.reject(null)},nGc=function(a){if(!a||!a.length)return null;a=Rm(a,function(b){return b.customFieldId||b.customFieldName||b.type});return a.map(function(b){return new Ep({customFieldId:b.customFieldId||void 0,customFieldName:b.customFieldName||
void 0,type:b.type})})},oGc=function(a){return a&&a.length?a.map(function(b){return b.column!==void 0?new Ip(new Ep(b.column),b.order):new Ip(new Ep(b.field),b.direction)}).filter(function(b){return b.fieldId.type!="CUSTOM_FIELD"||b.fieldId.customFieldId!=null}):null},kGc=function(a,b){function c(){for(var k=l(b),q=k.next();!q.done;q=k.next())if(q=q.value,q.isCustomField()&&!q.customFieldName){var t=d[q.customFieldId];q.customFieldName=t?t:"Custom field "+q.customFieldId}return b}if(!b)return Promise.resolve([]);
for(var d={},e=[],f=l(b),h=f.next();!h.done;h=f.next())h=h.value,h.customFieldId&&h.isCustomField()&&(h.customFieldName?d[h.customFieldId]=h.customFieldName:e.push(a.customFieldApi.get(h.customFieldId).then(function(k){d[k.customFieldId]=k.name})));return Promise.all(e).then(c,c)};r0.\u0275fac=function(a){return new (a||r0)(n(p0),n(rH),n(pF))};r0.\u0275prov=Hc({token:r0,factory:r0.\u0275fac,providedIn:"root"});var t0=function(a,b,c,d,e,f,h,k,q,t,w,B,E,I,J,N,P){Z.call(this);var U=this;this.cdr=a;this.bLocation=b;this.$log=c;this.butterBar=e;this.analytics=f;this.issuePagination=h;this.gridPreferencesFetcher=k;this.paths=q;this.errorHandler=t;this.domSafe=w;this.timeout=B;this.hotkeys=E;this.appSearchState=J;this.componentFridge=N;this.issueFridge=P;this.ANALYTICS_CATEGORY="panel";this.resource=this.searchResults=this.initialSortPreferences=this.initialIssueColumns=this.displayColumns=null;this.isLoading=
!1;this.page=1;this.issueColumnsInternal=[];this.sortPreferences=[];this.last=this.first=this.isDashboardEditable=!1;this.focusedRowIndexInternal=null;this.focusedRowIndexChange=new XF;this.resultsLoaded=new XF;this.selectionChange=new XF;this.isColumnSaveEnabled=!1;this.cachedSort=null;this.currentUserEmail=d.getUserEmail();this.BASE_HOTKEYS=[{keys:["j"],displayAs:"j",description:"Move to the next issue in the current panel",onPress:function(){var ba;(ba=U.issuesGrid)==null||ocb(ba)}},{keys:["k"],
displayAs:"k",description:"Move to the previous issue in the current panel",onPress:function(){var ba;(ba=U.issuesGrid)==null||pcb(ba)}},{keys:["x"],displayAs:"x",description:"Select/Deselect the current issue",onPress:function(){var ba;(ba=U.issuesGrid)==null||OFc(ba)}},{keys:["s"],displayAs:"s",description:"Star/Unstar the current issue",onPress:function(){var ba;(ba=U.issuesGrid)==null||QFc(ba)}},{keys:[Oo("i")],displayAs:"Shift+i",description:"Mark as read",onPress:function(){var ba;(ba=U.issuesGrid)==
null||RFc(ba,!0)}},{keys:[Oo("u")],displayAs:"Shift+u",description:"Mark as unread",onPress:function(){var ba;(ba=U.issuesGrid)==null||RFc(ba,!1)}},{keys:[Po("*","a")],displayAs:"* then a",description:"Select all issues in the current panel",onPress:function(){var ba;(ba=U.issuesGrid)==null||ba.selectAll()}},{keys:[Po("*","n")],displayAs:"* then n",description:"Deselect all issues in the current panel",onPress:function(){var ba;(ba=U.issuesGrid)==null||LFc(ba)}},{keys:["o","ENTER"],displayAs:"o / Enter",
description:"Open the current issue",onPress:function(ba){var ma=I.document.activeElement;if(ba===1&&(ma==null?void 0:ma.tagName)==="A")if(ma.href)ba=U.paths.getBaseUrl(),ma.href.startsWith(ba)?b.setUrl(ma.href.slice(ba.length)):U.domSafe.openInNewTab(ma.href);else{var na;(na=U.issuesGrid)==null||X_(na)}else{var ya;(ya=U.issuesGrid)==null||X_(ya)}}}];this.destroyed$.subscribe(function(){var ba;(ba=U.unregisterHotkeys)==null||ba.call(U)})};X(t0,Z);
t0.prototype.columnsChange=function(a){this.issueColumns=a};t0.prototype.ngOnInit=function(){this.getIssues();pGc(this)};var pGc=function(a){var b;(b=a.unregisterHotkeys)==null||b.call(a);a.isFocused?a.unregisterHotkeys=LN(a.hotkeys,{title:"Bookmark Group Dashboard",hotkeys:a.BASE_HOTKEYS}):a.unregisterHotkeys=void 0},egb=function(a,b){a.issuesGrid=b;PFc(a.issuesGrid,function(){var c,d={panelId:a.panel.panelId,selectedIssues:(c=a.issuesGrid)==null?void 0:c.getSelectedIssues()};a.selectionChange.emit(d)})};
g=t0.prototype;g.setSort=function(a,b,c){c=c===void 0?!0:c;var d=Fp(a);if(d==null)this.$log.warn("WARNING: Invalid column name: "+a);else{var e=new Ip(d,b=="ASC"?"ASCENDING":"DESCENDING");Xa(this.sortPreferences,function(f){return pi(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):ti(a.fieldId.type),direction:a.direction=="ASCENDING"?"ASC":"DESC"};pi(a,this.cachedSort)||(this.cachedSort=a);return this.cachedSort};g.initColumns=function(a,b){this.displayColumns=a;this.issueColumnsInternal=[].concat(r(b),r(t7a(a)));this.initialIssueColumns=qi(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=Ao(a),c&&Dk(c)?this.domSafe.openInNewTab(a):this.bLocation.setUrl(a))};g.goToPage=function(a){this.page=a;this.getIssues()};g.refreshResults=function(){frc(this.issuePagination);this.getIssues()};g.exportCsv=function(){GH(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 crc(b.issuePagination,e)});a.catch(function(e){typeof e==="number"?
b.goToPage(e):e&&b.errorHandler.errorHandler(null,e)});return pp({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=qi(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 W.Subscription;a=l(a);for(c=a.next();!c.done;c=a.next())this.issueSubscriptions.add(this.issueFridge.watch(c.value.id).pipe(te(lj),qf(this.destroyed$)).subscribe(function(d){var e;return fe(function(f){if(f.nextAddress==1)return b.searchResults?he(f,(0,W.firstValueFrom)(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();Xqc(b.searchResults,[{issue:d,component:e}]);b.searchResults=b.searchResults.clone()}b.cdr.detectChanges();le(f)})}))};g.getGridPreferencesDefaults=function(){return{page:this.page,displayColumns:qGc,sortColumns:[],query:"",resultsPerPage:25}};
g.save=function(){var a=this,b=u7a(this.issueColumns.slice((this.searchResults?this.getMetaColumns(this.searchResults):rGc).length)).map(function(c){return new Ep(c)});this.resource.displayColumn=b;b=this.sortPreferences.map(function(c){return{direction:c.direction,field:c.fieldId}});this.resource.sortOrder=b;Ap(this.butterBar,"Saving changes to panel...");this.saveResource().then(function(){a.initialIssueColumns=qi(a.issueColumns);a.initialSortPreferences=qi(a.sortPreferences);a.cdr.detectChanges()})};
g.discardChanges=function(){this.analytics.trackEvent(this.ANALYTICS_CATEGORY,"discardChanges");this.issueColumns=[].concat(r(this.initialIssueColumns||[]));this.initialSortPreferences&&!pi(this.initialSortPreferences,this.sortPreferences)&&(Fba(this.sortPreferences),Lt(Iba,this.sortPreferences,void 0,0).apply(null,this.initialSortPreferences),this.refreshResults())};
g.hasParamChanges=function(){return this.resource&&this.isEditable()?this.initialIssueColumns&&!pi(this.initialIssueColumns,this.issueColumns)?!0:!!this.initialSortPreferences&&!pi(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 rGc};
g.getSearchParams=function(a){a=qi(a);a.resultsPerPage=10;a.page=this.page;this.sortPreferences.length&&(a.sortColumns=this.sortPreferences);a.returnUrl=this.bLocation.getUrl();return a};
ea.Object.defineProperties(t0.prototype,{issueColumns:{configurable:!0,enumerable:!0,get:function(){return this.issueColumnsInternal},set:function(a){pi(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&&pGc(this)},
get:function(){return this.focusedRowIndexInternal}},isFocused:{configurable:!0,enumerable:!0,get:function(){return this.focusedRowIndex!==null}}});var rGc=[Y_,Z_,a0],qGc=rAc.map(Fp).filter(lj);t0.\u0275fac=function(a){return new (a||t0)(A(YF),A(oN),A(tE),A(Ir),A(sE),A(bG),A(bU),A(r0),A(pN),A(uE),A(FH),A(iD),A(KN),A(Window),A(xH),A(CC),A(jG))};
t0.\u0275dir=fd({type:t0,viewQuery:function(a,b){a&1&&fg(W_,5);if(a&2){var c;jg(c=kg())&&(b.issuesGrid=c.first)}},inputs:{panel:"panel",isDashboardEditable:"isDashboardEditable",first:"first",last:"last",focusedRowIndex:"focusedRowIndex"},outputs:{focusedRowIndexChange:"focusedRowIndexChange",resultsLoaded:"resultsLoaded",selectionChange:"selectionChange"},features:[zf]});var u0=function(a,b){this.dialog=a;this.appEvents=b;this.last=this.first=!1};u0.prototype.removePanel=function(){var a=this;this.dialog.open({title:"Remove Item?",content:wh("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)}})};u0.\u0275fac=function(a){return new (a||u0)(A(EI),A(yE))};
u0.\u0275cmp=p({type:u0,selectors:[["b-panel-controls"]],inputs:{panelId:"panelId",first:"first",last:"last"},decls:6,vars:1,consts:[["menu",""],["mat-icon-button","","aria-label","Customize list view",1,"small","bv2-grid-settings-button",3,"matMenuTriggerFor"],["svgIcon","arrow-dropdown",1,"icon-s"],["matMenuContent",""],["mat-menu-item","","class","bv2-panel-move-to-top-menuitem",3,"click",4,"ngIf"],["mat-menu-item","","class","bv2-panel-move-up-menuitem",3,"click",4,"ngIf"],["mat-menu-item","",
"class","bv2-panel-move-down-menuitem",3,"click",4,"ngIf"],["mat-menu-item","","class","bv2-panel-move-to-bottom-menuitem",3,"click",4,"ngIf"],["mat-menu-item","",1,"bv2-panel-remove-edit-menuitem",3,"click"],["mat-menu-item","",1,"bv2-panel-move-to-top-menuitem",3,"click"],["mat-menu-item","",1,"bv2-panel-move-up-menuitem",3,"click"],["mat-menu-item","",1,"bv2-panel-move-down-menuitem",3,"click"],["mat-menu-item","",1,"bv2-panel-move-to-bottom-menuitem",3,"click"]],template:function(a){a&1&&(F(0,
"div")(1,"button",1),H(2,"mat-icon",2),G(),F(3,"mat-menu",null,0),C(5,Nfb,6,4,"ng-template",3),G()());a&2&&(a=Q(4),z(),D("matMenuTriggerFor",a))},dependencies:[Gv,zB,QL,TL,RL,SL,UL,IH,Tx],encapsulation:2});var v0=function(){};v0.\u0275fac=function(a){return new (a||v0)};v0.\u0275mod=dd({type:v0});v0.\u0275inj=Ic({imports:[BB,ZL,dJ]});var w0=function(){};w0.\u0275fac=function(a){return new (a||w0)};w0.\u0275mod=dd({type:w0});w0.\u0275inj=Ic({imports:[BB,NL]});var x0=function(){};x0.\u0275fac=function(a){return new (a||x0)};x0.\u0275mod=dd({type:x0});x0.\u0275inj=Ic({imports:[BB,w0]});var y0=function(){};y0.\u0275fac=function(a){return new (a||y0)};y0.\u0275mod=dd({type:y0});y0.\u0275inj=Ic({imports:[BB,NL,x0]});var z0=function(){};z0.\u0275fac=function(a){return new (a||z0)};z0.\u0275mod=dd({type:z0});z0.\u0275inj=Ic({imports:[BB,w0]});var sGc=function(){this.availablePanels=new Set;this.iconOnly=!1;this.buttonClassname="";this.openSidebar=new XF};sGc.\u0275fac=function(a){return new (a||sGc)};
sGc.\u0275cmp=p({type:sGc,selectors:[["b-insights-graph-menu"]],inputs:{availablePanels:"availablePanels",iconOnly:"iconOnly",buttonClassname:"buttonClassname"},outputs:{openSidebar:"openSidebar"},decls:14,vars:5,consts:[["mat-button","","matTooltip","Insight Graph menu",1,"main-button","gmat-button","square-right",3,"click","ngClass","disabled"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 18 22"],["fill","none","fill-rule","evenodd"],"stroke;currentColor;stroke-linecap;round;stroke-linejoin;round;stroke-opacity;.4;d;M17.5 5.41l-8-3.91m0 7.82l-8-3.91".split(";"),
"stroke;currentColor;stroke-opacity;.4;d;M9.5 9.32v10".split(";"),"stroke;currentColor;stroke-linecap;round;stroke-linejoin;round;stroke-width;1.5;d;M9.5 1.5l-8 3.91v10.01l8 3.91 8-3.91V5.41l-8 3.91".split(";"),"cx 1.5 cy 5.41 r 1.5 fill currentColor fill-rule nonzero".split(" "),"cx 17.5 cy 5.41 r 1.5 fill currentColor fill-rule nonzero".split(" "),"cx 9.5 cy 9.32 r 1.5 fill currentColor fill-rule nonzero".split(" "),"cx 1.5 cy 15.43 r 1.5 fill currentColor fill-rule nonzero".split(" "),"cx 17.5 cy 15.43 r 1.5 fill currentColor fill-rule nonzero".split(" "),
"cx 9.5 cy 19.33 r 1.5 fill currentColor fill-rule nonzero".split(" "),"cx 9.5 cy 1.5 r 1.5 fill currentColor fill-rule nonzero".split(" "),[4,"ngIf"]],template:function(a,b){a&1&&(F(0,"button",0),M("click",function(){b.openSidebar.emit({panel:void 0})}),Gd(),F(1,"svg",1)(2,"g",2),H(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),G()(),C(13,Ofb,2,0,"ng-container",13),G());a&2&&(Kf("icon-only-mode",b.iconOnly),
D("ngClass",b.buttonClassname)("disabled",b.availablePanels.size===0),z(13),D("ngIf",!b.iconOnly))},dependencies:[Ev,Gv,oE,LH,OH],styles:["[_nghost-%COMP%]{white-space:nowrap}svg[_ngcontent-%COMP%]{height:14px;width:14px;vertical-align:middle;margin-right:3px}.gmat-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-button.icon-only-mode[_ngcontent-%COMP%]{padding:0 2px}.gmat-button.icon-only-mode.main-button[_ngcontent-%COMP%]{padding:0 4px}.gmat-button.icon-only-mode[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{margin-right:0;height:16px;width:16px}.gmat-button.icon-only-mode.mat-button[_ngcontent-%COMP%]:not([disabled]){color:#5f6368;color:var(--icon)}.gmat-button.icon-only-mode[_ngcontent-%COMP%]:not(.mat-icon-button).small{padding:0 2px}.gmat-button.icon-only-mode[_ngcontent-%COMP%]:not(.mat-icon-button).small.main-button{padding:0 4px}"],
changeDetection:0});var A0=function(a){this.issueInsightsSidebarService=a;this.iconOnly=!1;this.buttonClassname="";this.availablePanels$=this.issueInsightsSidebarService.availablePanels$;this.shouldShowInsightsGraphMenu$=this.issueInsightsSidebarService.shouldShowInsightsGraphMenu$};A0.prototype.openSidebar=function(a){this.issueInsightsSidebarService.openSidebar(a)};A0.\u0275fac=function(a){return new (a||A0)(A(P_))};
A0.\u0275cmp=p({type:A0,selectors:[["insights-graph-menu-smart"]],inputs:{iconOnly:"iconOnly",buttonClassname:"buttonClassname"},decls:2,vars:3,consts:[[4,"ngIf"],[3,"availablePanels","iconOnly","buttonClassname","openSidebar",4,"ngIf"],[3,"openSidebar","availablePanels","iconOnly","buttonClassname"]],template:function(a,b){a&1&&(C(0,Qfb,3,3,"ng-container",0),T(1,"async"));a&2&&D("ngIf",V(1,1,b.availablePanels$))},dependencies:[Gv,sGc,Lv],encapsulation:2,changeDetection:0});var B0=function(){};B0.\u0275fac=function(a){return new (a||B0)};B0.\u0275mod=dd({type:B0});B0.\u0275inj=Ic({imports:[BB,ML,ZL,aM]});var C0=function(){};C0.\u0275fac=function(a){return new (a||C0)};C0.\u0275mod=dd({type:C0});C0.\u0275inj=Ic({imports:[BB,ML,DN]});var D0=function(){};D0.\u0275fac=function(a){return new (a||D0)};D0.\u0275mod=dd({type:D0});D0.\u0275inj=Ic({imports:[wS,BB,dJ,fV,NL,aM,C0]});var E0=function(){};E0.\u0275fac=function(a){return new (a||E0)};E0.\u0275mod=dd({type:E0});E0.\u0275inj=Ic({imports:[KY,BB,D0,jN,ML,fJ,ZL,aM,uP,jM]});var F0=function(){};F0.\u0275fac=function(a){return new (a||F0)};F0.\u0275mod=dd({type:F0});F0.\u0275inj=Ic({imports:[Tv]});var G0=function(){};G0.\u0275fac=function(a){return new (a||G0)};G0.\u0275mod=dd({type:G0});G0.\u0275inj=Ic({imports:[Tv,pS]});var H0=function(){};H0.\u0275fac=function(a){return new (a||H0)};H0.\u0275mod=dd({type:H0});H0.\u0275inj=Ic({imports:[F0,Tv,pS,G0]});var I0=function(){};I0.\u0275fac=function(a){return new (a||I0)};I0.\u0275mod=dd({type:I0});I0.\u0275inj=Ic({imports:[Tv,ww,yx,Tw,ML]});var J0=function(){};J0.\u0275fac=function(a){return new (a||J0)};J0.\u0275mod=dd({type:J0});J0.\u0275inj=Ic({imports:[Tv,My,I0]});var K0=function(){};K0.\u0275fac=function(a){return new (a||K0)};K0.\u0275mod=dd({type:K0});K0.\u0275inj=Ic({imports:[BB,aM,H0,XV,J0,NL]});var L0=function(){};L0.\u0275fac=function(a){return new (a||L0)};L0.\u0275mod=dd({type:L0});L0.\u0275inj=Ic({imports:[Tv]});var M0=function(){};M0.\u0275fac=function(a){return new (a||M0)};M0.\u0275mod=dd({type:M0});M0.\u0275inj=Ic({imports:[Tv,My,I0,L0]});var N0=function(){};N0.\u0275fac=function(a){return new (a||N0)};N0.\u0275mod=dd({type:N0});N0.\u0275inj=Ic({imports:[BB,kN,M0]});var O0=function(){};O0.\u0275fac=function(a){return new (a||O0)};O0.\u0275mod=dd({type:O0});O0.\u0275inj=Ic({imports:[BB,DH,QV,Ny,qM]});var P0=function(){};P0.\u0275fac=function(a){return new (a||P0)};P0.\u0275mod=dd({type:P0});P0.\u0275inj=Ic({imports:[BB,aM,ML,z0,UM,x0,O0,yx]});var Q0=function(){};Q0.\u0275fac=function(a){return new (a||Q0)};Q0.\u0275mod=dd({type:Q0});Q0.\u0275inj=Ic({imports:[YS,yS,BB,My,dJ,fJ,GS,sM,aM,XV]});var tGc={},uGc=(tGc.COMFORTABLE=330,tGc.COZY=300,tGc.COMPACT=270,tGc),R0=function(a){Z.call(this);var b=this;this.userPreferencesManager=a;this.RIGHT_SIDEBAR_MIN_WIDTH=245;this.density$=this.userPreferencesManager.preferences$.pipe(y(function(c){var d;return(d=c.themePreferences)==null?void 0:d.density}));this.sidebarWidthPreference$=this.userPreferencesManager.preferences$.pipe(y(function(c){var d;return(d=c.layoutPreferences)==null?void 0:d.rightSidebarWidth}));this.rightSidebarWidthChanged$=new W.Subject;
this.currentSidebarWidth$=(0,W.combineLatest)([this.density$,this.sidebarWidthPreference$,this.rightSidebarWidthChanged$.pipe(of(void 0))]).pipe(y(function(c){var d=l(c);c=d.next().value;var e=d.next().value;d=d.next().value;return d!=null?d:e!=null?e:uGc[c!=null?c:"COMFORTABLE"]}));(0,W.combineLatest)([this.rightSidebarWidthChanged$.pipe(df()),this.sidebarWidthPreference$]).pipe(te(function(c){var d=l(c);c=d.next().value;return d.next().value!==c}),pf(function(c){var d=l(c);c=d.next().value;d.next();
return p9b(b.userPreferencesManager,{rightSidebarWidth:c})}),qf(this.destroyed$)).subscribe()};X(R0,Z);R0.\u0275dir=Z.\u0275dir;R0.prototype.ngOnInit=function(){};R0.\u0275fac=function(a){return new (a||R0)(A(rH))};
R0.\u0275cmp=p({type:R0,selectors:[["issue-metadata-sidebar"]],inputs:{issueId:"issueId"},features:[zf],decls:7,vars:7,consts:[[1,"a11y-only"],["direction","rtl",3,"widthChanged","disableToggleBtn","hideToggleBtnOnOpen","minWidth","size"],[1,"bv2-issue-metadata"],[1,"flex-kids-y"],[3,"issueId",4,"ngIf"],[3,"issueId"]],template:function(a,b){a&1&&(F(0,"h3",0),R(1,"Issue metadata"),G(),F(2,"b-resizable-sidebar",1),T(3,"async"),M("widthChanged",function(d){return b.rightSidebarWidthChanged$.next(d)}),
F(4,"div",2)(5,"div",3),C(6,Rfb,1,1,"edit-issue-metadata",4),G()()());if(a&2){var c;z(2);D("disableToggleBtn",!1)("hideToggleBtnOnOpen",!0)("minWidth",b.RIGHT_SIDEBAR_MIN_WIDTH)("size",(c=V(3,5,b.currentSidebarWidth$))!==null&&c!==void 0?c:0);z(4);D("ngIf",b.issueId)}},dependencies:[Gv,eM,Q_,Lv],styles:["[_nghost-%COMP%] {\n      display: inherit;\n    }"],changeDetection:0});var S0=function(){};S0.\u0275fac=function(a){return new (a||S0)};S0.\u0275mod=dd({type:S0});S0.\u0275inj=Ic({imports:[GJ,YW,BB,iX,QW,K0,H0,NN,NL,B0,xP,P0,gX,zZ,aM,hM,Q0,N0,CN,KU,BS,E0]});var T0=function(){};T0.\u0275fac=function(a){return new (a||T0)};T0.\u0275mod=dd({type:T0});T0.\u0275inj=Ic({imports:[ML,aM,My,lM,TV,bz,IU,KU,BB,nN,kN,GJ,AS,S0,KM,$Y,wP]});var U0=function(){};U0.prototype.getValue=function(){return this.row[this.column.name]||""};U0.prototype.isCustomField=function(){return this.column.isCustomField};U0.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 pi(this.customFieldValue,a)||(this.customFieldValue=a),this.customFieldValue};
U0.\u0275fac=function(a){return new (a||U0)};U0.\u0275cmp=p({type:U0,selectors:[["pop-grid-default-cell"]],inputs:{row:"row",column:"column"},decls:2,vars:2,consts:[[4,"ngIf"],[3,"customFieldValue",4,"ngIf"],[3,"customFieldValue"]],template:function(a,b){a&1&&C(0,Sfb,2,2,"span",0)(1,Tfb,1,1,"b-custom-field-value-display",1);a&2&&(D("ngIf",!b.isCustomField()),z(),D("ngIf",b.isCustomField()))},dependencies:[Gv,lX],encapsulation:2,changeDetection:0});var V0=function(){};V0.\u0275fac=function(a){return new (a||V0)};V0.\u0275mod=dd({type:V0});V0.\u0275inj=Ic({imports:[BB,aM,mX]});qma(QY,[Fv,Gv,Kv,VY,U0],[]);var W0=function(){};W0.\u0275fac=function(a){return new (a||W0)};W0.\u0275mod=dd({type:W0});W0.\u0275inj=Ic({imports:[BB,NL]});var X0=function(){};X0.\u0275fac=function(a){return new (a||X0)};X0.\u0275mod=dd({type:X0});X0.\u0275inj=Ic({imports:[BB,W0,UM]});var Y0=function(){};Y0.\u0275fac=function(a){return new (a||Y0)};Y0.\u0275mod=dd({type:Y0});Y0.\u0275inj=Ic({imports:[YY,BB,ZL,NP,aM,dJ,fJ,Mx,IT,jN,V0,w0,y0,UM,z0,GJ,OL,JY,X0,vS,DN,HU,kX,NL,xP,T0,uS,rS,vP]});var Z0=function(a,b,c){this.hotlistsApi=a;this.butterBar=b;this.appEvents=c};
Z0.prototype.repositionIssue=function(a,b,c,d,e,f){var h=this,k=b[0].position,q=k>b[1].position,t=b[c],w=b[d].position;Oba(b,c,d);f==null||f();Ap(this.butterBar,"Saving...",0);return this.hotlistsApi.repositionHotlistIssue(a,t.issueId,w).then(function(){for(var B=k,E=l(b),I=E.next();!I.done;I=E.next())I.value.position=B,B+=q?-1:1;f==null||f();Ap(h.butterBar,"Saved issue position.",4E3);h.appEvents.hotlistChanged.next({hotlistId:a,origin:e});return h.hotlistsApi.get(a)})};
Z0.\u0275fac=function(a){return new (a||Z0)(n(RE),n(sE),n(yE))};Z0.\u0275prov=Hc({token:Z0,factory:Z0.\u0275fac,providedIn:"root"});var a1=function(){this.pageChange=new XF;this.resultsPerPageChange=new XF;this.resultsPerPageFixed=!1;this.resultsPerPageOptions=[10,25,50,100,250]};a1.prototype.nextPage=function(){this.searchResults&&this.pageChange.emit({page:this.searchResults.params.page+1})};var vGc=function(a){a.searchResults&&a.pageChange.emit({page:a.searchResults.params.page-1})};
ea.Object.defineProperties(a1.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}})}}});a1.\u0275fac=function(a){return new (a||a1)};
a1.\u0275cmp=p({type:a1,selectors:[["b-pagination"]],inputs:{searchResults:"searchResults",resultsPerPageFixed:"resultsPerPageFixed"},outputs:{pageChange:"pageChange",resultsPerPageChange:"resultsPerPageChange"},decls:7,vars:4,consts:[[1,"bv2-appbar-page"],["header","Results per page:","buttonLabel","Results per page","buttonIcon","arrow-dropdown",3,"menuItems",4,"ngIf"],["aria-live","polite","role","alert","class","bv2-appbar-pagenums",4,"ngIf"],["mat-icon-button","","focusBack","","color","primary",
"mat-tooltip","Go to previous page","aria-label","Go to previous page",1,"large","left","compact",3,"click","keydown.enter","disabled"],["svgIcon","arrow-left",1,"large"],["mat-icon-button","","focusBack","","color","primary","mat-tooltip","Go to next page","aria-label","Go to next page",1,"large","right","compact",3,"click","keydown.enter","disabled"],["svgIcon","arrow-right",1,"large"],["header","Results per page:","buttonLabel","Results per page","buttonIcon","arrow-dropdown",3,"menuItems"],["aria-live",
"polite","role","alert",1,"bv2-appbar-pagenums"]],template:function(a,b){a&1&&(F(0,"div",0),C(1,Ufb,1,1,"b-actions-menu",1)(2,Vfb,6,3,"span",2),F(3,"button",3),M("click",function(){return vGc(b)})("keydown.enter",function(c){vGc(b);return c.stopPropagation()}),H(4,"mat-icon",4),G(),F(5,"button",5),M("click",function(){return b.nextPage()})("keydown.enter",function(c){b.nextPage();return c.stopPropagation()}),H(6,"mat-icon",6),G()());a&2&&(z(),D("ngIf",b.searchResults&&b.searchResults.issues.length>
0&&!b.resultsPerPageFixed),z(),D("ngIf",b.searchResults&&b.searchResults.issues.length>0),z(),D("disabled",!(b.searchResults==null?0:b.searchResults.hasPreviousPage())),z(2),D("disabled",!(b.searchResults==null?0:b.searchResults.hasNextPage())))},dependencies:[Gv,zB,oE,WS,tT],encapsulation:2});var b1=function(){};b1.\u0275fac=function(a){return new (a||b1)};b1.\u0275mod=dd({type:b1});b1.\u0275inj=Ic({imports:[BB,ML,mT,GU]});var c1=function(a,b,c,d,e,f,h,k,q,t,w,B,E,I,J,N,P,U,ba,ma){t0.call(this,c,e,f,h,k,q,t,w,B,d,E,J,N,P,U,ba,ma);this.hotlists=a;this.hotlistApi=b;this.appEvents=I;this.ROUTES=zo;this.resource=null};X(c1,t0);c1.\u0275dir=t0.\u0275dir;g=c1.prototype;g.ngOnInit=function(){t0.prototype.ngOnInit.call(this)};g.setSort=function(a,b){var c=this.getSort();a==="position"||c&&c.field==="position"?t0.prototype.setSort.call(this,a,b,!1):t0.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"});Ap(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({},t0.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"?wGc:xGc};g.getSearchParams=function(a){a=t0.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")})};c1.\u0275fac=function(a){return new (a||c1)(A(Z0),A(RE),A(YF,2),A(uE),A(oN),A(tE),A(Ir),A(sE),A(bG),A(bU),A(r0),A(pN),A(FH),A(yE),A(iD),A(KN),A(EH),A(xH),A(CC),A(jG))};
c1.\u0275cmp=p({type:c1,selectors:[["b-hotlist-panel"]],inputs:{hotlistId:"hotlistId"},features:[qg([YF]),zf],decls:9,vars:8,consts:[[1,"bv2-panel","bv2-view-hotlist-grid"],[1,"bv2-view-hotlist-title"],[1,"bv2-view-hotlist-title-text"],[4,"ngIf"],["class","bv2-view-hotlist-save-form",4,"ngIf"],[3,"pageChange","searchResults","resultsPerPageFixed"],["class","bv2-panel-controls",3,"panelId",4,"ngIf"],["tabindex","0"],[3,"href"],[3,"matTooltip"],["matTooltip","Display preferences have changed",4,"ngIf"],
[1,"bv2-panel-controls",3,"panelId"],["matTooltip","Display preferences have changed"],[1,"bv2-view-hotlist-save-form"],["mat-flat-button","","type","button","color","primary","matTooltip","Save changes to display preferences",1,"medium",3,"click"],["mat-stroked-button","","type","button","color","primary","matTooltip","Discard changes to display preferences",1,"medium",3,"click"],["class","bv2-view-loading",4,"ngIf"],["class","bv2-view-loading","tabindex","0",4,"ngIf"],["class","bv2-grid-container",
4,"ngIf"],[1,"bv2-view-loading"],[3,"large"],["tabindex","0",1,"bv2-view-loading"],[1,"bv2-grid-container"],[3,"init","focusedRowIndexChange","columnsChange","sortChange","onRowDragDrop","rowClick","onNextPage","onPrevPage","searchResults","focusedRowIndex","columns","enableColumnSaving","sort"]],template:function(a,b){a&1&&(F(0,"div",0)(1,"div",1)(2,"div",2),C(3,Wfb,2,0,"div",3)(4,Xfb,2,0,"div",3)(5,$fb,8,5,"div",3),G(),C(6,agb,5,0,"div",4),F(7,"b-pagination",5),M("pageChange",function(c){return b.goToPage(c.page)}),
G()(),C(8,ggb,4,3,"div",3),G());a&2&&(Bf("aria-busy",b.isLoading),z(3),D("ngIf",!b.resource&&!b.isLoading),z(),D("ngIf",!b.resource&&b.isLoading),z(),D("ngIf",b.resource),z(),D("ngIf",b.hasParamChanges()),z(),D("searchResults",b.searchResults)("resultsPerPageFixed",!0),z(),D("ngIf",b.resource))},dependencies:[Gv,W_,IH,Rx,LH,OH,a1,u0,RQ],encapsulation:2});var xGc=[Y_,Z_,a0,TFc],wGc=[Y_,SFc,Z_,a0,TFc],d1=function(){};d1.\u0275fac=function(a){return new (a||d1)};d1.\u0275mod=dd({type:d1});
d1.\u0275inj=Ic({imports:[BB,Y0,dJ,aM,b1,v0,AS]});var e1=function(a,b,c,d,e,f,h,k,q,t,w,B,E,I,J,N,P,U){t0.call(this,b,d,e,f,h,k,q,t,w,c,B,E,I,J,N,P,U);this.savedSearchApi=a;this.resource=null};X(e1,t0);e1.\u0275dir=t0.\u0275dir;e1.prototype.ngOnInit=function(){t0.prototype.ngOnInit.call(this)};e1.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};
e1.prototype.saveResource=function(){return Promise.resolve()};e1.\u0275fac=function(a){return new (a||e1)(A(fF),A(YF,2),A(uE),A(oN),A(tE),A(Ir),A(sE),A(bG),A(bU),A(r0),A(pN),A(FH),A(iD),A(KN),A(EH),A(xH),A(CC),A(jG))};
e1.\u0275cmp=p({type:e1,selectors:[["b-saved-search-panel"]],inputs:{savedSearchId:"savedSearchId"},features:[qg([YF]),zf],decls:8,vars:7,consts:[[1,"bv2-panel","bv2-view-savedsearch-grid"],[1,"bv2-view-savedsearch-title"],[1,"bv2-view-savedsearch-title-text"],[4,"ngIf"],["tabindex","0",4,"ngIf"],[3,"pageChange","searchResults","resultsPerPageFixed"],["tabindex","0"],["class","bv2-panel-controls",3,"panelId",4,"ngIf"],[3,"href"],[3,"matTooltip"],["matTooltip","Display preferences or search query have changed",
4,"ngIf"],[1,"bv2-panel-controls",3,"panelId"],["matTooltip","Display preferences or search query have changed"],["class","bv2-view-loading",4,"ngIf"],["class","bv2-view-loading","tabindex","0","role","region",4,"ngIf"],["class","bv2-grid-container",4,"ngIf"],[1,"bv2-view-loading"],[3,"large"],["tabindex","0","role","region",1,"bv2-view-loading"],[1,"bv2-grid-container"],[3,"init","focusedRowIndexChange","columnsChange","sortChange","rowClick","onNextPage","onPrevPage","searchResults","focusedRowIndex",
"columns","enableColumnSaving","sort"]],template:function(a,b){a&1&&(F(0,"div",0)(1,"div",1)(2,"div",2),C(3,igb,2,0,"div",3)(4,jgb,2,0,"div",3)(5,mgb,8,5,"div",4),G(),F(6,"b-pagination",5),M("pageChange",function(c){return b.goToPage(c.page)}),G()(),C(7,rgb,4,3,"div",3),G());a&2&&(Bf("aria-busy",b.isLoading),z(3),D("ngIf",!b.resource&&!b.isLoading),z(),D("ngIf",!b.resource&&b.isLoading),z(),D("ngIf",b.resource),z(),D("searchResults",b.searchResults)("resultsPerPageFixed",!0),z(),D("ngIf",b.resource))},
dependencies:[Gv,W_,LH,OH,a1,u0,RQ],encapsulation:2});var f1=function(){};f1.\u0275fac=function(a){return new (a||f1)};f1.\u0275mod=dd({type:f1});f1.\u0275inj=Ic({imports:[BB,Y0,aM,b1,v0,AS]});var g1=function(){this.label="Team"};g1.prototype.ngOnInit=function(){};g1.\u0275fac=function(a){return new (a||g1)};
g1.\u0275cmp=p({type:g1,selectors:[["b-team-breadcrumb"]],inputs:{teamPath:"teamPath",label:"label"},decls:3,vars:2,consts:[["role","navigation",1,"breadcrumb"],[1,"breadcrumb-items"],["class","breadcrumb-item",4,"ngFor","ngForOf"],[1,"breadcrumb-item"],[1,"keep-focus-ring",3,"routerLink","preserveFragment"]],template:function(a,b){a&1&&(F(0,"div",0)(1,"span",1),C(2,sgb,3,4,"span",2),G()());a&2&&(Bf("aria-label",b.label),z(2),D("ngForOf",b.teamPath))},dependencies:[Fv,rB],encapsulation:2});var h1=function(){};h1.\u0275fac=function(a){return new (a||h1)};h1.\u0275mod=dd({type:h1});h1.\u0275inj=Ic({imports:[BB,tS]});var yGc=["form"],zGc=["numberInput"],AGc=/^\d+\.?\d*$/,BGc={DAYS:0,YEARS:1,0:"DAYS",1:"YEARS"},i1=function(){this.disabled=!1;this.ariaLabel="";this.durationDaysChange=new XF;this.displayUnits=0;this.TimeUnit=BGc};
i1.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()})};i1.prototype.ngAfterViewInit=function(){};
i1.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))};i1.prototype.ngOnDestroy=function(){this.formSubscription&&this.formSubscription.unsubscribe()};i1.\u0275fac=function(a){return new (a||i1)};
i1.\u0275cmp=p({type:i1,selectors:[["b-duration-picker"]],viewQuery:function(a,b){a&1&&(fg(yGc,7),fg(zGc,7));if(a&2){var c;jg(c=kg())&&(b.form=c.first);jg(c=kg())&&(b.numberInput=c.first)}},inputs:{durationDays:"durationDays",disabled:"disabled",ariaLabel:"ariaLabel"},outputs:{durationDaysChange:"durationDaysChange"},decls:14,vars:7,consts:[["form","ngForm"],["numberInput",""],[1,"duration-picker-form"],"color primary appearance outline subscriptSizing dynamic".split(" "),["matInput","","type","number",
"step","1","min","0","name","numbers",3,"keydown","paste","ngModel","disabled"],["name","unit",3,"ngModel","disabled"],["color","accent",3,"value"]],template:function(a,b){if(a&1){var c=u();F(0,"form",null,0)(2,"div",2)(3,"mat-form-field",3)(4,"mat-label");R(5," Custom Duration ");G();F(6,"input",4,1);M("keydown",function(d){v(c);switch(d.key){case "-":case "e":case "E":d.preventDefault()}return x()})("paste",function(d){v(c);var e=d.clipboardData.getData("Text");AGc.test(e)||d.preventDefault();return x()});
G()();F(8,"mat-form-field",3)(9,"mat-select",5)(10,"mat-option",6);R(11,"days");G();F(12,"mat-option",6);R(13,"year(s)");G()()()()()}a&2&&(z(6),D("ngModel",b.displayNumber)("disabled",b.disabled),Bf("aria-label",b.ariaLabel),z(3),D("ngModel",b.displayUnits)("disabled",b.disabled),z(),D("value",b.TimeUnit.DAYS),z(2),D("value",b.TimeUnit.YEARS))},dependencies:[zy,mh,Ay,qy,ry,Hy,yy,wy,SV,cz,Wy,Qy,kM,mM,nM,Kx],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 j1=function(){};j1.\u0275fac=function(a){return new (a||j1)};j1.\u0275mod=dd({type:j1});j1.\u0275inj=Ic({imports:[BB,My,TV,lM,qM,$Y]});var k1=function(a,b,c){this.dialogRef=a;this.data=b;this.documentationLinks=c};k1.prototype.getDisablingFieldsHelpLink=function(){return this.documentationLinks.getDisablingFieldsHelpLink()};k1.prototype.onNoClick=function(){this.dialogRef.close(!1)};k1.\u0275fac=function(a){return new (a||k1)(A(pI),A(vI),A(oI))};
k1.\u0275cmp=p({type:k1,selectors:[["b-field-state-change-confirmation-dialog"]],decls:22,vars:6,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[4,"ngIf"],["mat-dialog-actions",""],["mat-stroked-button","",1,"medium",3,"click"],["mat-flat-button","","color","primary","cdkFocusInitial","",1,"medium","dialog-primary-action",3,"mat-dialog-close"],[1,"notice"],["target","_blank",3,"href"]],template:function(a,b){a&1&&(F(0,"h1",0),R(1),G(),F(2,"div",1)(3,"p"),R(4," The "),F(5,"strong"),R(6),
G(),R(7," field will change state from "),F(8,"strong"),R(9),G(),R(10," to "),F(11,"strong"),R(12),G(),R(13,". "),G(),C(14,tgb,6,2,"p",2),F(15,"p"),R(16,"Are you sure?"),G()(),F(17,"div",3)(18,"button",4),M("click",function(){return b.onNoClick()}),R(19," Cancel "),G(),F(20,"button",5),R(21," Confirm "),G()());a&2&&(z(),S("Field State Change for ",b.data.fieldName,""),z(5),lg(b.data.fieldName),z(3),lg(b.data.oldFieldState),z(3),lg(b.data.newFieldState),z(2),D("ngIf",b.data.noteText),z(6),D("mat-dialog-close",
!0))},dependencies:[Gv,IH,Rx,xI,zI,BI,AI],styles:[".notice[_ngcontent-%COMP%]{font-weight:bold}"]});var CGc=["fieldStateMenuButton"],DGc=function(a){return{"mat-stroked-button":a}},l1=function(a){this.dialog=a;this.fieldName="";this.fieldState="INHERIT";this.confirmationDialog=this.enabledOnParent=!0;this.disabled=!1;this.fieldStateChange=new XF;this.FieldState=I3b;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."}};l1.prototype.ngOnInit=function(){this.updateMenuButton()};
l1.prototype.ngOnChanges=function(){this.updateMenuButton()};
var FGc=function(a,b){b!==a.fieldState&&(a.confirmationDialog?EGc(a,b):(a.fieldState=b,a.updateMenuButton(),a.fieldStateChange.emit(b)))},EGc=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);qI(a.dialog.open(k1,{width:"500px",data:{fieldName:a.fieldName,oldFieldState:GGc(a,a.fieldState),
newFieldState:GGc(a,b),noteText:e}})).pipe(ef()).subscribe(function(f){f?(a.fieldState=b,a.updateMenuButton(),a.fieldStateChange.emit(b),a.disabled=!0):a.focus()})};l1.prototype.updateMenuButton=function(){this.defaultLabel="Default ("+(this.enabledOnParent?this.msgs.visibleName:this.msgs.hiddenName)+")";this.menuLabel=GGc(this,this.fieldState)};
var GGc=function(a,b){switch(b){case "INHERIT":return a.defaultLabel;case "DISABLED":return a.msgs.hiddenName;case "ENABLED":return a.msgs.visibleName;default:Dc(b,"Unknown FieldState.")}};l1.prototype.focus=function(){this.disabled=!1;this.fieldStateMenuButton.nativeElement.focus()};l1.\u0275fac=function(a){return new (a||l1)(A(wI))};
l1.\u0275cmp=p({type:l1,selectors:[["b-field-state-menu"]],viewQuery:function(a,b){a&1&&fg(CGc,5,Rd);if(a&2){var c;jg(c=kg())&&(b.fieldStateMenuButton=c.first)}},inputs:{fieldName:"fieldName",fieldState:"fieldState",enabledOnParent:"enabledOnParent",confirmationDialog:"confirmationDialog",disabled:"disabled"},outputs:{fieldStateChange:"fieldStateChange"},features:[td],decls:33,vars:18,consts:[["fieldStateMenuButton",""],["fieldStateMenu","matMenu"],["mat-button","",1,"field-state-menu-button","medium",
3,"ngClass","disabled","matMenuTriggerFor"],[1,"field-state-menu-button-inner"],[1,"field-state-menu-label",3,"innerHTML"],["name","arrow-dropdown","size","small",1,"field-state-dropdown-icon"],[1,"field-state-menu"],[1,"menu-row-container","default-container"],["mat-menu-item","",1,"default-button","field-state-option",3,"click"],["name","done","size","small",1,"item-checkmark","b-menu-item-check-mark"],[1,"item-title","gmat-subhead-2"],[1,"item-description","gmat-caption"],["mat-menu-item","",1,
"field-state-option",3,"click"],[1,"menu-row-container"],[1,"state-info"]],template:function(a,b){if(a&1){var c=u();F(0,"div")(1,"button",2,0)(3,"div",3);H(4,"span",4)(5,"b-icon",5);G()()();F(6,"mat-menu",null,1)(8,"div",6)(9,"div",7)(10,"button",8);M("click",function(){v(c);return x(FGc(b,b.FieldState.INHERIT))});H(11,"b-icon",9);F(12,"div",10);R(13);G();F(14,"div",11);R(15);G()()();H(16,"mat-divider");F(17,"button",12);M("click",function(){v(c);return x(FGc(b,b.FieldState.DISABLED))});F(18,"div",
13)(19,"div",14);H(20,"b-icon",9);F(21,"div",10);R(22);G();F(23,"div",11);R(24);G()()()();F(25,"button",12);M("click",function(){v(c);return x(FGc(b,b.FieldState.ENABLED))});F(26,"div",13)(27,"div",14);H(28,"b-icon",9);F(29,"div",10);R(30);G();F(31,"div",11);R(32);G()()()()()()}a&2&&(a=Q(7),z(),D("ngClass",ug(16,DGc,!b.disabled))("disabled",b.disabled)("matMenuTriggerFor",a),z(3),D("innerHTML",b.menuLabel,Pe),z(6),Kf("b-menu-item-checked",b.fieldState===b.FieldState.INHERIT),z(3),S(" ",b.defaultLabel,
" "),z(2),S(" ",b.msgs.inheritDescription," "),z(2),Kf("b-menu-item-checked",b.fieldState===b.FieldState.DISABLED),z(5),S(" ",b.msgs.hiddenName," "),z(2),S(" ",b.msgs.hiddenDescription," "),z(),Kf("b-menu-item-checked",b.fieldState===b.FieldState.ENABLED),z(5),S(" ",b.msgs.visibleName," "),z(2),S(" ",b.msgs.visibleDescription," "))},dependencies:[Ev,IH,Rx,MP,QL,TL,RL,UL,hN],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 m1=function(){};m1.\u0275fac=function(a){return new (a||m1)};m1.\u0275mod=dd({type:m1});m1.\u0275inj=Ic({imports:[BB,dJ,fJ,NP,ZL,jN,YS]});var n1=function(a,b){this.dialogRef=b;this.issueId=a.issueId;this.issueTitle=a.issueTitle};n1.prototype.close=function(){this.dialogRef.close(!1)};n1.\u0275fac=function(a){return new (a||n1)(A(vI),A(pI))};
n1.\u0275cmp=p({type:n1,selectors:[["b-unsubscribe-dialog"]],decls:21,vars:4,consts:[["mat-dialog-title",""],[1,"gmat-body-2"],[1,"gmat-body-1"],["target","_blank",3,"href"],["mat-button","",3,"click"],["mat-flat-button","","cdkFocusInitial","",1,"dialog-primary-action",3,"click"]],template:function(a,b){a&1&&(F(0,"h1",0),R(1,"Unsubscribe From Issue"),G(),F(2,"mat-dialog-content")(3,"div",1),R(4," Are you sure you would like to unsubscribe from the following issue? "),G(),H(5,"br"),F(6,"div",2)(7,
"a",3)(8,"span"),R(9),G()(),R(10," - "),F(11,"span"),R(12),G()(),H(13,"br"),F(14,"div",1),R(15," By unsubscribing, you will no longer receive email updates about this issue. "),G()(),F(16,"mat-dialog-actions")(17,"button",4),M("click",function(){return b.close()}),R(18," Cancel "),G(),F(19,"button",5),M("click",function(){b.dialogRef.close(!0)}),R(20," Unsubscribe "),G()());a&2&&(z(7),Zf("href","/issues/",b.issueId,"",Qe),z(2),S("b/",b.issueId,""),z(3),lg(b.issueTitle))},dependencies:[IH,Rx,zI,BI,
AI],encapsulation:2});var HGc=function(a,b){return{small:a,medium:b}},IGc=function(a){return{black:a}},o1=function(a,b,c,d,e){this.activeSession=a;this.matDialogService=b;this.issueFridge=c;this.analytics=d;this.routeParams=e;this.iconOnly=!1;this.subscriptionChange=new XF;this.showNotificationSettings=new XF;this.menuLabel="Default";this.menuIcon="notifications_none_24px";this.isAnonymous=this.activeSession.isAnonymous();this.subscriptionInternal="UNKNOWN_SUBSCRIPTION";this.NotificationSubscription=N3b;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"}]])};o1.prototype.ngOnInit=function(){JGc(this)};o1.prototype.ngOnChanges=function(){this.updateMenuButton()};o1.prototype.updateSubscription=function(a){a!==this.subscriptionInternal&&this.subscriptionChange.emit(a)};o1.prototype.updateMenuButton=function(){var a=this.subscriptions.get(this.subscriptionInternal);a&&(this.menuLabel=a.label,this.menuIcon=a.icon)};
var JGc=function(a){var b,c;fe(function(d){if(d.nextAddress==1)return a.routeParams.unsubscribe!=="true"||a.subscription&&a.subscription==="UNSUBSCRIBED"?d.return():he(d,(0,W.firstValueFrom)(a.issueFridge.watch(a.issueId)),2);if(d.nextAddress!=3){b=d.yieldResult;if(!b)return d.return();a.matDialogService.closeAll();return he(d,(0,W.firstValueFrom)(qI(a.matDialogService.open(n1,{width:"400px",data:{issueId:a.issueId,issueTitle:b.snapshot[0].title}}))),3)}if(c=d.yieldResult)a.updateSubscription("UNSUBSCRIBED"),
a.analytics.trackEvent("editIssue","unsubscribeUsingDialog");le(d)})};ea.Object.defineProperties(o1.prototype,{subscription:{configurable:!0,enumerable:!0,set:function(a){a!=null&&(this.subscriptionInternal=a)},get:function(){return this.subscriptionInternal}}});o1.\u0275fac=function(a){return new (a||o1)(A(Ir),A(wI),A(jG),A(bG),A(iJ))};
o1.\u0275cmp=p({type:o1,selectors:[["b-notification-menu"]],inputs:{subscription:"subscription",iconOnly:"iconOnly",issueId:"issueId"},outputs:{subscriptionChange:"subscriptionChange",showNotificationSettings:"showNotificationSettings"},features:[td],decls:63,vars:31,consts:[["notificationMenu","matMenu"],["allUpdates",""],["all",""],["majorUpdates",""],["major",""],["mat-button","","matTooltip","Notification menu",1,"notification-menu-button",3,"ngClass","matMenuTriggerFor","disabled"],[1,"notification-menu-button-inner"],
["size","small",1,"icon",3,"name","ngClass"],[4,"ngIf"],[1,"notification-menu"],[1,"menu-row-container","default-container"],["mat-menu-item","",1,"default-button","notification-option",3,"click"],["name","done","size","small",1,"item-checkmark","b-menu-item-check-mark"],[1,"item-title","gmat-subhead-2"],[1,"item-description","gmat-caption"],[1,"default-divider",3,"vertical"],["mat-menu-item","","aria-label","Settings",1,"default-settings",3,"click"],["name","settings-outline","size","small",1,"item-icon"],
[1,"menu-row-container"],["mat-menu-item","","aria-label","All Updates. Receive emails for major and minor updates.","aria-describedby","all-updates-help",1,"notification-option",3,"click"],[1,"subscription-info"],["mat-menu-item","",1,"subscription-help","help-icon",3,"click","focus","blur"],[3,"panelTemplate","overlayPositions"],["svgIcon","help-outline",1,"subscription-help","item-icon","small"],["mat-menu-item","","aria-label","Major Updates. Receive emails for major updates only.","aria-describedby",
"major-updates-help",1,"notification-option",3,"click"],["mat-menu-item","",1,"notification-option",3,"click"],[1,"notification-menu-label",3,"innerHTML"],["name","arrow-dropdown","size","small",1,"notification-dropdown-icon"],["id","all-updates-help",1,"subscription-help-bubble"],[1,"subscription-help-list"],["id","major-updates-help",1,"subscription-help-bubble"]],template:function(a,b){if(a&1){var c=u();F(0,"div")(1,"button",5)(2,"div",6);H(3,"b-icon",7);C(4,ugb,3,1,"ng-container",8);G()()();F(5,
"mat-menu",null,0)(7,"div",9)(8,"div",10)(9,"button",11);M("click",function(){v(c);return x(b.updateSubscription(b.NotificationSubscription.UNKNOWN_SUBSCRIPTION))});H(10,"b-icon",12);F(11,"div",13);R(12," Default ");G();F(13,"div",14);R(14," receive emails based on your default settings. ");G()();H(15,"mat-divider",15);F(16,"button",16);M("click",function(f){v(c);return x(b.showNotificationSettings.emit(f))});H(17,"b-icon",17);G()();H(18,"mat-divider");F(19,"div",18)(20,"button",19);M("click",function(){v(c);
return x(b.updateSubscription(b.NotificationSubscription.SUBSCRIBED_ALL_UPDATES))});F(21,"div",20);H(22,"b-icon",12);F(23,"div",13);R(24," All Updates ");G();F(25,"div",14);R(26," receive emails for major and minor updates. ");G()()();F(27,"button",21);M("click",function(){v(c);return x(b.updateSubscription(b.NotificationSubscription.SUBSCRIBED_ALL_UPDATES))})("focus",function(){v(c);var f=Q(29);return x(f.toggle(!0))})("blur",function(){v(c);var f=Q(29);return x(f.toggle(!1))});F(28,"xap-bubble",
22,1);H(30,"mat-icon",23);C(31,vgb,13,0,"ng-template",null,2,yg);G()()();F(33,"div",18)(34,"button",24);M("click",function(){v(c);return x(b.updateSubscription(b.NotificationSubscription.SUBSCRIBED_MAJOR_UPDATES))});F(35,"div",20);H(36,"b-icon",12);F(37,"div",13);R(38," Major Updates ");G();F(39,"div",14);R(40," receive emails for major updates only. ");G()()();F(41,"button",21);M("click",function(){v(c);return x(b.updateSubscription(b.NotificationSubscription.SUBSCRIBED_MAJOR_UPDATES))})("focus",
function(){v(c);var f=Q(43);return x(f.toggle(!0))})("blur",function(){v(c);var f=Q(43);return x(f.toggle(!1))});F(42,"xap-bubble",22,3);H(44,"mat-icon",23);C(45,wgb,17,0,"ng-template",null,4,yg);G()()();F(47,"button",25);M("click",function(){v(c);return x(b.updateSubscription(b.NotificationSubscription.SUBSCRIBED_CLOSURE_ONLY))});F(48,"div",18)(49,"div",20);H(50,"b-icon",12);F(51,"div",13);R(52," Closure Only ");G();F(53,"div",14);R(54," only receive emails when the issue is closed. ");G()()()();
F(55,"button",25);M("click",function(){v(c);return x(b.updateSubscription(b.NotificationSubscription.UNSUBSCRIBED))});F(56,"div",18)(57,"div",20);H(58,"b-icon",12);F(59,"div",13);R(60," None ");G();F(61,"div",14);R(62," unsubscribe from further email updates. ");G()()()()()()}if(a&2){a=Q(6);var d=Q(32),e=Q(46);z();Kf("icon-only",b.iconOnly);D("ngClass",vg(26,HGc,b.iconOnly,!b.iconOnly))("matMenuTriggerFor",a)("disabled",b.isAnonymous);Bf("aria-label","Notifications Menu, current value is "+b.subscriptions.get(b.subscriptionInternal||
"UNKNOWN_SUBSCRIPTION").label);z(2);D("name",b.menuIcon)("ngClass",ug(29,IGc,b.menuIcon==="notifications-off"));z();D("ngIf",!b.iconOnly);z(5);Kf("b-menu-item-checked",b.subscriptionInternal===b.NotificationSubscription.UNKNOWN_SUBSCRIPTION);z(6);D("vertical",!0);z(5);Kf("b-menu-item-checked",b.subscriptionInternal===b.NotificationSubscription.SUBSCRIBED_ALL_UPDATES);z(7);Bf("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.");
z();D("panelTemplate",d)("overlayPositions",b.bubblePosition);z(6);Kf("b-menu-item-checked",b.subscriptionInternal===b.NotificationSubscription.SUBSCRIBED_MAJOR_UPDATES);z(7);Bf("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.");z();D("panelTemplate",e)("overlayPositions",b.bubblePosition);z(5);Kf("b-menu-item-checked",b.subscriptionInternal===
b.NotificationSubscription.SUBSCRIBED_CLOSURE_ONLY);z(8);Kf("b-menu-item-checked",b.subscriptionInternal===b.NotificationSubscription.UNSUBSCRIBED)}},dependencies:[Ev,Gv,zB,IH,Rx,MP,QL,TL,RL,UL,hN,xN,LH,OH],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 p1=function(){};p1.\u0275fac=function(a){return new (a||p1)};p1.\u0275mod=dd({type:p1});p1.\u0275inj=Ic({imports:[BB,dJ,NP,ZL,jN,YS,CN,aM]});var q1=function(a,b){this.sloApi=a;this.cdr=b;this.isDisabled=!1;this.dropdownChoices=null;this.onSloSelect=new XF;this.internalBoundId=this.selectedSlo=null;this.lastProcessedIndex=-1;this.requestIndex=0},KGc=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()};
q1.prototype.displayFn=function(a){return(a==null?void 0:a.name)||(a==null?void 0:a.sloId)||""};q1.prototype.updateSelectionOnChange=function(a){if(a=a.option.value)this.boundId=a.sloId;this.onSloSelect.emit(a);this.cdr.detectChanges()};
ea.Object.defineProperties(q1.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)}}});q1.\u0275fac=function(a){return new (a||q1)(A($G),A(YF,2))};
q1.\u0275cmp=p({type:q1,selectors:[["slo-picker"]],inputs:{isDisabled:[0,"bv2Disabled","isDisabled"],placeholder:[0,"bv2Placeholder","placeholder"],boundId:"boundId"},outputs:{onSloSelect:"onSloSelect"},features:[qg([YF])],decls:6,vars:6,consts:[["searchInput",""],["auto","matAutocomplete"],[1,"bv2-slo-picker"],["matInput","","type","text","autocomplete","slo-name",1,"bv2-picker-input","form-control",3,"ngModelChange","click","input","placeholder","ngModel","disabled","matAutocomplete"],["panelWidth",
"574px",3,"optionSelected","displayWith"],["class","slo-search-result",3,"value",4,"ngFor","ngForOf"],[1,"slo-search-result",3,"value"]],template:function(a,b){if(a&1){var c=u();F(0,"div",2)(1,"input",3,0);pg("ngModelChange",function(d){v(c);og(b.selectedSlo,d)||(b.selectedSlo=d);return x(d)});M("click",function(){v(c);var d=Q(2);return x(KGc(b,d.value))})("input",function(){v(c);var d=Q(2);return x(KGc(b,d.value))});G();F(3,"mat-autocomplete",4,1);M("optionSelected",function(d){v(c);return x(b.updateSelectionOnChange(d))});
C(5,xgb,2,2,"mat-option",5);G()()}a&2&&(a=Q(4),z(),D("placeholder",b.placeholder),ng("ngModel",b.selectedSlo),D("disabled",b.isDisabled)("matAutocomplete",a),z(2),D("displayWith",b.displayFn),z(2),D("ngForOf",b.dropdownChoices))},dependencies:[Fv,HP,IP,Kx,JP,mh,qy,yy],encapsulation:2});var r1=function(){};r1.\u0275fac=function(a){return new (a||r1)};r1.\u0275mod=dd({type:r1});r1.\u0275inj=Ic({imports:[BB,LP,My]});var LGc=function(a){return{"empty-list-field-indication":a}},s1=function(a,b){this.documentationLinks=a;this.activeSession=b;this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc";this.issueRetentionDisabled=!1;this.modelChange=new XF;this.validChange=new XF;this.RetentionSelection=V3b;this.indefiniteRetentionComponentsAllowlist=new Set(this.activeSession.getIndefiniteRetentionComponentsAllowlist())};
s1.prototype.ngOnInit=function(){this.initialModel?this.model=this.initialModel:this.model={retentionSelection:"UNSPECIFIED_RETENTION",retentionPeriodDays:null,piiRetentionSelection:"UNSPECIFIED_RETENTION",piiRetentionPeriodDays:null,spiiRetentionPeriodDays:null};Yq(this)};s1.prototype.updateSelectionOnChange=function(a){this.model.retentionSelection=a;this.model.retentionPeriodDays=null;this.modelChange.emit(this.model);Yq(this)};
var Yq=function(a){var b;if(b=Zq(a))b=(b=a.model.piiRetentionSelection)&&b!==a.RetentionSelection.UNSPECIFIED_RETENTION&&(a.model.piiRetentionSelection!==a.RetentionSelection.BUGANIZER_DEFAULT||!MGc(a))&&(a.model.piiRetentionSelection!==a.RetentionSelection.CUSTOM_PERIOD||NGc(a));a.validChange.emit(b)},OGc=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},Zq=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)},zgb=function(a){return a?Gm(a):"[unset period]"},NGc=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},Egb=function(a){if(!Zq(a)||NGc(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 "+zgb(e):"Restricted+ retention must not exceed Restricted retention."},MGc=function(a){return a.model.retentionSelection===a.RetentionSelection.CUSTOM_PERIOD&&(!a.model.retentionPeriodDays||a.model.retentionPeriodDays<60)},Hgb=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};s1.\u0275fac=function(a){return new (a||s1)(A(oI),A(Ir))};
s1.\u0275cmp=p({type:s1,selectors:[["b-retention-settings-form"]],inputs:{initialModel:"initialModel",isExternal:"isExternal",issueRetentionDisabled:"issueRetentionDisabled",componentId:"componentId",componentPathInfo:"componentPathInfo"},outputs:{modelChange:"modelChange",validChange:"validChange"},decls:31,vars:33,consts:[["aria-label","Retention settings form",1,"issue-retention-form",3,"ngModelChange","ngClass","disabled","name","ngModel"],[3,"value"],["aria-label","Custom retention period, must be between 30 days and 20 years",
3,"value"],["class","duration-error",4,"ngIf"],["class","custom-duration",4,"ngIf"],["class","warning-box","id","custom-retention-warning-box",4,"ngIf"],[3,"disabled","value"],["class","warning-box","id","indefinite-retention-warning-box",4,"ngIf"],["aria-label","PII Retention settings form",1,"pii-retention-form",3,"ngModelChange","ngClass","disabled","name","ngModel"],["target","_blank","aria-label","Learn more about restricted access",1,"keep-underline","keep-focus-ring",3,"rel"],[3,"aria-label",
"disabled","value"],["class","warning-box","id","indefinite-pii-retention-warning-box",4,"ngIf"],[1,"duration-error"],[1,"custom-duration"],["ariaLabel","Custom duration",3,"durationDaysChange","disabled","durationDays"],[1,"duration-description"],["id","custom-retention-warning-box",1,"warning-box"],["id","indefinite-retention-warning-box",1,"warning-box"],[1,"b-restricted-retention-duration-label"],["ariaLabel","Restricted retention duration",3,"durationDaysChange","disabled","durationDays"],[1,
"warning-box"],["ariaLabel","Restricted+ retention duration",3,"durationDaysChange","disabled","durationDays"],["class","warning-box","id","custom-pii-retention-warning-box",4,"ngIf"],["id","custom-pii-retention-warning-box",1,"warning-box"],["id","indefinite-pii-retention-warning-box",1,"warning-box"]],template:function(a,b){a&1&&(F(0,"mat-radio-group",0),M("ngModelChange",function(c){return b.updateSelectionOnChange(c)}),F(1,"p")(2,"b"),R(3,"Issue Retention"),G()(),F(4,"mat-radio-button",1),R(5,
" Buganizer default retention period (for minimal or no PII/SPII): 10 years "),G(),F(6,"mat-radio-button",2),R(7," Custom retention period "),C(8,ygb,2,0,"span",3)(9,Agb,4,3,"div",4)(10,Bgb,13,0,"div",5),G(),F(11,"mat-radio-button",6),R(12),C(13,Cgb,13,0,"div",7),G()(),F(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);Yq(b)}),F(15,"p"),H(16,"br"),F(17,"b"),R(18,
"Restricted Comments/Attachments Retention "),G(),F(19,"a",9),R(20,"Learn more "),G()(),F(21,"mat-radio-button",1),R(22," Buganizer default retention period : 60 days "),C(23,Dgb,2,0,"span",3),G(),F(24,"mat-radio-button",10),R(25," Custom retention period "),C(26,Fgb,2,1,"span",3)(27,Igb,16,7,"div",4),G(),F(28,"mat-radio-button",6),R(29," Match Issue Retention "),C(30,Jgb,3,0,"div",11),G()());a&2&&(D("ngClass",ug(29,LGc,b.model.retentionSelection===b.RetentionSelection.UNSPECIFIED_RETENTION))("disabled",
b.issueRetentionDisabled)("name","retentionForm")("ngModel",b.model.retentionSelection),z(4),D("value",b.RetentionSelection.BUGANIZER_DEFAULT),z(2),D("value",b.RetentionSelection.CUSTOM_PERIOD),z(2),D("ngIf",b.model.retentionSelection===b.RetentionSelection.CUSTOM_PERIOD&&!(b.model.retentionPeriodDays&&b.model.retentionPeriodDays>=30&&b.model.retentionPeriodDays<=7300)),z(),D("ngIf",b.model.retentionSelection===b.RetentionSelection.CUSTOM_PERIOD),z(),D("ngIf",!!b.model.retentionPeriodDays&&b.model.retentionPeriodDays>
3650),z(),D("disabled",!OGc(b))("value",b.RetentionSelection.INDEFINITE_RETENTION),z(),S(" Indefinite retention period ",OGc(b)?"":"(Internal components only)"," "),z(),D("ngIf",b.model.retentionSelection===b.RetentionSelection.INDEFINITE_RETENTION),z(),D("ngClass",ug(31,LGc,b.model.retentionSelection===b.RetentionSelection.UNSPECIFIED_RETENTION))("disabled",b.issueRetentionDisabled)("name","piiRetentionForm")("ngModel",b.model.piiRetentionSelection),z(5),D("rel",b.EXTERNAL_LINK_REL),Bf("href",b.documentationLinks.getRestrictedAccessHelpLink(),
Qe),z(2),D("value",b.RetentionSelection.BUGANIZER_DEFAULT),z(2),D("ngIf",b.model.piiRetentionSelection===b.RetentionSelection.BUGANIZER_DEFAULT&&MGc(b)),z(),D("aria-label","Custom Retention Period,"+Egb(b))("disabled",!Zq(b))("value",b.RetentionSelection.CUSTOM_PERIOD),z(2),D("ngIf",b.model.piiRetentionSelection===b.RetentionSelection.CUSTOM_PERIOD&&!NGc(b)),z(),D("ngIf",b.model.piiRetentionSelection===b.RetentionSelection.CUSTOM_PERIOD),z(),D("disabled",b.isExternal)("value",b.RetentionSelection.INDEFINITE_RETENTION),
z(2),D("ngIf",b.model.piiRetentionSelection===b.RetentionSelection.INDEFINITE_RETENTION&&Hgb(b)))},dependencies:[Ev,Gv,qy,yy,uR,vR,i1],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 t1=function(){};t1.\u0275fac=function(a){return new (a||t1)};t1.\u0275mod=dd({type:t1});t1.\u0275inj=Ic({imports:[BB,My,GS,j1]});var PGc=function(){this.type="component";this.includeChildren=!1},QGc=function(){this.type="tracker"},RGc=function(){this.type="team";this.includeChildren=!1},SGc=function(){this.type="hotlist"},TGc=function(){this.type="savedsearch"},UGc=function(){this.type="customfield"};var VGc=function(a,b){this.query=a;this.cursorIdx=b;this.label=null;this.value={val:"",idx:0};this.value.idx=b},WGc="componentid c hotlistid h savedsearchid teamid trackerid".split(" "),XGc=WGc.concat("accesslevel archived assignee attachment blockedbyid blockingid canonicalid cc cccount collaborator collaboratorcount cl comment commentcount commenter created customfield descendantcount deleted deletionreason deletiontime duplicatecount effortlabel foundin inprod is lastcommenter lastmodifier mention modified modifier mute onedayviewcount opendescendantcount p parentid postmortem priority reporter resolved s sevendayviewcount severity star status t targetedto thirtydayviewcount title type verified verifiedin verifier vote votecount nearestslo".split(" ")),
YGc="cl deleted deletionreason deletiontime effortlabel nearestslo postmortem teamid".split(" "),ZGc="(?:\\s|^)(-?)(customfield\\d+|"+XGc.join("|")+")(:|>|<|>=|<=|=)";var u1=function(a,b,c,d,e,f,h,k,q,t,w){Z.call(this);var B=this;this.appSearchState=a;this.userApi=b;this.trackerFridge=c;this.trackerHelpers=d;this.customFieldsApi=e;this.hotlistApi=f;this.savedSearchApi=h;this.componentActions=k;this.teamsService=q;this.activeSession=t;this.currentUserBookmarksFridge=w;this.query="";this.requestIndex=0;this.producers=[{match:function(E){return $Gc(B,E)}},{updateHeader:function(E){return aHc(B,E)}},{updateHeader:function(E){return bHc(B,E)}},{updateHeader:function(E){return cHc(B,
E)}},{updateHeader:function(E){return dHc(B,E)}},{updateHeader:function(E){return eHc(B,E)}},{updateHeader:function(E){return fHc(B,E)}}];this.currentSearchContext=null;this.items=[];this.acHeader=null;this.acRefreshed$=new W.Subject;this.refreshRequest$=new W.Subject;this.refreshRequest$.pipe(bf(250),qf(this.destroyed$)).subscribe(function(E){gHc(B,E.currentRequestIndex,E.currentSearchContext)});this.sessionIsInternal=t.isInternalSession();a=new Set(XGc);this.sessionIsInternal||a.delete("mention");
if(!this.sessionIsInternal)for(b=l(YGc),c=b.next();!c.done;c=b.next())a.delete(c.value);this.isTrackerSearchEnabled()||a.delete("trackerid");this.atoms=Object.freeze(a);this.atomsWithoutOp=Object.freeze(new Set(["customfield"]))};X(u1,Z);u1.\u0275dir=Z.\u0275dir;u1.prototype.isTrackerSearchEnabled=function(){return!kp(this.activeSession)};
var gHc=function(a,b,c){for(var d=!1,e=!1,f=[],h=l(a.producers),k=h.next();!k.done;k=h.next())k=k.value,k.match&&f.push(k.match(c).then(function(q){d||(d=!0,a.items=[]);b<a.requestIndex||a.items.push.apply(a.items,r(q))}).catch(function(q){return q})),k.updateHeader&&f.push(k.updateHeader(c).then(function(q){e||(e=!0,a.acHeader=null);b<a.requestIndex||(a.acHeader=q)}).catch(function(q){return q}));Promise.all(f).finally(function(){d||(a.items=[]);e||(a.acHeader=null);a.acRefreshed$.next()})},$Gc=
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 hHc(a,b);if(b.label){if(b.label.customFieldId)return iHc(a,b);switch(b.label.val){case "archived":return Promise.resolve(br(jHc,b.value,!0));case "componentid":case "c":return kHc(a,b);case "deleted":return lHc(b);case "deletionreason":return Promise.resolve(br(mHc,
b.value,!0));case "hotlistid":case "h":return nHc(a,b);case "savedsearchid":return oHc(a,b);case "status":case "is":return Promise.resolve(br(pHc,b.value,!0));case "trackerid":return qHc(a,b);case "teamid":return rHc(a,b);case "type":case "t":return a.matchType(b);case "priority":case "p":return Promise.resolve(br(sHc,b.value,!0));case "severity":case "s":return Promise.resolve(br(tHc,b.value,!0));case "inprod":case "star":case "mute":return lHc(b);case "accesslevel":return Promise.resolve(br(uHc,
b.value,!0));default:return Promise.reject(null)}}if(!b.value.val)return Promise.reject(null);c=[];d=Mgb(b.value.val);e=l(a.atoms);for(var f=e.next();!f.done;f=e.next())if(f=f.value,d.token!==f&&f.startsWith(d.token)){var h=b.value.idx+(d.negated?1:0);h={type:"atom",startIdx:h,endIdx:h+b.value.val.length,completionValue:f+(a.atomsWithoutOp.has(f)?"":":"),enableShadowPlaceholder:!0};c.push({trackId:"atom:"+f,name:f,completionCfg:h})}c.sort(function(k,q){return fr(k.name,q.name)});return Promise.resolve(c)},
hHc=function(a,b){var c=b.value.val.replace(/^(cf|customfield)/,""),d=H9b(a.appSearchState);if(!c&&!d)return Promise.reject(null);var e=Amc(a.trackerHelpers)||[];return a.customFieldsApi.query({query:d?"componentid:"+d+" "+c:c,trackerIds:e}).then(function(f){return vHc(a,b,f)})},vHc=function(a,b,c){var d=c.customFields.map(function(h){return h.componentId}).filter(lj);d.length>0&&a.componentActions.bulkLoad(d);d=[];c=l(c.customFields);for(var e=c.next(),f={};!e.done;f={customField$jscomp$21:void 0},
e=c.next())f.customField$jscomp$21=e.value,e=a.getComponentPathNames(f.customField$jscomp$21).then(function(h){return function(k){var q=h.customField$jscomp$21,t=b.value.val,w=q.customFieldId,B=b.value.idx;return{id:w,componentPathNames:k,name:q.name,trackId:"customField:"+w,completionCfg:{type:"customField",startIdx:B,endIdx:B+t.length,completionValue:"customfield"+w+":",matchingString:t}}}}(f)),d.push(e);return Promise.all(d)};
u1.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 iHc=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 br(d,b.value,!1,!1)}):Promise.reject(null)};
u1.prototype.matchType=function(a){return Promise.resolve(br(wHc,a.value,!0))};
var lHc=function(a){if(!a.label)return Promise.reject(null);var b=a.label.val;return Promise.resolve(br([{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))},kHc=function(a,b){var c=b.value.val;return!c||ar(c,!0)?Promise.reject(null):a.componentActions.search(c,!1).then(function(d){return a.processResponse(b,
d)})};
u1.prototype.processResponse=function(a,b){var c=a.value.val,d=[];b=l(b);for(var e=b.next(),f={};!e.done;f={paths$jscomp$48:void 0,startIdx$jscomp$4:void 0,endIdx$jscomp$4:void 0},e=b.next()){e=e.value;var h=e.componentId;f.startIdx$jscomp$4=a.value.idx;f.endIdx$jscomp$4=f.startIdx$jscomp$4+c.length;f.paths$jscomp$48=mr(this.trackerHelpers,e.componentPathInfo);f={id:h,name:e.name,description:e.description,trackId:"component:"+h,accessLimit:e.accessLimit,trackerId:e.trackerId,completionCfg:{type:"component",startIdx:f.startIdx$jscomp$4,
endIdx:f.endIdx$jscomp$4,completionValue:""+h,matchingString:c},componentPath:f.paths$jscomp$48.componentPathId.map(function(k){return function(q,t){return{trackId:"subcomponent:"+q,id:""+q,name:String(k.paths$jscomp$48.componentPathName[t]),completionCfg:{type:"component",completionValue:String(q),startIdx:k.startIdx$jscomp$4,endIdx:k.endIdx$jscomp$4}}}}(f))};d.push(f)}return d};
var rHc=function(a,b){var c=b.value.val;if(!a.sessionIsInternal||!c||ar(c,!0))return Promise.reject(null);var d=Wm();iH(a.teamsService,c).pipe(qf(a.destroyed$)).subscribe(function(e){var f=b.value.idx,h=f+c.length,k=[];e=l(e);for(var q=e.next(),t={};!q.done;t={pathNames$jscomp$3:void 0},q=e.next())q=q.value,t.pathNames$jscomp$3=q.pathNames,t={trackId:"team:"+q.teamId,name:q.name,id:q.teamId,label:"Team "+q.teamId,pathIds:q.pathIds,pathNames:q.pathNames,description:q.description,completionCfg:{type:"team",
startIdx:f,endIdx:h,completionValue:String(q.teamId),matchingString:c},teamPath:q.pathIds.map(function(w){return function(B,E){return{trackId:"team:"+B,id:B,name:w.pathNames$jscomp$3[E],completionCfg:{type:"team",completionValue:String(B),startIdx:f,endIdx:h}}}}(t))},k.push(t);d.resolve(k)},function(){d.reject()});return d.promise},aHc=function(a,b){if(!b.label||b.label.val!=="componentid"&&b.label.val!=="c")return Promise.reject(null);var c=new PGc;b=b.value.val;return ar(b,!0)?(Nt(b,"+")&&(b=b.slice(0,
b.length-1),c.includeChildren=!0),a.componentActions.get(Number(b)).then(function(d){var e;kp(a.activeSession)&&d.trackerId!==((e=a.activeSession.getTracker())==null?void 0:e.trackerId)||(c.component=d);return c})):Promise.resolve(c)},dHc=function(a,b){if(!a.isTrackerSearchEnabled()||!b.label||b.label.val!=="trackerid")return Promise.reject(null);var c=new QGc,d=Wm();b=b.value.val;ar(b)?a.trackerFridge.watchOne(b).pipe(qf(a.destroyed$)).subscribe(function(e){c.tracker=e;d.resolve(c)}):b&&d.resolve(c);
return d.promise},fHc=function(a,b){if(!a.sessionIsInternal||!b.label||b.label.val!=="teamid")return Promise.reject(null);var c=new RGc,d=Wm(),e=b.value.val;ar(e,!0)?(Nt(e,"+")&&(e=e.slice(0,e.length-1),c.includeChildren=!0),iH(a.teamsService,e).pipe(qf(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},bHc=function(a,b){if(!b.label||b.label.val!=="hotlistid"&&b.label.val!=="h")return Promise.reject(null);var c=new SGc;b=b.value.val;return ar(b)?a.hotlistApi.get(b).then(function(d){c.hotlist=d;return c}):b?Promise.reject(null):Promise.resolve(c)},cHc=function(a,b){if(!b.label||b.label.val!=="savedsearchid")return Promise.reject(null);var c=new TGc;b=b.value.val;return ar(b)?a.savedSearchApi.get(b).then(function(d){c.savedSearch=d;return c}):b?Promise.reject(null):Promise.resolve(c)},
eHc=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]),Gn("search-usage","customfield");else return Promise.reject(null);var d=new UGc;return c?a.customFieldsApi.get(c).then(function(e){d.customField=e;return d}):Promise.resolve(d)},qHc=function(a,b){var c=b.value.val;if(!a.isTrackerSearchEnabled()||!c||ar(c,!0))return Promise.reject(null);var d=Wm();a.trackerFridge.watchMany({filter:c,
pageSize:5}).pipe(qf(a.destroyed$)).subscribe(function(e){var f=b.value.idx,h=f+c.length,k=[];e=l(e.results);for(var q=e.next();!q.done;q=e.next())q=q.value,k.push({trackId:"trackerid:"+q.trackerId,name:q.name,id:q.trackerId,label:"Tracker "+q.trackerId,completionCfg:{type:"tracker",startIdx:f,endIdx:h,completionValue:q.trackerId,matchingString:c}});d.resolve(k)});return d.promise},nHc=function(a,b){return ar(b.value.val)?Promise.reject(null):(a.activeSession.getFlag("enableLeanFeF")?(0,W.firstValueFrom)(jF(a.currentUserBookmarksFridge)):
a.userApi.getUserHotlists()).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 br(c,b.value,!1,!0)})},oHc=function(a,b){return ar(b.value.val)?Promise.reject(null):(a.activeSession.getFlag("enableLeanFeF")?(0,W.firstValueFrom)(kF(a.currentUserBookmarksFridge)):a.userApi.getUserSavedSearches()).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 br(c,b.value,!1,!0)})};u1.\u0275fac=function(a){return new (a||u1)(n(xH),n(aF),n(pH),n(kQ),n(pF),n(RE),n(fF),n(UU),n(gH),n(Ir),n(hF))};u1.\u0275prov=Hc({token:u1,factory:u1.\u0275fac,providedIn:"root"});
var pHc="accepted assigned closed duplicate fixed infeasible intended_behavior new not_reproducible obsolete open verified".split(" ").map(function(a){return cr({name:a,label:"Status",type:"status"})}),wHc="bug customer_issue feature_request internal_cleanup process vulnerability privacy_issue program project feature milestone epic story task".split(" ").map(function(a){return cr({name:a,label:"Type",type:"type",trackIdPrefix:"bugType"})}),sHc=["p0","p1","p2","p3","p4"].map(function(a){return cr({name:a,
label:"Priority",type:"priority"})}),tHc=["s0","s1","s2","s3","s4"].map(function(a){return cr({name:a,label:"Severity",type:"severity"})}),jHc=["all","true","false"].map(function(a){return cr({name:a,label:"Archived",type:"archived"})}),mHc=["abuse","pii","user_request","retention"].map(function(a){return cr({name:a,label:"Deletion Reason",type:"deletionreason",trackIdPrefix:"deletionReason"})}),uHc=[["limit_none","Default access"],["limit_view","Limited visibility"],["limit_append","Limited commenting"],
["limit_view_trusted","Limited visibility + Google"]].map(function(a){var b=l(a);a=b.next().value;b=b.next().value;return cr({name:b,label:"Issue access level",type:"accesslevel",id:a})});var v1=function(a){this.cdr=a;this.optionsChange=new XF};v1.prototype.ngOnInit=function(){Ngb(this)};
var Ngb=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},Ogb=function(a){a.validator&&(a.errorString=a.validator(),a.cdr.detectChanges())},xHc=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);Ogb(a)},yHc=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(", ")};v1.\u0275fac=function(a){return new (a||v1)(A(YF,2))};
v1.\u0275cmp=p({type:v1,selectors:[["slo-element-property-picker"]],inputs:{selectAllText:"selectAllText",validator:"validator",options:"options"},outputs:{optionsChange:"optionsChange"},features:[qg([YF])],decls:16,vars:12,consts:[["menu","matMenu"],["mat-stroked-button","",1,"bv2-appbar-menu",3,"matMenuTriggerFor"],[1,"flex-kids-x","flex-cross-axis-centered"],[1,"bv2-property-picker-summary-text"],["svgIcon","arrow-dropdown"],["mat-menu-item","","role","menuitemcheckbox",1,"bv2-property-picker-selectall",
"bv2-property-picker-option-row",3,"click"],[3,"change","checked","indeterminate"],["mat-menu-item","","class","bv2-property-picker-options","role","menuitemcheckbox",4,"ngFor","ngForOf"],["class","bv2-property-picker-error-message",4,"ngIf"],["mat-menu-item","","role","menuitemcheckbox",1,"bv2-property-picker-options"],["title","option",1,"bv2-property-picker-option-row",3,"click"],[3,"change","click","checked"],[1,"bv2-property-picker-error-message"]],template:function(a,b){if(a&1){var c=u();F(0,
"div")(1,"button",1)(2,"div",2)(3,"span",3);R(4);R(5," \u00a0 ");G();H(6,"mat-icon",4);G()();F(7,"mat-menu",null,0)(9,"div",5);M("click",function(d){v(c);return x(xHc(b,d))});F(10,"mat-checkbox",6);M("change",function(d){v(c);b.selectAllValue=d.checked;return x(xHc(b))});R(11);G()();H(12,"mat-divider");C(13,Pgb,4,3,"div",7);T(14,"keyvalue");G();C(15,Qgb,2,1,"div",8);G()}a&2&&(a=Q(8),z(),Kf("ng-invalid",!!b.errorString),D("matMenuTriggerFor",a),z(3),S(" ",yHc(b)," "),z(5),Bf("aria-checked",b.selectAllValue),
z(),D("checked",!!b.selectAllValue)("indeterminate",b.selectAllValue===null),z(),S(" ",b.selectAllText," "),z(2),D("ngForOf",V(14,10,b.options.propertyValues)),z(2),D("ngIf",!!b.errorString))},dependencies:[Fv,Gv,zB,QH,RH,QL,TL,RL,UL,MP,IH,Rx,Qv],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 zHc=function(a,b){this.displayString=a;this.value=b},AHc=function(a){this.propertyValues=a},BHc=function(a){for(var b=l(Object.keys(a.propertyValues)),c=b.next();!c.done;c=b.next())if(a.propertyValues[c.value].value)return!0;return!1},shb=function(a){for(var b=l(Object.keys(a.propertyValues)),c=b.next();!c.done;c=b.next())if(!a.propertyValues[c.value].value)return!1;return!0};AHc.prototype.setAll=function(a){for(var b in this.propertyValues)this.propertyValues[b].value=a};var w1=function(){};w1.\u0275fac=function(a){return new (a||w1)};w1.\u0275mod=dd({type:w1});w1.\u0275inj=Ic({imports:[BB,jM,ZL,NP,dJ]});var CHc=function(a,b){this.name=a;this.secondsPerUnit=b},dr=new CHc("minute",60),er=new CHc("hour",3600),Ygb=new CHc("day",86400),x1=function(){this.errorString=null;this.objectiveDurationChange=new XF;this.objectiveBusinessDaysChange=new XF;this.intervalUnit=Ygb};x1.prototype.ngOnInit=function(){DHc(this)};x1.prototype.ngOnChanges=function(a){[a.objectiveBusinessDays,a.objectiveDuration,a.dayType].some(function(b){return b&&!b.isFirstChange()})&&DHc(this)};
var Tgb=function(a,b){b=b.name;vi(a.intervalString)!==1&&(b+="s");return b},Xgb=function(a){return a.dayType==="BUSINESS"},DHc=function(a){!Xgb(a)&&EHc(a,Ygb)||EHc(a,er)||EHc(a,dr);if(a.objectiveBusinessDays!=0||a.businessDayString!="")a.businessDayString=""+a.objectiveBusinessDays},EHc=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):(Xgb(a)?[dr,er]:[dr,er,Ygb]).includes(a.intervalUnit)||
(a.intervalUnit=b),!0):!1},Rgb=function(a){a.errorString=a.validator(a.intervalString,a.businessDayString);Vgb(a);Wgb(a)},Vgb=function(a){a.objectiveDuration.seconds=a.intervalUnit.secondsPerUnit*(vi(a.intervalString)||0);a.objectiveDurationChange.emit(a.objectiveDuration)},Wgb=function(a){a.objectiveBusinessDays=vi(a.businessDayString)||0;a.objectiveBusinessDaysChange.emit(a.objectiveBusinessDays)};x1.\u0275fac=function(a){return new (a||x1)};
x1.\u0275cmp=p({type:x1,selectors:[["slo-objective-selector"]],inputs:{isDisabled:"isDisabled",validator:"validator",dayType:"dayType",objectiveDuration:"objectiveDuration",objectiveBusinessDays:"objectiveBusinessDays"},outputs:{objectiveDurationChange:"objectiveDurationChange",objectiveBusinessDaysChange:"objectiveBusinessDaysChange"},features:[td],decls:2,vars:2,consts:[["class","enabled bv2-slo-objective",4,"ngIf"],["class","disabled",4,"ngIf"],[1,"enabled","bv2-slo-objective"],["class","bv2-slo-objective-interval",
4,"ngIf"],[1,"bv2-slo-objective-interval"],["type","text",3,"ngModelChange","ngModel"],[1,"bv2-slo-objective-unit",3,"ngModelChange","selectionChange","ngModel"],[3,"value",4,"ngFor","ngForOf"],[1,"bv2-slo-objective-unit"],[3,"value"],[1,"disabled"],["class","bv2-slo-objective-biz-day-text",4,"ngIf"],[4,"ngIf"],[1,"bv2-slo-objective-biz-day-text"]],template:function(a,b){a&1&&C(0,Zgb,6,6,"span",0)(1,chb,3,2,"span",1);a&2&&(D("ngIf",!b.isDisabled),z(),D("ngIf",b.isDisabled))},dependencies:[Fv,Gv,mh,
qy,yy,mM,nM,Kx],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 y1=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"]])},IHc=function(a,b){var c=new FHc,d=GHc(b,"type",function(f){var h=f.toUpperCase(),k=new HHc;a.typeStringToEnum.has(h)?k.value=h:k.error='The string "'+f+'" is not a valid type';return k});if(d.error)return c.error=d.error,c;d=l(d.values);for(var e=d.next();!e.done;e=d.next())c.types.push(a.typeStringToEnum.get(e.value));d=GHc(b,"priority",function(f){var h=
f.toUpperCase(),k=new HHc;a.priorityStringToEnum.has(h)?k.value=h:k.error='The string "'+f+'" is not a valid priority';return k});if(d.error)return c.error=d.error,c;d=l(d.values);for(e=d.next();!e.done;e=d.next())c.priorities.push(a.priorityStringToEnum.get(e.value));b=GHc(b,"postmortem",function(f){var h=f.toUpperCase(),k=new HHc;a.postmortemValuesToCanonical.has(h)?k.value=h:k.error='The string "'+f+'" is not a valid postmortem value';return k});if(b.error)c.error=b.error;else for(b=l(b.values),
d=b.next();!d.done;d=b.next())c.postmortemValues.push(a.postmortemValuesToCanonical.get(d.value));return c},GHc=function(a,b,c){var d=new JHc;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};y1.\u0275fac=function(a){return new (a||y1)(n(JI),n(Ir))};y1.\u0275prov=Hc({token:y1,factory:y1.\u0275fac,providedIn:"root"});
var FHc=function(){this.types=[];this.priorities=[];this.postmortemValues=[];this.error=""},JHc=function(){this.values=[];this.error=""},HHc=function(){this.error=this.value=""};var z1=function(){};z1.prototype.validate=function(a){for(var b={},c=l(Object.entries(this.validators)),d=c.next();!d.done;d=c.next()){var e=l(d.value);d=e.next().value;e=e.next().value;e(a.value)||(b[d]=!0)}return Object.keys(b).length?b:null};z1.\u0275fac=function(a){return new (a||z1)};z1.\u0275dir=fd({type:z1,selectors:[["","customValidators",""]],inputs:{validators:[0,"customValidators","validators"]},features:[qg([{provide:ky,useExisting:z1,multi:!0}])]});var A1=function(a,b,c){this.constants=a;this.sloParseService=b;this.confirmationDialogService=c;this.collection=[];this.boundCollection=[];this.onCollectionUpdate=new XF;this.onValidation=new XF;this.selectedObjectiveBusinessDays=this.selectedObjectiveDuration=null;this.postmortemAllSummaryValue="Either";this.canPerformActionsInternal=!1;this.openRow=null;this.metricChoices=["METRIC_UNSPECIFIED"].concat(Z8b);this.dayTypes=["CALENDAR","BUSINESS"];Z8b.map(function(d,e){return[d,e]});this.selectedMetric=
"METRIC_UNSPECIFIED";this.selectedDayType="CALENDAR";this.selectedMetric=this.metricChoices[0];this.selectedDayType="CALENDAR";this.selectedObjectiveBusinessDays=this.selectedObjectiveDuration=null;this.anyNoneDisplayValues=new Map([["ANY","Has postmortem"],["NONE","No postmortem"]]);this.canPerformActions=!0},Ohb=function(a,b,c){thb(a);a=l(a.collection);for(var d=a.next();!d.done;d=a.next())d.value.canEdit=!1;b.startEditing();c&&c.stopPropagation()},Rhb=function(a,b,c){c=Uhb(a,b,c);var d=c.newOffset;
c.valid&&(thb(a),Va(a.collection,b),Va(a.boundCollection,b.sloElement),a.collection.splice(d,0,b),a.boundCollection.splice(d,0,b.sloElement),KHc(a))},Uhb=function(a,b,c){b=a.collection.indexOf(b)+c;return{valid:b>=0&&b<a.collection.length,newOffset:b}},thb=function(a){a=l(a.collection);for(var b=a.next();!b.done;b=a.next())b=b.value,b.stopEditing(),b.canEdit=!0},LHc=function(a,b){var c=b.map(function(d){return new B1(d,a)});a.openRow=null;a.collection=c;a.boundCollection=b;a.canPerformActions=!a.openRow},
lhb=function(a){return a==="METRIC_UNSPECIFIED"?" - ":$8b.get(a)},zhb=function(a,b){return b!=="TYPE_UNSPECIFIED"&&a.constants.issueTypesDisplayNames.has(b)?a.constants.issueTypesDisplayNames.get(b):" - "},Ehb=function(a,b){return b!=="PRIORITY_UNSPECIFIED"&&a.constants.issuePrioritiesDisplayNames.has(b)?a.constants.issuePrioritiesDisplayNames.get(b):" - "},uhb=function(a,b){thb(a);Va(a.collection,b);Va(a.boundCollection,b.sloElement);KHc(a)},fhb=function(a,b){a.confirmationDialogService.open({title:"Are you sure you'd like to clear all the rules?",
content:wh("This won't take effect until you save the changes, but any local changes will be lost."),onConfirm:function(){a.collection=[];a.boundCollection=[];KHc(a)},onDismiss:function(){}});b.stopPropagation()},dhb=function(a,b){var c=new B1({metric:"METRIC_UNSPECIFIED",matcher:"",dayType:"DAY_TYPE_UNSPECIFIED",objective:{seconds:0,nanos:0},businessDays:0},a,!0);Ohb(a,c);a.collection.splice(b,0,c);a.boundCollection.splice(b,0,c.sloElement);KHc(a)};
A1.prototype.onDrop=function(a){Rhb(this,this.collection[a.previousIndex],a.currentIndex-a.previousIndex)};var KHc=function(a){a.onCollectionUpdate.emit(a.boundCollection)};
ea.Object.defineProperties(A1.prototype,{collectionInput:{configurable:!0,enumerable:!0,set:function(a){LHc(this,a)}},canPerformActions:{configurable:!0,enumerable:!0,set:function(a){this.canPerformActionsInternal=a;this.onValidation.emit(a)},get:function(){return this.canPerformActionsInternal}},isDisabled:{configurable:!0,enumerable:!0,set:function(a){this.isDisabledInternal=a;if(this.collection)for(var b=l(this.collection),c=b.next();!c.done;c=b.next())c=c.value,c.canEdit=!a||this.openRow===c},
get:function(){return this.isDisabledInternal}}});A1.\u0275fac=function(a){return new (a||A1)(A(JI),A(y1),A(EI))};
A1.\u0275cmp=p({type:A1,selectors:[["slo-elements-picker"]],inputs:{collectionInput:[0,"collection","collectionInput"],isDisabled:"isDisabled"},outputs:{onCollectionUpdate:"onCollectionUpdate",onValidation:"onValidation"},decls:29,vars:5,consts:[["settingsMenu","matMenu"],[1,"bv2-slo-elements-picker"],[1,"bv2-slo-elements-table-label","edit-field-header"],["href","http://g3doc/company/teams/buganizer/user-guide/guides/define-slo#creating-a-new-slo-rule"],["matTooltip","These ordered rules determine the objectives for each type of issue for this SLO",
1,"bv2-slo-elements-table-help-icon",3,"name","size"],["class","bv2-slo-elements-actionbar",4,"ngIf"],["cellspacing","0",1,"bv2-slo-elements-table"],[1,"header-row"],[1,"bv2-slo-elements-table-order-header"],[1,"bv2-slo-elements-table-type-header"],[1,"bv2-slo-elements-table-priority-header"],[1,"bv2-slo-elements-table-postmortem-header"],[1,"bv2-slo-elements-table-metric-header"],[1,"bv2-slo-elements-table-objective-header"],[1,"bv2-slo-elements-table-daytype-header"],[1,"bv2-slo-elements-table-actions-header"],
["cdkDropList","",3,"cdkDropListData","cdkDropListDisabled","cdkDropListDropped",4,"ngIf"],["class","bv2-slo-elements-table-empty-list-description",4,"ngIf"],[1,"bv2-slo-elements-actionbar"],[1,"slo-picker-actions"],[1,"slo-picker-icon-action-icon-container"],["class","hoverable","matTooltip","Add a new rule",3,"name","size","click",4,"ngIf"],["matTooltip","Clear all rules",1,"hoverable",3,"click","name","size"],["matTooltip","Add a new rule",1,"hoverable",3,"click","name","size"],["cdkDropList",
"",3,"cdkDropListDropped","cdkDropListData","cdkDropListDisabled"],["class","bv2-slo-element-row","cdkDrag","",3,"draggable",4,"ngFor","ngForOf"],["cdkDrag","",1,"bv2-slo-element-row"],["class","bv2-slo-element-row-counter editable-row",4,"ngIf"],["class","bv2-slo-element-picker-column bv2-slo-element-type-column bv2-editable-slo-element editable-row",4,"ngIf"],["class","bv2-slo-element-picker-column bv2-slo-element-priority-column bv2-editable-slo-element editable-row",4,"ngIf"],["class","bv2-slo-element-picker-column bv2-slo-element-postmortem-column bv2-editable-slo-element editable-row",
4,"ngIf"],["class","bv2-slo-element-picker-column bv2-slo-element-metric bv2-editable-slo-element editable-row",4,"ngIf"],["class","bv2-slo-element-picker-column bv2-slo-element-objective bv2-editable-slo-element editable-row",4,"ngIf"],["class","bv2-slo-element-picker-column bv2-slo-element-daytype bv2-editable-slo-element editable-row",4,"ngIf"],["class","bv2-slo-element-action editable-row",4,"ngIf"],["class","bv2-slo-element-row-counter display-row",4,"ngIf"],["class","bv2-slo-element-type-column bv2-slo-element-picker-column display-row",
4,"ngIf"],["class","bv2-slo-element-priority-column bv2-slo-element-picker-column display-row",4,"ngIf"],["class","bv2-slo-element-postmortem-column bv2-slo-element-picker-column display-row",4,"ngIf"],["class","bv2-slo-element-metric bv2-slo-element-picker-column display-row",4,"ngIf"],["class","bv2-slo-element-objective bv2-slo-element-picker-column display-row",4,"ngIf"],["class","bv2-slo-element-daytype bv2-slo-element-picker-column display-row",4,"ngIf"],["class","bv2-slo-element-action display-row",
4,"ngIf"],[1,"bv2-slo-element-row-counter","editable-row"],[1,"bv2-slo-element-picker-column","bv2-slo-element-type-column","bv2-editable-slo-element","editable-row"],[1,"bv2-type-property-picker",3,"optionsChange","selectAllText","validator","options"],[1,"bv2-slo-element-picker-column","bv2-slo-element-priority-column","bv2-editable-slo-element","editable-row"],[1,"bv2-priority-property-picker",3,"optionsChange","selectAllText","validator","options"],[1,"bv2-slo-element-picker-column","bv2-slo-element-postmortem-column",
"bv2-editable-slo-element","editable-row"],[1,"bv2-postmortem-property-picker",3,"optionsChange","selectAllText","validator","options"],[1,"bv2-slo-element-picker-column","bv2-slo-element-metric","bv2-editable-slo-element","editable-row"],["appearance","outline","subscriptSizing","dynamic"],["required","true",1,"bv2-enum-field","bv2-slo-elements-picker-metric-selector",3,"ngModelChange","ngModel","customValidators"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[1,"bv2-slo-element-picker-column","bv2-slo-element-objective",
"bv2-editable-slo-element","editable-row"],["required","",3,"objectiveDurationChange","objectiveBusinessDaysChange","dayType","objectiveDuration","objectiveBusinessDays","validator","isDisabled"],[1,"bv2-slo-element-picker-column","bv2-slo-element-daytype","bv2-editable-slo-element","editable-row"],[1,"bv2-enum-field","bv2-slo-elements-picker-daytype-selector",3,"ngModelChange","selectionChange","ngModel"],[1,"bv2-slo-element-action","editable-row"],["matTooltip","Finish editing",1,"bv2-slo-element-action",
3,"click","name","size"],["matTooltip","Remove row",1,"bv2-slo-element-action",3,"click","name","size"],[1,"bv2-slo-element-row-counter","display-row"],[1,"bv2-slo-element-type-column","bv2-slo-element-picker-column","display-row"],[4,"ngIf"],["class","bv2-property-display-chips",4,"ngIf"],[1,"bv2-property-display-chips"],["class","bv2-property-display-chip-container",4,"ngFor","ngForOf"],[1,"bv2-property-display-chip-container"],[1,"matcher-chip-content"],[1,"bv2-slo-element-priority-column","bv2-slo-element-picker-column",
"display-row"],[1,"bv2-slo-element-postmortem-column","bv2-slo-element-picker-column","display-row"],[1,"bv2-slo-element-metric","bv2-slo-element-picker-column","display-row"],[1,"bv2-slo-element-objective","bv2-slo-element-picker-column","display-row"],["required","",3,"objectiveDurationChange","objectiveBusinessDaysChange","dayType","objectiveDuration","objectiveBusinessDays","isDisabled"],[1,"bv2-slo-element-daytype","bv2-slo-element-picker-column","display-row"],[1,"bv2-slo-element-action","display-row"],
["class","hoverable bv2-slo-element-action-edit","matTooltip","Edit this rule",3,"name","size","click",4,"ngIf"],["class","hoverable bv2-slo-element-action-more-settings","matTooltip","More options",3,"name","size","matMenuTriggerFor",4,"ngIf"],["mat-menu-item","","class","bv2-slo-element-action-more-settings-move-down",3,"click",4,"ngIf"],["mat-menu-item","","class","bv2-slo-element-action-more-settings-move-up",3,"click",4,"ngIf"],["mat-menu-item","",1,"bv2-slo-element-action-more-settings-add-row-below",
3,"click"],["mat-menu-item","",1,"bv2-slo-element-action-more-settings-add-row-above",3,"click"],["mat-menu-item","",1,"bv2-slo-element-action-more-settings-remove",3,"click"],["matTooltip","Edit this rule",1,"hoverable","bv2-slo-element-action-edit",3,"click","name","size"],["matTooltip","More options",1,"hoverable","bv2-slo-element-action-more-settings",3,"name","size","matMenuTriggerFor"],["mat-menu-item","",1,"bv2-slo-element-action-more-settings-move-down",3,"click"],["mat-menu-item","",1,"bv2-slo-element-action-more-settings-move-up",
3,"click"],[1,"bv2-slo-elements-table-empty-list-description"]],template:function(a,b){a&1&&(F(0,"div",1)(1,"div")(2,"div")(3,"label",2),R(4,"Rules"),G(),F(5,"a",3),H(6,"b-icon",4),G(),C(7,ghb,6,3,"span",5),G(),F(8,"table",6)(9,"thead")(10,"tr",7)(11,"th",8),R(12,"Order"),G(),F(13,"th",9),R(14,"Type"),G(),F(15,"th",10),R(16,"Priority"),G(),F(17,"th",11),R(18,"Postmortem"),G(),F(19,"th",12),R(20,"Metric"),G(),F(21,"th",13),R(22,"Objective"),G(),F(23,"th",14),R(24," Day Type "),G(),H(25,"th",15),G()(),
C(26,Xhb,2,3,"tbody",16),G(),F(27,"div"),C(28,Yhb,2,0,"div",17),G()()());a&2&&(z(6),D("name","help-outline")("size","small"),z(),D("ngIf",!b.isDisabled),z(19),D("ngIf",b.collection&&b.collection.length!=0),z(2),D("ngIf",!b.collection||b.collection.length==0))},dependencies:[Fv,Gv,z1,dX,cX,qy,Iy,yy,hN,kM,Wy,QL,TL,RL,UL,mM,nM,Kx,LH,OH,v1,x1],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 B1=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=BHc(d.priorityPickerValues)?null:"Priority can't be empty";d.priorityPickerValid=e===null;return e};this.validateTypePicker=function(){var e=BHc(d.typePickerValues)?null:"Type can't be empty";d.typePickerValid=
e===null;return e};this.validatePostmortemPicker=function(){var e=BHc(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=MHc(a.objective);this.selectedObjectiveBusinessDays=a.businessDays;this.canEdit=!b.isDisabled;this.metricValidators={required:function(e){return NHc(d,e)}};OHc(this);this.typePickerValues=PHc(this.controllerReference.sloParseService.enumTypeToString.keys(),function(e){return d.parseResult.types.length===
0||d.parseResult.types.includes(e)},function(e){return zhb(d.controllerReference,e)});this.priorityPickerValues=PHc(this.controllerReference.sloParseService.enumPriorityToString.keys(),function(e){return d.parseResult.priorities.length===0||d.parseResult.priorities.includes(e)},function(e){return Ehb(d.controllerReference,e)});this.postmortemPickerValues=PHc(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();NHc(this,this.selectedMetric)},MHc=function(a){return a?a:{seconds:86400,nanos:0}};B1.prototype.isValid=function(){return this.priorityPickerValid&&this.typePickerValid&&this.postmortemPickerValid&&this.metricSelectorValid&&this.objectiveValid};var NHc=function(a,b){b=b!=="METRIC_UNSPECIFIED";return a.metricSelectorValid=b};
B1.prototype.stopEditing=function(){if(this.isEditingInternal&&(this.isValid()||this.isNewElement)){this.controllerReference.openRow=null;var a=this.controllerReference;a.canPerformActions=!a.openRow;this.isEditingInternal=this.isNewElement=!1;this.canEdit=!0;QHc(this);this.sloElement.metric=this.selectedMetric;this.sloElement.dayType=this.selectedDayType;this.sloElement.objective=this.selectedObjectiveDuration;this.sloElement.businessDays=this.selectedObjectiveBusinessDays;OHc(this)}};
var QHc=function(a){var b=a.getEnumValues(a.typePickerValues),c=a.getEnumValues(a.priorityPickerValues),d=a.getEnumValues(a.postmortemPickerValues);b=RHc(b,function(f){return a.controllerReference.sloParseService.enumTypeToString.get(f)});c=RHc(c,function(f){return a.controllerReference.sloParseService.enumPriorityToString.get(f)});d=RHc(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};B1.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 RHc=function(a,b){if(a.length===0)return"";if(a.length===1)return b(a[0]);var c=[];a=l(a);for(var d=a.next();!d.done;d=a.next())c.push(b(d.value));return"("+c.join("|")+")"};
B1.prototype.startEditing=function(){if(!this.isEditingInternal){this.controllerReference.canPerformActions=!1;this.controllerReference.openRow=this;var a=this.controllerReference;a.canPerformActions=!a.openRow;this.canEdit=!1;this.isEditingInternal=!0;OHc(this)}};var OHc=function(a){a.parseResult=IHc(a.controllerReference.sloParseService,a.matcherText)},PHc=function(a,b,c){var d={};a=l(a);for(var e=a.next();!e.done;e=a.next()){e=e.value;var f=b(e),h=c(e);d[""+e]=new zHc(h,f)}return new AHc(d)};var C1=function(){};C1.\u0275fac=function(a){return new (a||C1)};C1.\u0275mod=dd({type:C1});C1.\u0275inj=Ic({imports:[BB,My,qM]});var D1=function(){};D1.\u0275fac=function(a){return new (a||D1)};D1.\u0275mod=dd({type:D1});D1.\u0275inj=Ic({imports:[BB]});var E1=function(){};E1.\u0275fac=function(a){return new (a||E1)};E1.\u0275mod=dd({type:E1});E1.\u0275inj=Ic({imports:[BB,D1,eX,My,jN,lM,ZL,qM,aM,w1,C1]});var F1=function(a,b,c,d){Z.call(this);this.element=a;this.cdr=b;this.location=c;this.hotkeys=d;this.focusedIndex=0;this.slos=[]};X(F1,Z);F1.\u0275dir=Z.\u0275dir;g=F1.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=LN(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(zo.editSlo.makeHref(a.sloId))};
F1.\u0275fac=function(a){return new (a||F1)(A(Rd),A(YF,2),A(oN),A(KN))};
F1.\u0275cmp=p({type:F1,selectors:[["b-slo-grid"]],inputs:{slos:"slos"},features:[qg([YF]),zf],decls:16,vars:1,consts:[[1,"pop-grid","bv2-resource-list","bv2-slo-grid"],[1,"header-row"],[1,"focus-indicator"],[1,"bv2-columnheader-content"],[1,"pop-grid-default-th"],[1,"pop-grid-non-sort-header"],["class","bv2-resource-list-row","tabindex","0",3,"grid-focus","click","focus",4,"ngFor","ngForOf"],["tabindex","0",1,"bv2-resource-list-row",3,"click","focus"],[1,"bv2-resource-list-cell","slo-name","clickable"],
["tabindex","-1",1,"grid-link",3,"href"],[1,"bv2-resource-list-cell","slo-description","clickable"]],template:function(a,b){a&1&&(F(0,"table",0)(1,"thead")(2,"tr",1),H(3,"th",2),F(4,"th")(5,"div",3)(6,"div",4)(7,"div",5),R(8," SLO name "),G()()()(),F(9,"th")(10,"div",3)(11,"div",4)(12,"div",5),R(13," Description "),G()()()()()(),F(14,"tbody"),C(15,Zhb,7,7,"tr",6),G()());a&2&&(z(15),D("ngForOf",b.slos))},dependencies:[Fv],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 G1=function(){};G1.\u0275fac=function(a){return new (a||G1)};G1.\u0275mod=dd({type:G1});G1.\u0275inj=Ic({imports:[BB]});var H1=function(a,b){this.log=a;this.dateFormatter=b},THc=function(a,b){var c=x0a(b.addMask.paths),d=x0a(b.removeMask.paths),e={author:b.author||null,timestamp:b.timestamp||null,diffs:[]},f=b.add;b=b.remove;for(var h=l(new Set([].concat(r(c),r(d)))),k=h.next();!k.done;k=h.next()){var q=k.value;k=a9b.get(q);if(q==="name"){var t=Pp(d,q,b.name);q=Pp(c,q,f.name);e.diffs.push(Qp(k,t,q))}else if(q==="description")t=Pp(d,q,b.description),q=Pp(c,q,f.description),e.diffs.push(Qp(k,t,q));else if(q==="parentId")t=
Pp(d,q,String(b.parentId)),q=Pp(c,q,String(f.parentId)),e.diffs.push(Qp(k,t,q));else if(q==="elements"){var w=f.elements;t=y0a(d,q,b.elements.map(function(B){return SHc(B)}));q=y0a(c,q,w.map(function(B){return SHc(B)}));e.diffs.push({fieldName:k,diffType:"COLLECTION",diff:{removed:t,added:q}})}else a.log.error("Unsupported diff field.")}return e},SHc=function(a){var b=a.matcher,c=$8b.get(a.metric),d=phb.get(a.dayType),e=[];a.businessDays>0&&e.push(a.businessDays+" day"+(a.businessDays>1?"s":""));
a.objective.seconds>0&&e.push(zfc(a.objective.seconds*1E3));return'("'+b+'", '+c+") - "+(d+" days - "+e.join(", "))};H1.\u0275fac=function(a){return new (a||H1)(n(tE),n(RM))};H1.\u0275prov=Hc({token:H1,factory:H1.\u0275fac,providedIn:"root"});var I1=function(){};I1.\u0275fac=function(a){return new (a||I1)};I1.\u0275mod=dd({type:I1});I1.\u0275inj=Ic({imports:[BB,dJ,fJ]});var WHc=function(a,b){this.$log=b;this.templateAttributes={};this.templateCustomFields={};b=l(UHc);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"?zi(f):""}):e=typeof d==="string"?zi(d):"";this.templateAttributes[c]=e}b=l(VHc);for(c=b.next();!c.done;c=b.next())c=c.value,a[c]&&(this.templateAttributes[c]=a[c]);if(a=a.customFields)for(a=Array.isArray(a)?a:[a],a=l(a),b=a.next();!b.done;b=a.next())b=b.value.split(":"),
c=b.slice(1).join(":"),Hp(c)||(this.templateCustomFields[b[0]]=c)},YHc=function(a){return Object.keys(a.templateCustomFields||{}).length!==0||XHc.some(function(b){return a.templateAttributes[b]!=null})},cIc=function(a,b,c){c!=null&&(ZHc(a,c),$Hc(a,b,c),aIc(b,c));c=l(Object.entries(a.templateAttributes));for(var d=c.next();!d.done;d=c.next()){var e=l(d.value);d=e.next().value;e=e.next().value;bIc[d](b,e)}a.templateAttributes={};a.templateCustomFields={}},$Hc=function(a,b,c){b.customField==null&&(b.customField=
[]);for(var d={},e=l(b.customField),f=e.next();!f.done;f=e.next())f=f.value,d[f.customFieldId]=f;e=l(Object.entries(a.templateCustomFields));var h=e.next();for(f={};!h.done;f={customFieldId$jscomp$22:void 0},h=e.next()){var k=l(h.value);h=k.next().value;k=k.next().value;f.customFieldId$jscomp$22=vi(h);k={customFieldId:f.customFieldId$jscomp$22,value:k};h=a.getCustomFieldValue(k,c);d[f.customFieldId$jscomp$22]!=null?(f=b.customField.findIndex(function(q){return function(t){return t.customFieldId===
q.customFieldId$jscomp$22}}(f)),b.customField[f]=h):(b.customField.push(h),d[k.customFieldId]=h)}};
WHc.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=Qza(a.value)||void 0;break;case "ENUM":c.enumValue=a.value;break;case "NUMERIC":c.numericValue=Rza(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 Qza(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 Rza(e)}).filter(function(e){return e!==null});c.repeatedNumericValue={values:d};break;default:this.$log.warn("Invalid custom field type '"+b+"'.")}}return c};WHc.prototype.getCustomFieldType=function(a,b){var c,d;return(d=(c=b[a.customFieldId])==null?void 0:c.type)!=null?d:""};
var ZHc=function(a,b){a.templateCustomFields=rc(a.templateCustomFields,function(c,d){return!!b[d]})},aIc=function(a,b){if(a.customField!=null){a=l(a.customField);for(var c=a.next(),d={};!c.done;d={allowedValues:void 0},c=a.next()){c=c.value;var e=b[c.customFieldId];if(e&&e.type&&e.type.includes("ENUM")){d.allowedValues=e.allowedValue||[];var f=e.required&&e.typedDefaultValue;e.type.includes("REPEATED")?(c.repeatedEnumValue=c.repeatedEnumValue||{values:[]},c.repeatedEnumValue.values=c.repeatedEnumValue.values.filter(function(h){return function(k){return h.allowedValues.includes(k)}}(d)),
!c.repeatedEnumValue.values.length&&f&&(c.repeatedEnumValue=e.typedDefaultValue.repeatedEnumValue)):d.allowedValues.includes(c.enumValue)||(c.enumValue=f?e.typedDefaultValue.enumValue:"")}}}},UHc="title type priority severity assignee verifier reporter collaborators cc hotlistIds blockedByIssueIds blockingIssueIds foundIn targetedTo".split(" "),VHc=["inProd"],XHc="severity foundIn inProd reporter verifier targetedTo blockedByIssueIds blockingIssueIds".split(" "),J1={},bIc=(J1.cc=function(a,b){a.ccUsers=
cib(b,a.ccUsers||[])},J1.collaborators=function(a,b){a.collaboratorsUsers=cib(b,a.collaboratorsUsers||[])},J1.title=function(a,b){typeof b==="string"&&(a.title=b)},J1.assignee=function(a,b){bib(b,function(c){a.assigneeUser=c})},J1.reporter=function(a,b){bib(b,function(c){a.reporterUser=c})},J1.verifier=function(a,b){bib(b,function(c){a.verifierUser=c})},J1.hotlistIds=function(a,b){if(b=$hb(b)){a.hotlistId||(a.hotlistId=[]);b=l(b);for(var c=b.next();!c.done;c=b.next())a.hotlistId.push(c.value)}},J1.blockingIssueIds=
function(a,b){if(b=$hb(b))a.blockingIssueId=b.map(String)},J1.blockedByIssueIds=function(a,b){if(b=$hb(b))a.blockedByIssueId=b.map(String)},J1.foundIn=function(a,b){typeof b==="string"&&(a.foundInVersion=b.split(","))},J1.targetedTo=function(a,b){typeof b==="string"&&(a.targetedToVersion=b.split(","))},J1.inProd=function(a,b){a.inProd=b==="true"},J1.priority=function(a,b){if(b=aib(gac,b))a.priority=Yj(b)},J1.severity=function(a,b){if(b=aib(jac,b))a.severity=gva(b)},J1.type=function(a,b){if(b=aib(iac,
b))a.type=fva(b)},J1);var K1=function(a,b){this.issueRelationshipApi=a;this.issueApi=b};
K1.prototype.bulkEdit=function(a){var b=this,c,d,e,f,h,k,q,t,w,B,E,I,J;return fe(function(N){switch(N.nextAddress){case 1:c=a.actions[0];d=String(c.value);e=a.issueIds;f=c.actionType;if(f!=="ADD"&&f!=="REMOVE")throw Error("hf");h={};k=[];q=[];t=JAa(e);w=l(t.reverse());B=w.next();case 2:if(B.done){N.jumpTo(4);break}E=B.value;ge(N,5);return f==="ADD"?(I=E.map(function(P){return{targetIssueId:P,afterIssueId:void 0}}),he(N,(0,W.firstValueFrom)(y8b(b.issueRelationshipApi,d,I)),8)):he(N,(0,W.firstValueFrom)(z8b(b.issueRelationshipApi,
d,E)),8);case 8:return he(N,b.issueApi.batchGetIssues(E).then(function(P){return P.map(function(U){return h[U.issueId]=U})}),11);case 11:Ft(N,3);break;case 5:J=ke(N);if(!mn(J))throw J;q.push(J);k.push.apply(k,r(E));case 3:B=w.next();N.jumpTo(2);break;case 4:return N.return({finishedIssues:h,notFinishedIssueIds:k,errors:q})}})};K1.\u0275fac=function(a){return new (a||K1)(n(AG),n(PD))};K1.\u0275prov=Hc({token:K1,factory:K1.\u0275fac,providedIn:"root"});var L1=function(a,b){Z.call(this);this.routerEvents=a;this.bLocation=b;this.history=[]};X(L1,Z);L1.\u0275dir=Z.\u0275dir;L1.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()}))};L1.prototype.ngOnDestroy=function(){this.subscriptions.unsubscribe()};L1.prototype.hasPreviousPage=function(){return this.history.length>1};
var M1=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("/")};L1.\u0275fac=function(a){return new (a||L1)(n(aG),n(oN))};L1.\u0275prov=Hc({token:L1,factory:L1.\u0275fac,providedIn:"root"});var N1=function(a,b,c){this.bLocation=a;this.routeParams=b;this.domSafe=c},dIc=function(a,b,c){var d=a.routeParams.redirectUrl;if(d&&d.startsWith("http")){if(c&&Nt(d,"id=")||Nt(d,"bugId="))d+=c;GH(a.domSafe,d)}else{var e;a.bLocation.replaceUrl((e=d)!=null?e:b)}};N1.\u0275fac=function(a){return new (a||N1)(n(oN),n(iJ),n(FH))};N1.\u0275prov=Hc({token:N1,factory:N1.\u0275fac,providedIn:"root"});var eIc={provide:Z6b,useValue:function(a){return a.replace(/(action\/components\/[0-9]+)\/(move|updateSlo|updateTeam)/,"$1")},multi:!0},fIc={provide:Z6b,useValue:function(a){return a.replace(/(action\/hotlists\/[0-9]+)\/archive/,"$1")},multi:!0};var O1=function(a){this.activeSession=a};O1.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)};O1.\u0275fac=function(a){return new (a||O1)(n(Ir))};O1.\u0275prov=Hc({token:O1,factory:O1.\u0275fac,providedIn:"root"});var gIc={provide:WA,useClass:O1,multi:!0};var P1=function(a){this.http=a};X(P1,IB);g=P1.prototype;g.get=function(a){return this.request("get",a)};g.delete=function(a){return this.request("delete",a)};g.post=function(a){return this.request("post",a,a.body)};g.put=function(a){return this.request("put",a,a.body)};g.request=function(a,b,c){var d=b.options;d=d===void 0?{}:d;d={headers:d.headers||{},params:Object.assign({},d.params)};var e;c=(e=c==null?void 0:c.toJSON())!=null?e:null;return this.http.request(a,b.url,Object.assign({},d,{body:c})).pipe(y(dib(b.responseConstructor)))};
P1.\u0275fac=function(a){return new (a||P1)(n(UA))};P1.\u0275prov=Hc({token:P1,factory:P1.\u0275fac,providedIn:"root"});var Q1=function(a){this.jspbExecutor=a};X(Q1,JB);Q1.prototype.get=function(a){return(0,W.firstValueFrom)(this.jspbExecutor.get(a))};Q1.prototype.delete=function(a){return(0,W.firstValueFrom)(this.jspbExecutor.delete(a))};Q1.prototype.post=function(a){return(0,W.firstValueFrom)(this.jspbExecutor.post(a))};Q1.prototype.put=function(a){return(0,W.firstValueFrom)(this.jspbExecutor.put(a))};
Q1.\u0275fac=function(a){return new (a||Q1)(n(P1))};Q1.\u0275prov=Hc({token:Q1,factory:Q1.\u0275fac,providedIn:"root"});var R1=function(){};R1.\u0275fac=function(a){return new (a||R1)};R1.\u0275mod=dd({type:R1});R1.\u0275inj=Ic({providers:[{provide:IB,useClass:P1},{provide:JB,useClass:Q1}],imports:[BB]});var S1=function(a,b){var c=this;this.fridge=a;this.userAccess=b;this.currentComponentId="";this.providedComponentId$=new W.ReplaySubject(1);this.accessCheckIsThinking$=new W.BehaviorSubject(!0);this.component$=this.providedComponentId$.pipe(pf(function(d){return c.fridge.watchOne(d)}));this.userIsComponentReader$=this.providedComponentId$.pipe(pf(function(d){d!==c.currentComponentId&&(c.accessCheckIsThinking$.next(!0),c.currentComponentId=d);return oD(c.userAccess,"reader","components/"+d).then(function(e){return e},
function(){return!1}).finally(function(){c.accessCheckIsThinking$.next(!1)})}));this.isReady$=(0,W.combineLatest)([this.fridge.thinking$,this.accessCheckIsThinking$]).pipe(y(function(d){var e=l(d);d=e.next().value;e=e.next().value;return!d&&!e}),of(!1));this.manageComponentLink=""};S1.prototype.ngOnInit=function(){this.currentComponentId=this.componentId};S1.prototype.ngOnChanges=function(){this.providedComponentId$.next(this.componentId);this.manageComponentLink="/components/"+this.componentId};
S1.\u0275fac=function(a){return new (a||S1)(A(CC),A(mD))};
S1.\u0275cmp=p({type:S1,selectors:[["b-async-component"]],inputs:{componentId:"componentId"},features:[td],decls:6,vars:7,consts:[["notComponentReader",""],[3,"isReady"],[3,"href",4,"ngIf","ngIfElse"],[3,"href"]],template:function(a,b){a&1&&(F(0,"b-async-data-placeholder",1),T(1,"async"),C(2,eib,3,4,"a",2),T(3,"async"),C(4,fib,2,1,"ng-template",null,0,yg),G());a&2&&(a=Q(5),D("isReady",V(1,3,b.isReady$)),z(2),D("ngIf",V(3,5,b.userIsComponentReader$))("ngIfElse",a))},dependencies:[Gv,oQ,Lv],encapsulation:2});var T1=function(a,b,c){this.documentationLinks=a;this.activeSession=b;this.loginRedirector=c;this.isAnonymous=this.activeSession.isAnonymous();this.enableSignInAnonymousAccessDenied=this.activeSession.getFlag("enableSignInAnonymousAccessDenied");this.showIssueMetadataContainer=!1};
ea.Object.defineProperties(T1.prototype,{issueMetadata:{configurable:!0,enumerable:!0,set:function(a){if(a){this.issueId=a.issueId;this.issueLastModified=Fm(a.modifiedTime);a.teamId&&a.teamId!==0&&(this.issueTeamId=String(a.teamId));if(a=a.issueState)this.issueType=Lm(a.type),this.issueStatus=Mm[a.status],this.issuePriority=a.priority,this.issueSeverity=e5b[a.severity],this.issueComponentId=String(a.componentId),this.accessLimitLevel=oq(a.accessLimitLevel);this.showIssueMetadataContainer=!0}else this.showIssueMetadataContainer=
!1}}});T1.\u0275fac=function(a){return new (a||T1)(A(oI),A(Ir),A(U1))};
T1.\u0275cmp=p({type:T1,selectors:[["b-access-denied-metadata"]],inputs:{issueMetadata:"issueMetadata"},decls:9,vars:2,consts:[["issueMetadataContainer",""],["anonymousMessage",""],[1,"b-access-denied"],[1,"heading-l","margin-bottom"],[4,"ngTemplateOutlet"],[1,"carded","margin-top"],[3,"issuePriority"],["target","_blank","aria-label","Learn more about issue access limits",3,"href"],[3,"componentId"],[3,"teamId"],["mat-flat-button","","color","primary"],["mat-flat-button","","color","primary",3,"click"]],
template:function(a,b){a&1&&(F(0,"div",2)(1,"h3",3),R(2," Access is denied to this issue "),G(),C(3,hib,1,1,"ng-container")(4,jib,1,1,"ng-container"),G(),C(5,mib,40,13,"ng-template",null,0,yg)(7,oib,3,1,"ng-template",null,1,yg));a&2&&(z(3),Of(b.showIssueMetadataContainer?3:-1),z(),Of(b.isAnonymous?4:-1))},dependencies:[Kv,S1,mN,zQ,IH,Rx,Ov],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 U1=function(a){this.bLocation=a};U1.prototype.redirect=function(){var a=zc("/loginRedirect?continue="+encodeURIComponent(this.bLocation.getUrl())),b=window.location;a=Ac(a);a!==void 0&&b.replace(a)};U1.\u0275fac=function(a){return new (a||U1)(n(oN))};U1.\u0275prov=Hc({token:U1,factory:U1.\u0275fac,providedIn:"root"});var V1=function(){};V1.\u0275fac=function(a){return new (a||V1)};V1.\u0275mod=dd({type:V1});V1.\u0275inj=Ic({imports:[BB,wS]});var W1=function(){};W1.\u0275fac=function(a){return new (a||W1)};W1.\u0275mod=dd({type:W1});W1.\u0275inj=Ic({imports:[BB,V1,nN,uS,dJ]});var hIc=Symbol("kf"),iIc=RegExp("today([+-]\\d+)?"),X1=function(a){this.ruleConfigService=a};
X1.prototype.build=function(a){if(a.customField)var b=a.customField.type==="DATE"?new Y1(a,Z1(this.ruleConfigService)):a.customField.type==="ENUM"?new jIc(a,Z1(this.ruleConfigService)):a.customField.type==="REPEATED_ENUM"?new kIc(a,Z1(this.ruleConfigService)):a.customField.type==="NUMERIC"?new a2(a,Z1(this.ruleConfigService)):new b2(a,Z1(this.ruleConfigService));else b=a.label.field,b=Z1(this.ruleConfigService)[b],b=new (b&&b.ruleCtor||c2)(a,Z1(this.ruleConfigService));b[hIc](a);return b};
var Yjb=function(a,b,c){return a.build({label:{field:b,customFieldId:c&&c.customFieldId||void 0},operator:"EQ",negated:!1,type:"",customField:c})};X1.\u0275fac=function(a){return new (a||X1)(n(d2))};X1.\u0275prov=Hc({token:X1,factory:X1.\u0275fac,providedIn:"root"});
var lIc=["OR","AND","NAND"],mIc=["OR","NAND"],nIc="LT GT LE GE RANGE NRANGE DURATION NDURATION OR".split(" "),oIc=["AND","OR","NAND"],pIc=["OR","LT","GT","LE","GE"],c2=function(a,b){this.ruleConfigLookup=b;this.values=[];this.type="";this.isPendingCustomField=!1;this.label=a.label};c2.prototype[hIc]=function(a){this.initType(a);this.initValues(a)};
c2.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]};c2.prototype.initValues=function(a){this.values=(a.values||[]).map(function(b){return{value:b.simpleValues[0].value}})};
var qIc=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}};
c2.prototype.toString=function(){var a=qIc(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=rIc(this);return(a.negated?"-":"")+d+(d?c[a.operator]:"")+b};var rIc=function(a){var b=a.label.field,c=a.ruleConfigLookup[b];return c&&(c=c.queryLabel,c!=null)?c:ti(b).toLowerCase()+(a.label.customFieldId||"")};c2.prototype.valuesToStrings=function(){return this.values.map(function(a){return a.value}).filter(function(a){return a})};
c2.prototype.getWidgetType=function(){return"default"};c2.prototype.isValid=function(){return this.getLegalTypes().includes(this.type)};c2.prototype.getLegalTypes=function(){return lIc};var sIc=[],e2=function(a,b){c2.call(this,a,b);this.enumValues={}};X(e2,c2);g=e2.prototype;g.getLegalTypes=function(){return mIc};g.getWidgetType=function(){return"enum"};
g.initValues=function(a){this.enumValues={};for(var b=l(this.getOptions()),c=b.next();!c.done;c=b.next())this.enumValues[c.value.id]=!1;a=l(a.values||[]);for(b=a.next();!b.done;b=a.next())this.enumValues[pib(b.value.simpleValues[0].value)]=!0};g.valuesToStrings=function(){return Object.keys(rc(this.enumValues,function(a){return a}))};g.getOptions=function(){return sIc};var tIc=Nba().map(function(a){return{id:"p"+a,label:"P"+a}}),uIc=function(a,b){e2.call(this,a,b)};X(uIc,e2);
uIc.prototype.getOptions=function(){return tIc};var vIc=Nba().map(function(a){return{id:"s"+a,label:"S"+a}}),wIc=function(a,b){e2.call(this,a,b)};X(wIc,e2);wIc.prototype.getOptions=function(){return vIc};
var xIc=[{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"}],yIc=function(a,b){e2.call(this,a,b)};X(yIc,e2);yIc.prototype.getOptions=function(){return xIc};
var zIc=[{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"}],AIc=function(a,b){e2.call(this,a,b)};X(AIc,e2);AIc.prototype.getOptions=function(){return zIc};
var BIc=[{id:"abuse"},{id:"pii"},{id:"user_request",label:"user request"},{id:"retention"}],CIc=function(a,b){e2.call(this,a,b)};X(CIc,e2);CIc.prototype.getOptions=function(){return BIc};var DIc=[{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"}],EIc=function(a,b){e2.call(this,a,b)};X(EIc,e2);EIc.prototype.getOptions=function(){return DIc};
var jIc=function(a,b){e2.call(this,a,b);this.allowedValues=[]};X(jIc,e2);jIc.prototype[hIc]=function(a){this.allowedValues=a.customField.allowedValue.map(function(b){return{label:b,id:pib(b)}});e2.prototype[hIc].call(this,a)};jIc.prototype.valuesToStrings=function(){return Object.keys(rc(this.enumValues,function(a){return a})).map(function(a){return'"'+a+'"'})};jIc.prototype.getOptions=function(){return this.allowedValues};
var kIc=function(a,b){c2.call(this,a,b);this.allowedValues=[];var c,d;this.allowedValues=(d=(c=a.customField)==null?void 0:c.allowedValue)!=null?d:[]};X(kIc,c2);kIc.prototype.getWidgetType=function(){return"repeated-enum"};kIc.prototype.getOptions=function(){return this.allowedValues};var lr=function(a,b){c2.call(this,a,b);this.csv=""};X(lr,c2);lr.prototype.getWidgetType=function(){return"csv"};lr.prototype.initValues=function(a){this.csv=(a.values||[]).map(function(b){return b.simpleValues[0].value}).join(",")};
lr.prototype.valuesToStrings=function(){return this.csv.split(",").map(function(a){return a.trim()}).filter(function(a){return a})};var f2=function(a,b){lr.call(this,a,b)};X(f2,lr);f2.prototype.getWidgetType=function(){return"id"};f2.prototype.valuesToStrings=function(){return lr.prototype.valuesToStrings.call(this).map(function(a){return a.toLowerCase()==="none"?"none":a.toLowerCase()==="any"?"any":String(vi(a))})};var FIc=function(a,b){lr.call(this,a,b)};X(FIc,f2);FIc.prototype.getLegalTypes=function(){return mIc};
var g2=function(a,b){lr.call(this,a,b)};X(g2,lr);g2.prototype.getWidgetType=function(){return"user"};var h2=function(a,b){lr.call(this,a,b)};X(h2,g2);h2.prototype.getLegalTypes=function(){return mIc};var Y1=function(a,b){c2.call(this,a,b);this.dateTo=this.dateFrom=this.duration=""};X(Y1,c2);var Djb=function(a){return a&&typeof a==="string"?a:""};
Y1.prototype.initType=function(a){c2.prototype.initType.call(this,a);var b=a.values&&a.values[0];b&&(b.type==="RANGE"?this.type=a.negated?"NRANGE":"RANGE":Nt(b.simpleValues[0].value,"d")&&(this.type=a.negated?"NDURATION":"DURATION"))};Y1.prototype.getWidgetType=function(){return"date"};
Y1.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=GIc(b),this.type==="RANGE"||this.type==="NRANGE")this.dateTo=GIc(a.values[0].simpleValues[1].value)}};
Y1.prototype.valuesToStrings=function(){if(this.type==="DURATION"||this.type==="NDURATION"){var a=vi(this.duration);return!a||isNaN(a)?[]:[a+"d"]}if(this.type==="RANGE"||this.type==="NRANGE"){a=this.dateFrom&&HIc(this.dateFrom)||(new ui).toIsoString(!0);var b=this.dateTo&&HIc(this.dateTo)||(new ui).toIsoString(!0);return[a+".."+b]}return[this.dateFrom&&HIc(this.dateFrom)||(new ui).toIsoString(!0)]};
var IIc=function(a){var b=String(a.getMonth()+1),c=String(a.getDate());return b+"/"+c+"/"+String(a.getFullYear())},GIc=function(a){if(iIc.test(a))return a;var b=new Hm(2E3);a=zi(a);var c=a.indexOf("T")==-1?" ":"T";a=a.split(c);var d=a[0].match(uVb);if(d){var e=Number(d[2]),f=Number(d[3]),h=Number(d[4]);c=Number(d[5]);var k=Number(d[6])||1;b.setFullYear(Number(d[1]));h?(b.setDate(1),b.setMonth(0),b.add(new Dv("d",h-1))):c?(b.setMonth(0),b.setDate(1),d=b.getDay()||7,b.add(new Dv("d",(d<=4?1-d:8-d)+
(Number(k)+7*(Number(c)-1))-1))):(e&&(b.setDate(1),b.setMonth(e-1)),f&&b.setDate(f));c=!0}else c=!1;if(c&&!(c=a.length<2)){c=a[1];a=c.match(wVb);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(vVb)){if(a){a=b.getYear();c=b.getMonth();k=b.getDate();d=Number(h[1]);e=Number(h[2])||0;f=Number(h[3])||0;var t=h[4]?Number(h[4])*1E3:0;(h=a>=0&&a<100)&&(a+=400);a=Date.UTC(a,c,k,d,e,f,t);h&&(a-=126227808E5);b.setTime(a+q*6E4)}else b.setHours(Number(h[1])),
b.setMinutes(Number(h[2])||0),b.setSeconds(Number(h[3])||0),b.setMilliseconds(h[4]?Number(h[4])*1E3:0);c=!0}else c=!1}return IIc(c?b:null)},HIc=function(a){if(iIc.test(a))return a;a=a.split("/").map(Number);return(new ui(a[2],a[0]-1,a[1])).toIsoString(!0)};Y1.prototype.getLegalTypes=function(){return nIc};var i2=function(a,b){c2.call(this,a,b)};X(i2,c2);i2.prototype.getWidgetType=function(){return"bool"};
i2.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"};i2.prototype.toString=function(){return rIc(this)+":"+(this.type==="OR")};i2.prototype.getLegalTypes=function(){return mIc};var j2=function(a,b){c2.call(this,a,b)};X(j2,c2);j2.prototype.getWidgetType=function(){return"boolwithall"};
j2.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")};j2.prototype.toString=function(){var a=rIc(this)+":";switch(this.type){case "OR":return a+"true";case "NAND":return a+"false";default:return a+"all"}};
j2.prototype.getLegalTypes=function(){return oIc};var b2=function(a,b){c2.call(this,a,b)};X(b2,c2);b2.prototype.getWidgetType=function(){return"text"};b2.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}})};b2.prototype.valuesToStrings=function(){return this.values.map(function(a){return a.value.indexOf(" ")>-1?'"'+a.value+'"':a.value})};
var JIc=function(a,b){c2.call(this,a,b)};X(JIc,c2);JIc.prototype.getWidgetType=function(){return"component"};JIc.prototype.initValues=function(a){a.values&&(this.values=a.values.map(function(b){b=b.simpleValues[0].value;var c={value:b,includeSubs:!1};Nt(b,"+")&&(b=b.slice(0,b.length-1),c.value=b,c.includeSubs=!0);return c}))};JIc.prototype.valuesToStrings=function(){return this.values.map(function(a){return a.value+(a.includeSubs?"+":"")}).filter(function(a){return a})};
var KIc=function(a,b){c2.call(this,a,b)};X(KIc,c2);KIc.prototype.initValues=function(a){a.values&&(this.values=a.values.map(function(b){b=b.simpleValues[0].value;var c={value:b,includeSubs:!1};Nt(b,"+")&&(b=b.slice(0,b.length-1),c.value=b,c.includeSubs=!0);return c}))};KIc.prototype.valuesToStrings=function(){return this.values.map(function(a){return a.value+(a.includeSubs?"+":"")}).filter(function(a){return a})};var LIc=function(a,b){c2.call(this,a,b)};X(LIc,c2);LIc.prototype.getWidgetType=function(){return"tracker"};
var MIc=function(a,b){c2.call(this,a,b)};X(MIc,KIc);MIc.prototype.getWidgetType=function(){return"team"};var NIc=function(a,b){c2.call(this,a,b)};X(NIc,c2);NIc.prototype.getWidgetType=function(){return"hotlist"};var OIc=function(a,b){c2.call(this,a,b)};X(OIc,c2);OIc.prototype.getWidgetType=function(){return"savedsearch"};var a2=function(a,b){lr.call(this,a,b)};X(a2,lr);a2.prototype.getWidgetType=function(){return"number"};a2.prototype.getLegalTypes=function(){return pIc};
var PIc=function(a,b){Y1.call(this,a,b)};X(PIc,Y1);PIc.prototype.initType=function(a){Y1.prototype.initType.call(this,a);a.negated&&(this.type="ERR")};
var k2={},QIc=(k2.ATTACHMENT={ruleCtor:b2,name:"Attachment name"},k2.COMMENT={ruleCtor:b2},k2.TITLE={ruleCtor:b2},k2.ASSIGNEE={ruleCtor:h2},k2.MODIFIER={ruleCtor:g2},k2.REPORTER={ruleCtor:h2},k2.VERIFIER={ruleCtor:h2},k2.CC={ruleCtor:g2},k2.COLLABORATOR={ruleCtor:g2},k2.COMPONENT_ID={ruleCtor:JIc,name:"Component"},k2.TRACKER_ID={ruleCtor:LIc,name:"Tracker"},k2.TYPE={ruleCtor:yIc},k2.STATUS={ruleCtor:AIc},k2.PRIORITY={ruleCtor:uIc},k2.SEVERITY={ruleCtor:wIc},k2.BLOCKED_BY_ID={ruleCtor:f2},k2.BLOCKING_ID=
{ruleCtor:f2},k2.PARENT_ID={ruleCtor:f2},k2.CANONICAL_ID={ruleCtor:FIc},k2.ID={ruleCtor:FIc},k2.FOUND_IN={ruleCtor:lr},k2.TARGETED_TO={ruleCtor:lr},k2.VERIFIED_IN={ruleCtor:lr},k2.CL={ruleCtor:lr,name:"Changelists"},k2.MODIFIED={ruleCtor:Y1},k2.RESOLVED={ruleCtor:PIc},k2.CREATED={ruleCtor:Y1},k2.VERIFIED={ruleCtor:PIc},k2.DELETION_TIME={ruleCtor:Y1,name:"Deletion time"},k2.SAVED_SEARCH_ID={ruleCtor:OIc,name:"Saved search"},k2.HOTLIST_ID={ruleCtor:NIc,name:"Hotlist"},k2.STAR={ruleCtor:i2,name:"Starred"},
k2.MUTE={ruleCtor:i2,name:"Muted"},k2.VOTE={ruleCtor:i2,name:"Upvoted by me"},k2.IN_PROD={ruleCtor:i2,name:"In production"},k2.CC_COUNT={ruleCtor:a2},k2.COLLABORATOR_COUNT={ruleCtor:a2},k2.DUPLICATE_COUNT={ruleCtor:a2},k2.VOTE_COUNT={ruleCtor:a2},k2.COMMENT_COUNT={ruleCtor:a2},k2.DESCENDANT_COUNT={ruleCtor:a2},k2.OPEN_DESCENDANT_COUNT={ruleCtor:a2},k2.ONE_DAY_VIEW_COUNT={ruleCtor:a2},k2.SEVEN_DAY_VIEW_COUNT={ruleCtor:a2},k2.THIRTY_DAY_VIEW_COUNT={ruleCtor:a2},k2.LAST_MODIFIER={ruleCtor:h2,name:"Last Modified By"},
k2.COMMENTER={ruleCtor:g2},k2.LAST_COMMENTER={ruleCtor:h2},k2.ARCHIVED={ruleCtor:j2},k2.IS_DELETED={ruleCtor:i2,name:"Deleted",queryLabel:"deleted"},k2.DELETION_REASON={ruleCtor:CIc,name:"Deletion reason"},k2.ACCESS_LEVEL={ruleCtor:EIc,name:"Issue access level"},k2._TEXT_={ruleCtor:b2,queryLabel:"",name:"All fields"},k2),RIc=Object.assign({},QIc,{EFFORT_LABEL:{ruleCtor:lr},MENTION:{ruleCtor:g2},MIN_SLO_TARGET:{ruleCtor:Y1,name:"Nearest SLO",queryLabel:"nearestslo"},POSTMORTEM:{ruleCtor:lr,name:"Postmortems"},
TEAM_ID:{ruleCtor:MIc,name:"Team"}}),d2=function(a){this.activeSession=a},Z1=function(a){return a.activeSession.isExternalSession()?QIc:RIc};d2.\u0275fac=function(a){return new (a||d2)(n(Ir))};d2.\u0275prov=Hc({token:d2,factory:d2.\u0275fac,providedIn:"root"});var SIc=function(a){this.internalArray_=m(a)};X(SIc,Y);g=SIc.prototype;g.getField=function(){return fj(this,1,0)};g.clearField=function(){return oo(this,1)};g.getCustomFieldId_asLegacyNumberOrString=function(){return cu(this,2)};g.getCustomFieldId_asString=function(){return el(this,2)};g.setCustomFieldId=function(a){return xl(this,2,a)};g.hasCustomFieldId=function(){return dl(this,2)!=null};var vib=function(a){this.internalArray_=m(a)};X(vib,Y);g=vib.prototype;g.getType=function(){return fj(this,1,0)};g.setType=function(a){return sl(this,1,a)};g.hasType=function(){return al(this,1)};g.getValue=function(){return Kh(this,2)};g.setValue=function(a){return rj(this,2,a)};g.hasValue=function(){return $k(this,2)};var l2=function(a){this.internalArray_=m(a)};X(l2,Y);g=l2.prototype;g.getType=function(){return fj(this,1,0)};g.setType=function(a){return sl(this,1,a)};g.hasType=function(){return al(this,1)};g.getValuesList=function(a){return xj(this,l2,2,yj(a))};g.setValuesList=function(a){return gk(this,2,a)};g.setValues=function(a,b){Xt(this,2,l2,a,b)};l2.repeatedFields_=[2,3];var Dib=function(a){this.internalArray_=m(a)};X(Dib,Y);g=Dib.prototype;g.getType=function(){return fj(this,1,0)};g.setType=function(a){return sl(this,1,a)};g.hasType=function(){return al(this,1)};g.getValuesList=function(a){return xj(this,l2,2,yj(a))};g.setValuesList=function(a){return gk(this,2,a)};g.setValues=function(a,b){Xt(this,2,l2,a,b)};g.getLabel=function(){return $i(this,SIc,4)};g.setLabel=function(a){return oj(this,SIc,4,a)};g.hasLabel=function(){return dk(this,SIc,4)};
Dib.repeatedFields_=[2];var gr=function(a){this.internalArray_=m(a,0,gr.messageId)};X(gr,Y);gr.prototype.getType=function(){return fj(this,1,0)};gr.prototype.setType=function(a){return sl(this,1,a)};gr.prototype.hasType=function(){return al(this,1)};gr.repeatedFields_=[2];gr.messageId="b.QueryBuilderResponse";var Aib=function(a){this.internalArray_=m(a,0,Aib.messageId)};X(Aib,Y);Aib.messageId="b.SyntaxErrorResponse";var TIc=function(a){this.internalArray_=m(a,0,TIc.messageId)};X(TIc,Y);TIc.prototype.getKindCase=function(){return Ri(this,Bib)};var Bib=[1,2];TIc.messageId="b.QueryBuilderResponseOrError";var m2=function(a){this.executor=a},UIc=function(a,b){b=Gk(b);return a.executor.get({url:"action/issue_query_parse/"+b,responseConstructor:TIc}).then(Eib).then(function(c){var d;(d=c.syntaxErrorResponse)!=null?c=d:(c=c.queryBuilderResponse,c={type:c.type,expressions:c.expressions.map(qib)});return c})};m2.\u0275fac=function(a){return new (a||m2)(n(JB))};m2.\u0275prov=Hc({token:m2,factory:m2.\u0275fac,providedIn:"root"});var n2=function(a){var b=this;this.teamsService=a;this.placeholder="Choose Team";this.panelWidth="574px";this.disabled=!1;this.onTeamSelect=new XF;this.onEmptyQuery=new XF;this.searchQuery$=new W.Subject;this.teamSuggestions$=this.searchQuery$.pipe(bf(300),df(),pf(function(c){return iH(b.teamsService,c)}),y(function(c){return c.map(function(d){return new Gib(d.pathIds,d.pathNames,d.description)})}))};n2.prototype.updateSelectionOnChange=function(a){this.onTeamSelect.emit(a.option.value)};
n2.prototype.search=function(a){a||this.onEmptyQuery.emit();this.searchQuery$.next(a)};n2.prototype.displayFn=function(a){return a?a.name:""};n2.prototype.ngAfterViewInit=function(){};n2.\u0275fac=function(a){return new (a||n2)(A(gH))};
n2.\u0275cmp=p({type:n2,selectors:[["b-team-picker"]],viewQuery:function(a,b){a&1&&fg(JP,7);if(a&2){var c;jg(c=kg())&&(b.autocompleteTrigger=c.first)}},inputs:{teamSelected:"teamSelected",placeholder:"placeholder",panelWidth:"panelWidth",disabled:"disabled"},outputs:{onTeamSelect:"onTeamSelect",onEmptyQuery:"onEmptyQuery"},decls:7,vars:10,consts:[["searchInput",""],["auto","matAutocomplete"],[1,"team-id-select"],["id","team-id","matInput","","type","text","autocomplete","off","aria-label","Team selection",
3,"click","input","placeholder","ngModel","disabled","matAutocomplete"],[3,"optionSelected","panelWidth","displayWith"],["class","team-search-result",3,"value",4,"ngFor","ngForOf"],[1,"team-search-result",3,"value"],[4,"ngFor","ngForOf"],[1,"description",3,"matTooltip"],[1,"path-names",3,"click","matTooltip"],["class","path-names-separator",4,"ngIf"],[1,"path-names-separator"]],template:function(a,b){if(a&1){var c=u();F(0,"div",2)(1,"input",3,0);M("click",function(){v(c);var d=Q(2);return x(b.search(d.value))})("input",
function(){v(c);var d=Q(2);return x(b.search(d.value))});G();F(3,"mat-autocomplete",4,1);M("optionSelected",function(d){v(c);return x(b.updateSelectionOnChange(d))});C(5,Jib,6,8,"mat-option",5);T(6,"async");G()()}a&2&&(a=Q(4),z(),$f("placeholder",b.placeholder),D("ngModel",b.teamSelected)("disabled",b.disabled)("matAutocomplete",a),Bf("aria-disabled",b.disabled),z(2),D("panelWidth",b.panelWidth)("displayWith",b.displayFn),z(2),D("ngForOf",V(6,8,b.teamSuggestions$)))},dependencies:[Fv,Gv,HP,IP,Kx,
JP,LH,OH,mh,qy,yy,Lv,Sv],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 Gib=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 VIc(a.slice(0,e+1),b.slice(0,e+1))})},VIc=function(a,b){this.pathIds=a;this.pathNames=b;this.name=b.length>0?b[b.length-1]:"";this.pathNameText=b.join(" > ")};var o2=function(a){var b=this;this.trackerFridge=a;this.placeholder="Choose Tracker";this.disabled=!1;this.onTrackerSelect=new XF;this.searchQuery$=new W.Subject;this.trackerSuggestions$=this.searchQuery$.pipe(bf(300),df(),pf(function(c){return b.trackerFridge.watchMany({filter:c,pageSize:5})}),y(function(c){return c.results}));this.displayFn=function(c){return c?c.name:""}};o2.prototype.ngAfterViewInit=function(){};o2.prototype.updateSelectionOnChange=function(a){this.onTrackerSelect.emit(a.option.value)};
o2.prototype.search=function(a){this.searchQuery$.next(a)};o2.\u0275fac=function(a){return new (a||o2)(A(pH))};
o2.\u0275cmp=p({type:o2,selectors:[["b-tracker-picker"]],viewQuery:function(a,b){a&1&&fg(JP,7);if(a&2){var c;jg(c=kg())&&(b.autocompleteTrigger=c.first)}},inputs:{selectedTracker:"selectedTracker",placeholder:"placeholder",disabled:"disabled"},outputs:{onTrackerSelect:"onTrackerSelect"},decls:6,vars:9,consts:[["trackerSearchInput",""],["auto","matAutocomplete"],["id","tracker-id","type","text","autocomplete","off","aria-label","Tracker selection",3,"click","input","placeholder","ngModel","disabled",
"matAutocomplete"],[3,"optionSelected","displayWith"],["class","tracker-search-result",3,"value",4,"ngFor","ngForOf"],[1,"tracker-search-result",3,"value"],[1,"tracker-name"]],template:function(a,b){if(a&1){var c=u();F(0,"input",2,0);M("click",function(){v(c);var d=Q(1);return x(b.search(d.value))})("input",function(){v(c);var d=Q(1);return x(b.search(d.value))});G();F(2,"mat-autocomplete",3,1);M("optionSelected",function(d){v(c);return x(b.updateSelectionOnChange(d))});C(4,Kib,3,2,"mat-option",4);
T(5,"async");G()}a&2&&(a=Q(3),D("placeholder",b.placeholder)("ngModel",b.selectedTracker)("disabled",b.disabled)("matAutocomplete",a),Bf("aria-disabled",b.disabled),z(2),D("displayWith",b.displayFn),z(2),D("ngForOf",V(5,7,b.trackerSuggestions$)))},dependencies:[Fv,HP,IP,Kx,JP,mh,qy,yy,Lv],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 p2=function(a,b,c,d,e,f,h,k,q,t,w,B,E,I,J,N,P){Z.call(this);this.analytics=a;this.userApi=b;this.customFieldsApi=c;this.savedSearchApi=d;this.hotlistApi=e;this.trackerFridge=f;this.issueSearchResources=h;this.activeSession=k;this.elementRef=q;this.errorHandler=t;this.componentActions=w;this.teamsService=B;this.searchRuleConfigService=E;this.searchRuleFactory=I;this.cdr=J;this.trackerHelpers=N;this.currentUserBookmarksFridge=P;this.isTrackerSearchEnabled=!1;this.availableLabels=[];this.expressions=
[];this.components={};this.trackers={};this.teams={};this.hotlists={};this.savedSearches={};this.customFields={};this.userHotlists=[];this.userSavedSearches=[];this.trackerUnderEdit=this.teamUnderEdit=this.componentUnderEdit=this.chipUnderEdit=null;this.trackByIndex=function(U){return U};this.sessionIsInternal=this.activeSession.isInternalSession();this.typeLabels=WIc;this.globalTypeLabels=XIc;this.state="INIT"};X(p2,Z);p2.\u0275dir=Z.\u0275dir;
var YIc=function(a){var b=[];qc(Z1(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,ZGa(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};p2.prototype.schedule=function(a){this.subscriptions.add(W.asyncScheduler.schedule(a))};p2.prototype.ngOnInit=function(){this.cdr.detectChanges()};
p2.prototype.ngOnChanges=function(a){a.isTrackerSearchEnabled&&(this.availableLabels=YIc(this))};
var aJc=function(a,b){a.reset();b?ZIc(a,b):(a.expressions=$Ic.map(function(c){return Yjb(a.searchRuleFactory,c)}),a.state="SUCCESS");(a.activeSession.getFlag("enableLeanFeF")?(0,W.firstValueFrom)(kF(a.currentUserBookmarksFridge)):a.userApi.getUserSavedSearches()).then(function(c){a.userSavedSearches=c;c=l(a.userSavedSearches);for(var d=c.next();!d.done;d=c.next())d=d.value,a.savedSearches[d.searchId]=d;a.cdr.detectChanges()});(a.activeSession.getFlag("enableLeanFeF")?(0,W.firstValueFrom)(jF(a.currentUserBookmarksFridge)):
a.userApi.getUserHotlists()).then(function(c){a.userHotlists=c;c=l(a.userHotlists);for(var d=c.next();!d.done;d=c.next())d=d.value,a.hotlists[d.hotlistId]=d;a.cdr.detectChanges()});a.cdr.detectChanges()},ZIc=function(a,b){UIc(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 bJc(a,d)});return Promise.all(c).then(function(d){if(d.every(function(f){return!!f})){a.state=
"SUCCESS";d=l(d);for(var e=d.next();!e.done;e=d.next())a.expressions.push(e.value)}else a.state="NOT_REPRESENTABLE",a.analytics.trackEvent("adv-search","adv-search-not-rep-error");a.cdr.detectChanges()})}).catch(function(c){a.state="SERVER_ERROR";a.errorHandler.errorHandler(null,c);a.cdr.detectChanges()})},bJc=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?cJc(a,b.label.customFieldId).then(function(c){b.customField=c;return dJc(a,b)}):Promise.resolve(dJc(a,b))},cJc=function(a,b){return a.customFields[b]?Promise.resolve(a.customFields[b]):a.customFieldsApi.get(b).then(function(c){return a.customFields[b]=c})},dJc=function(a,b){b=b.type==="ERR"?null:a.searchRuleFactory.build(b);if(!b||b&&!b.isValid())return null;eJc(a,b);return b},eJc=function(a,b){switch(b.label.field){case "COMPONENT_ID":b=
l(b.values);for(var c=b.next();!c.done;c=b.next())c=bk(c.value.value),a.components[c]||a.fetchComponent(c);break;case "TRACKER_ID":if(a.isTrackerSearchEnabled)for(b=l(b.values),c=b.next();!c.done;c=b.next())c=c.value.value,a.trackers[c]||fJc(a,c);break;case "TEAM_ID":if(a.sessionIsInternal)for(b=l(b.values),c=b.next();!c.done;c=b.next())c=c.value.value,a.teams[c]||gJc(a,c);break;case "SAVED_SEARCH_ID":b=l(b.values);for(c=b.next();!c.done;c=b.next())c=c.value,a.savedSearches[c.value]||a.savedSearchApi.get(c.value).then(function(d){a.savedSearches[d.searchId]=
d});break;case "HOTLIST_ID":for(b=l(b.values),c=b.next();!c.done;c=b.next())c=c.value,a.hotlists[c.value]||a.hotlistApi.get(c.value).then(function(d){a.hotlists[d.hotlistId]=d})}};p2.prototype.fetchComponent=function(a){var b=this;this.componentActions.get(a).then(function(c){var d;kp(b.activeSession)&&c.trackerId!==((d=b.activeSession.getTracker())==null?void 0:d.trackerId)||(b.components[a]=c)})};
var fJc=function(a,b){a.trackerFridge.watch(b).pipe(qf(a.destroyed$)).subscribe(function(c){c&&(a.trackers[b]=c)})},gJc=function(a,b){iH(a.teamsService,b).pipe($e(function(){return(0,W.of)([])}),qf(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:""}})},hJc=function(a){var b=a.expressionType==="AND"?" ":" | ";return xRb(a.expressions.map(function(c){return c.label?
c.toString():""}),i_b).join(b)};p2.prototype.getState=function(){return this.state};p2.prototype.reset=function(){this.expressionType="AND";this.expressions=[];this.state="INIT"};
var akb=function(a,b){var c=a.expressions[b],d=c.label;d.field==="CUSTOM_FIELD"?c.isPendingCustomField=!0:(a.expressions[b]=Yjb(a.searchRuleFactory,d.field),Zjb(a,a.expressions[b]));a.cdr.detectChanges()},Zjb=function(a,b){var c=b.getWidgetType();c==="component"||c==="savedsearch"||c==="hotlist"||c==="text"||c==="team"||c==="tracker"||c==="repeatedenum"?jr(a,b):c==="date"&&(b.dateFrom||(b.dateFrom=IIc(new ui)),b.dateTo||(b.dateTo=IIc(new ui)))};
p2.prototype.removeExpression=function(a){Va(this.expressions,a);this.cdr.detectChanges()};var jr=function(a,b){var c={value:""};b.values.push(c);b.label.field==="COMPONENT_ID"?gjb(a,c):b.label.field==="TRACKER_ID"?njb(a,c):b.label.field==="TEAM_ID"?ujb(a,c):b.label.field==="CUSTOM_FIELD"?Qib(a,c):kr(a,c);a.cdr.detectChanges()},ir=function(a,b,c){Va(b.values,c);b.values.length||a.removeExpression(b);a.cdr.detectChanges()};
p2.prototype.getDateValue=function(a){var b,c=a.match(iIc);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 kr=function(a,b){a.chipUnderEdit=b;a.cdr.detectChanges()},gjb=function(a,b){kr(a,b);a.componentUnderEdit=b.value?qi(a.components[b.value]):null;a.schedule(function(){a.elementRef.nativeElement.querySelector(".bv2-search-component-picker input").focus()})},Qib=function(a,b){kr(a,b);a.schedule(function(){a.elementRef.nativeElement.querySelector(".bv2-adv-search-custom-repeated-enum-chip input").focus()})},njb=function(a,b){kr(a,b);a.trackerUnderEdit=b.value?qi(a.trackers[b.value]):null;a.schedule(function(){a.elementRef.nativeElement.querySelector(".bv2-search-tracker-picker input").focus()})},
ujb=function(a,b){kr(a,b);a.teamUnderEdit=b.value?qi(a.teams[b.value]):null;a.schedule(function(){a.elementRef.nativeElement.querySelector(".bv2-search-team-picker input").focus()})},hr=function(a){a.chipUnderEdit=null;a.cdr.detectChanges()},wjb=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;hr(a);a.schedule(function(){a.elementRef.nativeElement.querySelector(".bv2-search-team-picker input").focus()})};
p2.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]};p2.prototype.getCustomFieldName=function(a){return(a=a.label.customFieldId)?this.customFields[a].name||String(a):""};p2.prototype.getComponentPath=function(a){if(!a)return"";var b=mr(this.trackerHelpers,a.componentPathInfo);return b&&b.componentPathName?b.componentPathName.join(" > "):a.name};
var XIc={AND:"Match all (AND)",OR:"Match any (OR)"},WIc={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"}},$Ic=["COMPONENT_ID","ASSIGNEE","STATUS","_TEXT_"];p2.\u0275fac=function(a){return new (a||p2)(A(bG),A(aF),A(pF),A(fF),A(RE),A(pH),A(m2),A(Ir),A(Rd),A(uE),A(UU),A(gH),A(d2),A(X1),A(YF,2),A(kQ),A(hF))};
p2.\u0275cmp=p({type:p2,selectors:[["b-advanced-search"]],inputs:{isTrackerSearchEnabled:"isTrackerSearchEnabled"},features:[qg([YF]),zf,td],decls:1,vars:1,consts:[["newExpressionMenu","matMenu"],["class","bv2-adv-search",4,"ngIf"],[1,"bv2-adv-search"],[1,"bv2-adv-search-title-container"],[1,"bv2-adv-search-title"],["appearance","outline","subscriptSizing","dynamic",4,"ngIf"],["class","bv2-adv-search-rule",4,"ngFor","ngForOf","ngForTrackBy"],[1,"bv2-adv-search-rule","bv2-adv-search-rule-new"],["mat-stroked-button",
"","type","button",1,"bv2-adv-search-rule-type","bv2-adv-search-rule-jfk-select",3,"matMenuTriggerFor"],[1,"mat-select-panel"],["mat-menu-item","","type","button",3,"click",4,"ngFor","ngForOf"],["appearance","outline","subscriptSizing","dynamic"],["color","primary",1,"bv2-adv-search-join-type",3,"ngModelChange","ngModel"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[1,"bv2-adv-search-rule"],[1,"bv2-adv-search-rule-title"],[1,"bv2-adv-search-rule-type","bv2-adv-search-rule-jfk-select",3,"ngModelChange",
"selectionChange","ngModel"],["class","bv2-adv-search-rule-content",4,"ngIf"],["class","bv2-adv-search-custom-field-label",4,"ngIf"],["class","bv2-adv-search-custom-field-selection",4,"ngIf"],["aria-label","Delete search rule",1,"bv2-remove-icon","keep-focus-ring","bv2-adv-search-rule-delete-btn",3,"click"],[1,"bv2-adv-search-rule-op","bv2-adv-search-rule-jfk-select",3,"ngModelChange","ngModel"],[1,"bv2-adv-search-rule-content"],["class","bv2-adv-search-chip-container",4,"ngIf"],["class","bv2-adv-search-enum-rule",
4,"ngIf"],[4,"ngIf"],[1,"bv2-adv-search-chip-container"],[4,"ngFor","ngForOf"],["mat-stroked-button","","class","bv2-adv-search-chip-add-btn",3,"click",4,"ngIf"],["class","bv2-adv-search-chip bv2-adv-search-custom-repeated-enum-chip",4,"ngIf"],[1,"bv2-adv-search-chip","bv2-adv-search-custom-repeated-enum-chip"],["class","bv2-adv-search-chip-content bv2-adv-search-chip-content-btn",3,"title","click",4,"ngIf"],["class","bv2-adv-search-chip-content",4,"ngIf"],["aria-label","Remove the value",1,"bv2-adv-search-chip-delete-btn",
"bv2-remove-icon",3,"click"],[1,"bv2-adv-search-chip-content","bv2-adv-search-chip-content-btn",3,"click","title"],[1,"bv2-adv-search-chip-content-text"],[1,"bv2-adv-search-chip-content"],[1,"bv2-search-custom-repeated-enum-picker",3,"onValueChange","showPlaceholder","customFieldTitle","currentInputValue","allowedValues"],["mat-stroked-button","",1,"bv2-adv-search-chip-add-btn",3,"click"],[1,"bv2-adv-search-enum-rule"],["class","bv2-adv-search-enum-item",4,"ngFor","ngForOf"],[1,"bv2-adv-search-enum-item"],
[3,"change","checked"],["type","text","aria-label","Add one or more user names, separated by comma","placeholder","One or more user names, comma-separated",3,"ngModelChange","ngModel","bContactAutocomplete"],["type","text","aria-label","Add one or more values, separated by comma","placeholder","One or more values, comma-separated",3,"ngModelChange","ngModel"],["type","text","placeholder","One or more IDs, comma-separated - e.g., 1,2,3",3,"ngModelChange","ngModel"],["type","text","aria-label","Add the condition",
3,"ngModelChange","ngModel"],["class","bv2-adv-search-chip bv2-adv-search-chip-text",4,"ngFor","ngForOf"],[1,"bv2-adv-search-chip","bv2-adv-search-chip-text"],["aria-label","Remove the condition",1,"bv2-adv-search-chip-delete-btn","bv2-remove-icon",3,"click"],["class","bv2-adv-search-chip bv2-adv-search-component-chip",4,"ngIf"],[1,"bv2-adv-search-chip","bv2-adv-search-component-chip"],["role","switch","aria-label","Include subcomponents",1,"unstyled-button",3,"click","title"],[3,"svgIcon"],[1,"bv2-search-component-picker",
3,"selectedComponentChange","selectedComponent","placeholder","isRequired"],["class","bv2-adv-search-chip bv2-adv-search-tracker-chip",4,"ngIf"],[1,"bv2-adv-search-chip","bv2-adv-search-tracker-chip"],[1,"bv2-search-tracker-picker",3,"onTrackerSelect","selectedTracker"],["class","bv2-adv-search-chip bv2-adv-search-team-chip",4,"ngIf"],[1,"bv2-adv-search-chip","bv2-adv-search-team-chip"],["role","switch","aria-label","Include subteams",1,"unstyled-button",3,"click","title"],[1,"bv2-search-team-picker",
3,"onTeamSelect","teamSelected"],[3,"boundValueChange","boundValue","isRequired"],["type","text","maxlength","3",1,"bv2-duration-field",3,"ngModelChange","ngModel"],["class","bv2-adv-search-chip bv2-adv-search-bookmark-item-chip",4,"ngIf"],[1,"bv2-adv-search-chip","bv2-adv-search-bookmark-item-chip"],["appearance","outline","class","bv2-adv-search-bookmark-item-form-field","subscriptSizing","dynamic",4,"ngIf"],["appearance","outline","subscriptSizing","dynamic",1,"bv2-adv-search-bookmark-item-form-field"],
["placeholder","Select hotlist",1,"bv2-adv-search-chip-content","bv2-adv-search-chip-content-selectable",3,"ngModelChange","selectionChange","ngModel"],["placeholder","Select search",1,"bv2-adv-search-chip-content","bv2-adv-search-chip-content-selectable",3,"ngModelChange","selectionChange","ngModel"],[1,"bv2-adv-search-custom-field-label"],[1,"bv2-adv-search-custom-field-selection"],[3,"fieldSelected"],["mat-menu-item","","type","button",3,"click"]],template:function(a,b){a&1&&C(0,dkb,12,6,"div",
1);a&2&&D("ngIf",b.getState()==="SUCCESS")},dependencies:[Fv,Gv,zB,rP,jX,mh,qy,Jy,yy,BY,IH,Rx,kM,Wy,QL,TL,RL,UL,mM,nM,Kx,QH,RH,n2,o2,bV,VW,Qv,zJ],styles:['[_nghost-%COMP%]     .mat-mdc-form-field-infix{width:unset;min-width:105px;border:0}[_nghost-%COMP%]     .mat-mdc-select-value-text{max-width:unset;color:#5f6368;color:var(--muted);font-family:"Google Sans",Roboto,Arial,sans-serif;font-size:.875rem;font-weight:500;letter-spacing:0.0107142857em;font-variant-ligatures:none}[_nghost-%COMP%]     .bv2-custom-field-picker{width:unset}[_nghost-%COMP%]     .bv2-adv-search-title-container .mat-mdc-form-field-infix{min-width:120px}.mat-mdc-form-field[_ngcontent-%COMP%]{--mat-form-field-container-height:36px;--mat-form-field-filled-label-display:none;--mat-form-field-container-vertical-padding:6px;--mat-form-field-filled-with-label-container-padding-top:6px;--mat-form-field-filled-with-label-container-padding-bottom:6px;margin-right:5px;text-align:center;display:inline-block}.bv2-adv-search-title-container[_ngcontent-%COMP%]{display:flex;align-items:center}.bv2-adv-search-title[_ngcontent-%COMP%]{font-weight:bold;padding-left:8px;margin-right:5px;display:inline-block;min-width:254px}.bv2-adv-search-bookmark-item-chip[_ngcontent-%COMP%]{align-items:baseline}.bv2-adv-search-bookmark-item-form-field[_ngcontent-%COMP%]{text-align:left;width:100%}div.bv2-adv-search-enum-item[_ngcontent-%COMP%]{max-width:170px;min-width:170px;padding:0}']});var q2=function(){};q2.\u0275fac=function(a){return new (a||q2)};q2.\u0275mod=dd({type:q2});q2.\u0275inj=Ic({imports:[BB,LP,jM,aM,My]});var r2=function(){};r2.\u0275fac=function(a){return new (a||r2)};r2.\u0275mod=dd({type:r2});r2.\u0275inj=Ic({imports:[BB,LP,jM,aM,My]});var s2=function(){};s2.\u0275fac=function(a){return new (a||s2)};s2.\u0275mod=dd({type:s2});s2.\u0275inj=Ic({imports:[BB,sP,kX,My,HY,dJ,lM,TV,ZL,qM,jM,GJ,q2,r2,fV,WW]});var iJc=function(){};iJc.\u0275fac=function(a){return new (a||iJc)};
iJc.\u0275cmp=p({type:iJc,selectors:[["b-feature-stage-label"]],inputs:{featureStage:"featureStage"},decls:3,vars:3,consts:[[3,"ngSwitch"],["class","badged teamfood",4,"ngSwitchCase"],["class","badged early-access",4,"ngSwitchCase"],[1,"badged","teamfood"],[1,"badged","early-access"]],template:function(a,b){a&1&&(K(0,0),C(1,ekb,1,0,"div",1)(2,fkb,1,0,"div",2),L());a&2&&(D("ngSwitch",b.featureStage),z(),D("ngSwitchCase","TEAM_FOOD"),z(),D("ngSwitchCase","EARLY_ACCESS"))},dependencies:[Hv,Iv],styles:[".badged[_ngcontent-%COMP%]::after{margin-left:0}"]});var t2=function(){};t2.\u0275fac=function(a){return new (a||t2)};t2.\u0275mod=dd({type:t2});t2.\u0275inj=Ic({imports:[BB]});var u2=function(){};u2.\u0275fac=function(a){return new (a||u2)};u2.\u0275mod=dd({type:u2});u2.\u0275inj=Ic({imports:[BB,t2]});var v2=function(a){this.domSafe=a;this.buttonLabel="";this.alertMode=this.menuMode=!1},gkb=function(a){ko(a.domSafe,"https://g3doc.corp.google.com/company/teams/buganizer/release-notes/b3-releasenotes.md")};v2.\u0275fac=function(a){return new (a||v2)(A(FH))};
v2.\u0275cmp=p({type:v2,selectors:[["b-whats-new-button"]],inputs:{buttonLabel:"buttonLabel",menuMode:"menuMode",alertMode:"alertMode"},decls:2,vars:2,consts:[["mat-icon-button","","class","gmat-button","aria-label","Open release notes in a new tab",3,"matTooltip","click",4,"ngIf"],["mat-menu-item","","aria-label","Open release notes in a new tab",3,"click",4,"ngIf"],["mat-icon-button","","aria-label","Open release notes in a new tab",1,"gmat-button",3,"click","matTooltip"],[3,"svgIcon"],["mat-menu-item",
"","aria-label","Open release notes in a new tab",3,"click"]],template:function(a,b){a&1&&C(0,hkb,3,3,"button",0)(1,ikb,2,1,"button",1);a&2&&(D("ngIf",!b.menuMode),z(),D("ngIf",b.menuMode))},dependencies:[Gv,zB,oE,RL,LH,OH],styles:["[_nghost-%COMP%] { display: flex; }"]});var w2=function(a,b,c){Z.call(this);this.session=a;this.appsEvents=b;this.prefsManager=c;this.ThemePreferencesDensity=G3b;this.density="COMFORTABLE";this.enableWhatsNewDialog=a.getFlag("enableWhatsNewDialog");this.enableBeap=a.getFlag("enableBeap")};X(w2,Z);w2.\u0275dir=Z.\u0275dir;g=w2.prototype;g.ngOnInit=function(){var a=this;this.prefsManager.preferences$.pipe(qf(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})};w2.\u0275fac=function(a){return new (a||w2)(A(Ir),A(yE),A(rH))};
w2.\u0275cmp=p({type:w2,selectors:[["b-app-settings-menu"]],features:[zf],decls:28,vars:13,consts:[["settingsMenu","matMenu"],["mat-icon-button","","matTooltip","Settings","aria-label","Settings",3,"disabled","matMenuTriggerFor"],["svgIcon","settings-outline",1,"icon-m"],[1,"b-menu-header"],["mat-menu-item","","role","menuitemcheckbox","aria-label","set display density to comfortable",3,"click"],[1,"b-menu-item-check-mark"],["svgIcon","done",1,"icon-s"],["mat-menu-item","","role","menuitemcheckbox",
"aria-label","set display density to cozy",3,"click"],["mat-menu-item","","role","menuitemcheckbox","aria-label","set display density to compact",3,"click"],["mat-menu-item","",3,"click"],["mat-menu-item","",3,"click",4,"internalOnly"],["mat-menu-item","","href","/settings/early-access",4,"ngIf"],[4,"ngIf"],["mat-menu-item","","href","/settings/early-access"],["featureStage","TEAM_FOOD","matTooltip","Teamfood"],["buttonLabel","Release Notes",3,"menuMode"]],template:function(a,b){if(a&1){var c=u();
F(0,"button",1);H(1,"mat-icon",2);G();F(2,"mat-menu",null,0)(4,"div",3);R(5,"Display Density");G();F(6,"button",4);M("click",function(){v(c);return x(b.setDensity(b.ThemePreferencesDensity.COMFORTABLE))});F(7,"span",5);H(8,"mat-icon",6);G();R(9," Comfortable ");G();F(10,"button",7);M("click",function(){v(c);return x(b.setDensity(b.ThemePreferencesDensity.COZY))});F(11,"span",5);H(12,"mat-icon",6);G();R(13," Cozy ");G();F(14,"button",8);M("click",function(){v(c);return x(b.setDensity(b.ThemePreferencesDensity.COMPACT))});
F(15,"span",5);H(16,"mat-icon",6);G();R(17," Compact ");G();H(18,"mat-divider");F(19,"button",9);M("click",function(d){v(c);return x(b.browseComponents(d))});R(20,"Browse components");G();F(21,"button",9);M("click",function(d){v(c);return x(b.manageHotlists(d))});R(22,"Manage hotlists");G();C(23,jkb,2,0,"button",10);F(24,"button",9);M("click",function(d){v(c);b.appsEvents.topBarEvents.openSettings.next({newTab:d.ctrlKey||d.metaKey});return x()});R(25,"Settings");G();C(26,kkb,3,0,"a",11)(27,lkb,3,
1,"ng-container",12);G()}a&2&&(a=Q(3),D("disabled",b.session.isAnonymous())("matMenuTriggerFor",a),z(6),Kf("b-menu-item-checked",b.density===b.ThemePreferencesDensity.COMFORTABLE),Bf("aria-checked",b.density===b.ThemePreferencesDensity.COMFORTABLE),z(4),Kf("b-menu-item-checked",b.density===b.ThemePreferencesDensity.COZY),Bf("aria-checked",b.density===b.ThemePreferencesDensity.COZY),z(4),Kf("b-menu-item-checked",b.density===b.ThemePreferencesDensity.COMPACT),Bf("aria-checked",b.density===b.ThemePreferencesDensity.COMPACT),
z(12),D("ngIf",b.enableBeap),z(),D("ngIf",b.enableWhatsNewDialog))},dependencies:[Gv,zB,QL,TL,RL,UL,IH,Tx,MP,LH,OH,v2,vV,iJc],encapsulation:2,changeDetection:0});var x2=function(a){this.theme=a;this.isDark=!1;this.iconName="dark-mode-filled"};x2.prototype.ngOnInit=function(){this.theme.loadLocalDarkmode();jJc(this)};var jJc=function(a){a.isDark=a.theme.clientDarkmodeSubject.getValue();a.iconName=a.isDark?"brightness-high":"dark-mode-filled"};x2.\u0275fac=function(a){return new (a||x2)(A(jV))};
x2.\u0275cmp=p({type:x2,selectors:[["theme-change-btn"]],decls:2,vars:1,consts:[["mat-icon-button","","matTooltip","Change theme","aria-label","Change the application's visual theme",3,"click"],[3,"svgIcon"]],template:function(a,b){a&1&&(F(0,"button",0),M("click",function(){var c=b.theme;c.setLocalDarkmode(!c.clientDarkmodeSubject.getValue());c.clientStreamzService&&fI(c.clientStreamzService,"toggleDarkmode",!c.clientDarkmodeSubject.getValue());Nsc(c,!c.clientDarkmodeSubject.getValue());jJc(b)}),
H(1,"mat-icon",1),G());a&2&&(z(),D("svgIcon",b.iconName))},dependencies:[zB,oE,LH,OH],encapsulation:2});var y2=function(a,b,c,d){this.session=a;this.userFeedback=b;this.domSafe=c;this.docLinks=d;this.enableWhatsNewDialog=a.getFlag("enableWhatsNewDialog");this.majorReleaseNotesUpdated=a.getFlag("majorReleaseNotesUpdated")};y2.prototype.openFeedbackDialog=function(){this.userFeedback.startFeedback()};y2.\u0275fac=function(a){return new (a||y2)(A(Ir),A(lV),A(FH),A(oI))};
y2.\u0275cmp=p({type:y2,selectors:[["b-app-actions"]],decls:6,vars:1,consts:[["id","whatsNewButton",3,"alertMode",4,"ngIf"],["mat-icon-button","","class","feedback-button","matTooltip","Send feedback","aria-label","send feedback",3,"click",4,"internalOnly"],["mat-icon-button","","matTooltip","Help","aria-label","help",3,"click"],["svgIcon","help-outline"],["id","whatsNewButton",3,"alertMode"],["mat-icon-button","","matTooltip","Send feedback","aria-label","send feedback",1,"feedback-button",3,"click"],
["svgIcon","feedback-outline"]],template:function(a,b){a&1&&(H(0,"theme-change-btn"),C(1,mkb,1,1,"b-whats-new-button",0)(2,nkb,2,0,"button",1),F(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)}),H(4,"mat-icon",3),G(),H(5,"b-app-settings-menu"));a&2&&(z(),D("ngIf",b.enableWhatsNewDialog))},dependencies:[Gv,zB,IH,Tx,LH,OH,v2,vV,x2,
w2],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 pkb=function(a){return[a]},rkb=function(){return[]},z2=function(a){this.activeSession=a;this.clickMenu=new XF;this.showMenu=!1;this.clickLogo=new XF;this.chips=[]};z2.prototype.ngOnInit=function(){this.showMenu=!this.activeSession.isAnonymous()&&this.clickMenu.observed};z2.\u0275fac=function(a){return new (a||z2)(A(Ir))};
z2.\u0275cmp=p({type:z2,selectors:[["app-logo"]],inputs:{imgSrc:"imgSrc",imgSrcDark:"imgSrcDark",href:"href",name:"name",chips:"chips"},outputs:{clickMenu:"clickMenu",clickLogo:"clickLogo"},ngContentSelectors:["*"],decls:8,vars:6,consts:[["mat-icon-button","","class","menu","aria-label","Expand/Collapse Navigation",3,"click",4,"ngIf"],[3,"click"],["alt","",1,"logo","light",3,"src"],["alt","",1,"logo","dark",3,"src"],["class","b-chip",3,"ngClass",4,"ngFor","ngForOf"],["mat-icon-button","","aria-label",
"Expand/Collapse Navigation",1,"menu",3,"click"],["svgIcon","menu-18px"],[1,"b-chip",3,"ngClass"]],template:function(a,b){a&1&&(Xf(),C(0,okb,2,0,"button",0),F(1,"a",1),M("click",function(){return b.clickLogo.emit()}),H(2,"img",2)(3,"img",3),F(4,"h1"),R(5),G()(),Yf(6),C(7,skb,2,5,"output",4));a&2&&(D("ngIf",b.showMenu),z(),Bf("href",b.href?b.href:void 0,Qe),z(),D("src",b.imgSrc,Qe),z(),D("src",b.imgSrcDark||b.imgSrc,Qe),z(2),lg(b.name),z(2),D("ngForOf",b.chips))},dependencies:[Ev,Fv,Gv,zB,oE],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 A2=function(a,b){this.events=a;this.imageUrls=b;this.environmentType="QA";this.frontendAccessMode="INTERNAL";this.href="/";this.chips=[];this.name="Buganizer"};A2.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"})};
A2.prototype.ngOnChanges=function(a){if(a.tracker||a.frontendAccessMode)this.name=this.getAppName()};A2.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:Dc(this.frontendAccessMode,"unknown frontend access mode.")}};
ea.Object.defineProperties(A2.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"}}});A2.\u0275fac=function(a){return new (a||A2)(A(yE),A(VP))};
A2.\u0275cmp=p({type:A2,selectors:[["b-app-logo"]],inputs:{environmentType:"environmentType",frontendAccessMode:"frontendAccessMode",tracker:"tracker",href:"href"},features:[td],decls:1,vars:5,consts:[[3,"clickMenu","name","href","chips","imgSrc","imgSrcDark"]],template:function(a,b){a&1&&(F(0,"app-logo",0),M("clickMenu",function(){return b.events.onClickAppMenuIcon.next()}),G());a&2&&D("name",b.name)("href",b.href)("chips",b.chips)("imgSrc",b.imgSrc)("imgSrcDark",b.imgSrcDark)},dependencies:[z2],
encapsulation:2,changeDetection:0});var B2=function(){this.isActive=!1;this.optionClicked=new XF};B2.prototype.ngOnInit=function(){};B2.prototype.onClick=function(){this.optionClicked.emit(this.index)};B2.\u0275fac=function(a){return new (a||B2)};
B2.\u0275cmp=p({type:B2,selectors:[["b-app-search-auto-complete-option"]],hostVars:2,hostBindings:function(a,b){a&1&&M("click",function(){return b.onClick()});a&2&&Kf("active",b.isActive)},inputs:{isActive:"isActive",index:"index"},outputs:{optionClicked:"optionClicked"},ngContentSelectors:["*"],decls:2,vars:0,consts:[[1,"content","gmat-subtitle-2"]],template:function(a){a&1&&(Xf(),F(0,"div",0),Yf(1),G())},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 C2=function(a,b,c){this.ref=a;this.hostElement=b;this.trackerHelpers=c;this.items=[];this.header=null;this.itemSelected=new XF;this.activeItemChanged=new XF;this.SPECIAL_ITEM_TYPES="issue hotlist savedsearch atom component customField team tracker".split(" ")};C2.prototype.ngOnChanges=function(a){a.items&&(this.items.length>0?(this.activeItemIndex=0,this.activeItemChanged.emit(this.items[0])):this.clearActiveItem(),this.ref.markForCheck())};C2.prototype.ngAfterViewInit=function(){};
var Tkb=function(a){var b=O(3);dlb(a);b.itemSelected.emit(a)};C2.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(),kJc(this))};
C2.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(),kJc(this))};var lJc=function(a){a.activeItemIndex!=null&&a.itemSelected.emit(a.items[a.activeItemIndex])};C2.prototype.clearActiveItem=function(){this.activeItemIndex=void 0;this.activeItemChanged.emit(void 0)};
var mJc=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}},kJc=function(a){var b=a.itemElements.find(function(c,d){return d===a.activeItemIndex});b&&wMb(b.nativeElement,a.hostElement.nativeElement)},dlb=function(a){Gn("search","autocomplete-select",a.completionCfg.type||"unknown_type",isNaN(Number(a.id))?1:Number(a.id))};C2.\u0275fac=function(a){return new (a||C2)(A(YF,2),A(Rd),A(kQ))};
C2.\u0275cmp=p({type:C2,selectors:[["b-app-search-auto-complete-list"]],viewQuery:function(a,b){a&1&&fg(B2,5,Rd);if(a&2){var c;jg(c=kg())&&(b.itemElements=c)}},inputs:{items:"items",header:"header"},outputs:{itemSelected:"itemSelected",activeItemChanged:"activeItemChanged"},features:[qg([YF]),td],decls:3,vars:2,consts:[["noHotlistSelected",""],["noSavedSearchSelected",""],["noComponentSelected",""],["noTrackerSelected",""],["noTeamSelected",""],["noSelectedCustomField",""],["class","header gmat-caption",
4,"ngIf"],"role;listbox;aria-label;Search autocomplete list;id;b-search-box-autocomplete".split(";"),["role","option",3,"index","isActive","optionClicked",4,"ngFor","ngForOf"],[1,"header","gmat-caption"],[4,"ngIf"],[4,"ngIf","ngIfElse"],[1,"margin-s-right"],[3,"accessLevel"],[3,"trackerId"],["role","option",3,"optionClicked","index","isActive"],[1,"monospaced","item-description"],[1,"item-description"],[4,"ngFor","ngForOf"],["role","button",3,"click","title"],[1,"item-description","item-de-emphasized"]],
template:function(a,b){a&1&&(C(0,Nkb,7,6,"div",6),F(1,"div",7),C(2,elb,10,13,"b-app-search-auto-complete-option",8),G());a&2&&(D("ngIf",b.header&&b.header.type),z(2),D("ngForOf",b.items))},dependencies:[Fv,Gv,yN,nQ,B2,Mv],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 nJc=["box"],oJc=["initialFocus"],pJc=["finalFocus"],D2=function(a,b,c){this.documentationLinks=a;this.appSearchState=b;this.activeSession=c;this.placeholder="";this.isSearchDisabled=!1;this.autoCompleteItems=[];this.autoCompleteHeader=null;this.onAdvancedSearchOpen=new XF;this.onAdvancedSearchClose=new XF;this.onAdvancedSearchSubmit=new XF;this.onSaveSearch=new XF;this.dropdownStatus="closed";this.searchName="";this.searchHelpLink=this.documentationLinks.baseDocumentationUrl+"/guides/search-editor";
this.destroyed$=new W.Subject;this.currentQuery$=this.appSearchState.queryState$.pipe(y(function(d){return d.query}));this.autoCompleteItemSelected$=new W.Subject;this.isAnonymous=this.activeSession.isAnonymous()};
D2.prototype.ngOnInit=function(){var a=this;this.autoCompleteItemSelected$.pipe(tf(this.currentQuery$),qf(this.destroyed$)).subscribe(function(b){var c=l(b);b=c.next().value;c=c.next().value;b=b.completionCfg;a.appSearchState.queryState$.next({query:c.slice(0,b.startIdx)+b.completionValue+c.slice(b.endIdx),cursorPosition:b.cursorIdx!=null?b.cursorIdx:b.startIdx==null?b.completionValue.length:b.startIdx+b.completionValue.length,setViaInteraction:!1});a.inputBox.nativeElement.focus()})};
D2.prototype.ngAfterViewInit=function(){var a=this;this.appSearchState.queryState$.pipe(te(function(b){return!b.setViaInteraction}),qf(this.destroyed$)).subscribe(function(b){var c=b.query;b=b.cursorPosition;a.inputBox.nativeElement.value=c;b!=null&&(c=a.inputBox.nativeElement,Gkc(c)&&(c.selectionStart=b,c.selectionEnd=b))})};D2.prototype.ngOnDestroy=function(){this.destroyed$.next();this.destroyed$.complete()};
var qJc=function(a){a.appSearchState.searchTriggered$.next("keyboard")},rJc=function(a,b){a.dropdownStatus="auto_complete";a.acList.clearActiveItem();a.appSearchState.queryState$.next({query:b,cursorPosition:a.getCursorPosition(),setViaInteraction:!0})};
D2.prototype.handleKeydown=function(a){switch(a.key){case "Escape":if(!E2(this))return;sJc(this);break;case "ArrowUp":if(!E2(this))return;this.acList.setPreviousItemActive();break;case "ArrowDown":if(!E2(this))return;this.acList.setNextItemActive();break;case "Tab":case "ArrowRight":if(!E2(this)){rJc(this,this.inputBox.nativeElement.value);return}lJc(this.acList);break;case "ArrowLeft":rJc(this,this.inputBox.nativeElement.value);return;case "Enter":E2(this)?this.acList.activeItemIndex!=null?lJc(this.acList):
qJc(this):qJc(this);break;default:return}a.preventDefault();a.stopPropagation()};D2.prototype.submitAdvancedSearch=function(){this.onAdvancedSearchSubmit.emit();tJc(this)};D2.prototype.getCursorPosition=function(){var a=Hkc(this.inputBox.nativeElement,!0)[0];if(a===Hkc(this.inputBox.nativeElement,!1)[1])return a};
var sJc=function(a){a.dropdownStatus==="auto_complete"&&(a.dropdownStatus="closed")},tJc=function(a){a.dropdownStatus==="advanced_search"&&(a.dropdownStatus="closed",a.onAdvancedSearchClose.emit())},E2=function(a){return a.dropdownStatus==="auto_complete"&&a.autoCompleteItems.length>0},uJc=function(a){return a.dropdownStatus==="auto_complete"&&a.autoCompleteHeader!=null},vJc=function(a){return a.dropdownStatus==="advanced_search"};
D2.prototype.saveSearch=function(){this.searchName&&(this.onSaveSearch.emit(this.searchName),this.searchName="",tJc(this))};var wJc=function(a,b){b.shiftKey&&b.key==="Tab"&&a.advancedSearchFinalFocus&&setTimeout(function(){return a.advancedSearchFinalFocus.nativeElement.focus()})},flb=function(a){a.advancedSearchInitialFocus&&setTimeout(function(){return a.advancedSearchInitialFocus.nativeElement.focus()})};D2.\u0275fac=function(a){return new (a||D2)(A(oI),A(xH),A(Ir))};
D2.\u0275cmp=p({type:D2,selectors:[["b-app-search-box"]],viewQuery:function(a,b){a&1&&(fg(C2,7),fg(nJc,5),fg(oJc,7,Rd),fg(pJc,7));if(a&2){var c;jg(c=kg())&&(b.acList=c.first);jg(c=kg())&&(b.inputBox=c.first);jg(c=kg())&&(b.advancedSearchInitialFocus=c.first);jg(c=kg())&&(b.advancedSearchFinalFocus=c.first)}},inputs:{placeholder:"placeholder",isSearchDisabled:"isSearchDisabled",autoCompleteItems:"autoCompleteItems",autoCompleteHeader:"autoCompleteHeader"},outputs:{onAdvancedSearchOpen:"onAdvancedSearchOpen",
onAdvancedSearchClose:"onAdvancedSearchClose",onAdvancedSearchSubmit:"onAdvancedSearchSubmit",onSaveSearch:"onSaveSearch"},ngContentSelectors:["*"],decls:24,vars:19,consts:[["box",""],["initialFocus",""],["finalFocus",""],[1,"search-form-container","keep-focus-ring",3,"clickOutside"],[1,"search-box-container"],["mat-icon-button","","aria-label","Search","matTooltip","Search",3,"click"],["svgIcon","search",1,"icon-m"],["spellcheck","false","autocomplete","off","cdkTextareaAutosize","","cdkAutosizeMinRows",
"1","cdkAutosizeMaxRows","6","aria-label","Search issues","role","combobox","aria-autocomplete","list","aria-haspopup","true","aria-owns","b-search-box-autocomplete",1,"search-box",3,"keydown","input","click","focus","placeholder"],["mat-icon-button","","aria-label","Show search options","matTooltip","Show search options",3,"click"],["svgIcon","arrow-dropdown",1,"icon-m"],["role","search",1,"search-dropdown"],[3,"itemSelected","items","header"],[1,"advanced-search"],["align","right",1,"advanced-search-header"],
["mat-icon-button","","aria-label","Close advanced search","matTooltip","Close advanced search",3,"keydown","click","disabled"],["svgIcon","close",1,"icon-s"],["cdkScrollable","",1,"advanced-search-content"],[1,"advanced-search-footer"],["mat-flat-button","",1,"medium",3,"click","disabled"],["target","_blank",1,"keep-underline","search-help-link"],["svgIcon","pop-out",1,"icon-xs"],["class","save-search-container",4,"ngIf"],[1,"save-search-container"],["type","text","aria-label","Enter the name for saving this search.",
"placeholder","Save search as",3,"ngModelChange","keydown.Tab","keydown.enter","ngModel"],["mat-icon-button","","aria-label","Save search","matTooltip","Save search",3,"click","disabled"],["svgIcon","saved-search-18px",1,"icon-s"]],template:function(a,b){if(a&1){var c=u();Xf();F(0,"div",3);M("clickOutside",function(){v(c);sJc(b);return x()});F(1,"div",4)(2,"button",5);M("click",function(){v(c);return x(qJc(b))});H(3,"mat-icon",6);G();F(4,"textarea",7,0);M("keydown",function(d){v(c);return x(b.handleKeydown(d))})("input",
function(){v(c);var d=Q(5);return x(rJc(b,d.value))})("click",function(){v(c);var d=Q(5);return x(rJc(b,d.value))})("focus",function(){v(c);b.dropdownStatus="auto_complete";return x()});G();F(6,"button",8);M("click",function(){v(c);b.dropdownStatus="advanced_search";b.onAdvancedSearchOpen.emit();return x()});H(7,"mat-icon",9);G()();F(8,"aside",10)(9,"b-app-search-auto-complete-list",11);M("itemSelected",function(d){v(c);return x(b.autoCompleteItemSelected$.next(d))});G();F(10,"div",12)(11,"div",13)(12,
"button",14,1);M("keydown",function(d){v(c);return x(wJc(b,d))})("click",function(){v(c);return x(tJc(b))});H(14,"mat-icon",15);G()();F(15,"div",16);Yf(16);G();F(17,"div",17)(18,"button",18);M("click",function(){v(c);return x(b.submitAdvancedSearch())});R(19," Search ");G();F(20,"a",19);R(21,"Search help ");H(22,"mat-icon",20);G();C(23,glb,5,2,"div",21);G()()()()}a&2&&(Kf("dropdown-opened",E2(b)||uJc(b)||vJc(b)),z(),Kf("hidden",vJc(b)),z(3),D("placeholder",b.placeholder),Bf("aria-activedescendant",
mJc(b.acList))("aria-expanded",E2(b)||uJc(b)),z(4),Kf("advanced-search-open",vJc(b)),z(),Kf("hidden",!(E2(b)||uJc(b))),D("items",b.autoCompleteItems)("header",b.autoCompleteHeader),z(),Kf("hidden",!vJc(b)),z(2),D("disabled",b.isSearchDisabled),z(6),D("disabled",b.isSearchDisabled),z(2),Bf("href",b.searchHelpLink,Qe),z(3),D("ngIf",!b.isAnonymous))},dependencies:[Gv,zB,fx,IH,Rx,Tx,LH,OH,mh,qy,yy,CH,$y,C2],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 xJc=function(a){this.activeSession=a;this.logoEnvironmentType="QA";this.logoFrontendAccessMode="INTERNAL";this.isSearchDisabled=!1;this.searchBoxPlaceholder="";this.searchBoxAutoCompleteItems=[];this.searchBoxAutoCompleteHeader=null;this.searchBoxOnAdvancedSearchOpen=new XF;this.searchBoxOnAdvancedSearchClose=new XF;this.searchBoxOnAdvancedSearchSubmit=new XF;this.searchBoxOnSaveSearch=new XF;this.currentTracker=this.activeSession.getTracker()},yJc=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()})};xJc.\u0275fac=function(a){return new (a||xJc)(A(Ir))};
xJc.\u0275cmp=p({type:xJc,selectors:[["b-app-top-bar"]],inputs:{logoEnvironmentType:"logoEnvironmentType",logoFrontendAccessMode:"logoFrontendAccessMode",isSearchDisabled:"isSearchDisabled",searchBoxPlaceholder:"searchBoxPlaceholder",searchBoxAutoCompleteItems:"searchBoxAutoCompleteItems",searchBoxAutoCompleteHeader:"searchBoxAutoCompleteHeader"},outputs:{searchBoxOnAdvancedSearchOpen:"searchBoxOnAdvancedSearchOpen",searchBoxOnAdvancedSearchClose:"searchBoxOnAdvancedSearchClose",searchBoxOnAdvancedSearchSubmit:"searchBoxOnAdvancedSearchSubmit",
searchBoxOnSaveSearch:"searchBoxOnSaveSearch"},ngContentSelectors:["*"],decls:7,vars:7,consts:[[3,"environmentType","frontendAccessMode","tracker"],[1,"skip-navigation-wrapper"],["mat-button","","color","primary","aria-label","Skip to main content",1,"skip-to-main-content-link",3,"click","keydown.enter"],[3,"onAdvancedSearchOpen","onAdvancedSearchClose","onAdvancedSearchSubmit","onSaveSearch","placeholder","autoCompleteItems","autoCompleteHeader","isSearchDisabled"]],template:function(a,b){a&1&&(Xf(),
H(0,"b-app-logo",0),F(1,"div",1)(2,"button",2),M("click",function(){return yJc()})("keydown.enter",function(){return yJc()}),R(3," Skip Navigation "),G()(),F(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)}),
Yf(5),G(),H(6,"b-app-actions"));a&2&&(D("environmentType",b.logoEnvironmentType)("frontendAccessMode",b.logoFrontendAccessMode)("tracker",b.currentTracker),z(4),D("placeholder",b.searchBoxPlaceholder)("autoCompleteItems",b.searchBoxAutoCompleteItems)("autoCompleteHeader",b.searchBoxAutoCompleteHeader)("isSearchDisabled",b.isSearchDisabled))},dependencies:[IH,Rx,A2,y2,D2],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 F2=function(){};F2.\u0275fac=function(a){return new (a||F2)};F2.\u0275mod=dd({type:F2});F2.\u0275inj=Ic({imports:[BB,fJ,ML,zS]});var G2=function(){};G2.\u0275fac=function(a){return new (a||G2)};G2.\u0275mod=dd({type:G2});G2.\u0275inj=Ic({imports:[BB,ML,ZL,aM]});var H2=function(){};H2.\u0275fac=function(a){return new (a||H2)};H2.\u0275mod=dd({type:H2});H2.\u0275inj=Ic({imports:[BB,ML,aM]});var I2=function(){};I2.\u0275fac=function(a){return new (a||I2)};I2.\u0275mod=dd({type:I2});I2.\u0275inj=Ic({providers:[jV]});var J2=function(){};J2.\u0275fac=function(a){return new (a||J2)};J2.\u0275mod=dd({type:J2});J2.\u0275inj=Ic({imports:[BB,ML,aM,I2]});var K2=function(){};K2.\u0275fac=function(a){return new (a||K2)};K2.\u0275mod=dd({type:K2});K2.\u0275inj=Ic({imports:[BB,ZL,dJ,NP,aM,kx,My,DH,G2,xV,H2,DN,bz,t2,J2,F2,vS]});var L2=function(){};L2.\u0275fac=function(a){return new (a||L2)};L2.\u0275mod=dd({type:L2});L2.\u0275inj=Ic({imports:[BB,dJ,fJ]});var M2=function(){};M2.\u0275fac=function(a){return new (a||M2)};M2.\u0275mod=dd({type:M2});M2.\u0275inj=Ic({imports:[BB,My,dJ,TV,lM,fJ,fV]});var N2=function(){this.cardTitle="";this.dropdownOptions=[];this.inheritedDisabled=this.isInherited=this.showInheritedToggle=this.showDeleteButton=this.showRequiredToggle=this.isSaveButtonDisabled=this.disabled=this.selected=!1;this.inheritedDisabledTooltipText="";this.placeholderForCardTitle="Enter the card title (Required)";this.ariaLabelForCardTitle="Card title";this.dropdownSelectionChanged=new XF;this.selectedChange=new XF;this.cardTitleChange=new XF;this.onSaveButtonClicked=new XF;this.onCancelButtonClicked=
new XF;this.isInheritedChange=new XF;this.isExpanded=!1};N2.prototype.expand=function(){this.isExpanded=!0};N2.prototype.collapse=function(){this.isExpanded=!1};N2.prototype.onSave=function(){this.collapse();this.onSaveButtonClicked.emit()};N2.prototype.onCancel=function(){this.collapse();this.onCancelButtonClicked.emit()};N2.\u0275fac=function(a){return new (a||N2)};
N2.\u0275cmp=p({type:N2,selectors:[["b-collapsible-card"]],inputs:{cardTitle:"cardTitle",dropdownOptions:"dropdownOptions",selectedOption:"selectedOption",selected:"selected",disabled:"disabled",isSaveButtonDisabled:"isSaveButtonDisabled",showRequiredToggle:"showRequiredToggle",showDeleteButton:"showDeleteButton",showInheritedToggle:"showInheritedToggle",isInherited:"isInherited",inheritedDisabled:"inheritedDisabled",inheritedDisabledTooltipText:"inheritedDisabledTooltipText",placeholderForCardTitle:"placeholderForCardTitle",
ariaLabelForCardTitle:"ariaLabelForCardTitle"},outputs:{dropdownSelectionChanged:"dropdownSelectionChanged",selectedChange:"selectedChange",cardTitleChange:"cardTitleChange",onSaveButtonClicked:"onSaveButtonClicked",onCancelButtonClicked:"onCancelButtonClicked",isInheritedChange:"isInheritedChange"},ngContentSelectors:["*"],decls:11,vars:14,consts:[["expandedCardHeader",""],[1,"carded"],[1,"flex-kids-x","flex-cross-axis-centered","card-header"],[1,"collapsible-card-checkbox",3,"change","disabled",
"checked","aria-label"],[4,"ngIf","ngIfElse"],["mat-icon-button","",3,"click","ngClass"],["svgIcon","chevron-left",4,"ngIf"],["svgIcon","arrow-down",4,"ngIf"],["class","expanded-card-container",4,"ngIf"],["class","expanded-card-actions",4,"ngIf"],[1,"card-title","heading-s"],["svgIcon","chevron-left"],["svgIcon","arrow-down"],["appearance","fill","subscriptSizing","dynamic",1,"card-title"],["matInput","","type","text","required","","aria-required","true","maxlength","40","autocomplete","off",1,"heading-s",
3,"ngModelChange","placeholder","disabled","ngModel"],["class","type-dropdown","appearance","outline",4,"ngIf"],["appearance","outline",1,"type-dropdown"],[3,"valueChange","selectionChange","disabled","value"],[4,"ngIf"],["class","ee-config-option",3,"value",4,"ngFor","ngForOf"],[1,"icon-s",3,"svgIcon"],[1,"ee-config-option",3,"value"],["class","icon-s",3,"svgIcon",4,"ngIf"],[1,"expanded-card-container"],[1,"expanded-card-actions"],["mat-raised-button","","color","primary",3,"click","disabled"],["mat-button",
"","color","primary",1,"cancel-button",3,"click","disabled"],["mat-icon-button","","aria-label","Delete","class","delete-button",3,"disabled",4,"ngIf"],[3,"vertical",4,"ngIf"],["labelPosition","before",3,"disabled",4,"ngIf"],["class","inherited-toggle","labelPosition","before",3,"checked","disabled","matTooltip","matTooltipDisabled","change",4,"ngIf"],["mat-icon-button","","aria-label","Delete",1,"delete-button",3,"disabled"],["svgIcon","delete",1,"icon-m"],[3,"vertical"],["labelPosition","before",
3,"disabled"],["labelPosition","before",1,"inherited-toggle",3,"change","checked","disabled","matTooltip","matTooltipDisabled"]],template:function(a,b){if(a&1){var c=u();Xf();F(0,"div",1)(1,"div",2)(2,"mat-checkbox",3);M("change",function(d){v(c);b.selected=d.checked;b.expand();b.selectedChange.emit(b.selected);return x()});G();C(3,hlb,3,3,"ng-container",4);F(4,"button",5);M("click",function(){v(c);b.isExpanded?b.collapse():b.expand();return x()});C(5,ilb,1,0,"mat-icon",6)(6,jlb,1,0,"mat-icon",7);
G();C(7,olb,3,7,"ng-template",null,0,yg);G();C(9,plb,2,0,"div",8)(10,ulb,9,6,"div",9);G()}a&2&&(a=Q(8),Bf("aria-expanded",b.isExpanded),z(2),Kf("expanded-checkbox",b.isExpanded),D("disabled",b.disabled)("checked",b.selected)("aria-label",b.cardTitle),z(),D("ngIf",!b.isExpanded)("ngIfElse",a),z(),D("ngClass",b.isExpanded?"collapse-toggle":"expand-toggle"),Bf("aria-label",b.isExpanded?"Collapse editor":"Expand editor"),z(),D("ngIf",b.isExpanded),z(),D("ngIf",!b.isExpanded),z(3),D("ngIf",b.isExpanded),
z(),D("ngIf",b.isExpanded))},dependencies:[Ev,Fv,Gv,zB,mh,qy,Iy,Jy,yy,QH,RH,IH,Rx,Tx,HW,IW,mM,Wy,Qy,nM,oM,Kx,kM,MP,SV,cz,LH,OH],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 O2=function(){};O2.\u0275fac=function(a){return new (a||O2)};O2.\u0275mod=dd({type:O2});O2.\u0275inj=Ic({imports:[BB,My,jM,dJ,KW,qM,NP,TV,aM]});var zJc=function(a,b){this.dialogRef=a;this.options=[];b&&b.sharedFields.length>0&&(this.selected=b.sharedFields[0],this.options=b.sharedFields)};zJc.\u0275fac=function(a){return new (a||zJc)(A(pI),A(vI))};
zJc.\u0275cmp=p({type:zJc,selectors:[["activate-shared-field-dialog"]],decls:12,vars:3,consts:[["empty",""],["mat-dialog-title",""],["mat-dialog-content",""],[4,"ngIf","ngIfElse"],[4,"ngIf"],["mat-dialog-actions",""],["mat-button","",1,"medium",3,"click"],["mat-flat-button","","color","primary","cdkFocusInitial","",1,"medium",3,"click"],[3,"valueChange","value"],[3,"value"],["href","http://go/buganizer/concepts/custom-fields#shared-custom-field","target","_blank"]],template:function(a,b){if(a&1){var c=
u();F(0,"h1",1);R(1,"Activate a shared field");G();F(2,"div",2);C(3,wlb,4,1,"mat-form-field",3)(4,xlb,1,0,"ng-template",null,0,yg)(6,ylb,4,0,"div",4);G();F(7,"footer",5)(8,"button",6);M("click",function(){v(c);return x(b.dialogRef.close())});R(9,"Cancel");G();F(10,"button",7);M("click",function(){v(c);return x(b.dialogRef.close(b.selected))});R(11,"Confirm");G()()}a&2&&(a=Q(5),z(3),D("ngIf",b.options.length>0)("ngIfElse",a),z(3),D("ngIf",b.options.length>0))},dependencies:[Gv,IH,Rx,mM,Wy,nM,Kx,kM,
zI,BI,AI],encapsulation:2});var P2=function(a){this.internalArray_=m(a,0,P2.messageId)};X(P2,Y);P2.prototype.getIt=function(){return $i(this,Mk,4)};P2.prototype.setIt=function(a){return oj(this,Mk,4,a)};P2.messageId="b.FieldConfig";var Q2=function(a){this.internalArray_=m(a)};X(Q2,Y);g=Q2.prototype;g.getComponentId=function(){return ej(this,1)};g.getComponentId_asLegacyNumberOrString=function(){return ej(this,1)};g.getComponentId_asString=function(){return du(this,1)};g.setComponentId=function(a){return bj(this,1,a)};g.setFieldId=function(a){return Xt(this,2,vj,a)};Q2.repeatedFields_=[2];var R2=function(a){this.internalArray_=m(a,0,R2.messageId)};X(R2,Y);R2.prototype.getIt=function(){return $i(this,Q2,2)};R2.prototype.setIt=function(a){return oj(this,Q2,2,a)};R2.messageId="b.ReorderFieldsRequest";var S2=function(a){this.executor=a};S2.prototype.updateCustomFieldState=function(a,b,c){var d={customFieldId:b};var e=new P2;var f=e.setIt;d=(new Mk).setFieldId(Iua(d));c=dj(d,4,J3b[c]);c=Kj(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:P2}).pipe(y(zlb))};
S2.prototype.reorder=function(a,b){var c=new R2,d=c.setIt;var e=(new Q2).setComponentId(a);b=b.map(Iua);e=gk(e,2,b);c=d.call(c,e);return this.executor.post({url:"action/components/"+a+"/reorder",body:c,responseConstructor:null})};S2.\u0275fac=function(a){return new (a||S2)(n(IB))};S2.\u0275prov=Hc({token:S2,factory:S2.\u0275fac,providedIn:"root"});var AJc=function(a){this.internalArray_=m(a)};X(AJc,Y);g=AJc.prototype;g.getComponentId=function(){return ej(this,1)};g.getComponentId_asLegacyNumberOrString=function(){return ej(this,1)};g.getComponentId_asString=function(){return du(this,1)};g.setComponentId=function(a){return bj(this,1,a)};g.getCustomFieldId_asLegacyNumberOrString=function(){return ej(this,2)};g.getCustomFieldId_asString=function(){return du(this,2)};g.setCustomFieldId=function(a){return bj(this,2,a)};var BJc=function(a){this.internalArray_=m(a)};X(BJc,Y);g=BJc.prototype;g.getComponentId=function(){return ej(this,1)};g.getComponentId_asLegacyNumberOrString=function(){return ej(this,1)};g.getComponentId_asString=function(){return du(this,1)};g.setComponentId=function(a){return bj(this,1,a)};g.getCustomFieldId_asLegacyNumberOrString=function(){return ej(this,2)};g.getCustomFieldId_asString=function(){return du(this,2)};g.setCustomFieldId=function(a){return bj(this,2,a)};var T2=function(a){this.internalArray_=m(a,0,T2.messageId)};X(T2,Y);T2.prototype.getIt=function(){return $i(this,AJc,1)};T2.prototype.setIt=function(a){return oj(this,AJc,1,a)};T2.messageId="b.AddSharedCustomFieldToComponentRequest";var U2=function(a){this.internalArray_=m(a,0,U2.messageId)};X(U2,Y);U2.prototype.getIt=function(){return $i(this,BJc,1)};U2.prototype.setIt=function(a){return oj(this,BJc,1,a)};U2.messageId="b.RemoveSharedCustomFieldFromComponentRequest";var V2=function(a){this.executor=a};V2.prototype.add=function(a,b){var c="/action/components/"+a+"/add_shared_custom_field";a=(new T2).setIt((new AJc).setComponentId(a).setCustomFieldId(b));return this.executor.post({url:c,body:a,responseConstructor:null})};V2.prototype.remove=function(a,b){var c="/action/components/"+a+"/remove_shared_custom_field";a=(new U2).setIt((new BJc).setComponentId(a).setCustomFieldId(b));return this.executor.post({url:c,body:a,responseConstructor:null})};
V2.\u0275fac=function(a){return new (a||V2)(n(JB))};V2.\u0275prov=Hc({token:V2,factory:V2.\u0275fac,providedIn:"root"});var CJc=["fieldStateMenu"],Dlb=function(a){return{type:a}},DJc=["SILENT","MINOR","MAJOR"],EJc=[{customFieldId:1049928,name:"Start Date"},{customFieldId:1049953,name:"End Date"},{customFieldId:1049954,name:"Risk"},{customFieldId:1255458,name:"Commitment Level"}],FJc=[{customFieldId:209963,name:"Start Date"},{customFieldId:209989,name:"End Date"},{customFieldId:210015,name:"Risk"},{customFieldId:207778,name:"Commitment Level"}],W2=function(a,b,c,d,e,f,h,k,q,t,w,B,E){Z.call(this);var I=this;this.customFieldsApi=
a;this.checkBeforeExit=b;this.butterBar=c;this.analytics=d;this.routeParams=e;this.componentActions=f;this.fieldConfigService=h;this.sharedCustomFieldApi=k;this.documentationLinks=q;this.paths=t;this.confirmationDialog=w;this.appEvents=B;this.dialog=E;this.ROUTES=zo;this.FieldType=Ruc;this.ListFieldType=Jvc;this.getSingleEditFieldType=v2a;this.getListFieldType=d4a;this.isRepeated=Cua;this.typeChoices=["TEXT","DATE","ENUM","NUMERIC"];this.secondaryTypes=["Single","Multiple"];this.customFields=[];this.inheritedCustomFields=
[];this.sharedFields=[];this.componentIdsToNames={};this.isLoading=!1;this.editableField=null;this.allowedValues=[];this.originalEditableFieldValue=null;this.msgFieldStateTip="Whether the field is visible in this component";this.significanceChoices=DJc;this.componentId=vi(this.routeParams.componentId);this.subscriptions.add(FQ(b,function(){return I.hasUnsavedChanges()},!0))};X(W2,Z);W2.\u0275dir=Z.\u0275dir;W2.prototype.ngOnInit=function(){this.loadCustomFields()};
W2.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};
W2.prototype.editField=function(a){window.scrollTo({top:0,behavior:"smooth"});if(!this.hasUnsavedChanges()||Pmc(this.checkBeforeExit))this.editableField=qi(this.customFields[a]),this.originalEditableFieldValue=qi(this.editableField),this.serverError=null,this.setType(this.editableField.type),Hlb(this,this.editableField.allowedValue)};
var Tlb=function(a,b){var c=a.customFields[b];a.confirmationDialog.open({title:"Deleting field: "+c.name,content:wh("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)}})};
W2.prototype.doDelete=function(a){var b=this;Ap(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");Ap(b.butterBar,"Deleted field: "+a.name,2E3);b.loadCustomFields()})};
W2.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=nn(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)};
W2.prototype.updateCustomFieldState=function(a,b,c){var d=this;return new Promise(function(e,f){d.fieldConfigService.updateCustomFieldState(d.componentId,a.customFieldId,b).pipe(qf(d.destroyed$)).subscribe(function(){a:{switch(b){case "INHERIT":var h="Inherit ("+(d.fieldsEnabledOnParentComponent.get(a.customFieldId)?"Enabled":"Disabled")+")";break a;case "DISABLED":h="Disabled";break a;case "ENABLED":h="Enabled";break a}h=void 0}d.analytics.trackEvent("customField","updateFieldConfig",h);d.componentActions.getUncached(d.componentId).then(function(){return d.loadCustomFields(!0)}).then(function(){setTimeout(function(){var k,
q;(k=d.fieldStateMenus)==null||(q=k.get(c))==null||q.focus()})}).then(function(){e(void 0)})},function(h){d.serverError=nn(h);d.isLoading=!1;f(h)})})};W2.prototype.cancel=function(){this.originalEditableFieldValue=this.editableField=null};
var Klb=function(a,b){var c=a.editableField.type,d=c==="TEXT"&&ri(b)?b:void 0,e=c==="DATE"&&b&&Pza(b)?b:void 0,f=c==="ENUM"&&ri(b)?b:void 0,h=c==="NUMERIC"&&Ita(b)?b:void 0,k=c==="REPEATED_TEXT"&&si(b)?{values:b}:void 0,q;if(q=c==="REPEATED_DATE")q=Array.isArray(b)&&b.every(Pza);q=q?{values:b}:void 0;var t=c==="REPEATED_ENUM"&&si(b)?{values:b}:void 0;b=c==="REPEATED_NUMERIC"&&Jta(b)?{values:b}:void 0;a.editableField.typedDefaultValue={customFieldId:a.editableField.customFieldId,textValue:d,dateValue:e,
enumValue:f,numericValue:h,repeatedTextValue:k,repeatedDateValue:q,repeatedEnumValue:t,repeatedNumericValue:b}};
W2.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 Hlb=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}}):[]};W2.prototype.hasUnsavedChanges=function(){return this.editableField&&!pi(this.editableField,this.originalEditableFieldValue)?!0:!1};
W2.prototype.loadCustomFields=function(a){var b=this;a=a===void 0?!1:a;a||(this.isLoading=!0);return this.componentActions.get(this.componentId).then(function(c){var d,e=((d=c.componentPathInfo)==null?void 0:d.allCustomField)||[];d=[];b.componentIdsToNames={};var f,h=((f=c.componentPathInfo)==null?void 0:f.componentPathId)||[];for(f=0;f<h.length;f++)d.push(c.componentPathInfo.componentPathName[f]),b.componentIdsToNames[c.componentPathInfo.componentPathId[f]]=d.join(" > ");b.editableField=null;b.originalEditableFieldValue=
null;a||(b.isLoading=!1);c=function(k,q){return fr(k.name,q.name)};b.customFields=e.filter(function(k){return b.componentId===k.componentId}).sort(c);b.inheritedCustomFields=e.filter(function(k){return b.componentId!==k.componentId&&!k.shared}).sort(c);b.sharedFields=e.filter(function(k){return b.componentId!==k.componentId&&k.shared});b.appEvents.customFieldsModified.next(e)})};var Zlb=function(a,b){return a.fieldsEnabledOnParentComponent.has(b)?a.fieldsEnabledOnParentComponent.get(b):!0};
W2.prototype.trackClick=function(a){this.analytics.trackEvent("editComponent","click",a)};var Llb=function(a){var b;return(a=(b=a.editableField)==null?void 0:b.typedDefaultValue)?Bm(a):null};W2.prototype.getListFieldValues=function(){var a,b=(a=this.editableField)==null?void 0:a.typedDefaultValue,c,d;return(d=(c=b?Bm(b):null)==null?void 0:c.values)!=null?d:null};W2.prototype.setFieldSignificance=function(a){this.editableField.fieldSignificance=a};
var imb=function(a){var b={sharedFields:jmb(a)};qI(a.dialog.open(zJc,{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()})})},dmb=function(a,b){a.confirmationDialog.open({title:"Deactivate shared field",content:wh("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()})}})},jmb=function(a){var b=b===void 0?Rl():b;if(!Ql())return[];b=b?EJc:FJc;var c=a.sharedFields.map(function(d){return d.customFieldId});return b.filter(function(d){return!c.includes(d.customFieldId)})},lmb=function(a){var b,c;return((b=a.component)==null?void 0:(c=b.accessLimit)==null?void 0:c.accessLevel)==="INTERNAL"};
W2.\u0275fac=function(a){return new (a||W2)(A(pF),A(EQ),A(sE),A(bG),A(iJ),A(UU),A(S2),A(V2),A(oI),A(pN),A(EI),A(yE),A(wI))};
W2.\u0275cmp=p({type:W2,selectors:[["b-component-custom-fields"]],viewQuery:function(a,b){a&1&&fg(CJc,5);if(a&2){var c;jg(c=kg())&&(b.fieldStateMenus=c)}},inputs:{editMode:"editMode",isSaving:"isSaving",component:"component",parentComponent:"parentComponent"},features:[zf,td],decls:4,vars:3,consts:[["typeHelp",""],["enumMenu","matMenu"],["secondaryMenu","matMenu"],["significanceHelp",""],["significanceMenu","matMenu"],["card","onedevHovercard"],["cardBody",""],["fieldStateMenu",""],[1,"edit-resource-panel",
"edit-component-field-parent"],["class","edit-custom-field-panel",4,"ngIf"],["class","custom-fields-loader",4,"ngIf"],[4,"ngIf"],[1,"edit-custom-field-panel"],["class","bv2-validation-error-banner",4,"ngIf"],["name","editForm",1,"edit-custom-field-form"],[1,"edit-field"],["for","field-name",1,"help-label"],["name","fieldName","type","text","required","","id","field-name",3,"ngModelChange","bFocus","ngModel","disabled"],["for","field-description",1,"help-label"],["name","fieldDescription","id","field-description",
3,"ngModelChange","ngModel","disabled"],[1,"edit-custom-field-table"],[1,"field-label-with-help","bv2-component-custom-field-label"],["id","field-type-label",1,"help-label",3,"onedevHovercardTrigger"],["role","dialog","aria-label","Type help hovercard",1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],["mat-button","","mat-stroked-button","","aria-labelledby","field-type-label",1,"bv2-enum-field",3,"matMenuTriggerFor","disabled"],["name","arrow-dropdown","size","small"],["mat-menu-item","",
3,"matMenuTriggerFor","matMenuTriggerData",4,"ngFor","ngForOf"],["matMenuContent",""],["class","edit-field",4,"ngIf"],["class","bv2-component-custom-field-label","id","field-default-label",4,"ngIf"],["aria-labelledby","field-default-label",3,"name","type","tooltip","value","choices","showEnumTitle","disabled","truncate","clearable","valueChange",4,"ngIf"],["class","bv2-component-custom-field-label","id","field-repeated-default-label",4,"ngIf"],["aria-labelledby","field-repeated-default-label",3,"defaultLineCount",
"type","tooltip","values","enumChoices","isDefaultOrAllowedValues","listFieldDisabled","truncate","valuesChange",4,"ngIf"],["id","field-required-label",1,"bv2-component-custom-field-label"],["aria-labelledby","field-required-label",3,"valueChange","name","type","tooltip","value"],["id","field-significance-label","tabindex","0","aria-label","Field Significance - Press alt+right arrow to learn more.",1,"help-label",3,"onedevHovercardTrigger"],[1,"onedev-hovercard-content"],["aria-label","See email settings for more details.",
"target","_blank",1,"keep-underline","keep-focus-ring",3,"href"],["mat-button","","mat-stroked-button","","type","button","aria-labelledby","field-significance-label",1,"keep-focus-ring","bv2-enum-field",3,"matMenuTriggerFor"],["mat-menu-item","","type","button",3,"click",4,"ngFor","ngForOf"],["mat-raised-button","","color","primary","type","button",3,"click","disabled"],["mat-stroked-button","","type","button",3,"click"],[1,"bv2-validation-error-banner"],["mat-menu-item","",3,"matMenuTriggerFor",
"matMenuTriggerData"],["mat-menu-item","",3,"click",4,"ngFor","ngForOf"],["mat-menu-item","",3,"click"],["id","field-enums-label",1,"bv2-component-custom-field-label"],["aria-labelledby","field-enums-label",3,"valuesChange","defaultLineCount","type","values","listFieldDisabled","preventDuplicates","isDefaultOrAllowedValues","truncate"],["id","field-default-label",1,"bv2-component-custom-field-label"],["aria-labelledby","field-default-label",3,"valueChange","name","type","tooltip","value","choices",
"showEnumTitle","disabled","truncate","clearable"],["id","field-repeated-default-label",1,"bv2-component-custom-field-label"],["aria-labelledby","field-repeated-default-label",3,"valuesChange","defaultLineCount","type","tooltip","values","enumChoices","isDefaultOrAllowedValues","listFieldDisabled","truncate"],["mat-menu-item","","type","button",3,"click"],[1,"custom-fields-loader"],[3,"large"],[1,"custom-fields-table"],[3,"ngClass",4,"ngFor","ngForOf"],["class","edit-button-row",4,"ngIf"],[3,"ngClass"],
[3,"customFieldValue"],["class","action-buttons",4,"ngIf"],[1,"action-buttons"],["mat-stroked-button","",3,"click"],["colspan","9",1,"custom-fields-inherited-parent"],["colspan","9"],[1,"ancestor-component-note"],[1,"header-label"],[3,"click","onedevHovercardTrigger","href"],[4,"onedevHovercardLazyBody"],[3,"fieldName","fieldState","enabledOnParent","disabled","matTooltip","fieldStateChange",4,"ngIf"],[3,"onedevIsHovercardReady","componentId"],[3,"fieldStateChange","fieldName","fieldState","enabledOnParent",
"disabled","matTooltip"],["class","enabled-field",4,"ngFor","ngForOf"],[1,"enabled-field"],["mat-stroked-button","",3,"click","disabled","matTooltip"],["routerLink","./","fragment","fieldOrdering",1,"keep-underline"],[1,"edit-button-row"],["mat-raised-button","","color","primary",3,"click"],["mat-flat-button","",3,"disabled","click",4,"ngIf"],["mat-flat-button","",3,"click","disabled"]],template:function(a,b){a&1&&(F(0,"div",8),C(1,Qlb,68,32,"div",9)(2,Rlb,2,1,"div",10)(3,nmb,28,9,"div",11),G());
a&2&&(z(),D("ngIf",b.editableField&&!b.isLoading),z(),D("ngIf",b.isLoading),z(),D("ngIf",!b.isLoading))},dependencies:[Ev,Fv,Gv,rB,zy,mh,qy,ry,Iy,yy,wy,fX,PW,hN,l1,$H,aI,gI,bI,cW,LH,OH,QL,TL,RL,SL,UL,IH,Rx,ZY,lX,RQ,wJ,vJ,yJ],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 X2=function(){};X2.\u0275fac=function(a){return new (a||X2)};X2.\u0275mod=dd({type:X2});X2.\u0275inj=Ic({imports:[BB,My,gX,QW,jN,m1,NL,gW,aM,ZL,dJ,qM,$Y,mX,GJ,AS,fJ]});var Y2=function(){this.options=[];this.disabled=!1;this.removeAtIndex=new XF;this.addRow=new XF;this.optionsChange=new XF};Y2.prototype.valueChange=function(a,b){this.options[b].value=Number(a.target.value);this.optionsChange.emit(this.options)};Y2.prototype.drop=function(a){Wp(this.options,a.previousIndex,a.currentIndex);this.optionsChange.emit(this.options)};Y2.\u0275fac=function(a){return new (a||Y2)};
Y2.\u0275cmp=p({type:Y2,selectors:[["b-config-grid"]],inputs:{options:"options",disabled:"disabled"},outputs:{removeAtIndex:"removeAtIndex",addRow:"addRow",optionsChange:"optionsChange"},decls:11,vars:7,consts:[["displayInput","matInput"],["valueInput","matInput"],[1,"flex-kids-x"],[1,"padded-sides","heading-xs","flex-kids-y"],[1,"config-title","config-title-container"],[1,"padded-sides","heading-xs","config-title-container","flex-kids-x"],["aria-label","Average days. All estimated effort types map to an average number of days.",
1,"config-title"],["svgIcon","help-outline","tabindex","0","aria-hidden","false","aria-label","All estimated effort types map to an average number of days.",1,"icon-xs",3,"matTooltip"],["cdkDropList","",1,"options-container",3,"cdkDropListDropped"],["cdkDrag","",4,"ngFor","ngForOf"],["mat-button","","class","gmat-button add-row-button",3,"click",4,"ngIf"],["cdkDrag",""],[1,"flex-kids-x","flex-cross-axis-centered","option-row"],["cdkDragHandle","","svgIcon","drag-indicator",1,"drag-handle"],["subscriptSizing",
"dynamic",3,"appearance"],["matInput","","aria-label","Dropdown value","autocomplete","off","maxlength","40",1,"input-text",3,"change","value","placeholder","disabled"],["matInput","","aria-label","Average days","autocomplete","off","type","number",1,"input-text",3,"change","value","placeholder","disabled"],["mat-icon-button","",3,"click",4,"ngIf"],["mat-icon-button","",3,"click"],["svgIcon","close",1,"icon-s","delete-icon"],["mat-button","",1,"gmat-button","add-row-button",3,"click"]],template:function(a,
b){a&1&&(F(0,"div",2)(1,"div",3)(2,"span",4),R(3," Dropdown value "),G()(),F(4,"div",5)(5,"span",6),R(6," Average days "),G(),H(7,"mat-icon",7),G()(),F(8,"div",8),M("cdkDropListDropped",function(c){return b.drop(c)}),C(9,pmb,12,13,"div",9),G(),C(10,qmb,2,0,"button",10));a&2&&(z(2),Kf("muted",b.disabled),z(3),Kf("muted",b.disabled),z(2),D("matTooltip","All estimated effort types map to an average number of days."),z(2),D("ngForOf",b.options),z(),D("ngIf",!b.disabled))},dependencies:[Fv,Gv,zB,SV,cz,
Wy,kM,oE,LH,OH,dX,cX,ZW],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 Z2=function(){this.disabled=!1;this.valueChange=new XF};Z2.prototype.onValueChange=function(a){this.valueChange.emit(Number(a.target.value))};Z2.\u0275fac=function(a){return new (a||Z2)};
Z2.\u0275cmp=p({type:Z2,selectors:[["b-numeric-config"]],inputs:{disabled:"disabled",value:"value"},outputs:{valueChange:"valueChange"},decls:14,vars:8,consts:[["timeInput","matInput"],[1,"flex-kids-x"],[1,"padded-sides","heading-xs","flex-kids-y"],[1,"config-title","config-title-container"],[1,"type-m","margin-y","disabled-time-val"],[1,"config-title-container","flex-kids-x"],["id","config-label","aria-label","Average days. All estimated effort types map to an average number of days.",1,"config-title"],
["svgIcon","help-outline","tabindex","0","aria-hidden","false","aria-label","All estimated effort types map to an average number of days.",1,"icon-xs",3,"matTooltip"],[3,"appearance"],["matInput","","type","number","aria-labelledby","config-label",1,"input-text",3,"change","disabled","value"]],template:function(a,b){if(a&1){var c=u();F(0,"div",1)(1,"div",2)(2,"span",3);R(3," Time ");G();F(4,"span",4);R(5,"1");G()();F(6,"div",2)(7,"div",5)(8,"span",6);R(9," Average days ");G();H(10,"mat-icon",7);G();
F(11,"mat-form-field",8)(12,"input",9,0);M("change",function(d){v(c);return x(b.onValueChange(d))});G()()()()}a&2&&(z(2),Kf("muted",b.disabled),z(6),Kf("muted",b.disabled),z(2),D("matTooltip","All estimated effort types map to an average number of days."),z(),D("appearance","outline"),z(),D("disabled",b.disabled)("value",b.value))},dependencies:[zB,SV,cz,Wy,kM,LH,OH],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 b3=function(a){this.activeSession=a;this.disabled=!1;this.updateEffortSpec=new XF;this.configurationOptions=[GJc,HJc,a3];this.estimatedEffortFieldEnabled=this.inherit=!1;this.name="Estimated effort";this.numericSpecMultiplier=1;this.enumSpecOptions=[];this.aggregationRules=$3b;this.selectedAggregationRule=this.aggregationRules.SUM;this.enableAggregationRules=this.activeSession.getFlag("enableAggregationRules")};
b3.prototype.ngOnInit=function(){(this.originalEffortSpec=this.effortSpec)&&this.effortSpec.numericSpec&&(this.originalSelectedEffortConfig=a3)};b3.prototype.ngOnChanges=function(a){a.effortSpec&&this.effortSpec&&(this.originalEffortSpec=qi(this.effortSpec),this.setValues(this.effortSpec))};
b3.prototype.setValues=function(a){if(a.numericSpec){this.selectedEffortConfig=a3;var b,c,d;this.numericSpecMultiplier=(d=(b=this.effortSpec)==null?void 0:(c=b.numericSpec)==null?void 0:c.multiplier)!=null?d:1}if(a.enumSpec){this.selectedEffortConfig=void 0;var e,f;this.enumSpecOptions=((f=(e=a.enumSpec)==null?void 0:e.options)!=null?f:[]).map(function(k){return{label:k.label,value:k.value}})}var h;this.inherit=(h=a.inherit)!=null?h:!1;this.name=a.name===""?"Estimated effort":a.name||"";if(a.enumSpec||
a.numericSpec)this.estimatedEffortFieldEnabled=!0;a.aggregationType!==void 0&&a.aggregationType!==this.aggregationRules.AGGREGATION_TYPE_UNSPECIFIED&&(this.selectedAggregationRule=a.aggregationType)};
var IJc=function(a){var b,c,d;if(((b=a.effortSpec)==null?0:b.enumSpec)&&!a.selectedEffortConfig||((c=a.selectedEffortConfig)==null?void 0:c.displayText)===GJc.displayText||((d=a.selectedEffortConfig)==null?void 0:d.displayText)===HJc.displayText)return"enum";var e;return((e=a.selectedEffortConfig)==null?void 0:e.displayText)===a3.displayText?"numeric":"empty"};b3.prototype.addRow=function(){this.enumSpecOptions.push({label:null,value:null})};
b3.prototype.isSaveButtonDisabled=function(){var a;if(!(a=this.disabled||this.selectedEffortConfig===void 0&&this.effortSpec===void 0&&this.estimatedEffortFieldEnabled&&!this.inherit||this.name==="")){a:{a=l(this.enumSpecOptions);for(var b=a.next();!b.done;b=a.next())if(b=b.value,!b.label||b.value===null){a=!1;break a}a=!0}a=!a}return a};var JJc=function(a){a.selectedEffortConfig=void 0;a.enumSpecOptions=[];a.effortSpec=void 0;a.name="Estimated effort"};b3.\u0275fac=function(a){return new (a||b3)(A(Ir))};
b3.\u0275cmp=p({type:b3,selectors:[["b-estimated-effort-config"]],inputs:{effortSpec:"effortSpec",parentEffortSpec:"parentEffortSpec",disabled:"disabled"},outputs:{updateEffortSpec:"updateEffortSpec"},features:[td],decls:8,vars:14,consts:[["enumConfig",""],["placeholderForCardTitle","Enter the estimated effort field title (required)","ariaLabelForCardTitle","Estimated effort field title",3,"cardTitleChange","dropdownSelectionChanged","onSaveButtonClicked","selectedChange","onCancelButtonClicked",
"isInheritedChange","cardTitle","dropdownOptions","selectedOption","disabled","selected","isSaveButtonDisabled","showInheritedToggle","isInherited","inheritedDisabled"],[1,"content",3,"ngSwitch"],[4,"ngSwitchCase"],["class","margin-top",4,"ngIf"],[4,"ngTemplateOutlet"],[3,"valueChange","disabled","value"],[1,"margin-top"],["id","aggregation-rule-label",1,"aggregation-rule-label","config-label","heading-xs","margined"],"mat-icon-button;;matTooltip;Learn more about the aggregation rules;href;http://go/wtdm-home#aggregation;target;_blank".split(";"),
["svgIcon","help-outline",1,"icon-s","gfx-muted"],["appearance","outline",1,"static-label","margined"],["aria-labelledby","aggregation-rule-label","panelClass","multi-line-select",3,"valueChange","value","disabled"],[1,"multi-line",3,"value"],[1,"title"],[1,"help-text"],[3,"optionsChange","addRow","removeAtIndex","options","disabled"]],template:function(a,b){if(a&1){var c=u();F(0,"b-collapsible-card",1);pg("cardTitleChange",function(d){v(c);og(b.name,d)||(b.name=d);return x(d)});M("dropdownSelectionChanged",
function(d){v(c);b.selectedEffortConfig=d;d.displayText===GJc.displayText?(b.enumSpecOptions=[].concat(r(KJc)),b.name="Story points"):d.displayText===HJc.displayText?(b.enumSpecOptions=[].concat(r(LJc)),b.name="T-shirt sizes"):d.displayText===a3.displayText&&(b.numericSpecMultiplier=1,b.name="Days");b.estimatedEffortFieldEnabled=!0;return x()})("onSaveButtonClicked",function(){v(c);if(b.estimatedEffortFieldEnabled){var d={name:b.name,inherit:b.inherit};b.enableAggregationRules&&(d.aggregationType=
b.selectedAggregationRule);b.originalEffortSpec&&b.originalEffortSpec.customFieldId!==0&&(d.customFieldId=b.originalEffortSpec.customFieldId);var e;if(((e=b.selectedEffortConfig)==null?void 0:e.displayText)===a3.displayText)d.numericSpec={multiplier:b.numericSpecMultiplier};else if(b.enumSpecOptions.length>0){e=[];for(var f=l(b.enumSpecOptions),h=f.next();!h.done;h=f.next())h=h.value,h.label&&h.value!==null&&e.push({label:h.label,value:h.value});d.enumSpec={options:e}}b.updateEffortSpec.emit(d)}else b.updateEffortSpec.emit({name:"",
inherit:!1});return x()})("selectedChange",function(d){v(c);b.estimatedEffortFieldEnabled=d;b.estimatedEffortFieldEnabled||JJc(b);return x()})("onCancelButtonClicked",function(){v(c);b.effortSpec=b.originalEffortSpec;b.selectedEffortConfig=b.originalSelectedEffortConfig;b.effortSpec?b.setValues(b.effortSpec):(b.estimatedEffortFieldEnabled=!1,JJc(b));return x()})("isInheritedChange",function(d){v(c);(d=d.checked)?(b.setValues(b.parentEffortSpec?b.parentEffortSpec:{name:"Estimated effort"}),b.effortSpec=
b.parentEffortSpec,b.effortSpec||JJc(b)):b.effortSpec&&(b.setValues({}),JJc(b));b.inherit=d;return x()});F(1,"div",2);C(2,smb,2,1,"ng-container",3)(3,tmb,2,2,"ng-container",3)(4,umb,1,0,"ng-container",3);G();C(5,vmb,23,13,"div",4);G();C(6,wmb,1,2,"ng-template",null,0,yg)}a&2&&(ng("cardTitle",b.name),D("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),z(),D("ngSwitch",IJc(b)),z(),D("ngSwitchCase","enum"),z(),D("ngSwitchCase","numeric"),z(),D("ngSwitchCase","empty"),z(),D("ngIf",b.enableAggregationRules&&b.estimatedEffortFieldEnabled))},dependencies:function(){return[Gv,Kv,Hv,Iv,zB,Wy,kM,pE,N2,LH,OH,mM,nM,oM,Kx,Y2,Z2,c3]},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 KJc=[{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}],LJc=[{label:"XS",value:1},{label:"S",value:3},{label:"M",value:5},{label:"L",value:10},{label:"XL",value:20}],GJc={displayText:"Story points",icon:"story-point-24px"},HJc={displayText:"T-shirt sizes",icon:"t-shirt-24px"},a3={displayText:"Time",icon:"time-24px"},c3=function(){};
c3.prototype.transform=function(a){switch(a){case "MAX":return"Max Point";default:return"Simple Sum"}};c3.\u0275fac=function(a){return new (a||c3)};c3.\u0275pipe=gd({name:"aggregationRuleText",type:c3,pure:!0});var MJc=function(){this.disabled=!1;this.updateComponent=new XF};MJc.\u0275fac=function(a){return new (a||MJc)};
MJc.\u0275cmp=p({type:MJc,selectors:[["b-component-standard-fields"]],inputs:{effortSpec:"effortSpec",parentEffortSpec:"parentEffortSpec",disabled:"disabled"},outputs:{updateComponent:"updateComponent"},decls:4,vars:3,consts:[[1,"padded","field-container"],[1,"margin-bottom"],[3,"updateEffortSpec","effortSpec","parentEffortSpec","disabled"]],template:function(a,b){a&1&&(F(0,"div",0)(1,"div",1),R(2,"Once activated, standard fields appear in the right panel of all issues."),G(),F(3,"b-estimated-effort-config",
2),M("updateEffortSpec",function(c){b.updateComponent.emit(c)}),G()());a&2&&(z(3),D("effortSpec",b.effortSpec)("parentEffortSpec",b.parentEffortSpec)("disabled",b.disabled))},dependencies:[b3],styles:[".field-container[_ngcontent-%COMP%]{max-width:1100px}"]});var d3=function(){};d3.\u0275fac=function(a){return new (a||d3)};d3.\u0275mod=dd({type:d3});d3.\u0275inj=Ic({imports:[BB,TV,ML,jM,O2,aM,qM,eX]});var e3=function(){};e3.\u0275fac=function(a){return new (a||e3)};e3.\u0275mod=dd({type:e3});e3.\u0275inj=Ic({imports:[BB,O2,d3]});var f3=function(a){var b=this;this.teamsService=a;this.anchorTarget="_blank";this.useInternalLink=this.isTopLevel=this.isAdmin=!1;this.modelChange=new XF;this.inherit=!1;this.selectedTeam$=new W.Subject;this.teamIdChanged$=new W.ReplaySubject(1);this.placeholder$=this.teamIdChanged$.pipe(y(function(c){return c==="0"?!b.isAdmin||!b.isTopLevel&&b.inherit?"No team selected":"Type to search for a team (leave blank to disable)":""}),of(""));this.teamFromId$=this.teamIdChanged$.pipe(pf(function(c){return c===
"0"?(0,W.of)(new Gib([c],[""],"")):hH(b.teamsService,c).pipe(y(function(d){return new Gib([],d.collapsedPathNames,d.description)}))}));this.displayedTeam$=(0,W.merge)(this.teamFromId$,this.selectedTeam$);this.warningType$=this.teamIdChanged$.pipe(pf(function(c){return c==="0"?(0,W.of)("MISSING"):b.teamsService.getTeam(c).pipe(y(function(d){return!d||d.deleted?"DELETED":"VALID"}))}))};
f3.prototype.updateSelectionOnChange=function(a){Gn("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);NJc(this)};var NJc=function(a){a.inherit=a.model.inherit;a.teamIdChanged$.next(a.model.id)};f3.prototype.ngOnInit=function(){Object.assign({},this.model);NJc(this)};var Amb=function(a){return a.model.id&&a.model.id!=="0"};
f3.prototype.getMomaTeamLink=function(){return Amb(this)?"https://moma.corp.google.com/team/"+this.model.id:null};f3.\u0275fac=function(a){return new (a||f3)(A(gH))};
f3.\u0275cmp=p({type:f3,selectors:[["b-component-team-picker"]],inputs:{parentModel:"parentModel",model:"model",anchorTarget:"anchorTarget",isAdmin:"isAdmin",isTopLevel:"isTopLevel",useInternalLink:"useInternalLink"},outputs:{modelChange:"modelChange"},decls:13,vars:13,consts:[["externalLink",""],[4,"ngIf"],["class","edit-field",4,"ngIf"],[1,"edit-field","component-team-id-select"],["for","component-team-id"],["id","component-team-id","panelWidth","479px",3,"onTeamSelect","onEmptyQuery","placeholder",
"disabled","teamSelected"],[4,"ngIf","ngIfElse"],["class","team-warning",4,"ngIf"],[1,"team-warning"],[3,"warningType","messageOnly"],[1,"edit-field"],[3,"change","disabled","checked"],["mat-icon-button","","class","small","aria-label","Go to Team page.","matTooltip","Go to Team page.",3,"routerLink","target","click",4,"ngIf"],["mat-icon-button","","aria-label","Go to Team page.","matTooltip","Go to Team page.",1,"small",3,"click","routerLink","target"],["svgIcon","pop-out",1,"icon-s"],["mat-icon-button",
"","class","small","target","_blank","aria-label","Go to Moma Team page.","matTooltip","Go to Moma Team page.",3,"click",4,"ngIf"],["mat-icon-button","","target","_blank","aria-label","Go to Moma Team page.","matTooltip","Go to Moma Team page.",1,"small",3,"click"]],template:function(a,b){if(a&1){var c=u();F(0,"div");C(1,ymb,2,1,"ng-container",1);T(2,"async");C(3,zmb,3,2,"div",2);F(4,"div",3)(5,"label",4);R(6,"Team selection");G();F(7,"b-team-picker",5);T(8,"async");T(9,"async");M("onTeamSelect",
function(d){v(c);return x(b.updateSelectionOnChange(d))})("onEmptyQuery",function(){v(c);b.model.id="0";b.modelChange.emit(b.model);NJc(b);return x()});G();C(10,Cmb,2,1,"ng-container",6);G()();C(11,Emb,1,1,"ng-template",null,0,yg)}a&2&&(a=Q(12),z(),D("ngIf",V(2,7,b.warningType$)),z(2),D("ngIf",!b.isTopLevel),z(4),D("placeholder",V(8,9,b.placeholder$))("disabled",!b.isAdmin||!b.isTopLevel&&b.inherit)("teamSelected",V(9,11,b.displayedTeam$)),z(3),D("ngIf",b.useInternalLink)("ngIfElse",a))},dependencies:[Gv,
zB,rB,QH,RH,LH,OH,n2,N_,IH,Ux,Lv],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 g3=function(){};g3.\u0275fac=function(a){return new (a||g3)};g3.\u0275mod=dd({type:g3});g3.\u0275inj=Ic({imports:[BB,LP,jM,aM,q2,Q0,My,dJ]});var h3=function(){};h3.\u0275fac=function(a){return new (a||h3)};h3.\u0275mod=dd({type:h3});h3.\u0275inj=Ic({imports:[BB,QV,fJ,O0]});var i3=function(){};i3.\u0275fac=function(a){return new (a||i3)};i3.\u0275mod=dd({type:i3});i3.\u0275inj=Ic({imports:[BB,My,dJ,fJ,TV,lM,XV]});var j3=function(){};j3.\u0275fac=function(a){return new (a||j3)};j3.\u0275mod=dd({type:j3});j3.\u0275inj=Ic({imports:[BB,My,ML,TV,lM,fJ]});var k3=function(a,b,c){this.data=a;this.dialogRef=b;this.liveAnnouncer=c;this.originalFields=[];this.fields=[];this.fieldOrdering="FIELD_ORDERING_UNSPECIFIED";this.grabbed=this.hasChanges=!1;this.originalFields=a.fields.concat();this.fields=a.fields.concat();this.fieldOrdering=a.orderingCustomized},OJc=function(a){a.fields.sort(function(b,c){return b.name.localeCompare(c.name)});a.detectChanges()};k3.prototype.drop=function(a){Wp(this.fields,a.previousIndex,a.currentIndex);this.detectChanges()};
var Fmb=function(a,b){return b>0?(Wp(a.fields,b,b-1),a.detectChanges(),!0):!1},Gmb=function(a,b){return b<a.fields.length-1?(Wp(a.fields,b,b+1),a.detectChanges(),!0):!1};k3.prototype.trackByFn=function(){return-1};k3.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.")};
k3.prototype.onKeyDown=function(a,b){switch(a.key){case " ":a.preventDefault();PJc(this,b);break;case "Tab":this.grabbed&&PJc(this,b);break;case "ArrowUp":QJc(this,a);break;case "ArrowDown":QJc(this,a)}};
var PJc=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."))},QJc=function(a,b){if(a.grabbed){var c=document.activeElement;if(c&&a.grabbedIndex!==void 0){if(b.key==="ArrowUp"){if(Fmb(a,a.grabbedIndex)){var d=c.previousElementSibling;
a.grabbedIndex--}}else Gmb(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."))}}};k3.prototype.detectChanges=function(){this.hasChanges=!pi(this.fields,this.originalFields)};k3.\u0275fac=function(a){return new (a||k3)(A(vI),A(pI),A(vw))};
k3.\u0275cmp=p({type:k3,selectors:[["b-field-reorder-dialog"]],decls:14,vars:3,consts:[["mat-dialog-title",""],[1,"flex-kids-x","space-between","align-items-center"],[1,"margin-none"],["mat-icon-button","","aria-label","Sorts the fields alphabetically","matTooltip","Sort alphabetically",3,"click"],["svgIcon","sort_by_alpha_24px"],["mat-dialog-content",""],["cdkDropList","",3,"cdkDropListDropped"],["cdkDrag","","tabindex","0",3,"keydown","focus",4,"ngFor","ngForOf","ngForTrackBy"],["mat-dialog-actions",
""],["mat-stroked-button","",1,"gmat-button","medium","cancel",3,"click"],["mat-flat-button","","color","primary",1,"gmat-button","medium","dialog-primary-action","save",3,"click","disabled"],["cdkDrag","","tabindex","0",3,"keydown","focus"],["cdkDragHandle","","svgIcon","drag-indicator",1,"drag-handle"],[1,"arrows"],["mat-icon-button","","aria-label","Move the field up",3,"click"],["svgIcon","arrow-up"],["mat-icon-button","","aria-label","Move the field down",3,"click"],["svgIcon","arrow-down"]],
template:function(a,b){a&1&&(F(0,"div",0)(1,"div",1)(2,"h1",2),R(3," Reorder custom fields "),G(),F(4,"button",3),M("click",function(){return OJc(b)}),H(5,"mat-icon",4),G()()(),F(6,"div",5)(7,"ol",6),M("cdkDropListDropped",function(c){return b.drop(c)}),C(8,Hmb,9,7,"li",7),G()(),F(9,"div",8)(10,"button",9),M("click",function(){return b.dialogRef.close()}),R(11," Cancel "),G(),F(12,"button",10),M("click",function(){return b.dialogRef.close(b.fields)}),R(13," Save "),G()());a&2&&(z(8),D("ngForOf",b.fields)("ngForTrackBy",
b.trackByFn),z(4),D("disabled",b.fieldOrdering==="CUSTOMIZED"&&!b.hasChanges))},dependencies:[Fv,zB,IH,Rx,Tx,zI,BI,AI,dX,cX,ZW,LH,OH],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 l3=function(a,b,c,d,e){this.matDialog=a;this.confirmationDialog=b;this.fieldConfigService=c;this.analytics=d;this.butterBar=e;this.fields=[];this.isAdmin=!1;this.onReload=new XF;this.displayedColumn=["index","name","type","required","customFieldId"]},Vmb=function(a){return qI(a.matDialog.open(k3,{width:"500PX",autoFocus:!1,data:{fields:a.fields,orderingCustomized:a.fieldOrdering}})).subscribe(function(b){b&&RJc(a,b)})},Wmb=function(a){a.confirmationDialog.open({title:"Reset ordering?",content:wh("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()}})},RJc=function(a,b){a.analytics.trackEvent("fieldOrdering","reorderFields");var c=b.map(function(d){return{customFieldId:d.customFieldId}});a.componentId?(Ap(a.butterBar,"Saving...",0),a.fieldConfigService.reorder(a.componentId,c).subscribe(function(){Ap(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.")};
l3.prototype.reset=function(){var a=this;this.analytics.trackEvent("fieldOrdering","resetFields");this.componentId?(Ap(this.butterBar,"Resetting orderings..."),this.fieldConfigService.executor.post({url:"action/components/"+this.componentId+"/unorder",body:null,responseConstructor:null}).subscribe(function(){Ap(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.")};
l3.\u0275fac=function(a){return new (a||l3)(A(wI),A(EI),A(S2),A(bG),A(sE))};
l3.\u0275cmp=p({type:l3,selectors:[["b-field-reorder"]],inputs:{fields:"fields",componentId:"componentId",fieldOrdering:"fieldOrdering",isAdmin:"isAdmin"},outputs:{onReload:"onReload"},decls:22,vars:5,consts:[[1,"field-reorder-panel"],[1,"field-order-table"],["mat-table","",3,"dataSource"],["matColumnDef","index"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","name"],["matColumnDef","type"],["matColumnDef","required"],["matColumnDef","customFieldId"],["mat-header-row",
"",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["class","no-data-row",4,"ngIf"],["class","edit-button-row",4,"ngIf"],["mat-header-cell",""],["mat-cell",""],["mat-header-row",""],["mat-row",""],[1,"no-data-row"],[1,"edit-button-row"],["mat-flat-button","","color","primary",1,"gmat-button","medium",3,"click","disabled"]],template:function(a,b){a&1&&(F(0,"div",0)(1,"div",1)(2,"table",2),K(3,3),C(4,Imb,2,0,"th",4)(5,Jmb,2,1,"td",5),L(),K(6,6),C(7,Kmb,2,0,"th",4)(8,Lmb,2,1,"td",
5),L(),K(9,7),C(10,Mmb,2,0,"th",4)(11,Nmb,3,3,"td",5),L(),K(12,8),C(13,Omb,2,0,"th",4)(14,Pmb,2,1,"td",5),L(),K(15,9),C(16,Qmb,2,0,"th",4)(17,Rmb,2,1,"td",5),L(),C(18,Smb,1,0,"tr",10)(19,Tmb,1,0,"tr",11),G(),C(20,Umb,2,0,"div",12),G(),C(21,Xmb,6,2,"div",13),G());a&2&&(z(2),D("dataSource",b.fields),z(16),D("matHeaderRowDef",b.displayedColumn),z(),D("matRowDefColumns",b.displayedColumn),z(),D("ngIf",b.fields.length===0),z(),D("ngIf",b.isAdmin))},dependencies:[Gv,IH,Rx,lR,jS,WR,cS,ZR,VR,eS,$R,bS,fS,
hS,zN],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 m3=function(){};m3.\u0275fac=function(a){return new (a||m3)};m3.\u0275mod=dd({type:m3});m3.\u0275inj=Ic({providers:[EI],imports:[BB,ML,fJ]});var n3=function(){};n3.\u0275fac=function(a){return new (a||n3)};n3.\u0275mod=dd({type:n3});n3.\u0275inj=Ic({imports:[BB,dJ,YS,fJ,FS,eX,aM,jN,m3,BN]});var o3=function(a){this.analytics=a;this.filename=this.packageName=this.issueId="";this.lineNumbers=[];this.changeNumber=0},Zmb=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="+SJc+a.issueId+TJc;a.changeNumber&&(c+="&rcl="+a.changeNumber);Array.isArray(b)?c+="&l="+b.join(","):b&&(c+="&l="+b);return c}};
o3.prototype.trackClick=function(a){this.analytics.trackEvent("codeMentions","clickCodeSearchLink",a)};o3.\u0275fac=function(a){return new (a||o3)(A(bG))};
o3.\u0275cmp=p({type:o3,selectors:[["b-file-mention"]],inputs:{issueId:"issueId",packageName:"packageName",filename:"filename",lineNumbers:"lineNumbers",changeNumber:"changeNumber"},decls:5,vars:4,consts:[[1,"bv2-file-mention"],["target","_blank",1,"bv2-file-mention-filename",3,"click","href"],[4,"ngIf"],[1,"bv2-file-mention-line-number-list"],["class","bv2-file-mention-line-number",4,"ngFor","ngForOf"],[1,"bv2-file-mention-line-number"],["target","_blank",3,"click","href"]],template:function(a,b){a&
1&&(F(0,"div",0)(1,"a",1),M("click",function(){return b.trackClick("fileName")}),R(2),G(),C(3,Ymb,2,1,"span",2)(4,anb,5,1,"span",2),G());a&2&&(z(),D("href",Zmb(b,b.lineNumbers),Qe),z(),S(" ",b.filename," "),z(),D("ngIf",!(b.lineNumbers.length<=10&&b.packageName!="wiki")),z(),D("ngIf",b.lineNumbers.length<=10&&b.packageName!="wiki"))},dependencies:[Fv,Gv],encapsulation:2});var SJc=encodeURIComponent("content:(https?://)?b(uganizer)?(\\.corp(\\.google\\.com)?)?/(issues/|issue\\?id=)?"),TJc=encodeURIComponent("(\\b|$)");var p3=function(){};p3.\u0275fac=function(a){return new (a||p3)};p3.\u0275mod=dd({type:p3});p3.\u0275inj=Ic({imports:[BB]});var UJc=function(){return{width:400}},VJc=function(){return[]},q3=function(a,b,c,d,e,f){var h=this;this.bLocation=b;this.analytics=c;this.activeSession=d;this.componentActions=e;this.cdr=f;this.includeArchived$=new W.BehaviorSubject(!1);this.createComponentPath=zo.createComponent.makeHref();this.trackerRootComponent$=(0,W.defer)(function(){return(0,W.of)(h.activeSession.getTracker())}).pipe(pf(function(k){return k?h.componentActions.get(Number(k.componentId)):(0,W.of)(void 0)}));this.topLevelComponents$=
(0,W.combineLatest)([this.trackerRootComponent$,this.includeArchived$]).pipe(pf(function(k){var q=l(k);k=q.next().value;q=q.next().value;var t;return h.componentActions.getChildren((t=k==null?void 0:k.parentComponentId)!=null?t:0,q)}));a.componentId&&dnb(this,Number(a.componentId),(0,W.firstValueFrom)(this.topLevelComponents$));this.isInternalSession=d.isInternalSession()},dnb=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=l(e),k=h.next();!k.done;k=h.next())k=k.value,f[k]=a.componentActions.getChildren(k,a.includeArchived);return pp(f).then(function(q){for(var t=q[0],w=0,B=l(e),E=B.next(),I={};!E.done;I={parentId$jscomp$27:void 0},E=B.next()){I.parentId$jscomp$27=E.value;E=void 0;var J=(E=t.find(function(N){return function(P){return P.componentId===N.parentId$jscomp$27}}(I)))!=null?E:null;J&&(J.children=q[I.parentId$jscomp$27],J.showChildren=!0,t=J.children,w=J.componentId)}d.archived&&!a.includeArchived&&
(b=w);a.cdr.detectChanges();setTimeout(function(){a.componentTree.fireSelectionEvent(b)})})})};ea.Object.defineProperties(q3.prototype,{includeArchived:{configurable:!0,enumerable:!0,get:function(){return this.includeArchived$.value}}});q3.\u0275fac=function(a){return new (a||q3)(A(iJ),A(oN),A(bG),A(Ir),A(UU),A(YF,2))};
q3.\u0275cmp=p({type:q3,selectors:[["b-list-components-page"]],features:[qg([YF])],decls:16,vars:15,consts:[["componentPickerTemplate",""],[1,"a11y-only"],[1,"kd-appbar","kd-buttonbar"],[1,"bv2-appbar-left"],["mat-button","","class","gmat-button",3,"href",4,"ngIf"],["mat-button","","dialogLabel","Components","panelClass","overflow-visible-inline-dialog-panel",1,"gmat-button",3,"xapInlineDialogClick","overlaySize"],["id","bv2-issue-showarchived-button",4,"ngIf"],[1,"bv2-view"],["class","bv2-view-loading",
4,"ngIf"],[1,"top-tree",3,"init","components","includeArchived"],["mat-button","",1,"gmat-button",3,"href"],[1,"component-picker-dialog"],["ariaLabel","Choose a component to navigate to that component.",3,"selectedComponentChange","includeArchived","placeholder","shouldFocus","isRequired"],["id","bv2-issue-showarchived-button"],["label","Show archived",3,"modelChange","model","tooltip"],[1,"bv2-view-loading"],["size","small"]],template:function(a,b){if(a&1){var c=u();F(0,"h2",1);R(1,"Browse Components");
G();F(2,"div",2)(3,"div",3);C(4,bnb,2,1,"a",4);F(5,"button",5);R(6," Search Components ");G();C(7,cnb,4,6,"ng-template",null,0,yg)(9,enb,3,4,"div",6);G()();F(10,"div",7);C(11,fnb,2,0,"div",8);T(12,"async");F(13,"component-tree-list",9);T(14,"async");T(15,"async");M("init",function(h){v(c);return x(b.componentTree=h)});G()()}if(a&2){var d,e,f;a=Q(8);z(4);D("ngIf",b.isInternalSession);z();D("xapInlineDialogClick",a)("overlaySize",tg(13,UJc));z(4);D("ngIf",b.isInternalSession);z(2);D("ngIf",!((d=V(12,
7,b.topLevelComponents$))!==null&&d!==void 0&&d));z(2);D("components",(e=V(14,9,b.topLevelComponents$))!==null&&e!==void 0?e:tg(14,VJc))("includeArchived",(f=V(15,11,b.includeArchived$))!==null&&f!==void 0?f:!1)}},dependencies:[Gv,RQ,tU,sU,wU,LW,oE,pE,EW,bV,Lv],styles:[".component-picker-dialog[_ngcontent-%COMP%]{width:400px}.component-picker-dialog[_ngcontent-%COMP%]     input{box-sizing:border-box}"]});var r3=function(){};r3.\u0275fac=function(a){return new (a||r3)};r3.\u0275mod=dd({type:r3});r3.\u0275inj=Ic({imports:[BB,AS,HU,IU,KU,LP,MW,ML,GW,fV]});var WJc=function(){this.issueId="";this.packageMentionSet={packageName:"",fileMentionSet:[]};this.displayPackageName=!1};WJc.\u0275fac=function(a){return new (a||WJc)};
WJc.\u0275cmp=p({type:WJc,selectors:[["b-package-mentions-listing"]],inputs:{issueId:"issueId",packageMentionSet:"packageMentionSet",displayPackageName:"displayPackageName"},decls:4,vars:2,consts:[[1,"bv2-package-mention-set"],["class","bv2-package-mention-set-package-name",4,"ngIf"],[4,"ngFor","ngForOf"],[1,"bv2-package-mention-set-package-name"],[3,"issueId","packageName","filename","lineNumbers","changeNumber"]],template:function(a,b){a&1&&(F(0,"div",0),C(1,gnb,2,1,"p",1),F(2,"ul"),C(3,hnb,2,5,
"li",2),G()());a&2&&(z(),D("ngIf",b.displayPackageName),z(2),D("ngForOf",b.packageMentionSet.fileMentionSet))},dependencies:[Fv,Gv,o3],encapsulation:2});var s3=function(){};s3.\u0275fac=function(a){return new (a||s3)};s3.\u0275mod=dd({type:s3});s3.\u0275inj=Ic({imports:[BB,p3]});var t3=function(){};t3.\u0275fac=function(a){return new (a||t3)};t3.\u0275mod=dd({type:t3});t3.\u0275inj=Ic({imports:[BB,My,ML,fJ,TV,sP,lM]});var u3=function(a,b){this.documentationLinks=a;this.dateFormatter=b;this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc";this.retentionModel=U3b;this.label="Restricted";this.contentType="item"};u3.prototype.getRetentionPeriod=function(){return this.retentionState&&this.retentionState.retentionPeriod?Gm(Math.floor(this.retentionState.retentionPeriod.seconds*1E3/864E5)):""};
var jnb=function(a){var b=new Date(864E13);return a.retentionState&&a.retentionState.scheduledDeletionTime?new Date(Fm(a.retentionState.scheduledDeletionTime)||b):b},XJc=function(a){return a.retentionState&&a.retentionState.scheduledDeletionTime?Fm(a.retentionState.scheduledDeletionTime)-Date.now()<12096E5:!1};u3.\u0275fac=function(a){return new (a||u3)(A(oI),A(RM))};
u3.\u0275cmp=p({type:u3,selectors:[["b-restricted-chip"]],inputs:{label:"label",contentType:"contentType",retention:"retention",retentionState:"retentionState"},decls:11,vars:5,consts:[["bubble",""],["popup",""],["infiniteRetention",""],["hasExpiredText",""],[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"],[3,"ngSwitch",
4,"ngIf"],[3,"ngSwitch"],[4,"ngIf","ngIfElse"],[3,"ngSwitchCase"]],template:function(a,b){if(a&1){var c=u();F(0,"xap-bubble",4,0)(2,"div",5);M("focus",function(){v(c);var d=Q(1);return x(d.toggle(!0))})("blur",function(){v(c);var d=Q(1);return x(d.toggle(!1))});H(3,"mat-icon",6);R(4);G();C(5,onb,8,4,"ng-template",null,1,yg)(7,pnb,3,1,"ng-template",null,2,yg)(9,qnb,8,5,"ng-template",null,3,yg);G()}a&2&&(a=Q(6),D("panelTemplate",a),z(2),Kf("warning",XJc(b)),z(),D("svgIcon",XJc(b)?"delete-alert":"delete-clock"),
z(),S(" ",b.label," "))},dependencies:[Gv,Hv,Iv,zB,xN,Ov],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 v3=function(a,b,c){this.dialogRef=a;this.documentationLinks=b;this.data=c;this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc"};v3.prototype.onNoClick=function(){this.dialogRef.close(!1)};v3.\u0275fac=function(a){return new (a||v3)(A(pI),A(oI),A(vI))};
v3.\u0275cmp=p({type:v3,selectors:[["b-restricted-confirmation-dialog"]],decls:12,vars:5,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["target","_blank","aria-label","Learn more about restricted access",3,"rel"],["mat-dialog-actions",""],["mat-button","",1,"gmat-button","medium","restricted-confirmation-dialog-cancel",3,"click"],["mat-flat-button","","color","primary","cdkFocusInitial","",1,"gmat-button","medium","dialog-primary-action","restricted-confirmation-dialog-confirm",3,"mat-dialog-close"]],
template:function(a,b){a&1&&(F(0,"h1",0),R(1),G(),F(2,"div",1)(3,"p"),R(4),F(5,"a",2),R(6," Learn More "),G()()(),F(7,"div",3)(8,"button",4),M("click",function(){return b.onNoClick()}),R(9," Cancel "),G(),F(10,"button",5),R(11," Confirm "),G()());a&2&&(z(),lg(b.data.title),z(3),S(" ",b.data.content," "),z(),D("rel",b.EXTERNAL_LINK_REL),Bf("href",b.documentationLinks.getRestrictedAccessHelpLink(),Qe),z(5),D("mat-dialog-close",!0))},dependencies:[oE,xI,zI,BI,AI],encapsulation:2});var w3=function(a,b){this.dialog=a;this.documentationLinks=b;this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc";this.disabled=!1;this.onConfirm=new XF};
w3.prototype.openDialog=function(){var a=this;qI(this.dialog.open(v3,{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()})};w3.\u0275fac=function(a){return new (a||w3)(A(wI),A(oI))};
w3.\u0275cmp=p({type:w3,selectors:[["b-restricted-comment-placeholder"]],inputs:{disabled:"disabled"},outputs:{onConfirm:"onConfirm"},decls:5,vars:3,consts:[["mat-stroked-button","","color","primary",1,"gmat-button","small","restricted-comment-load",3,"click","disabled"],["target","_blank","aria-label","Learn more about restricted access",3,"rel"]],template:function(a,b){a&1&&(F(0,"span")(1,"button",0),M("click",function(){return b.openDialog()}),R(2," Show Restricted Content "),G(),F(3,"a",1),R(4,
" Learn More "),G()());a&2&&(z(),D("disabled",b.disabled),z(2),D("rel",b.EXTERNAL_LINK_REL),Bf("href",b.documentationLinks.getRestrictedAccessHelpLink(),Qe))},dependencies:[oE],styles:[".mat-stroked-button[_ngcontent-%COMP%]{margin-right:1em}/*# sourceMappingURL=restricted_comment_placeholder.css.map */"],changeDetection:0});var x3=function(){};x3.\u0275fac=function(a){return new (a||x3)};x3.\u0275mod=dd({type:x3});x3.\u0275inj=Ic({imports:[BB,ZL,ML,fJ,NP,lM,PP,aM,FS,GS,jM,My,CN]});var y3=function(a){this.activeSession=a};y3.prototype.ngOnInit=function(){};var YJc=function(){var a=window.location.href;return a=a.replace(/\/u\/(\d+)\//,"/")};y3.\u0275fac=function(a){return new (a||y3)(A(Ir))};
y3.\u0275cmp=p({type:y3,selectors:[["b-tracker-account-menu-hack"]],decls:13,vars:4,consts:[["accountHackMenu","matMenu"],["aria-label","Open account menu",1,"tracker-account-hack-button",3,"matMenuTriggerFor"],["xPosition","before"],[1,"padded-s-x","text-center"],["class","padded-s-y",4,"ngIf"],[1,"padded-s-y"],[3,"href"],[1,"padded-s-y",3,"href"]],template:function(a,b){a&1&&(H(0,"button",1),F(1,"mat-menu",2,0)(3,"div",3),C(4,rnb,2,1,"div",4),H(5,"hr"),F(6,"div",5)(7,"a",6),R(8,"Switch accounts"),
G()(),H(9,"hr"),F(10,"div",5)(11,"a",7),R(12,"Sign out of all accounts"),G()()()());a&2&&(a=Q(2),D("matMenuTriggerFor",a),z(4),D("ngIf",b.activeSession.getUserEmail()),z(3),D("href","https://accounts.google.com/AccountChooser?hl=en&osid=1&continue="+encodeURIComponent(YJc()),Qe),z(4),D("href","https://accounts.google.com/Logout?hl=en&continue="+encodeURIComponent(YJc()),Qe))},dependencies:[Gv,QL,TL,UL],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 z3=function(){Z.apply(this,arguments);this.trackerCheckboxValues={}};X(z3,Z);z3.\u0275dir=Z.\u0275dir;z3.prototype.ngOnChanges=function(a){if(a.currentTrackerId){this.trackerCheckboxValues={};var b;a=l((b=this.availableTrackers)!=null?b:[]);for(b=a.next();!b.done;b=a.next())b=b.value,this.currentTrackerId===b.trackerId?this.trackerCheckboxValues[b.trackerId]=!0:this.trackerCheckboxValues[b.trackerId]=!1}};var ZJc=function(a){return Object.keys(rc(a.trackerCheckboxValues,function(b){return b}))};
z3.\u0275fac=function(){var a;return function(b){return(a||(a=Od(z3)))(b||z3)}}();
z3.\u0275cmp=p({type:z3,selectors:[["b-tracker-search"]],inputs:{currentTrackerId:"currentTrackerId",availableTrackers:"availableTrackers"},features:[zf,td],decls:8,vars:4,consts:[[1,"bv2-tracker-search"],[1,"bv2-adv-search-rule","bv2-adv-tracker-search-rule"],[1,"bv2-adv-tracker-search-rule-title"],["class","bv2-adv-tracker-search-rule-error",4,"ngIf"],[1,"bv2-adv-search-enum-rule"],["class","bv2-adv-search-enum-item",4,"ngFor","ngForOf"],[1,"bv2-adv-tracker-search-rule-error"],[1,"bv2-adv-search-enum-item"],
["gmat-checkbox","",3,"change","checked"]],template:function(a,b){a&1&&(F(0,"div",0)(1,"div",1)(2,"div",2)(3,"span"),R(4,"Select a tracker"),G(),C(5,snb,2,0,"span",3),G(),F(6,"div",4),C(7,tnb,3,2,"div",5),G()()());a&2&&(Kf("hidden",!(b.availableTrackers&&b.availableTrackers.length>1)),z(5),D("ngIf",ZJc(b).length===0),z(2),D("ngForOf",b.availableTrackers))},dependencies:[Fv,Gv,QH,RH],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 A3=function(a,b,c,d,e,f){Z.call(this);var h=this;this.analytics=b;this.location=c;this.prefsManager=e;this.domSafe=f;this.prefsManager.preferences$.pipe(qf(this.destroyed$)).subscribe(function(k){h.prefs=k});a.topBarEvents.browseComponents.pipe(qf(this.destroyed$)).subscribe(function(k){k=k.newTab;$Jc(h,zo.listComponents.makeHref(),k)});a.topBarEvents.manageHotlists.pipe(qf(this.destroyed$)).subscribe(function(k){k=k.newTab;$Jc(h,zo.listHotlists.makeHref(),k)});a.topBarEvents.manageSlos.pipe(qf(this.destroyed$)).subscribe(function(k){k=
k.newTab;$Jc(h,zo.listSlos.makeHref(),k)});a.topBarEvents.setDensity.pipe(qf(this.destroyed$)).subscribe(function(k){h.setDensity(k)});a.topBarEvents.openSettings.pipe(qf(this.destroyed$)).subscribe(function(k){var q=k.newTab;$Jc(h,d.settings(k.settingsTabName),q)})};X(A3,Z);A3.\u0275dir=Z.\u0275dir;var $Jc=function(a,b,c){c?a.domSafe.openInNewTab(b):a.location.setUrl(b)};
A3.prototype.setDensity=function(a){this.prefs.themePreferences&&(this.prefs.themePreferences.density=a,this.prefsManager.save(this.prefs).pipe(ef(),qf(this.destroyed$)).subscribe(),this.analytics.trackEvent("preferences","setDisplayDensity",a))};A3.\u0275fac=function(a){return new (a||A3)(n(yE),n(bG),n(oN),n(pN),n(rH),n(FH))};A3.\u0275prov=Hc({token:A3,factory:A3.\u0275fac,providedIn:"root"});var B3=function(a,b,c,d,e,f,h,k,q,t,w,B){Z.call(this);var E=this;this.activeSession=a;this.searchAcData=b;this.savedSearchApi=c;this.butterBar=d;this.bLocation=e;this.paths=f;this.analytics=h;this.appEvents=q;this.appSearchState=t;this.trackerFridge=w;this.errorHandler=B;this.items=[];this.acHeader=null;this.currentQuery="";this.enableTrackersAccountHack=this.activeSession.getFlag("enableTrackersAccountHack");this.currentTracker=this.activeSession.getTracker();this.associatedTrackers$=(0,W.defer)(function(){var I,
J;return(0,W.of)((J=(I=E.currentTracker)==null?void 0:I.associatedTrackerIds)!=null?J:[])}).pipe(pf(this.trackerFridge.watchSet));this.availableTrackers$=this.associatedTrackers$.pipe(y(function(I){return E.currentTracker?[E.currentTracker].concat(r(I)):[]}));this.frontendAccessMode=this.activeSession.getFrontendAccessMode();this.environmentType=this.activeSession.getEnvironmentType();this.searchAcData.acRefreshed$.pipe(qf(this.destroyed$)).subscribe(function(){E.items=E.searchAcData.items;E.acHeader=
E.searchAcData.acHeader});this.trackerFridge.error$.pipe(qf(this.destroyed$)).subscribe(function(I){I.status!==403&&E.errorHandler.errorHandler(null,I)})};X(B3,Z);B3.\u0275dir=Z.\u0275dir;var aKc=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"}};
B3.prototype.ngOnInit=function(){var a=this;this.appSearchState.queryState$.pipe(qf(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("gf");e=new VGc(f,h);if(f){var k=f.slice(0,h);for(var q=!1,t=-1,w=-1;(t=k.indexOf('"',t+1))>-1;)q=!q,w=t;k=q?w:-1;if(k>-1)e.value={val:f.slice(k,h),idx:k};else if(k=f.slice(h),q=k.search("\\s"),
(k=Lgb(f.slice(0,h)+(q>-1?k.slice(0,q):k),ZGc))?(k={negated:!!k[1],val:k[2].toLowerCase(),operator:k[3],idx:k.index-k[1].length-k[2].length-k[3].length},k.val.startsWith("customfield")&&(k.customFieldId=k.val.slice(11),k.val="customfield")):k=null,k){q=k.idx+(k.negated?1:0)+k.val.length+k.operator.length+(k.customFieldId?k.customFieldId.length:0);f=f.slice(q);t=Math.max(h-q,0);w=k;if(f.charAt(0)==="("){b:{w=[];for(var B=/[()]/g,E;(E=B.exec(f))!=null;){var I=w[w.length-1];if(I&&I!==E[0]){if(w.pop(),
!w.length){w=E.index>=t;break b}}else w.push(E[0])}w=!0}w=w?2:0}else w=WGc.includes(w.val)&&f.search("^\\d")===-1?1:0;switch(w){case 2:h=WGc.includes(k.val)?$q(f,t,"([()|]\\s*|OR\\s+|AND\\s+|NOT\\s+|-|\\b\\d+\\s+)","[()|\\s-]"):$q(f,t,"[()|\\s-]");/(OR|AND|NOT|-)$/.test(h.val)&&(h.val="",h.idx=t);e.value=h;break;case 1:e.value=$q(f,t,"[()|]","[()|,\\s]");break;case 0:e.value=$q(f,t,"[\\s()|]");f.slice(0,t).search("[\\s()|]")>-1&&(k=null,t=Lgb(f,"(?:\\s|^)(?:-?)(customfield|cf)"))&&(e.value=Kgb(f,
t.index-t[1].length,h));break;default:Dc(w,"unknown ValueType.")}e.value.idx+=q;e.label=k}else k=Lgb(f,"(?:\\s|^)(?:-?)(customfield|cf)"),e.value=k?Kgb(f,k.index-k[1].length,h):$q(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(y(function(c){return c.query}));this.appSearchState.searchTriggered$.pipe(tf(b),
qf(this.destroyed$)).subscribe(function(c){c=l(c);var d=c.next().value;c=c.next().value;var e=a.appSearchState;d=d===void 0?"":d;var f=jFa(c),h=f.filters,k=f.text,q=f.complexSyntax,t=f.resourceIds;f=[h,k,t].reduce(vn);h=[h?"filters":void 0,k?"text":void 0,t?"ids":void 0].filter(Boolean).join("-");q?e.track(d,"complex"):h?e.track(d,h,f):e.track(d,"UNHANDLED");d=Na(e.searchHandlerStack);d===void 0?e.$log.warn("No search function installed."):d(c)})};
B3.prototype.ngAfterViewInit=function(){aJc(this.advancedSearchCtrl,this.appSearchState.currentQuery)};var bKc=function(a){if(a.advancedSearchCtrl)return a.advancedSearchCtrl.getState()!=="SUCCESS"?a.currentQuery:hJc(a.advancedSearchCtrl).trim()};g=B3.prototype;g.onAdvancedSearchOpen=function(){this.advancedSearchCtrl&&(bKc(this)!==this.currentQuery||this.advancedSearchCtrl.getState()!=="SUCCESS")&&aJc(this.advancedSearchCtrl,this.currentQuery)};
g.onAdvancedSearchClose=function(){var a,b;this.appSearchState.selectedTrackerIds$.next((b=(a=this.trackerSearchCtrl)==null?void 0:ZJc(a))!=null?b:[]);this.advancedSearchCtrl&&(a=bKc(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:ZJc(a))!=null?b:[]);this.advancedSearchCtrl&&(a=bKc(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=bKc(this);c!==void 0&&(Ap(this.butterBar,"Saving saved search.",1E3),this.savedSearchApi.create(a,c).then(function(d){b.appEvents.savedSearchModified.next();d=d.searchId;Ap(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(nn(d))}))}};
g.isSearchDisabled=function(){return!!this.trackerSearchCtrl&&ZJc(this.trackerSearchCtrl).length===0};B3.\u0275fac=function(a){return new (a||B3)(A(Ir),A(u1),A(fF),A(sE),A(oN),A(pN),A(bG),A(A3),A(yE),A(xH),A(pH),A(uE))};
B3.\u0275cmp=p({type:B3,selectors:[["b-top-bar-outlet"]],viewQuery:function(a,b){a&1&&(fg(p2,5),fg(z3,5));if(a&2){var c;jg(c=kg())&&(b.advancedSearchCtrl=c.first);jg(c=kg())&&(b.trackerSearchCtrl=c.first)}},features:[zf],decls:7,vars:12,consts:[[3,"searchBoxOnAdvancedSearchOpen","searchBoxOnAdvancedSearchClose","searchBoxOnAdvancedSearchSubmit","searchBoxOnSaveSearch","logoFrontendAccessMode","logoEnvironmentType","searchBoxPlaceholder","searchBoxAutoCompleteItems","searchBoxAutoCompleteHeader","isSearchDisabled"],
[3,"currentTrackerId","availableTrackers",4,"ngIf"],[3,"isTrackerSearchEnabled"],["class","bv2-view-loading",4,"ngIf"],["class","bv2-validation-error-banner",4,"ngIf"],[4,"ngIf"],[3,"currentTrackerId","availableTrackers"],[1,"bv2-view-loading"],[1,"bv2-validation-error-banner"],["class","warning-container",4,"ngIf"],[1,"warning-container"],["svgIcon","alert"]],template:function(a,b){a&1&&(F(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)}),C(1,unb,2,4,"b-tracker-search",1),H(2,"b-advanced-search",2),C(3,vnb,4,0,"div",3)(4,ynb,3,2,"div",4)(5,znb,2,0,"div",4),G(),C(6,Anb,1,0,"b-tracker-account-menu-hack",5));a&2&&(D("logoFrontendAccessMode",b.frontendAccessMode)("logoEnvironmentType",b.environmentType)("searchBoxPlaceholder",aKc(b,b.currentTracker))("searchBoxAutoCompleteItems",
b.items)("searchBoxAutoCompleteHeader",b.acHeader)("isSearchDisabled",b.isSearchDisabled()),z(),D("ngIf",b.currentTracker),z(),D("isTrackerSearchEnabled",!b.currentTracker),z(),D("ngIf",(b.advancedSearchCtrl==null?null:b.advancedSearchCtrl.getState())==="INIT"),z(),D("ngIf",(b.advancedSearchCtrl==null?null:b.advancedSearchCtrl.getState())==="NOT_REPRESENTABLE"||(b.advancedSearchCtrl==null?null:b.advancedSearchCtrl.getState())==="SYNTAX_ERROR"),z(),D("ngIf",(b.advancedSearchCtrl==null?null:b.advancedSearchCtrl.getState())===
"SERVER_ERROR"),z(),D("ngIf",b.enableTrackersAccountHack&&!b.activeSession.isAnonymous()&&b.currentTracker))},dependencies:[Gv,zB,p2,z3,xJc,RQ,y3,Lv],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 C3=function(){};C3.\u0275fac=function(a){return new (a||C3)};C3.\u0275mod=dd({type:C3});C3.\u0275inj=Ic({imports:[BB,jM]});var D3=function(){};D3.\u0275fac=function(a){return new (a||D3)};D3.\u0275mod=dd({type:D3});D3.\u0275inj=Ic({imports:[BB,s2,C3,K2,AS,ZL]});var E3=function(a,b){this.dialogRef=a;this.data=b;this.userToDisplay=pm;this.DiffType=Z3b;this.updateDiffs=b.updateDiffs};E3.prototype.close=function(){this.dialogRef.close()};E3.\u0275fac=function(a){return new (a||E3)(A(pI),A(vI))};
E3.\u0275cmp=p({type:E3,selectors:[["b-update-history-modal"]],decls:6,vars:1,consts:[["mat-dialog-content","",1,"update-history-modal"],["tabindex","0",1,"update-history-list"],["class","bv2-event",4,"ngFor","ngForOf"],["mat-dialog-actions",""],["mat-button","",1,"gmat-button","medium",3,"click"],[1,"bv2-event"],[1,"bv2-event-user-image-cell"],[1,"bv2-event-user-image",3,"email"],[1,"bv2-event-content-cell"],[1,"bv2-event-user-name",3,"email"],[1,"bv2-event-info"],["mode","datetime",3,"timestamp"],
[1,"bv2-event-details"],["class","bv2-diff-detail",4,"ngFor","ngForOf"],[1,"bv2-diff-detail"],[4,"ngIf"],[1,"bv2-diff-arrow"],[4,"ngFor","ngForOf"]],template:function(a,b){a&1&&(F(0,"div",0)(1,"ul",1),C(2,Jnb,10,4,"li",2),G()(),F(3,"div",3)(4,"button",4),M("click",function(){return b.close()}),R(5," Close "),G()());a&2&&(z(2),D("ngForOf",b.updateDiffs))},dependencies:[Fv,Gv,oE,BI,AI,fN,$M,TM],styles:[".update-history-modal[_ngcontent-%COMP%]{word-break:break-word}.update-history-modal[_ngcontent-%COMP%]   .update-history-list[_ngcontent-%COMP%]{max-height:500px;overflow-y:auto;padding:0}.update-history-modal[_ngcontent-%COMP%]   .bv2-event[_ngcontent-%COMP%]{padding:0 0 10px}.update-history-modal[_ngcontent-%COMP%]   .bv2-event[_ngcontent-%COMP%]:not(:last-child){border-bottom:1px solid;border-bottom-color:#dadce0;border-bottom-color:var(--divider)}.update-history-modal[_ngcontent-%COMP%]   .bv2-event[_ngcontent-%COMP%]:last-child{border-bottom:none}.update-history-modal[_ngcontent-%COMP%]   .bv2-event[_ngcontent-%COMP%]   .bv2-event-details[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{width:auto}.update-history-modal[_ngcontent-%COMP%]   .bv2-event[_ngcontent-%COMP%]   .bv2-event-details[_ngcontent-%COMP%]   .bv2-diff-detail[_ngcontent-%COMP%]{margin-right:0}h4[_ngcontent-%COMP%]{margin:0;margin-bottom:8px;font-weight:normal}"]});var F3=function(){};F3.\u0275fac=function(a){return new (a||F3)};F3.\u0275mod=dd({type:F3});F3.\u0275inj=Ic({imports:[BB,ML,fJ,kN,UM]});var G3=function(a,b){this.$window=a;this.activeSession=b;this.faviconUrl=this.defaultFaviconUrl=zc("https://www.gstatic.com/buganizer/img/v4/favicon.png")};G3.\u0275fac=function(a){return new (a||G3)(n(EH),n(Ir))};G3.\u0275prov=Hc({token:G3,factory:G3.\u0275fac,providedIn:"root"});var cKc=O4b("edited-ids"),dKc=mya("edited-ids"),eKc=O4b("viewed-ids"),fKc=mya("viewed-ids"),H3=function(a){var b=this;this.appEvents=a;this.stop$=new W.Subject;this.edited=new Map;this.viewed=new Map;this.addViewed=function(c){Knb(b.viewed,c);eKc(Array.from(b.viewed.keys()).join(","))};this.addEdited=function(c){Knb(b.edited,c);cKc(Array.from(b.edited.keys()).join(","))}};H3.\u0275fac=function(a){return new (a||H3)(n(yE))};H3.\u0275prov=Hc({token:H3,factory:H3.\u0275fac,providedIn:"root"});var gKc=/^\s*[^:/?#]+:/i,hKc=/^#/i,I3=function(a){var b=this;this.bLocation=a;this.linkClickHandler=function(c){if(!(c.ctrlKey||c.metaKey||c.shiftKey||c.which===2||c.button===2||c.defaultPrevented)){var d;a:{for(d=c.target;d;){if(d.tagName==="A")break a;d=d.parentElement}d=void 0}if(d&&(!d.hasAttribute("target")||d.getAttribute("target")==="_self")&&(d=d.getAttribute("href"))&&!gKc.test(d))if(hKc.test(d)){b.bLocation.hash(d.substring(1));var e;(e=document.getElementById(d.substring(1)))==null||e.scrollIntoView();
c.stopPropagation();c.preventDefault()}else c.preventDefault(),b.bLocation.setUrl(d)}}};I3.prototype.install=function(){document.addEventListener("click",this.linkClickHandler)};I3.\u0275fac=function(a){return new (a||I3)(n(oN))};I3.\u0275prov=Hc({token:I3,factory:I3.\u0275fac,providedIn:"root"});var iKc=[],jKc=!1,J3=function(a,b,c,d,e,f,h,k,q){Z.call(this);this.hatsService=a;this.iconRegistry=b;this.session=c;this.appHistory=d;this.routePerformance=e;this.linkClickHandler=f;this.issueLru=h;this.faviconService=k;this.imageUrls=q};X(J3,Z);J3.\u0275dir=Z.\u0275dir;J3.prototype.tearDown=function(){Z.prototype.ngOnDestroy.call(this);document.removeEventListener("click",this.linkClickHandler.linkClickHandler)};
J3.\u0275fac=function(a){return new (a||J3)(n(MS),n(yB),n(Ir),n(L1),n(hT),n(I3),n(H3),n(G3),n(VP))};J3.\u0275prov=Hc({token:J3,factory:J3.\u0275fac,providedIn:"root"});
var kKc={provide:EUb,useFactory:function(a){return function(){jKc||(a.iconRegistry._addSvgIconSetConfig("",new w3b(a.imageUrls.ICON_URL)),jKc=!0);if(a.session.isInternalSession()){$oc(a.hatsService,"Y4qgAGETM0g6pPHSLo10T83aMF4T").pipe(ef(),qf(a.destroyed$)).subscribe();for(var b=l(iKc),c=b.next();!c.done;c=b.next()){c=c.value;var d=c.hatsTriggerId;a.session.getFlag(c.flagName)&&$oc(a.hatsService,d).pipe(ef(),qf(a.destroyed$)).subscribe()}}a.appHistory.install();a.routePerformance.install();a.linkClickHandler.install();
b=a.issueLru;Lnb(b.viewed,fKc());Lnb(b.edited,dKc());b.appEvents.issueViewed.pipe(qf(b.stop$)).subscribe(b.addViewed);b.appEvents.issueEdited.pipe(qf(b.stop$)).subscribe(b.addEdited);c=a.faviconService;b=c.$window.document.head.querySelector('link[rel="shortcut icon"]');d=b==null?void 0:b.href;c.faviconUrl=d?zc(d):c.defaultFaviconUrl;var e;d=c.activeSession.getTracker();if(d==null?0:(e=d.branding)==null?0:e.logoUrl){var f;e=zc(d==null?void 0:(f=d.branding)==null?void 0:f.logoUrl)}else e=c.faviconUrl;
f=e;if(b&&b.href!==f.toString())a:{if(f instanceof ku)b.href=Ec(f).toString();else{if(GSb.indexOf("icon")===-1)throw Error("ba`icon");f=Ac(f);if(f===void 0)break a;b.href=f}b.rel="icon"}}},deps:[J3],multi:!0};var K3=function(a,b){this.paths=a;this.bLocation=b};K3.prototype.visit=function(a){a.event&&(a.event.preventDefault(),a.event.stopPropagation());var b=a.elementId;a=Ao(a.issueId)+(b?"#"+b:"");this.bLocation.setUrl(a)};K3.\u0275fac=function(a){return new (a||K3)(n(pN),n(oN))};K3.\u0275prov=Hc({token:K3,factory:K3.\u0275fac,providedIn:"root"});var lKc={provide:XH,useExisting:K3};var mKc=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 L3=function(a){Gz.call(this);this.errorHandlerFn_=a};Mt(L3,Gz);L3.prototype.wrap=function(a){return nKc(this,a)};var M3=function(a,b){return(b?"__wrapper_":"__protected_")+ab(a)+"__"},nKc=function(a,b){var c=M3(a,!0);b[c]||((b[c]=oKc(a,b))[M3(a,!1)]=b);return b[c]},oKc=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[M3(a,!1)]=b;return c};
L3.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 pKc(a);};
var qKc=function(a,b){var c=Aa.window||Aa.globalThis,d=c[b];if(!d)throw Error("lf`"+b);c[b]=function(e,f){typeof e==="string"&&(e=Lt(aRb,e));e&&(arguments[0]=e=nKc(a,e));if(d.apply)return d.apply(this,arguments);var h=e;if(arguments.length>2){var k=Array.prototype.slice.call(arguments,2);h=function(){e.apply(this,k)}}return d(h,f)};c[b][M3(a,!1)]=d};
L3.prototype.disposeInternal=function(){var a=Aa.window||Aa.globalThis;var b=a.setTimeout;b=b[M3(this,!1)]||b;a.setTimeout=b;b=a.setInterval;b=b[M3(this,!1)]||b;a.setInterval=b;L3.superClass_.disposeInternal.call(this)};var pKc=function(a){za.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)};Mt(pKc,za);var sKc=function(a,b,c){Xo.call(this);this.contextProvider_=b||null;this.additionalArguments_={};this.xhrSender_=rKc;this.handlerUrl_=a;if(!c){this.errorHandler_=null;this.errorHandler_=new L3(Kt(this.handleException,this));qKc(this.errorHandler_,"setTimeout");qKc(this.errorHandler_,"setInterval");a=this.errorHandler_;b=Aa.window||Aa.globalThis;c=["requestAnimationFrame","mozRequestAnimationFrame","webkitAnimationFrame","msRequestAnimationFrame"];for(var d=0;d<c.length;d++){var e=c[d];c[d]in b&&qKc(a,
e)}a=this.errorHandler_;PZb=!0;b=Kt(a.wrap,a);for(c=0;c<NZb.length;c++)NZb[c](b);OZb.push(a)}};Mt(sKc,Xo);var tKc=function(a,b){Hz.call(this,"z");this.error=a;this.context=b};Mt(tKc,Hz);var rKc=function(a,b,c,d){if(d instanceof Map){var e={};d=l(d);for(var f=d.next();!f.done;f=d.next()){var h=l(f.value);f=h.next().value;h=h.next().value;e[f]=h}}else e=d;SZa(a,null,b,c,e)};
sKc.prototype.handleException=function(a,b){a=a.error||a;b=b?vc(b):{};a instanceof Error&&fea(b,a.__closure__error__context__984382||{});var c=ISb(a);if(this.contextProvider_)try{this.contextProvider_(c,b)}catch(e){}var d=c.message.substring(0,1900);a instanceof za&&!a.reportErrorToServer||uKc(this,d,c.fileName,c.lineNumber,c.stack,b);try{this.dispatchEvent(new tKc(c,b))}catch(e){}};
var uKc=function(a,b,c,d,e,f){try{var h=kKa(a.handlerUrl_,"script",c,"error",b,"line",d);sc(a.additionalArguments_)||(h=mKa(h,a.additionalArguments_));b={};b.trace=e;if(f)for(var k in f)b["context."+k]=f[k];var q=Jbc(b);a.xhrSender_(h,"POST",q,a.extraHeaders_)}catch(t){}};sKc.prototype.disposeInternal=function(){Nh(this.errorHandler_);sKc.superClass_.disposeInternal.call(this)};var N3=function(){this.jsBuild="640587708";this.buildLabel="buganizer.frontend_20240605.08_p0"};N3.\u0275fac=function(a){return new (a||N3)};N3.\u0275prov=Hc({token:N3,factory:N3.\u0275fac,providedIn:"root"});var O3=function(){};O3.prototype.reportingEnabled=function(){return mKc!==4};O3.\u0275fac=function(a){return new (a||O3)};O3.\u0275prov=Hc({token:O3,factory:O3.\u0275fac,providedIn:"root"});
var P3=function(a,b){var c=this;this.appContext=b;this.context={};this.reportingExtensions=[];this.jsDebugErrorReporter=new sKc("/jserror",function(d,e){e.js_build=a.jsBuild;e.buildLabel=a.buildLabel;e["build-label"]=a.buildLabel;d=l(c.reportingExtensions);for(var f=d.next();!f.done;f=d.next())f.value.enhanceContext(e)},!0)},vKc=function(a,b){b="Error: "+b;console.error("ErrorReporter: ",b);if(a.appContext.reportingEnabled())try{throw Error(b);}catch(c){for(Mnb(c),uKc(a.jsDebugErrorReporter,b,c.fileName,
c.lineNumber,c.stack,a.context),a=l(a.reportingExtensions),b=a.next();!b.done;b=a.next())b.value.onReportedError()}};P3.prototype.reportError=function(a){console.error("ErrorReporter: ",(a==null?void 0:a.stack)||a);if(this.appContext.reportingEnabled()){Mnb(a);this.jsDebugErrorReporter.handleException(a);a=l(this.reportingExtensions);for(var b=a.next();!b.done;b=a.next())b.value.onReportedError()}};P3.\u0275fac=function(a){return new (a||P3)(n(N3),n(O3))};
P3.\u0275prov=Hc({token:P3,factory:P3.\u0275fac,providedIn:"root"});var Q3=function(a){this.reporter=a};
Q3.prototype.handleError=function(a){if(mn(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)Ci("omitting eye3 reporting of",a);else if(typeof a==="string")vKc(this.reporter,a);else if(a instanceof Error||!mn(a)){b=ISb(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 vKc(this.reporter,
nn(a))};Q3.\u0275fac=function(a){return new (a||Q3)(n(P3))};Q3.\u0275prov=Hc({token:Q3,factory:Q3.\u0275fac,providedIn:"root"});var R3=function(a){this.activeSession=a};X(R3,O3);R3.prototype.reportingEnabled=function(){return this.activeSession.getFlag("reportErrors")};R3.\u0275fac=function(a){return new (a||R3)(n(Ir))};R3.\u0275prov=Hc({token:R3,factory:R3.\u0275fac,providedIn:"root"});var wKc={provide:Ue,useClass:Q3},xKc={provide:O3,useClass:R3},yKc={provide:N3,useValue:{jsBuild:"640587708",buildLabel:"buganizer.frontend_20240605.08_p0"}};var S3=function(){};S3.\u0275fac=function(a){return new (a||S3)};S3.\u0275cmp=p({type:S3,selectors:[["b-empty"]],decls:0,vars:0,template:function(){},encapsulation:2});var T3=function(){};T3.\u0275fac=function(a){return new (a||T3)};T3.\u0275mod=dd({type:T3});T3.\u0275inj=Ic({});var U3=function(){};X(U3,lB);U3.prototype.store=function(){};U3.prototype.shouldReuseRoute=function(a,b){return a.routeConfig===b.routeConfig&&pi(a.params,b.params)};U3.\u0275fac=function(){var a;return function(b){return(a||(a=Od(U3)))(b||U3)}}();U3.\u0275prov=Hc({token:U3,factory:U3.\u0275fac,providedIn:"root"});var V3=function(a){this.router=a};
V3.prototype.canActivate=function(a,b){if(b.url.includes("#ISSUE_HistoryHeader")){var c=l(b.url.split("#ISSUE_HistoryHeader"));a=c.next().value;c=c.next().value;return qB(this.router,[a],{fragment:c&&!isNaN(Number(c))?"comment"+c:void 0})}if(a.queryParamMap.has("showInsights")&&a.queryParamMap.get("showInsights")==="1"){b=l(b.url.split("?")).next().value;var d={};return qB(this.router,[b],{queryParams:Object.assign({},nKa(a.queryParamMap),(d.showInsights="deployments",d)),fragment:(c=a.fragment)!=
null?c:void 0})}return b.url==="/attention"?qB(this.router,["home"]):!0};V3.\u0275fac=function(a){return new (a||V3)(n(pB))};V3.\u0275prov=Hc({token:V3,factory:V3.\u0275fac,providedIn:"root"});var zKc=/^(\d+)$/,W3=function(a){this.butterBar=a;this.paramNamesToCheck=new Set(Object.values(z4b))};W3.prototype.validate=function(a){for(var b=l(Object.keys(a)),c=b.next();!c.done;c=b.next())if(c=c.value,this.paramNamesToCheck.has(c)){var d=a[c],e=bk(d);if(!zKc.test(d)||isNaN(e)||!Number.isInteger(e))return this.butterBar.showWarning("The URL parameter "+c+' has the malformed value "'+d+'".'),!1}return!0};W3.\u0275fac=function(a){return new (a||W3)(n(sE))};
W3.\u0275prov=Hc({token:W3,factory:W3.\u0275fac,providedIn:"root"});var X3=function(a){this.routeParamsValidator=a};X3.prototype.canActivate=function(a){return this.routeParamsValidator.validate(a.params)};X3.\u0275fac=function(a){return new (a||X3)(n(W3))};X3.\u0275prov=Hc({token:X3,factory:X3.\u0275fac,providedIn:"root"});var Y3=function(a,b){this.activeSession=a;this.router=b};Y3.prototype.canActivate=function(){return this.activeSession.isInternalSession()?!0:qB(this.router,["issues"])};Y3.\u0275fac=function(a){return new (a||Y3)(n(Ir),n(pB))};Y3.\u0275prov=Hc({token:Y3,factory:Y3.\u0275fac,providedIn:"root"});var Z3=function(a,b){this.activeSession=a;this.router=b};Z3.prototype.canActivate=function(){return this.activeSession.getTracker()?qB(this.router,["issues"]):!0};Z3.\u0275fac=function(a){return new (a||Z3)(n(Ir),n(pB))};Z3.\u0275prov=Hc({token:Z3,factory:Z3.\u0275fac,providedIn:"root"});var a4=function(a,b){this.userPreferences=a;this.activeSession=b},AKc=function(a){var b=a.activeSession.getFlag("enableHomepageVariantA")&&a.activeSession.isInternalSession();a=fo(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"}};a4.\u0275fac=function(a){return new (a||a4)(n(rH),n(Ir))};a4.\u0275prov=Hc({token:a4,factory:a4.\u0275fac,providedIn:"root"});var b4=function(a,b){this.router=a;this.homepageRedirection=b};b4.prototype.canActivate=function(){return qB(this.router,[AKc(this.homepageRedirection)])};b4.\u0275fac=function(a){return new (a||b4)(n(pB),n(a4))};b4.\u0275prov=Hc({token:b4,factory:b4.\u0275fac,providedIn:"root"});var BKc={ANDROID:"Android",CHROME:"ChromeOS",IOS:"iOS",LINUX:"Linux",MAC:"Mac",UNKNOWN:"Unknown",WINDOWS:"Windows"};var uQb={default:1363614,apps:1456886,blink:1456407,devtools:1457055,enterprise:1456152,extensions:1456110,installer:1456937,media:1456190,network:1456527,sync:1457192,ui:1457123,webstore:1457238},tQb={default:402888,apps:422083,blink:421442,devtools:422123,enterprise:421726,extensions:422130,installer:421863,media:421886,network:421924,sync:422168,ui:422198,webstore:422443},CKc=["media-bugs@chromium.org"],DKc=["chrome-sync-monorail@google.com"];var EKc={USER:"USER",DEVELOPER:"DEVELOPER",VULN_REPORTER:"VULN_REPORTER",CONTRIBUTOR:"CONTRIBUTOR"},FKc={INPUT:"INPUT",TEXT:"TEXT",SELECT:"SELECT"},GKc=new md("CustomQuestionsConfig"),HKc=new md("ComponentIds"),IKc=new md("CustomFieldIds"),JKc=new md("HotlistIds");var c4=function(a){this.componentIds=a;this.persona="USER";this.categoryChange=new XF;a={};this.options=(a.USER=[{title:"UI",description:"Problems with the user interface (e.g. tabs, context menus, etc...)",value:"UI",componentId:this.componentIds.ui},{title:"Network / Downloading",description:"Problems with accessing remote content",value:"NETWORK_DOWNLOADING",componentId:this.componentIds.network},{title:"Audio / Video",description:"Problems playing back sound or movies",value:"AUDIO_VIDEO",componentId:this.componentIds.media,
ccEmails:CKc},{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:DKc},{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)};c4.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)})};c4.\u0275fac=function(a){return new (a||c4)(A(HKc))};
c4.\u0275cmp=p({type:c4,selectors:[["wizard-category-select"]],inputs:{persona:"persona",category:"category"},outputs:{categoryChange:"categoryChange"},features:[td],decls:5,vars:3,consts:[["appearance","outline","aria-label","Which of the following describes your issue?"],["panelClass","oversized","aria-label","Choose issue category",3,"valueChange","value"],["class","multiline",3,"value",4,"ngFor","ngForOf"],[1,"multiline",3,"value"],[1,"description"]],template:function(a,b){a&1&&(F(0,"mat-form-field",
0)(1,"mat-select",1),M("valueChange",function(d){b.category=d;b.categoryChange.emit(b.category)}),F(2,"mat-select-trigger"),R(3),G(),C(4,Onb,5,3,"mat-option",2),G()());if(a&2){var c;z();D("value",b.category);z(2);S(" ",(c=b.category==null?null:b.category.title)!==null&&c!==void 0?c:""," ");z();D("ngForOf",b.options[b.persona])}},dependencies:[Fv,Wy,kM,mM,nM,oM,Kx],styles:[".mat-mdc-select-panel.oversized{max-height:500px;max-width:800px}mat-option.multiline[_ngcontent-%COMP%]{font-family:Roboto,Arial,sans-serif;line-height:1.5rem;font-size:1rem;letter-spacing:.00625em;font-weight:400;line-height:1.5em;height:5em}mat-option.multiline[_ngcontent-%COMP%]   .description[_ngcontent-%COMP%]{font-family:Roboto,Arial,sans-serif;line-height:1.25rem;font-size:.875rem;letter-spacing:.0142857143em;font-weight:400;font-size:.8125rem;line-height:1.3846153846;color:#5f6368;color:var(--text-muted)}mat-form-field[_ngcontent-%COMP%]{min-width:300px}\n/*# sourceMappingURL=category_select.css.map */"]});var nr=function(a){return{question:a}},d4=function(a){this.config=a;this.CustomQuestionType=FKc;this.responses=new XF;this.model=Object.assign({},a)};d4.prototype.ngOnInit=function(){};var Unb=function(a){var b=a.model[a.category].filter(function(c){return!!c.response});a.responses.emit(b)};d4.\u0275fac=function(a){return new (a||d4)(A(GKc))};
d4.\u0275cmp=p({type:d4,selectors:[["wizard-custom-questions"]],inputs:{category:"category"},outputs:{responses:"responses"},decls:9,vars:1,consts:[["customQuestion",""],["input",""],["text",""],["select",""],[4,"ngFor","ngForOf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"ngSwitch"],[4,"ngSwitchCase"],[3,"innerHtml"],["appearance","outline"],["matInput","",3,"ngModelChange","ngModel"],["appearance","outline",1,"textarea"],["required","",3,"valueChange","value"],[3,"value",4,"ngFor","ngForOf"],
[3,"ngTemplateOutlet","ngTemplateOutletContext",4,"ngIf"],[3,"value"]],template:function(a,b){a&1&&C(0,Pnb,2,4,"ng-container",4)(1,Tnb,4,4,"ng-template",null,0,yg)(3,Vnb,3,3,"ng-template",null,1,yg)(5,Wnb,4,3,"ng-template",null,2,yg)(7,$nb,5,5,"ng-template",null,3,yg);a&2&&D("ngForOf",b.model[b.category])},dependencies:[Fv,Gv,Kv,Hv,Iv,mh,qy,yy,SV,cz,Wy,kM,mM,nM,Kx],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 KKc=function(){this.Persona=EKc;this.persona="USER";this.personaChange=new XF};KKc.\u0275fac=function(a){return new (a||KKc)};
KKc.\u0275cmp=p({type:KKc,selectors:[["wizard-persona-picker"]],inputs:{persona:"persona"},outputs:{personaChange:"personaChange"},decls:18,vars:5,consts:[["aria-label","Select your following role",3,"ngModelChange","ngModel"],[3,"value"],[1,"subtext"],[1,"vuln-reporter",3,"value"]],template:function(a,b){a&1&&(F(0,"div")(1,"mat-radio-group",0),M("ngModelChange",function(c){b.persona=c;b.personaChange.emit(b.persona)}),F(2,"mat-radio-button",1),R(3," End User "),F(4,"div",2),R(5," I am trying to use a website. "),
G()(),F(6,"mat-radio-button",1),R(7," Web Developer "),F(8,"div",2),R(9," I am trying to build something on a website. "),G()(),F(10,"mat-radio-button",3),R(11," Vulnerability Reporter "),F(12,"div",2),R(13," I am reporting a possible security vulnerability. "),G()(),F(14,"mat-radio-button",1),R(15," Chromium Contributor "),F(16,"div",2),R(17," I know about a problem in specific tests or code. "),G()()()());a&2&&(z(),D("ngModel",b.persona),z(),D("value",b.Persona.USER),z(4),D("value",b.Persona.DEVELOPER),
z(4),D("value",b.Persona.VULN_REPORTER),z(4),D("value",b.Persona.CONTRIBUTOR))},dependencies:[qy,yy,uR,vR],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 LKc=new md("GMAT_CARD_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var MKc=function(a){this.options=a};MKc.\u0275fac=function(a){return new (a||MKc)(A(LKc))};MKc.\u0275dir=fd({type:MKc,selectors:[["mat-card"]],hostVars:2,hostBindings:function(a,b){a&2&&Kf("gmat-mdc-card",!b.options.disableGmatStyle)}});var NKc=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"],OKc=new md("MAT_CARD_CONFIG"),PKc=function(a){this.appearance=(a==null?void 0:a.appearance)||"raised"};PKc.\u0275fac=function(a){return new (a||PKc)(A(OKc,8))};
PKc.\u0275cmp=p({type:PKc,selectors:[["mat-card"]],hostAttrs:[1,"mat-mdc-card","mdc-card"],hostVars:4,hostBindings:function(a,b){a&2&&Kf("mat-mdc-card-outlined",b.appearance==="outlined")("mdc-card--outlined",b.appearance==="outlined")},inputs:{appearance:"appearance"},exportAs:["matCard"],standalone:!0,features:[sg],ngContentSelectors:["*"],decls:1,vars:0,template:function(a){a&1&&(Xf(),Yf(0))},styles:['.mdc-card{display:flex;flex-direction:column;box-sizing:border-box}.mdc-card::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;pointer-events:none}@media screen and (forced-colors: active){.mdc-card::after{border-color:CanvasText}}.mdc-card--outlined::after{border:none}.mdc-card__content{border-radius:inherit;height:100%}.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}.mdc-card__media--square::before{margin-top:100%}.mdc-card__media--16-9::before{margin-top:56.25%}.mdc-card__media-content{position:absolute;top:0;right:0;bottom:0;left:0;box-sizing:border-box}.mdc-card__primary-action{display:flex;flex-direction:column;box-sizing:border-box;position:relative;outline:none;color:inherit;text-decoration:none;cursor:pointer;overflow:hidden}.mdc-card__primary-action:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.mdc-card__primary-action:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.mdc-card__actions{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;min-height:52px;padding:8px}.mdc-card__actions--full-bleed{padding:0}.mdc-card__action-buttons,.mdc-card__action-icons{display:flex;flex-direction:row;align-items:center;box-sizing:border-box}.mdc-card__action-icons{color:rgba(0, 0, 0, 0.6);flex-grow:1;justify-content:flex-end}.mdc-card__action-buttons+.mdc-card__action-icons{margin-left:16px;margin-right:0}[dir=rtl] .mdc-card__action-buttons+.mdc-card__action-icons,.mdc-card__action-buttons+.mdc-card__action-icons[dir=rtl]{margin-left:0;margin-right:16px}.mdc-card__action{display:inline-flex;flex-direction:row;align-items:center;box-sizing:border-box;justify-content:center;cursor:pointer;user-select:none}.mdc-card__action:focus{outline:none}.mdc-card__action--button{margin-left:0;margin-right:8px;padding:0 8px}[dir=rtl] .mdc-card__action--button,.mdc-card__action--button[dir=rtl]{margin-left:8px;margin-right:0}.mdc-card__action--button:last-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-card__action--button:last-child,.mdc-card__action--button:last-child[dir=rtl]{margin-left:0;margin-right:0}.mdc-card__actions--full-bleed .mdc-card__action--button{justify-content:space-between;width:100%;height:auto;max-height:none;margin:0;padding:8px 16px;text-align:left}[dir=rtl] .mdc-card__actions--full-bleed .mdc-card__action--button,.mdc-card__actions--full-bleed .mdc-card__action--button[dir=rtl]{text-align:right}.mdc-card__action--icon{margin:-6px 0;padding:12px}.mdc-card__action--icon:not(:disabled){color:rgba(0, 0, 0, 0.6)}.mat-mdc-card{border-radius:var(--mdc-elevated-card-container-shape);background-color:var(--mdc-elevated-card-container-color);border-width:0;border-style:solid;border-color:var(--mdc-elevated-card-container-color);box-shadow:var(--mdc-elevated-card-container-elevation)}.mat-mdc-card .mdc-card::after{border-radius:var(--mdc-elevated-card-container-shape)}.mat-mdc-card-outlined{border-width:var(--mdc-outlined-card-outline-width);border-style:solid;border-color:var(--mdc-outlined-card-outline-color);border-radius:var(--mdc-outlined-card-container-shape);background-color:var(--mdc-outlined-card-container-color);box-shadow:var(--mdc-outlined-card-container-elevation)}.mat-mdc-card-outlined .mdc-card::after{border-radius:var(--mdc-outlined-card-container-shape)}.mat-mdc-card-title{font-family:var(--mat-card-title-text-font);line-height:var(--mat-card-title-text-line-height);font-size:var(--mat-card-title-text-size);letter-spacing:var(--mat-card-title-text-tracking);font-weight:var(--mat-card-title-text-weight)}.mat-mdc-card-subtitle{color:var(--mat-card-subtitle-text-color);font-family:var(--mat-card-subtitle-text-font);line-height:var(--mat-card-subtitle-text-line-height);font-size:var(--mat-card-subtitle-text-size);letter-spacing:var(--mat-card-subtitle-text-tracking);font-weight:var(--mat-card-subtitle-text-weight)}.mat-mdc-card{position:relative}.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 QKc=function(){};QKc.\u0275fac=function(a){return new (a||QKc)};QKc.\u0275dir=fd({type:QKc,selectors:[["mat-card-content"]],hostAttrs:[1,"mat-mdc-card-content"],standalone:!0});var RKc=function(){};RKc.\u0275fac=function(a){return new (a||RKc)};
RKc.\u0275cmp=p({type:RKc,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-mdc-card-header"],standalone:!0,features:[sg],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&&(Xf(NKc),Yf(0),F(1,"div",0),Yf(2,1),G(),Yf(3,2))},encapsulation:2,changeDetection:0});var e4=function(a){this._elementRef=a};e4.prototype.focus=function(){this._elementRef.nativeElement.focus()};e4.\u0275fac=function(a){return new (a||e4)(A(Rd))};e4.\u0275dir=fd({type:e4,selectors:[["","cdkStepHeader",""]],hostAttrs:["role","tab"],standalone:!0});var f4=function(a){this.template=a};f4.\u0275fac=function(a){return new (a||f4)(A(cg))};f4.\u0275dir=fd({type:f4,selectors:[["","cdkStepLabel",""]],standalone:!0});var SKc=0,TKc=new md("STEPPER_GLOBAL_OPTIONS"),g4=function(a,b){this._stepper=a;this.interacted=!1;this.interactedStream=new Xu;this.editable=!0;this.optional=!1;this._customError=this._completedOverride=null;this._stepperOptions=b?b:{};this._displayDefaultIndicatorType=this._stepperOptions.displayDefaultIndicatorType!==!1};g=g4.prototype;g._getDefaultCompleted=function(){return this.stepControl?this.stepControl.valid&&this.interacted:this.interacted};
g._getDefaultError=function(){return this.stepControl&&this.stepControl.invalid&&this.interacted};g.select=function(){this._stepper.selected=this};g.reset=function(){this.interacted=!1;this._completedOverride!=null&&(this._completedOverride=!1);this._customError!=null&&(this._customError=!1);this.stepControl&&this.stepControl.reset()};g.ngOnChanges=function(){this._stepper._stateChanged()};g._markAsInteracted=function(){this.interacted||(this.interacted=!0,this.interactedStream.emit(this))};
g._showError=function(){var a;return(a=this._stepperOptions.showError)!=null?a:this._customError!=null};ea.Object.defineProperties(g4.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}}});
g4.\u0275fac=function(a){return new (a||g4)(A(Uc(function(){return h4})),A(TKc,8))};
g4.\u0275cmp=p({type:g4,selectors:[["cdk-step"]],contentQueries:function(a,b,c){a&1&&gg(c,f4,5);if(a&2){var d;jg(d=kg())&&(b.stepLabel=d.first)}},viewQuery:function(a,b){a&1&&fg(cg,7);if(a&2){var c;jg(c=kg())&&(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",Gg],optional:[2,"optional","optional",Gg],completed:[2,
"completed","completed",Gg],hasError:[2,"hasError","hasError",Gg]},outputs:{interactedStream:"interacted"},exportAs:["cdkStep"],standalone:!0,features:[Af,td,sg],ngContentSelectors:["*"],decls:1,vars:0,template:function(a){a&1&&(Xf(),C(0,aob,1,0,"ng-template"))},encapsulation:2,changeDetection:0});
var h4=function(a,b,c){this._dir=a;this._changeDetectorRef=b;this._elementRef=c;this._destroyed=new W.Subject;this.steps=new eg;this._sortedHeaders=new eg;this.linear=!1;this._selectedIndex=0;this.selectionChange=new Xu;this.selectedIndexChange=new Xu;this._orientation="horizontal";this._groupId=SKc++};g=h4.prototype;
g.ngAfterContentInit=function(){var a=this;this._steps.changes.pipe(of(this._steps),qf(this._destroyed)).subscribe(function(b){a.steps.reset(b.filter(function(c){return c._stepper===a}));ig(a.steps)})};
g.ngAfterViewInit=function(){var a=this;this._stepHeader.changes.pipe(of(this._stepHeader),qf(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}));ig(a._sortedHeaders)});this._keyManager=Gw(Iw(Fw(new Lw(this._sortedHeaders))),this._orientation==="vertical");(this._dir?this._dir.change:(0,W.of)()).pipe(of(this._layoutDirection()),
qf(this._destroyed)).subscribe(function(b){return Hw(a._keyManager,b)});Jw(this._keyManager,this._selectedIndex);this.steps.changes.subscribe(function(){a.selected||(a._selectedIndex=Math.max(a._selectedIndex-1,0))});this._isValidIndex(this._selectedIndex)||(this._selectedIndex=0)};g.ngOnDestroy=function(){var a;(a=this._keyManager)==null||a.destroy();this.steps.destroy();this._sortedHeaders.destroy();this._destroyed.next();this._destroyed.complete()};
g.next=function(){this.selectedIndex=Math.min(this._selectedIndex+1,this.steps.length-1)};g.previous=function(){this.selectedIndex=Math.max(this._selectedIndex-1,0)};g.reset=function(){this._updateSelectedItemIndex(0);this.steps.forEach(function(a){return a.reset()});this._stateChanged()};g._getStepLabelId=function(a){return"cdk-step-label-"+this._groupId+"-"+a};g._getStepContentId=function(a){return"cdk-step-content-"+this._groupId+"-"+a};g._stateChanged=function(){this._changeDetectorRef.markForCheck()};
g._getAnimationDirection=function(a){a-=this._selectedIndex;return a<0?this._layoutDirection()==="rtl"?"next":"previous":a>0?this._layoutDirection()==="rtl"?"previous":"next":"current"};g._getIndicatorType=function(a,b){b=b===void 0?"number":b;var c=this.steps.toArray()[a];a=this._isCurrentStep(a);return c._displayDefaultIndicatorType?this._getDefaultIndicatorLogic(c,a):this._getGuidelineLogic(c,a,b)};
g._getDefaultIndicatorLogic=function(a,b){return a._showError()&&a.hasError&&!b?"error":!a.completed||b?"number":a.editable?"edit":"done"};g._getGuidelineLogic=function(a,b,c){c=c===void 0?"number":c;return a._showError()&&a.hasError&&!b?"error":a.completed&&!b?"done":a.completed&&b?c:a.editable&&b?"edit":c};g._isCurrentStep=function(a){return this._selectedIndex===a};g._getFocusIndex=function(){return this._keyManager?this._keyManager.activeItemIndex:this._selectedIndex};
g._updateSelectedItemIndex=function(a){var b=this.steps.toArray();this.selectionChange.emit({selectedIndex:a,previouslySelectedIndex:this._selectedIndex,selectedStep:b[a],previouslySelectedStep:b[this._selectedIndex]});this._containsFocus()?this._keyManager.setActiveItem(a):Jw(this._keyManager,a);this._selectedIndex=a;this.selectedIndexChange.emit(this._selectedIndex);this._stateChanged()};
g._onKeydown=function(a){var b=$g(a),c=a.keyCode,d=this._keyManager;if(d.activeItemIndex==null||b||c!==32&&c!==13)zWb(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=Yg();return a===b||a.contains(b)};g._isValidIndex=function(a){return a>-1&&(!this.steps||a<this.steps.length)};
ea.Object.defineProperties(h4.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&&Gw(this._keyManager,a==="vertical")}}});h4.\u0275fac=function(a){return new (a||h4)(A(Uw,8),A(Ig),A(Rd))};
h4.\u0275dir=fd({type:h4,selectors:[["","cdkStepper",""]],contentQueries:function(a,b,c){a&1&&(gg(c,g4,5),gg(c,e4,5));if(a&2){var d;jg(d=kg())&&(b._steps=d);jg(d=kg())&&(b._stepHeader=d)}},inputs:{linear:[2,"linear","linear",Gg],selectedIndex:[2,"selectedIndex","selectedIndex",Hg],selected:"selected",orientation:"orientation"},outputs:{selectionChange:"selectionChange",selectedIndexChange:"selectedIndexChange"},exportAs:["cdkStepper"],standalone:!0,features:[Af]});var i4=function(a){this._stepper=a;this.type="submit"};i4.\u0275fac=function(a){return new (a||i4)(A(h4))};i4.\u0275dir=fd({type:i4,selectors:[["button","cdkStepperNext",""]],hostVars:1,hostBindings:function(a,b){a&1&&M("click",function(){return b._stepper.next()});a&2&&Tf("type",b.type)},inputs:{type:"type"},standalone:!0});var j4=function(a){this._stepper=a;this.type="button"};j4.\u0275fac=function(a){return new (a||j4)(A(h4))};
j4.\u0275dir=fd({type:j4,selectors:[["button","cdkStepperPrevious",""]],hostVars:1,hostBindings:function(a,b){a&1&&M("click",function(){return b._stepper.previous()});a&2&&Tf("type",b.type)},inputs:{type:"type"},standalone:!0});var k4=function(){};k4.\u0275fac=function(a){return new (a||k4)};k4.\u0275mod=dd({type:k4});k4.\u0275inj=Ic({imports:[Vw]});var l4=function(){i4.apply(this,arguments)};X(l4,i4);l4.\u0275fac=function(){var a;return function(b){return(a||(a=Od(l4)))(b||l4)}}();l4.\u0275dir=fd({type:l4,selectors:[["button","matStepperNext",""]],hostAttrs:[1,"mat-stepper-next"],hostVars:1,hostBindings:function(a,b){a&2&&Tf("type",b.type)},standalone:!0,features:[zf]});var m4=function(){j4.apply(this,arguments)};X(m4,j4);m4.\u0275fac=function(){var a;return function(b){return(a||(a=Od(m4)))(b||m4)}}();
m4.\u0275dir=fd({type:m4,selectors:[["button","matStepperPrevious",""]],hostAttrs:[1,"mat-stepper-previous"],hostVars:1,hostBindings:function(a,b){a&2&&Tf("type",b.type)},standalone:!0,features:[zf]});var n4=function(a){this.templateRef=a};n4.\u0275fac=function(a){return new (a||n4)(A(cg))};n4.\u0275dir=fd({type:n4,selectors:[["ng-template","matStepperIcon",""]],inputs:{name:[0,"matStepperIcon","name"]},standalone:!0});var UKc=function(a){this._template=a};UKc.\u0275fac=function(a){return new (a||UKc)(A(cg))};UKc.\u0275dir=fd({type:UKc,selectors:[["ng-template","matStepContent",""]],standalone:!0});var o4=function(){f4.apply(this,arguments)};X(o4,f4);o4.\u0275fac=function(){var a;return function(b){return(a||(a=Od(o4)))(b||o4)}}();o4.\u0275dir=fd({type:o4,selectors:[["","matStepLabel",""]],standalone:!0,features:[zf]});var p4=function(){this.changes=new W.Subject;this.optionalLabel="Optional";this.completedLabel="Completed";this.editableLabel="Editable"};p4.\u0275fac=function(a){return new (a||p4)};p4.\u0275prov=Hc({token:p4,factory:p4.\u0275fac,providedIn:"root"});var VKc={provide:p4,deps:[[new ru,new su,p4]],useFactory:function(a){return a||new p4}};var q4=function(a,b,c,d){this._elementRef=c;this._intl=a;this._focusMonitor=b;this._intlSubscription=a.changes.subscribe(function(){return d.markForCheck()})};X(q4,e4);q4.\u0275dir=e4.\u0275dir;g=q4.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?fw(this._focusMonitor,this._elementRef,a,b):this._elementRef.nativeElement.focus(b)};
g._stringLabel=function(){return this.label instanceof o4?null:this.label};g._templateLabel=function(){return this.label instanceof o4?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};q4.\u0275fac=function(a){return new (a||q4)(A(p4),A(ew),A(Rd),A(Ig))};
q4.\u0275cmp=p({type:q4,selectors:[["mat-step-header"]],hostAttrs:["role","tab",1,"mat-step-header"],hostVars:2,hostBindings:function(a,b){a&2&&Lf("mat-"+(b.color||"primary"))},inputs:{state:"state",label:"label",errorMessage:"errorMessage",iconOverrides:"iconOverrides",index:"index",selected:"selected",active:"active",optional:"optional",disableRipple:"disableRipple",color:"color"},standalone:!0,features:[zf,sg],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&&(H(0,"div",0),F(1,"div")(2,"div",1),C(3,bob,1,2,"ng-container",2)(4,gob,2,1),G()(),F(5,"div",3),C(6,hob,2,1,"div",4)(7,iob,2,1,"div",4)(8,job,2,1,"div",5)(9,kob,2,1,"div",6),G());
if(a&2){var c;D("matRippleTrigger",b._getHostElement())("matRippleDisabled",b.disableRipple);z();Nf("mat-step-icon-state-",b.state," mat-step-icon");Kf("mat-step-icon-selected",b.selected);z(2);Of(b.iconOverrides&&b.iconOverrides[b.state]?3:4);z(2);Kf("mat-step-label-active",b.active)("mat-step-label-selected",b.selected)("mat-step-label-error",b.state=="error");z();Of((c=b._templateLabel())?6:b._stringLabel()?7:-1,c);z(2);Of(b.optional&&b.state!="error"?8:-1);z();Of(b.state==="error"?9:-1)}},dependencies:[Ix,
Kv,zB],styles:['.mat-step-header{overflow:hidden;outline:none;cursor:pointer;position:relative;box-sizing:content-box;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-step-header:focus .mat-focus-indicator::before{content:""}.mat-step-header:hover[aria-disabled=true]{cursor:default}.mat-step-header:hover:not([aria-disabled]),.mat-step-header:hover[aria-disabled=false]{background-color:var(--mat-stepper-header-hover-state-layer-color);border-radius:var(--mat-stepper-header-hover-state-layer-shape)}.mat-step-header.cdk-keyboard-focused,.mat-step-header.cdk-program-focused{background-color:var(--mat-stepper-header-focus-state-layer-color);border-radius:var(--mat-stepper-header-focus-state-layer-shape)}@media(hover: none){.mat-step-header:hover{background:none}}.cdk-high-contrast-active .mat-step-header{outline:solid 1px}.cdk-high-contrast-active .mat-step-header[aria-selected=true] .mat-step-label{text-decoration:underline}.cdk-high-contrast-active .mat-step-header[aria-disabled=true]{outline-color:GrayText}.cdk-high-contrast-active .mat-step-header[aria-disabled=true] .mat-step-label,.cdk-high-contrast-active .mat-step-header[aria-disabled=true] .mat-step-icon,.cdk-high-contrast-active .mat-step-header[aria-disabled=true] .mat-step-optional{color:GrayText}.mat-step-optional{font-size:12px;color:var(--mat-stepper-header-optional-label-text-color)}.mat-step-sub-label-error{font-size:12px;font-weight:normal}.mat-step-icon{border-radius:50%;height:24px;width:24px;flex-shrink:0;position:relative;color:var(--mat-stepper-header-icon-foreground-color);background-color:var(--mat-stepper-header-icon-background-color)}.mat-step-icon-content{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);display:flex}.mat-step-icon .mat-icon{font-size:16px;height:16px;width:16px}.mat-step-icon-state-error{background-color:var(--mat-stepper-header-error-state-icon-background-color);color:var(--mat-stepper-header-error-state-icon-foreground-color)}.mat-step-icon-state-error .mat-icon{font-size:24px;height:24px;width:24px}.mat-step-label{display:inline-block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:50px;vertical-align:middle;font-family:var(--mat-stepper-header-label-text-font);font-size:var(--mat-stepper-header-label-text-size);font-weight:var(--mat-stepper-header-label-text-weight);color:var(--mat-stepper-header-label-text-color)}.mat-step-label.mat-step-label-active{color:var(--mat-stepper-header-selected-state-label-text-color)}.mat-step-label.mat-step-label-error{color:var(--mat-stepper-header-error-state-label-text-color);font-size:var(--mat-stepper-header-error-state-label-text-size)}.mat-step-label.mat-step-label-selected{font-size:var(--mat-stepper-header-selected-state-label-text-size);font-weight:var(--mat-stepper-header-selected-state-label-text-weight)}.mat-step-text-label{text-overflow:ellipsis;overflow:hidden}.mat-step-header .mat-step-header-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-step-icon-selected{background-color:var(--mat-stepper-header-selected-state-icon-background-color);color:var(--mat-stepper-header-selected-state-icon-foreground-color)}.mat-step-icon-state-done{background-color:var(--mat-stepper-header-done-state-icon-background-color);color:var(--mat-stepper-header-done-state-icon-foreground-color)}.mat-step-icon-state-edit{background-color:var(--mat-stepper-header-edit-state-icon-background-color);color:var(--mat-stepper-header-edit-state-icon-foreground-color)}\n'],
encapsulation:2,changeDetection:0});var WKc=ph("horizontalStepTransition",[sh("previous",rh({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"})),sh("current",rh({transform:"none",visibility:"inherit"})),sh("next",rh({transform:"translate3d(100%, 0, 0)",visibility:"hidden"})),uh("* => *",Rpa([qh("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)"),Spa()]),{params:{animationDuration:"500ms"}})]),XKc=ph("verticalStepTransition",[sh("previous",rh({height:"0px",visibility:"hidden"})),sh("next",rh({height:"0px",visibility:"hidden"})),
sh("current",rh({height:"*",visibility:"inherit"})),uh("* <=> current",Rpa([qh("{{animationDuration}} cubic-bezier(0.4, 0.0, 0.2, 1)"),Spa()]),{params:{animationDuration:"225ms"}})]);var YKc=["*"],pob=function(a,b){return{step:a,i:b}},sob=function(a){return{animationDuration:a}},rob=function(a,b){return{value:a,params:b}},r4=function(a,b,c,d){g4.call(this,a,d);this._errorStateMatcher=b;this._viewContainerRef=c;this._isSelected=W.Subscription.EMPTY;this.stepLabel=void 0};X(r4,g4);
r4.prototype.ngAfterContentInit=function(){var a=this;this._isSelected=this._stepper.steps.changes.pipe(pf(function(){return a._stepper.selectionChange.pipe(y(function(b){return b.selectedStep===a}),of(a._stepper.selected===a))})).subscribe(function(b){b&&a._lazyContent&&!a._portal&&(a._portal=new Ow(a._lazyContent._template,a._viewContainerRef))})};r4.prototype.ngOnDestroy=function(){this._isSelected.unsubscribe()};
r4.prototype.isErrorState=function(a,b){var c=!!(a&&a.invalid&&this.interacted);return this._errorStateMatcher.isErrorState(a,b)||c};r4.\u0275fac=function(a){return new (a||r4)(A(Uc(function(){return s4})),A(Fx,4),A(dg),A(TKc,8))};
r4.\u0275cmp=p({type:r4,selectors:[["mat-step"]],contentQueries:function(a,b,c){a&1&&(gg(c,o4,5),gg(c,UKc,5));if(a&2){var d;jg(d=kg())&&(b.stepLabel=d.first);jg(d=kg())&&(b._lazyContent=d.first)}},hostAttrs:["hidden",""],inputs:{color:"color"},exportAs:["matStep"],standalone:!0,features:[qg([{provide:Fx,useExisting:r4},{provide:g4,useExisting:r4}]),zf,sg],ngContentSelectors:YKc,decls:1,vars:0,consts:[[3,"cdkPortalOutlet"]],template:function(a){a&1&&(Xf(),C(0,mob,2,1,"ng-template"))},dependencies:[Sw],
encapsulation:2,changeDetection:0});var s4=function(a,b,c){h4.call(this,a,b,c);this._steps=this._stepHeader=void 0;this.steps=new eg;this.animationDone=new Xu;this.labelPosition="end";this.headerPosition="top";this._iconOverrides={};this._animationDone=new W.Subject;this._animationDuration="";this._isServer=!Yc($v).isBrowser;this.orientation=c.nativeElement.nodeName.toLowerCase()==="mat-vertical-stepper"?"vertical":"horizontal"};X(s4,h4);s4.\u0275dir=h4.\u0275dir;
s4.prototype.ngAfterContentInit=function(){var a=this;h4.prototype.ngAfterContentInit.call(this);this._icons.forEach(function(b){return a._iconOverrides[b.name]=b.templateRef});this.steps.changes.pipe(qf(this._destroyed)).subscribe(function(){a._stateChanged()});this._animationDone.pipe(df(function(b,c){return b.fromState===c.fromState&&b.toState===c.toState}),qf(this._destroyed)).subscribe(function(b){b.toState==="current"&&a.animationDone.emit()})};
s4.prototype._stepIsNavigable=function(a,b){return b.completed||this.selectedIndex===a||!this.linear};s4.prototype._getAnimationDuration=function(){return this.animationDuration?this.animationDuration:this.orientation==="horizontal"?"500ms":"225ms"};ea.Object.defineProperties(s4.prototype,{animationDuration:{configurable:!0,enumerable:!0,get:function(){return this._animationDuration},set:function(a){this._animationDuration=/^\d+$/.test(a)?a+"ms":a}}});
s4.\u0275fac=function(a){return new (a||s4)(A(Uw,8),A(Ig),A(Rd))};
s4.\u0275cmp=p({type:s4,selectors:[["mat-stepper"],["mat-vertical-stepper"],["mat-horizontal-stepper"],["","matStepper",""]],contentQueries:function(a,b,c){a&1&&(gg(c,r4,5),gg(c,n4,5));if(a&2){var d;jg(d=kg())&&(b._steps=d);jg(d=kg())&&(b._icons=d)}},viewQuery:function(a,b){a&1&&fg(q4,5);if(a&2){var c;jg(c=kg())&&(b._stepHeader=c)}},hostAttrs:["role","tablist"],hostVars:11,hostBindings:function(a,b){a&2&&(Bf("aria-orientation",b.orientation),Kf("mat-stepper-horizontal",b.orientation==="horizontal")("mat-stepper-vertical",
b.orientation==="vertical")("mat-stepper-label-position-end",b.orientation==="horizontal"&&b.labelPosition=="end")("mat-stepper-label-position-bottom",b.orientation==="horizontal"&&b.labelPosition=="bottom")("mat-stepper-header-position-bottom",b.headerPosition==="bottom"))},inputs:{disableRipple:"disableRipple",color:"color",labelPosition:"labelPosition",headerPosition:"headerPosition",animationDuration:"animationDuration"},outputs:{animationDone:"animationDone"},exportAs:["matStepper","matVerticalStepper",
"matHorizontalStepper"],standalone:!0,features:[qg([{provide:h4,useExisting:s4}]),zf,sg],ngContentSelectors:YKc,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&&(Xf(),C(0,nob,1,0)(1,uob,7,0,"div",1)(2,wob,2,0)(3,xob,1,23,"ng-template",null,0,yg));if(a&2){var c;Of(b._isServer?0:-1);z();Of((c=b.orientation)==="horizontal"?
1:c==="vertical"?2:-1)}},dependencies:[Kv,q4],styles:['.mat-stepper-vertical,.mat-stepper-horizontal{display:block;font-family:var(--mat-stepper-container-text-font);background:var(--mat-stepper-container-color)}.mat-horizontal-stepper-header-container{white-space:nowrap;display:flex;align-items:center}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header-container{align-items:flex-start}.mat-stepper-header-position-bottom .mat-horizontal-stepper-header-container{order:1}.mat-stepper-horizontal-line{border-top-width:1px;border-top-style:solid;flex:auto;height:0;margin:0 -16px;min-width:32px;border-top-color:var(--mat-stepper-line-color)}.mat-stepper-label-position-bottom .mat-stepper-horizontal-line{margin:0;min-width:0;position:relative;top:calc(calc((var(--mat-stepper-header-height) - 24px) / 2) + 12px)}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before,.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{border-top-width:1px;border-top-style:solid;content:"";display:inline-block;height:0;position:absolute;width:calc(50% - 20px)}.mat-horizontal-stepper-header{display:flex;height:72px;overflow:hidden;align-items:center;padding:0 24px;height:var(--mat-stepper-header-height)}.mat-horizontal-stepper-header .mat-step-icon{margin-right:8px;flex:none}[dir=rtl] .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:8px}.mat-horizontal-stepper-header::before,.mat-horizontal-stepper-header::after{border-top-color:var(--mat-stepper-line-color)}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header{padding:calc((var(--mat-stepper-header-height) - 24px) / 2) 24px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header::before,.mat-stepper-label-position-bottom .mat-horizontal-stepper-header::after{top:calc(calc((var(--mat-stepper-header-height) - 24px) / 2) + 12px)}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header{box-sizing:border-box;flex-direction:column;height:auto}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{right:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before{left:0}[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:last-child::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:first-child::after{display:none}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-label{padding:16px 0 0 0;text-align:center;width:100%}.mat-vertical-stepper-header{display:flex;align-items:center;height:24px;padding:calc((var(--mat-stepper-header-height) - 24px) / 2) 24px}.mat-vertical-stepper-header .mat-step-icon{margin-right:12px}[dir=rtl] .mat-vertical-stepper-header .mat-step-icon{margin-right:0;margin-left:12px}.mat-horizontal-stepper-wrapper{display:flex;flex-direction:column}.mat-horizontal-stepper-content{outline:0}.mat-horizontal-stepper-content.mat-horizontal-stepper-content-inactive{height:0;overflow:hidden}.mat-horizontal-stepper-content:not(.mat-horizontal-stepper-content-inactive){visibility:inherit !important}.mat-horizontal-content-container{overflow:hidden;padding:0 24px 24px 24px}.cdk-high-contrast-active .mat-horizontal-content-container{outline:solid 1px}.mat-stepper-header-position-bottom .mat-horizontal-content-container{padding:24px 24px 0 24px}.mat-vertical-content-container{margin-left:36px;border:0;position:relative}.cdk-high-contrast-active .mat-vertical-content-container{outline:solid 1px}[dir=rtl] .mat-vertical-content-container{margin-left:0;margin-right:36px}.mat-stepper-vertical-line::before{content:"";position:absolute;left:0;border-left-width:1px;border-left-style:solid;border-left-color:var(--mat-stepper-line-color);top:calc(8px - calc((var(--mat-stepper-header-height) - 24px) / 2));bottom:calc(8px - calc((var(--mat-stepper-header-height) - 24px) / 2))}[dir=rtl] .mat-stepper-vertical-line::before{left:auto;right:0}.mat-vertical-stepper-content{overflow:hidden;outline:0}.mat-vertical-stepper-content:not(.mat-vertical-stepper-content-inactive){visibility:inherit !important}.mat-vertical-content{padding:0 24px 24px 24px}.mat-step:last-child .mat-vertical-content-container{border:none}\n'],
encapsulation:2,data:{animation:[WKc,XKc]},changeDetection:0});var ZKc=["summary"],$Kc=["reproSteps"],aLc=["description"],bLc=function(a){return{nonEmptyValidator:a}},cLc=function(a,b){return{reproStepsValidator:a,nonEmptyValidator:b}},Bob=function(){return{noWizard:"true"}},dLc=[tm("security@chromium.org")],t4=function(a,b,c,d,e,f,h,k,q,t,w){this.activeSession=a;this.analytics=b;this.butterBar=c;this.currentUser=d;this.componentIds=e;this.customFieldIds=f;this.hotlistIds=h;this.issueApi=k;this.paths=q;this.redirectUrl=t;this.userAccess=w;this.Persona=EKc;this.PlatformOs=
BKc;a=Nnb();var B;b=window.navigator.userAgent.match(/chrome\/(\d|\.)+/i)||[];if(b.length>0){var E;b=(E=b[0])==null?void 0:E.split("/")[1]}else b=void 0;this.model={persona:"USER",category:void 0,os:a?[a]:[],channel:"Not sure",version:(B=b)!=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},zob=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:Dc(b)}};g=t4.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){Va(this.uploads,a)};
g.getAttachments=function(){for(var a=[],b=l(this.uploads),c=b.next();!c.done;c=b.next())c=c.value,c.state===2&&c.blobRef&&a.push(qi(c.blobRef));return a};
g.submit=function(){var a=this,b,c,d,e,f;return fe(function(h){switch(h.nextAddress){case 1:var k="BUG",q=null,t=null,w="P2",B="S2",E=a.hotlistIds.unconfirmed?[a.hotlistIds.unconfirmed]:null,I,J,N,P=(N=(I=a.model.category)==null?void 0:(J=I.ccEmails)==null?void 0:J.map(tm).filter(lj))!=null?N:[],U;((U=a.model.category)==null?void 0:U.value)==="SECURITY"&&(k="VULNERABILITY",w="P4",B="S4",q="LIMIT_VIEW",t=dLc);var ba;I=((ba=a.model.category)==null?void 0:ba.componentId)||a.componentIds.default;ba=a.model.summary;
J=Lob(a.model,a.customFieldIds);N=a.model;var ma;U="\n# Steps to reproduce the problem\n"+N.reproSteps+"\n\n# Problem Description\n"+N.description+"\n\n"+(N.comments.length>0?"\n# Additional Comments\n"+N.comments:"")+"\n\n# Summary\n"+N.summary+"\n\n"+Nob(N.customQuestionResponses)+"\n\n# Additional Data\nCategory: "+((ma=N.category)==null?void 0:ma.title)+" \\\nChrome Channel: "+N.channel+" \\\nRegression: "+N.regression;U=U.replace(/^\n/,"");b={componentId:I,type:k,status:"NEW",priority:w,severity:B,
title:ba,customField:J,comment:U.replace(/\n{3,}/g,"\n\n"),formattingMode:"MARKDOWN",inProd:!0,isArchived:!1,reporterUser:a.currentUser.user,issueAccessLimitLevel:q,collaboratorsUsers:t,ccUsers:[a.currentUser.user].concat(r(P)),hotlistId:E,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};Ap(a.butterBar,"Saving...",0);ge(h,2);return he(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("mf");a.butterBar.dismiss();a.analytics.trackEvent("createIssue","fileAndRedirect","wizard",!0);return he(h,oD(a.userAccess,"reader","issues/"+d),5);case 5:(e=h.yieldResult)?dIc(a.redirectUrl,
Ao(d),String(d)):(Ap(a.butterBar,"New issue created: "+d+" (view access not granted)",0),dIc(a.redirectUrl,a.paths.listIssues()));Ft(h,0);break;case 2:f=ke(h),Ap(a.butterBar,"Failed to create issue: "+f),le(h)}})};t4.\u0275fac=function(a){return new (a||t4)(A(Ir),A(bG),A(sE),A(hV),A(HKc),A(IKc),A(JKc),A(PD),A(pN),A(N1),A(mD))};
t4.\u0275cmp=p({type:t4,selectors:[["chrome-wizard"]],viewQuery:function(a,b){a&1&&(fg(ZKc,5),fg($Kc,5),fg(aLc,5),fg(JX,5));if(a&2){var c;jg(c=kg())&&(b.summaryControl=c.first);jg(c=kg())&&(b.reproStepsControl=c.first);jg(c=kg())&&(b.descriptionControl=c.first);jg(c=kg())&&(b.attachmentUploader=c.first)}},inputs:{fullScreen:"fullScreen"},decls:117,vars:47,consts:[["contributor",""],["summary","ngModel"],["reproSteps","ngModel"],["description","ngModel"],["headerPosition","bottom","animationDuration",
"0","aria-label","Issue filing form","linear","",3,"disableRipple"],["aria-label","Report an issue with Chromium",3,"completed"],[1,"required"],[3,"personaChange","persona"],[4,"ngIf","ngIfElse"],[3,"completed","aria-label"],[1,"inline-block"],["appearance","outline","aria-label","Operating system",1,"inline"],["multiple","",3,"ngModelChange","ngModel"],[3,"value"],[1,"inline-block","channel"],["appearance","outline","aria-label","Chrome Channel",1,"inline"],[3,"ngModelChange","ngModel"],["value",
"Not sure"],["value","Stable"],["value","Beta"],["value","Dev"],["value","Canary"],["appearance","outline",1,"inline"],["matInput","","aria-label","Chrome version",3,"ngModelChange","ngModel"],["appearance","outline",1,"textarea"],["matInput","","required","","maxlength","100","name","summary","aria-label","One line summary",3,"ngModelChange","ngModel","customValidators"],[4,"ngIf"],["matInput","","required","","maxlength","5000","name","reproSteps","aria-label","Steps to reproduce problem",3,"ngModelChange",
"ngModel","customValidators"],["matInput","","required","","maxlength","5000","name","description","aria-label","Describe the problem",3,"ngModelChange","ngModel","customValidators"],["appearance","outline","aria-label","Did this work before?"],["value","N/A"],["value","Yes"],["value","No"],[1,"actions-container"],["mat-stroked-button","","matStepperPrevious",""],["svgIcon","chevron-left"],["mat-raised-button","","color","primary","matStepperNext","",3,"disabled"],["svgIcon","chevron-right"],["aria-label",
"Extra information about the issue"],[3,"category","responses",4,"ngIf"],["matInput","","aria-label","Additional comments",3,"ngModelChange","ngModel"],[3,"onUploadComplete","onUploadCancel","uploads"],[1,"attachment-selector"],[3,"onSelect","includeTextLabel"],["class","wizard-recaptcha",4,"ngIf"],["mat-raised-button","","color","primary",3,"click","disabled"],["matStepperIcon","number"],["matStepperIcon","edit"],["matStepperIcon","done"],[3,"categoryChange","persona","category"],[1,"issue-quality"],
[1,"ack-issue-quality",3,"ngModelChange","ngModel"],[3,"href"],["href","https://chromium.googlesource.com/chromium/src/+/HEAD/docs/security/faq.md"],["href","https://www.chromium.org/Home/chromium-security/reporting-security-bugs"],["href","https://g.co/chrome/vrp"],[3,"responses","category"],[1,"wizard-recaptcha"],[3,"onUpdate"]],template:function(a,b){if(a&1){var c=u();F(0,"mat-stepper",4)(1,"mat-step",5)(2,"h2");R(3,"Report an issue with Chromium");G();F(4,"h3");R(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. ");
G();H(6,"br");F(7,"h4",6);R(8,"Please select your following role:");G();F(9,"wizard-persona-picker",7);M("personaChange",function(h){v(c);b.model.category=void 0;b.model.persona=h;return x()});G();C(10,Aob,21,6,"ng-container",8)(11,Cob,10,2,"ng-template",null,0,yg);G();F(13,"mat-step",9)(14,"h2");R(15);G();F(16,"h3");R(17,"Please confirm that the following version information is correct.");G();F(18,"h4",10);R(19,"Operating System:");G();F(20,"mat-form-field",11)(21,"mat-select",12);pg("ngModelChange",
function(h){v(c);og(b.model.os,h)||(b.model.os=h);return x(h)});F(22,"mat-option",13);R(23,"Android");G();F(24,"mat-option",13);R(25,"Chrome OS");G();F(26,"mat-option",13);R(27,"iOS");G();F(28,"mat-option",13);R(29,"Linux");G();F(30,"mat-option",13);R(31,"Mac OS");G();F(32,"mat-option",13);R(33,"Windows");G();F(34,"mat-option",13);R(35,"Unknown/Other");G()()();F(36,"h4",14);R(37,"Channel:");G();F(38,"mat-form-field",15)(39,"mat-select",16);pg("ngModelChange",function(h){v(c);og(b.model.channel,h)||
(b.model.channel=h);return x(h)});F(40,"mat-option",17);R(41,"Not sure");G();F(42,"mat-option",18);R(43,"Stable");G();F(44,"mat-option",19);R(45,"Beta");G();F(46,"mat-option",20);R(47,"Dev");G();F(48,"mat-option",21);R(49,"Canary");G()()();H(50,"br");F(51,"h4",10);R(52,"Chrome version:");G();F(53,"mat-form-field",22)(54,"input",23);pg("ngModelChange",function(h){v(c);og(b.model.version,h)||(b.model.version=h);return x(h)});G()();F(55,"h4",6);R(56,"Please enter a one line summary (100 character limit)");
G();F(57,"mat-form-field",24)(58,"textarea",25,1);pg("ngModelChange",function(h){v(c);og(b.model.summary,h)||(b.model.summary=h);return x(h)});R(60,"      ");G();C(61,Dob,2,0,"mat-error",26);G();F(62,"h4",6);R(63,"Steps to reproduce problem (5000 character limit)");G();F(64,"mat-form-field",24)(65,"textarea",27,2);pg("ngModelChange",function(h){v(c);og(b.model.reproSteps,h)||(b.model.reproSteps=h);return x(h)});R(67,"      ");G();C(68,Eob,2,0,"mat-error",26);G();F(69,"h4",6);R(70,"Please describe the problem (5000 character limit)");
G();F(71,"mat-form-field",24)(72,"textarea",28,3);pg("ngModelChange",function(h){v(c);og(b.model.description,h)||(b.model.description=h);return x(h)});R(74,"      ");G();C(75,Fob,2,0,"mat-error",26);G();F(76,"h4");R(77,"Did this work before?");G();F(78,"mat-form-field",29)(79,"mat-select",16);pg("ngModelChange",function(h){v(c);og(b.model.regression,h)||(b.model.regression=h);return x(h)});F(80,"mat-option",30);R(81,"Not applicable or don't know");G();F(82,"mat-option",31);R(83,"Yes - This is a regression");
G();F(84,"mat-option",32);R(85,"No - I think it never worked");G()()();F(86,"div",33)(87,"button",34);H(88,"mat-icon",35);R(89," Back ");G();F(90,"button",36);R(91," Next ");H(92,"mat-icon",37);G()()();F(93,"mat-step",38)(94,"h2");R(95,"Extra information about the issue");G();C(96,Gob,1,1,"wizard-custom-questions",39);F(97,"h4");R(98,"Additional comments");G();F(99,"mat-form-field",24)(100,"textarea",40);pg("ngModelChange",function(h){v(c);og(b.model.comments,h)||(b.model.comments=h);return x(h)});
G()();F(101,"h4");R(102,"Upload any relevant attachments");G();F(103,"b-attachment-uploader",41);M("onUploadComplete",function(){v(c);return x(b.enableSubmit())})("onUploadCancel",function(h){v(c);b.removeUpload(h);return x(b.enableSubmit())});G();F(104,"div",42)(105,"b-attachment-selector",43);M("onSelect",function(h){v(c);b.uploadFile(h);b.isSubmitEnabled=!1;return x()});G();R(106," You can include multiple attachments. ");G();C(107,Hob,2,0,"div",44);F(108,"div",33)(109,"button",34);H(110,"mat-icon",
35);R(111," Back ");G();F(112,"button",45);M("click",function(){v(c);return x(b.submit())});R(113," Submit ");G()()();C(114,Iob,0,0,"ng-template",46)(115,Job,0,0,"ng-template",47)(116,Kob,0,0,"ng-template",48);G()}if(a&2){a=Q(12);var d=Q(59),e=Q(66),f=Q(73);Kf("bv2-view",b.fullScreen)("hide-dots",b.model.persona===b.Persona.CONTRIBUTOR);D("disableRipple",!0);z();D("completed",zob(b,0));z(8);D("persona",b.model.persona);z();D("ngIf",b.model.persona!==b.Persona.CONTRIBUTOR)("ngIfElse",a);z(3);Zf("aria-label",
"Details for problems with ",b.model.category==null?null:b.model.category.title,"");D("completed",zob(b,1));z(2);S("Details for problems with ",b.model.category==null?null:b.model.category.title,"");z(6);ng("ngModel",b.model.os);z();D("value",b.PlatformOs.ANDROID);z(2);D("value",b.PlatformOs.CHROME);z(2);D("value",b.PlatformOs.IOS);z(2);D("value",b.PlatformOs.LINUX);z(2);D("value",b.PlatformOs.MAC);z(2);D("value",b.PlatformOs.WINDOWS);z(2);D("value",b.PlatformOs.UNKNOWN);z(5);ng("ngModel",b.model.channel);
z(15);ng("ngModel",b.model.version);z(4);ng("ngModel",b.model.summary);D("customValidators",ug(40,bLc,b.nonEmptyValidator));z(3);D("ngIf",d.invalid&&(d.dirty||d.touched));z(4);ng("ngModel",b.model.reproSteps);D("customValidators",vg(42,cLc,b.reproStepsValidator,b.nonEmptyValidator));z(3);D("ngIf",e.invalid&&(e.dirty||e.touched));z(4);ng("ngModel",b.model.description);D("customValidators",ug(45,bLc,b.nonEmptyValidator));z(3);D("ngIf",f.invalid&&(f.dirty||f.touched));z(4);ng("ngModel",b.model.regression);
z(11);D("disabled",!zob(b,1));z(6);D("ngIf",b.model.category);z(4);ng("ngModel",b.model.comments);z(3);D("uploads",b.uploads);z(2);D("includeTextLabel",!0);z(2);D("ngIf",b.enableRecaptcha);z(5);D("disabled",!b.isSubmitEnabled||!b.isCaptchaValid())}},dependencies:[GX,JX,Gv,zB,z1,mh,qy,Iy,Jy,yy,oE,MKc,PKc,QKc,RKc,QH,RH,SV,cz,Wy,Oy,kM,mM,nM,Kx,r4,s4,l4,m4,n4,jY,c4,d4,KKc],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 u4=function(a,b,c,d){this.activeSession=a;this.routeParams=b;this.router=c;this.userAccess=d;this.rootComponentId=a.getEnvironmentType()==="QA"?tQb.default:uQb.default};
u4.prototype.canActivate=function(){var a=this,b,c;return fe(function(d){if(d.nextAddress==1)return(c=a.activeSession.getFlag("enableChromeWizard")&&((b=a.activeSession.getTracker())==null?void 0:b.trackerId)==="157"&&!a.routeParams.template&&!a.routeParams.noWizard)?he(d,oD(a.userAccess,"writer","components/"+a.rootComponentId+"/issueDefaults"),3):d.jumpTo(2);d.nextAddress!=2&&(c=!d.yieldResult);return c?d.return(qB(a.router,["issues/wizard"])):d.return(!0)})};
u4.\u0275fac=function(a){return new (a||u4)(n(Ir),n(iJ),n(pB),n(mD))};u4.\u0275prov=Hc({token:u4,factory:u4.\u0275fac,providedIn:"root"});var v4=function(a,b,c,d){var e=this;this.userResources=a;this.history=b;this.router=c;this.activeSession=d;this.viewIssues=ro;this.createIssue=jGa;this.componentSettings=kGa;this.currentTracker=this.activeSession.getTracker();var f;this.trackerId=(f=this.currentTracker)==null?void 0:f.trackerId;this.includeArchived=!1;this.isThinking=!0;this.isInternalSession=this.activeSession.isInternalSession();this.placeholder=this.currentTracker||this.activeSession.isExternalSession()?"Find components by name or id":
"Find components by name, team, or id";this.recentComponents$=this.userResources.getRecentComponents().then(function(h){return h.filter(function(k){return e.filterTrackerComponents(k)})}).finally(function(){e.isThinking=!1})};v4.prototype.back=function(){M1(this.history)};v4.prototype.filterTrackerComponents=function(a){return!this.trackerId||a.trackerId===this.trackerId};v4.\u0275fac=function(a){return new (a||v4)(A(aF),A(L1),A(pB),A(Ir))};
v4.\u0275cmp=p({type:v4,selectors:[["components-screen-wrapper"]],decls:22,vars:8,consts:[["card",""],["cardBody",""],[1,"flex-kids-y","pos-fill","bg-off-main","overflow","overflow-on-print-media"],[1,"kd-appbar","kd-buttonbar"],[1,"bv2-appbar-left"],["mat-icon-button","","matTooltip","Go back","aria-label","Go back",3,"click"],["svgIcon","arrow-backward","color","primary"],[1,"bv2-appbar-right"],["mat-button","","routerLink","/components/new","class","gmat-button medium",4,"ngIf"],["label","Show archived",
"tooltip","Toggle whether to show 'archived' Components",1,"margin-x",3,"modelChange","model"],[1,"padded"],[3,"selectedComponentChange","includeArchived","placeholder","ariaLabel"],[1,"margin-top"],[1,"pos-rel","carded","bg-main"],[4,"ngIf"],[1,"muted","margin-s-top","margin-left"],["routerLink","/components/all",1,"muted","hover-link"],["mat-button","","routerLink","/components/new",1,"gmat-button","medium"],["class","muted",4,"ngIf"],[1,"unstyled-list","reverse-padded-sides","recent-components"],
[4,"ngFor","ngForOf"],[1,"muted"],["href","https://developers.google.com/issue-tracker/concepts/components#recent-components","target","_blank"],[1,"flex-kids-x","clickable-row","padded",3,"routerLinkObj"],[1,"flex-1",3,"onedevHovercardTrigger"],[1,"type-l","normal-link"],[1,"margin-s-left",3,"accessLevel","labelOnlyMode"],[1,"margin-s-left",3,"trackerId","showHovercard"],[1,"muted","line-clamp-2"],[1,"right"],["mat-button","","type","button",1,"gmat-button","medium",3,"routerLinkObj"],[4,"onedevHovercardLazyBody"],
[3,"onedevIsHovercardReady","componentId"]],template:function(a,b){a&1&&(F(0,"article",2)(1,"header",3)(2,"div",4)(3,"button",5),M("click",function(){return b.back()}),H(4,"mat-icon",6),G(),F(5,"h2"),R(6,"Components"),G()(),F(7,"div",7),C(8,Oob,2,0,"a",8),F(9,"b-slide-toggle",9),M("modelChange",function(c){return b.includeArchived=c}),G()()(),F(10,"section",10)(11,"h3"),R(12,"Search"),G(),F(13,"b-team-component-picker",11),M("selectedComponentChange",function(c){c!=null&&qr(b.router,kGa(c.componentId).path)}),
G(),F(14,"h3",12),R(15,"Recent Components"),G(),F(16,"div",13),C(17,Sob,4,2,"ng-container",14),T(18,"async"),G(),F(19,"p",15)(20,"a",16),R(21,"See all Components"),G()()()());a&2&&(z(8),D("ngIf",b.isInternalSession),z(),D("model",b.includeArchived),z(4),D("includeArchived",b.includeArchived)("placeholder",b.placeholder)("ariaLabel",b.placeholder),z(4),D("ngIf",V(18,6,b.recentComponents$)))},dependencies:[oE,pE,LH,OH,Fv,Gv,zB,rB,wB,bV,AZ,$H,aI,gI,bI,LW,yN,nQ,Lv],encapsulation:2});var eLc=["bookmarkGroupName"],fLc=function(a){return{"bv2-edit-resource-readonly":a}},w4=function(a,b,c,d,e,f,h,k,q){Z.call(this);var t=this;this.location=a;this.appHistory=b;this.snackBar=c;this.bookmarkGroupsApi=d;this.paths=e;this.analytics=f;this.errorHandler=h;this.appEvents=q;this.error="";this.isSaving=!1;this.bookmarkGroupUnderEdit=new vy({name:new xy("",my),description:new xy("")});this.subscriptions.add(FQ(k,function(){return!(!t.name()&&!t.description())},!1))};X(w4,Z);w4.\u0275dir=Z.\u0275dir;
g=w4.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(){M1(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:""};w4.\u0275fac=function(a){return new (a||w4)(A(oN),A(L1),A(XD),A(cC),A(pN),A(bG),A(uE),A(EQ),A(yE))};
w4.\u0275cmp=p({type:w4,selectors:[["b-create-bookmark-group"]],viewQuery:function(a,b){a&1&&fg(eLc,5);if(a&2){var c;jg(c=kg())&&(b.bookmarkGroupName=c.first)}},features:[zf],decls:27,vars:11,consts:[["bookmarkGroupName",""],[1,"kd-appbar"],[1,"kd-buttonbar","ltr"],["mat-icon-button","","matTooltip","Go back","aria-label","Go back",3,"click"],["svgIcon","arrow-backward","color","primary"],[1,"bv2-view"],[1,"edit-resource-panel"],[3,"formGroup"],[3,"error"],[1,"edit-field",3,"ngClass"],["for","bookmark-group-name",
1,"required"],["type","text","autofocus","autofocus","id","bookmark-group-name","required","","aria-required","true","formControlName","name",3,"disabled"],["for","bookmark-group-description"],["id","bookmark-group-description","formControlName","description",3,"disabled"],[1,"advanced-settings-info"],[1,"edit-button-row"],["mat-flat-button","","color","primary",1,"gmat-button",3,"click","disabled"],["mat-stroked-button","","color","primary",1,"gmat-button",3,"click"]],template:function(a,b){if(a&
1){var c=u();F(0,"div",1)(1,"div",2)(2,"button",3);M("click",function(){v(c);return x(b.back())});H(3,"mat-icon",4);G();F(4,"h2");R(5,"Create a new bookmark group");G()()();F(6,"div",5)(7,"div",6)(8,"form",7);H(9,"b-error-banner",8);F(10,"div",9)(11,"label",10);R(12,"Name");G();H(13,"input",11,0);G();F(15,"div",9)(16,"label",12);R(17,"Description");G();F(18,"textarea",13);R(19,"        ");G()();F(20,"p",14);R(21," Advanced settings such as selected items and access controls may be defined once the bookmark group is created. ");
G();F(22,"div",15)(23,"button",16);M("click",function(){v(c);return x(b.save())});R(24," Save ");G();F(25,"button",17);M("click",function(){v(c);return x(b.revertChanges())});R(26," Revert changes ");G()()()()()}a&2&&(z(8),D("formGroup",b.bookmarkGroupUnderEdit),z(),D("error",b.error),z(),D("ngClass",ug(7,fLc,b.isSaving)),z(3),D("disabled",b.isSaving),z(2),D("ngClass",ug(9,fLc,b.isSaving)),z(3),D("disabled",b.isSaving),z(5),D("disabled",b.isSaving))},dependencies:[Ev,zB,oE,LH,OH,zy,mh,qy,ry,Iy,Ey,
Fy,j0],encapsulation:2});var gLc=["form"],x4=function(a,b,c,d,e,f,h,k,q){Z.call(this);this.butterBar=a;this.paths=b;this.analytics=c;this.appHistory=d;this.bLocation=e;this.activeSession=f;this.documentationLinks=h;this.componentActions=q;this.parentComponentInternal=null;this.commentEditsEnabled=this.componentIsValid=this.retentionIsValid=this.isSaving=!1;this.component={componentId:0,parentComponentId:0,name:"",description:"",archived:!1,accessLimit:{accessLevel:"ACCESS_LEVEL_UNSPECIFIED"},emailAlias:"dummyemail@google.com",
componentPathInfo:{componentPathId:null,componentPathName:null,allCustomField:null,fieldConfigsMap:new Map},commentEditState:"DISABLED",defaultTemplateId:0,slo:{inherit:!0,source:"BUGSCOPE",id:"0"},bugscopeSloId:"0",spamProtection:"NO_PROTECTIONS"};this.sessionIsExternal=f.isExternalSession();k.parentId&&this.loadParentComponent(vi(k.parentId))};X(x4,Z);x4.\u0275dir=Z.\u0275dir;g=x4.prototype;g.ngAfterViewInit=function(){};
g.create=function(){var a=this;this.validate()&&(Ap(this.butterBar,"Saving component...",0),this.isSaving=!0,this.component.parentComponentId=this.parentComponent.componentId,this.componentActions.create(this.component).then(function(b){Ap(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(zo.editComponent.makeHref(b.componentId))},a.activeSession.getCreateComponentRedirectDelay())}).catch(function(b){a.butterBar.showWarning(nn(b),0);a.isSaving=!1}))};g.back=function(){M1(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;hLc(this)};g.accessCheckComplete=function(a){this.componentIsValid=a;hLc(this)};
var hLc=function(a){a.parentComponent?(a.component.commentEditState=a.parentComponent.commentEditState,a.commentEditsEnabled=a.component.commentEditState==="ENABLED"):(a.component.commentEditState="DISABLED",a.commentEditsEnabled=!1)};ea.Object.defineProperties(x4.prototype,{parentComponent:{configurable:!0,enumerable:!0,get:function(){return this.parentComponentInternal},set:function(a){this.parentComponentInternal=a;hLc(this)}}});
x4.\u0275fac=function(a){return new (a||x4)(A(sE),A(pN),A(bG),A(L1),A(oN),A(Ir),A(oI),A(iJ),A(UU))};
x4.\u0275cmp=p({type:x4,selectors:[["create-component-page"]],viewQuery:function(a,b){a&1&&fg(gLc,5);if(a&2){var c;jg(c=kg())&&(b.createComponentForm=c.first)}},features:[zf],decls:55,vars:32,consts:[["form","ngForm"],[1,"kd-appbar"],[1,"kd-buttonbar"],["format","icon","size","large","tooltip","Go back","b-aria-label","Go back",3,"onAction"],["name","arrow-backward","size","large"],[1,"bv2-view"],[1,"edit-resource-header"],[1,"edit-resource-panel"],["novalidate","",1,"create-component-form"],[3,"error"],
[1,"edit-field"],["for","component-name",1,"required"],[1,"edit-field-header"],["type","text","id","component-name","placeholder","Component name","name","componentName","aria-label","Component name",3,"ngModelChange","bFocus","ngModel","disabled","required"],["for","component-description"],["id","component-description","placeholder","Component description","name","componentDescription","aria-label","Component description",3,"ngModelChange","ngModel","disabled"],["for","parent-component",1,"required"],
["id","parent-component","ariaLabel","Parent component",3,"selectedComponentChange","accessCheckComplete","selectedComponent","placeholder","isRequired","checkAdminAccess"],[1,"edit-field","permission-toggle"],[1,"permission-toggle-checkbox"],["ariaLabel","Editable comments",3,"change","checked"],[1,"edit-field-help"],[1,"permission-toggle-help","edit-field-help"],["target","_blank","class","keep-underline keep-focus-ring",3,"href",4,"ngIf"],["for","retention-settings",1,"required"],["target","_blank",
1,"keep-underline","keep-focus-ring",3,"href"],["id","retention-settings"],[3,"modelChange","validChange","issueRetentionDisabled","isExternal","componentPathInfo","initialModel"],[1,"advanced-settings-info"],[1,"bv2-component-button-bar"],["format","fill",3,"onAction","disabled"],["format","hairline",3,"onAction","disabled"]],template:function(a,b){if(a&1){var c=u();F(0,"div",1)(1,"div",2)(2,"b-button",3);M("onAction",function(){v(c);return x(b.back())});H(3,"b-icon",4);G()()();F(4,"div",5)(5,"h2",
6);R(6,"Create component");G();F(7,"div",7)(8,"form",8,0);H(10,"b-error-banner",9);F(11,"div",10)(12,"label",11)(13,"span",12);R(14,"Name");G()();F(15,"input",13);pg("ngModelChange",function(d){v(c);og(b.component.name,d)||(b.component.name=d);return x(d)});G()();F(16,"div",10)(17,"label",14)(18,"span",12);R(19,"Description");G()();F(20,"textarea",15);pg("ngModelChange",function(d){v(c);og(b.component.description,d)||(b.component.description=d);return x(d)});R(21,"        ");G()();F(22,"div",10)(23,
"label",16)(24,"span",12);R(25,"Parent Component");G()();F(26,"b-team-component-picker",17);M("selectedComponentChange",function(d){v(c);return x(b.onComponentSelect(d!==null&&d!==void 0?d:null))})("accessCheckComplete",function(d){v(c);return x(b.accessCheckComplete(d))});G()();F(27,"div",18)(28,"div",19)(29,"mat-checkbox",20);M("change",function(d){v(c);return x(b.setCommentEditState(d.checked))});G()();F(30,"div")(31,"strong",21);R(32,"Editable Comments");G();F(33,"div",22);R(34," When checked, users with comment access can modify their own issue comments, and editors can modify the first issue comment. ");
C(35,Uob,2,1,"a",23);G()()();F(36,"div",10)(37,"label",24)(38,"span",12);R(39,"Retention Settings");G()();F(40,"div",21)(41,"p");R(42,"Please choose a period of time to retain the data stored in this component.");H(43,"br");F(44,"a",25);R(45," Learn more ");G()()();F(46,"div",26)(47,"b-retention-settings-form",27);M("modelChange",function(d){v(c);return x(b.component.retentionSettings=d)})("validChange",function(d){v(c);return x(b.retentionIsValid=d)});G()()();F(48,"p",28);R(49," Advanced settings such as custom field and access controls may be defined once the component is created. ");
G();F(50,"div",29)(51,"b-button",30);M("onAction",function(){v(c);return x(b.create())});R(52," Save ");G();F(53,"b-button",31);M("onAction",function(){v(c);return x(b.back())});R(54," Discard ");G()()()()()}a&2&&(z(8),Kf("show-errors",b.error),z(2),D("error",b.error),z(),Kf("bv2-edit-resource-readonly",b.isSaving),z(4),D("bFocus",!0),ng("ngModel",b.component.name),D("disabled",b.isSaving)("required",!0),z(),Kf("bv2-edit-resource-readonly",b.isSaving),z(4),ng("ngModel",b.component.description),D("disabled",
b.isSaving),z(2),Kf("bv2-edit-resource-readonly",b.isSaving),z(4),D("selectedComponent",b.parentComponent)("placeholder","Choose Component")("isRequired",!0)("checkAdminAccess",!0),z(),Kf("bv2-edit-resource-readonly",b.isSaving),z(2),D("checked",b.commentEditsEnabled),z(6),D("ngIf",!b.sessionIsExternal),z(9),D("href",Dr(),Qe),z(2),Kf("bv2-edit-resource-readonly",b.isSaving),z(),D("issueRetentionDisabled",b.isSaving)("isExternal",bq(b.parentComponent))("componentPathInfo",b.parentComponent==null?null:
b.parentComponent.componentPathInfo)("initialModel",b.component.retentionSettings),z(4),D("disabled",b.isSaving||!b.componentIsValid),z(2),D("disabled",b.isSaving))},dependencies:[jQ,Gv,j0,ZY,zy,mh,qy,ry,Iy,yy,wy,hN,QH,RH,s1,bV],styles:["b-team-component-picker[_ngcontent-%COMP%]{display:block;width:600px}\n/*# sourceMappingURL=create_component_page.css.map */"]});var iLc=["hotlistName"],jLc=function(a){return{"bv2-edit-resource-readonly":a}},y4=function(a,b,c,d,e,f,h,k){Z.call(this);var q=this;this.location=a;this.appHistory=b;this.snackBar=c;this.hotlistApi=d;this.analytics=e;this.errorHandler=f;this.appEvents=k;this.error="";this.isSaving=!1;this.hotlistUnderEdit=new vy({name:new xy("",my),description:new xy("")});this.subscriptions.add(FQ(h,function(){return!(!q.name()&&!q.description())},!1))};X(y4,Z);y4.\u0275dir=Z.\u0275dir;g=y4.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(zo.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(){M1(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:""};
y4.\u0275fac=function(a){return new (a||y4)(A(oN),A(L1),A(XD),A(RE),A(bG),A(uE),A(EQ),A(yE))};
y4.\u0275cmp=p({type:y4,selectors:[["b-create-hotlist"]],viewQuery:function(a,b){a&1&&fg(iLc,5);if(a&2){var c;jg(c=kg())&&(b.hotlistName=c.first)}},features:[zf],decls:27,vars:11,consts:[["hotlistName",""],[1,"kd-appbar"],[1,"kd-buttonbar","ltr"],["mat-icon-button","","matTooltip","Go back","aria-label","Go back",3,"click"],["svgIcon","arrow-backward","color","primary"],[1,"bv2-view"],[1,"edit-resource-panel"],[3,"formGroup"],[3,"error"],[1,"edit-field",3,"ngClass"],["for","hotlist-name",1,"required"],
["type","text","autofocus","autofocus","id","hotlist-name","required","","aria-required","true","formControlName","name",3,"disabled"],["for","hotlist-description"],["id","hotlist-description","formControlName","description",3,"disabled"],[1,"advanced-settings-info"],[1,"edit-button-row"],["mat-flat-button","","color","primary",1,"gmat-button",3,"click","disabled"],["mat-stroked-button","","color","primary",1,"gmat-button",3,"click"]],template:function(a,b){if(a&1){var c=u();F(0,"div",1)(1,"div",
2)(2,"button",3);M("click",function(){v(c);return x(b.back())});H(3,"mat-icon",4);G();F(4,"h2");R(5,"Create a new hotlist");G()()();F(6,"div",5)(7,"div",6)(8,"form",7);H(9,"b-error-banner",8);F(10,"div",9)(11,"label",10);R(12,"Name");G();H(13,"input",11,0);G();F(15,"div",9)(16,"label",12);R(17,"Description");G();F(18,"textarea",13);R(19,"        ");G()();F(20,"p",14);R(21," Advanced settings such as access controls may be defined once the hotlist is created. ");G();F(22,"div",15)(23,"button",16);
M("click",function(){v(c);return x(b.save())});R(24," Save ");G();F(25,"button",17);M("click",function(){v(c);return x(b.revertChanges())});R(26," Revert changes ");G()()()()()}a&2&&(z(8),D("formGroup",b.hotlistUnderEdit),z(),D("error",b.error),z(),D("ngClass",ug(7,jLc,b.isSaving)),z(3),D("disabled",b.isSaving),z(2),D("ngClass",ug(9,jLc,b.isSaving)),z(3),D("disabled",b.isSaving),z(5),D("disabled",b.isSaving))},dependencies:[Ev,zB,oE,LH,OH,zy,mh,qy,ry,Iy,Ey,Fy,j0],encapsulation:2});var z4=function(a){this.internalArray_=m(a,0,z4.messageId)};X(z4,Y);z4.prototype.getContent=function(){return Kh(this,1)};z4.prototype.setContent=function(a){return rj(this,1,a)};z4.prototype.hasContent=function(){return $k(this,1)};z4.messageId="b.LlmGenericRequest";var kLc=function(a){this.internalArray_=m(a,0,kLc.messageId)};X(kLc,Y);kLc.prototype.getOutput=function(){return Kh(this,1)};kLc.messageId="b.LlmGenericResponse";var A4=function(a){this.executor=a};A4.prototype.suggestIssueTitle=function(a){a=(new z4).setContent(a);return this.executor.post({url:"/action/llm/suggest_title",body:a,responseConstructor:kLc}).then(function(b){var c;return(c=b.getOutput())!=null?c:""})};A4.\u0275fac=function(a){return new (a||A4)(n(JB))};A4.\u0275prov=Hc({token:A4,factory:A4.\u0275fac,providedIn:"root"});var B4=function(){this.isGeneratingTitle=new W.BehaviorSubject(!1);this.generatedTitle=new W.BehaviorSubject(null);this.suggestTitleRequested=new W.Subject};B4.\u0275fac=function(a){return new (a||B4)};B4.\u0275prov=Hc({token:B4,factory:B4.\u0275fac,providedIn:"root"});var C4=function(a,b,c,d,e){Z.call(this);var f=this;this.activeSession=a;this.butterBar=b;this.analytics=c;this.llmSuggestTitleService=d;this.llmApi=e;this.suggestedTitle=new XF;this.enableSuggestTitle=this.activeSession.getFlag("enableSuggestTitle")||!1;or(this.llmSuggestTitleService.suggestTitleRequested).pipe(qf(this.destroyed$)).subscribe(function(){f.suggestIssueTitle()})};X(C4,Z);C4.\u0275dir=Z.\u0275dir;
C4.prototype.suggestIssueTitle=function(){var a=this,b;return fe(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 he(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);Ap(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);le(c)})};C4.\u0275fac=function(a){return new (a||C4)(A(Ir),A(sE),A(bG),A(B4),A(A4))};
C4.\u0275cmp=p({type:C4,selectors:[["llm-suggest-title-button"]],inputs:{description:"description"},outputs:{suggestedTitle:"suggestedTitle"},features:[zf],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-button","margin-s-left",3,"click","matTooltip","disabled"],["svgIcon","pen_spark_24px",1,"icon-s","margin-xs-right"]],template:function(a,b){a&1&&
(F(0,"button",0),M("click",function(){return b.suggestIssueTitle()}),H(1,"mat-icon",1),R(2," Suggest title\n"),G());a&2&&D("matTooltip",b.description.value===""?"Enter a description to suggest a title":"Generate AI-suggested title for this issue")("disabled",b.description.value==="")},dependencies:[zB,oE,LH,OH],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 lLc=[[["","mainSegment",""]],[["","dropdownSegment",""]]],D4=function(){this.mainSegment=!0};D4.\u0275fac=function(a){return new (a||D4)};D4.\u0275dir=fd({type:D4,selectors:[["button","mainSegment",""]],hostVars:2,hostBindings:function(a,b){a&2&&Kf("main-segment",b.mainSegment)}});var E4=function(){this.dropdownAriaLabel=this.dropdownTooltip="";this.disabled=!1;this.size="large";this.dialogClosed=new XF;this.dialogOpened=new XF};E4.prototype.ngAfterContentInit=function(){};
E4.prototype.ngOnChanges=function(a){a.dropdownTooltip&&!this.dropdownAriaLabel&&(this.dropdownAriaLabel=this.dropdownTooltip)};ea.Object.defineProperties(E4.prototype,{expanded:{configurable:!0,enumerable:!0,get:function(){var a,b;return(b=(a=this.trigger)==null?void 0:a.isOpen)!=null?b:!1}}});E4.\u0275fac=function(a){return new (a||E4)};
E4.\u0275cmp=p({type:E4,selectors:[["split-button"]],contentQueries:function(a,b,c){a&1&&gg(c,D4,5);if(a&2){var d;jg(d=kg())&&(b.mainSegment=d.first)}},viewQuery:function(a,b){a&1&&fg(uQ,5);if(a&2){var c;jg(c=kg())&&(b.trigger=c.first)}},hostVars:2,hostBindings:function(a,b){a&2&&Kf("expanded",b.expanded)},inputs:{dropdownTooltip:"dropdownTooltip",dropdownAriaLabel:"dropdownAriaLabel",disabled:"disabled",size:"size"},outputs:{dialogClosed:"dialogClosed",dialogOpened:"dialogOpened"},exportAs:["splitButton"],
features:[td],ngContentSelectors:["[mainSegment]","[dropdownSegment]"],decls:8,vars:7,consts:[["trigger","onedevPopupPanelTrigger"],["contentPanel","onedevPopupPanel"],["mat-icon-button","","onedevPopupPanelTrigger","",3,"click","onedevPopupPanelTriggerOpened","onedevPopupPanelTriggerClosed","onedevPopupPanelTriggerFor","matTooltip","disabled"],["svgIcon","arrow-dropdown"],["role","region"],[1,"dropdown-container"]],template:function(a,b){if(a&1){var c=u();Xf(lLc);Yf(0);F(1,"button",2,0);M("click",
function(){v(c);var d,e;if((e=(d=b.trigger)==null?void 0:d.isOpen)!=null&&e){var f;(f=b.trigger)==null||f.close()}else{var h;(h=b.trigger)==null||h.open()}return x()})("onedevPopupPanelTriggerOpened",function(){v(c);return x(b.dialogOpened.emit())})("onedevPopupPanelTriggerClosed",function(){v(c);return x(b.dialogClosed.emit())});H(3,"mat-icon",3);G();F(4,"onedev-popup-panel",4,1)(6,"div",5);Yf(7,1);G()()}a&2&&(a=Q(5),z(),Nf("dropdown-button ",b.size,""),D("onedevPopupPanelTriggerFor",a)("matTooltip",
b.dropdownTooltip)("disabled",b.disabled),Bf("aria-label",b.dropdownAriaLabel))},dependencies:[zB,oE,LH,OH,tQ,uQ],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{width:18px;transition:250ms transform}/*# sourceMappingURL=split_button.css.map */"],
changeDetection:0});var mLc=new Map([["TOTALLY_INCORRECT","Totally incorrect"],["MISSING_IMPORTANT_INFO","Missing important info"],["OTHER","Other"]]),F4=function(a,b,c){Z.call(this);this.butterBar=a;this.analytics=b;this.llmSuggestTitleService=c;this.suggestionAccepted=new XF;this.isGeneratingTitle$=or(this.llmSuggestTitleService.isGeneratingTitle).pipe(mf({refCount:!0,bufferSize:1}));this.suggestedTitle$=or(this.llmSuggestTitleService.generatedTitle).pipe(mf({refCount:!0,bufferSize:1}));this.isVisible$=(0,W.combineLatest)([or(this.llmSuggestTitleService.isGeneratingTitle),
or(this.llmSuggestTitleService.generatedTitle)]).pipe(qf(this.destroyed$),y(function(d){var e=l(d);d=e.next().value;e=e.next().value;return d||e}));this.suggestedTitleRejectionReasons=["TOTALLY_INCORRECT","MISSING_IMPORTANT_INFO","OTHER"];this.REJECT_REASON_TO_DISPLAY=mLc};X(F4,Z);F4.\u0275dir=Z.\u0275dir;F4.prototype.close=function(){this.llmSuggestTitleService.generatedTitle.next(null)};F4.\u0275fac=function(a){return new (a||F4)(A(sE),A(bG),A(B4))};
F4.\u0275cmp=p({type:F4,selectors:[["llm-suggest-title-preview"]],outputs:{suggestionAccepted:"suggestionAccepted"},features:[zf],decls:4,vars:3,consts:[["spinner",""],["splitButton",""],["class","suggest-title flex-kids-x carded margin-s-top",4,"ngIf"],[1,"suggest-title","flex-kids-x","carded","margin-s-top"],[1,"flex-kids-y","flex","gap"],[1,"flex-kids-x","align-items-center","space-between"],[1,"heading-s"],[1,"flex-kids-x"],["mat-icon-button","","aria-label","Re-generate title","matTooltip","Re-generate title",
1,"request-title",3,"click"],["svgIcon","refresh"],["mat-icon-button","","aria-label","Hide AI suggested title","matTooltip","Hide AI suggested title",1,"hide-suggest-title",3,"click"],["svgIcon","close"],[1,"type-m","margin-s-right"],[4,"ngIf","ngIfElse"],[1,"flex-kids-x","gap-s"],["mat-flat-button","","color","primary","type","button",1,"gmat-button","small",3,"click","disabled"],["dropdownTooltip","Specify reject reason",3,"size","disabled"],["mat-button","","mainSegment","",1,"gmat-button","small",
3,"click","disabled"],["dropdownSegment",""],["mat-menu-item","","class","gmat-button rejection-reason",3,"click",4,"ngFor","ngForOf"],["mat-menu-item","",1,"gmat-button","rejection-reason",3,"click"]],template:function(a,b){a&1&&(C(0,Xob,25,15,"div",2),T(1,"async"),C(2,Yob,1,0,"ng-template",null,0,yg));a&2&&D("ngIf",V(1,1,b.isVisible$))},dependencies:[Fv,Gv,zB,oE,LH,OH,RQ,E4,D4,RL,Lv],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 G4=function(a,b){Z.call(this);var c=this;this.similarIssuesApi=a;this.analytics=b;this.hasSearched=this.isLoading=!1;this.loadedIssueCount=0;this.componentId$=new W.ReplaySubject(1);this.contextRaw$=new W.ReplaySubject(1);this.tableColumns=["title","priority","createdTime"];this.isInternal=Ql();this.tableOptions={hideColumnHeaders:!0,enableIssueHovercard:!0,rowLimit:3,alwaysOpenNewTab:!0,modes:{createdTime:"relativepastshort"}};this.searchString$=this.contextRaw$.pipe(y(function(d){return d.trim()}),
te(function(d){return d.length>=7}),bf(200));this.issues$=(0,W.combineLatest)([this.componentId$,this.searchString$]).pipe(pf(function(d){var e=l(d);d=e.next().value;e=e.next().value;c.isLoading=!0;return Wmc(c.similarIssuesApi,{scope:"componentId:"+d+" modified:365d status:open",scopeSortOrder:"vote_count desc",maxResults:15,keyword:e})}),$e(function(d){Ei("similarIssuesApi.lookupSimilarIssues() error: ",d);var e,f,h=(f=d==null?void 0:(e=d.error)==null?void 0:e.status)!=null?f:d==null?void 0:d.status;
c.analytics.trackEvent("similarIssues","error",h);return(0,W.of)({similarIssues:[],scores:[]})}),y(function(d){return bpb(d)}),sf(function(d){c.isLoading=!1;c.hasSearched=!0;c.loadedIssueCount=d.length}));this.issueIds$=this.issues$.pipe(y(function(d){return d.map(function(e){return e.issueId})}));this.subscriptions.add(this.issues$.pipe(y(function(d){return d.length})).subscribe(function(d){b.trackEvent("similarIssues","loaded","possible-dupes-"+d,d)}))};X(G4,Z);G4.\u0275dir=Z.\u0275dir;
ea.Object.defineProperties(G4.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 fo(this.componentId$)}},context:{configurable:!0,enumerable:!0,set:function(a){this.contextRaw$.next(a!=null?a:"")}}});
G4.\u0275fac=function(a){return new (a||G4)(A(IQ),A(bG))};
G4.\u0275cmp=p({type:G4,selectors:[["similar-issues"]],hostVars:4,hostBindings:function(a,b){a&2&&Kf("thinking-on-empty",b.isThinkingOnEmpty)("is-empty-state",b.isEmpty)},inputs:{componentId:"componentId",context:"context"},features:[zf],decls:8,vars:5,consts:[[1,"flex-kids-x","align-items-center","gap-s","margin-s-y"],["svgIcon","spark_24px","color","primary"],[1,"heading-xs"],["mat-icon-button","","href","http://go/similar-issues-buganizer","target","_blank","class","xs muted","matTooltip","Learn more",
"aria-label","Learn more",4,"ngIf"],[4,"ngIf"],[3,"issueIds","tableColumns","options"],["mat-icon-button","","href","http://go/similar-issues-buganizer","target","_blank","matTooltip","Learn more","aria-label","Learn more",1,"xs","muted"],["svgIcon","help-outline"]],template:function(a,b){a&1&&(F(0,"div",0),H(1,"mat-icon",1),F(2,"h3",2),R(3,"Possible duplicates"),G(),C(4,Zob,2,0,"a",3)(5,$ob,1,0,"b-spinner",4),G(),C(6,apb,1,3,"b-issues-table",5),T(7,"async"));if(a&2){var c;z(4);D("ngIf",b.isInternal);
z();D("ngIf",b.isLoading&&!b.isThinkingOnEmpty);z();Of((c=V(7,3,b.issueIds$))?6:-1,c)}},dependencies:[Gv,zB,RQ,fT,LH,OH,pE,Lv],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 nLc=["popOver"],dpb=function(a){return{$implicit:a}},lpb=function(a){return{editingValue:a}},H4=function(a){this.val="";this.allowMultipleLines=!0;this.disabled=this.centerEditIcon=this.newlineWithEnterKey=!1;this.hasBackdrop=!0;this.fitPopoverToViewport=!1;this.valueChange=new Xu;this.editorOpen=new Xu;this.required=this.editing=this.headerFocused=!1;this.editingValue=new xy("",{nonNullable:!0});this.onChange=function(){};this.onTouched=function(){};if(a===""||a==="true"||a==="required")this.required=
!0};X(H4,IV);g=H4.prototype;g.ngOnInit=function(){};g.valueChanged=function(){return this.editingValue.value!==this.value};g.startEditing=function(){this.disabled||(this.onTouched(),this.editing=!0,this.editingValue.setValue(this.value),this.popOver.open(),this.editorOpen.emit({isOpen:!0}))};g.stopEditing=function(a){this.editing=!1;a===0&&(this.onChange(this.editingValue.value),this.value=this.editingValue.value,this.valueChange.emit(this.value));this.editorOpen.emit({isOpen:!1,closeAction:a})};
g.writeValue=function(a){a!=null&&(this.val=a,this.editing||this.editingValue.setValue(a))};g.isActive=function(){return this.headerFocused||this.editing};g.registerOnChange=function(a){this.onChange=a};g.registerOnTouched=function(a){this.onTouched=a};g.setDisabledState=function(a){this.disabled=a};ea.Object.defineProperties(H4.prototype,{value:{configurable:!0,enumerable:!0,get:function(){return this.val},set:function(a){a!==this.val&&this.writeValue(a)}}});
H4.\u0275fac=function(a){return new (a||H4)(Jd("required"))};
H4.\u0275cmp=p({type:H4,selectors:[["onedev-text-field"]],viewQuery:function(a,b){a&1&&fg(nLc,7);if(a&2){var c;jg(c=kg())&&(b.popOver=c.first)}},inputs:{value:"value",allowMultipleLines:"allowMultipleLines",multilineMaxLines:"multilineMaxLines",newlineWithEnterKey:"newlineWithEnterKey",centerEditIcon:"centerEditIcon",disabled:"disabled",labelledById:"labelledById",valueTemplate:"valueTemplate",editorTemplate:"editorTemplate",hasBackdrop:"hasBackdrop",fitPopoverToViewport:"fitPopoverToViewport"},outputs:{valueChange:"valueChange",
editorOpen:"editorOpen"},features:[qg([{provide:jy,useExisting:Uc(function(){return H4}),multi:!0},{provide:IV,useExisting:Uc(function(){return H4}),multi:!0}]),zf],decls:11,vars:9,consts:[["anchor",""],["standardValueDisplay",""],["popOver","onedevPopOverEditPanel"],["inputTemplate",""],["singleLineTemplate",""],[3,"click","focus","blur"],[4,"ngIf","ngIfElse"],["class","edit-icon","xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24",3,"centered",4,"ngIf"],[3,"closedWithAction","anchor","editorTemplate",
"newlineWithEnterKey","hasBackdrop","fitToViewport"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24",1,"edit-icon"],["d","M20.71,5.63l-2.34-2.34C18.18,3.1,17.92,3,17.67,3c-0.26,0-0.51,0.1-0.71,0.29L3,17.25L3,21h3.75L20.71,7.04 C21.1,6.65,21.1,6.02,20.71,5.63z M5.92,19H5l0-0.92L15.54,7.53l0.92,0.92L5.92,19z"],[4,"ngIf"],[1,"textarea-wrapper"],["spellcheck","false","autocomplete","off","cdkTextareaAutosize","","cdkAutosizeMinRows","1",3,"formControl",
"cdkAutosizeMaxRows",4,"ngIf","ngIfElse"],["spellcheck","false","autocomplete","off","cdkTextareaAutosize","","cdkAutosizeMinRows","1",3,"formControl","cdkAutosizeMaxRows"],["spellcheck","false","autocomplete","off",3,"formControl"]],template:function(a,b){if(a&1){var c=u();F(0,"button",5,0);M("click",function(){v(c);return x(b.startEditing())})("focus",function(){v(c);return x(b.headerFocused=!0)})("blur",function(){v(c);return x(b.headerFocused=!1)});F(2,"span");C(3,epb,2,4,"ng-container",6)(4,
fpb,1,1,"ng-template",null,1,yg);G();C(6,gpb,2,2,"svg",7);G();F(7,"onedev-pop-over-edit-panel",8,2);M("closedWithAction",function(f){v(c);return x(b.stopEditing(f))});G();C(9,npb,2,2,"ng-template",null,3,yg)}if(a&2){a=Q(1);var d=Q(5),e=Q(10);Bf("aria-labelledby",b.labelledById);z(3);D("ngIf",b.valueTemplate)("ngIfElse",d);z(3);D("ngIf",!b.disabled);z();D("anchor",a)("editorTemplate",e)("newlineWithEnterKey",b.newlineWithEnterKey)("hasBackdrop",b.hasBackdrop)("fitToViewport",b.fitPopoverToViewport)}},
dependencies:[Gv,Kv,mh,qy,$y,B_,Dy],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 oLc=ph("indicatorRotate",[sh("collapsed, void",rh({transform:"rotate(0deg)"})),sh("expanded",rh({transform:"rotate(180deg)"})),uh("expanded <=> collapsed, void => collapsed",qh("225ms cubic-bezier(0.4,0.0,0.2,1)"))]),pLc=ph("bodyExpansion",[sh("collapsed, void",rh({height:"0px",visibility:"hidden"})),sh("expanded",rh({height:"*",visibility:""})),uh("expanded <=> collapsed, void => collapsed",qh("225ms cubic-bezier(0.4,0.0,0.2,1)"))]);var qLc=new md("CdkAccordion");var rLc=0,I4=function(a,b,c){var d=this;this.accordion=a;this._changeDetectorRef=b;this._expansionDispatcher=c;this._openCloseAllSubscription=W.Subscription.EMPTY;this.closed=new Xu;this.opened=new Xu;this.destroyed=new Xu;this.expandedChange=new Xu;this.id="cdk-accordion-child-"+rLc++;this.disabled=this._expanded=!1;this._removeUniqueSelectionListener=function(){};this._removeUniqueSelectionListener=c.listen(function(e,f){d.accordion&&!d.accordion.multi&&d.accordion.id===f&&d.id!==e&&(d.expanded=
!1)});this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())};g=I4.prototype;g.ngOnDestroy=function(){this.opened.complete();this.closed.complete();this.destroyed.emit();this.destroyed.complete();this._removeUniqueSelectionListener();this._openCloseAllSubscription.unsubscribe()};g.toggle=function(){this.disabled||(this.expanded=!this.expanded)};g.close=function(){this.disabled||(this.expanded=!1)};g.open=function(){this.disabled||(this.expanded=!0)};
g._subscribeToOpenCloseAllActions=function(){var a=this;return this.accordion._openCloseAllActions.subscribe(function(b){a.disabled||(a.expanded=b)})};ea.Object.defineProperties(I4.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())}}});
I4.\u0275fac=function(a){return new (a||I4)(A(qLc,12),A(Ig),A(hx))};I4.\u0275dir=fd({type:I4,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:[2,"expanded","expanded",Gg],disabled:[2,"disabled","disabled",Gg]},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],standalone:!0,features:[qg([{provide:qLc,useValue:void 0}]),Af]});var J4=function(){};J4.\u0275fac=function(a){return new (a||J4)};J4.\u0275mod=dd({type:J4});J4.\u0275inj=Ic({});var sLc=new md("MAT_ACCORDION");var tLc=new md("MAT_EXPANSION_PANEL");var uLc=function(a,b){this._template=a;this._expansionPanel=b};uLc.\u0275fac=function(a){return new (a||uLc)(A(cg),A(tLc,8))};uLc.\u0275dir=fd({type:uLc,selectors:[["ng-template","matExpansionPanelContent",""]],standalone:!0});var vLc=["body"],wLc=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],xLc=0,yLc=new md("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS"),K4=function(a,b,c,d,e,f,h){I4.call(this,a,b,c);this._viewContainerRef=d;this._animationMode=f;this._hideToggle=!1;this.afterExpand=new Xu;this.afterCollapse=new Xu;this._inputChanges=new W.Subject;this._headerId="mat-expansion-panel-header-"+xLc++;this.accordion=a;this._document=e;this._animationsDisabled=f==="NoopAnimations";h&&(this.hideToggle=h.hideToggle)};
X(K4,I4);K4.\u0275dir=I4.\u0275dir;g=K4.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(of(null),te(function(){return a.expanded&&!a._portal}),ef()).subscribe(function(){a._portal=new Ow(a._lazyContent._template,a._viewContainerRef)})};g.ngOnChanges=function(a){this._inputChanges.next(a)};g.ngOnDestroy=function(){I4.prototype.ngOnDestroy.call(this);this._inputChanges.complete()};
g._containsFocus=function(){if(this._body){var a=this._document.activeElement,b=this._body.nativeElement;return a===b||b.contains(a)}return!1};g._animationStarted=function(a){if(a.fromState!=="void"&&!this._animationsDisabled&&this._body){var b;(b=this._body)==null||b.nativeElement.setAttribute("inert","")}};g._animationDone=function(a){a.fromState!=="void"&&(a.toState==="expanded"?this.afterExpand.emit():a.toState==="collapsed"&&this.afterCollapse.emit(),!this._animationsDisabled&&this._body&&this._body.nativeElement.removeAttribute("inert"))};
ea.Object.defineProperties(K4.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}}});K4.\u0275fac=function(a){return new (a||K4)(A(sLc,12),A(Ig),A(hx),A(dg),A(gh),A(vu,8),A(yLc,8))};
K4.\u0275cmp=p({type:K4,selectors:[["mat-expansion-panel"]],contentQueries:function(a,b,c){a&1&&gg(c,uLc,5);if(a&2){var d;jg(d=kg())&&(b._lazyContent=d.first)}},viewQuery:function(a,b){a&1&&fg(vLc,5);if(a&2){var c;jg(c=kg())&&(b._body=c.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(a,b){a&2&&Kf("mat-expanded",b.expanded)("_mat-animation-noopable",b._animationsDisabled)("mat-expansion-panel-spacing",b._hasSpacing())},inputs:{hideToggle:[2,"hideToggle","hideToggle",Gg],
togglePosition:"togglePosition"},outputs:{afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],standalone:!0,features:[qg([{provide:sLc,useValue:void 0},{provide:tLc,useExisting:K4}]),Af,zf,td,sg],ngContentSelectors:["mat-expansion-panel-header","*","mat-action-row"],decls:7,vars:4,consts:[["body",""],["role","region",1,"mat-expansion-panel-content",3,"id"],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(a,b){if(a&1){var c=u();Xf(wLc);Yf(0);
F(1,"div",1,0);M("@bodyExpansion.start",function(d){v(c);return x(b._animationStarted(d))})("@bodyExpansion.done",function(d){v(c);return x(b._animationDone(d))});F(3,"div",2);Yf(4,1);C(5,opb,0,0,"ng-template",3);G();Yf(6,2);G()}a&2&&(z(),D("@bodyExpansion",b._getExpandedState())("id",b.id),Bf("aria-labelledby",b._headerId),z(4),D("cdkPortalOutlet",b._portal))},dependencies:[Sw],styles:['.mat-expansion-panel{box-sizing:content-box;display:block;margin:0;overflow:hidden;transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);position:relative;background:var(--mat-expansion-container-background-color);color:var(--mat-expansion-container-text-color);border-radius:var(--mat-expansion-container-shape)}.mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12)}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:var(--mat-expansion-container-shape);border-top-left-radius:var(--mat-expansion-container-shape)}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:var(--mat-expansion-container-shape);border-bottom-left-radius:var(--mat-expansion-container-shape)}.cdk-high-contrast-active .mat-expansion-panel{outline:solid 1px}.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel,.mat-expansion-panel._mat-animation-noopable{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible;font-family:var(--mat-expansion-container-text-font);font-size:var(--mat-expansion-container-text-size);font-weight:var(--mat-expansion-container-text-weight);line-height:var(--mat-expansion-container-text-line-height);letter-spacing:var(--mat-expansion-container-text-tracking)}.mat-expansion-panel-content[style*="visibility: hidden"] *{visibility:hidden !important}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px;border-top-color:var(--mat-expansion-actions-divider-color)}.mat-action-row .mat-button-base,.mat-action-row .mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row .mat-button-base,[dir=rtl] .mat-action-row .mat-mdc-button-base{margin-left:0;margin-right:8px}\n'],
encapsulation:2,data:{animation:[pLc]},changeDetection:0});var zLc=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],L4=function(a,b,c,d,e,f,h){var k=this;this.panel=a;this._element=b;this._focusMonitor=c;this._changeDetectorRef=d;this._animationMode=f;this._parentChangeSubscription=W.Subscription.EMPTY;this.tabIndex=0;var q=a.accordion?a.accordion._stateChanges.pipe(te(function(t){return!(!t.hideToggle&&!t.togglePosition)})):W.EMPTY;this.tabIndex=parseInt(h||"")||0;this._parentChangeSubscription=(0,W.merge)(a.opened,a.closed,q,a._inputChanges.pipe(te(function(t){return!!(t.hideToggle||
t.disabled||t.togglePosition)}))).subscribe(function(){return k._changeDetectorRef.markForCheck()});a.closed.pipe(te(function(){return a._containsFocus()})).subscribe(function(){return fw(c,b,"program")});e&&(this.expandedHeight=e.expandedHeight,this.collapsedHeight=e.collapsedHeight)};g=L4.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:$g(a)||(a.preventDefault(),this._toggle());break;default:this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(a)}};
g.focus=function(a,b){a?fw(this._focusMonitor,this._element,a,b):this._element.nativeElement.focus(b)};g.ngAfterViewInit=function(){var a=this;this._focusMonitor.monitor(this._element).subscribe(function(b){b&&a.panel.accordion&&a.panel.accordion._handleHeaderFocus(a)})};g.ngOnDestroy=function(){this._parentChangeSubscription.unsubscribe();this._focusMonitor.stopMonitoring(this._element)};ea.Object.defineProperties(L4.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this.panel.disabled}}});
L4.\u0275fac=function(a){return new (a||L4)(A(K4,1),A(Rd),A(ew),A(Ig),A(yLc,8),A(vu,8),Jd("tabindex"))};
L4.\u0275cmp=p({type:L4,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(a,b){a&1&&M("click",function(){return b._toggle()})("keydown",function(c){return b._keydown(c)});a&2&&(Bf("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),Jf("height",b._getHeaderHeight()),Kf("mat-expanded",b.panel.expanded)("mat-expansion-toggle-indicator-after",
b._getTogglePosition()==="after")("mat-expansion-toggle-indicator-before",b._getTogglePosition()==="before")("_mat-animation-noopable",b._animationMode==="NoopAnimations"))},inputs:{expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight",tabIndex:[2,"tabIndex","tabIndex",function(a){return a==null?0:Hg(a)}]},standalone:!0,features:[Af,sg],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&&(Xf(zLc),F(0,"span",0),Yf(1),Yf(2,1),Yf(3,2),G(),C(4,ppb,3,1,"span",1));a&2&&(Kf("mat-content-hide-toggle",!b._showToggle()),z(4),Of(b._showToggle()?4:-1))},styles:['.mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit;transition:height 225ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mat-expansion-header-collapsed-state-height);font-family:var(--mat-expansion-header-text-font);font-size:var(--mat-expansion-header-text-size);font-weight:var(--mat-expansion-header-text-weight);line-height:var(--mat-expansion-header-text-line-height);letter-spacing:var(--mat-expansion-header-text-tracking)}.mat-expansion-panel-header.mat-expanded{height:var(--mat-expansion-header-expanded-state-height)}.mat-expansion-panel-header[aria-disabled=true]{color:var(--mat-expansion-header-disabled-state-text-color)}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]):hover{background:var(--mat-expansion-header-hover-state-layer-color)}@media(hover: none){.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]):hover{background:var(--mat-expansion-container-background-color)}}.mat-expansion-panel .mat-expansion-panel-header:not([aria-disabled=true]).cdk-keyboard-focused,.mat-expansion-panel .mat-expansion-panel-header:not([aria-disabled=true]).cdk-program-focused{background:var(--mat-expansion-header-focus-state-layer-color)}.mat-expansion-panel-header._mat-animation-noopable{transition:none}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:none}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-content.mat-content-hide-toggle{margin-right:8px}[dir=rtl] .mat-content.mat-content-hide-toggle{margin-right:0;margin-left:8px}.mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-left:24px;margin-right:0}[dir=rtl] .mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-right:24px;margin-left:0}.mat-expansion-panel-header-title{color:var(--mat-expansion-header-text-color)}.mat-expansion-panel-header-title,.mat-expansion-panel-header-description{display:flex;flex-grow:1;flex-basis:0;margin-right:16px;align-items:center}[dir=rtl] .mat-expansion-panel-header-title,[dir=rtl] .mat-expansion-panel-header-description{margin-right:0;margin-left:16px}.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-title,.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-description{color:inherit}.mat-expansion-panel-header-description{flex-grow:2;color:var(--mat-expansion-header-description-color)}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:"";display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle;color:var(--mat-expansion-header-indicator-color);display:inline-block;display:var(--mat-expansion-legacy-header-indicator-display, inline-block)}.mat-expansion-indicator svg{width:24px;height:24px;margin:0 -8px;vertical-align:middle;fill:var(--mat-expansion-header-indicator-color);display:none;display:var(--mat-expansion-header-indicator-display, none)}.cdk-high-contrast-active .mat-expansion-panel-content{border-top:1px solid;border-top-left-radius:0;border-top-right-radius:0}\n'],
encapsulation:2,data:{animation:[oLc]},changeDetection:0});var M4=function(){};M4.\u0275fac=function(a){return new (a||M4)};M4.\u0275dir=fd({type:M4,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"],standalone:!0});var N4=function(){};N4.\u0275fac=function(a){return new (a||N4)};N4.\u0275mod=dd({type:N4});N4.\u0275inj=Ic({imports:[zx,J4,Tw]});var ALc=["descriptionConfirmDialog"],BLc=function(a){return{submitted:a}},spb=function(a,b){return{partner:a,"public":b}},Cqb=function(a){return{"bv2-upload-ongoing":a}},tqb=function(a){return{required:a}},Hqb=function(){return{standalone:!1}},CLc=new md("titleBannedWordsChecker"),DLc=new md("descriptionBannedWordsChecker"),ELc={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?"}},O4=function(a,b,c,d,e,f,h,k,q,t,w,B,E,I,J,N,P,U,ba,ma,na,ya,Pa,ia,qa,ua,Oa,Ka,Cb,Qb,Rb,Wa,xb,Qa,hb,Ra,Jb,ac,Mc,wb,kc){Z.call(this);var Nb=this;this.ngZone=a;this.$log=b;this.reloadService=c;this.paths=d;this.redirectUrl=e;this.userAccess=f;this.accessPolicy=h;this.bLocation=k;this.appHistory=
q;this.issueTemplate=t;this.issueTypeDialog=w;this.componentActions=B;this.activeSession=E;this.draftStore=I;this.analytics=J;this.issueApi=N;this.userApi=P;this.hotlistApi=U;this.butterBar=ba;this.errorHandler=ma;this.matDialogService=na;this.appEvents=ya;this.userPreferencesManager=qa;this.cdr=Ka;this.issueRelationshipsFridge=Cb;this.issueFridge=Qb;this.componentFridge=Rb;this.clearcut=Wa;this.jspbPrincipalTypes=xb;this.trackerFridge=Qa;this.titleBannedWordsChecker=hb;this.descriptionBannedWordsChecker=
Ra;this.confirmIssueAccessLimitSettingsService=Jb;this.componentTemplateApi=ac;this.dismissalService=Mc;this.hostElement=wb;this.currentUserBookmarksFridge=kc;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=ro;this.userEmail=this.activeSession.getUserEmail();
this.sessionIsExternal=this.activeSession.isExternalSession();this.enableRecaptcha=this.activeSession.userRequiresCaptcha();this.hotlistMap={};this.hotlists=[];this.templateTitle=this.templateComment="";this.appliedTemplate=null;this.isLoadingComponent=!1;this.availablePredefinedTemplates=[];this.preferredTemplateId=this.selectedTemplateInternal=this.availableExistingIssueTemplate=null;this.everClickedSimilarIssues=this.everShowedIssueHovercard=this.isNavigatingAway=this.isSaving=this.submitRequested=
!1;this.selectedHotlists=[];this.componentHasExpandedAccessEnabled=this.canViewIssuesInComponent=this.canEditIssuesInComponent=this.createAclLoading=this.canCreateNewIssuesInComponent=this.newIssueStarted=!1;this.customFieldMap={};this.customFieldAllowedValuesMap={};this.verifierText=this.reporterText=this.assigneeText=null;this.ccsText=[];this.collaboratorsText=[];this.collaboratorGroupsText=[];this.selectedComponent=null;this.selectedAccessLimitLevel="LIMIT_NONE";this.useCodefont=!1;this.selectedHotlistIds=
[[]];this.isFormatInRoute=!1;this.isCollaboratorsValid=this.isChildIssueIdsValid=this.isParentIssueIdsValid=this.isBlockingIssueIdValid=this.isBlockedByIssueIdValid=!0;this.invalidCollaboratorsInput=[];this.startTime=new Date;this.recaptchaResponse="";this.toIssuePriority=Yj;this.toIssueSeverity=gva;this.FieldType=Ruc;this.initialized=!1;this.trackerComponent$=(0,W.defer)(function(){return(0,W.of)(Nb.activeSession.getTracker())}).pipe(pf(function(tc){return tc?Nb.componentFridge.watch(Number(tc.componentId)).pipe(of(void 0)):
(0,W.of)(void 0)}));this.trackerId$=new W.BehaviorSubject(void 0);this.tracker$=this.trackerId$.pipe(pf(function(tc){return tc?Nb.trackerFridge.watch(tc):(0,W.of)(void 0)}));this.titleAfterBlur$=new W.Subject;this.similarIssuesSearchString$=this.titleAfterBlur$.pipe(cf(100));this.trackerCollaboratorGroups=[];this.enableSuggestTitle=this.activeSession.getFlag("enableSuggestTitle")&&this.activeSession.isInternalSession();this.onAnyClick=function(tc){Mwa(tc).match("SIMILAR-ISSUES")&&(Nb.everClickedSimilarIssues=
!0,Nb.analytics.trackEvent("similarIssues","click"))};this.getSingleEditFieldType=v2a;this.getListFieldType=d4a;this.shouldShowSimilarIssues=this.activeSession.isInternalSession()||this.activeSession.getFlag("enableSimilarIssueExternal");this.didConfirmNavigateAway=function(){Nb.everShowedIssueHovercard||Nb.everClickedSimilarIssues?Nb.analytics.trackEvent("createIssue","abandon-happy"):Nb.analytics.trackEvent("createIssue","abandon-normal")};this.fetchUserHotlists();ua.didConfirm=this.didConfirmNavigateAway;
this.subscriptions.add(this.tracker$.subscribe(function(tc){Nb.updateCollaboratorGroups(tc)}));this.subscriptions.add(this.appEvents.hotlistChanged.subscribe(function(){Nb.fetchUserHotlists()}));this.subscriptions.add(this.appEvents.didShowIssueHovercard.subscribe(function(){Nb.everShowedIssueHovercard=!0;Nb.analytics.trackEvent("similarIssues","hover")}));this.subscriptions.add(this.appEvents.hotlistCreated.subscribe(function(){Nb.fetchUserHotlists()}));this.subscriptions.add(this.appEvents.bookmarkGroupModified.subscribe(function(){Nb.fetchUserHotlists()}));
this.enableCreateIssueWithTemplate=E.getFlag("enableCreateIssueWithTemplate");this.frontendIsInternalOrPartner=E.isInternalSession()||wC(E);this.priorityChoices=Oa.priorities.map(function(tc){return{value:tc,displayText:tc}});this.severityChoices=Oa.severities.map(function(tc){return{value:tc,displayText:tc}});this.issueTypeChoices=Oa.editIssueTypes.map(function(tc){return{value:tc,displayText:Lm(tc),altText:Oa.issueTypesShortDescriptions.get(tc)}});this.urlTemplate=new WHc(Pa,b);this.piiWarningMessage=
E.isInternalSession()?"Please be sure you don't include sensitive information/data (PII, SPII, and other sensitive user data) in unrestricted issues (either in text or through attachments). If you do need to include sensitive information, please be sure to link to a secure doc (e.g. a drive file with proper sharing settings) and share only with those that have a business need for access. Please see http://go/buganizerpuppy.":void 0;this.descriptionBoxId="bv2-description";this.componentAutocomplete=
Pa.componentAutocomplete;this.componentRequestedInUrl=Pa.component;this.templateIssueRequestedInUrl=Pa.template_issue;Pa.template&&(a=Number(Pa.template))&&(this.preferredTemplateId=a);if(a=Pa.parentIssueId)this.parentIssueIds=Array.isArray(a)?a:[a];if(a=Pa.childrenIssueIds)this.childrenIssueIds=Array.isArray(a)?a:[a];if(a=Pa.afterIssueId)this.afterIssueId=Array.isArray(a)?a[0]:a;this.issue=qi(Lqb);Jqb(this.issue,this);this.audience="EXTERNAL";Pa.description?this.comment=new hJ(Pa.description,!0):
(a=this.draftStore.$window.sessionStorage.getItem(lo("0"))||"",this.comment=new hJ(a));this.comment.formattingMode=FLc(this);a=GLc(Pa);this.isFormatInRoute=a!=null;a&&(this.comment.formattingMode=a);this.selectedComponentProcessedPromise=Promise.resolve(void 0);this.subscriptions.add(qa.preferences$.subscribe(function(tc){var od;Nb.useCodefont=(od=tc.useCodefont)!=null?od:Nb.useCodefont}));this.hasAdvancedFieldsInUrlTemplate=YHc(this.urlTemplate)||!!this.parentIssueIds||!!this.childrenIssueIds;this.subscriptions.add(LN(ia,
{title:"Create Issue Page",hotkeys:[{keys:["h"],displayAs:"h",description:"Edit hotlists",onPress:function(){var tc;(tc=Nb.hotlistPicker)==null||tc.open()}},{keys:["u"],displayAs:"u",description:"Back to previous page",onPress:function(){Nb.back()}}]}));this.componentRequestedInUrl?(this.newIssueStarted=!0,HLc(this,Number(this.componentRequestedInUrl))):this.componentAutocomplete?ILc(this,this.componentAutocomplete):(cIc(this.urlTemplate,this.issue),this.updateSelectedHotlists());this.templateIssueRequestedInUrl&&
(this.newIssueStarted=!0,JLc(this));this.originalIssueCopy=qi(this.issue);Pa.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=E.getCreateRestrictedSubresourcesComponentIds();this.subscriptions.add(FQ(ua,function(){return Nb.hasUnsavedChanges()},!1))};X(O4,Z);
O4.\u0275dir=Z.\u0275dir;O4.prototype.isCaptchaValid=function(){return!this.enableRecaptcha||this.recaptchaResponse!==""};var KLc=function(a){if(!a.templateTitle||!a.templateComment)return!1;var b=pHa(a.comment.value,a.templateComment);return pHa(a.issue.title,a.templateTitle)&&b},Dqb=function(a){return a.isSaving||a.isNavigatingAway||!a.canCreateNewIssuesInComponent||!a.isCaptchaValid()||!1};
O4.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||LLc(a,b))}))};O4.prototype.ngOnDestroy=function(){Z.prototype.ngOnDestroy.call(this);this.hostElement.nativeElement.removeEventListener("click",this.onAnyClick,!0)};
var P4=function(a){a.initialized&&a.ngZone.run(function(){a.cdr.detectChanges()})};O4.prototype.back=function(){M1(this.appHistory)};
var MLc=function(a){var b;return cq(a.selectedComponent)&&!((b=a.selectedComponent)==null||!b.trackerId)&&!kp(a.activeSession)},NLc=function(a,b){b==="LIMIT_VIEW"||b==="LIMIT_VIEW_TRUSTED"?a.selectedAccessLimitLevel=b:(a.selectedAccessLimitLevel="LIMIT_VIEW_TRUSTED",Ap(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.":
"")))};O4.prototype.onAccessLimitLevelSelected=function(a){this.selectedAccessLimitLevel=a};
var LLc=function(a,b){a.selectedComponent=b;a.selectedComponent?(a.issue=Object.assign({},a.issue,{componentId:a.selectedComponent.componentId}),a.originalIssueCopy.componentId=a.selectedComponent.componentId,OLc(a),a.audience=bq(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):(uc(a.issue,"componentId"),a.audience="EXTERNAL");a.submitRequested=!1;PLc(a);a.selectedComponentProcessedPromise=Promise.all([QLc(a),RLc(a)]).then(function(){});return a.selectedComponentProcessedPromise},SLc=function(a){a.assigneeText=a.assigneeText?a.assigneeText:null;a.verifierText=a.verifierText?a.verifierText:null;a.reporterText=a.reporterText?a.reporterText:null},vpb=function(a){return E4a(a.selectedComponent)?"External Google partners may be able to see this issue.":cq(a.selectedComponent)?
"Public users may be able to see this issue.":""};O4.prototype.getCollaboratorGroupsString=function(){return this.collaboratorGroupsText.length===0?"":this.collaboratorGroupsText.length>1?this.collaboratorGroupsText.length+" groups selected":this.collaboratorGroupsText[0]};O4.prototype.updateCollaboratorGroups=function(a){a&&a.collaboratorGroups&&(this.trackerCollaboratorGroups=qm(a.collaboratorGroups),this.separateCollaboratorGroups())};
O4.prototype.separateCollaboratorGroups=function(){for(var a=[],b=new Set(this.trackerCollaboratorGroups),c=l(this.collaboratorsText),d=c.next();!d.done;d=c.next())d=d.value,b.has(d)?this.collaboratorGroupsText.push(d):a.push(d);this.collaboratorsText=a;if(this.collaboratorGroupsText.length>0&&!cq(this.selectedComponent)){var e;(e=this.advancedFieldsZippy)==null||e.open()}};
var JLc=function(a){var b=Number(a.templateIssueRequestedInUrl);Number.isNaN(b)?a.butterBar.showWarning("Invalid template_issue specified"):(a.availableExistingIssueTemplate=new TLc(b,"issue","Issue "+b,!1,0,!1),a.selectedTemplate=a.availableExistingIssueTemplate)},QLc=function(a){a.availablePredefinedTemplates=[];a.selectedTemplate&&a.selectedTemplate.type==="predefined"&&!ULc(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;Hp(Gp(f))&&(f=e.default?"(default template)":"(unnamed template)");return new TLc(e.templateId,"predefined",f,e.default,e.componentId,e.inheritable)});if(a.preferredTemplateId&&!a.selectedTemplate){var c=a.preferredTemplateId;if(b=a.availablePredefinedTemplates.find(function(e){return e.id===c}))a.selectedTemplate=b,a.preferredTemplateId=null}if(!a.selectedTemplate){b=l(a.availablePredefinedTemplates);for(var d=b.next();!d.done;d=b.next())if(d=d.value,d.isDefault){a.selectedTemplate=
d;break}}a.availablePredefinedTemplates.length>0&&!a.selectedTemplate&&(a.selectedTemplate=a.availablePredefinedTemplates[0]);P4(a)}).catch(function(){a.butterBar.showWarning("Unable to load templates for this component")}):Promise.resolve(void 0)},ULc=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},RLc=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=oD(a.userAccess,"appender","components/"+b).then(function(f){a.canCreateNewIssuesInComponent=f;P4(a)}),e=oD(a.userAccess,
"writer",c).then(function(f){a.canEditIssuesInComponent=f;P4(a)});c=oD(a.userAccess,"reader",c).then(function(f){a.canViewIssuesInComponent=f;P4(a)});b=a.accessPolicy.checkComponentImplicitAccessEnabled(b).then(function(f){a.componentHasExpandedAccessEnabled=f;P4(a)});return Promise.all([d,e,c,b]).then(function(){VLc(a);P4(a)}).catch(function(f){a.$log.warn(f)}).finally(function(){a.createAclLoading=!1})},YLc=function(a){if(a.selectedTemplate){var b=function(c){var d=Object.assign(qi(Lqb),c.snapshot);
a.selectedComponent&&(d.componentId=a.selectedComponent.componentId);var e=qi(d);SLc(a);Kqb(a,a.issue);var f=qi(a.issue);if(a.appliedTemplate)for(var h=l(Object.keys(a.appliedTemplate)),k=h.next();!k.done;k=h.next()){k=k.value;var q=a.appliedTemplate[k];if(Array.isArray(q)&&Array.isArray(f[k])){q=l(q);for(var t=q.next();!t.done;t=q.next())Eta(f[k],t.value)}else pi(q,f[k])&&delete f[k]}a.appliedTemplate=e;Mqb(d,f);f=e.comment||"";a.comment.value!==a.templateComment&&(Bac(a.comment)||f===""||a.comment.value===
f||(a.templateComment=f,WLc(a,a.comment.value)),d.comment=a.comment.value,d.formattingMode=e.formattingMode);a.templateComment=f;var w;a.templateCommentFormattingMode=(w=e.formattingMode)!=null?w:void 0;a.templateTitle=e.title||"";d.reporterUser=tm(a.userEmail);MLc(a)&&a.canEditIssuesInComponent?NLc(a,d.issueAccessLimitLevel||"LIMIT_NONE"):a.selectedAccessLimitLevel=d.issueAccessLimitLevel||"LIMIT_NONE";a.issue=d;Jqb(a.issue,a);VLc(a);SLc(a);Kqb(a,a.issue);a.comment.value=a.issue.comment||"";a.issue.comment&&
a.issue.formattingMode&&(a.comment.formattingMode=a.issue.formattingMode);cIc(a.urlTemplate,a.issue,a.customFieldMap);Jqb(a.issue,a);a.originalIssueCopy=qi(a.issue);a.loadHotlists(a.issue.hotlistId).then(function(){a.updateSelectedHotlists();a.originalIssueCopy.hotlistId=qi(a.issue.hotlistId);P4(a)});XLc(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(Pqb(a.selectedComponent)).then(b).then(function(){P4(a)}).catch(function(c){a.butterBar.showWarning(c.message)}):a.selectedTemplate.type==="issue"&&(M6b(a.issueTemplate,String(a.selectedTemplate.id)).then(function(c){var d;if(kp(a.activeSession)&&((d=a.activeSession.getTracker())==null?void 0:d.trackerId)!==c.trackerId)throw Error("nf");return b(c)}).then(function(c){c&&(HLc(a,c),P4(a))}).catch(function(c){a.butterBar.showWarning(c.message)}),(0,W.firstValueFrom)(a.issueFridge.watch(String(a.selectedTemplate.id))).then(function(c){var d;
(d=a.parentIssueIds)!=null&&d.length||(a.parentIssueIds=c==null?void 0:c.parentIssueIds)}));a.selectedTemplate.id!==a.preferredTemplateId&&a.analytics.trackEvent("createIssue","changeTemplate");PLc(a)}};O4.prototype.isValid=function(){return!(xpb(this).length!==0||ypb(this).length!==0)&&!!(this.isBlockedByIssueIdValid&&this.isBlockingIssueIdValid&&this.isParentIssueIdsValid&&this.isCollaboratorsValid)&&!Epb(this.comment)&&!0};
var xpb=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})},ypb=function(a){return(a.issue.customField||[]).filter(function(b){return a.isCustomFieldRequired(b)&&Cm(b)}).map(function(b){return'custom field "'+a.getCustomFieldName(b)+'"'})},ZLc=function(a){return a.collaboratorsText.length!==0&&a.canEditIssuesInComponent?Y8b(a.jspbPrincipalTypes,
a.collaboratorsText,!1).then(function(b){a.invalidCollaboratorsInput=Object.entries(b).filter(function(c){c=l(c);c.next();c=c.next().value;return(c==null?void 0:c.principalType)!=="USER"}).map(function(c){return l(c).next().value});return a.invalidCollaboratorsInput.length===0}).catch(function(b){a.butterBar.showWarning(b.message);return!1}):Promise.resolve(!0)},gqb=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)},Wpb=function(a){return a.split(",").map(function(b){return b.trim()}).filter(Boolean)},pr=function(a){return a?a.join(", "):""},XLc=function(a){if(Yda(a.customFieldMap,function(c){return c.required||!1})||a.hasAdvancedFieldsInUrlTemplate){var b;(b=a.advancedFieldsZippy)==null||b.open()}};g=O4.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 Bm(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=Bm(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(lo("0"),a);this.issue=Object.assign({},this.issue,{comment:a})};
g.handleHotlistPickerSave=function(a){var b=[];a=l(Object.entries(a.newSelectionMap));for(var c=a.next();!c.done;c=a.next()){var d=l(c.value);c=d.next().value;(d=d.next().value)&&b.push(Number(c))}this.issue=Object.assign({},this.issue,{hotlistId:b});this.updateSelectedHotlists();this.analytics.trackEvent("createIssue","changeHotlists")};g.removeHotlist=function(a){var b;Va((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 Npb=function(a){var b,c,d=(c=(b=a.issue.title)==null?void 0:b.trim())!=null?c:"";a.titleAfterBlur$.next(d)};O4.prototype.setPriority=function(a){this.issue=Object.assign({},this.issue,{priority:Yj(a)});var b;this.analytics.trackEvent("createIssue","changePriority",(b=this.issue.priority)!=null?b:void 0)};
O4.prototype.setIssueType=function(a){this.issue=Object.assign({},this.issue,{type:fva(a)});var b;this.analytics.trackEvent("createIssue","changeType",(b=this.issue.type)!=null?b:void 0)};O4.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 fr(b.name,c.name)})};
var $Lc=function(a,b){var c,d,e,f,h,k,q,t,w,B,E;return fe(function(I){switch(I.nextAddress){case 1:c=String(b.issueId);d=a.parentIssueIds;if(!d){I.jumpTo(2);break}e=[];return d.length===1?he(I,a.issueRelationshipsFridge.assignParentToIssues(d[0],[{issueId:c,afterIssueId:a.afterIssueId}]),6):he(I,I8b(a.issueRelationshipsFridge,c,d),5);case 5:h=I.yieldResult;e=h.notAdded;f=h.errors;I.jumpTo(4);break;case 6:k=I.yieldResult,e=k.notAdded,f=k.errors;case 4:e.length&&a.butterBar.showWarning("Unable to add "+
e+" as parent(s). "+f);case 2:q=a.childrenIssueIds;if((t=q)==null||!t.length){I.jumpTo(7);break}return he(I,a.issueRelationshipsFridge.assignParentToIssues(c,q.map(function(J){return{issueId:J}})),8);case 8:w=I.yieldResult,B=w.notAdded,E=w.errors,B.length&&a.butterBar.showWarning("Unable to add "+B+" as children. "+E);case 7:return I.return(b)}})},Aqb=function(a,b,c){var d,e,f,h,k,q,t,w,B,E,I,J,N,P,U,ba,ma,na,ya,Pa,ia,qa;return fe(function(ua){switch(ua.nextAddress){case 1:return a.sessionIsExternal&&
KLc(a)?(aMc(a),ua.return()):he(ua,ZLc(a),2);case 2:a.isCollaboratorsValid=ua.yieldResult;d=a.issue;a.submitRequested=!0;if(!a.isValid()){if(e=document.querySelector(".bv2-view"))e.scrollTop=0;return ua.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=rc(f.snapshot,function(Oa){return typeof Oa!=="string"||!Hp(Oa)});f.snapshot.customField&&(f.snapshot.customField=f.snapshot.customField.filter(function(Oa){return!Cm(Oa)}));Kqb(a,f.snapshot);if(a.trackerId$.value&&f.snapshot.type==="VULNERABILITY"&&(k=hHa(a.activeSession.getEnvironmentType(),a.trackerId$.value),k!==void 0)){f.snapshot.collaboratorsUsers||(f.snapshot.collaboratorsUsers=
[]);q=l(k);for(t=q.next();!t.done;t=q.next())w=t.value,f.snapshot.collaboratorsUsers.push(w);f.snapshot.issueAccessLimitLevel="LIMIT_VIEW"}a.collaboratorGroupsText.length>0&&(f.snapshot.collaboratorsUsers=nza(a.collaboratorGroupsText).concat(f.snapshot.collaboratorsUsers||[]));f.snapshot.assigneeUser&&(f.snapshot.status="ASSIGNED");B=function(){a.isSaving=!0;a.newIssueStarted=!1;Ap(a.butterBar,"Creating...",0);a.issueApi.createIssue(f).then(function(Oa){return $Lc(a,Oa)}).then(function(Oa){a.draftStore.$window.sessionStorage.removeItem(lo("0"));
a.originalIssueCopy=qi(a.issue);a.analytics.trackEvent("createIssue","create",a.comment.formattingMode==="MARKDOWN"?"markdown":"non markdown");bMc(a);a.collaboratorGroupsText.length>0&&a.analytics.trackEvent("quickAddCollaborators","create","create_issue:"+Oa.issueId);var Ka,Cb;((Ka=a.selectedTemplate)==null?0:Ka.inheritable)&&a.selectedTemplate.componentId!==((Cb=a.selectedComponent)==null?void 0:Cb.componentId)&&a.analytics.trackEvent("templateInheritance","create","issue:"+Oa.issueId);if(c){var Qb;
a.analytics.trackEvent("createIssue","fileAndRedirect","component",(Qb=d.componentId)!=null?Qb:void 0);a.butterBar.dismiss();a.isNavigatingAway=!0;a.isSaving=!1;oD(a.userAccess,"reader","issues/"+Oa.issueId).then(function(Wa){Wa?dIc(a.redirectUrl,Ao(Oa.issueId),String(Oa.issueId)):(Ap(a.butterBar,"New issue created: "+Oa.issueId+" (view access not granted)",0),dIc(a.redirectUrl,a.paths.listIssues()));P4(a)}).catch(function(Wa){a.errorHandler.errorHandler(null,Wa);a.isNavigatingAway=!1})}else{var Rb;
a.analytics.trackEvent("createIssue","fileAndNew","component",(Rb=d.componentId)!=null?Rb:void 0);Ka={};J6b(a.butterBar,yh(["New issue created: ",zh("a",(Ka.href=Ao(Oa.issueId),Ka),String(Oa.issueId))]),0);d.title=a.templateTitle;a.comment=new hJ(a.templateComment);(d.comment=a.templateComment)&&a.templateCommentFormattingMode&&(a.comment.formattingMode=a.templateCommentFormattingMode,d.formattingMode=a.templateCommentFormattingMode);a.isSaving=!1;a.submitRequested=!1;a.newIssueStarted=!0;a.originalIssueCopy=
qi(a.issue)}P4(a)}).catch(function(Oa){Oa.status===403&&mn(Oa)?vE(a.errorHandler,nn(Oa)):a.errorHandler.errorHandler(null,Oa);a.isSaving=!1;a.submitRequested=!1;a.newIssueStarted=!1}).finally(function(){a.titleBannedWordsChecker.reset();a.descriptionBannedWordsChecker.reset()})};return he(ua,a.dismissalService.isDismissed(q8a("create-issue"))||a.canEditIssuesInComponent||a.frontendIsInternalOrPartner||!a.selectedComponent||!a.selectedComponent.accessLimit||a.selectedComponent.accessLimit.accessLevel===
"INTERNAL"?Promise.resolve(!0):(0,W.firstValueFrom)(qI(a.matDialogService.open(EZ,{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(E=ua.yieldResult)?he(ua,cMc(a),4):ua.return();case 4:return(I=ua.yieldResult)?he(ua,Rzc(a.confirmIssueAccessLimitSettingsService,{assigneeUser:(J=f.snapshot.assigneeUser)==null?void 0:J.emailAddress,verifierUser:(N=f.snapshot.verifierUser)==
null?void 0:N.emailAddress,ccUsers:(P=f.snapshot.ccUsers)==null?void 0:P.map(function(Oa){return Oa.emailAddress}).filter(lj),collaboratorsUsers:(U=f.snapshot.collaboratorsUsers)==null?void 0:U.map(function(Oa){return Oa==null?void 0:Oa.emailAddress}).filter(lj),issueAccessLimitLevel:f.snapshot.issueAccessLimitLevel,currentUserEmail:a.activeSession.getUserEmail(),canEditIssuesInComponent:a.canEditIssuesInComponent,confirmationDialogText:ELc}),5):ua.return();case 5:return(ba=ua.yieldResult)?he(ua,
a.titleBannedWordsChecker.check((ma=a.issue.title)!=null?ma:"",dMc(a),f.snapshot.componentId),6):ua.return();case 6:return na=ua.yieldResult,he(ua,a.descriptionBannedWordsChecker.check((ya=a.issue.comment)!=null?ya:"",dMc(a),f.snapshot.componentId),7);case 7:Pa=ua.yieldResult;if(!na||!Pa)return(ia=b)==null||ia.preventDefault(),(qa=b)==null||qa.stopPropagation(),ua.return();B();le(ua)}})},aMc=function(a){a.isSaving=!0;Ap(a.butterBar,"Creating...",0);setTimeout(function(){Ap(a.butterBar,"New issue cr\u00e6ted");
a.isSaving=!1;dIc(a.redirectUrl,a.paths.listIssues())},500)},dMc=function(a){return!!a.selectedComponent&&!!a.selectedComponent.accessLimit&&a.selectedComponent.accessLimit.accessLevel==="EXTERNAL_PUBLIC"},cMc=function(a){var b=Wm();!a.canEditIssuesInComponent||a.issue.type!=="VULNERABILITY"&&a.issue.type!=="PRIVACY_ISSUE"?b.resolve(!0):GI(a.issueTypeDialog,a.issue.type,function(){b.resolve(!0)},function(){b.resolve(!1)});return b.promise},ILc=function(a,b){a.isLoadingComponent=!0;a.componentActions.search(b).then(function(c){c.length===
1?(LLc(a,c[0]),P4(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})},HLc=function(a,b){a.isLoadingComponent=!0;a.componentActions.getUncached(b).then(function(c){var d;if(kp(a.activeSession)&&((d=a.activeSession.getTracker())==null?void 0:d.trackerId)!==c.trackerId)throw Error("of");LLc(a,c);P4(a)}).catch(function(){a.butterBar.showWarning("Component ID "+
b+" does not exist or you do not have access.")}).finally(function(){a.isLoadingComponent=!1})};O4.prototype.hasUnsavedChanges=function(){var a=Nqb(this.issue),b=Nqb(this.originalIssueCopy);return!pi(a,b)||this.comment.value!==this.originalIssueCopy.comment};
var WLc=function(a,b){qI(a.matDialogService.open(a.descriptionConfirmDialog,{data:b})).pipe(hf()).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="")})},PLc=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)))},tpb=function(a){return a.sessionIsExternal?!1:E4a(a.selectedComponent)},upb=function(a){return xC(a.activeSession)?
!1:cq(a.selectedComponent)},OLc=function(a){if(a.selectedComponent&&a.selectedComponent.componentPathInfo&&a.selectedComponent.componentPathInfo.allCustomField){for(var b=a.selectedComponent.componentPathInfo.allCustomField,c={},d=l(b),e=d.next();!e.done;e=d.next())e=e.value,c[e.customFieldId]=e;a.customFieldMap=c;a.customFieldAllowedValuesMap=Oqb(b);eMc(a)}},eMc=function(a){if(a.issue.customField){a.issue.customField=a.issue.customField.filter(function(e){return a.customFieldMap[e.customFieldId]&&
a.customFieldMap[e.customFieldId].enabledOnIssues});for(var b=a.issue.customField.map(function(e){return e.customFieldId}),c=l(Object.values(a.customFieldMap)),d=c.next();!d.done;d=c.next())d=d.value,!b.includes(d.customFieldId)&&d.enabledOnIssues&&a.issue.customField.push(d.typedDefaultValue||{customFieldId:d.customFieldId});a.originalIssueCopy.customField=a.issue.customField}},VLc=function(a){if(a.canViewIssuesInComponent||a.componentHasExpandedAccessEnabled)a.ccsText!==void 0?a.ccsText.includes(a.userEmail)||
(a.ccsText=[a.userEmail].concat(r(a.ccsText))):a.ccsText=[a.userEmail]};g=O4.prototype;g.fetchUserHotlists=function(){var a=this;(this.activeSession.getFlag("enableLeanFeF")?(0,W.firstValueFrom)(jF(this.currentUserBookmarksFridge)):this.userApi.getUserHotlists()).then(function(b){b=l(b);for(var c=b.next();!c.done;c=b.next())a.addHotlist(c.value);P4(a)}).catch(function(b){a.errorHandler.errorHandler(null,b)})};
g.addHotlist=function(a){var b=this.hotlistMap[a.hotlistId];b&&Va(this.hotlists,b);this.hotlistMap[a.hotlistId]=a;this.hotlists.push(a)};g.createHotlist=function(a){var b=this;this.analytics.trackEvent("baseIssue","createHotlist");Ap(this.butterBar,"Creating hotlist "+a.name+"...",0);this.hotlistApi.createHotlist(a.name).then(function(c){Ap(b.butterBar,"Hotlist "+a.name+" created successfully.");b.addHotlist(c);b.appEvents.hotlistCreated.next();a.successCallback(c);P4(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);P4(b);return d},function(){var d=b.hotlistMap[c];uc(b.hotlistMap,c);Va(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(){P4(b)})};
var GLc=function(a){var b;switch(((b=a.format)==null?void 0:b.toLowerCase())||""){case "plain":return"PLAIN";case "markdown":return"MARKDOWN"}},FLc=function(a){var b;return Xk((b=sH(a.userPreferencesManager).textDisplayPreferences)==null?void 0:b.lastPublishMode)||"PLAIN"};
O4.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(qf(this.destroyed$)).subscribe(function(e){e&&(a.judgementForNewContent=e.contentJudgement)})};O4.prototype.showContentJudgementDialog=function(a){return qI(this.matDialogService.open(NZ,{panelClass:"no-jitter",width:"500px",data:a}))};
var bMc=function(a){var b=(new Date).getTime()-a.startTime.getTime();if(b>0){var c=Math.min(b,108E5);i8b("createIssue",c,"new-ui");a.analytics.trackEvent("createIssue","createIssue","time-to-create-new-ui",c);RF(a.clearcut,b,"createIssue-fromNewIssuePage")}a.startTime=new Date};
ea.Object.defineProperties(O4.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(){YLc(b)})}}}});
O4.\u0275fac=function(a){return new (a||O4)(A(ze),A(tE),A(iU),A(pN),A(N1),A(mD),A(qC),A(oN),A(L1),A(xE),A(FI),A(UU),A(Ir),A(lI),A(bG),A(PD),A(aF),A(RE),A(sE),A(uE),A(wI),A(yE),A(iJ),A(KN),A(rH),A(EQ),A(JI),A(YF,2),A(CG),A(jG),A(CC),A(QF),A(RG),A(pH),A(CLc),A(DLc),A(EY),A(HC),A(DZ),A(Rd),A(hF))};
O4.\u0275cmp=p({type:O4,selectors:[["b-create-issue-page"]],viewQuery:function(a,b){a&1&&(fg(tX,5),fg(gY,5),fg(ALc,5),fg(K4,5));if(a&2){var c;jg(c=kg())&&(b.hotlistPicker=c.first);jg(c=kg())&&(b.commentBox=c.first);jg(c=kg())&&(b.descriptionConfirmDialog=c.first);jg(c=kg())&&(b.advancedFieldsZippy=c.first)}},features:[qg([YF,{provide:CLc,useClass:hZ},{provide:DLc,useClass:hZ}]),zf],decls:31,vars:14,consts:[["descriptionConfirmDialog",""],["collaboratorGroupField",""],["templateMenu","matMenu"],["priorityMenu",
"matMenu"],["typeMenu","matMenu"],["severityMenu","matMenu"],[1,"a11y-only"],[1,"kd-appbar","bv2-create-issue-scroll-header"],[1,"kd-buttonbar","ltr"],["mat-icon-button","","matTooltip","Go back","aria-label","Go back",3,"click"],["svgIcon","arrow-backward","color","primary"],[3,"selectedHotlistIds","choices","onApply","onLoad","onCreate",4,"ngIf"],["mat-button","",1,"gmat-button","medium","primary","valign-middle-mat-button-wrapper",3,"routerLinkObj"],["cdkScrollable","",1,"bv2-view"],[1,"bv2-new-issue-main-content"],
["novalidate","","name","createIssueForm",3,"ngClass"],["class","bv2-create-component-external-warning",3,"ngClass",4,"ngIf"],["class","bv2-validation-error-banner","role","alert",4,"ngIf"],["class","bv2-create-issue-hotlists",4,"ngIf"],[1,"bv2-create-issue-row"],[1,"bv2-create-field"],[1,"bv2-top-field-label"],["for","bv2-component",1,"required"],[1,"bv2-create-issue-component"],[3,"selectedComponentChange","selectedComponent","shouldFocus","isRequired"],["class","bv2-create-field bv2-right-button",
4,"ngIf"],["class","bv2-validation-error-banner",4,"ngIf"],[4,"ngIf"],[3,"onApply","onLoad","onCreate","selectedHotlistIds","choices"],[1,"bv2-create-component-external-warning",3,"ngClass"],[3,"name","size"],[3,"href"],["role","alert",1,"bv2-validation-error-banner"],["class","bv2-validation-error",4,"ngIf"],[1,"bv2-validation-error"],[1,"bv2-create-issue-hotlists"],["class","bv2-hotlist-chips",4,"ngFor","ngForOf"],[1,"bv2-hotlist-chips"],[3,"removeHotlist","hotlist"],[1,"bv2-create-field","bv2-right-button"],
["for","bv2-template-chooser"],["mat-button","","color","primary","id","bv2-template-chooser","aria-label","Template","type","button",3,"matMenuTriggerFor"],["iconPositionEnd","","svgIcon","arrow-dropdown",1,"icon-s"],[3,"overlapTrigger"],["mat-menu-item","",3,"click",4,"ngFor","ngForOf"],["mat-menu-item","",3,"click",4,"ngIf"],["mat-menu-item","",3,"click"],[1,"bv2-validation-error-banner"],["for","bv2-title",1,"required"],[1,"bv2-create-issue-title","flex-kids-x","align-items-center"],["type","text",
"name","title","aria-label","Issue Title","id","bv2-title","name","title","required","","aria-required","true","autocomplete","off",3,"ngModelChange","blur","ngModel","bFocus"],[3,"description",4,"ngIf"],[3,"suggestionAccepted",4,"ngIf"],["class","banned-words-warning break-word",4,"ngIf"],["class","bv2-create-field bv2-create-issue-assignee",4,"ngIf"],["class","bv2-create-field bv2-create-issue-collaborators",4,"ngIf"],["class","bv2-create-field bv2-create-issue-cc",4,"ngIf"],[1,"bv2-create-issue-details"],
["for","bv2-description"],[3,"commentChange","onChange","onSubmit","onRestrict","supportsPreview","comment","disabled","judgementForNewContent","componentId","placeholder","idForAriaLabel","audience","showRestrictionOptions","ngClass","warn"],["class","banned-words-warning break-word","warning","",4,"ngIf"],["additionalToolbarItems","",3,"change","initialValue"],["class","bv2-create-issue-row access-level-row",4,"ngIf"],[1,"float-clear"],[1,"bv2-create-issue-zippy"],["class","mat-elevation-z0 bg-secondary bordered",
4,"ngIf"],["class","create-issue-recaptcha",4,"ngIf"],[1,"bv2-issue-create-button-bar"],["format","fill","id","bv2-issue-create-button",3,"onAction","disabled","color"],["format","fill","id","bv2-issue-create-start-button",3,"onAction","disabled","color"],["format","hairline","id","bv2-issue-discard-button",3,"onAction","disabled"],[3,"description"],[3,"suggestionAccepted"],[1,"banned-words-warning","break-word"],["target","_blank","aria-label","Learn more about banned words","href","http://go/b-trackers#banned-words-for-tracker",
1,"color-bad-text","keep-underline"],["for","bv2-priority",1,"required"],["mat-button","","type","button","color","primary",3,"matMenuTriggerFor"],["mat-menu-item","","type","button",3,"click"],["mat-menu-item","","type","button",3,"click",4,"ngFor","ngForOf"],["for","bv2-type",1,"required"],["mat-menu-item","","type","button",3,"title","click",4,"ngFor","ngForOf"],["mat-menu-item","","type","button",3,"click","title"],[1,"bv2-create-field","bv2-create-issue-assignee"],["for","bv2-assignee"],[1,"overflow-hidden"],
["id","bv2-assignee","type","text","name","assignee","autocomplete","off",1,"bv2-create-issue-textfield",3,"ngModelChange","ngModel","bContactAutocomplete"],[1,"bv2-create-field","bv2-create-issue-collaborators"],["for","bv2-collaborators"],["matTooltip","Collaborators are people directly working on this issue. When expanded access is on, this field grants issue edit permissions","matTooltipPosition","above","svgIcon","help-outline","tabindex","0",1,"collaborators-tooltip-icon"],["id","bv2-collaborators",
"type","text","name","collaborators","autocomplete","off",1,"bv2-create-issue-textfield",3,"ngModelChange","ngModel","bContactAutocomplete"],[1,"bv2-create-field","bv2-create-issue-cc"],["for","bv2-cc"],["id","bv2-cc","type","text","name","cc","autocomplete","off",1,"bv2-create-issue-textfield",3,"ngModelChange","ngModel","bContactAutocomplete"],["warning","",1,"banned-words-warning","break-word"],[1,"bv2-create-issue-row","access-level-row"],["for","bv2-access-limits","title","Set access level of this issue"],
["id","bv2-access-limits",3,"updatedAccessLimitLevel","disabled","implicitAccessEnabled","defaultAccessLimitLevel"],["for","bv2-collaborator-groups","title","Set collaborator groups on the issue"],["svgIcon","help-outline","tabindex","0","aria-hidden","false",1,"icon-s","valign-middle","collaborator-group-help-icon",3,"matTooltip"],[4,"ngTemplateOutlet"],[1,"mat-elevation-z0","bg-secondary","bordered"],["role","heading","aria-level","3"],[1,"required-text"],[1,"bv2-new-issue-metadata"],["aria-label",
"Set severity",1,"bv2-create-adv-field"],["for","bv2-severity","title","Set severity, which reflects how much the issue affects the use of the product"],["mat-button","","type","button","color","primary","id","bv2-severity",3,"matMenuTriggerFor"],["name","arrow-dropdown","size","small"],[1,"bv2-create-adv-field"],["for","bv2-found-in","title","Set version(s) of the product affected by this issue (comma-separated list)"],["id","bv2-found-in","name","foundIn","type","text","autocomplete","off",3,"ngModelChange",
"ngModel"],["aria-label","Set in prod",1,"bv2-create-adv-field"],["for","bv2-in-prod","title","Set if this issue occurs in production"],["id","bv2-in-prod","name","inProd","aria-label","Set in prod",3,"ngModelChange","ngModel"],["for","bv2-reporter","title","Set the reporter of this issue."],["id","bv2-reporter","name","reporter","type","text","autocomplete","off",3,"ngModelChange","ngModel","bContactAutocomplete"],["for","bv2-verifier","title","Set the verifier of this issue."],["id","bv2-verifier",
"name","verifier","type","text","autocomplete","off",3,"ngModelChange","ngModel","bContactAutocomplete"],["for","bv2-targeted-to","title","Set the version(s) of the product in which the issue should be fixed (comma-separated list)"],["id","bv2-targeted-to","name","targetedTo","type","text","autocomplete","off",3,"ngModelChange","ngModel"],["for","bv2-blocked-by","title","Set issue(s) blocking this issue (comma-separated list)"],["id","bv2-blocked-by","name","blockedByInputField","type","text","autocomplete",
"off","pattern","[\\s\\d,]*",3,"ngModelChange","ngModel"],["for","bv2-blocking","title","Set issue(s) blocked by this issue (comma-separated list)"],["id","bv2-blocking","name","blockingInputField","type","text","autocomplete","off","pattern","[\\s\\d,]*",3,"ngModelChange","ngModel"],["class","bv2-create-adv-field",4,"ngIf"],["class","bv2-create-adv-field",4,"ngFor","ngForOf"],["for","bv2-parents","title","Set parent issue(s) of this issue (comma-separated list)"],["id","bv2-parents","name","parentsInputField",
"type","text","pattern","[\\s\\d,]*",3,"ngModelChange","ngModel"],["for","bv2-children","title","Set children issue(s) of this issue (comma-separated list)"],["id","bv2-children","name","childrenInputField","type","text","pattern","[\\s\\d,]*",3,"ngModelChange","ngModel"],["id","bv2-access-limits",3,"updatedAccessLimitLevel","disabled","defaultAccessLimitLevel","implicitAccessEnabled"],[3,"id","ngClass","title"],[3,"id","value","valueChange",4,"ngIf"],[3,"value","options","includeEmptyOption","valueChange",
4,"ngIf"],[3,"valueChange","id","value"],[3,"boundValueChange","boundValue","isRequired","bv2Id","bv2AriaLabelledby"],[3,"valueChange","value","options","includeEmptyOption"],["name","customInput","tabindex","0",3,"valuesChange","defaultLineCount","type","values","enumChoices","truncate"],[1,"bg-off-main","rounded","bordered","padded-s-y","padded-l-x",3,"context","componentId"],[1,"create-issue-recaptcha"],[3,"onUpdate"],["mat-dialog-title",""],[1,"bv2-create-issue-default-description"],["mat-button",
"",3,"mat-dialog-close"],["mat-button","","mat-dialog-close",""],["appearance","outline",1,"static-label"],["multiple","","aria-label","Collaborator groups",3,"ngModelChange","ngModel","ngModelOptions"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(a,b){if(a&1){var c=u();F(0,"h2",6);R(1,"Create issue");G();F(2,"div",7)(3,"div",8)(4,"button",9);M("click",function(){v(c);return x(b.back())});H(5,"mat-icon",10);G();F(6,"h2");R(7,"Create Issue");G();C(8,qpb,1,2,"b-hotlist-picker",11)(9,
rpb,2,1,"a",12);G()();F(10,"div",13)(11,"div")(12,"div",14)(13,"form",15);C(14,wpb,6,8,"div",16)(15,Fpb,4,3,"div",17)(16,Hpb,2,1,"div",18);F(17,"div",19)(18,"div",20)(19,"div",21)(20,"label",22);R(21,"Component");G()();F(22,"div",23)(23,"b-team-component-picker",24);M("selectedComponentChange",function(e){v(c);return x(LLc(b,e!==null&&e!==void 0?e:null))});G()()();C(24,Kpb,11,5,"div",25);G();C(25,Lpb,3,0,"div",26)(26,Eqb,42,39,"div",27);G()()()();C(27,Fqb,11,2,"ng-template",null,0,yg)(29,Iqb,5,5,
"ng-template",null,1,yg)}if(a&2){var d;z(8);D("ngIf",b.canEditIssuesInComponent);z();Of((d=b.issue.componentId)?9:-1,d);z(4);D("ngClass",ug(12,BLc,b.submitRequested));z();D("ngIf",tpb(b)||upb(b));z();D("ngIf",b.submitRequested&&!b.isValid());z();D("ngIf",b.selectedHotlists.length>0);z(7);D("selectedComponent",b.selectedComponent)("shouldFocus",!b.componentRequestedInUrl&&!b.templateIssueRequestedInUrl)("isRequired",!0);z();D("ngIf",b.availablePredefinedTemplates.length>0||b.availableExistingIssueTemplate!=
null);z();D("ngIf",!b.isLoadingComponent&&(b.componentRequestedInUrl!=null||b.selectedComponent!=null)&&!b.canCreateNewIssuesInComponent&&!b.createAclLoading&&b.selectedComponent);z();D("ngIf",b.canCreateNewIssuesInComponent||b.createAclLoading||!b.selectedComponent)}},dependencies:[jQ,gY,KL,rP,JV,C_,kM,Wy,Oy,ZY,zy,mh,qy,ry,Iy,Ky,yy,wy,CY,tX,hN,BY,fX,IH,Sx,Rx,Tx,mM,fx,nM,oM,Kx,xI,zI,BI,AI,K4,L4,M4,QL,TL,RL,UL,HW,IW,LH,OH,H4,bV,Ev,Fv,Gv,Kv,zB,wB,jY,DY,C4,F4,G4,vJ,Lv],styles:[".bv2-create-issue-row[_ngcontent-%COMP%]   .mat-mdc-button[_ngcontent-%COMP%]{font-family:Google Sans,Roboto,Arial,sans-serif;font-size:.875rem;letter-spacing:.0107142857em;font-weight:500;--mat-text-button-icon-spacing:4px}mat-icon.collaborator-group-help-icon[_ngcontent-%COMP%]{padding-left:3px}[_nghost-%COMP%]     mat-form-field.static-label{width:180px;margin-top:5px;font-size:1rem}[_nghost-%COMP%]     mat-form-field.static-label .mat-mdc-form-field-flex{height:24px}[_nghost-%COMP%]     mat-form-field.static-label .mat-mdc-form-field-infix{padding:0}.bv2-create-issue-row.access-level-row[_ngcontent-%COMP%]{display:block;width:-webkit-max-content;width:-moz-max-content;width:max-content}.feedback-button[_ngcontent-%COMP%]{display:-webkit-inline-box;display:-webkit-inline-flex;display:-moz-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;margin-left:auto}.feedback-button[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{margin-right:4px}.feedback-button[_ngcontent-%COMP%]   [_ngcontent-%COMP%]:hover{text-decoration:underline;cursor:pointer}.bv2-top-field-label[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center}.create-issue-recaptcha[_ngcontent-%COMP%]{float:right;margin:0 15px 15px 0}.mat-mdc-menu-item[_ngcontent-%COMP%]:active, .mat-mdc-menu-item[_ngcontent-%COMP%]:focus, .mat-mdc-menu-item[_ngcontent-%COMP%]:hover{background-color:rgba(0,0,0,.16);background-color:var(--active-bg)}[_nghost-%COMP%]   .collaborators-tooltip-icon[_ngcontent-%COMP%]{height:18px}[_nghost-%COMP%]     .collaborators-tooltip-icon svg{height:90%;margin-top:1px}[_nghost-%COMP%]   input.invalid[_ngcontent-%COMP%]{border-color:var(--bad-high-contrast)!important;border-width:2px!important}[_nghost-%COMP%]     .bv2-issue-create-button-bar b-button .gmat-mdc-button.mat-mdc-unelevated-button.mat-warn{background-color:#c5221f;background-color:var(--bad-gfx)}.banned-words-warning[_ngcontent-%COMP%]{color:#c5221f;color:var(--bad-text)}\n/*# sourceMappingURL=create_issue_page.css.map */"]});
var Lqb={hotlistId:[],comment:"",severity:"S2",inProd:!1,customField:[]},TLc=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 fMc=["form"],Q4=function(a,b,c,d,e,f){this.bLocation=a;this.sloApi=b;this.errorHandler=c;this.analytics=d;this.butterBar=e;this.appHistory=f;this.isSaving=this.elementPickerIsValid=!1;this.createSloForm=null;this.error="";this.sloUnderEdit={sloId:"0",parentId:"0",name:"",description:"",elements:[],effectiveElements:[],alertState:"OFF",isArchived:!1}};g=Q4.prototype;g.ngAfterViewInit=function(){};
g.save=function(){var a=this;if(!this.validate())return Promise.reject(Error("pf"));Ap(this.butterBar,"Saving SLO...",0);this.isSaving=!0;return this.sloApi.create(this.sloUnderEdit).then(function(b){Ap(a.butterBar,"SLO "+b.name+" saved.",2E3);a.analytics.trackEvent("SLO","create");a.bLocation.replaceUrl(zo.editSlo.makeHref(b.sloId))}).catch(function(b){a.errorHandler.errorHandler(null,b)}).finally(function(){a.isSaving=!1})};g.back=function(){M1(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};Q4.\u0275fac=function(a){return new (a||Q4)(A(oN),A($G),A(uE),A(bG),A(sE),A(L1))};
Q4.\u0275cmp=p({type:Q4,selectors:[["create-slo-page"]],viewQuery:function(a,b){a&1&&fg(fMc,5);if(a&2){var c;jg(c=kg())&&(b.createSloForm=c.first)}},decls:30,vars:17,consts:[["form","ngForm"],[1,"kd-appbar"],[1,"kd-buttonbar"],["format","icon","size","large","tooltip","Go back","bAriaLabel","Go back",3,"onAction"],["name","arrow-backward","size","large"],[1,"bv2-view"],[1,"edit-resource-header"],[1,"vertical-centered"],[1,"edit-resource-panel"],["name","createSloForm"],[3,"error"],[1,"edit-field"],
["for","slo-name",1,"required"],["type","text","id","slo-name","name","name",3,"ngModelChange","required","bFocus","ngModel","disabled"],["for","slo-description"],["id","slo-description","name","description",3,"ngModelChange","ngModel","disabled"],[3,"onCollectionUpdate","onValidation","isDisabled","collection"],[1,"advanced-settings-info"],[1,"edit-button-row"],["format","fill",3,"onAction","disabled"],["format","hairline",3,"onAction","disabled"]],template:function(a,b){if(a&1){var c=u();F(0,"div",
1)(1,"div",2)(2,"b-button",3);M("onAction",function(){v(c);return x(b.back())});H(3,"b-icon",4);G()()();F(4,"div",5)(5,"h2",6)(6,"span",7);R(7,"Create a new SLO");G()();F(8,"div",8)(9,"form",9,0);H(11,"b-error-banner",10);F(12,"div",11)(13,"label",12);R(14,"Name");G();F(15,"input",13);M("ngModelChange",function(d){v(c);return x(b.sloUnderEdit.name=d)});G()();F(16,"div",11)(17,"label",14);R(18,"Description");G();F(19,"textarea",15);M("ngModelChange",function(d){v(c);return x(b.sloUnderEdit.description=
d)});R(20,"        ");G()();F(21,"div",11)(22,"slo-elements-picker",16);M("onCollectionUpdate",function(d){v(c);return x(b.updateCollection(d))})("onValidation",function(d){v(c);return x(b.elementPickerIsValid=d)});G()();F(23,"p",17);R(24," Access controls may be defined once the slo is created. ");G();F(25,"div",18)(26,"b-button",19);M("onAction",function(){v(c);return x(b.save())});R(27," Save ");G();F(28,"b-button",20);M("onAction",function(){v(c);return x(b.revertChanges())});R(29," Revert changes ");
G()()()()()}a&2&&(z(9),Kf("show-errors",b.error),z(2),D("error",b.error),z(),Kf("bv2-edit-resource-readonly",b.isSaving),z(3),D("required",!0)("bFocus",!0)("ngModel",b.sloUnderEdit.name)("disabled",b.isSaving),z(),Kf("bv2-edit-resource-readonly",b.isSaving),z(3),D("ngModel",b.sloUnderEdit.description)("disabled",b.isSaving),z(3),D("isDisabled",!1)("collection",b.sloUnderEdit.elements),z(4),D("disabled",b.isSaving||(b.createSloForm==null?null:b.createSloForm.pending)||(b.createSloForm==null?null:b.createSloForm.invalid)||
!b.elementPickerIsValid),z(2),D("disabled",!(b.sloUnderEdit.name!==""||b.sloUnderEdit.description!==""||b.sloUnderEdit.elements.length>0)))},dependencies:[jQ,j0,ZY,zy,mh,qy,ry,Iy,yy,wy,hN,A1],encapsulation:2});var R4=function(){this.nextPanelId=1};R4.\u0275fac=function(a){return new (a||R4)};R4.\u0275prov=Hc({token:R4,factory:R4.\u0275fac,providedIn:"root"});var S4=function(a,b,c,d,e,f,h,k,q,t,w,B,E,I,J,N,P,U,ba,ma,na,ya){Z.call(this);this.cdr=a;this.paths=b;this.bLocation=c;this.$log=d;this.analytics=e;this.issueApi=f;this.userApi=h;this.bookmarkGroupsApi=k;this.hotlistApi=q;this.butterBar=t;this.pageTitle=w;this.dashboards=B;this.routeParams=E;this.activeSession=I;this.appSearchState=J;this.userAccess=N;this.errorHandler=P;this.statusMessages=U;this.appEvents=ba;this.hotlistFridge=ma;this.issueFridge=na;this.currentUserBookmarksFridge=ya;this.ANALYTICS_CATEGORY=
"dashboard";this.panels=[];this.hotlistChoices=[];this.hotlistMap={};this.isStarred=!1;this.bookmarkGroup=null;this.isAdmin=!1;this.userEmail=I.getUserEmail();this.groupId=E.groupId||null};X(S4,Z);S4.\u0275dir=Z.\u0275dir;
S4.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){gMc(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){hMc(a,
b,function(c){return c+1})}));this.subscriptions.add(this.appEvents.dashboardPanels.moveUp.subscribe(function(b){hMc(a,b,function(c){return c-1})}));this.subscriptions.add(this.appEvents.dashboardPanels.moveToTop.subscribe(function(b){hMc(a,b,function(){return 0})}));this.subscriptions.add(this.appEvents.dashboardPanels.moveToBottom.subscribe(function(b){hMc(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 Uqb=function(a,b){var c=b.panelId;b=b.selectedIssues;if(a=iMc(a,c))a.selectedIssues=b!=null?b:[]},Tqb=function(a,b,c){b.focusedRowIndex=c;if(c!=null)for(a=l(a.panels),c=a.next();!c.done;c=a.next())c=c.value,c!==b&&(c.focusedRowIndex=null)},iMc=function(a,b){return a.panels.find(function(c){return c.panelId===b})},jMc=function(a,b){a=a.panels.findIndex(function(c){return c.panelId===b});return a!==-1?a:void 0};g=S4.prototype;
g.fetchUserHotlists=function(){var a=this;(this.activeSession.getFlag("enableLeanFeF")?(0,W.firstValueFrom)(jF(this.currentUserBookmarksFridge)):this.userApi.getUserHotlists()).then(function(b){b=l(b);for(var c=b.next();!c.done;c=b.next()){c=c.value;a.hotlistFridge.announce(c);var d=a.hotlistMap[c.hotlistId];pi(d,c)||(d&&Va(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");Ap(this.butterBar,"Creating hotlist "+c+"...",0);this.hotlistApi.createHotlist(c).then(function(e){b.hotlistFridge.announce(e);Ap(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;Ap(this.butterBar,"Loading hotlist "+c);this.hotlistMap[c]||this.hotlistApi.get(c).then(function(e){b.addHotlist(e);d(e);b.cdr.detectChanges()}).catch(a)};g.addHotlist=function(a){this.hotlistMap[a.hotlistId]||(this.hotlistMap[a.hotlistId]=a,this.hotlistChoices.push(a))};
g.loadHotlists=function(a){var b=this,c=new Set;a=l(a);for(var d=a.next();!d.done;d=a.next()){d=l(d.value.hotlistId||[]);for(var e=d.next();!e.done;e=d.next())e=e.value,this.hotlistMap[e]||c.has(e)||c.add(e)}c=l(c);for(a=c.next();!a.done;a=c.next())this.hotlistApi.get(a.value).then(function(f){b.hotlistFridge.announce(f);b.addHotlist(f);b.cdr.detectChanges()}).catch(function(f){(new Set([403,404])).has(f.status)||b.errorHandler.errorHandler(null,f)})};
g.sendBulkEditRequest=function(a,b){var c=this;if(a.length===1&&a[0].actions.length===1&&a[0].actions[0].fieldName==="readState"){var d=!!a[0].actions[0].value;b=l(this.panels);for(var e=b.next();!e.done;e=b.next()){e=l(e.value.selectedIssues);for(var f=e.next();!f.done;f=e.next())f.value.isRead=d}this.cdr.detectChanges();Ap(this.butterBar,"Marking "+a[0].issueIds.length+" issues  "+(d?"read":"unread")+"...",0);return lG(this.issueFridge,a[0].issueIds,{markRead:d,userActivityType:"MARK_AS_READ_OR_UNREAD"}).then(function(k){Ap(c.butterBar,
"Issues marked "+(d?"read":"unread")+".");for(var q=l(c.panels),t=q.next();!t.done;t=q.next()){t=l(t.value.selectedIssues);for(var w=t.next();!w.done;w=t.next()){var B=void 0;w.value.lastViewedTime=(B=k)!=null?B:null}}}).catch(function(k){for(var q=l(c.panels),t=q.next();!t.done;t=q.next()){t=l(t.value.selectedIssues);for(var w=t.next();!w.done;w=t.next())w=w.value,w.isRead=!!w.lastViewedTime&&w.lastViewedTime>=w.majorModifiedTime}c.errorHandler.errorHandler(null,k)}).finally(function(){c.cdr.detectChanges()})}e=
WFa(a).map(function(k){return k.fieldName});this.analytics.trackEvent(this.ANALYTICS_CATEGORY,"bulkEdit",e.join(","));var h={bulkEditOps:a};Ap(this.butterBar,"Saving changes...",0);return this.issueApi.issueBulkEdit(h,b).then(function(k){for(var q=l([].concat(r(c.searchPanels),r(c.hotlistPanels))),t=q.next();!t.done;t=q.next()){t=t.value;var w=k;if(t.searchResults){t.searchResults=t.searchResults.clone();for(var B=0,E=l(t.searchResults.issues),I=E.next();!I.done;I=E.next()){I=I.value;if(w.affectedIssues[I.issueId]){var J=
w.affectedIssues[I.issueId];J=SVa(J,w.componentMap[Number(Na(J.snapshot).componentId)]);J.selected=I.selected;t.searchResults.issues[B]=J;t.resultsLoaded.emit([t.searchResults.issues[B]])}B++}}}k.errors&&k.errors.length?(q=xi(k.errors,"issueId"),c.butterBar.showWarning("Failed to update issue(s) "+q.join(", ")+"."),c.analytics.trackEvent(c.ANALYTICS_CATEGORY,"bulkEditError",""+k.errors.length)):(k=rac(c.statusMessages,h))?Ap(c.butterBar,k):Ap(c.butterBar,"Saved "+XFa(a).length+" issue(s).")}).catch(function(k){c.errorHandler.errorHandler(null,
k)})};g.loadBookmarkGroup=function(){var a=this;return this.bookmarkGroupsApi.get(this.groupId).then(function(b){oD(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 gMc=function(a,b){a.panels=(b.item||[]).map(function(c,d){return kMc(a,c,d===0?0:void 0)})};
S4.prototype.removePanel=function(a){var b=this,c=iMc(this,a);c!=null&&(Ap(this.butterBar,"Saving changes...",0),a=qi(this.bookmarkGroup),a.item=a.item.filter(function(d){return!lMc(b,c,d)}),mMc(this,a))};
var hMc=function(a,b,c){b=jMc(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=qi(a.bookmarkGroup);var e,f=(e=a.bookmarkGroup)==null?void 0:e.item.findIndex(function(h){return lMc(a,d,h)});f!==void 0&&(Oba(b.item,f,c),mMc(a,b))}}},mMc=function(a,b){a.bookmarkGroupsApi.update(b).then(function(c){a.bookmarkGroup=c;nMc(a,a.bookmarkGroup.item);Ap(a.butterBar,"Bookmark group saved.",4E3);a.appEvents.bookmarkGroupModified.next({bookmarkGroupId:a.bookmarkGroup.bookmarkGroupId});
a.cdr.detectChanges()},function(c){a.errorHandler.errorHandler(null,c)})},lMc=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}},oMc=function(a,b){return a.panels.find(function(c){return lMc(a,c,b)})},kMc=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:[]}},nMc=function(a,b){a.panels=b.map(function(c){var d;return(d=oMc(a,c))!=null?d:kMc(a,c)})};
S4.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)})};S4.prototype.editBookmarkGroup=function(){this.bLocation.setUrl(this.paths.editBookmarkGroup(this.bookmarkGroup.bookmarkGroupId))};
S4.\u0275fac=function(a){return new (a||S4)(A(YF),A(pN),A(oN),A(tE),A(bG),A(PD),A(aF),A(cC),A(RE),A(sE),A(cU),A(R4),A(iJ),A(Ir),A(xH),A(mD),A(uE),A(MI),A(yE),A(bF),A(jG),A(hF))};
S4.\u0275cmp=p({type:S4,selectors:[["dashboard-page"]],viewQuery:function(a,b){a&1&&(fg(e1,5),fg(c1,5));if(a&2){var c;jg(c=kg())&&(b.searchPanels=c);jg(c=kg())&&(b.hotlistPanels=c)}},features:[qg([YF]),zf],decls:9,vars:5,consts:[[1,"a11y-only"],[1,"kd-dashboard-bar","kd-appbar","kd-buttonbar"],[1,"bv2-dashboard-header"],[3,"onSave","onCreateHotlist","onLoadHotlist","hotlistChoices","panels"],["role","main","tabindex","0",1,"bv2-view",3,"bFocus"],[4,"ngIf"],[3,"ngSwitch",4,"ngFor","ngForOf"],[1,"bv2-dashboard-title"],
[3,"starMessage","unStarMessage","starred","starClicked",4,"ngIf"],[3,"starMessage","unStarMessage","starred","disabled",4,"ngIf"],[1,"bv2-dashboard-title-text"],["aria-label","Bookmark group settings","matTooltip","Bookmark group settings",1,"bv2-edit-icon","bv2-view-resource-edit-button",3,"click"],[3,"starClicked","starMessage","unStarMessage","starred"],[3,"starMessage","unStarMessage","starred","disabled"],[3,"ngSwitch"],[3,"panel","isDashboardEditable","focusedRowIndex","savedSearchId","first",
"last","focusedRowIndexChange","selectionChange","resultsLoaded",4,"ngSwitchCase"],[3,"panel","isDashboardEditable","focusedRowIndex","hotlistId","first","last","focusedRowIndexChange","selectionChange","resultsLoaded",4,"ngSwitchCase"],[3,"focusedRowIndexChange","selectionChange","resultsLoaded","panel","isDashboardEditable","focusedRowIndex","savedSearchId","first","last"],[3,"focusedRowIndexChange","selectionChange","resultsLoaded","panel","isDashboardEditable","focusedRowIndex","hotlistId","first",
"last"]],template:function(a,b){a&1&&(F(0,"h2",0),R(1,"Dashboard"),G(),F(2,"div",1)(3,"div",2),R(4,"Bookmark groups dashboard"),G(),F(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)}),G()(),F(6,"div",4),C(7,Sqb,8,3,"div",5)(8,Xqb,3,3,"div",6),G());a&2&&(z(5),D("hotlistChoices",b.hotlistChoices)("panels",b.panels),z(),D("bFocus",
!0),z(),D("ngIf",b.bookmarkGroup),z(),D("ngForOf",b.panels))},dependencies:[yY,uT,e1,c1,Fv,Gv,Hv,Iv,ZY,LH,OH],encapsulation:2});var T4=function(){};T4.\u0275fac=function(a){return new (a||T4)};T4.\u0275mod=dd({type:T4});T4.\u0275inj=Ic({imports:[zY,HU,f1,d1,BB,$Y,aM]});var pMc=["editBookmarkGroupItemsContainer"],qMc=["bookmarkGroupName"],wrb=function(a){return{"bv2-edit-resource-readonly":a}},yrb=function(a){return{displayText:"Admins",values:a}},xrb=function(a){return[a]},U4=function(a,b,c,d,e,f,h,k,q,t,w,B,E,I,J,N,P,U,ba,ma){Z.call(this);var na=this;this.routeParams=a;this.location=b;this.butterBar=c;this.accessPolicyApi=d;this.userApi=e;this.bookmarkGroupsApi=f;this.hotlistApi=h;this.paths=k;this.appHistory=q;this.pageTitle=t;this.userAccess=w;this.errorHandler=
E;this.activeSession=I;this.appEvents=J;this.snackBar=N;this.confirmationDialog=P;this.cdr=U;this.documentationLinks=ba;this.currentUserBookmarksFridge=ma;this.selectedTabIndex=0;this.isAdmin=this.isArchiving=this.isUpdating=this.isLoading=!1;this.isReaderFieldValid=this.isAdminsFieldValid=!0;this.error="";this.selectedHotlistIds=[[]];this.userHotlists=[];this.userSavedSearches=null;this.savedSearchChoices=[];this.currentUserEmail=I.getUserEmail();this.accessPolicyUnderEdit=Ko();this.flattenedAccessPolicy=
Ko();a=this.loadBookmarkGroup(this.routeParams.groupId);b=this.loadUserAccess(this.routeParams.groupId);this.loadAccessPolicy(this.routeParams.groupId);rMc(this);sMc(this);Promise.all([a,b]).then(function(){var ya;(ya=na.bookmarkGroupNameInput)==null||ya.nativeElement.focus()});this.subscriptions.add(FQ(B,function(){return na.hasUnsavedChanges()},!1));B=function(){rMc(na)};this.subscriptions.add(this.appEvents.hotlistCreated.subscribe(B));this.subscriptions.add(this.appEvents.hotlistChanged.subscribe(B));
this.subscriptions.add(this.appEvents.savedSearchModified.subscribe(function(){sMc(na)}))};X(U4,Z);U4.\u0275dir=Z.\u0275dir;g=U4.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(){M1(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!pi(this.bookmarkGroup,this.bookmarkGroupUnderEdit)};g.hasUnsavedAccessPolicyChanges=function(){return!pi(this.flattenedAccessPolicy,this.accessPolicyUnderEdit)};
g.isEditDisabled=function(){return this.isSaving()||!this.isAdmin};g.revertMetadataChanges=function(){this.bookmarkGroupUnderEdit=qi(this.bookmarkGroup);this.error="";this.selectedHotlistIds=[xi(this.bookmarkGroup.item.filter(function(a){return a.hasOwnProperty("hotlistId")}),"hotlistId")];tMc(this)};g.revertAccessPolicyChanges=function(){this.accessPolicyUnderEdit=qi(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",wh("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",wh("Do you want to archive this bookmark group?"),function(){uMc(a,"archive")})};g.unarchive=function(){var a=this;this.openConfirmationDialog("Unarchive bookmark group",wh("Do you want to unarchive this bookmark group?"),function(){uMc(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});vMc(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=Mo(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=Lo(c);a.accessPolicyUnderEdit=qi(a.flattenedAccessPolicy);
a.loadUserAccess(a.bookmarkGroup.bookmarkGroupId)},function(c){a.errorHandler.errorHandler(null,c)}).finally(function(){a.isUpdating=!1})};
var uMc=function(a,b){var c=qi(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});vMc(a,d)}).catch(function(d){a.errorHandler.errorHandler(null,d)}).finally(function(){a.isArchiving=!1})};
U4.prototype.loadBookmarkGroup=function(a){var b=this;this.isLoading=!0;return this.bookmarkGroupsApi.get(a).then(function(c){vMc(b,c);b.selectedHotlistIds=[xi(b.bookmarkGroup.item,"hotlistId")];tMc(b);b.pageTitle.setTitle("Bookmark group: "+c.name);b.cdr.detectChanges()},function(c){b.errorHandler.errorHandler(null,c)}).finally(function(){b.isLoading=!1})};var vMc=function(a,b){a.bookmarkGroup=b;a.bookmarkGroupUnderEdit=qi(a.bookmarkGroup)};
U4.prototype.loadAccessPolicy=function(a){var b=this;this.accessPolicyApi.get("BOOKMARK_GROUP",a).then(function(c){b.flattenedAccessPolicy=Lo(c);b.accessPolicyUnderEdit=qi(b.flattenedAccessPolicy);b.cdr.detectChanges()}).catch(function(c){b.errorHandler.errorHandler(null,c)})};U4.prototype.loadUserAccess=function(a){var b=this;return oD(this.userAccess,"admin","bookmarkGroups/"+a).then(function(c){b.isAdmin=c;b.cdr.detectChanges()}).catch(function(c){b.errorHandler.errorHandler(null,c)})};
var rMc=function(a){(a.activeSession.getFlag("enableLeanFeF")?(0,W.firstValueFrom)(jF(a.currentUserBookmarksFridge)):a.userApi.getUserHotlists()).then(function(b){a.userHotlists=b;a.cdr.detectChanges()})},sMc=function(a){a.userSavedSearches=null;(a.activeSession.getFlag("enableLeanFeF")?(0,W.firstValueFrom)(kF(a.currentUserBookmarksFridge)):a.userApi.getUserSavedSearches()).then(function(b){a.userSavedSearches=b;tMc(a);a.cdr.detectChanges()})},tMc=function(a){if(a.userSavedSearches&&a.bookmarkGroupUnderEdit!=
null){var b=wMc(a.bookmarkGroupUnderEdit.item.filter(function(c){return c.hasOwnProperty("savedSearchId")}));a.savedSearchChoices=a.userSavedSearches.filter(function(c){return b.indexOf(c.searchId)==-1})}},arb=function(a,b){var c=Number(b);Xa(a.bookmarkGroupUnderEdit.item,function(e){return e.hotlistId===c});xMc(a,c);var d;(d=a.editBookmarkGroupItemsContainer)==null||d.nativeElement.focus()},crb=function(a,b){Xa(a.bookmarkGroupUnderEdit.item,function(d){return d.savedSearchId===b});tMc(a);var c;(c=
a.editBookmarkGroupItemsContainer)==null||c.nativeElement.focus()},prb=function(a,b){switch(b.resourceType){case "SAVED_SEARCH":return a.paths.viewSavedSearch(b.savedSearchId);case "HOTLIST":return zo.viewHotlist.makeHref(b.hotlistId);case "BOOKMARK_GROUP":return a.paths.viewBookmarkGroup(b.bookmarkGroupId);default:Dc(b.resourceType)}},krb=function(a,b){for(var c=l(Object.entries(b.newSelectionMap)),d=c.next(),e={};!d.done;e={id$jscomp$460:void 0},d=c.next()){var f=l(d.value);d=f.next().value;f=f.next().value;
e.id$jscomp$460=vi(d);f&&!b.oldSelectionMap[e.id$jscomp$460]?(nrb(a,e.id$jscomp$460),e=a.userHotlists.find(function(h){return function(k){return k.hotlistId===h.id$jscomp$460}}(e)),a.bookmarkGroupUnderEdit.item.push({hotlistId:e.hotlistId,name:e.name,resourceType:"HOTLIST"})):b.oldSelectionMap[e.id$jscomp$460]&&!f&&(xMc(a,e.id$jscomp$460),Xa(a.bookmarkGroupUnderEdit.item,function(h){return function(k){return k.hotlistId===h.id$jscomp$460}}(e)))}},nrb=function(a,b){a.selectedHotlistIds[0].push(b);
a.selectedHotlistIds=[a.selectedHotlistIds[0]]},xMc=function(a,b){Va(a.selectedHotlistIds[0],b);a.selectedHotlistIds=[a.selectedHotlistIds[0]]},grb=function(a,b){wMc(a.bookmarkGroupUnderEdit.item).indexOf(b.searchId)===-1&&a.bookmarkGroupUnderEdit.item.push({name:b.name,resourceType:"SAVED_SEARCH",savedSearchId:b.searchId});setTimeout(function(){tMc(a)})},wMc=function(a){return a?xi(a,"savedSearchId"):[]},lrb=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)},mrb=function(a,b){return a.hotlistApi.get(b.hotlistId).then(function(c){a.userHotlists.push(c);b.successCallback(c);return c},b.errorCallback)};
U4.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:Dc(a.resourceType)}};U4.prototype.openConfirmationDialog=function(a,b,c){this.confirmationDialog.open({title:a,content:b,onConfirm:function(){c()}})};
U4.\u0275fac=function(a){return new (a||U4)(A(iJ),A(oN),A(sE),A(qC),A(aF),A(cC),A(RE),A(pN),A(L1),A(cU),A(mD),A(EQ),A(uE),A(Ir),A(yE),A(XD),A(EI),A(YF,2),A(oI),A(hF))};
U4.\u0275cmp=p({type:U4,selectors:[["b-edit-bookmark-group"]],viewQuery:function(a,b){a&1&&(fg(pMc,5),fg(qMc,5),fg(BM,5,Rd));if(a&2){var c;jg(c=kg())&&(b.editBookmarkGroupItemsContainer=c.first);jg(c=kg())&&(b.bookmarkGroupNameInput=c.first);jg(c=kg())&&(b.tabs=c)}},features:[qg([YF]),zf],decls:9,vars:3,consts:[["bookmarkGroupName",""],["bookmarkItems",""],["editBookmarkGroupItemsContainer",""],["savedSearchMenu","matMenu"],[1,"kd-appbar"],[1,"kd-buttonbar"],[1,"bv2-appbar-left"],["mat-icon-button",
"","matTooltip","Go back","aria-label","Go back",3,"click"],["svgIcon","arrow-backward","color","primary"],["mat-button","","color","primary",3,"disabled","click",4,"ngIf"],[1,"bv2-view"],[4,"ngIf"],["mat-button","","color","primary",3,"click","disabled"],[1,"edit-resource-header"],["class","resource-archived",4,"ngIf"],[1,"edit-resource-header-link","normal-link",3,"href"],["mat-align-tabs","start",3,"selectedIndexChange","selectedIndex"],["id","basic","label","Basic Information"],[1,"edit-resource-panel"],
[3,"error"],[1,"edit-field",3,"ngClass"],["for","bookmark-group-name",1,"required"],[1,"edit-field-header"],["type","text","id","bookmark-group-name","required","","aria-required","true",3,"ngModelChange","ngModel","disabled"],["for","bookmark-group-description"],["id","bookmark-group-description",3,"ngModelChange","ngModel","disabled"],[4,"ngIf","ngIfElse"],["class","edit-button-row",4,"ngIf"],["id","access","label","Access Control"],[1,"edit-field-note"],[3,"usersChange","isValid","users"],[3,"usersChange",
"isValid","users","includeAliases","includeViewAliases","containerChips"],[1,"edit-field"],["target","_blank",3,"href"],[1,"resource-archived"],["for","edit-bookmark-group-items-container"],["role","region","aria-label","Selected items","id","edit-bookmark-group-items-container",1,"keep-focus-ring","edit-bookmark-group-items-container"],["class","bv2-bookmark-item-chip",4,"ngFor","ngForOf"],[1,"edit-bookmark-group-edit-items-pane"],[1,"edit-bookmark-group-hotlist-picker"],["for","hotlist-picker-button"],
[3,"onApply","onCreate","onLoad","selectedHotlistIds","choices","checkEditAcl"],[1,"edit-bookmark-group-hotlist-search"],["for","hotlist-search-input-box"],[3,"itemSelect","showGroups","allowStarring"],["class","edit-bookmark-group-saved-search-picker",4,"ngIf"],[1,"bv2-bookmark-item-chip"],["class","bv2-saved-search-chip b-chip yellow split",4,"ngIf"],["class","edit-bookmark-group-none-select",4,"ngIf"],[3,"removeHotlist","id"],[1,"bv2-saved-search-chip","b-chip","yellow","split"],[1,"left","interactive",
3,"href","matTooltip"],["role","button","tabindex","0",1,"right","interactive",3,"click","keydown.enter","keydown.space","matTooltip"],[1,"edit-bookmark-group-none-select"],[1,"edit-bookmark-group-saved-search-picker"],["for","add-from-saved-searches-button"],["id","add-from-saved-searches-button","mat-button","","aria-describedby","select-from-saved-searches-button",1,"gmat-button","medium","primary",3,"matMenuTriggerFor"],["id","select-from-saved-searches-button"],["svgIcon","arrow-dropdown","color",
"primary"],["matMenuContent",""],["mat-menu-item","",3,"click",4,"ngFor","ngForOf"],["mat-menu-item","",3,"click"],[1,"edit-field","bv2-edit-resource-readonly"],[1,"edit-bookmark-group-view-items"],[4,"ngFor","ngForOf"],[3,"href"],[1,"edit-button-row"],["mat-flat-button","","color","primary",3,"click","disabled"],["mat-stroked-button","","color","primary",3,"click"]],template:function(a,b){a&1&&(F(0,"div",4)(1,"div",5)(2,"div",6)(3,"button",7),M("click",function(){return b.back()}),H(4,"mat-icon",
8),G(),C(5,Yqb,2,1,"button",9)(6,Zqb,2,1,"button",9),G()()(),F(7,"div",10),C(8,zrb,48,40,"ng-container",11),G());a&2&&(z(5),D("ngIf",b.isAdmin&&!b.isArchived()),z(),D("ngIf",b.isAdmin&&b.isArchived()),z(2),D("ngIf",!b.isLoading&&b.bookmarkGroup.bookmarkGroupId))},dependencies:[Ev,Fv,Gv,zB,LH,OH,oE,HM,BM,CM,j0,IY,tX,rU,mh,qy,Iy,yy,QL,TL,RL,SL,UL,ON],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-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 yMc=["savedSearchNameInput"],Erb=function(a){return{"bv2-edit-resource-readonly":a}},Grb=function(a){return{displayText:"Admins",values:a}},Frb=function(a){return[a]},V4=function(a,b,c,d,e,f,h,k,q,t,w,B,E,I,J,N,P){Z.call(this);var U=this;this.routeParams=a;this.location=b;this.accessPolicyApi=c;this.savedSearchApi=d;this.paths=e;this.appHistory=f;this.butterBar=h;this.pageTitle=k;this.documentationLinks=t;this.userAccess=B;this.errorHandler=E;this.snackBar=I;this.confirmationDialog=J;this.cdr=
N;this.appEvents=P;this.selectedTabIndex=0;this.isDeleting=this.isUpdating=this.isAdmin=this.isLoading=!1;this.isReaderFieldValid=this.isAdminsFieldValid=!0;this.error="";this.currentUserEmail=q.getUserEmail();this.accessPolicyUnderEdit=Ko();this.flattenedAccessPolicy=Ko();a=this.loadSavedSearch(this.routeParams.savedSearchId);b=this.loadUserAccess(this.routeParams.savedSearchId);this.loadAccessPolicy(this.routeParams.savedSearchId);Promise.all([a,b]).then(function(){var ba;(ba=U.savedSearchName)==
null||ba.nativeElement.focus()});this.subscriptions.add(FQ(w,function(){return U.hasUnsavedChanges()},!1))};X(V4,Z);V4.\u0275dir=Z.\u0275dir;g=V4.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=qi(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=Lo(c);b.accessPolicyUnderEdit=qi(b.flattenedAccessPolicy);b.cdr.detectChanges()}).catch(function(c){b.errorHandler.errorHandler(null,c)})};g.loadUserAccess=function(a){var b=this;return oD(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(){M1(this.appHistory)};g.revertMetadataChanges=function(){this.savedSearchUnderEdit=qi(this.savedSearch);this.error=""};g.revertAccessPolicyChanges=function(){this.accessPolicyUnderEdit=qi(this.flattenedAccessPolicy);this.appEvents.contactChipsRevertChanges.next()};g.hasUnsavedMetadataChanges=function(){return!pi(this.savedSearch,this.savedSearchUnderEdit)};
g.hasUnsavedAccessPolicyChanges=function(){return!pi(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=qi(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",wh("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=Mo(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=Lo(c);a.accessPolicyUnderEdit=qi(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(nn(c),0)}).finally(function(){a.isUpdating=!1})};g.delete=function(){var a=this;this.openConfirmationDialog("Delete saved search",wh("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"});Lfc(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()}})};V4.\u0275fac=function(a){return new (a||V4)(A(iJ),A(oN),A(qC),A(fF),A(pN),A(L1),A(sE),A(cU),A(Ir),A(oI),A(EQ),A(mD),A(uE),A(XD),A(EI),A(YF,2),A(yE))};
V4.\u0275cmp=p({type:V4,selectors:[["b-edit-saved-search"]],viewQuery:function(a,b){a&1&&(fg(yMc,5),fg(BM,5,Rd));if(a&2){var c;jg(c=kg())&&(b.savedSearchName=c.first);jg(c=kg())&&(b.tabs=c)}},features:[qg([YF]),zf],decls:9,vars:3,consts:[["savedSearchNameInput",""],[1,"kd-appbar"],[1,"kd-buttonbar"],[1,"bv2-appbar-left"],["mat-icon-button","","matTooltip","Go back","aria-label","Go back",3,"click"],["svgIcon","arrow-backward","color","primary"],["mat-button","","color","primary","matTooltip","Delete saved search",
3,"disabled","click",4,"ngIf"],[1,"bv2-view"],[4,"ngIf"],["mat-button","","color","primary","matTooltip","Delete saved search",3,"click","disabled"],[1,"edit-resource-header"],[1,"edit-resource-header-link",3,"href"],["gmat-tabs","","mat-align-tabs","start",3,"selectedIndexChange","selectedIndex"],["id","basic","label","Basic Information"],[1,"edit-resource-panel"],[3,"error"],[1,"edit-field",3,"ngClass"],["for","saved-search-name",1,"required"],[1,"edit-field-header"],["type","text","id","saved-search-name",
"required","","aria-required","true",3,"ngModelChange","ngModel","disabled"],["for","saved-search-description"],["id","saved-search-description",3,"ngModelChange","ngModel","disabled"],[1,"edit-field","bv2-edit-resource-readonly"],["for","saved-search-query"],[1,"edit-field-note"],[1,"edit-saved-search-query-container","codefont"],["class","edit-button-row",4,"ngIf"],["id","access","label","Access Control"],["for","saved-search-acl-admins"],[3,"usersChange","isValid","users"],["for","saved-search-acl-readers"],
[3,"usersChange","isValid","users","includeAliases","includeViewAliases","containerChips"],[1,"edit-field"],["target","_blank",3,"href"],[1,"edit-button-row"],["mat-flat-button","","color","primary",3,"click","disabled"],["mat-stroked-button","","color","primary",3,"click"]],template:function(a,b){a&1&&(F(0,"div",1)(1,"div",2)(2,"div",3)(3,"button",4),M("click",function(){return b.back()}),H(4,"mat-icon",5),G(),C(5,Arb,2,1,"button",6),G()()(),F(6,"div",7),C(7,Brb,4,0,"ng-container",8)(8,Hrb,51,38,
"ng-container",8),G());a&2&&(z(5),D("ngIf",b.isAdmin),z(2),D("ngIf",!b.isLoading&&!b.savedSearch),z(),D("ngIf",!b.isLoading&&b.savedSearch))},dependencies:[Ev,Gv,zB,LH,OH,oE,HM,BM,CM,j0,mh,qy,Iy,yy,ON],encapsulation:2});var zMc=function(a){this.internalArray_=m(a)};X(zMc,Y);zMc.prototype.getSloId_asLegacyNumberOrString=function(){return ej(this,1)};zMc.prototype.setSloId=function(a){return bj(this,1,a)};var AMc=function(a){this.internalArray_=m(a)};X(AMc,Y);g=AMc.prototype;g.getAuthor=function(){return $i(this,Ni,1)};g.setAuthor=function(a){oj(this,Ni,1,a)};g.hasAuthor=function(){return dk(this,Ni,1)};g.getTimestamp=function(){return $i(this,Ii,2)};g.setTimestamp=function(a){return oj(this,Ii,2,a)};g.hasTimestamp=function(){return dk(this,Ii,2)};g.getAdd=function(){return $i(this,ao,3)};g.setAdd=function(a){return oj(this,ao,3,a)};g.getRemove=function(){return $i(this,ao,4)};
g.setRemove=function(a){return oj(this,ao,4,a)};g.getAddMask=function(){return $i(this,Ul,5)};g.setAddMask=function(a){return oj(this,Ul,5,a)};g.getRemoveMask=function(){return $i(this,Ul,6)};g.setRemoveMask=function(a){return oj(this,Ul,6,a)};g.getFieldUpdatesList=function(){return xj(this,TC,7,yj())};AMc.repeatedFields_=[7];var BMc=function(a){this.internalArray_=m(a)};X(BMc,Y);BMc.repeatedFields_=[1];var W4=function(a){this.internalArray_=m(a,0,W4.messageId)};X(W4,Y);W4.prototype.getIt=function(){return $i(this,BMc,1)};W4.prototype.setIt=function(a){return oj(this,BMc,1,a)};W4.messageId="b.ListSloUpdatesResponse";var X4=function(a,b){this.executor=b;this.sloHistories=a.get("slo_histories-second-level-cache")||a.create("slo_histories-second-level-cache",{capacity:25})};X4.prototype.get=function(a){var b=this.sloHistories.get(String(a));return b!==void 0?b:this.sloHistories.put(String(a),CMc(this,a))};var CMc=function(a,b){var c=(new zMc).setSloId(Number(b));return a.executor.post({url:"action/slos/"+b+"/updates",body:c,responseConstructor:W4}).then(function(d){d=d.getIt();return{updates:xj(d,AMc,1,yj()).map(rva)}})};
X4.prototype.getUncached=function(a){this.invalidateCache(a);return this.get(a)};X4.prototype.invalidateCache=function(a){this.sloHistories.remove(String(a))};X4.\u0275fac=function(a){return new (a||X4)(n(IE),n(JB))};X4.\u0275prov=Hc({token:X4,factory:X4.\u0275fac,providedIn:"root"});var Y4=function(a,b,c,d,e,f,h,k,q,t,w,B,E,I,J,N,P,U,ba){Z.call(this);var ma=this;this.routeParams=a;this.bLocation=b;this.appHistory=d;this.butterBar=e;this.pageTitle=f;this.documentationLinks=k;this.userAccess=t;this.accessPolicyApi=w;this.sloApi=B;this.sloUpdatesApi=E;this.sloUpdatesService=I;this.errorHandler=J;this.matDialogService=N;this.analytics=P;this.confirmationDialogService=U;this.appEvents=ba;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(ma.validity).some(function(na){return!na})};this.editableAccessPolicy=Ko();this.flattenedAccessPolicy=Ko();this.subscriptions.add(FQ(q,function(){return ma.hasUnsavedChanges()},!1));a=this.routeParams.sloId;this.resourceName=Hk("SLO",vi(a));if(this.sloEnabled=h.isInternalSession())DMc(this,a),this.loadUserAccess(a),this.loadAccessPolicy(a),EMc(this,a);this.alertState=
{getValue:function(){return ma.editableCopy?ma.editableCopy.alertState==="ON":!1},getSavedValue:function(){return ma.slo?ma.slo.alertState==="ON":!1},setValue:function(na){ma.editableCopy&&(ma.editableCopy.alertState=na?"ON":"OFF")}};this.currentUserEmail=h.getUserEmail()};X(Y4,Z);Y4.\u0275dir=Z.\u0275dir;Y4.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)};
Y4.prototype.ngOnInit=function(){this.bLocation.hash()==="access"&&(this.selectedTabIndex=1)};Y4.prototype.updateCollection=function(a){this.editableCopy&&(this.editableCopy.elements=a)};var DMc=function(a,b){a.isLoading=!0;a.sloApi.get(b).then(function(c){a.slo=c;a.slo.elements||(a.slo.elements=[]);a.editableCopy=qi(a.slo);a.pageTitle.setTitle("SLO: "+c.name)}).catch(function(c){a.errorHandler.errorHandler(null,c)}).finally(function(){a.isLoading=!1})};
Y4.prototype.loadAccessPolicy=function(a){var b=this;this.accessPolicyApi.get("SLO",Number(a)).then(function(c){b.flattenedAccessPolicy=Lo(c);b.editableAccessPolicy=qi(b.flattenedAccessPolicy)}).catch(function(c){b.errorHandler.errorHandler(null,c)})};var FMc=function(a,b){return a.sloUpdatesApi.get(b).then(function(c){a.historyDiffs=c.updates.map(function(d){return THc(a.sloUpdatesService,d)})}).catch(function(c){a.errorHandler.errorHandler(null,c)})};g=Y4.prototype;
g.loadUserAccess=function(a){var b=this;oD(this.userAccess,"admin",Hk("SLO",vi(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!pi(this.slo,this.editableCopy)};g.hasUnsavedAccessPolicyChanges=function(){return!pi(this.flattenedAccessPolicy,this.editableAccessPolicy)};
g.saveMetadata=function(){var a=this;GMc(this.slo.elements,this.editableCopy.elements)?this.save():this.confirmationDialogService.open({title:"Save SLO changes?",content:yh([wh("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."),zh("br"),zh("br"),wh("Please combine changes into as few updates as possible.")]),onConfirm:function(){a.save()},onDismiss:Qz})};
var Lrb=function(a,b){if(!a.hasUnsavedMetadataChanges()){var c=function(){a.editableCopy.isArchived=b;a.save()};b?a.confirmationDialogService.open({title:"Archive SLO?",content:wh("Archiving this SLO will prevent new usages of the SLO, and will hide the SLO from most searches."),onConfirm:c,onDismiss:Qz}):c()}},GMc=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};
Y4.prototype.save=function(){var a=this,b=this.editableCopy;Ap(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.';GMc(a.slo.elements,a.editableCopy.elements)||(d+=" Propagating this change may take several hours.");Ap(a.butterBar,d);a.slo=c;a.slo.elements||(a.slo.elements=[]);a.editableCopy=qi(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})};Y4.prototype.saveAccessPolicy=function(){var a=this;this.isRevokingAdmin()?this.confirmationDialogService.open({title:"Change SLO admins",content:wh("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:Qz}):this.doSaveAccessPolicy()};
Y4.prototype.doSaveAccessPolicy=function(){var a=this;try{var b=Mo(this.editableAccessPolicy)}catch(c){b="An unknown problem occurred";c instanceof Error&&(b=c.message);this.butterBar.showWarning(b);return}this.isUpdating=!0;Ap(this.butterBar,"Saving access settings...");this.accessPolicyApi.update("SLO",this.slo.sloId,b).then(function(c){Ap(a.butterBar,"Access settings saved.");a.flattenedAccessPolicy=Lo(c);a.editableAccessPolicy=qi(a.flattenedAccessPolicy);a.loadUserAccess(a.slo.sloId);a.analytics.trackEvent("editSlo",
"updateAccessPolicy")},function(c){a.butterBar.showWarning(nn(c),0)}).finally(function(){a.isUpdating=!1})};Y4.prototype.isRevokingAdmin=function(){return this.isRevokingDirectAdmin()};
var EMc=function(a,b){FMc(a,b).then(function(){if(a.historyDiffs&&a.historyDiffs.length){var c=a.historyDiffs[0],d=a.historyDiffs[a.historyDiffs.length-1];c.author&&sm(c.author)==="buganizer-system@google.com"&&(a.isImportedFromBugScope=!0);d.author&&sm(d.author)==="buganizer-system@google.com"&&(a.isUneditedFromBugScope=!0)}})};g=Y4.prototype;
g.isRevokingDirectAdmin=function(){if(pi(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;GMc(this.slo.elements,this.editableCopy.elements)?this.editableCopy=qi(this.slo):this.confirmationDialogService.open({title:"Revert SLO changes?",content:yh([wh("Revert all changes to this SLO?")]),onConfirm:function(){a.editableCopy=qi(a.slo)},onDismiss:Qz})};g.revertAccessPolicyChanges=function(){this.editableAccessPolicy=qi(this.flattenedAccessPolicy);this.appEvents.contactChipsRevertChanges.next()};g.isSaving=function(){return this.isUpdating};
g.back=function(){M1(this.appHistory)};g.isEditDisabled=function(){return!this.editableCopy||this.isSaving()||!this.isAdmin()};g.isAdmin=function(){return this.isAdminInternal};g.showUpdateHistoryModal=function(){var a=this;FMc(this,this.slo.sloId).then(function(){a.matDialogService.open(E3,{width:"600px",data:{updateDiffs:a.historyDiffs}});a.analytics.trackEvent("updateHistoryModal","open");a.analytics.trackEvent("editSlo","viewHistory")})};
Y4.\u0275fac=function(a){return new (a||Y4)(A(iJ),A(oN),A(pN),A(L1),A(sE),A(cU),A(Ir),A(oI),A(EQ),A(mD),A(qC),A($G),A(X4),A(H1),A(uE),A(wI),A(bG),A(EI),A(yE))};
Y4.\u0275cmp=p({type:Y4,selectors:[["edit-slo-page"]],viewQuery:function(a,b){a&1&&fg(BM,5,Rd);if(a&2){var c;jg(c=kg())&&(b.tabs=c)}},features:[zf],decls:7,vars:2,consts:[["sloBasicsForm","ngForm"],[1,"kd-appbar"],[1,"kd-buttonbar"],["format","icon","size","large","tooltip","Go back","bAriaLabel","Go back",3,"onAction"],["name","arrow-backward","size","large"],[1,"bv2-view"],["class","bv2-view-loading",4,"ngIf"],[4,"ngIf"],[1,"bv2-view-loading"],[1,"edit-resource-header"],[1,"vertical-centered"],
["gmat-tabs","",1,"bv2-tab-bar",3,"selectedIndexChange","selectedIndex"],["id","basic","label","Basic Information"],[1,"edit-resource-panel","edit-slo-basics-form"],["name","sloBasicsForm"],[1,"edit-field"],["for","slo-name",1,"required"],[1,"edit-field-header"],["type","text","id","slo-name","name","slo-name",3,"ngModelChange","required","ngModel","disabled"],["for","slo-description"],["id","slo-description","name","slo-description",3,"ngModelChange","ngModel","disabled"],["class","edit-field permission-toggle",
3,"bv2-edit-resource-readonly",4,"ngIf"],["id","bs-warning",4,"ngIf"],[3,"onCollectionUpdate","onValidation","isDisabled","collection"],["id","bv2-slo-edit-buttons"],[1,"edit-button-row"],[1,"edit-button-group"],["title","View history for 'Basic Information'",3,"onAction"],["class","edit-button-group",4,"ngIf"],["id","access","label","Access Control"],[1,"edit-resource-panel"],["name","accessControlForm","novalidate",""],["for","slo-acl-admins"],[1,"edit-field-note"],[3,"usersChange","isValid","users"],
["for","slo-acl-readers"],[3,"usersChange","isValid","users","includeAliases","includeViewAliases"],["target","_blank",3,"href"],["class","edit-button-row",4,"ngIf"],[1,"edit-field","permission-toggle"],[1,"permission-toggle-checkbox"],[3,"change","checked","disabled"],[1,"edit-field-help"],[1,"permission-toggle-help","edit-field-help"],["id","bs-warning"],["target","_blank","href","https://goto.google.com/buganizer-bugscope-slo-sync"],["format","fill","tooltip","Save any changes to the SLO",3,"onAction",
"disabled"],["tooltip","Discard any changes",3,"onAction","disabled"],["format","fill","tooltip","Archive the SLO and prevent new usages",3,"disabled","onAction",4,"ngIf"],["tooltip","Unarchive the SLO and allow new usages",3,"disabled","onAction",4,"ngIf"],["format","fill","tooltip","Archive the SLO and prevent new usages",3,"onAction","disabled"],["tooltip","Unarchive the SLO and allow new usages",3,"onAction","disabled"],["format","fill",3,"onAction","disabled"],[3,"onAction"]],template:function(a,
b){a&1&&(F(0,"div",1)(1,"div",2)(2,"b-button",3),M("onAction",function(){return b.back()}),H(3,"b-icon",4),G()()(),F(4,"div",5),C(5,Irb,2,0,"div",6)(6,Qrb,55,32,"div",7),G());a&2&&(z(5),D("ngIf",b.isLoading),z(),D("ngIf",!b.isLoading&&b.slo&&b.slo.sloId&&b.editableCopy))},dependencies:[jQ,Gv,zy,mh,qy,ry,Iy,yy,wy,hN,HM,BM,CM,ON,QH,RH,A1,RQ],encapsulation:2});var Z4=function(a,b,c,d,e){Z.call(this);var f=this;this.contextSensitiveRegistry=a;this.issues=b;this.issuePicker=c;this.snackBar=d;this.imageUrls=e;this.TEA_DARK=this.imageUrls.TEA_DARK;this.TEA_LIGHT=this.imageUrls.TEA_LIGHT;this.getStatus=function(h){return h.snapshot[0].status};this.id$=this.contextSensitiveRegistry.getIssueId();this.searchUrl$=this.id$.pipe(y(function(h){return{path:"/issues",params:{q:"blockedbyid:"+h}}}));this.issue$=this.id$.pipe(pf(this.issues.watch));this.blockingIds$=this.issue$.pipe(y(function(h){var k;
return(k=h==null?void 0:h.snapshot[0].blockingIssueId)!=null?k:[]}));this.issuesBeingBlocked$=this.blockingIds$.pipe(pf(this.issues.watchSet));this.blockedAndOpen$=this.issuesBeingBlocked$.pipe(y(function(h){return h.filter(An)}));this.blockedAndOpenIds$=this.blockedAndOpen$.pipe(y(function(h){return h.map(function(k){return String(k.issueId)})}));this.blockedAndClosed$=this.issuesBeingBlocked$.pipe(y(function(h){return h.filter(function(k){return TCa(k)})}));this.blockedAndClosedIds$=this.blockedAndClosed$.pipe(y(function(h){return h.map(function(k){return String(k.issueId)})}));
this.thinking$=this.issues.thinking$;this.getMenuItems=function(h){return[{type:"action",label:"Remove this relationship",action:function(){f.onClickRemove(h)},title:"Remove this relationship",icon:"clear"}]};this.didChooseBlocking=function(h){var k=fo(f.id$);k!=null&&f.issues.addBlocking(k,h).catch(f.gotErr)};this.gotErr=function(h){f.snackBar.open(nn(h)||"Error with network request","close",{panelClass:"error"})}};X(Z4,Z);Z4.\u0275dir=Z.\u0275dir;
Z4.prototype.onClickAdd=function(){this.issuePicker.open({title:"Add Blocking",allowMultipleIds:!0,edgeType:"blocking"},this.didChooseBlocking)};Z4.prototype.onClickRemove=function(a){var b=fo(this.id$);b!=null&&this.issues.removeBlocking(b,[String(a)]).catch(this.gotErr)};Z4.\u0275fac=function(a){return new (a||Z4)(A(wH),A(jG),A(NS),A(XD),A(VP))};
Z4.\u0275cmp=p({type:Z4,selectors:[["ng-component"]],features:[zf],decls:5,vars:6,consts:[["hasResults",""],["notLoaded",""],["noBlockedAndOpen",""],[1,"carded","bg-main"],[4,"ngIf"],["class","pos-tr padded",4,"ngIf"],["class","empty-state layout-centered-column gap",4,"ngIf","ngIfElse"],[1,"empty-state","layout-centered-column","gap"],["aria-hidden","true","alt","",1,"light-only",3,"src"],["aria-hidden","true","alt","",1,"dark-only",3,"src"],[1,"type-l"],[1,"muted"],["href","https://developers.google.com/issue-tracker/guides/block-issue",
"target","_blank",1,"nowrap"],["mat-flat-button","","color","primary","matTooltip","Add something this issue is blocking",1,"gmat-button","small",3,"click"],[4,"ngIf","ngIfElse"],[1,"margin-s-top","flex-kids-x","gap-s"],[1,"section-heading","muted"],[3,"issueIds","menuItemFactory",4,"ngIf"],[3,"issueIds","menuItemFactory"],[1,"muted","margin-bottom"],[1,"unstyled","reverse-padded-sides"],[4,"ngFor","ngForOf"],[1,"padded-x",3,"routerLink"],[1,"right"],["mat-icon-button","","aria-label","",1,"gmat-button",
"invisible"],["mat-button","","color","primary",1,"gmat-button","small",3,"routerLink","queryParams"],[1,"pos-tr","padded"]],template:function(a,b){a&1&&(F(0,"section",3),C(1,dsb,4,2,"ng-container",4),T(2,"async"),G(),C(3,esb,2,0,"aside",5),T(4,"async"));a&2&&(z(),D("ngIf",V(2,2,b.blockingIds$)),z(2),D("ngIf",V(4,4,b.thinking$)))},dependencies:[Fv,Gv,rB,oE,pE,LH,OH,RQ,fT,Lv],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 a5=function(){};a5.\u0275fac=function(a){return new (a||a5)};a5.\u0275mod=dd({type:a5});a5.\u0275inj=Ic({imports:[BB,dB,nE,My,Ny,ML,JM,aM,xP,NL,hM,AS,oT]});var b5=function(a){this.internalArray_=m(a,0,b5.messageId)};X(b5,Y);b5.prototype.getIssueId=function(){return cu(this,1)};b5.prototype.getIssueId_asLegacyNumberOrString=function(){return cu(this,1)};b5.prototype.getIssueId_asString=function(){return el(this,1)};b5.prototype.setIssueId=function(a){return xl(this,1,a)};b5.messageId="b.MonorailIssueRedirectRequest";var c5=function(a){this.internalArray_=m(a,0,c5.messageId)};X(c5,Y);c5.prototype.getUrl=function(){return $i(this,Dz,1)};c5.prototype.setUrl=function(a){return oj(this,Dz,1,a)};c5.prototype.hasUrl=function(){return dk(this,Dz,1)};c5.messageId="b.MonorailIssueRedirectResponse";var d5=function(a){this.executor=a},HMc=function(a,b){b=(new b5).setIssueId(b);return a.executor.post({url:"action/monorailIssueRedirect",body:b,responseConstructor:c5}).pipe(y(function(c){return Eua(c.getUrl())}),$e(function(){return(0,W.of)(null)}))};d5.\u0275fac=function(a){return new (a||d5)(n(IB))};d5.\u0275prov=Hc({token:d5,factory:d5.\u0275fac,providedIn:"root"});var IMc={EXCEPTION:"EXCEPTION",ADS:"ADS",ALL_ISSUES:"ALL_ISSUES"},JMc={DUCKIE_RESPONSE:0,DUCKIE_RESPONSE_WITH_SIMILAR_ISSUES:1,RELATED_FIXED_ISSUES:2,0:"DUCKIE_RESPONSE",1:"DUCKIE_RESPONSE_WITH_SIMILAR_ISSUES",2:"RELATED_FIXED_ISSUES"},KMc=new Map([["EXCEPTION",{issueCategory:"EXCEPTION",autoOpenFlagName:"enableHelpMeFixSidebarAutoOpen",displayedModules:[0,2],llmPrompt:"You are a troubleshoot engineer specializing in fixing\n      programming exceptions. Explain how to fix the following stack trace\n      exception: "}],
["ADS",{issueCategory:"ADS",autoOpenFlagName:"enableHelpMeFixSidebarAutoOpenAds",displayedModules:[1],llmPrompt:"Explain in concise terms the following:\n* What is the issue observed?\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"}],["ALL_ISSUES",{issueCategory:"ALL_ISSUES",autoOpenFlagName:"enableHelpMeFixSidebarAutoOpenAllIssues",
displayedModules:[1],llmPrompt:"Explain in concise terms the following:\n* What is the issue observed?\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"}]]);var LMc=new RegExp(/^(at [\w\.]{2,}\.[\w]+\([\w]+\.[\w]+:?[\d]*\)+|[\w\.]{2,}[\w]*Exception)+/m);var MMc=[12,353486],e5=function(a,b,c,d,e,f){var h=this;this.activeSession=a;this.contextSensitiveRegistry=b;this.issueFridge=c;this.eventsForIssueFridge=d;this.componentFridge=e;this.similarIssuesApi=f;this.issueId$=this.contextSensitiveRegistry.getIssueId();this.issue$=this.issueId$.pipe(te(lj),pf(this.issueFridge.watch));this.events$=this.issueId$.pipe(te(lj),pf(this.eventsForIssueFridge.watch),y(function(k){var q;return(q=k&&k.events)!=null?q:[]}));this.description$=this.events$.pipe(y(function(k){return k.length?
k[0]:void 0}),y(function(k){var q;return(q=k==null?void 0:k.unlinkifiedComment)!=null?q:void 0}));this.component$=this.issue$.pipe(pf(function(k){var q,t;k=k==null?void 0:(q=k.snapshot)==null?void 0:(t=q[0])==null?void 0:t.componentId;return h.componentFridge.watch(k)}));this.similarFixedIssues$=this.issue$.pipe(pf(function(k){if(!k)return(0,W.of)({similarIssues:[],scores:[]});var q,t,w=k==null?void 0:(q=k.snapshot)==null?void 0:(t=q[0])==null?void 0:t.componentId;return Wmc(h.similarIssuesApi,{issueId:Number(k.issueId),
scope:mp(lp("-id",k.issueId),lp("modified","365d"),lp("status","fixed"),lp("cl","any"),w?lp("componentId",w+"+"):void 0),scopeSortOrder:"modified_time desc",maxResults:5})}),y(function(k){for(var q=[],t=0;t<k.scores.length;t++)k.scores[t]>=.65&&q.push(k.similarIssues[t]);return q}),mf({bufferSize:1,refCount:!0}));this.isFlagEnabledAndInternal$=(0,W.of)(this.activeSession.getFlag("enableHelpMeFixSidebar")&&this.activeSession.isInternalSession());this.isExceptionIssueCategory$=(0,W.combineLatest)([this.issue$,
this.description$]).pipe(y(this.isExceptionIssueCategory,this));this.meetsAdsPreconditions$=(0,W.combineLatest)([this.description$,this.component$]).pipe(y(this.meetsAdsPreconditions,this));this.isAdsIssueCategory$=this.meetsAdsPreconditions$.pipe(pf(function(k){return k?h.similarFixedIssues$.pipe(y(h.isAdsIssueCategory,h)):(0,W.of)(!1)}));this.meetsAllIssuesPreconditions$=(0,W.combineLatest)([this.issue$,this.description$]).pipe(y(this.meetsAllIssuesPreconditions,this));this.isAllIssuesIssueCategory$=
this.meetsAllIssuesPreconditions$.pipe(pf(function(k){return k?h.similarFixedIssues$.pipe(y(h.isAllIssuesIssueCategory,h)):(0,W.of)(!1)}));this.currentConfig$=(0,W.combineLatest)([this.isFlagEnabledAndInternal$,this.isExceptionIssueCategory$,this.isAdsIssueCategory$,this.isAllIssuesIssueCategory$]).pipe(y(function(k){var q=l(k);k=q.next().value;var t=q.next().value;var w=q.next().value;q=q.next().value;if(k){if(t)return KMc.get("EXCEPTION");if(w)return KMc.get("ADS");if(q)return KMc.get("ALL_ISSUES")}}));
this.shouldSidebarAutoOpen$=(0,W.combineLatest)([this.issue$,this.currentConfig$]).pipe(y(function(k){var q=l(k);k=q.next().value;q=q.next().value;return k&&q&&!TCa(k)?h.activeSession.getFlag(q.autoOpenFlagName):!1}))};g=e5.prototype;
g.isExceptionIssueCategory=function(a){a=l(a);var b=a.next().value;a=a.next().value;if(!b||!a)return!1;var c=this.activeSession.getFlag("enableHelpMeFixSidebarOnAllComponents"),d,e;b=b==null?void 0:(d=b.snapshot)==null?void 0:(e=d[0])==null?void 0:e.componentId;d=this.activeSession.getHelpMeFixSidebarComponentAllowlist();d=b&&d.has(b);if(c||d){var f;if(((f=a.match(LMc))!=null?f:[]).length>0)return!0}return!1};
g.meetsAdsPreconditions=function(a){var b=l(a);a=b.next().value;b=b.next().value;if(!b||!a)return!1;a=this.activeSession.getFlag("enableHelpMeFixForAds");var c,d,e=(d=(c=b.componentPathInfo)==null?void 0:c.componentPathId)!=null?d:[];c=MMc.some(function(f){return e.includes(f)});return a&&c};g.isAdsIssueCategory=function(a){return a.length>0};
g.meetsAllIssuesPreconditions=function(a){var b=l(a);a=b.next().value;b=b.next().value;if(!a||!b)return!1;b=this.activeSession.getFlag("enableHelpMeFixSidebarOnAllIssues")&&this.activeSession.getFlag("enableHelpMeFixSidebarOnAllIssuesOptIn");var c,d;a=((c=a.snapshot)==null?void 0:(d=c[0])==null?void 0:d.type)==="BUG";return b&&a};g.isAllIssuesIssueCategory=function(a){return a.length>0};e5.\u0275fac=function(a){return new (a||e5)(n(Ir),n(wH),n(jG),n(rF),n(CC),n(IQ))};
e5.\u0275prov=Hc({token:e5,factory:e5.\u0275fac,providedIn:"root"});var f5=function(a){this.internalArray_=m(a)};X(f5,Y);f5.prototype.setFeedbackType=function(a){return sl(this,2,a)};f5.prototype.getIsDeleted=function(){return Hj(this,6)};f5.prototype.setIsDeleted=function(a){pl(this,6,a)};f5.prototype.getMessageId=function(){return Kh(this,7)};f5.repeatedFields_=[4];var ksb=function(a){this.internalArray_=m(a)};X(ksb,Y);g=ksb.prototype;g.getTitle=function(){return Kh(this,1)};g.setTitle=function(a){return rj(this,1,a)};g.getUrl=function(){return Kh(this,2)};g.setUrl=function(a){return rj(this,2,a)};g.hasUrl=function(){return $k(this,2)};g.getIconUrl=function(){return Kh(this,3)};g.setIconUrl=function(a){return rj(this,3,a)};ksb.repeatedFields_=[5];var isb=function(a){this.internalArray_=m(a)};X(isb,Y);isb.repeatedFields_=[1];var hsb=function(a){this.internalArray_=m(a)};X(hsb,Y);var jsb=[3,4,5,6,7];var g5=function(a){this.internalArray_=m(a)};X(g5,Y);g=g5.prototype;g.getMessageId=function(){return Kh(this,1)};g.getText=function(){return Kh(this,3)};g.setText=function(a){return rj(this,3,a)};g.setModelId=function(a){rj(this,4,a)};g.getClient=function(){return fj(this,7,0)};g.setClient=function(a){return sl(this,7,a)};g.hasClient=function(){return al(this,7)};g.setFeedback=function(a){return oj(this,f5,9,a)};g5.repeatedFields_=[13];var NMc=function(a){this.internalArray_=m(a)};X(NMc,Y);NMc.repeatedFields_=[2];var h5=function(a){this.internalArray_=m(a)};X(h5,Y);h5.prototype.setModelId=function(a){rj(this,2,a)};h5.prototype.getText=function(){return Kh(this,3)};h5.prototype.setText=function(a){return rj(this,3,a)};h5.prototype.setConversationHistory=function(a){return oj(this,NMc,11,a)};h5.repeatedFields_=[6];var OMc=function(a){this.internalArray_=m(a)};X(OMc,Y);g=OMc.prototype;g.getResponse=function(){return $i(this,g5,1)};g.getReadonlyResponse=function(){return Co(this,g5,1)};g.getMutableResponse=function(){return Yt(this,g5,1)};g.setResponse=function(a){return oj(this,g5,1,a)};g.setConversationHistory=function(a){return oj(this,NMc,5,a)};g.getQuery=function(){return $i(this,g5,2)};g.setQuery=function(a){return oj(this,g5,2,a)};g.clearQuery=function(){oo(this,2)};
g.hasQuery=function(){return dk(this,g5,2)};g.getResponsesList=function(){return xj(this,g5,3,yj())};var PMc=Mh(OMc);OMc.repeatedFields_=[3,4];var QMc=new nZ("/google.corp.devtools.devassist.ml4answers.v1.DuckieBackendService/GenerateAnswers",h5,OMc,function(a){return a.serialize()},PMc);var RMc=function(a){var b={withCredentials:!0,suppressCorsPreflight:!0};b=b||{};b.format="jspb";this.client_=new FBc(b);this.hostname_=a==void 0?a:a.replace(/\/+$/,"")};RMc.prototype.generateAnswers=function(a){return vZ(this.client_,this.hostname_+"/$rpc/google.corp.devtools.devassist.ml4answers.v1.DuckieBackendService/GenerateAnswers",a,{},QMc)};var i5=function(a,b){this.activeSession=a;this.clientFactory=b;this.environmentType=this.activeSession.getEnvironmentType();this.client=this.clientFactory.create(this.getServiceEndpoint())};
i5.prototype.generateAnswers=function(a){var b=this;return this.activeSession.isExternalSession()?(0,W.of)({response:"",citationResources:[]}):(0,W.defer)(function(){var c=b.client,d=c.generateAnswers,e=new h5;e=sl(e,5,9).setText(a);var f=e.setConversationHistory;var h=new NMc;h=sl(h,1,2);return d.call(c,f.call(e,h))}).pipe(y(gsb()),$e(function(){return(0,W.of)({response:"",citationResources:[]})}))};
i5.prototype.getServiceEndpoint=function(){switch(this.environmentType){case "NIGHTLY":return"https://autopush-ml4answers-googleapis.corp.google.com";case "PROD":return"https://ml4answers-googleapis.corp.google.com";default:return"https://staging-ml4answers-googleapis.corp.google.com"}};i5.\u0275fac=function(a){return new (a||i5)(n(Ir),n(j5))};i5.\u0275prov=Hc({token:i5,factory:i5.\u0275fac,providedIn:"root"});var j5=function(){};j5.prototype.create=function(a){return new RMc(a)};
j5.\u0275fac=function(a){return new (a||j5)};j5.\u0275prov=Hc({token:j5,factory:j5.\u0275fac,providedIn:"root"});var k5=function(a,b,c,d,e){Z.call(this);var f=this;this.duckieService=a;this.contextSensitiveRegistry=b;this.eventsForIssueFridge=c;this.formatter=d;this.helpMeFixService=e;this.dataReady=new XF;this.issueId$=this.contextSensitiveRegistry.getIssueId();this.events$=this.issueId$.pipe(qf(this.destroyed$),pf(this.eventsForIssueFridge.watch),y(function(h){return(h==null?void 0:h.events)||[]}));this.description$=this.events$.pipe(y(function(h){return h.length>0?h[0]:void 0}),y(function(h){return h==null?
void 0:h.unlinkifiedComment}));this.citations=[];this.duckieResponse$=(0,W.combineLatest)([this.description$,this.helpMeFixService.currentConfig$]).pipe(pf(function(h){var k=l(h);h=k.next().value;k=k.next().value;return h&&k?f.duckieService.generateAnswers(k.llmPrompt+h):(0,W.of)(null)}),mf({bufferSize:1,refCount:!0}));this.duckieResponseMarkdown$=this.duckieResponse$.pipe(pf(function(h){return h?(f.citations=h.citationResources,f.formatter.format({comment:h.response,formattingMode:"MARKDOWN",audience:"INTERNAL",
idPrefix:"help_me_fix"})):(0,W.of)(null)}),y(function(h){var k;return h?{content:(k=h.markdownFormat)==null?void 0:k.content}:null}),sf(function(){f.dataReady.emit()}),mf({bufferSize:1,refCount:!0}))};X(k5,Z);k5.\u0275dir=Z.\u0275dir;k5.\u0275fac=function(a){return new (a||k5)(A(i5),A(wH),A(rF),A(IL),A(e5))};
k5.\u0275cmp=p({type:k5,selectors:[["duckie-response"]],outputs:{dataReady:"dataReady"},features:[zf],decls:2,vars:3,consts:[[3,"content"],[1,"heading-xs","padded-s-bottom"],[1,"citation-item","flex-kids-x","align-items-center","padded-s-bottom"],["svgIcon","public",1,"icon-xs","padded-s-right"],["alt","Icon for this cited website.",1,"icon-xs","padded-s-right",3,"src"],["target","_blank","aria-label","A citation URL for Duckie's response.",3,"href"]],template:function(a,b){a&1&&(C(0,psb,2,2),T(1,
"async"));if(a&2){var c;Of((c=V(1,1,b.duckieResponseMarkdown$))?0:-1,c)}},dependencies:[zB,yL,Lv],encapsulation:2});var l5=function(a){this.changelistApi=a},SMc=function(a,b){return fe(function(c){return c.nextAddress==1?he(c,Promise.all(b.map(function(d){var e,f,h;return fe(function(k){if(k.nextAddress==1)return he(k,Promise.all(((f=(e=d.snapshot)==null?void 0:e[0].changelist)!=null?f:[]).map(function(q){return fe(function(t){return t.nextAddress==1?he(t,a.changelistApi.getChangelistDetails(q).then(qsb),2):t.return(t.yieldResult)})})),2);h=k.yieldResult;return k.return({issue:d,changelists:h})})})),2):c.return(c.yieldResult)})};
l5.\u0275fac=function(a){return new (a||l5)(n(kC))};l5.\u0275prov=Hc({token:l5,factory:l5.\u0275fac,providedIn:"root"});var m5=function(a,b,c,d,e,f){Z.call(this);var h=this;this.duckieService=a;this.contextSensitiveRegistry=b;this.eventsForIssueFridge=c;this.formatter=d;this.helpMeFixService=e;this.issueAndChangelistDetailsService=f;this.dataReady=new XF;this.issueId$=this.contextSensitiveRegistry.getIssueId();this.events$=this.issueId$.pipe(pf(this.eventsForIssueFridge.watch),y(function(k){return(k==null?void 0:k.events)||[]}));this.description$=this.events$.pipe(y(function(k){return k.length>0?k[0]:void 0}),y(function(k){return k==
null?void 0:k.unlinkifiedComment}));this.citations=[];this.similarIssuesPrompt$=this.helpMeFixService.similarFixedIssues$.pipe(pf(function(k){return SMc(h.issueAndChangelistDetailsService,k)}),y(function(k){if(k.length===0)return"";var q="You are an engineer specializing in implementing simple fixes for software systems.\nYour tasks are presented in the form of a ticket.\nHere are some similar tickets and details on their fixes:\n";k=l(k);for(var t=k.next();!t.done;t=k.next()){var w=t.value;t=w.issue;
var B=w.changelists,E=void 0;w=(E=t.snapshot)==null?void 0:E[0];if(B=B.find(function(I){return I.isInteresting}))E=void 0,q+="Ticket b/"+t.issueId+" title:\n"+((E=w)==null?void 0:E.title)+"\nTicket b/"+t.issueId+" change summary:\n"+B.firstInterestingLine+"\nTicket b/"+t.issueId+" changed filed:\n"+B.changelist.affectedFiles.join("\n")+"\n\n"}return q}));this.currentIssuePrompt$=(0,W.combineLatest)([this.helpMeFixService.issue$,this.description$,this.helpMeFixService.currentConfig$]).pipe(y(function(k){var q=
l(k);k=q.next().value;var t=q.next().value;q=q.next().value;if(!k||!t||!q)return"";var w,B=(w=k.snapshot)==null?void 0:w[0];w="You are given the following ticket:\nTicket b/"+k.issueId+" title:\n"+(B==null?void 0:B.title)+"\nTicket b/"+k.issueId+" description:\n"+t+"\n\n";return w+=q.llmPrompt}));this.duckieResponse$=(0,W.combineLatest)([this.similarIssuesPrompt$,this.currentIssuePrompt$]).pipe(pf(function(k){var q=l(k);k=q.next().value;q=q.next().value;return k&&q?h.duckieService.generateAnswers(k+
q):(0,W.of)(null)}),mf({bufferSize:1,refCount:!0}));this.duckieResponseMarkdown$=this.duckieResponse$.pipe(pf(function(k){return k?(h.citations=k.citationResources,h.formatter.format({comment:k.response,formattingMode:"MARKDOWN",audience:"INTERNAL",idPrefix:"help_me_fix"})):(0,W.of)(null)}),y(function(k){var q;return k?{content:(q=k.markdownFormat)==null?void 0:q.content}:null}),sf(function(){h.dataReady.emit()}),mf({bufferSize:1,refCount:!0}),qf(this.destroyed$))};X(m5,Z);m5.\u0275dir=Z.\u0275dir;
m5.\u0275fac=function(a){return new (a||m5)(A(i5),A(wH),A(rF),A(IL),A(e5),A(l5))};
m5.\u0275cmp=p({type:m5,selectors:[["duckie-response-with-similar-issues"]],outputs:{dataReady:"dataReady"},features:[zf],decls:2,vars:3,consts:[[3,"content"],[1,"heading-xs","padded-s-bottom"],[1,"citation-item","flex-kids-x","align-items-center","padded-s-bottom"],["svgIcon","public",1,"icon-xs","padded-s-right"],["alt","Icon for this cited website.",1,"icon-xs","padded-s-right",3,"src"],["target","_blank","aria-label","A citation URL for Duckie's response.",3,"href"]],template:function(a,b){a&
1&&(C(0,vsb,2,2),T(1,"async"));if(a&2){var c;Of((c=V(1,1,b.duckieResponseMarkdown$))?0:-1,c)}},dependencies:[zB,yL,Lv],encapsulation:2});var Gsb=function(a,b){return b.issue.issueId},wsb=function(a){return{issuesAndChangelists:a}},TMc=/(\w+\.)+\w*Exception/,n5=function(a,b,c,d,e,f){var h=this;this.contextSensitiveRegistry=a;this.issueFridge=b;this.eventsForIssueFridge=c;this.analytics=d;this.imageUrls=e;this.issueAndChangelistDetailsService=f;this.issueId$=this.contextSensitiveRegistry.getIssueId();this.issue$=this.issueId$.pipe(pf(this.issueFridge.watch),mf({bufferSize:1,refCount:!0}));this.events$=this.issueId$.pipe(pf(this.eventsForIssueFridge.watch),
y(function(k){return(k==null?void 0:k.events)||[]}),mf({bufferSize:1,refCount:!0}));this.firstEvent$=this.events$.pipe(y(function(k){return k.length>0?k[0]:void 0}),mf({bufferSize:1,refCount:!0}));this.exceptionFirstLine$=this.firstEvent$.pipe(y(function(k){return k==null?void 0:k.unlinkifiedComment}),y(function(k){if(k)return k=k.match(TMc)||[],k.length>0?k[0]:void 0}));this.relatedFixedOutsideComponent$=this.exceptionFirstLine$.pipe(pf(function(k){return k?h.issueFridge.watchMany({filter:k+" (status:fixed|status:verified) cl:any type:bug",
pageSize:3,sort:"modified_time:desc"}):(0,W.of)({results:[]})}),y(function(k){return k.results||[]}),pf(function(k){return SMc(h.issueAndChangelistDetailsService,k)}));this.relatedFixedInComponent$=(0,W.combineLatest)([this.issue$,this.exceptionFirstLine$]).pipe(pf(function(k){var q=l(k);k=q.next().value;q=q.next().value;return k&&k.snapshot&&k.snapshot.length&&q?h.issueFridge.watchMany({filter:q+" (status:fixed|status:verified) cl:any componentId:"+k.snapshot[0].componentId+"+",pageSize:3,sort:"modified_time:desc"}):
(0,W.of)({results:[]})}),y(function(k){return k.results||[]}),pf(function(k){return SMc(h.issueAndChangelistDetailsService,k)}));this.relatedFixedIssues$=this.relatedFixedInComponent$.pipe(pf(function(k){return k&&k.length===3?(0,W.of)(k):h.relatedFixedOutsideComponent$.pipe(y(function(q){return Rm([].concat(r(k!=null?k:[]),r(q!=null?q:[])),function(t){return t.issue.issueId}).slice(0,3)}))}));this.Number=Number;this.hovercardConfig={delay:250,position:[j$b,i$b],triggerKey:[]};this.BUGANIZER_LOGO_URL=
this.imageUrls.LOGO_LIGHT};n5.prototype.trackClick=function(a){this.analytics.trackEvent("helpMeFix","click",a)};n5.\u0275fac=function(a){return new (a||n5)(A(wH),A(jG),A(rF),A(bG),A(VP),A(l5))};
n5.\u0275cmp=p({type:n5,selectors:[["related-fixed-issues"]],decls:4,vars:3,consts:[["issuesAndChangelists",""],["issueHovercard","onedevHovercard"],["cardBody",""],["changelistCard","onedevHovercard"],[1,"heading-xs","margin-s-bottom"],[3,"ngTemplateOutletContext","ngTemplateOutlet"],[1,"margin-s-bottom"],[1,"issue-row","flex-kids-x","gap-s","align-items-center"],["height","24","width","24","alt","Buganizer logo",3,"src"],["target","_blank","aria-label","View issue",1,"flex-1","hover-link","line-clamp-2",
"margin-xs-y",3,"onedevHovercardShown","click","href","onedevHovercardTrigger","onedevHovercardConfig"],[3,"onedevIsHovercardReady","issueId",4,"onedevHovercardLazyBody"],[3,"onedevIsHovercardReady","issueId"],[1,"changelist-row","flex-kids-x","gap-s","align-items-center","border-left"],["svgIcon","critique-logo",1,"icon-xs"],["target","_blank","aria-label","View changelist",1,"flex-1","muted","hover-link","line-clamp-2","margin-xs-y",3,"onedevHovercardShown","click","href","onedevHovercardTrigger",
"onedevHovercardConfig"],[3,"onedevIsHovercardReady","changelistId",4,"onedevHovercardLazyBody"],[3,"onedevIsHovercardReady","changelistId"]],template:function(a,b){a&1&&(C(0,ysb,1,1),T(1,"async"),C(2,Hsb,2,0,"ng-template",null,0,yg));if(a&2){var c;Of((c=V(1,1,b.relatedFixedIssues$))?0:-1,c)}},dependencies:[Kv,zB,$H,aI,gI,bI,VN,aN,Lv],styles:[".issue-row[_ngcontent-%COMP%]{min-height:38px}.changelist-row[_ngcontent-%COMP%]{margin-left:12px;padding-left:8px}"]});var UMc=["container"],o5=function(a,b,c,d,e,f){Z.call(this);this.appEvents=a;this.analytics=b;this.activeSession=c;this.domSafe=d;this.helpMeFixService=e;this.contextSensitiveRegistry=f;this.issueCategoryConfig$=this.helpMeFixService.currentConfig$.pipe(qf(this.destroyed$),mf({bufferSize:1,refCount:!0}));this.isLlmDisplayModulePresent$=this.issueCategoryConfig$.pipe(y(function(h){return(h==null?void 0:h.displayedModules.includes(0))||(h==null?void 0:h.displayedModules.includes(1))}));this.isLlmLoading$=
new W.BehaviorSubject(!0);this.isLlmDataReady$=(0,W.combineLatest)([this.isLlmDisplayModulePresent$,this.isLlmLoading$]).pipe(y(function(h){var k=l(h);h=k.next().value;k=k.next().value;return!h||!k}),mf({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=this.activeSession.getFlag("enableHelpMeFixSidebarOnAllComponents");
this.hasDismissedBanner=Fl("isHMFAllComponentsOptInBannerDismissed")();this.IssueCategory=IMc;this.DisplayModule=JMc;this.isSidebarExpanded=!1};X(o5,Z);o5.\u0275dir=Z.\u0275dir;o5.prototype.ngOnInit=function(){this.analytics.trackEvent("helpMeFix","open","sidebarOpened");var a=fo(this.contextSensitiveRegistry.getIssueId()),b=fo(this.helpMeFixService.currentConfig$);this.analytics.trackEvent("helpMeFix","openOnIssueId",b==null?void 0:b.issueCategory,Number(a))};o5.prototype.closeSidebar=function(){this.appEvents.closeHelpMeFixSidebar.next()};
var Nsb=function(a){setTimeout(function(){a.isLlmLoading$.next(!1)})};o5.\u0275fac=function(a){return new (a||o5)(A(yE),A(bG),A(Ir),A(FH),A(e5),A(wH))};
o5.\u0275cmp=p({type:o5,selectors:[["help-me-fix-sidebar"]],viewQuery:function(a,b){a&1&&fg(UMc,5);if(a&2){var c;jg(c=kg())&&(b.container=c.first)}},features:[zf],decls:16,vars:10,consts:[["container",""],[1,"container",3,"scroll"],[1,"flex-kids-x","space-between","padded","padded-s-bottom","bg-main"],[1,"flex-kids-x","align-items-center"],["svgIcon","spark_24px"],[1,"heading-m","margin-s-left"],[1,"flex-kids-x","gap-s"],["mat-icon-button","","aria-label","toggle expand sidebar",1,"expand-button",
3,"click","matTooltip"],["svgIcon","expand_all_24px",4,"ngIf"],["svgIcon","collapse_all_24px",4,"ngIf"],["mat-icon-button","","aria-label","close sidebar","matTooltip","Close sidebar",1,"close-button",3,"click"],["svgIcon","close"],[1,"padded-x","padded-bottom"],[1,"no-issue-selected"],["svgIcon","expand_all_24px"],["svgIcon","collapse_all_24px"],[1,"card"],[1,"italic"],[1,"card",3,"hidden"],[1,"margin-bottom"],["mat-button","","aria-label","Dismiss help me fix banner",3,"click"],["mat-button","",
"aria-label","Navigate to group",3,"click"],[3,"dataReady"],[1,"feedback","flex-kids-x","align-items-center","justify-flex-end","gap-s"],[1,"flex-kids-x","gap-xs"],["mat-icon-button","","aria-label","vote this was helpful",1,"gmat-button","small",3,"click","disabled"],["svgIcon","thumb_up_24px",1,"icon-s"],["mat-icon-button","","aria-label","vote this was not helpful",1,"gmat-button","small",3,"click","disabled"],["svgIcon","thumb_down_24px",1,"icon-s"],[1,"disclaimer","type-s","muted","border-top",
"margin-s-top","padded-s-top"],["href","http://go/code-ai-policy","target","_blank",1,"hover-link"],[1,"opt-in-footnote","margin-s-top"],["target","_blank",3,"href"]],template:function(a,b){if(a&1){var c=u();F(0,"div",1,0);M("scroll",function(){v(c);b.containerScrolled=b.container.nativeElement.scrollTop===0?!1:!0;return x()});F(2,"header",2)(3,"div",3);H(4,"mat-icon",4);F(5,"span",5);R(6,"Help me fix");G()();F(7,"div",6)(8,"button",7);M("click",function(){v(c);b.isSidebarExpanded=!b.isSidebarExpanded;
return x()});C(9,Isb,1,0,"mat-icon",8)(10,Jsb,1,0,"mat-icon",9);G();F(11,"button",10);M("click",function(){v(c);return x(b.closeSidebar())});H(12,"mat-icon",11);G()()();C(13,Usb,10,9,"div",12);T(14,"async");C(15,Vsb,2,0,"div",13);G()}if(a&2){var d;Kf("expanded",b.isSidebarExpanded);z(2);Kf("elevated",b.containerScrolled);z(6);D("matTooltip",b.isSidebarExpanded?"Collapse sidebar":"Expand sidebar");z();D("ngIf",!b.isSidebarExpanded);z();D("ngIf",b.isSidebarExpanded);z(3);Of((d=V(14,8,b.issueCategoryConfig$))?
13:15,d)}},dependencies:[Gv,zB,RQ,oE,MQ,NQ,k5,m5,n5,OH,Lv],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%]{position:-webkit-sticky;position:sticky;top:0}.card[_ngcontent-%COMP%]{margin-bottom:24px;overflow-wrap:break-word}.feedback[_ngcontent-%COMP%]   button.voted[_ngcontent-%COMP%]{color:#1a73e8;color:var(--text-primary)}"]});var VMc={BLOCKED_BY_ISSUES:"blocked_by",PARENT_ISSUES:"parent"},p5=function(a,b){Z.call(this);var c=this;this.issueFridge=a;this.router=b;this.STATUS_JS_TERSE=a5b;this.ListIssuesHovercardMode=VMc;this.mode="blocked_by";this.currentIssueId="";this.issueIds$=new W.ReplaySubject(1);this.init=new W.ReplaySubject(1);this.issues$=this.issueIds$.pipe(te(lj),pf(this.issueFridge.watchSet),y(function(d){return c.mode==="parent"?d.filter(Bn):d.filter(An)}))};X(p5,Z);p5.\u0275dir=Z.\u0275dir;
p5.prototype.priorityClass=function(a){switch(a){case "P0":return"high p0";case "P1":return"high";default:return"low"}};var atb=function(a){var b;(b=a.hovercardInstance)==null||b.closeHovercard$.next();a.issueIds$.subscribe(function(c){c=c!=null?c:[];for(var d="id:(",e=l(c.entries()),f=e.next();!f.done;f=e.next()){var h=l(f.value);f=h.next().value;h=h.next().value;d+=h;d=f<c.length-1?d+"|":d+")"}c={q:d};a.router.navigate([zo.listIssues.makeHref()],{queryParams:c})})};
p5.prototype.ngOnInit=function(){var a=this;this.issues$.pipe(qf(this.destroyed$)).subscribe(function(){a.init.next()})};ea.Object.defineProperties(p5.prototype,{issueIds:{configurable:!0,enumerable:!0,set:function(a){this.issueIds$.next(a)}}});p5.\u0275fac=function(a){return new (a||p5)(A(jG),A(pB))};
p5.\u0275cmp=p({type:p5,selectors:[["b-list-issues-card"]],inputs:{mode:"mode",currentIssueId:"currentIssueId",issueIds:"issueIds",hovercardInstance:"hovercardInstance"},outputs:{init:"init"},features:[zf],decls:5,vars:5,consts:[["role","dialog","aria-label","List Issues Hovercard",1,"onedev-hovercard-content"],["class","border-bottom header-container",4,"ngIf"],[4,"ngIf"],[1,"border-bottom","header-container"],["svgIcon","account_tree_24px",1,"icon-xxs","muted"],[1,"header-text"],["svgIcon","slo-status-no-data",
1,"icon-xxs","gfx-bad"],[4,"ngFor","ngForOf"],[3,"routerLink"],[1,"issue-row","flex-kids-x","space-between"],[1,"flex-kids-x","align-items-center"],[1,"issue-id","type-xs"],[1,"type-m","margin-right","issue-title"],[1,"bv2-priority",3,"ngClass"],[3,"class",4,"ngIf"],[1,"flex-kids-x","more-issues-container","margin-s-right"],["mat-button","",1,"gmat-button","primary","small",3,"click"]],template:function(a,b){a&1&&(F(0,"div",0),C(1,Wsb,5,3,"div",1)(2,Xsb,5,3,"div",1)(3,dtb,4,3,"div",2),T(4,"async"),
G());a&2&&(z(),D("ngIf",b.mode===b.ListIssuesHovercardMode.PARENT_ISSUES),z(),D("ngIf",b.mode===b.ListIssuesHovercardMode.BLOCKED_BY_ISSUES),z(),D("ngIf",V(4,3,b.issues$)))},dependencies:[Ev,Fv,Gv,zB,rB,oE,Lv],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 q5=function(a,b){this.issueFridge=a;this.paths=b;this.ancestors=new Map;this.issueId="";this.ListIssuesHovercardMode=VMc;this.reorderedAncestors=[];this.issueIdToTitle=new Map;this.multiParentIssueIds=[]};q5.prototype.ngOnChanges=function(a){var b=this;a.ancestors&&WMc(this).then(function(c){b.issueIdToTitle=c})};q5.prototype.getIssueLink=function(a){return Ao(a)};
var WMc=function(a){var b,c,d;return fe(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=Sm(a.reorderedAncestors);return d.length===0?e.return(new Map):e.return((0,W.firstValueFrom)((0,W.combineLatest)(d.map(a.issueFridge.watch)).pipe(y(function(f){return f.filter(lj)}),y(function(f){var h=new Map;
f=l(f);for(var k=f.next();!k.done;k=f.next())k=k.value,h.set(k.issueId,k.snapshot[0].title);return h}))))})};q5.\u0275fac=function(a){return new (a||q5)(A(jG),A(pN))};
q5.\u0275cmp=p({type:q5,selectors:[["ancestors-breadcrumbs"]],inputs:{ancestors:"ancestors",issueId:"issueId"},features:[td],decls:3,vars:2,consts:[["card","onedevHovercard"],["cardBody",""],["svgIcon","account_tree_24px","title","Ancestor issues",1,"icon-xs","margin-s-right"],[4,"ngIf"],[4,"ngFor","ngForOf"],[1,"muted",3,"onedevHovercardTrigger","title"],["svgIcon","chevron-right","class","icon-xs chevron muted",4,"ngIf"],[4,"onedevHovercardLazyBody"],["svgIcon","chevron-right",1,"icon-xs","chevron",
"muted"],[3,"onedevIsHovercardReady","hovercardInstance","currentIssueId","issueIds","mode"],[1,"type-s",3,"href","issueId"]],template:function(a,b){a&1&&(H(0,"mat-icon",2),C(1,gtb,7,5,"ng-container",3)(2,htb,4,5,"ng-container",4));a&2&&(z(),D("ngIf",b.multiParentIssueIds.length>1),z(),D("ngForOf",b.reorderedAncestors))},dependencies:[Fv,Gv,zB,iI,$H,aI,gI,bI,p5],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 r5=function(a,b,c){this.issueFridge=a;this.hotlistFridge=b;this.hotlistPicker=c;this.issueId$=new W.ReplaySubject(1);this.issue$=this.issueId$.pipe(pf(this.issueFridge.watch));this.hotlistsOnIssue$=this.issue$.pipe(y(function(d){var e;return(e=d==null?void 0:d.snapshot[0].hotlistId)!=null?e:[]}));this.count$=this.hotlistsOnIssue$.pipe(y(function(d){return d==null?void 0:d.length}),of(0));this.label$=this.count$.pipe(y(function(d){return d>0?"Hotlists ("+d+")":"Hotlists"}));this.isDisabled$=this.hotlistFridge.saving$;
this.HOTKEYS=Sq};r5.prototype.onClick=function(){tqc(this.hotlistPicker,this.issue$)};ea.Object.defineProperties(r5.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.issueId$.next(String(a))}}});r5.\u0275fac=function(a){return new (a||r5)(A(jG),A(bF),A(yT))};
r5.\u0275cmp=p({type:r5,selectors:[["hotlist-picker-btn"]],inputs:{issueId:"issueId"},decls:4,vars:7,consts:[["mat-stroked-button","",1,"gmat-button","small",3,"onHotkey","click","hotkey","disabled"]],template:function(a,b){a&1&&(F(0,"button",0),T(1,"async"),M("onHotkey",function(){return b.onClick()})("click",function(){return b.onClick()}),R(2),T(3,"async"),G());a&2&&(D("hotkey",b.HOTKEYS.OPEN_HOTLIST_PICKER)("disabled",V(1,3,b.isDisabled$)),z(2),S(" ",V(3,5,b.label$),"\n"))},dependencies:[MN,oE,
Lv],encapsulation:2});var XMc=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()}}}},YMc=function(a,b){return b.isInternal?{type:"action",label:"Request issue deletion...",title:"Request issue deletion",action:function(){a.requestIssueDeletion()}}:void 0},ZMc=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)}}},$Mc=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 aNc=function(a){return{isDupe:a}},s5=function(a,b,c,d,e){Z.call(this);var f=this;this.fridge=a;this.permissionsFridge=b;this.issuePicker=c;this.snackBar=d;this.eventsForIssueFridge=e;this.TOOLTIP_MARK_DUPE="Mark this issue as a duplicate";this.TOOLTIP_UNMARK_DUPE="Mark this issue as not being a duplicate";this.disabled=!1;this.issueId$=new W.ReplaySubject(1);this.issue$=this.issueId$.pipe(pf(function(h){return f.fridge.watchOne(h)}));this.isDupe$=this.issue$.pipe(y(function(h){var k;return!!(h==
null?0:(k=h.snapshot[0])==null?0:k.duplicateOfIssueId)}));this.permissions$=this.issueId$.pipe(pf(function(h){return f.permissionsFridge.watchOne("issues/"+h)}));this.canEdit$=this.permissions$.pipe(y(function(h){return!(h==null||!h.writer)}),of(!0));this.didChooseCanonical=function(h){return function(k){(k=k[0])&&r8b(f.fridge,k,h).then(function(){f.eventsForIssueFridge.poke(h)}).catch(f.gotErr)}};this.gotErr=function(h){f.snackBar.open(nn(h)||"Error with network request","close",{panelClass:"error"})}};
X(s5,Z);s5.\u0275dir=Z.\u0275dir;
var itb=function(a){var b,c;return fe(function(d){if(d.nextAddress==1)return a.disabled||a.fridge.isSaving(a.internalIssueId)||!fo(a.canEdit$)?d.return():he(d,(0,W.firstValueFrom)(a.isDupe$),2);if(d.nextAddress!=3)return b=d.yieldResult,he(d,(0,W.firstValueFrom)(a.issue$),3);c=d.yieldResult;if(c==null)return d.return();b?bNc(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));le(d)})},bNc=function(a,b){var c=b.snapshot[0].duplicateOfIssueId;c!=null&&a.fridge.removeDuplicate(c,b.issueId).then(function(){a.eventsForIssueFridge.poke(b.issueId)}).catch(a.gotErr)};ea.Object.defineProperties(s5.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.internalIssueId=a;this.issueId$.next(a)}}});s5.\u0275fac=function(a){return new (a||s5)(A(jG),A(OG),A(NS),A(XD),A(rF))};
s5.\u0275cmp=p({type:s5,selectors:[["smart-dupe-btn"]],inputs:{disabled:"disabled",issueId:"issueId"},features:[zf],decls:2,vars:5,consts:[["mat-stroked-button","","class","gmat-button small",3,"disabled","title","click",4,"ngIf"],["mat-stroked-button","",1,"gmat-button","small",3,"click","disabled","title"]],template:function(a,b){a&1&&(C(0,jtb,3,5,"button",0),T(1,"async"));a&2&&D("ngIf",ug(3,aNc,V(1,1,b.isDupe$)))},dependencies:[Gv,oE,Lv]});var t5=function(){this.label=""};t5.prototype.toggle=function(){this.hovercardTrigger&&this.hovercardTrigger.toggle(!this.hovercardTrigger.isExpanded())};t5.\u0275fac=function(a){return new (a||t5)};
t5.\u0275cmp=p({type:t5,selectors:[["help-hover"]],viewQuery:function(a,b){a&1&&fg(gI,5);if(a&2){var c;jg(c=kg())&&(b.hovercardTrigger=c.first)}},inputs:{label:"label",content:"content"},decls:6,vars:3,consts:[["chipHovercard","onedevHovercard"],["role","dialog",1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],[4,"ngIf"],["svgIcon","help-outline",1,"icon-s",3,"onedevHovercardTrigger"],[4,"ngTemplateOutlet"]],template:function(a,b){a&1&&(F(0,"onedev-hovercard",null,0)(2,"div",1)(3,"div",2),
C(4,ltb,2,1,"ng-container",3),G()()(),H(5,"mat-icon",4));a&2&&(a=Q(1),z(2),Bf("aria-label",b.label),z(2),D("ngIf",b.content),z(),D("onedevHovercardTrigger",a))},dependencies:[Gv,Kv,zB,$H,gI],encapsulation:2});var u5=function(){};u5.\u0275fac=function(a){return new (a||u5)};u5.\u0275mod=dd({type:u5});u5.\u0275inj=Ic({imports:[BB,NL]});var v5=function(a,b,c,d,e,f,h,k,q){Z.call(this);this.issueFridge=a;this.issuePermissionService=b;this.activeSession=c;this.appEvents=d;this.issueArchiveService=e;this.domSafe=f;this.editIssueService=h;this.matDialogService=k;this.analytics=q;this.issueId$=new W.ReplaySubject(1);this.retentionEnabled=this.activeSession.isInternalSession();this.HOTKEYS=Sq;this.issue$=this.issueId$.pipe(pf(this.issueFridge.watch));this.issueDerivedProperties$=this.issue$.pipe(y(function(t){var w,B,E,I,J,N,P;return{modifiedTimeMilliseconds:(t==
null?void 0:(w=t.aggregatedData)==null?void 0:w.modifiedTimeMicros)!=null?t.aggregatedData.modifiedTimeMicros/1E3:void 0,voted:(N=t==null?void 0:(B=t.userData)==null?void 0:B.voted)!=null?N:!1,voteCount:(P=t==null?void 0:(E=t.aggregatedData)==null?void 0:E.voteCount)!=null?P:0,notificationSubscription:kj(t==null?void 0:(I=t.userData)==null?void 0:I.notificationSubscription),retentionState:t==null?void 0:(J=t.aggregatedData)==null?void 0:J.retentionState}}));this.menuItems$=cNc(this);this.state$=(0,W.combineLatest)([this.issueId$,
this.issueDerivedProperties$,this.menuItems$]).pipe(y(function(t){var w=l(t);t=w.next().value;var B=w.next().value;w=w.next().value;return Object.assign({},{issueId:t},B,{menuItems:w})}))};X(v5,Z);v5.\u0275dir=Z.\u0275dir;g=v5.prototype;g.updateSubscription=function(a){var b=this,c;return fe(function(d){if(d.nextAddress==1)return(c=fo(b.issueId$))?he(d,b.editIssueService.updateSubscription(c,a),2):d.return();b.analytics.trackEvent("editIssue","updateSubscription",a);le(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 fe(function(d){return d.nextAddress==1?b.editIssueService.savingState(a).get("retention")?d.return():he(d,(0,W.firstValueFrom)(qI(b.matDialogService.open(YBc,{maxWidth:560}))),2):(c=d.yieldResult)?he(d,b.editIssueService.updateIssueRetention(a,"INDEFINITE"),0):d.jumpTo(0)})};
g.showComponentRetentionDialog=function(a){var b=this,c;return fe(function(d){return d.nextAddress==1?b.editIssueService.savingState(a).get("retention")?d.return():he(d,(0,W.firstValueFrom)(qI(b.matDialogService.open(UBc,{maxWidth:560}))),2):(c=d.yieldResult)?he(d,b.editIssueService.updateIssueRetention(a,"COMPONENT_DEFAULT"),0):d.jumpTo(0)})};
g.showFlagAsSpamDialog=function(a){var b=this,c;return fe(function(d){return d.nextAddress==1?he(d,(0,W.firstValueFrom)(qI(b.matDialogService.open(XBc,{maxWidth:560}))),2):(c=d.yieldResult)?he(d,ibc(b.editIssueService,String(a)),0):d.jumpTo(0)})};
var cNc=function(a){var b={requestIssueDeletion:function(){a.domSafe.openInNewTab(p8a(a.activeSession.isInternalSession()))},showIndefiniteRetentionDialog:function(){var c=fo(a.issueId$);c&&a.showIndefiniteRetentionDialog(c)},showComponentRetentionDialog:function(){var c=fo(a.issueId$);c&&a.showComponentRetentionDialog(c)},submitArchivalState:function(c){var d=fo(a.issueId$);d&&a.issueArchiveService.submitArchivalState(d,c)},showFlagAsSpamDialog:function(){var c=fo(a.issueId$);c&&a.showFlagAsSpamDialog(c)}};
return(0,W.combineLatest)([a.issue$,a.issuePermissionService.userIsComponentAdmin$,a.issuePermissionService.issuePermissions$]).pipe(y(function(c){var d=l(c);c=d.next().value;var e=d.next().value;var f;d={permissions:d.next().value,accessLevel:KGa(c),isArchived:(f=c==null?void 0:c.isArchived)!=null?f:!1,isDeleted:IGa(c),isInternal:a.activeSession.isInternalSession(),isComponentAdmin:e,retentionOverride:NGa(c),retentionState:QGa(c)};return[ZMc(b,d),$Mc(b,d),YMc(b,d),XMc(b,d)].filter(lj)}))};
ea.Object.defineProperties(v5.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.issueId$.next(a)}}});v5.\u0275fac=function(a){return new (a||v5)(A(jG),A(sJ),A(Ir),A(yE),A(DQ),A(FH),A(LJ),A(wI),A(bG))};
v5.\u0275cmp=p({type:v5,selectors:[["issue-actions"]],viewQuery:function(a,b){a&1&&fg(t5,5);if(a&2){var c;jg(c=kg())&&(b.helpHover=c.first)}},inputs:{issueId:"issueId"},features:[zf],decls:2,vars:3,consts:[["smartDupeBtn",""],["menu","matMenu"],["retentionHelpContent",""],[4,"ngIf"],[3,"issueId","voteCount","upvoted"],[3,"issueId"],[3,"onHotkey","issueId","hotkey"],["aria-label","Notification menu",3,"subscriptionChange","showNotificationSettings","subscription","issueId","iconOnly"],["buttonClassname",
"small","aria-label","Insights Graph menu",3,"iconOnly"],["mat-icon-button","","aria-label","More actions","matTooltip","More actions",1,"medium",3,"matMenuTriggerFor"],["svgIcon","more-settings-vertical"],[1,"issue-actions-menu"],["mat-menu-item","",3,"disabled","title","click",4,"ngFor","ngForOf"],["mat-menu-item","",3,"click","disabled","title"],[1,"icon-s",3,"svgIcon"],["mat-menu-item","",1,"informational-only","border-top","flush-bottom",3,"click"],["svgIcon","",1,"icon-s"],[3,"retentionState"],
["label","Learn more about retention",3,"content"],[3,"retentionState","modifiedTime"]],template:function(a,b){a&1&&(C(0,qtb,15,13,"ng-container",3),T(1,"async"));a&2&&D("ngIf",V(1,1,b.state$))},dependencies:[UN,Fv,Gv,zB,t5,MN,A0,oE,QL,TL,RL,UL,LH,OH,o1,U_,T_,s5,r5,Lv],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-button.small{font-size:.8125rem}.bv2-material   [_nghost-%COMP%]     button.mat-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 dNc=["issueTitleEl"],eNc=["issueTitleInputEl"],w5=function(a,b){this.issuePermissionService=a;this.bannedWordsChecker=b;this.disabled=!1;this.updateTitle=new XF;this.isEditMode=!1;this.editModeWidth=0};w5.prototype.ngDoCheck=function(){fNc(this)};var utb=function(a){a.isEditMode=!a.isEditMode;a.isEditMode?setTimeout(function(){return a.issueTitleInputEl.nativeElement.focus()},0):a.bannedWordsChecker.reset()};
w5.prototype.saveTitle=function(a){var b=this,c;return fe(function(d){if(d.nextAddress==1)return a&&b.isModified(a)?he(d,b.bannedWordsChecker.check(a,b.issuePermissionService.accessLevel()==="EXTERNAL_PUBLIC",b.componentId),3):d.jumpTo(2);if(d.nextAddress!=2){c=d.yieldResult;if(!c)return b.issueTitleInputEl.nativeElement.focus(),d.return();b.updateTitle.emit(a.trim());b.bannedWordsChecker.reset()}b.isEditMode=!1;fNc(b);le(d)})};w5.prototype.isModified=function(a){return a!==this.titlePlain};
var stb=function(a,b){if(b)b.key==="Enter"?a.saveTitle(b.target.value):b.key==="Escape"||b.key==="Esc"?utb(a):a.bannedWordsChecker.reset();else{var c;b=(c=a.issueTitleInputEl)==null?void 0:c.nativeElement.value;a.saveTitle(b)}},fNc=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};
ea.Object.defineProperties(w5.prototype,{title:{configurable:!0,enumerable:!0,set:function(a){this.titlePlain=a=a!=null?a:void 0;this.titleTruncated=iHa(a,300);this.isLongTitle=a==null?!1:a.length>=300}}});w5.\u0275fac=function(a){return new (a||w5)(A(sJ),A(hZ))};
w5.\u0275cmp=p({type:w5,selectors:[["issue-title"]],viewQuery:function(a,b){a&1&&(fg(dNc,5),fg(eNc,5));if(a&2){var c;jg(c=kg())&&(b.issueTitleEl=c.first);jg(c=kg())&&(b.issueTitleInputEl=c.first)}},inputs:{title:"title",componentId:"componentId",disabled:"disabled",hasAclToEdit:"hasAclToEdit"},outputs:{updateTitle:"updateTitle"},features:[qg([hZ])],decls:5,vars:4,consts:[["issueTitleEl",""],["issueTitleInputEl",""],[1,"issue-title-container"],["class","heading-m",4,"ngIf"],["subscriptSizing","dynamic",
3,"width","banned-words-warning",4,"ngIf"],["mat-icon-button","","class","small align-self-center","matTooltip","Edit issue title","aria-label","Edit issue title",3,"disabled","click",4,"ngIf"],["class","banned-words-warning break-word",4,"ngIf"],[1,"heading-m"],["subscriptSizing","dynamic"],["matInput","","aria-label","Enter a new title",1,"heading-m",3,"keyup","blur","value"],["mat-icon-button","","matTooltip","Edit issue title","aria-label","Edit issue title",1,"small","align-self-center",3,"click",
"disabled"],["svgIcon","edit-outline",1,"icon-xxs"],[1,"banned-words-warning","break-word"],["target","_blank","aria-label","Learn more about banned words","href","http://go/b-trackers#banned-words-for-tracker",1,"color-bad-text","keep-underline"]],template:function(a,b){a&1&&(F(0,"div",2),C(1,rtb,3,2,"h3",3)(2,ttb,3,5,"mat-form-field",4)(3,vtb,2,1,"button",5),G(),C(4,wtb,4,1,"p",6));a&2&&(z(),D("ngIf",!b.isEditMode),z(),D("ngIf",b.isEditMode),z(),D("ngIf",b.hasAclToEdit),z(),D("ngIf",b.bannedWordsChecker.showWarning()))},
dependencies:[Gv,zB,oE,LH,OH,kM,Wy,SV,cz],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 x5=function(a,b,c,d,e,f,h){Z.call(this);var k=this;this.issueDetailsBrain=a;this.issuePagination=b;this.issueInteractionsTracking=c;this.bLocation=d;this.paths=e;this.refreshMonitor=f;this.butterBar=h;this.internalSearchResults$=new W.BehaviorSubject(null);this.searchResults$=this.internalSearchResults$.pipe(df(),pf(function(q){return q?q.changed$:(0,W.of)(null)}));this.issueId$=this.issueDetailsBrain.id$;this.totalText$=this.searchResults$.pipe(y(function(q){var t;return(t=q==null?void 0:q.totalText)!=
null?t:""}));this.backNavigationLabel$=this.searchResults$.pipe(y(function(q){return(q==null?0:q.params.returnUrl)?"Back to previous search":"Go home"}));this.issueIndex$=(0,W.combineLatest)([this.searchResults$,this.issueId$]).pipe(y(function(q){var t=l(q);q=t.next().value;t=t.next().value;var w;return(w=t&&(q==null?void 0:ZT(q,t)))!=null?w:-1}));this.hasPreviousIssue$=(0,W.combineLatest)([this.searchResults$,this.issueId$]).pipe(y(function(q){var t=l(q);q=t.next().value;t=t.next().value;var w;if(w=
t)q==null?q=0:(t=ZT(q,t),q=t==null||t===-1?!1:t>q.startIndex||q.params.page>1),w=q;return!!w}));this.hasNextIssue$=(0,W.combineLatest)([this.searchResults$,this.issueId$]).pipe(y(function(q){var t=l(q);q=t.next().value;t=t.next().value;var w;if(w=t)q==null?q=0:(t=ZT(q,t),q=t==null||t===-1?!1:t<q.endIndex||q.params.page<q.numPages),w=q;return!!w}));this.subscriptions.add(this.refreshMonitor.getObservable().subscribe(function(){gNc(k)}));this.subscriptions.add(this.issueDetailsBrain.id$.subscribe(function(q){k.issueId=
q;gNc(k)}))};X(x5,Z);x5.\u0275dir=Z.\u0275dir;
var hNc=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)},Atb=function(a){var b=fo(a.hasNextIssue$),c=fo(a.issueIndex$);b&&c&&iNc(a,c+1)},ztb=function(a){var b=fo(a.hasPreviousIssue$),c=fo(a.issueIndex$);b&&c&&iNc(a,c-1)},gNc=function(a){var b,c,d;fe(function(e){if(e.nextAddress==1)return he(e,erc(a.issuePagination).catch(xtb),2);b=e.yieldResult;
a.internalSearchResults$.next((c=b)!=null?c:null);if(!b||!a.issueId)return e.return();d=ZT(b,a.issueId);return d===-1?e.jumpTo(0):he(e,grc(a.issuePagination,d).catch(xtb),0)})},iNc=function(a,b){grc(a.issuePagination,b).then(function(c){a.bLocation.setUrl(Ao(c))},function(){a.butterBar.showWarning("Can't find issue id for index '"+b+"'")})};x5.\u0275fac=function(a){return new (a||x5)(n(qJ),n(bU),n(oJ),n(oN),n(pN),n(iG),n(sE))};x5.\u0275prov=Hc({token:x5,factory:x5.\u0275fac,providedIn:"root"});var Btb=function(a){return{"invisible zero-width":a}},jNc=function(a){this.currentSearchResults=a;this.HOTKEYS=Sq};jNc.\u0275fac=function(a){return new (a||jNc)(A(x5))};
jNc.\u0275cmp=p({type:jNc,selectors:[["b-pagination-one-issue"]],decls:2,vars:3,consts:[[4,"ngIf"],[3,"ngClass"],["mat-icon-button","","matTooltip","Previous Issue","aria-label","Previous Issue",1,"gmat-button","medium",3,"onHotkey","click","hotkey","disabled"],["svgIcon","arrow-left",1,"icon-l"],["mat-icon-button","","matTooltip","Next Issue","aria-label","Next Issue",1,"gmat-button","medium",3,"onHotkey","click","hotkey","disabled"],["svgIcon","arrow-right",1,"icon-l"]],template:function(a,b){a&
1&&(C(0,Ctb,9,12,"ng-container",0),T(1,"async"));a&2&&D("ngIf",V(1,1,b.currentSearchResults.issueIndex$))},dependencies:[Ev,Gv,zB,MN,oE,LH,OH,Lv],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}[_nghost-%COMP%]   span.zero-width[_ngcontent-%COMP%]   *[_ngcontent-%COMP%]{width:0}/*# sourceMappingURL=pagination_one_issue.css.map */"],changeDetection:0});var y5=function(a,b,c){this.documentationLinks=a;this.issueLimits=b;this.accessPolicyApi=c;this.implicitAccessEnabled=!1};y5.prototype.ngOnInit=function(){var a=this;this.accessPolicyApi.checkComponentImplicitAccessEnabled(Number(this.componentId)).then(function(b){return a.implicitAccessEnabled=b})};y5.prototype.toggleAccessLimits=function(){var a=this;return fe(function(b){a.issueLimits.open({componentId:Number(a.componentId),issueId:a.issueId});le(b)})};
y5.prototype.toggleAccessLimitsWithKeystroke=function(a){this.toggleAccessLimits();a.stopPropagation();a.preventDefault()};y5.prototype.getAccessLimitLevelDisplay=function(a){return a==="LIMIT_APPEND"?"Commenting":a==="LIMIT_VIEW"||a==="LIMIT_VIEW_TRUSTED"?"Visibility":""};
var kNc=function(a,b){if(b)a:if(a=a.implicitAccessEnabled,b===Ozc.accessLevel)b=a?"Only added users + Googlers may access. The assignee, verifier and collaborators may edit. CCs can comment. Googler access is according to their component-level permissions.":"Only added users + Googlers may access. They have their normal access as defined by the component-level permissions.";else{for(var c=l(m6a),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?nq.descriptionWithExpandedAccess:nq.descriptionNoExpandedAccess}else b="";return b};y5.\u0275fac=function(a){return new (a||y5)(A(oI),A(w_),A(qC))};
y5.\u0275cmp=p({type:y5,selectors:[["b-access-limits-chip"]],inputs:{issueId:"issueId",componentId:"componentId",accessLimitLevel:"accessLimitLevel"},decls:12,vars:4,consts:[["card","onedevHovercard"],["role","button","matTooltip","Press Alt + Right arrow for more details",1,"chippy","rounded","nowrap","access-limited",3,"click","keydown.enter","keydown.space","onedevHovercardTrigger"],["svgIcon","encrypted_24px",1,"icon-s","valign-middle"],[1,"access-limit-display-name"],[1,"onedev-hovercard-content"],
[1,"onedev-hovercard-body"],[1,"hovertext"],["target","_blank","aria-label","Learn more about issue access limits",3,"href"]],template:function(a,b){if(a&1){var c=u();F(0,"button",1);M("click",function(){v(c);return x(b.toggleAccessLimits())})("keydown.enter",function(d){v(c);return x(b.toggleAccessLimitsWithKeystroke(d))})("keydown.space",function(d){v(c);return x(b.toggleAccessLimitsWithKeystroke(d))});H(1,"mat-icon",2);F(2,"span",3);R(3);G()();F(4,"onedev-hovercard",null,0)(6,"div",4)(7,"div",
5)(8,"span",6);R(9);F(10,"a",7);R(11," Learn more");G()()()()()}a&2&&(a=Q(5),D("onedevHovercardTrigger",a),z(3),lg(b.getAccessLimitLevelDisplay(b.accessLimitLevel)),z(6),S(" Issue access is limited. ",kNc(b,b.accessLimitLevel)," "),z(),D("href",b.documentationLinks.getIssueAccessLimit(),Qe))},dependencies:[zB,LH,OH,$H,gI],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 lNc=function(a,b,c){var d=this;this.brain=a;this.activeSession=b;this.accessIndicatorService=c;this.enableNewVisibilityChips=this.activeSession.getFlag("enableNewVisibilityChips");this.INTERNAL="INTERNAL";this.issue$=this.brain.issueJs$.pipe(te(lj));this.retentionState$=this.issue$.pipe(y(function(e){var f;return(f=e.aggregatedData)==null?void 0:f.retentionState}));this.modifiedTime$=this.issue$.pipe(y(function(e){var f;return((f=e.aggregatedData)==null?0:f.modifiedTimeMicros)?e.aggregatedData.modifiedTimeMicros/
1E3:void 0}),te(lj));this.accessLevel$=this.issue$.pipe(y(function(e){var f;return(f=e.accessLimit)==null?void 0:f.accessLevel}),te(lj));this.issueAccessLimitLevel$=this.issue$.pipe(y(function(e){return e.snapshot[0].issueAccessLimitLevel}));this.issueId$=this.issue$.pipe(y(function(e){return e.issueId}));this.hasAccessIndicator$=this.issue$.pipe(pf(function(e){return Jgc(d.accessIndicatorService,e.issueId)}),y(function(e){return e.type!=="no_indicator"}));this.state$=(0,W.combineLatest)([this.retentionState$,
this.issueAccessLimitLevel$,this.modifiedTime$,this.issueId$,this.brain.componentId$,(0,W.combineLatest)([this.accessLevel$,this.hasAccessIndicator$])]).pipe(y(function(e){var f=l(e);e=f.next().value;var h=f.next().value;var k=f.next().value;var q=f.next().value;var t=f.next().value;var w=l(f.next().value);f=w.next().value;w=w.next().value;return{retentionState:e,isAccessLimited:h==="LIMIT_VIEW"||h==="LIMIT_APPEND"||h==="LIMIT_VIEW_TRUSTED",isShowingRetention:(e==null?void 0:e.scheduledDeletionTime)==
null?!1:ncb(e),isShowingPublicPartner:f!=="INTERNAL",modifiedTime:k,accessLevel:f,issueId:q,componentId:t,issueAccessLimitLevel:h,hasAccessIndicator:w}}))};lNc.\u0275fac=function(a){return new (a||lNc)(A(qJ),A(Ir),A(SN))};
lNc.\u0275cmp=p({type:lNc,selectors:[["issue-chip-indicators"]],decls:2,vars:3,consts:[[4,"ngIf"],["class","flex-kids-x gap-s margin-xs-right",4,"ngIf"],[1,"flex-kids-x","gap-s","margin-xs-right"],[3,"accessLevel"],[3,"issueId","componentId","accessLimitLevel",4,"ngIf"],[3,"retentionState","compactMode","modifiedTime",4,"ngIf"],[3,"issueId"],[3,"issueId","componentId","accessLimitLevel"],[3,"retentionState","compactMode","modifiedTime"]],template:function(a,b){a&1&&(C(0,Jtb,2,1,"ng-container",0),
T(1,"async"));a&2&&D("ngIf",V(1,1,b.state$))},dependencies:[y5,Gv,yN,V_,TN,Lv],encapsulation:2});var z5=function(a){this.teamsService=a;this.onTeamLoaded=new W.ReplaySubject(1);this.teamName$=new W.BehaviorSubject("");this.isTeamLoaded=!1};z5.prototype.ngOnChanges=function(a){var b=this;a.teamId&&this.teamId!==null&&(this.teamId===0?(this.isTeamLoaded=!0,this.onTeamLoaded.next(this.isTeamLoaded)):hH(this.teamsService,String(this.teamId)).pipe(ef(),y(function(c){return c.name})).subscribe(function(c){b.teamName$.next(c);b.isTeamLoaded=!0;b.onTeamLoaded.next(b.isTeamLoaded)}))};
z5.\u0275fac=function(a){return new (a||z5)(A(gH))};
z5.\u0275cmp=p({type:z5,selectors:[["b-team-chip"]],inputs:{componentId:"componentId",teamId:"teamId"},outputs:{onTeamLoaded:"onTeamLoaded"},features:[td],decls:7,vars:6,consts:[["card","onedevHovercard"],[3,"isReady"],["class","b-chip squared s",3,"onedevHovercardTrigger",4,"ngIf"],[3,"componentId","teamId"],[1,"b-chip","squared","s",3,"onedevHovercardTrigger"],["svgIcon","supervisor_account_24px",1,"icon-xs"]],template:function(a,b){a&1&&(F(0,"b-async-data-placeholder",1),C(1,Ktb,4,4,"div",2),T(2,
"async"),G(),F(3,"onedev-hovercard",null,0),K(5),H(6,"b-team-card",3),L(),G());if(a&2){var c;D("isReady",b.isTeamLoaded);z();D("ngIf",V(2,4,b.teamName$));z(5);D("componentId",b.componentId==null?null:b.componentId.toString())("teamId",(c=b.teamId==null?null:b.teamId.toString())!==null&&c!==void 0?c:"0")}},dependencies:[Gv,zB,oQ,$H,gI,yQ,Lv],styles:["[_nghost-%COMP%]{min-height:22px}mat-icon[_ngcontent-%COMP%]{margin-right:4px;vertical-align:middle}"],changeDetection:0});var A5=function(a,b,c,d,e,f,h,k){Z.call(this);var q=this;this.issueFridge=a;this.issuePermissionService=b;this.router=c;this.refreshMonitor=d;this.currentSearchResults=e;this.trackerHelpers=f;this.eventsForIssueFridge=h;this.cdr=k;this.editTitleDisabled=this.starToggleDisabled=!1;this.issueId$=new W.ReplaySubject(1);this.internalIssueId="";this.isTeamLoaded=!1;this.ListIssuesHovercardMode=VMc;this.blockedIdsToUrlQuery=function(t){if(!(t.length<2))return{q:"blockingid:"+q.issueId}};this.HOTKEYS=Sq;
this.issue$=this.issueId$.pipe(pf(this.issueFridge.watch));this.issueTitle$=this.issue$.pipe(y(function(t){return t==null?void 0:t.snapshot[0].title}));this.starred$=this.issue$.pipe(y(function(t){var w;return kj(t==null?void 0:(w=t.userData)==null?void 0:w.starred)}));this.componentId$=this.issue$.pipe(y(function(t){return kj(t==null?void 0:t.snapshot[0].componentId)}));this.ancestors$=this.issue$.pipe(y(function(t){return kj(t==null?void 0:t.ancestors)}));this.hasAncestors$=this.ancestors$.pipe(y(function(t){return!!(t&&
t.size>0)}));this.teamId$=this.issue$.pipe(y(function(t){var w;return kj(t==null?void 0:(w=t.aggregatedData)==null?void 0:w.teamId)}));this.blockedByids$=this.issue$.pipe(y(function(t){var w;return(w=t==null?void 0:t.snapshot[0].blockedByIssueId)!=null?w:[]}));this.issuesBlockedByCount$=this.blockedByids$.pipe(pf(this.issueFridge.watchSet),y(function(t){return t.filter(An)}),y(function(t){return t.length}));eo(this.issuesBlockedByCount$.pipe(y(Vtb),qf(this.destroyed$)),"Blocked");this.blockedByids$.pipe(y(Wtb));
this.blockedByids$.pipe(y(this.blockedIdsToUrlQuery));this.isWithinExternalComponent$=this.issuePermissionService.isWithinExternalComponent$;this.status$=this.issue$.pipe(y(function(t){return(t==null?void 0:t.snapshot[0].status)||void 0}));this.statusCssClass$=this.status$.pipe(y(function(t){return q.computeStatusCssClass(t)}));this.prettyStatus$=this.status$.pipe(te(lj),y(function(t){return Mm[t]}));this.statusIsFeatured$=this.status$.pipe(y(function(t){return!!c5b[t]}));this.toggleStar=function(){var t=
!!fo(q.starred$);q.starToggleDisabled=!0;n8b(q.issueFridge,q.issueId,!t).pipe(hf(),qf(q.destroyed$)).subscribe(function(){q.starToggleDisabled=!1;q.cdr.markForCheck()})};this.toggleStarDebounced=Rz(this.toggleStar,1E3)};X(A5,Z);A5.\u0275dir=Z.\u0275dir;var mNc=function(a,b){a.editTitleDisabled=!0;p8b(a.issueFridge,a.issueId,b).pipe(qf(a.destroyed$)).subscribe(function(){a.editTitleDisabled=!1;a.eventsForIssueFridge.poke(a.issueId);a.cdr.markForCheck()})};
A5.prototype.computeStatusCssClass=function(a){return a?"status-"+a:""};A5.prototype.refresh=function(){this.refreshMonitor.refreshRequest.next()};ea.Object.defineProperties(A5.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.internalIssueId=a;this.issueId$.next(a)},get:function(){return this.internalIssueId}}});A5.\u0275fac=function(a){return new (a||A5)(A(jG),A(sJ),A(pB),A(iG),A(x5),A(kQ),A(rF),A(Ig))};
A5.\u0275cmp=p({type:A5,selectors:[["issue-header"]],inputs:{issueId:"issueId"},features:[zf],decls:40,vars:49,consts:[["withAncestorsBreadcrumbs",""],["withoutAncestorBreadcrumbs",""],["card","onedevHovercard"],["cardBody",""],[1,"padded-s","border-bottom",3,"ngClass"],[1,"pos-fill",2,"bottom","auto","height","6px",3,"title"],[1,"row","row-1","flex-kids-x","space-between"],[1,"left","flex-kids-x","flex-wrap","gap-s"],[4,"ngIf","ngIfElse"],[1,"right"],[1,"row","row-2","flex-kids-x","margin-s-top"],
[1,"left","flex-kids-x","align-items-top"],[1,"nowrap"],["mat-icon-button","",1,"small","back-btn",3,"onHotkey","click","hotkey","matTooltip"],["svgIcon","arrow-backward",1,"icon-s"],["mat-icon-button","","matTooltip","Refresh","aria-label","Refresh",1,"small",3,"onHotkey","click","hotkey"],["svgIcon","refresh",1,"icon-s"],[3,"starClicked","onHotkey","starred","disabled","hotkey"],[3,"updateTitle","title","componentId","disabled","hasAclToEdit"],["class","b-chip squared bad xs margin-xs-left",3,"onedevHovercardTrigger",
4,"ngIf"],[4,"onedevHovercardLazyBody"],[1,"float-right",3,"issueId"],[4,"ngTemplateOutlet"],[3,"onTeamLoaded","componentId","teamId"],[4,"ngIf"],[3,"componentId","compactMode","issueId"],[1,"b-chip","squared","s"],[3,"ancestors","issueId",4,"ngIf"],[2,"margin-right","-4px",3,"issueId","componentId","issueTitle","isExternalIssue"],[3,"ancestors","issueId"],[3,"componentId","issueId"],[1,"b-chip","squared","s","padding-0"],[3,"issueId","componentId","issueTitle","isExternalIssue"],[1,"b-chip","squared",
"bad","xs","margin-xs-left",3,"onedevHovercardTrigger"],["svgIcon","slo-status-no-data",1,"icon-xxs"],[3,"onedevIsHovercardReady","hovercardInstance","currentIssueId","issueIds","mode"]],template:function(a,b){if(a&1){var c=u();F(0,"div",4);T(1,"async");T(2,"async");T(3,"async");H(4,"aside",5);T(5,"async");T(6,"async");F(7,"div",6)(8,"div",7);C(9,Mtb,2,1,"ng-container",8);T(10,"async");C(11,Ptb,4,7,"ng-template",null,0,yg)(13,Rtb,4,7,"ng-template",null,1,yg);G();F(15,"div",9);H(16,"b-pagination-one-issue");
G()();F(17,"div",10)(18,"div",11)(19,"div",12)(20,"button",13);T(21,"async");T(22,"async");M("onHotkey",function(){v(c);return x(hNc(b.currentSearchResults))})("click",function(){v(c);return x(hNc(b.currentSearchResults))});H(23,"mat-icon",14);G();F(24,"button",15);M("onHotkey",function(){v(c);return x(b.refresh())})("click",function(){v(c);return x(b.refresh())});H(25,"mat-icon",16);G();F(26,"b-star-toggle",17);T(27,"async");M("starClicked",function(){v(c);return x(b.toggleStar())})("onHotkey",function(){v(c);
return x(b.toggleStarDebounced())});G()();H(28,"issue-chip-indicators");G();F(29,"div",9)(30,"issue-title",18);T(31,"async");T(32,"async");T(33,"async");M("updateTitle",function(e){v(c);return x(mNc(b,e))});G();C(34,Ttb,3,2,"div",19);T(35,"async");F(36,"onedev-hovercard",null,2);C(38,Utb,4,7,"ng-container",20);G();H(39,"issue-actions",21);G()()()}if(a&2){var d;a=Q(14);Kf("overline",V(1,23,b.statusIsFeatured$))("color-field",V(2,25,b.statusIsFeatured$));$f("ngClass",V(3,27,b.statusCssClass$));z(4);
ag("title","[",V(5,29,b.prettyStatus$),"] ",V(6,31,b.issueTitle$),"");z(5);D("ngIf",V(10,33,b.hasAncestors$))("ngIfElse",a);z(11);D("hotkey",b.HOTKEYS.GO_UP_TO_LIST)("matTooltip",(d=V(21,35,b.currentSearchResults.backNavigationLabel$))!==null&&d!==void 0?d:"");Bf("aria-label",V(22,37,b.currentSearchResults.backNavigationLabel$));z(4);D("hotkey",b.HOTKEYS.REFRESH_ISSUE);z(2);D("starred",V(27,39,b.starred$))("disabled",b.starToggleDisabled)("hotkey",b.HOTKEYS.TOGGLE_STAR);z(4);D("title",V(31,41,b.issueTitle$))("componentId",
V(32,43,b.componentId$))("disabled",b.editTitleDisabled)("hasAclToEdit",V(33,45,b.issuePermissionService.hasAclToEdit$));z(4);D("ngIf",V(35,47,b.issuesBlockedByCount$));z(5);D("issueId",b.issueId)}},dependencies:[q5,Ev,Gv,Kv,zB,u_,MN,$H,aI,gI,bI,vQ,w5,p5,oE,LH,OH,uT,z5,jNc,v5,lNc,Lv],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-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-button:not([disabled]):not([aria-pressed=true]), [_nghost-%COMP%]     smart-dupe-btn .mat-stroked-button:not([disabled]), [_nghost-%COMP%]     hotlist-picker-btn .mat-stroked-button:not([disabled]){background-color:#fff;background-color:var(--background)}"]});var B5=function(a,b,c){var d=this;this.trackerHelpers=a;this.trackerFridge=b;this.activeSession=c;this.issueTrackerId$=new W.BehaviorSubject(void 0);var e;this.currentTrackerId=(e=this.activeSession.getTracker())==null?void 0:e.trackerId;this.showTrackerBanner$=this.issueTrackerId$.pipe(y(function(f){return!d.currentTrackerId&&!!f}));this.tracker$=this.issueTrackerId$.pipe(pf(function(f){return f?d.trackerFridge.watch(f):(0,W.of)(void 0)}));this.trackerRedirectUrl$=this.tracker$.pipe(y(function(f){return lQ(d.trackerHelpers,
String(d.issueId),f)}))};ea.Object.defineProperties(B5.prototype,{trackerId:{configurable:!0,enumerable:!0,set:function(a){this.issueTrackerId$.next(a||void 0)}}});B5.\u0275fac=function(a){return new (a||B5)(A(kQ),A(pH),A(Ir))};
B5.\u0275cmp=p({type:B5,selectors:[["b-tracker-banner"]],inputs:{issueId:"issueId",trackerId:"trackerId"},decls:3,vars:5,consts:[["class","tracker-banner",4,"ngIf"],[1,"tracker-banner"],["alt","",3,"src"],["mat-button","",1,"mat-stroked-button","gmat-button","small",3,"href"]],template:function(a,b){a&1&&(C(0,Xtb,7,6,"div",0),T(1,"async"),T(2,"async"));a&2&&D("ngIf",V(1,1,b.showTrackerBanner$)&&V(2,3,b.tracker$))},dependencies:[Gv,pE,Lv],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}.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 C5=function(a,b,c,d){var e=this;this.trackerHelpers=a;this.trackerFridge=b;this.activeSession=c;this.imageUrls=d;this.trackerId$=new W.BehaviorSubject(void 0);this.tracker$=this.trackerId$.pipe(pf(function(f){return f?e.trackerFridge.watch(f):(0,W.of)(void 0)}));this.trackerName$=this.tracker$.pipe(y(function(f){return f?f.name:e.activeSession.getAppName()}));this.currentTrackerLogo$=(0,W.of)(this.getLogoUrl(this.activeSession.getTracker()));this.trackerLogo$=this.tracker$.pipe(y(function(f){return e.getLogoUrl(f)}));
this.trackerRedirectUrl$=this.tracker$.pipe(y(function(f){var h="";e.issue&&(h=String(e.issueId));e.component&&(h="components/"+e.componentId);return f?lQ(e.trackerHelpers,h,f):Bmc(e.trackerHelpers,h)}))};C5.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:""};
C5.prototype.ngOnChanges=function(a){a.issue&&this.issue&&this.trackerId$.next(this.issue.trackerId);a.component&&this.component&&this.trackerId$.next(this.component.trackerId)};
ea.Object.defineProperties(C5.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 Lm((c=b==null?void 0:b.type)!=null?c:"TYPE_UNSPECIFIED")}},issueStatus:{configurable:!0,enumerable:!0,get:function(){var a,
b=(a=this.issue)==null?void 0:a.snapshot[0],c;return Mm[(c=b==null?void 0:b.status)!=null?c:"STATUS_UNSPECIFIED"]}},componentId:{configurable:!0,enumerable:!0,get:function(){var a;return(a=this.component)==null?void 0:a.componentId}}});C5.\u0275fac=function(a){return new (a||C5)(A(kQ),A(pH),A(Ir),A(VP))};
C5.\u0275cmp=p({type:C5,selectors:[["b-tracker-redirect"]],inputs:{issue:"issue",component:"component"},features:[td],decls:1,vars:1,consts:[["class","carded margin-top",4,"ngIf"],[1,"carded","margin-top"],[1,"centered-inside","margin-bottom"],["alt","",1,"logo",3,"src"],["svgIcon","arrow-forward",1,"icon-l"],[1,"centered-inside","heading-l","margin-bottom"],[4,"ngIf"],[1,"centered-inside"],["mat-flat-button","","color","primary","matTooltip","Go to the issue","aria-label","Go to the issue",1,"gmat-button",
3,"href"]],template:function(a,b){a&1&&C(0,Ztb,15,13,"div",0);a&2&&D("ngIf",b.showResourceContainer)},dependencies:[Gv,zB,pE,LH,OH,Lv],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 D5=function(){};D5.prototype.watch=function(a,b){b=b===void 0?document.documentElement:b;return(0,W.concat)((0,W.defer)(function(){return(0,W.of)(document.getElementById(a))}),Kwa(b,{attributes:!0,attributeFilter:["id"],childList:!0,subtree:!0}).pipe(y(function(){return document.getElementById(a)}))).pipe(te(lj),ef())};D5.\u0275fac=function(a){return new (a||D5)};D5.\u0275prov=Hc({token:D5,factory:D5.\u0275fac,providedIn:"root"});var E5=function(a){this.idWatch=a},nNc=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(ef(),y(function(h){h.scrollIntoView();if(h=document.getElementById(e))h.scrollTop-=f}))};E5.\u0275fac=function(a){return new (a||E5)(n(D5))};E5.\u0275prov=Hc({token:E5,factory:E5.\u0275fac,providedIn:"root"});var F5=function(a,b,c,d){this.dynamicScrollIntoView=a;this.paths=b;this.routeParams=c;this.baseIssueReferenceResolver=d;this.destroyed$=new W.ReplaySubject(1);var e;this.issueId=(e=this.routeParams.issueId)!=null?e:""};
F5.prototype.visit=function(a){a.event&&(a.event.preventDefault(),a.event.stopPropagation());a.issueId&&a.issueId!==this.issueId||!a.elementId?this.baseIssueReferenceResolver.visit(a):(nNc(this.dynamicScrollIntoView,{elementId:a.elementId,parentElement:document.body,scrollableContainerId:"bv2-edit-issue-details-scroll",scrollPadding:60}).pipe(qf(this.destroyed$)).subscribe(),history&&history.pushState(null,"",Ao(this.issueId)+"#"+a.elementId))};F5.prototype.ngOnDestroy=function(){this.destroyed$.next()};
F5.\u0275fac=function(a){return new (a||F5)(n(E5),n(pN),n(iJ),n(K3))};F5.\u0275prov=Hc({token:F5,factory:F5.\u0275fac});var G5=function(a,b){Z.call(this);var c=this;this.el=a;this.router=b;this.router.events.pipe(te(ZDa),qf(this.destroyed$)).subscribe(function(){var d=["scrollY",c.rememberScroll,c.router.url.toString()].join("-"),e,f=(e=c.el.nativeElement)==null?void 0:e.scrollTop;f?window.sessionStorage.setItem(d,String(f)):window.sessionStorage.removeItem(d)});this.router.events.pipe(te(YDa),qf(this.destroyed$)).subscribe(function(d){$tb(c.el.nativeElement,["scrollY",c.rememberScroll,d.url].join("-"))})};X(G5,Z);
G5.\u0275fac=function(a){return new (a||G5)(A(Rd),A(pB))};G5.\u0275dir=fd({type:G5,selectors:[["","rememberScroll",""]],inputs:{rememberScroll:"rememberScroll"},features:[zf]});var H5=function(){};H5.\u0275fac=function(a){return new (a||H5)};H5.\u0275mod=dd({type:H5});H5.\u0275inj=Ic({imports:[BB]});var dub=function(a){return{monorailRedirectUrl:a}},yub=function(){return{exact:!0}},I5=function(a,b,c,d,e,f,h,k,q,t,w,B,E,I,J,N,P,U,ba,ma,na,ya,Pa){Z.call(this);var ia=this;this.contextSensitiveRegistry=a;this.issueFridge=b;this.activeSession=c;this.permissions=d;this.editIssueService=e;this.counts=f;this.appEvents=h;this.issueInteractionsTracking=k;this.checkBeforeExit=q;this.butterBar=t;this.routerEvents=w;this.devopsGraph=B;this.refreshMonitor=E;this.eventsForIssueFridge=I;this.currentUserBookmarksFridge=
J;this.permissionsFridge=N;this.issueRelationshipsFridge=P;this.issueService=U;this.errorHandler=ba;this.monorailIssueRedirectApi=ma;this.domSafe=na;this.analytics=ya;this.helpMeFixService=Pa;this.id$=this.contextSensitiveRegistry.getIssueId().pipe(te(lj));this.issue$=this.id$.pipe(pf(this.issueFridge.watch));this.readyForView$=(0,W.race)(this.issue$.pipe(y(function(qa){return{success:!!qa}})),this.issueFridge.error$.pipe(tf(this.id$),te(function(qa){var ua=l(qa);qa=ua.next().value;ua=ua.next().value;
return!(!ua||ua!==qa.idOrKey)}),y(function(){return{success:!1}})));this.mainIssueLoadError$=this.issueFridge.error$.pipe(tf(this.id$),te(function(qa){var ua=l(qa);qa=ua.next().value;ua=ua.next().value;return!(!ua||ua!==qa.idOrKey)}),pf(function(qa){qa=l(qa);var ua=qa.next().value;qa=qa.next().value;switch(ua.status){case 403:return(0,W.of)({status:ua.status});case 404:return HMc(ia.monorailIssueRedirectApi,qa).pipe(y(function(Oa){return{status:ua.status,monorailRedirectUrl:Oa==null?void 0:Oa.toString()}}));
default:return(0,W.of)({status:ua.status})}}),mf({refCount:!0,bufferSize:1}));this.issueTrackerId$=this.issue$.pipe(y(function(qa){return qa==null?void 0:qa.trackerId}));this.showTrackerRedirect$=this.issueTrackerId$.pipe(y(function(qa){var ua;return ia.shouldShowTrackerRedirect((ua=ia.activeSession.getTracker())==null?void 0:ua.trackerId,qa)}));this.snapshot$=this.issue$.pipe(y(function(qa){return qa==null?void 0:qa.snapshot[0]}));this.archived$=this.snapshot$.pipe(y(function(qa){return qa==null?
void 0:qa.isArchived}));this.deleted$=this.snapshot$.pipe(y(function(qa){return qa==null?void 0:qa.isDeleted}));this.undeleteButtonTooltip$=this.permissions.canUndeleteIssue$.pipe(y(function(qa){return qa?void 0:"Only issue admins can undelete issues"}));this.inArchivedComponent$=this.issue$.pipe(y(function(qa){return(qa==null?void 0:qa.isArchived)&&!(qa==null?0:qa.snapshot[0].isArchived)}));this.status$=this.issue$.pipe(y(function(qa){return(qa==null?void 0:qa.snapshot[0].status)||void 0}));this.prettyStatus$=
this.status$.pipe(te(lj),y(function(qa){return Mm[qa]}));this.issue$.pipe(y(function(qa){var ua;return(ua=qa==null?void 0:qa.snapshot[0].title)!=null?ua:""}));this.issuesBeingBlocked$=this.issue$.pipe(y(function(qa){var ua;return(ua=qa==null?void 0:qa.snapshot[0].blockingIssueId)!=null?ua:[]}),cf(1E3),pf(this.issueFridge.watchSet));this.issue$.pipe(y(function(qa){var ua;return(ua=qa==null?void 0:qa.snapshot[0].duplicateIssueId)!=null?ua:[]}),cf(1E3),pf(this.issueFridge.watchSet));this.issueMetadata$=
(0,W.defer)(function(){return ia.id$}).pipe(te(lj),pf(function(qa){return ia.issueService.getMetadata(qa)}),mf({refCount:!0,bufferSize:1}));this.tabs=[{link:"./",title:"Comments",count$:this.counts.countCommentsDisplay$},{link:"./dependencies",title:"Dependencies",count$:this.counts.countDependenciesDisplay$},{link:"./dupes",title:"Duplicates",count$:this.counts.countDuplicateDisplay$},{link:"./blocking",title:"Blocking",count$:this.counts.countBlockedDisplay$},{link:"./resources",title:"Resources",
count$:this.counts.countResourcesDisplay$}].concat(r(this.activeSession.getFlag("enableCodeMentionsUi")?[{link:"./todos",title:"TODOs",count$:this.counts.countTodosDisplay$}]:[]));this.enableHelpMeFixSidebar$=this.helpMeFixService.currentConfig$.pipe(y(function(qa){return!!qa}));this.isHelpMeFixSidebarOpenInternal=new W.BehaviorSubject(void 0);this.isHelpMeFixSidebarOpen$=(0,W.combineLatest)([this.isHelpMeFixSidebarOpenInternal,this.helpMeFixService.shouldSidebarAutoOpen$]).pipe(y(function(qa){var ua=
l(qa);qa=ua.next().value;ua=ua.next().value;return qa!==void 0?qa:ua}))};X(I5,Z);I5.\u0275dir=Z.\u0275dir;I5.prototype.shouldShowTrackerRedirect=function(a,b){return!!a&&a!==b};
I5.prototype.ngOnInit=function(){var a=this,b,c,d;return fe(function(e){if(e.nextAddress==1)return b=mz,c=b.assertExists,he(e,(0,W.firstValueFrom)(a.id$),2);d=c.call(b,e.yieldResult);a.appEvents.issueViewed.next(d);a.issueInteractionsTracking.getState(d);a.subscriptions.add(a.mainIssueLoadError$.subscribe(function(f){return fe(function(h){if(h.nextAddress==1)return f.status===403?h.return():f.monorailRedirectUrl?he(h,qp(1E3),3):h.jumpTo(2);if(h.nextAddress!=2)return GH(a.domSafe,f.monorailRedirectUrl),
h.return();a.errorHandler.errorHandler(null,f);le(h)})}));a.subscriptions.add(FQ(a.checkBeforeExit,function(){return a.editIssueService.issueCommentDraft(d).comment().hasContent()},!1));a.subscriptions.add(a.routerEvents.routeChangeSuccess.subscribe(function(){a.butterBar.dismiss()}));a.subscriptions.add(a.issue$.pipe(te(lj),ef()).subscribe(function(f){lG(a.issueFridge,[f.issueId],{userActivityType:"VIEW"})}));a.subscriptions.add(a.refreshMonitor.getObservable().subscribe(function(){a.issueInteractionsTracking.trackNavigation("refresh");
a.permissionsFridge.poke("issues/"+d);a.issueRelationshipsFridge.poke(d);a.issueFridge.poke(d);a.eventsForIssueFridge.poke(d);a.currentUserBookmarksFridge.pokeAll();lG(a.issueFridge,[d],{userActivityType:"RELOAD"})}));a.subscriptions.add(a.appEvents.openHelpMeFixSidebar.subscribe(function(){a.isHelpMeFixSidebarOpenInternal.next(!0)}));a.subscriptions.add(a.appEvents.closeHelpMeFixSidebar.subscribe(function(){a.isHelpMeFixSidebarOpenInternal.next(!1);a.analytics.trackEvent("helpMeFix","close","sidebarClosed")}));
a.destroyed$.subscribe(function(){a.devopsGraph.close();var f=a.issueInteractionsTracking,h=f.getState(d);f.trackDestroy("edit-count",h.editCount);var k=Date.now()-h.startTime;Mac(f,k,"idp-time-on-page",h.variations);f.resetState(d);a.editIssueService.clear(d)});le(e)})};I5.\u0275fac=function(a){return new (a||I5)(A(wH),A(jG),A(Ir),A(sJ),A(LJ),A(bT),A(yE),A(oJ),A(EQ),A(sE),A(aG),A(O_),A(iG),A(rF),A(hF),A(OG),A(CG),A(hG),A(uE),A(d5),A(FH),A(bG),A(e5))};
I5.\u0275cmp=p({type:I5,selectors:[["issue-details-wrapper"]],features:[qg([YF,PJ,{provide:XH,useClass:F5}]),zf],decls:14,vars:6,consts:[["showIssueDetails",""],["issueDetails",""],["showTrackerRedirect",""],["showMonorailRedirect",""],["showNoAccessScreen",""],["tabPanel",""],["rla","routerLinkActive"],["class","a11y-only",4,"ngIf"],[1,"a11y-only"],[3,"ngTemplateOutlet"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["hasBackdrop","false","autosize","true"],[4,"ngTemplateOutlet"],["mode","side",
"position","end",3,"autoFocus","opened","disableClose"],["class","flex-kids-y pos-fill",3,"issue-editor-false",4,"ngIf","ngIfElse"],[1,"flex-kids-y","pos-fill"],["class","border-bottom",3,"messageType","format","iconOverride",4,"ngIf"],["messageType","caution","class","border-bottom",3,"format","iconOverride",4,"ngIf"],["messageType","error","format","app","class","border-bottom",4,"ngIf"],["class","issue-header",4,"ngIf"],[1,"flex-1","flex-kids-x","overflow","overflow-on-print-media"],["role","main",
"rememberScroll","center","cdkScrollable","",1,"flex-1","pos-rel","bg-off-main","overflow","overflow-on-print-media"],[3,"issueId",4,"ngIf"],[1,"border-bottom",3,"messageType","format","iconOverride"],["href","http://go/buganizer-issue-archive","target","_blank",4,"ngIf"],["mat-button","","aria-label","Unarchive issue",3,"click",4,"ngIf"],["href","http://go/buganizer-issue-archive","target","_blank"],["mat-button","","aria-label","Unarchive issue",3,"click"],["messageType","caution",1,"border-bottom",
3,"format","iconOverride"],["href","http://go/buganizer/guides/manage-component#archiving-a-component","target","_blank",4,"ngIf"],["href","http://go/buganizer/guides/manage-component#archiving-a-component","target","_blank"],["messageType","error","format","app",1,"border-bottom"],[4,"ngIf"],["href","http://go/issue-retention","target","_blank",4,"ngIf"],["mat-button","","aria-label","Undelete issue",3,"matTooltip","disabled","click",4,"ngIf"],["href","http://go/issue-retention","target","_blank"],
["mat-button","","aria-label","Undelete issue",3,"click","matTooltip","disabled"],[1,"issue-header"],[3,"issueId","trackerId"],[3,"issueId"],["mat-tab-nav-bar","","gmat-tabs","",3,"tabPanel"],["mat-tab-link","","routerLinkActive","",3,"routerLink","active","routerLinkActiveOptions",4,"ngFor","ngForOf"],["mat-tab-link","","routerLinkActive","",3,"routerLink","active","routerLinkActiveOptions"],["style","margin-left: 4px;",4,"ngIf"],[2,"margin-left","4px"],[1,"bv2-limited-issue-view"],[3,"issue"],["target",
"_self",3,"href"],["data-test-id","internal-access-denied",3,"issueMetadata"],["data-test-id","public-access-denied"]],template:function(a,b){a&1&&(C(0,aub,2,1,"h2",7),T(1,"async"),C(2,hub,3,4),T(3,"async"),C(4,mub,3,3,"ng-template",null,0,yg)(6,Dub,2,4,"ng-template",null,1,yg)(8,Eub,3,3,"ng-template",null,2,yg)(10,Fub,4,2,"ng-template",null,3,yg)(12,Iub,3,1,"ng-template",null,4,yg));if(a&2){var c;D("ngIf",V(1,2,b.id$));z(2);Of((c=V(3,4,b.readyForView$))?2:-1,c)}},dependencies:[T1,Fv,Gv,Kv,xA,rB,
sB,MQ,NQ,fx,o5,A5,R0,oE,HT,GT,FT,IM,DM,FM,EM,LH,OH,G5,B5,C5,Lv],styles:["[mat-tab-nav-bar][_ngcontent-%COMP%]{padding-left:8px;border-bottom:1px solid var(--divider)}mat-sidenav-container[_ngcontent-%COMP%]{height:100%}"]});var J5=function(a,b){Z.call(this);var c=this;this.issueFridge=a;this.butterBar=b;this.duplicateIssueIds$=new W.BehaviorSubject([]);this.tableColumns="focus-indicator title team id createdTime reporter menu".split(" ");this.initialSort={active:"createdTime",direction:"desc"};this.getMenuItems=function(d){return[{type:"action",label:"Remove duplicate",action:function(){c.removeDuplicate(d)},title:"Remove duplicate",icon:"clear"}]}};X(J5,Z);J5.\u0275dir=Z.\u0275dir;J5.prototype.ngOnInit=function(){};
J5.prototype.removeDuplicate=function(a){var b=this,c;return fe(function(d){if(d.nextAddress==1)return ge(d,2),he(d,b.issueFridge.removeDuplicate(b.issueId,a),4);if(d.nextAddress!=2)return Ft(d,0);c=ke(d);b.butterBar.showWarning("Could not remove duplicate "+a+". "+c);le(d)})};ea.Object.defineProperties(J5.prototype,{duplicateIds:{configurable:!0,enumerable:!0,set:function(a){this.duplicateIssueIds$.next((a!=null?a:[]).map(function(b){return String(b)}))}}});
J5.\u0275fac=function(a){return new (a||J5)(A(jG),A(sE))};J5.\u0275cmp=p({type:J5,selectors:[["b-duplicates-table"]],inputs:{duplicateIds:"duplicateIds",issueId:"issueId"},features:[zf],decls:2,vars:3,consts:[[4,"ngIf"],[3,"issueIds","menuItemFactory","tableColumns","initialSort"]],template:function(a,b){a&1&&(C(0,Jub,2,4,"ng-container",0),T(1,"async"));a&2&&D("ngIf",V(1,1,b.duplicateIssueIds$))},dependencies:[Gv,fT,Lv],encapsulation:2,changeDetection:0});var K5=function(a,b,c,d,e,f){Z.call(this);var h=this;this.paramsService=a;this.issues=b;this.issuePicker=c;this.snackBar=d;this.counts=e;this.imageUrls=f;this.ROBOT_SLEEPING=this.imageUrls.ROBOT_SLEEPING;this.id$=this.paramsService.issueId$;this.dupeUrl$=this.id$.pipe(y(function(k){return{path:"/issues",params:{q:"canonicalid:"+k}}}));this.issue$=this.id$.pipe(pf(this.issues.watch));this.duplicateIds$=this.issue$.pipe(y(function(k){var q;return(q=k==null?void 0:k.snapshot[0].duplicateIssueId)!=null?
q:[]}));this.duplicatesCount$=this.duplicateIds$.pipe(pf(function(k){return k.length===0?(0,W.of)(0):h.counts.duplicatesDualCount$.pipe(y(function(q){return q.total.count}))}));this.showTable$=this.duplicatesCount$.pipe(y(function(k){return k>0}),of(!0));this.didChooseDupes=function(k){var q=fo(h.id$);q!=null&&r8b(h.issues,q,k[0]).catch(h.gotErr)};this.gotErr=function(k){h.snackBar.open(nn(k)||"Error with network request","close",{panelClass:"error"})}};X(K5,Z);K5.\u0275dir=Z.\u0275dir;
K5.prototype.isThinking=function(){return this.issues.isThinking()};var Kub=function(a){a.issuePicker.open({title:"Add Duplicate",allowMultipleIds:!1,edgeType:"duplicate"},a.didChooseDupes)};K5.\u0275fac=function(a){return new (a||K5)(A(vH),A(jG),A(NS),A(XD),A(bT),A(VP))};
K5.\u0275cmp=p({type:K5,selectors:[["ng-component"]],features:[zf],decls:4,vars:4,consts:[["hasResults",""],[1,"carded","bg-main"],[4,"ngIf"],["class","pos-tr padded",4,"ngIf"],["class","empty-state layout-centered-column gap",4,"ngIf","ngIfElse"],[1,"empty-state","layout-centered-column","gap"],["aria-hidden","true","alt","",3,"src"],[1,"type-l"],[1,"muted"],["href","https://developers.google.com/issue-tracker/guides/duplicate-issue",1,"nowrap"],["mat-flat-button","","color","primary","matTooltip",
"Add a duplicate to the current issue",1,"gmat-button","small",3,"click"],[1,"section-heading","muted"],["mat-flat-button","","color","primary","matTooltip","Add a duplicate to the current issue",1,"gmat-button","small","add",3,"click"],[3,"issueId","duplicateIds",4,"ngIf"],[1,"margin-s-top","flex-kids-x","gap-s"],[3,"issueId","duplicateIds"],["mat-button","","color","primary",1,"gmat-button","small",3,"routerLink","queryParams"],[1,"pos-tr","padded"]],template:function(a,b){a&1&&(F(0,"section",1),
C(1,Pub,5,4,"ng-container",2),T(2,"async"),G(),C(3,Qub,2,0,"aside",3));a&2&&(z(),D("ngIf",V(2,2,b.duplicateIds$)),z(2),D("ngIf",b.isThinking()))},dependencies:[Gv,rB,oE,pE,LH,OH,RQ,J5,Lv],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 L5=function(){};L5.\u0275fac=function(a){return new (a||L5)};L5.\u0275mod=dd({type:L5});L5.\u0275inj=Ic({imports:[BB,dB,nE,My,Ny,ML,JM,aM,NL,xP,hM,AS,oT]});var oNc=function(a){this.internalArray_=m(a)};X(oNc,Y);g=oNc.prototype;g.getIssueId=function(){return ej(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return ej(this,1)};g.getIssueId_asString=function(){return du(this,1)};g.setIssueId=function(a){return bj(this,1,a)};g.getAttachmentId_asLegacyNumberOrString=function(){return ej(this,2)};g.setAttachmentId=function(a){return bj(this,2,a)};g.getRestrictedRetention=function(){return fj(this,3,0)};
g.setRestrictedRetention=function(a){return dj(this,3,a)};var pNc=function(a){this.internalArray_=m(a)};X(pNc,Y);pNc.prototype.getIt=function(){return $i(this,oNc,4)};pNc.prototype.setIt=function(a){return oj(this,oNc,4,a)};var M5=function(a){this.executor=a};M5.prototype.updateRetention=function(a,b,c){c=(new pNc).setIt((new oNc).setIssueId(a).setAttachmentId(b).setRestrictedRetention(uua(c)));return this.executor.post({url:"action/issues/"+a+"/attachments/"+b+"/update_retention",body:c,responseConstructor:OI}).pipe(y(dGa))};M5.\u0275fac=function(a){return new (a||M5)(n(IB))};M5.\u0275prov=Hc({token:M5,factory:M5.\u0275fac,providedIn:"root"});var N5=function(){this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc";this.isGreyedOut=!0;this.linkUrl=this.displayName="";this.useCustomHandler=this.linkEnabled=!1;this.customHandler=new XF};N5.prototype.handleClick=function(a){this.useCustomHandler&&(a.preventDefault(),this.customHandler.emit())};N5.\u0275fac=function(a){return new (a||N5)};
N5.\u0275cmp=p({type:N5,selectors:[["b-conditional-link"]],inputs:{isGreyedOut:"isGreyedOut",displayName:"displayName",linkUrl:"linkUrl",linkEnabled:"linkEnabled",useCustomHandler:"useCustomHandler"},outputs:{customHandler:"customHandler"},decls:2,vars:2,consts:[[3,"muted",4,"ngIf"],["class","normal-link","target","_blank",3,"href","rel","click",4,"ngIf"],["target","_blank",1,"normal-link",3,"click","href","rel"]],template:function(a,b){a&1&&C(0,Rub,2,3,"span",0)(1,Sub,2,3,"a",1);a&2&&(D("ngIf",b.isGreyedOut||
!b.linkEnabled),z(),D("ngIf",!b.isGreyedOut&&b.linkEnabled))},dependencies:[Gv],encapsulation:2,changeDetection:0});var O5=function(a,b,c,d,e,f,h,k,q,t,w,B,E,I,J,N){Z.call(this);this.activeSession=a;this.documentationLinks=b;this.domSafe=c;this.matDialogService=d;this.attachmentService=e;this.cdr=f;this.differs=h;this.paths=k;this.userAccess=q;this.butterBar=t;this.errorHandler=w;this.analytics=B;this.issueCommentDialogsService=E;this.issuePermissionService=I;this.editIssueService=J;this.routeParams=N;this.hasViewAccess=!1;this.actionMenuItems=[];this.attachmentRetentionSaveInProgress=!1;this.canDeleteAttachment$=
new W.BehaviorSubject(!1);this.canUndeleteAttachment$=new W.BehaviorSubject(!1)};X(O5,Z);O5.\u0275dir=Z.\u0275dir;
O5.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;qNc(this);rNc(this);this.issuePermissionService.canDeleteAttachment$(this.attachment,this.attachmentUploader).pipe(qf(this.destroyed$)).subscribe(function(c){a.canDeleteAttachment$.next(c);qNc(a)});this.issuePermissionService.canUndeleteAttachment$(this.attachment,this.attachmentUploader).pipe(qf(this.destroyed$)).subscribe(function(c){a.canUndeleteAttachment$.next(c);
qNc(a)})};O5.prototype.ngDoCheck=function(){this.attachmentDiffer&&this.attachmentDiffer.diff(this.attachment)&&qNc(this)};O5.prototype.ngOnChanges=function(a){this.setHasViewAccess();a.attachment&&this.attachment&&(this.attachmentDiffer=this.differs.find(this.attachment).create())};
var qNc=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(){jbc(a.editIssueService,a.issueId,a.attachment)},label:"Restore attachment"});a.actionMenuItems.push({type:"action",action:function(){IEc(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";HEc(a.issueCommentDialogsService,"attachment",d).then(function(e){e&&sNc(a,d)})},label:c?"Match issue retention...":"Revert to component retention..."})}a.cdr.markForCheck()};
O5.prototype.setHasViewAccess=function(){var a=this;this.isRestricted()?this.attachment==null?this.hasViewAccess=!1:(this.hasViewAccess=!1,oD(this.userAccess,"reader","issues/"+this.issueId+"/attachments/"+this.attachment.attachmentId).then(function(b){a.hasViewAccess=b;a.cdr.detectChanges()})):this.hasViewAccess=!0};O5.prototype.getFilename=function(){var a;return((a=this.attachment)==null?void 0:a.filename)||""};
O5.prototype.getSize=function(){var a;return((a=this.attachment)==null?void 0:a.length)||0};var Wub=function(a,b){b=b===void 0?!0:b;var c;if((c=a.attachment)==null||!c.attachmentId)throw Error("qf");c="action/issues/"+a.issueId.toString()+"/attachments/"+a.attachment.attachmentId.toString();a=a.paths.getBaseUrl()+"/"+c;return Kbc(a,"download",b)};
O5.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"};O5.prototype.isRestricted=function(){return this.getRestrictionSeverity()!=="NONE_DETECTED"};O5.prototype.getRestrictionSeverity=function(){var a;return mo((a=this.attachment)==null?void 0:a.contentVerdict)};O5.prototype.getRestrictedLabel=function(){return ZFa(this.getRestrictionSeverity())};
var Xub=function(a){return(a=a.getRestrictionSeverity())?"bv2-restricted-content-limit-"+YFa(a):""},Vub=function(a,b){a.analytics.trackEvent("restrictedContent","viewRestrictedContent","attachment");a.matDialogService.open(wV,{width:"400px",data:{attachment:a.attachment,issueId:a.issueId,download:b}})};O5.prototype.showDeleteAttachmentDialog=function(){var a;(a=this.attachment)!=null&&a.attachmentId&&this.issueCommentDialogsService.showDeleteAttachmentDialog(this.issueId,this.attachment)};
var sNc=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(qf(a.destroyed$)).subscribe({next:function(d){a.attachmentRetentionSaveInProgress=!1;a.attachment&&(a.attachment.piiRetention=d.piiRetention,a.attachment.piiRetentionState=d.piiRetentionState);Ap(a.butterBar,"Attachment retention updated",
4E3);a.attachmentRetentionOverride=b==="INDEFINITE"?"INDEFINITE":"COMPONENT_DEFAULT";qNc(a);a.cdr.detectChanges()},error:function(){a.attachmentRetentionSaveInProgress=!1;vE(a.errorHandler,"Attachment retention update failed")}})):vE(a.errorHandler,"Attachment id is missing")},rNc=function(a){var b,c,d;fe(function(e){(b=Number(a.routeParams.downloadAttachment))&&b===((c=a.attachment)==null?void 0:c.attachmentId)&&(d=a.routeParams.download==="true",Vub(a,d));le(e)})};
O5.\u0275fac=function(a){return new (a||O5)(A(Ir),A(oI),A(FH),A(wI),A(M5),A(YF,2),A(yv),A(pN),A(mD),A(sE),A(uE),A(bG),A(s_),A(sJ),A(LJ),A(iJ))};
O5.\u0275cmp=p({type:O5,selectors:[["b-attachment-viewer"]],inputs:{attachment:"attachment",issueId:"issueId",attachmentUploader:"attachmentUploader"},features:[qg([YF]),zf,td],decls:16,vars:8,consts:[["restrictedAccessHelp",""],[1,"bv2-issue-attachment-image"],["name","file-present","size","large",1,"bv2-issue-attachment-icon"],[1,"bv2-issue-attachment-filename"],[1,"bv2-issue-event-attachment-info"],[3,"label","retentionState","contentType",4,"ngIf"],["class","bv2-issue-attachment-overflow-menu",
4,"ngIf"],[3,"class",4,"ngIf"],[3,"panelTemplate"],["class","bv2-restricted-access-help-icon help-icon",4,"ngIf"],[3,"label","retentionState","contentType"],[1,"bv2-issue-attachment-overflow-menu"],[1,"issue-detail-actions",3,"menuItems","buttonLabel","matTooltip"],[3,"customHandler","isGreyedOut","displayName","linkUrl","linkEnabled","useCustomHandler"],[1,"bv2-restricted-access-help-icon","help-icon"],["aria-label","Restricted Access Help","mat-icon-button","","target","_blank",1,"help","small",
3,"href","disableRipple"],[3,"svgIcon"],[1,"implicit-access-help-bubble"],["target","_blank",3,"href"]],template:function(a,b){a&1&&(F(0,"div",1),H(1,"b-icon",2),G(),F(2,"div")(3,"div",3),R(4),F(5,"span",4),C(6,Tub,1,3,"b-restricted-chip",5)(7,Uub,2,3,"span",6),G()(),F(8,"div"),R(9),C(10,Yub,2,8,"span",7)(11,Zub,2,8,"span",7),F(12,"xap-bubble",8),C(13,$ub,3,3,"span",9)(14,avb,4,1,"ng-template",null,0,yg),G()()());if(a&2){a=Q(15);z(4);S(" ",b.getFilename()," ");z(2);D("ngIf",b.isRestricted());z();
D("ngIf",b.actionMenuItems.length>0);z(2);S(" ",dHa(b.getSize())," ");z();var c;var d=b.isActive()&&Mta((c=b.attachment)==null?void 0:c.contentType);D("ngIf",d);z();D("ngIf",b.isActive());z();D("panelTemplate",a);z();D("ngIf",b.isRestricted()&&!b.hasViewAccess)}},dependencies:[Gv,zB,WS,N5,hN,IH,Ux,LH,OH,u3,xN],encapsulation:2,changeDetection:0});var P5=function(a,b,c){var d=this;this.helpMeFixService=a;this.appEvents=b;this.analytics=c;this.showButton$=this.helpMeFixService.currentConfig$.pipe(y(function(e){return!!e}),sf(function(e){e&&d.analytics.trackEvent("helpMeFix","display","openButtonShown")}))};P5.prototype.openHelpMeFixSidebar=function(){this.appEvents.openHelpMeFixSidebar.next()};P5.\u0275fac=function(a){return new (a||P5)(A(e5),A(yE),A(bG))};
P5.\u0275cmp=p({type:P5,selectors:[["smart-help-me-fix-button"]],decls:2,vars:3,consts:[["mat-flat-button","",1,"gmat-button","margin-s-top"],["mat-flat-button","",1,"gmat-button","margin-s-top",3,"click"],["svgIcon","spark_24px",1,"margin-xs-right"]],template:function(a,b){a&1&&(C(0,bvb,3,0,"button",0),T(1,"async"));a&2&&Of(V(1,1,b.showButton$)?0:-1)},dependencies:[zB,oE,Lv],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 tNc=["commentActionsMenu"],uNc=["editDescription"],yvb=function(){return[]},Q5=function(a,b,c,d,e,f,h,k,q,t,w,B,E,I,J){Z.call(this);var N=this;this.eventsForIssue=a;this.userPreferencesManager=b;this.issueFridge=c;this.issueReferenceResolver=d;this.activeSession=e;this.commentService=f;this.errorHandler=h;this.analytics=k;this.butterBar=q;this.userAccess=t;this.issueCommentDialogsService=w;this.issuePermissionService=B;this.commentHistoryDialogService=E;this.dateFormatter=I;this.domSafe=J;this.id$=
new W.ReplaySubject(1);this.accessLevel$=this.id$.pipe(pf(this.issueFridge.watch),y(function(P){var U;return P==null?void 0:(U=P.accessLimit)==null?void 0:U.accessLevel}));this.firstEvent$=new W.ReplaySubject(1);this.firstNote$=this.firstEvent$.pipe(y(function(P){return P}));this.commentActionMenuItems$=new W.BehaviorSubject([]);this.isFormattingOverrideEnabled=!1;this.formattingMode="PLAIN";this.formattingMode$=eo(this.firstEvent$.pipe(te(lj),y(function(P){return P.formattingMode})),"PLAIN");this.isRedacted$=
this.firstEvent$.pipe(te(lj),y(function(P){return P.commentRedacted}));this.isDeleted$=this.firstEvent$.pipe(te(lj),y(function(P){return P.commentDeletionStatus==="DELETED"}));this.shouldShowRestrictedPlaceholder$=(0,W.combineLatest)([this.isRedacted$,this.isDeleted$]).pipe(y(function(P){var U=l(P);P=U.next().value;U=U.next().value;return!(!P||U)}));this.isRestricted$=this.firstEvent$.pipe(te(lj),y(function(P){return mo(P.commentContentVerdict)}),y(function(P){switch(P){case "NONE_DETECTED":case "RESTRICTION_SEVERITY_UNSPECIFIED":return!1;
case "RESTRICTED":case "RESTRICTED_PLUS":return!0;default:Dc(P)}}));this.commentRetentionOverride$=this.firstEvent$.pipe(te(lj),y(function(P){return P.commentRetention}));this.commentHistoryEnabled=this.activeSession.getFlag("enableCommentHistoryUi");this.isShowCommentHistoryActionInMenu$=(0,W.combineLatest)([this.firstEvent$,this.isRedacted$]).pipe(y(function(P){var U=l(P);P=U.next().value;U=U.next().value;return!(!(N.activeSession.getFlag("enableCommentHistoryUi")&&((P==null?void 0:P.commentVersion)||
0)>0)||U)}));this.canEditComment$=this.firstEvent$.pipe(pf(function(P){return P?N.issuePermissionService.canEditComment$(P):(0,W.of)(!1)}),mf({refCount:!0,bufferSize:1}));this.canEditComment=function(){return!!fo(N.canEditComment$)};this.mayReadPii$=this.isRestricted$.pipe(pf(function(P){return P?N.mayReadPii():(0,W.of)(void 0)}));this.reporterUser$=this.id$.pipe(pf(function(P){return N.issueFridge.watch(P)}),y(function(P){var U;return P==null?void 0:(U=P.snapshot[0])==null?void 0:U.reporterUser}));
this.reporterUserEmailAddress$=this.reporterUser$.pipe(y(function(P){return sm(P)||""}));this.allEvents$=this.id$.pipe(pf(function(P){return N.eventsForIssue.watch(P)}));this.attachments$=this.allEvents$.pipe(y(function(P){var U,ba;return(ba=P==null?void 0:(U=P.events[0])==null?void 0:U.attachments)!=null?ba:[]}));this.initialReporterEmail$=this.allEvents$.pipe(y(function(P){return P==null?void 0:P.events[0]}),y(function(P){P=l((P==null?void 0:P.postDiffs)||[]);for(var U=P.next();!U.done;U=P.next())if(U=
U.value,U.name==="reporter")return U.newValue||"";return""}));this.onBehalfOfEmail$=(0,W.combineLatest)([this.initialReporterEmail$,this.reporterUserEmailAddress$]).pipe(y(function(P){var U=l(P);P=U.next().value;U=U.next().value;return P||U}));this.originalAuthor$=this.allEvents$.pipe(y(function(P){return P==null?void 0:P.events[0]}),y(function(P){return P==null?void 0:P.userPerformingActionUser}));this.originalAuthorEmail$=this.originalAuthor$.pipe(y(sm));this.isAuthorNotReporter$=(0,W.combineLatest)([this.originalAuthorEmail$,
this.onBehalfOfEmail$]).pipe(y(function(P){var U=l(P);P=U.next().value;U=U.next().value;return P!==U}));this.doesDescriptionContainStackTrace$=this.firstEvent$.pipe(y(function(P){if(!P||!P.unlinkifiedComment)return!1;var U;return((U=P.unlinkifiedComment.match(LMc))!=null?U:[]).length>0}),mf({refCount:!0,bufferSize:1}))};X(Q5,Z);Q5.\u0275dir=Z.\u0275dir;
Q5.prototype.mayReadPii=function(){var a=this;return this.id$.pipe(pf(function(b){return(0,W.defer)(function(){return oD(a.userAccess,"reader","issues/"+b+"/comments/1").catch(function(c){Ei("error: ",c);return!1})})}))};
Q5.prototype.ngOnInit=function(){var a=this;vNc(this,"PLAIN");this.id$.pipe(pf(function(b){return a.issueFridge.watch(b)}),y(function(b){return(b==null?void 0:b.description)&&qza(b==null?void 0:b.description,b)}),qf(this.destroyed$)).subscribe(function(b){a.firstEvent$.next(b)});this.canEditComment$.pipe(qf(this.destroyed$)).subscribe(function(){a.initializeActionsMenu()});this.userPreferencesManager.textDisplayPreferencesSubject$.pipe(qf(this.destroyed$)).subscribe(function(b){a.isFormattingOverrideEnabled=
b.commentDisplayOverride!=null;a.initializeActionsMenu()});this.formattingMode$.pipe(qf(this.destroyed$)).subscribe(function(b){a.formattingMode=b!=null?b:"PLAIN";vNc(a,b!=null?b:"PLAIN")});this.issuePermissionService.canChangeCommentRetention$.pipe(qf(this.destroyed$)).subscribe(function(){a.initializeActionsMenu()});this.subscriptions.add(this.doesDescriptionContainStackTrace$.pipe(ef()).subscribe(function(b){b&&a.analytics.trackEvent("helpMeFix","display","descriptionContainsStackTrace")}))};
Q5.prototype.initializeActionsMenu=function(){var a=this,b=[];this.isFormattingOverrideEnabled||b.push(Object.assign({},Hpc,{items:[this.formattingModeMenuItems.PLAIN,this.formattingModeMenuItems.MARKDOWN,this.formattingModeMenuItems.LITERAL]}));var c=fo(this.firstEvent$);this.canEditComment()&&c&&b.push({type:"action",action:function(){sr(a.issueCommentDialogsService,a.id,c).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})},label:"Edit description...",disabled:fo(this.isRedacted$)});
fo(this.isShowCommentHistoryActionInMenu$)&&c&&b.push(Object.assign({},Jpc,{action:function(){c.commentNumber&&a.showCommentHistoryDialog(c.commentNumber).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})}}));c&&Pac(this.issuePermissionService,c)&&b.push({type:"action",action:function(){c.commentEtag&&FEc(a.issueCommentDialogsService,a.id,1,c.commentEtag).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})},label:"Delete description"});c&&Oac(this.issuePermissionService,
c)&&b.push({type:"action",action:function(){CEc(a.issueCommentDialogsService,a.id,1).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})},label:"Restore description"});c&&fo(this.issuePermissionService.hasAclToView$)&&b.push(Object.assign({},Ipc,{action:function(){GEc(a.issueCommentDialogsService,a.id,c).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})}}));if(fo(this.isRestricted$)&&this.issuePermissionService.canChangeCommentRetention()&&!fo(this.isDeleted$)&&
this.activeSession.isInternalSession()){var d=fo(this.commentRetentionOverride$)==="COMPONENT_DEFAULT";b.push({type:"action",action:function(){var e=d?"INDEFINITE":"COMPONENT_DEFAULT";HEc(a.issueCommentDialogsService,"comment",e).then(function(f){a.commentActionsMenu.actionsMenuIconButton.focus();f&&a.updateCommentRetention(e)})},label:d?"Match issue retention...":"Revert to component retention..."})}rRa({userIsExternal:!this.activeSession.isInternalSession(),issueIsExternal:fo(this.accessLevel$)!==
"INTERNAL"})&&b.push(Object.assign({},Gpc,{action:function(){var e=sRa({bugId:a.id,comment:1});a.domSafe.openInNewTab(e)}}));this.commentActionMenuItems$.next(b)};
var vNc=function(a,b){var c={};a.formattingModeMenuItems=(c.PLAIN={type:"select",action:function(){a.formattingMode$.next("PLAIN");a.initializeActionsMenu()},label:"Classic",selected:b==="PLAIN"},c.MARKDOWN={type:"select",action:function(){a.formattingMode$.next("MARKDOWN");a.initializeActionsMenu()},label:"Markdown",selected:b==="MARKDOWN"},c.LITERAL={type:"select",action:function(){a.formattingMode$.next("LITERAL");a.initializeActionsMenu()},label:"Source",selected:b==="LITERAL"},c)};
Q5.prototype.updateCommentRetention=function(a){var b=this,c=fo(this.firstEvent$),d=fo(this.id$);c&&!c.commentNumber&&vE(this.errorHandler,"Comment number is missing");this.analytics.trackEvent("restrictedContent","updateRetention","comment");d&&c&&this.commentService.updateRetention(d,c.commentNumber||0,a).pipe(qf(this.destroyed$)).subscribe({next:function(){b.eventsForIssue.poke(d);Ap(b.butterBar,"Comment retention updated",4E3);b.initializeActionsMenu()},error:function(){vE(b.errorHandler,"Comment retention update failed")}})};
Q5.prototype.loadRestrictedComment=function(a,b){var c=this;this.analytics.trackEvent("restrictedContent","viewRestrictedContent","comment");var d=b.commentNumber||0,e=mo(b.commentContentVerdict);a&&this.commentService.get(a,d,e).pipe(ef(),qf(this.destroyed$)).subscribe(function(f){f=MCa(b,f);c.firstEvent$.next(f);c.initializeActionsMenu()},function(f){var h;c.butterBar.showWarning("Error showing comment "+d+": "+((h=f.error)==null?void 0:h.message))})};
Q5.prototype.showCommentHistoryDialog=function(a){return this.commentHistoryDialogService.show(this.id,a,-1)};var cvb=function(a){var b=fo(a.firstEvent$);b&&sr(a.issueCommentDialogsService,a.id,b).then(function(){a.editDescriptionButton.focus()})},ivb=function(a,b){var c="Last edited by ";b.version===0&&b.lastCommentEditorUser&&(c+=pm(b.lastCommentEditorUser));b.commentLastModifiedAtDate&&(c+=" on ",SM(a.dateFormatter,new Date(b.commentLastModifiedAtDate)).subscribe(function(d){c+=d}));return c};
ea.Object.defineProperties(Q5.prototype,{id:{configurable:!0,enumerable:!0,set:function(a){this.id$.next(a)},get:function(){return fo(this.id$)}}});Q5.\u0275fac=function(a){return new (a||Q5)(A(rF),A(rH),A(jG),A(XH),A(Ir),A(ZI),A(uE),A(bG),A(sE),A(mD),A(s_),A(sJ),A(aW),A(RM),A(FH))};
Q5.\u0275cmp=p({type:Q5,selectors:[["b-issue-description"]],viewQuery:function(a,b){a&1&&(fg(tNc,5),fg(uNc,5));if(a&2){var c;jg(c=kg())&&(b.commentActionsMenu=c.first);jg(c=kg())&&(b.editDescriptionButton=c.first)}},inputs:{id:"id"},features:[zf],decls:4,vars:4,consts:[["loading",""],["commentActionsMenu",""],["showFirstComment",""],["editDescription",""],["card",""],["showNote",""],["id","comment1","class","flex-kids-x",4,"ngIf","ngIfElse"],["id","comment1",1,"flex-kids-x"],["svgIcon","description_24px",
"color","primary",1,"margin-xs-right","shrink-0"],[1,"flex-1-hemmed"],[1,"flex-kids-x"],[1,"flex-1"],[1,"uppercase","inline-block","margin-xs-right"],["mat-stroked-button","","color","primary","class","gmat-button update-button small margin-xs-right","aria-label","Edit description",3,"click",4,"ngIf"],[4,"ngIf"],["class","keep-focus-ring first-comment",3,"routerLinkObj","click",4,"ngIf"],["mode","datetime",1,"margin-s-right",3,"timestamp"],[1,"issue-detail-actions",3,"buttonLabel","menuItems"],[4,
"ngIf","ngIfElse"],["mat-stroked-button","","color","primary","aria-label","Edit description",1,"gmat-button","update-button","small","margin-xs-right",3,"click"],[3,"onedevHovercardTrigger","model"],[3,"email"],[3,"email","showEmail"],[1,"keep-focus-ring","first-comment",3,"click","routerLinkObj"],[1,"muted",3,"matTooltip"],[1,"description-deleted"],["class","critical-feature",3,"disabled","onConfirm",4,"ngIf"],[1,"critical-feature",3,"onConfirm","disabled"],["class","muted critical-feature",4,"ngIf"],
["class","critical-feature",3,"issueId","issueAccessLevel","note","formattingMode",4,"ngIf"],[1,"critical-feature",3,"issueId","issueAccessLevel","note","formattingMode"],[1,"muted","critical-feature"],["class","margin-s-y border-top bv2-issue-event-attachments",4,"ngIf"],[1,"margin-s-y","border-top","bv2-issue-event-attachments"],["class","margin-s-y bv2-issue-event-attachment",3,"id",4,"ngFor","ngForOf"],[1,"margin-s-y","bv2-issue-event-attachment",3,"id"],[3,"issueId","attachment","attachmentUploader"]],
template:function(a,b){a&1&&(C(0,zvb,27,26,"div",6),T(1,"async"),C(2,Avb,1,0,"ng-template",null,0,yg));a&2&&(a=Q(3),D("ngIf",V(1,2,b.firstEvent$))("ngIfElse",a))},dependencies:[WS,O5,LL,Fv,Gv,zB,wB,TM,$H,gI,qL,oE,LH,OH,w3,RQ,$M,eN,P5,Lv],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 R5=function(a,b,c,d){Z.call(this);this.prefs=a;this.cdr=b;this.analytics=c;this.butterBar=d;this.on$=this.prefs.showFullHistory$;this.isSaving=!1;this.tooltip$=this.on$.pipe(y(function(e){return e?"(Showing full history) Click for major events only":"(Showing major events) Click for full history"}),of(""))};X(R5,Z);R5.\u0275dir=Z.\u0275dir;
R5.prototype.onClick=function(){var a=this,b;return fe(function(c){if(c.nextAddress==1)return a.isSaving?c.return():he(c,(0,W.firstValueFrom)(a.on$),2);b=c.yieldResult;a.save(!b);le(c)})};
R5.prototype.save=function(a){var b=this;this.analytics.trackEvent("editIssue","toggleShowFullHistory",String(a));this.isSaving=!0;var c=(0,W.firstValueFrom)(this.prefs.save({showFullHistory:a}));c.then(function(){b.isSaving=!1;b.cdr.markForCheck()});c.catch(function(){b.butterBar.showWarning('Couldn\'t save "full history" setting.');b.isSaving=!1;b.cdr.markForCheck()});this.prefs.save({commentFilterPreferences:{commentFilter:a?"FULL_HISTORY":"ALL_COMMENTS"}}).pipe(qf(this.destroyed$)).subscribe()};
R5.\u0275fac=function(a){return new (a||R5)(A(rH),A(Ig),A(bG),A(sE))};
R5.\u0275cmp=p({type:R5,selectors:[["smart-full-history-btn"]],features:[zf],decls:7,vars:16,consts:[["mat-icon-button","",1,"gmat-button",3,"click","matTooltip","disabled"],["svgIcon","history","class","icon-s",4,"ngIf"],[4,"ngIf"],["svgIcon","history",1,"icon-s"]],template:function(a,b){a&1&&(F(0,"button",0),T(1,"async"),T(2,"async"),T(3,"async"),T(4,"async"),M("click",function(){return b.onClick()}),C(5,Bvb,1,0,"mat-icon",1)(6,Cvb,1,0,"b-spinner",2),G());a&2&&(Kf("on",V(1,8,b.on$)),D("matTooltip",
V(2,10,b.tooltip$))("disabled",b.isSaving),Bf("aria-pressed",V(3,12,b.on$))("aria-label",V(4,14,b.tooltip$)),z(5),D("ngIf",!b.isSaving),z(),D("ngIf",b.isSaving))},dependencies:[Gv,zB,oE,LH,OH,RQ,Lv],styles:["mat-icon[_ngcontent-%COMP%] {\n      display: flex;\n      margin: 0 auto;\n    }\n    [_nghost-%COMP%]     .on .mat-mdc-progress-spinner circle {\n      stroke: var(--text-inverse); \n\n    }"],changeDetection:0});var S5=function(a,b,c,d,e,f,h){Z.call(this);var k=this;this.issueFridge=a;this.eventsForIssueFridge=b;this.hotlistPickerService=c;this.issueInteractionsTracking=d;this.errorHandler=e;this.liveAnnouncer=f;this.activeSession=h;this.issueTypeToDisplay=Lm;this.STATUS_JS_FULL_TEXT=Mm;this.STATUS_JS_TERSE=a5b;this.DUPLICATE="DUPLICATE";this.id$=new W.ReplaySubject(1);this.issue$=this.id$.pipe(pf(this.issueFridge.watch));this.hotlistIds$=this.issue$.pipe(y(Mvb));this.textOfHotlistBtn$=this.hotlistIds$.pipe(y(function(q){var t;
return(t=q==null?void 0:q.length)!=null?t:0}),y(function(q){return q<=5?"Add Hotlist":""}));this.priority$=this.issue$.pipe(y(function(q){return(q==null?void 0:q.snapshot[0].priority)||void 0}));this.type$=this.issue$.pipe(y(function(q){var t;return(t=q==null?void 0:q.snapshot[0].type)!=null?t:void 0}));this.canonicalId$=this.issue$.pipe(y(function(q){return q==null?void 0:q.snapshot[0].duplicateOfIssueId}));this.status$=this.issue$.pipe(y(function(q){return(q==null?void 0:q.snapshot[0].status)||
void 0}));this.statusForChip$=this.status$.pipe(y(function(q){return c5b[q]?q:void 0}));this.statusCssClass$=this.status$.pipe(y(function(q){return k.computeStatusCssClass(q)}));this.HOTKEYS=Sq;this.enableCommentFilters=this.activeSession.getFlag("enableCommentFiltering")};X(S5,Z);S5.\u0275dir=Z.\u0275dir;S5.prototype.computeStatusCssClass=function(a){return a?"status-"+a:""};
var Ivb=function(a){return fe(function(b){return he(b,tqc(a.hotlistPickerService,a.issue$),0)})},Gvb=function(a,b){var c,d;return fe(function(e){switch(e.nextAddress){case 1:return he(e,(0,W.firstValueFrom)(a.id$),2);case 2:c=e.yieldResult;pJ(a.issueInteractionsTracking,c,{label:"remove-hotlists",value:1});ge(e,3,4);var f=q8b(a.issueFridge,c,[],[String(b)]);return he(e,f,6);case 6:return he(e,a.liveAnnouncer.announce("Hotlist removed successfully"),4);case 4:ie(e);a.eventsForIssueFridge.poke(c);je(e,
0);break;case 3:d=ke(e),wE(a.errorHandler,d),e.jumpTo(4)}})};ea.Object.defineProperties(S5.prototype,{id:{configurable:!0,enumerable:!0,set:function(a){this.id$.next(a)}}});S5.\u0275fac=function(a){return new (a||S5)(A(jG),A(rF),A(yT),A(oJ),A(uE),A(vw),A(Ir))};
S5.\u0275cmp=p({type:S5,selectors:[["issue-description-area"]],inputs:{id:"id"},features:[zf],decls:14,vars:13,consts:[["canonicalHovercard","onedevHovercard"],["canonicalCardBody",""],[1,"flex-kids-x","gap-s"],[1,"chip-container","border-right","padded-s-right"],[4,"ngIf"],[3,"class",4,"ngIf"],[3,"issuePriority"],["class","flex-1 hotlist-container chip-container",4,"ngIf"],["class","thread-filters",4,"ngIf"],[3,"onedevIsHovercardReady","issueId",4,"onedevHovercardLazyBody"],[3,"title"],["class",
"type-s nowrap",4,"ngIf"],[1,"type-s","nowrap"],[3,"routerLink","onedevHovercardTrigger"],[1,"flex-1","hotlist-container","chip-container"],["mat-stroked-button","","aria-label","Add Hotlist","matTooltip","Add Hotlist",1,"gmat-button","small","add-hotlists-btn",3,"onHotkey","click","hotkey"],["svgIcon","add",1,"icon-xs"],["removable","check-acl",3,"id","removeHotlist",4,"ngFor","ngForOf"],["removable","check-acl",3,"removeHotlist","id"],[1,"thread-filters"],[3,"onedevIsHovercardReady","issueId"]],
template:function(a,b){a&1&&(F(0,"div",2)(1,"div",3),C(2,Evb,6,10,"div",4),T(3,"async"),C(4,Fvb,2,4,"span",5),T(5,"async"),H(6,"b-issue-priority-display",6),T(7,"async"),G(),C(8,Jvb,6,5,"div",7),T(9,"async"),C(10,Kvb,2,0,"div",8),G(),F(11,"onedev-hovercard",null,0),C(13,Lvb,3,4,"b-issue-card",9),G());a&2&&(z(2),D("ngIf",V(3,5,b.statusForChip$)),z(2),D("ngIf",V(5,7,b.type$)),z(2),D("issuePriority",V(7,9,b.priority$)),z(2),D("ngIf",V(9,11,b.hotlistIds$)),z(2),D("ngIf",!b.enableCommentFilters))},dependencies:[Fv,
Gv,zB,rB,MN,IY,$H,aI,gI,bI,VN,mN,oE,LH,OH,R5,Lv],styles:["[_nghost-%COMP%]{display:block}.add-hotlists-btn[_ngcontent-%COMP%], button.gmat-button[_ngcontent-%COMP%]:not(.mat-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[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{color:#5f6368;color:var(--icon);margin:0 -2px;margin-top:-3px}.chip-container[_ngcontent-%COMP%]{-webkit-align-self:start;-ms-flex-item-align:start;align-self:start;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;gap:8px;line-height:22px}.hotlist-container[_ngcontent-%COMP%]{max-height:72px;overflow-y:auto;padding-bottom:5px}[_nghost-%COMP%]     .chip-container .b-chip, [_nghost-%COMP%]     .chip-container b-hotlist-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 T5=function(a){Z.call(this);this.llmIssueSummaryService=a;this.enableNoButton=this.llmIssueSummaryService.enableNoButton;this.isSummarizable$=this.llmIssueSummaryService.isSummarizable$;this.summaryExists$=this.llmIssueSummaryService.summary$.pipe(y(function(b){return!b}))};X(T5,Z);T5.\u0275dir=Z.\u0275dir;T5.\u0275fac=function(a){return new (a||T5)(A(kZ))};
T5.\u0275cmp=p({type:T5,selectors:[["summarize-button"]],features:[zf],decls:1,vars:1,consts:[[4,"ngIf"],["class","margin-right",4,"ngIf"],[1,"margin-right"],["svgIcon","chat_spark_24px","color","primary"],["mat-button","","color","secondary",1,"gmat-button","small","generate-summary",3,"click"]],template:function(a,b){a&1&&C(0,Pvb,3,3,"ng-container",0);a&2&&D("ngIf",b.enableNoButton)},dependencies:[Gv,zB,oE,Lv],styles:["mat-icon[_ngcontent-%COMP%]{vertical-align:bottom}\n/*# sourceMappingURL=summarize_button.css.map */"]});var U5=function(a,b,c,d){Z.call(this);this.preferences=a;this.activeSession=b;this.clearcut=c;this.analytics=d;this.enableCommentFilters=this.activeSession.getFlag("enableCommentFiltering");this.selectedFilter=null;a=this.activeSession.isInternalSession();rr.description=a?"Including CLs, Blunderbuss, etc.":"Including all automated comments";this.filters=wNc;this.showRecentEventsFirst=!1};X(U5,Z);U5.\u0275dir=Z.\u0275dir;
U5.prototype.ngOnInit=function(){var a=this;this.preferences.showRecentEventsFirst$.pipe(te(lj),qf(this.destroyed$)).subscribe(function(b){a.showRecentEventsFirst=b});this.preferences.commentFilterPreferences$.pipe(qf(this.destroyed$)).subscribe(function(b){b.commentFilter?a.selectedFilter=Xvb(b.commentFilter):(a.selectedFilter=sH(a.preferences).showFullHistory?Uvb:rr,a.preferences.save({commentFilterPreferences:{commentFilter:a.selectedFilter.commentFilterType}}).pipe(qf(a.destroyed$)).subscribe())})};
U5.\u0275fac=function(a){return new (a||U5)(A(rH),A(Ir),A(QF),A(bG))};
U5.\u0275cmp=p({type:U5,selectors:[["b-event-stream-header"]],features:[zf],decls:9,vars:3,consts:[[1,"flex-kids-x","flex-spread"],[1,"uppercase"],[1,"flex-kids-x"],["appearance","outline","subscriptSizing","dynamic","class","filter-select",4,"ngIf"],["mat-stroked-button","","color","primary",1,"gmat-button","sort-order-button",3,"click"],[4,"ngIf"],["appearance","outline","subscriptSizing","dynamic",1,"filter-select"],[3,"valueChange","selectionChange","value"],["class","filter-option",3,"value",
4,"ngFor","ngForOf"],[1,"filter-option",3,"value"],[1,"filter-option-name"],[1,"filter-option-description"],["svgIcon","arrow-downward",1,"sort-order-arrow","icon-xs"],["svgIcon","arrow-upward",1,"sort-order-arrow","icon-xs"]],template:function(a,b){a&1&&(F(0,"div",0)(1,"h4",1),R(2,"Comments"),G(),F(3,"div",2),H(4,"summarize-button"),C(5,Rvb,5,3,"mat-form-field",3),F(6,"button",4),M("click",function(){Gl("hasClickedCommentSortBtn")(!0);var c=!b.showRecentEventsFirst;V7b(b.clearcut,"click_recentFirst_"+
c);b.preferences.save({showRecentEventsFirst:c}).pipe(qf(b.destroyed$)).subscribe()}),C(7,Svb,4,0,"ng-container",5)(8,Tvb,4,0,"ng-container",5),G()()());a&2&&(z(5),D("ngIf",b.enableCommentFilters),z(2),D("ngIf",!b.showRecentEventsFirst),z(),D("ngIf",b.showRecentEventsFirst))},dependencies:[Fv,Gv,zB,oE,kM,Wy,T5,mM,nM,oM,Kx],styles:[".sort-order-button[_ngcontent-%COMP%]{height:24px;line-height:24px;padding-left:6px;padding-right:10px}.sort-order-button[_ngcontent-%COMP%]   .mat-button-wrapper[_ngcontent-%COMP%]{display:inline-block;height:24px}.sort-order-button[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{display:inline-block;height:24px;line-height:20px}.sort-order-arrow[_ngcontent-%COMP%]{padding-right:4px;padding-bottom:4px}[_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 Uvb={name:"Full history",description:"Including everything with audit trail",displayName:"Full history",commentFilterType:"FULL_HISTORY"},rr={name:"All comments and updates",description:"Including CLs, Blunderbuss, etc.",displayName:"All comments",commentFilterType:"ALL_COMMENTS"},Vvb={name:"Users' comments",description:"All human generated comments",displayName:"Users",commentFilterType:"HUMAN_ONLY"},Wvb={name:"Team and assignee comments",description:"Issue's owning team and assignee",displayName:"Team and assignee",
commentFilterType:"TEAM_AND_ASSIGNEE"},wNc=[Uvb,rr,Vvb,Wvb];var V5=function(){this.reactionState$=new W.ReplaySubject(1);this.issueId="";this.emails$=this.reactionState$.pipe(te(lj),y(function(a){return a.recentResponders.map(sm).filter(function(b){return b!==""}).slice(0,5)}))};ea.Object.defineProperties(V5.prototype,{reactionState:{configurable:!0,enumerable:!0,set:function(a){a&&this.reactionState$.next(a)}}});V5.\u0275fac=function(a){return new (a||V5)};
V5.\u0275cmp=p({type:V5,selectors:[["b-comment-reaction-responders-card"]],inputs:{reactionState:"reactionState",issueId:"issueId",commentNumber:"commentNumber"},decls:4,vars:3,consts:[["role","dialog","tabindex","0","aria-label","Comment Reactions Hovercard",1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],[4,"ngFor","ngForOf"],[4,"ngIf"]],template:function(a,b){a&1&&(F(0,"div",0)(1,"div",1),C(2,$vb,5,3,"ng-container",2),T(3,"async"),G()());a&2&&(z(2),D("ngForOf",V(3,1,b.emails$)))},dependencies:[Fv,
Gv,Lv],styles:[".onedev-hovercard-content[_ngcontent-%COMP%]{width:auto;max-width:400px}.normal-link.unstyled-button[_ngcontent-%COMP%]{color:#1a73e8;color:var(--link)}"]});var xNc=function(){};xNc.\u0275fac=function(a){return new (a||xNc)};xNc.\u0275cmp=p({type:xNc,selectors:[["b-comment-edit-timestamp-message"]],inputs:{event:"event"},decls:1,vars:1,consts:[[4,"ngIf"],["mode","datetime",3,"timestamp"]],template:function(a,b){a&1&&C(0,bwb,7,2,"ng-container",0);a&2&&D("ngIf",b.event.commentLastModifiedAtDate)},dependencies:[Gv,TM],encapsulation:2,changeDetection:0});var W5=function(){this.texts=[]};W5.prototype.getIssueId=function(a){return a.text};W5.prototype.trackByIndex=function(a){return a};W5.\u0275fac=function(a){return new (a||W5)};
W5.\u0275cmp=p({type:W5,selectors:[["b-tagged-text"]],inputs:{texts:"texts"},decls:1,vars:2,consts:[[4,"ngFor","ngForOf","ngForTrackBy"],[3,"ngSwitch"],[3,"email","withProfile",4,"ngSwitchCase"],[3,"href","issueId",4,"ngSwitchCase"],[4,"ngSwitchDefault"],[3,"email","withProfile"],[3,"href","issueId"]],template:function(a,b){a&1&&C(0,fwb,5,3,"ng-container",0);a&2&&D("ngForOf",b.texts)("ngForTrackBy",b.trackByIndex)},dependencies:[iI,Fv,Hv,Iv,Jv,gN],encapsulation:2,changeDetection:0});var yNc=function(a){this.hotlists=a;this.ROUTES=zo};yNc.\u0275fac=function(a){return new (a||yNc)(A(bF))};yNc.\u0275cmp=p({type:yNc,selectors:[["hotlist-link"]],inputs:{id:"id"},decls:3,vars:4,consts:[[3,"href"]],template:function(a,b){a&1&&(F(0,"a",0),R(1),T(2,"async"),G());if(a&2){var c;D("href",b.ROUTES.viewHotlist.makeHref(b.id),Qe);z();lg(((c=V(2,2,b.hotlists.watch(b.id)))==null?null:c.name)||b.id)}},dependencies:[Lv],encapsulation:2,changeDetection:0});var X5=function(a){var b=this;this.componentFridge=a;this.id$=new W.ReplaySubject(1);this.name$=this.id$.pipe(df(),pf(function(c){return b.componentFridge.watchOne(c).pipe(y(function(d){var e;return d?F4a((e=d.componentPathInfo)==null?void 0:e.componentPathName,c):c}))}))};X5.prototype.ngOnChanges=function(){this.id$.next(this.id)};X5.\u0275fac=function(a){return new (a||X5)(A(CC))};
X5.\u0275cmp=p({type:X5,selectors:[["plain-component-path"]],inputs:{id:"id"},features:[td],decls:6,vars:4,consts:[["thisHovercard","onedevHovercard"],["cardBody",""],[3,"onedevHovercardTrigger"],[4,"onedevHovercardLazyBody"],[3,"onedevIsHovercardReady","componentId"]],template:function(a,b){a&1&&(F(0,"span",2),R(1),T(2,"async"),G(),F(3,"onedev-hovercard",null,0),C(5,gwb,3,2,"ng-container",3),G());a&2&&(a=Q(4),D("onedevHovercardTrigger",a),z(),lg(V(2,2,b.name$)||b.id))},dependencies:[$H,aI,gI,bI,
cW,Lv],encapsulation:2,changeDetection:0});var Ewb=function(a){return{"bv2-diff-newvalue-nextline":a}},Ywb=function(a,b,c){return{diff:a,change:b,isLast:c}},Y5=function(a,b){Z.call(this);this.activeSession=a;this.preferences=b;this.customFieldMap={};this.effortEnabled=!0;this.isStringArray=si;this.isLinkedItemArray=dAa;this.isIssueDiff=aAa;this.isHotlistDiff=bAa;this.DiffType=Z3b};X(Y5,Z);Y5.\u0275dir=Z.\u0275dir;
var zNc=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)},ANc=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)};Y5.prototype.ngOnInit=function(){var a=this;this.preferences.showRecentEventsFirst$.pipe(te(lj),qf(this.destroyed$)).subscribe(function(b){a.internalDiffs.length<2||(b&&zNc(a)||!b&&ANc(a))&&a.internalDiffs.reverse()})};Y5.prototype.trackByIndex=function(a){return a};
var jxb=function(a,b,c){return dea(b,c)==="<none>"?!1:b.customFieldId&&a.customFieldMap[b.customFieldId]&&a.customFieldMap[b.customFieldId].type==="DATE"?!0:!1},kxb=function(a,b,c){return dea(b,c)==="<none>"?!1:b.customFieldId&&a.customFieldMap[b.customFieldId]&&a.customFieldMap[b.customFieldId].type==="REPEATED_DATE"?!0:!1};Y5.prototype.asNumber=function(a){return Number(a)};
Y5.prototype.customFieldName=function(a){if(a.customFieldId){var b;return((b=this.customFieldMap[a.customFieldId])==null?void 0:b.customFieldName)||"customfield"+a.customFieldId}return""};ea.Object.defineProperties(Y5.prototype,{diffs:{configurable:!0,enumerable:!0,set:function(a){this.internalDiffs=[].concat(r(a))}}});Y5.\u0275fac=function(a){return new (a||Y5)(A(Ir),A(rH))};
Y5.\u0275cmp=p({type:Y5,selectors:[["b-issue-event-details"]],inputs:{diffs:"diffs",customFieldMap:"customFieldMap",effortSpecName:"effortSpecName",effortEnabled:"effortEnabled"},features:[zf],decls:6,vars:2,consts:[["changeCollection",""],["effortNameDisabled",""],["nonEffortFieldNames",""],["notIssue",""],["plainLink",""],[1,"bv2-event-details"],["class","bv2-diff-row",4,"ngFor","ngForOf","ngForTrackBy"],[1,"bv2-diff-row"],[4,"ngIf"],["mode","time",1,"float-right",3,"timestamp"],[3,"ngSwitch"],
["class","bv2-diff-detail",4,"ngSwitchCase"],["class","bv2-diff-detail",4,"ngSwitchDefault"],[1,"bv2-diff-detail"],[4,"ngIf","ngIfElse"],[1,"bv2-diff-arrow"],[3,"email","showEmail"],[3,"id"],["mode","date",3,"timestamp",4,"ngIf"],["mode","date",3,"timestamp"],[3,"email","showEmail",4,"ngIf"],[3,"ngClass",4,"ngIf"],[3,"ngClass"],[4,"ngFor","ngForOf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["title","For more detail, click on the three-dot menu near status update",4,"ngSwitchCase"],[4,"ngSwitchCase"],
[4,"ngSwitchDefault"],["title","For more detail, click on the three-dot menu near status update"],[1,"muted","inline-block","margin-none","unhandled-diff-type"],[3,"href","issueId"],["target","_blank",3,"href"]],template:function(a,b){a&1&&(F(0,"div",5),C(1,Axb,2,1,"div",6),G(),C(2,Jxb,1,1,"ng-template",null,0,yg)(4,Kxb,2,0,"ng-template",null,1,yg));a&2&&(z(),D("ngForOf",b.internalDiffs)("ngForTrackBy",b.trackByIndex))},dependencies:[Ev,Fv,Gv,Kv,Hv,Iv,Jv,TM,$M,iI,yNc,X5,Pv],styles:["/*# sourceMappingURL=issue_event_details.css.map */"],
changeDetection:0});var Z5=function(a){Z.call(this);var b=this;a.textDisplayPreferencesSubject$.pipe(qf(this.destroyed$)).subscribe(function(c){switch(c.commentDisplayOverride){case "LITERAL_FORMATTING_MODE":b.formattingModeOverride="LITERAL";break;case "MARKDOWN_FORMATTING_MODE":b.formattingModeOverride="MARKDOWN";break;case "PLAIN_FORMATTING_MODE":b.formattingModeOverride="PLAIN";break;case void 0:b.formattingModeOverride=void 0;break;default:Dc(c.commentDisplayOverride)}})};X(Z5,Z);Z5.\u0275dir=Z.\u0275dir;
Z5.prototype.ngOnInit=function(){};Z5.prototype.ngOnChanges=function(){this.rawComment=this.note.unlinkifiedComment||"";BNc(this);this.audience=this.issueAccessLevel&&this.issueAccessLevel==="INTERNAL"?"INTERNAL":"EXTERNAL";this.idPrefix="b"+this.issueId+"-c"+this.note.commentNumber};
var BNc=function(a){if(a.rawComment.split("\n").slice(0,3).filter(Boolean).length<2)a.rawComment=iHa(a.rawComment,250);else{var b=a.rawComment.split("\n").filter(function(c){return!(new Set(["","BEGIN_PUBLIC","END_PUBLIC"])).has(c.trim())}).slice(0,2);a.rawComment=a.formattingMode==="MARKDOWN"||a.formattingModeOverride==="MARKDOWN"?b.join("\n\n"):b.join("\n")}};Z5.\u0275fac=function(a){return new (a||Z5)(A(rH))};
Z5.\u0275cmp=p({type:Z5,selectors:[["b-summarized-note-container"]],inputs:{note:"note",issueId:"issueId",formattingMode:"formattingMode",issueAccessLevel:"issueAccessLevel"},features:[zf,td],decls:1,vars:5,consts:[[3,"comment","issueId","audience","formattingMode","idPrefix"]],template:function(a,b){a&1&&H(0,"b-live-preview",0);a&2&&D("comment",b.rawComment)("issueId",b.issueId)("audience",b.audience)("formattingMode",b.formattingModeOverride||b.formattingMode)("idPrefix",b.idPrefix)},dependencies:[JL],
styles:["[_nghost-%COMP%]     b-live-preview .md-preview{background-color:#fff;background-color:var(--background);padding:0}"]});var CNc=["commentActionsMenu"],DNc=["commentReactionButton"],Txb=function(){return[]},iyb=function(a){return{"no-upvote-reactions":a}},$5=function(a,b,c,d,e,f,h,k,q,t,w,B,E,I,J,N,P,U,ba){Z.call(this);var ma=this;this.documentationLinks=a;this.activeSession=b;this.issueReferenceResolver=c;this.commentService=d;this.el=e;this.userAccess=f;this.butterBar=h;this.errorHandler=k;this.analytics=q;this.userPreferencesManager=t;this.issueDetailsBrain=w;this.editIssueService=B;this.issuePermissionService=E;
this.commentHistoryDialogService=I;this.issueCommentDialogsService=J;this.dateFormatter=N;this.paths=P;this.domSafe=U;this.eventsForIssueFridge=ba;this.isSummarized=!1;this.issueId$=new W.ReplaySubject(1);this.distinctIssueId$=this.issueId$.pipe(df());this.event$=new W.ReplaySubject(1);this.isCommentEvent=xn;this.isNonObfuscatedEmail=Km;this.commentActionMenuItems$=new W.BehaviorSubject([]);this.isInternalSession=this.activeSession.isInternalSession();this.enableTeamAnnotations=this.activeSession.isInternalSession();
this.formattingMode="PLAIN";this.commentRetentionOverride=null;this.wasSummarized=!1;a={};this.formattingModeMenuItems=(a.PLAIN={type:"select",action:function(){ma.formattingMode="PLAIN";ma.initializeActionsMenu()},label:"Classic",selected:!0},a.MARKDOWN={type:"select",action:function(){ma.formattingMode="MARKDOWN";ma.initializeActionsMenu()},label:"Markdown",selected:!1},a.LITERAL={type:"select",action:function(){ma.formattingMode="LITERAL";ma.initializeActionsMenu()},label:"Source",selected:!1},
a);this.isFormattingOverrideEnabled=!1;this.canEditComment$=this.event$.pipe(pf(function(na){return ma.issuePermissionService.canEditComment$(na)}),mf({refCount:!0,bufferSize:1}));this.canEditComment=function(){return!!fo(ma.canEditComment$)};this.commentHistoryEnabled=this.activeSession.getFlag("enableCommentHistoryUi");this.commentReactionsEnabled=this.activeSession.getFlag("enableCommentReaction");this.effortSpec$=this.issueDetailsBrain.effortSpec$;this.isEffortEnabled$=this.issueDetailsBrain.isEffortEnabled$;
this.teamId$=this.issueDetailsBrain.teamId$;this.issue$=this.distinctIssueId$.pipe(pf(function(na){return ma.editIssueService.editableIssue$(na)}));this.modifiedDateDisplay$=this.event$.pipe(y(function(na){return new Date(na.modifiedDate)}),pf(function(na){return SM(ma.dateFormatter,na)}));this.ariaLabelHeading$=(0,W.combineLatest)([this.event$,this.modifiedDateDisplay$]).pipe(y(function(na){var ya=l(na);na=ya.next().value;ya=ya.next().value;if(na==null)na="";else{var Pa=[];na.commentNumber&&Pa.push("Comment #"+
na.commentNumber);na.userPerformingActionUser&&Pa.push(pm(na.userPerformingActionUser));Pa.push("Modified: "+ya);na=Pa.join(", ")}return na}));this.ReactionType=P3b;this.upvoteReactionCount$=this.event$.pipe(y(function(na){var ya,Pa,ia;return(ia=(ya=na.commentReactions)==null?void 0:(Pa=ya.get("UPVOTE"))==null?void 0:Pa.count)!=null?ia:0}));this.upvoteReactionCountDisplayString$=this.upvoteReactionCount$.pipe(y(function(na){return na&&na!==0?na>999?"999+":String(na):null}));this.noUpvoteReactions$=
this.upvoteReactionCount$.pipe(y(function(na){return na===0}));this.commentReactionsHovercardConfig=Object.assign({},new cI,{position:[k$b]});this.commentReactionIsSaving=!1;this.showRecentEventsFirst$=this.userPreferencesManager.showRecentEventsFirst$;this.showFullHistoryFromFiltering$=this.userPreferencesManager.commentFilterPreferences$.pipe(y(function(na){var ya;return(ya=na.commentFilter)!=null?ya:""}));this.isFullHistoryPreference$=this.showFullHistoryFromFiltering$.pipe(y(function(na){return na===
"FULL_HISTORY"}));this.preEventDiffs$=(0,W.combineLatest)([this.event$,this.showRecentEventsFirst$]).pipe(y(function(na){var ya=l(na);na=ya.next().value;return ya.next().value?na.postDiffs:na.preDiffs}));this.postEventDiffs$=(0,W.combineLatest)([this.event$,this.showRecentEventsFirst$]).pipe(y(function(na){var ya=l(na);na=ya.next().value;return ya.next().value?na.preDiffs:na.postDiffs}));this.hasAclToUpvoteReact$=(0,W.combineLatest)([this.event$,this.issuePermissionService.hasAclToComment$]).pipe(y(function(na){var ya=
l(na);na=ya.next().value;ya=ya.next().value;var Pa,ia;return((Pa=na.commentReactions)==null?void 0:(ia=Pa.get("UPVOTE"))==null?void 0:ia.hasReacted)||ya}));this.showCommentReactionHovercard$=(0,W.combineLatest)([this.issuePermissionService.hasAclToEdit$,this.upvoteReactionCount$]).pipe(y(function(na){var ya=l(na);na=ya.next().value;ya=ya.next().value;return na&&ya>0&&ya<=5}));this.isShowingCommentTimestamp$=this.isFullHistoryPreference$.pipe(y(function(na){return na&&qyb(ma)&&(ma.event.preDiffs.length>
0||ma.event.postDiffs.length>0)}));this.getCommentNumberLink=function(na){return qo(ma.issueId,{comment:na})}};X($5,Z);$5.\u0275dir=Z.\u0275dir;
$5.prototype.ngOnInit=function(){var a=this;this.event.commentNumber&&this.el.nativeElement.setAttribute("id","comment"+this.event.commentNumber);this.commentRetentionOverride=this.event.commentRetention;this.event$.pipe(qf(this.destroyed$)).subscribe(function(){xn(a.event)&&a.isRestricted()?a.mayReadPii$=a.mayReadPii():a.mayReadPii$=(0,W.of)(void 0)});ENc(this);this.userPreferencesManager.textDisplayPreferencesSubject$.pipe(qf(this.destroyed$)).subscribe(function(b){a.isFormattingOverrideEnabled=
b.commentDisplayOverride!=null;a.initializeActionsMenu()});this.issueDetailsBrain.canonicalIssueId$.pipe(qf(this.destroyed$)).subscribe(function(b){a.canonicalIssueId=b;a.initializeActionsMenu()});this.canEditComment$.pipe(qf(this.destroyed$)).subscribe(function(){a.initializeActionsMenu()});this.issuePermissionService.canChangeCommentRetention$.pipe(qf(this.destroyed$)).subscribe(function(){a.initializeActionsMenu()})};
var ENc=function(a){if(a.formattingMode){for(var b=l(Object.values(a.formattingModeMenuItems)),c=b.next();!c.done;c=b.next())c.value.selected=!1;a.formattingModeMenuItems[a.formattingMode].selected=!0}};g=$5.prototype;
g.updateCommentRetention=function(a){var b=this;this.event.commentNumber||vE(this.errorHandler,"Comment number is missing");this.analytics.trackEvent("restrictedContent","updateRetention","comment");this.commentService.updateRetention(this.issueId,this.event.commentNumber||0,a).pipe(qf(this.destroyed$)).subscribe({next:function(c){var d;b.event=Object.assign({},b.event,{commentRetention:c.piiRetention,commentRetentionState:(d=c.piiRetentionState)!=null?d:null});Ap(b.butterBar,"Comment retention updated",
4E3);b.commentRetentionOverride=a==="INDEFINITE"?"INDEFINITE":"COMPONENT_DEFAULT";b.initializeActionsMenu()},error:function(){vE(b.errorHandler,"Comment retention update failed")}})};
g.ngOnChanges=function(a){a.issueId&&this.issueId$.next(String(this.issueId));a=a.event;var b;if(b=a&&this.deobfuscatedEvent)b=a.previousValue,a=a.currentValue,b=(b==null?void 0:b.commentVersion)!==(a==null?void 0:a.commentVersion)||(b==null?void 0:b.commentContentVerdict)!==(a==null?void 0:a.commentContentVerdict);b&&(this.deobfuscatedEvent=void 0);this.event.formattingMode&&(this.event.formattingMode==="UNSPECIFIED_FORMATTING_MODE"?this.formattingMode="PLAIN":this.formattingMode=this.event.formattingMode);
this.initializeActionsMenu()};g.scrollCommentIntoView=function(a,b){this.issueReferenceResolver.visit({issueId:this.issueId,elementId:"comment"+b,event:a})};g.getRestrictedLabel=function(){return ZFa(mo(this.event.commentContentVerdict))};g.isRestricted=function(){var a=mo(this.event.commentContentVerdict);switch(a){case "NONE_DETECTED":case "RESTRICTION_SEVERITY_UNSPECIFIED":return!1;case "RESTRICTED":case "RESTRICTED_PLUS":return!0;default:Dc(a)}};
g.isDeleted=function(){return this.event.commentDeletionStatus==="DELETED"};var tr=function(a){var b;return((b=a.event)==null?void 0:b.commentRedacted)&&!a.deobfuscatedEvent};
$5.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,mo(this.event.commentContentVerdict)).pipe(ef()).subscribe(function(c){a.deobfuscatedEvent=MCa(a.event,c);a.initializeActionsMenu()},function(c){var d;a.butterBar.showWarning("Error showing comment "+b+": "+((d=c.error)==null?void 0:d.message))})};
$5.prototype.initializeActionsMenu=function(){var a=this,b=[];if(this.isCommentEvent(this.event)){this.isFormattingOverrideEnabled||(b.push(Object.assign({},Hpc,{items:[this.formattingModeMenuItems.PLAIN,this.formattingModeMenuItems.MARKDOWN,this.formattingModeMenuItems.LITERAL]})),ENc(this));this.canEditComment()&&b.push({type:"action",action:function(){sr(a.issueCommentDialogsService,String(a.issueId),a.deobfuscatedEvent||a.event).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})},
label:"Edit comment",disabled:tr(this)});this.commentHistoryEnabled&&(this.event.commentVersion||0)>0&&!tr(this)&&b.push(Object.assign({},Jpc,{action:function(){a.event.commentNumber&&a.showCommentHistoryDialog(a.event.commentNumber).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})}}));!this.canonicalIssueId||this.isDeleted()||this.activeSession.isAnonymous()||b.push({type:"action",action:function(){var d=Ao(a.canonicalIssueId,{template_issue:a.issueId,template_comment:a.event.commentNumber,
do_attribution:!0});a.domSafe.openInNewTab(d);a.commentActionsMenu.actionsMenuIconButton.focus()},label:"Copy to canonical issue",disabled:tr(this)});this.isDeleted()||this.activeSession.isAnonymous()||b.push({type:"action",action:function(){AEc(a.issueCommentDialogsService,String(a.issueId),a.event.commentNumber).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})},label:"Copy comment to",disabled:tr(this)});Pac(this.issuePermissionService,this.event)&&b.push({type:"action",action:function(){FEc(a.issueCommentDialogsService,
String(a.issueId),a.event.commentNumber,a.event.commentEtag).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})},label:"Delete comment"});Oac(this.issuePermissionService,this.event)&&b.push({type:"action",action:function(){CEc(a.issueCommentDialogsService,String(a.issueId),a.event.commentNumber).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})},label:"Restore comment"});fo(this.issuePermissionService.hasAclToView$)&&b.push(Object.assign({},Ipc,{action:function(){GEc(a.issueCommentDialogsService,
String(a.issueId),a.event).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})}}));if(this.isRestricted()&&this.issuePermissionService.canChangeCommentRetention()&&!this.isDeleted()){var c=this.commentRetentionOverride==="COMPONENT_DEFAULT";b.push({type:"action",action:function(){var d=c?"INDEFINITE":"COMPONENT_DEFAULT";HEc(a.issueCommentDialogsService,"comment",d).then(function(e){a.commentActionsMenu.actionsMenuIconButton.focus();e&&a.updateCommentRetention(d)})},label:c?"Match issue retention":
"Revert to component retention"})}rRa({userIsExternal:!this.isInternalSession,issueIsExternal:this.issueAccessLevel!=="INTERNAL"})&&b.push(Object.assign({},Gpc,{action:function(){a.event.commentNumber==null&&Ei("unable to buildLegalReportingUrl() correctly without an event.commentNumber");var d,e=sRa({bugId:a.event.issueId,comment:(d=a.event.commentNumber)!=null?d:0});a.domSafe.openInNewTab(e)}}))}this.commentActionMenuItems$.next(b)};var qyb=function(a){return xn(a.event)&&!!a.event.unlinkifiedComment};
$5.prototype.showCommentHistoryDialog=function(a){return this.commentHistoryDialogService.show(this.issueId,a,-1)};$5.prototype.mayReadPii=function(){var a=oD(this.userAccess,"reader","issues/"+this.issueId+"/comments/"+this.event.commentNumber);a.catch(function(b){Ei("error: ",b);return!1});return(0,W.from)(a)};
var gyb=function(a){if(fo(a.hasAclToUpvoteReact$)){a.commentReactionIsSaving=!0;var b=jyb(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);TB(a.eventsForIssueFridge,a.issueId,function(f){var h;f.events=NCa(f.events,(h=a.event.commentNumber)!=null?h:2,{commentReactions:d})});a.analytics.trackEvent("editIssue",
"click",b?"removeUpvoteReaction":"addUpvoteReaction")}})}},jyb=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},hyb=function(a,b){var c;a=(c=a.event.commentReactions)==null?void 0:c.get(b);if(!a)return"Comment reaction button";b=b==="UPVOTE"?"Thumbs up":"";a.count===1?b+=", "+a.count+" reaction":a.count>1&&(b+=", "+a.count+" reactions");a.hasReacted&&(b+=", reacted");return b};
ea.Object.defineProperties($5.prototype,{event:{configurable:!0,enumerable:!0,set:function(a){this.internalEvent=a;this.event$.next(a)},get:function(){return this.internalEvent}}});$5.\u0275fac=function(a){return new (a||$5)(A(oI),A(Ir),A(XH),A(ZI),A(Rd),A(mD),A(sE),A(uE),A(bG),A(rH),A(qJ),A(LJ),A(sJ),A(aW),A(s_),A(RM),A(pN),A(FH),A(rF))};
$5.\u0275cmp=p({type:$5,selectors:[["b-history-event"]],viewQuery:function(a,b){a&1&&(fg(CNc,5),fg(DNc,5));if(a&2){var c;jg(c=kg())&&(b.commentActionsMenu=c.first);jg(c=kg())&&(b.commentReactionButton=c.first)}},inputs:{issueId:"issueId",issueAccessLevel:"issueAccessLevel",isSummarized:"isSummarized",event:"event"},features:[zf,td],decls:2,vars:3,consts:[["emailDisplay",""],["card",""],["commentActionsMenu",""],["commentReactionButton",""],["commentReactionCard","onedevHovercard"],[4,"ngIf"],[1,"bv2-event-user-image-cell"],
[1,"bv2-event-user-image",3,"email"],[1,"bv2-event-content-cell"],[1,"bv2-event-user"],[3,"user","email","teamId"],[1,"bv2-event-user-name",3,"model"],[4,"ngIf","ngIfElse"],["class","bv2-edit-comment-button","matTooltip","Edit Comment","aria-label","Edit Comment",3,"click",4,"ngIf"],[1,"bv2-event-info"],["content-type","comment",3,"label","retention","retentionState",4,"ngIf"],["mode","datetime",3,"timestamp"],["class","issue-detail-actions",3,"buttonLabel","menuItems",4,"ngIf"],[1,"float-clear"],
["class","bv2-event-major-status",4,"ngIf"],[3,"diffs","customFieldMap","effortSpecName","effortEnabled",4,"ngIf"],[1,"bv2-event-note-container","critical-feature"],[1,"flex-kids-x","space-between"],["class","muted italic",4,"ngIf"],[3,"disabled","onConfirm",4,"ngIf"],[1,"flex-kids-y","flex-1-hemmed"],[3,"issueId","issueAccessLevel","note","formattingMode",4,"ngIf"],[1,"flex-kids-y","justify-space-between"],[1,"comment-timestamp"],["mode","time","class","muted type-s",3,"timestamp",4,"ngIf"],["class",
"align-self-flex-end",4,"ngIf"],["class","bv2-event-note-edit-timestamp",4,"ngIf"],["class","margin-s-y border-top bv2-issue-event-attachments",4,"ngIf"],["role","button",3,"onedevHovercardTrigger"],[4,"ngTemplateOutlet"],[3,"email"],[1,"bv2-event-user-id"],[1,"keep-focus-ring","vertical-centered","comment-number",3,"click","routerLinkObj"],["matTooltip","Edit Comment","aria-label","Edit Comment",1,"bv2-edit-comment-button",3,"click"],["content-type","comment",3,"label","retention","retentionState"],
[1,"issue-detail-actions",3,"buttonLabel","menuItems"],[1,"bv2-event-major-status"],[3,"texts"],[3,"diffs","customFieldMap","effortSpecName","effortEnabled"],[1,"muted","italic"],[3,"onConfirm","disabled"],[3,"issueId","issueAccessLevel","note","formattingMode"],["mat-button","",1,"summarized-note-button",3,"click"],["svgIcon","arrow-down",1,"icon-m"],["svgIcon","arrow-up",1,"icon-m"],["mode","time",1,"muted","type-s",3,"timestamp"],[1,"align-self-flex-end"],["mat-stroked-button","",1,"comment-reaction-button",
3,"click","ariaLabel","ngClass","onedevHovercardTrigger","onedevHovercardConfig","onedevHovercardActive"],["svgIcon","thumb_up_24px","class","icon-s",4,"ngIf"],["svgIcon","thumb_up_filled_24px","class","icon-s has-reacted-icon",4,"ngIf"],[3,"reactionState","issueId","commentNumber",4,"ngIf"],["svgIcon","thumb_up_24px",1,"icon-s"],["svgIcon","thumb_up_filled_24px",1,"icon-s","has-reacted-icon"],[3,"reactionState","issueId","commentNumber"],[1,"bv2-event-note-edit-timestamp"],[3,"event"],[3,"click",
4,"ngIf"],[3,"click"],[1,"margin-s-y","border-top","bv2-issue-event-attachments"],["class","margin-s-y bv2-issue-event-attachment",3,"id",4,"ngFor","ngForOf"],[1,"margin-s-y","bv2-issue-event-attachment",3,"id"],[3,"issueId","attachment","attachmentUploader"]],template:function(a,b){a&1&&(C(0,ryb,41,29,"ng-container",5),T(1,"async"));a&2&&D("ngIf",V(1,1,b.issue$))},dependencies:[WS,O5,LL,Ev,Fv,Gv,Kv,zB,wB,TM,$H,gI,Y5,qL,u3,w3,fN,eN,iN,LH,OH,Z5,oE,V5,xNc,W5,Lv],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}.comment-reaction-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;margin-right:6px}.comment-reaction-button[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{margin-right:4px}.comment-reaction-button[_ngcontent-%COMP%]   .has-reacted-icon[_ngcontent-%COMP%]{color:#1a73e8;color:var(--text-primary)}.comment-reaction-button[_ngcontent-%COMP%]:focus:enabled:not(.comment-reaction-button[aria-disabled=true]), .comment-reaction-button[_ngcontent-%COMP%]: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%]     .comment-reaction-button[aria-disabled=true].mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}[_nghost-%COMP%]   .comment-reaction-button[aria-disabled=true][_ngcontent-%COMP%]{cursor:default;color:#bdc1c6;color:var(--text-disabled)}[_nghost-%COMP%]   .comment-reaction-button[aria-disabled=true][_ngcontent-%COMP%]   .has-reacted-icon[_ngcontent-%COMP%]{color:rgba(26,115,232,.4);color:var(--hover-btn)}.no-upvote-reactions[_ngcontent-%COMP%]{border:0;margin-right:2px}.no-upvote-reactions[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{margin-right: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 FNc={FULL:"full",SUMMARIZED:"summarized",FOLDED:"folded",HIDDEN:"hidden"},a6=function(a,b,c,d,e,f,h,k,q,t,w){Z.call(this);var B=this;this.formattedCommentsForIssueFridge=a;this.preferences=b;this.eventsForIssue=c;this.dynamicScrollIntoView=d;this.bLocation=e;this.elementRef=f;this.activeSession=h;this.routerEvents=k;this.analytics=q;this.teamFridge=t;this.issueFridge=w;this.issueId$=new W.ReplaySubject(1);this.internalIssueId="";this.eventDisplayModes=FNc;this.internalEvents=[];this.showRecentEventsFirst=
null;this.currentFilterLevel="FULL_HISTORY";this.enableCommentFiltering=this.activeSession.getFlag("enableCommentFiltering");this.issue$=this.issueId$.pipe(pf(this.issueFridge.watch));this.events$=new W.ReplaySubject(1);this.commentsToFormat$=new W.ReplaySubject(1);this.eventDisplayMode=new Map;this.commentNumbersDisplayed=new Set;this.foldedCommentsCounts=new Map;this.authoritativeEmails=new Set;this.authoritativeEmails$=this.preferences.commentFilterPreferences$.pipe(pf(function(E){var I=new Set;
return E.commentFilter!=="TEAM_AND_ASSIGNEE"?(0,W.of)(I):B.issue$.pipe(pf(function(J){var N;if((J==null?void 0:(N=J.snapshot[0].assigneeUser)==null?void 0:N.emailAddress)!==void 0){var P;I.add(J==null?void 0:(P=J.snapshot[0].assigneeUser)==null?void 0:P.emailAddress)}var U;if((J==null?void 0:(U=J.snapshot[0].verifierUser)==null?void 0:U.emailAddress)!==void 0){var ba;I.add(J==null?void 0:(ba=J.snapshot[0].verifierUser)==null?void 0:ba.emailAddress)}var ma;if((J==null?void 0:(ma=J.aggregatedData)==
null?void 0:ma.teamId)===void 0)return(0,W.of)(I);var na;return GNc(B,String(J==null?void 0:(na=J.aggregatedData)==null?void 0:na.teamId)).pipe(pf(function(ya){ya=l(ya);for(var Pa=ya.next();!Pa.done;Pa=ya.next())I.add(Pa.value);return(0,W.of)(I)}))}))}));this.isLoading$=(0,W.combineLatest)([this.formattedCommentsForIssueFridge.thinking$,this.eventsForIssue.thinking$]).pipe(cf(0),y(function(E){var I=l(E);E=I.next().value;I=I.next().value;return E||I}));this.sendAnalytics=Rz(function(){var E=[].concat(r(document.querySelectorAll(".bv2-event-note, .bv2-event-major-status"))).map(function(I){return I.innerText}).join("").length;
B.analytics.trackEvent("editIssue","updateCommentThread","visibleCharCount",E)},200);this.scrollToCommentOrAttachment=Rz(function(){var E=B.bLocation.hash();if(E&&B.lastHashScrolled!==E&&B.internalEvents){var I,J=l((I=E.match(RegExp("(comment|attachment)([0-9]+)")))!=null?I:[]);J.next();I=J.next().value;var N=J.next().value;J=I;var P=N;if(E==="lastcomment"){J=RCa(B.internalEvents);if(J===-1)return;P=String(J);J="comment"}if(J&&P){I=B.internalEvents.findIndex(function(ba){return ba.commentNumber===
Number(P)});N=I>-1;var U=B.internalEvents.flatMap(function(ba){return ba.attachments}).some(function(ba){return ba.attachmentId===Number(P)});if(N||U)N&&B.eventDisplayMode.get(I)==="folded"&&(B.eventDisplayMode.set(I,"full"),HNc(B,I)),U&&(I=B.internalEvents.findIndex(function(ba){return ba.attachments.findIndex(function(ma){return ma.attachmentId===Number(P)})>-1}),B.eventDisplayMode.get(I)||(B.eventDisplayMode.set(I,"full"),HNc(B,I))),nNc(B.dynamicScrollIntoView,{elementId:J+P,parentElement:B.elementRef.nativeElement,
scrollableContainerId:"bv2-edit-issue-details-scroll",scrollPadding:60}).pipe(sf(function(){B.lastHashScrolled=E}),qf(B.destroyed$)).subscribe()}else nNc(B.dynamicScrollIntoView,{elementId:E,parentElement:B.elementRef.nativeElement,scrollableContainerId:"bv2-edit-issue-details-scroll",scrollPadding:60}).pipe(sf(function(){B.lastHashScrolled=E}),qf(B.destroyed$)).subscribe()}},200)};X(a6,Z);a6.\u0275dir=Z.\u0275dir;
a6.prototype.ngOnInit=function(){var a=this;this.subscriptions.add(this.authoritativeEmails$.subscribe(function(b){a.authoritativeEmails=b}));this.preferences.showRecentEventsFirst$.pipe(te(lj),qf(this.destroyed$),df()).subscribe(function(b){a.showRecentEventsFirst!==b&&(a.showRecentEventsFirst=b,INc(a))});(0,W.combineLatest)([this.events$,this.preferences.commentFilterPreferences$,this.authoritativeEmails$]).subscribe(function(b){b=l(b);var c=b.next().value;var d=b.next().value;var e=b.next().value;
b=[];if(a.enableCommentFiltering&&d.commentFilter)for(a.currentFilterLevel=d.commentFilter,JNc(a,c,d.commentFilter,e),KNc(a),c=l(a.commentNumbersDisplayed.values()),d=c.next();!d.done;d=c.next())b.push(a.internalIssueId+"-"+d.value);else for(c=l(c),d=c.next();!d.done;d=c.next())(d=d.value)&&d.commentNumber&&b.push(a.internalIssueId+"-"+d.commentNumber);a.commentsToFormat$.next(b)});this.commentsToFormat$.pipe(te(lj),qf(this.destroyed$),pf(this.formattedCommentsForIssueFridge.watchSet)).subscribe(function(b){LNc(a,
b)});this.routerEvents.navigationEnd$.pipe(qf(this.destroyed$)).subscribe(function(){a.internalEvents&&a.internalEvents.length!==0&&a.scrollToCommentOrAttachment()})};
var LNc=function(a,b){for(var c={i$jscomp$1128:0};c.i$jscomp$1128<a.internalEvents.length;c={i$jscomp$1128:c.i$jscomp$1128},c.i$jscomp$1128++)if(wyb(a.eventDisplayMode.get(c.i$jscomp$1128))&&xn(a.internalEvents[c.i$jscomp$1128])){var d=b.find(function(e){return function(f){return f.id.commentId===a.internalEvents[e.i$jscomp$1128].commentNumber}}(c));d&&(a.internalEvents[c.i$jscomp$1128]=Object.assign({},a.internalEvents[c.i$jscomp$1128],{formattedComment:d.formattedComment.formattedComment,formattingMode:d.formattedComment.formattingMode}))}INc(a)},
JNc=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=MNc(b[c]);a.eventDisplayMode.set(c,e?"full":"hidden");xn(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=NNc(b[c]),a.eventDisplayMode.set(c,e?"full":"hidden"),xn(b[c])&&b[c].commentNumber&&e&&(e=void 0,a.commentNumbersDisplayed.add((e=
b[c].commentNumber)!=null?e:0));break;case "HUMAN_ONLY":ONc(a,b,function(f){var h;return(h=tAa(f.userPerformingAction)&&f.isMajorEvent)!=null?h:!0});break;case "TEAM_AND_ASSIGNEE":ONc(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"),xn(b[c])&&b[c].commentNumber&&(e=void 0,a.commentNumbersDisplayed.add((e=b[c].commentNumber)!=null?e:0))}a.sendAnalytics()},KNc=function(a){if(a.currentFilterLevel!==
"FULL_HISTORY")for(var b=0;b<a.internalEvents.length;b++)xn(a.internalEvents[b])&&Dn(a.internalEvents[b])&&(a.eventDisplayMode.set(b,"summarized"),HNc(a,b))},ONc=function(a,b,c){for(var d=0,e=0,f=0,h=0;h<b.length;h++){var k=c(b[h]);a.eventDisplayMode.set(h,k?"full":"folded");if(k){if(d>0||e>0)a.foldedCommentsCounts.has(f)||a.foldedCommentsCounts.set(f,{commentFoldedCount:d,eventFoldedCount:e});e=d=0;xn(b[h])&&b[h].commentNumber&&(k=void 0,a.commentNumbersDisplayed.add((k=b[h].commentNumber)!=null?
k:0))}else{if(xn(b[h])&&b[h].commentNumber||yn(b[h]))d++,f=h;e++}}if(d>0||e>0)b=RCa(a.internalEvents)===1?a.showRecentEventsFirst?0:a.internalEvents.length:PNc(a),a.foldedCommentsCounts.set(b,{commentFoldedCount:d,eventFoldedCount:e})},PNc=function(a){return Dba(a.internalEvents,function(b){var c;return(c=b.isMajorEvent)!=null?c:!1})},MNc=function(a){return xn(a)&&!!a.unlinkifiedComment||yn(a)||a.preDiffs.length>0||a.postDiffs.length>0},NNc=function(a){var b;return((b=a.isMajorEvent)!=null?b:!1)&&
(xn(a)&&!!a.unlinkifiedComment||yn(a)||a.preDiffs.length>0||a.postDiffs.length>0)},INc=function(a){if(!(a.internalEvents.length<2)){if(a.showRecentEventsFirst&&a.internalEvents[0].modifiedDate<=QNc(a,a.internalEvents).modifiedDate||!a.showRecentEventsFirst&&a.internalEvents[0].modifiedDate>=QNc(a,a.internalEvents).modifiedDate)if(a.internalEvents.reverse(),a.enableCommentFiltering){var b;JNc(a,a.internalEvents,(b=a.currentFilterLevel)!=null?b:"FULL_HISTORY",a.authoritativeEmails);KNc(a)}a.internalEvents&&
a.internalEvents.length!==0&&a.scrollToCommentOrAttachment()}},QNc=function(a,b){var c;return(c=b.find(function(d){return a.internalEvents[0].modifiedDate!==d.modifiedDate}))!=null?c:b[1]};a6.prototype.trackEventByVersion=function(a,b){return b.version};
var HNc=function(a,b){if(a.foldedCommentsCounts.has(b)){var c,d,e=(d=(c=a.foldedCommentsCounts.get(b))==null?void 0:c.commentFoldedCount)!=null?d:0,f,h;c=(h=(f=a.foldedCommentsCounts.get(b))==null?void 0:f.eventFoldedCount)!=null?h:0;e>1&&a.foldedCommentsCounts.set(b-1,{commentFoldedCount:e-1,eventFoldedCount:c-1});a.foldedCommentsCounts.delete(b)}else for(e=new Map([].concat(r(a.foldedCommentsCounts.entries())).sort(function(k,q){return k[0]-q[0]})),e=l(e.entries()),f=e.next();!f.done;f=e.next())if(h=
l(f.value),f=h.next().value,h=h.next().value,f>b){if(h.commentFoldedCount-(f-b)===0)a.foldedCommentsCounts.set(f,{commentFoldedCount:h.commentFoldedCount-1,eventFoldedCount:h.eventFoldedCount-1});else{e=0;for(c=b;c<f;c++)(xn(a.internalEvents[c])||yn(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}},
wyb=function(a){return a==="summarized"||a==="full"},GNc=function(a,b){var c=new Set;return a.teamFridge.watch(b).pipe(y(function(d){if(d!==void 0){d=l(d.members.map(function(f){return f.user.emailAddress}).filter(lj));for(var e=d.next();!e.done;e=d.next())c.add(e.value)}return c}))};
ea.Object.defineProperties(a6.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){a&&(this.internalIssueId=a,this.issueId$.next(a))}},events:{configurable:!0,enumerable:!0,set:function(a){if(a&&a.length>0){var b=a;a=[].concat(r(b));b=Object.assign({},b[0],{attachments:[],commentNumber:null,formattedComment:void 0,taggedSummary:[],isMajorEvent:!1});a[0]=b}a&&!FAa(this.internalEvents,a)&&(this.internalEvents=a,this.events$.next(a))}}});
a6.\u0275fac=function(a){return new (a||a6)(A(xF),A(rH),A(rF),A(E5),A(oN),A(Rd),A(Ir),A(aG),A(bG),A(lH),A(jG))};
a6.\u0275cmp=p({type:a6,selectors:[["b-event-stream"]],inputs:{issueAccessLevel:"issueAccessLevel",showFullHistory:"showFullHistory",issueId:"issueId",events:"events"},features:[zf],decls:6,vars:8,consts:[["class","padded margined",4,"ngIf"],[1,"bv2-edit-issue-history-stream"],[4,"ngFor","ngForOf","ngForTrackBy"],[1,"padded","margined"],[4,"ngIf"],["class","bv2-event",4,"ngIf"],[1,"fold-indication"],["mat-stroked-button","","color","primary",1,"gmat-button",3,"click"],[1,"horizontal-divider"],[1,
"bv2-event"],[3,"issueId","issueAccessLevel","event","isSummarized"]],template:function(a,b){a&1&&(C(0,syb,2,0,"aside",0),T(1,"async"),F(2,"div",1),C(3,xyb,3,2,"ng-container",2),G(),C(4,yyb,2,0,"aside",0),T(5,"async"));a&2&&(D("ngIf",b.showRecentEventsFirst&&V(1,4,b.isLoading$)),z(3),D("ngForOf",b.internalEvents)("ngForTrackBy",b.trackEventByVersion),z(),D("ngIf",!b.showRecentEventsFirst&&V(5,6,b.isLoading$)))},dependencies:[Fv,Gv,$5,oE,RQ,Lv],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}[_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 RNc=["textarea"],b6=function(a,b,c){Z.call(this);var d=this;this.dialogData=a;this.prompts=b;this.cdr=c;this.resetRequested$=new W.ReplaySubject(1);this.defaultSummaryPrompt$=WAc(this.prompts,this.dialogData.issueId);this.initialPromptText$=(0,W.merge)((0,W.of)(this.dialogData.customPrompt),this.resetRequested$.pipe(pf(function(){return d.defaultSummaryPrompt$})));this.dialogData.customPrompt||this.resetRequested$.next()};X(b6,Z);b6.\u0275dir=Z.\u0275dir;
b6.prototype.ngAfterViewInit=function(){var a=this;this.initialPromptText$.pipe(qf(this.destroyed$)).subscribe(function(b){setTimeout(function(){a.textareaRef.nativeElement.value=b;a.cdr.markForCheck()})})};b6.\u0275fac=function(a){return new (a||b6)(A(vI),A(mZ),A(Ig))};
b6.\u0275cmp=p({type:b6,selectors:[["b-custom-summary-prompt-dialog"]],viewQuery:function(a,b){a&1&&fg(RNc,7);if(a&2){var c;jg(c=kg())&&(b.textareaRef=c.first)}},features:[zf],decls:12,vars:2,consts:[["textarea",""],["mat-dialog-title",""],["mat-dialog-content",""],["mat-dialog-actions",""],["mat-stroked-button","",1,"gmat-button","medium",3,"mat-dialog-close"],["mat-stroked-button","",1,"gmat-button","medium",3,"click"],["mat-flat-button","","color","primary","cdkFocusInitial","",1,"gmat-button",
"medium","dialog-primary-action",3,"mat-dialog-close"]],template:function(a,b){if(a&1){var c=u();F(0,"h1",1);R(1,"Experiment with prompt");G();F(2,"div",2);H(3,"textarea",null,0);G();F(5,"div",3)(6,"button",4);R(7," Cancel ");G();F(8,"button",5);M("click",function(){v(c);return x(b.resetRequested$.next())});R(9," Reset prompt to default ");G();F(10,"button",6);R(11," Generate ");G()()}a&2&&(a=Q(4),z(6),D("mat-dialog-close",void 0),z(4),D("mat-dialog-close",a.value))},dependencies:[oE,xI,zI,BI,AI],
styles:["textarea[_ngcontent-%COMP%] { width: 500px; height: 50vh}"]});var zyb=function(a){return{stage:a}},Myb=function(a,b){return{response:a,stage:b}},Pyb=function(a){return{summary:a}},Zyb=function(a){return{"has-reacted-icon":a}},c6=function(a,b,c,d,e){Z.call(this);var f=this;this.llmIssueSummaryService=a;this.llmService=b;this.matDialogService=c;this.activeSession=d;this.userFeedback=e;this.issueId="";this.INITIAL="initial";this.SHORT="short";this.LONG="long";this.CUSTOM="custom";this.enableNoButton=this.activeSession.getFlag("enableIssueSummarizationNoButton");
this.enableLlmDogfood=this.activeSession.getFlag("enableLlmDogfood");this.isIssueSummaryExpanded=!0;this.isSummarizable$=this.llmIssueSummaryService.isSummarizable$.pipe(sf(function(h){h&&f.llmIssueSummaryService.trackEvent("viewSummarizableIssue","issueDetailsPage")}),mf({refCount:!0,bufferSize:1}));this.stage$=new W.BehaviorSubject("initial");this.display$=(0,W.combineLatest)([this.isSummarizable$,this.stage$]).pipe(y(function(h){var k=l(h);h=k.next().value;k=k.next().value;return h&&!(f.enableNoButton&&
k==="initial")}));this.defaultSummaryRequested$=new W.ReplaySubject(1);this.defaultCommentThreadSummary$=this.defaultSummaryRequested$.pipe(tf(this.stage$),pf(function(h){h=l(h);h.next();h=h.next().value;return UAc(f.llmIssueSummaryService,f.issueId,gzb(h))}));this.customSummaryRequested$=new W.ReplaySubject(1);this.customCommentThreadSummary$=this.customSummaryRequested$.pipe(pf(function(h){return Qfc(f.llmService,h).then(function(k){return{issueId:f.issueId,summaryType:"ISSUE_SUMMARY_TYPE_UNSPECIFIED",
summary:k}})}));this.lastCustomPrompt="";this.summaryResponse$=(0,W.merge)((0,W.merge)(this.defaultSummaryRequested$,this.customSummaryRequested$).pipe(y(function(){})),this.defaultCommentThreadSummary$,this.customCommentThreadSummary$,this.llmIssueSummaryService.summary$).pipe(sf(function(h){h&&h.summary&&f.llmIssueSummaryService.trackEvent("display","issueDetailsPage")}),y(function(h){return h?{issueSummary:h}:void 0}),$e(function(h){return(0,W.of)({error:h})}),mf({refCount:!0,bufferSize:1}));this.thumbsDownClicked=
this.thumbsUpClicked=this.hasReacted=!1};X(c6,Z);c6.\u0275dir=Z.\u0275dir;c6.prototype.ngOnInit=function(){var a=this;this.enableNoButton&&(this.summaryResponse$.pipe(qf(this.destroyed$)).subscribe(function(){}),this.llmIssueSummaryService.summary$.pipe(qf(this.destroyed$)).subscribe(function(b){a.stage$.next(b&&b.issueId===a.issueId?"long":"initial")}))};
var Kyb=function(a){var b=fzb(a.stage$.value);a.stage$.next(b);a.llmIssueSummaryService.trackEvent("click","issueDetailsPage");a.defaultSummaryRequested$.next()},Iyb=function(a){var b,c;return fe(function(d){if(d.nextAddress==1)return b={issueId:a.issueId,customPrompt:a.lastCustomPrompt},he(d,(0,W.firstValueFrom)(qI(a.matDialogService.open(b6,{maxWidth:560,data:b}))),2);if(c=d.yieldResult)a.stage$.next("custom"),a.customSummaryRequested$.next(c),a.lastCustomPrompt=c;le(d)})};
c6.prototype.trackThumbsUp=function(a){Di("thumbsup");this.thumbsUpClicked=this.hasReacted=!0;this.llmIssueSummaryService.trackThumbsUp(a,"issueDetailsPage")};c6.prototype.trackThumbsDown=function(a){Di("thumbsdown");this.thumbsDownClicked=this.hasReacted=!0;this.llmIssueSummaryService.trackThumbsDown(a,"issueDetailsPage")};c6.prototype.openFeedbackDialog=function(a){this.userFeedback.startFeedback();a&&lZ(this.llmIssueSummaryService,a,"FEEDBACK")};
c6.prototype.copySummary=function(a){navigator.clipboard.writeText(a.summary);var b=this.llmIssueSummaryService;b.trackEvent("copy","issueDetailsPage");lZ(b,a,"COPY")};c6.\u0275fac=function(a){return new (a||c6)(A(kZ),A(uN),A(wI),A(Ir),A(lV))};
c6.\u0275cmp=p({type:c6,selectors:[["llm-summary"]],inputs:{issueId:"issueId"},features:[zf],decls:12,vars:3,consts:[["showHeader",""],["showStage",""],["summaryLoading",""],["renderedSummary",""],["showingSummary",""],["aiHelp",""],["plainTextSummary",""],["class","summary carded margin-s-sides margin-s-bottom flex-kids-x padded-sides",3,"ngClass",4,"ngIf"],[1,"summary","carded","margin-s-sides","margin-s-bottom","flex-kids-x","padded-sides",3,"ngClass"],["svgIcon","chat_spark_24px","color","primary",
1,"margin-s-right","shrink-0"],[1,"flex-kids-y","gap-s","full-width"],[3,"ngTemplateOutlet"],[4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"summary-header"],[1,"uppercase"],[3,"panelTemplate"],["svgIcon","help-outline",1,"icon-s"],["mat-icon-button","","class","gmat-button small expand-button","aria-label","Toggle the AI-generated summary for this issue","matTooltip","Toggle the AI-generated summary for this issue","matTooltipPosition",
"above",3,"matTooltipShowDelay","click",4,"ngIf"],["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,"gmat-button","small","expand-button",3,"click","matTooltipShowDelay"],["svgIcon","arrow-down","class","icon-s",4,"ngIf"],["svgIcon","arrow-up","class","icon-s",4,"ngIf"],["svgIcon","arrow-down",1,"icon-s"],["svgIcon","arrow-up",1,"icon-s"],[1,"flex-kids-x","gap-s"],["mat-flat-button",
"","color","primary",1,"gmat-button","small","generate-summary",3,"click"],["mat-button","","color","secondary","class","gmat-button small",3,"click",4,"ngIf"],["mat-button","","color","secondary",1,"gmat-button","small",3,"click"],[4,"ngIf","ngIfElse"],[3,"content",4,"ngIf","ngIfElse"],[3,"content"],[1,"white-space-pre-wrap","overflow"],[1,"flex-kids-x","space-between","full-width"],[1,"type-s","instructional"],["mat-icon-button","","matTooltip","Copy","aria-label","copy summary",1,"gmat-button",
"feedback-button","copy-issue-summary",3,"click"],["svgIcon","copy"],["mat-icon-button","","matTooltip","Send feedback","aria-label","send feedback",1,"gmat-button","feedback-button","summary-feedback",3,"click"],["svgIcon","feedback-outline"],["mat-icon-button","","aria-label","thumb up",1,"gmat-button","feedback-button","summary-thumbs-up",3,"click","disabled"],["svgIcon","thumb_up_24px",3,"ngClass"],["mat-icon-button","","aria-label","thumb down",1,"gmat-button","feedback-button","summary-thumbs-down",
3,"click","disabled"],["svgIcon","thumb_down_24px",3,"ngClass"],[1,"instructional"],["mat-icon-button","","matTooltip","Send feedback","aria-label","send feedback",1,"gmat-button","feedback-button",3,"click"]],template:function(a,b){a&1&&(C(0,Cyb,5,3,"div",7),T(1,"async"),C(2,Hyb,9,2,"ng-template",null,0,yg)(4,Syb,3,3,"ng-template",null,1,yg)(6,Tyb,1,0,"ng-template",null,2,yg)(8,Wyb,3,2,"ng-template",null,3,yg)(10,ezb,3,3,"ng-template",null,4,yg));a&2&&D("ngIf",V(1,1,b.display$))},dependencies:[Ev,
Gv,Kv,zB,RQ,oE,LH,OH,xN,xU,yL,Lv],styles:[".main-div[_ngcontent-%COMP%]{background-color:#edfbf1;background-color:var(--green-bg)}.legacy-main-div[_ngcontent-%COMP%]{background-color:#f2f6ff;background-color:var(--blue-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 d6=function(a,b){this.message=a;this.snackbarRef=b;this.DEFAULT_MESSAGE="New data is available. Click to refresh."};d6.prototype.onDismiss=function(a){this.snackbarRef.dismiss();a.stopPropagation()};d6.\u0275fac=function(a){return new (a||d6)(A(QD),A(UD))};
d6.\u0275cmp=p({type:d6,selectors:[["refresh-data-notification"]],decls:6,vars:1,consts:[["role","button","aria-label","Refresh data",1,"refresh-data-notification-container",3,"click"],["svgIcon","refresh",1,"margin-right"],[1,"margin-xs-top","full-width"],["mat-icon-button","","aria-label","Dismiss new data notification",1,"refresh-data-notification-dismiss-button","small",3,"click"],["svgIcon","close",1,"icon-m"]],template:function(a,b){a&1&&(F(0,"div",0),M("click",function(){return b.snackbarRef.dismissWithAction()}),
H(1,"mat-icon",1),F(2,"p",2),R(3),G()(),F(4,"button",3),M("click",function(c){return b.onDismiss(c)}),H(5,"mat-icon",4),G());a&2&&(z(3),S(" ",b.message||b.DEFAULT_MESSAGE," "))},dependencies:[zB,oE],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 e6=function(a){this.snackbar=a},SNc=function(a){var b=Sq.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(d6,c);return a.currentSnackBar};e6.\u0275fac=function(a){return new (a||e6)(n(XD))};e6.\u0275prov=Hc({token:e6,factory:e6.\u0275fac,providedIn:"root"});var f6=function(a,b,c,d,e,f,h,k,q,t,w){Z.call(this);var B=this;this.eventsForIssue=a;this.issueFridge=b;this.preferences=c;this.activeSession=d;this.commentHistoryDialogService=e;this.issueDetailsBrain=f;this.errorHandler=h;this.refreshDataNotification=k;this.eventsForIssueWatcher=q;this.analytics=t;this.appEvents=w;this.id$=new W.ReplaySubject(1);this.events$=this.id$.pipe(pf(this.eventsForIssue.watch),y(function(E){var I;return(I=E==null?void 0:E.events)!=null?I:[]}));this.issue$=this.id$.pipe(pf(function(E){return B.issueFridge.watch(E)}));
this.accessLevel$=this.issue$.pipe(y(function(E){var I;return E==null?void 0:(I=E.accessLimit)==null?void 0:I.accessLevel}));this.enableLlmSummarization=this.activeSession.getFlag("enableIssueSummarizationNoButton")&&this.activeSession.isInternalSession();this.enableInlineScreenshots$=this.preferences.showInlineImages$.pipe(y(function(E){return E&&B.activeSession.getFlag("enableImageSummary")}),of(!0))};X(f6,Z);f6.\u0275dir=Z.\u0275dir;
f6.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=fo(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(wEc(this.eventsForIssueWatcher,fo(this.id$)).subscribe(function(){TNc(a)}));this.subscriptions.add(this.events$.subscribe(function(){var b;
(b=a.refreshDataNotification.currentSnackBar)==null||b.dismiss()}));this.destroyed$.pipe(ef()).subscribe(function(){var b;(b=a.refreshDataNotification.currentSnackBar)==null||b.dismiss()})};
var TNc=function(a){a.analytics.trackEvent("pushUpdate","display","comment");SNc(a.refreshDataNotification).afterDismissed().subscribe(function(b){b.dismissedByAction?(a.analytics.trackEvent("pushUpdate","fetchResource","comment"),a.issueFridge.poke(fo(a.id$)),a.eventsForIssue.poke(fo(a.id$)),a.appEvents.scrollToCommentBox.next()):a.analytics.trackEvent("pushUpdate","dismiss","comment")})};ea.Object.defineProperties(f6.prototype,{id:{configurable:!0,enumerable:!0,set:function(a){this.id$.next(a)}}});
f6.\u0275fac=function(a){return new (a||f6)(A(rF),A(jG),A(rH),A(Ir),A(aW),A(qJ),A(uE),A(e6),A(p_),A(bG),A(yE))};
f6.\u0275cmp=p({type:f6,selectors:[["issue-event-list"]],inputs:{id:"id"},features:[zf],decls:8,vars:18,consts:[["class","margin-top",4,"ngIf"],[3,"issueId","events","issueAccessLevel","showFullHistory"],[1,"margin-top"],[3,"issueId"]],template:function(a,b){a&1&&(C(0,hzb,2,1,"div",0),T(1,"async"),H(2,"b-event-stream",1),T(3,"async"),T(4,"async"),T(5,"async"),T(6,"async"),T(7,"async"));a&2&&(D("ngIf",b.enableLlmSummarization&&V(1,6,b.id$)),z(2),D("issueId",V(3,8,b.id$))("events",V(4,10,b.events$))("issueAccessLevel",
V(5,12,b.accessLevel$))("showFullHistory",V(6,14,b.preferences.showFullHistory$)),Bf("data-will-inline-screenshots",V(7,16,b.enableInlineScreenshots$)?!0:null))},dependencies:[Gv,a6,c6,Lv],styles:["[_nghost-%COMP%]     .bv2-edit-issue-history-stream {\n      padding-left: 0;\n    }"]});var uzb=function(a,b){return{empty:a,"never-focused":b}},g6=function(a,b,c,d,e,f,h,k,q,t,w,B){var E=this;this.issuePermissionService=a;this.userPreferencesManager=b;this.editIssueService=c;this.analytics=d;this.draftStore=e;this.activeSession=f;this.issueDetailsBrain=h;this.issueCommentDialogsService=k;this.appEvents=q;this.bannedWordsChecker=t;this.componentFridge=w;this.butterBar=B;this.issueId$=new W.ReplaySubject(1);this.distinctIssueId$=this.issueId$.pipe(df());this.issue$=this.distinctIssueId$.pipe(pf(function(I){return E.editIssueService.editableIssue$(I)}));
this.wasFocused=!1;this.commentButtonStyle="fill";this.enableRecaptcha=this.activeSession.userRequiresCaptcha();this.enableNewVisibilityChips=this.activeSession.getFlag("enableNewVisibilityChips");this.recaptchaResponse$=new W.BehaviorSubject("");this.commentSubmitted=new XF;this.issueComponent$=this.issue$.pipe(pf(function(I){return E.componentFridge.watch(I==null?void 0:I.componentId)}));this.issueAccessLimitLevel$=this.issuePermissionService.accessLimitLevel$.pipe(y(function(I){return I!=null?
I:"LIMIT_NONE"}));this.isAccessLimited$=this.issueAccessLimitLevel$.pipe(y(function(I){return I==="LIMIT_VIEW"||I==="LIMIT_APPEND"||I==="LIMIT_VIEW_TRUSTED"}));this.HOTKEYS=Sq;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(y(function(I){return I.autoCcOnComment}));this.issueCommentDraft$=this.issueId$.pipe(y(function(I){return E.editIssueService.issueCommentDraft(I)}));this.judgementForNewContent$=this.issueCommentDraft$.pipe(pf(function(I){return I.judgementForNewContent$}));this.comment$=this.issueCommentDraft$.pipe(pf(function(I){return I.comment$}));this.events$=this.issueDetailsBrain.eventsJs$;this.savingState$=this.issueId$.pipe(y(function(I){return E.editIssueService.savingState(I)}));
this.isSaving$=this.savingState$.pipe(pf(function(I){return sp(I.propertiesBeingSaved,to("comment"))}));this.commentLimitReached$=this.events$.pipe(y(function(I){var J=E.activeSession.getCommentNumberLimit();return RCa(I)>=J}));this.commentPlaceholderText$=this.commentLimitReached$.pipe(y(function(I){return I?"The comment limit has been reached and no additional comments are permitted.":E.activeSession.isAnonymous()?"Sign in to use full features.":E.issuePermissionService.hasAclToComment()?"Add a comment.":
"You do not have access to comment on this issue."}));this.commentBoxEnabled$=(0,W.combineLatest)([this.hasAclToComment$,this.commentLimitReached$,this.isSaving$]).pipe(y(function(I){var J=l(I);I=J.next().value;var N=J.next().value;J=J.next().value;return I&&!N&&!J}));this.showRecaptcha$=(0,W.combineLatest)([this.hasAclToComment$,this.commentLimitReached$]).pipe(y(function(I){var J=l(I);I=J.next().value;J=J.next().value;return I&&!J&&E.enableRecaptcha}));this.commentDraftUpdated$=new W.BehaviorSubject(!0);
this.commentButtonEnabled$=(0,W.combineLatest)([this.hasAclToComment$,this.comment$,this.isSaving$,this.recaptchaResponse$,this.commentDraftUpdated$]).pipe(y(function(I){var J=l(I);I=J.next().value;var N=J.next().value;var P=J.next().value;J=J.next().value;return I&&Cac(N)&&!P&&(!E.enableRecaptcha||J!=="")}));this.empty$=(0,W.combineLatest)([this.comment$,this.commentDraftUpdated$]).pipe(y(function(I){var J,N;return(N=(J=l(I).next().value)==null?void 0:J.value)!=null?N:""}),y(function(I){return I.length===
0}));this.doAutoRestrictComment$=(0,W.combineLatest)([this.issueComponent$,this.comment$,this.commentDraftUpdated$]).pipe(y(function(I){I=l(I);var J=I.next().value;var N=I.next().value;I.next();I=kp(E.activeSession);var P=fo(E.judgementForNewContent$);J=J!=null?J:null;N=N.uploads.length>0;var U=!(J==null||!J.trackerId);P=(P==null?void 0:P.severity)!=="RESTRICTED"&&(P==null?void 0:P.severity)!=="RESTRICTED_PLUS";return cq(J)&&U&&!I&&N&&P}))};g6.prototype.setJudgementForNewContent=function(a,b){this.editIssueService.issueCommentDraft(a).setJudgementForNewContent(b)};
g6.prototype.autoRestrictComment=function(a){var b=this,c;return fe(function(d){a&&(c={severity:"RESTRICTED",judgementReason:"Auto-restricted for issue on public tracker being edited from outside of a tracker",contentJudge:"",resourcePath:void 0,contentJudgementId:void 0},b.setJudgementForNewContent(b.issueId,c),Ap(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."));le(d)})};
g6.prototype.ngOnInit=function(){this.doAutoRestrictComment$.subscribe(this.autoRestrictComment.bind(this))};var kzb=function(a){var b;return fe(function(c){b=!sH(a.userPreferencesManager).autoCcOnComment;a.analytics.trackEvent("editIssue","toggleAutoCcOnComment",String(b));return he(c,(0,W.firstValueFrom)(a.userPreferencesManager.save({autoCcOnComment:b})),0)})};
g6.prototype.saveCommentDraft=function(){var a=this,b;return fe(function(c){if(c.nextAddress==1)return a.bannedWordsChecker.reset(),he(c,(0,W.firstValueFrom)(a.comment$),2);b=c.yieldResult;a.draftStore.$window.sessionStorage.setItem(lo(a.internalIssueId),b.value);a.commentDraftUpdated$.next(!0);le(c)})};
g6.prototype.submitCommentBox=function(a){var b=this,c,d,e,f,h,k,q;return fe(function(t){if(t.nextAddress==1)return(c=a)==null||c.stopPropagation(),d=b.enableRecaptcha?b.recaptchaResponse$.getValue():void 0,e=b.editIssueService.issueCommentDraft(b.internalIssueId).comment(),f=b.editIssueService.editableIssue(b.internalIssueId),he(t,b.bannedWordsChecker.check(e.value,b.issuePermissionService.accessLevel()==="EXTERNAL_PUBLIC",f.componentId),2);if(t.nextAddress!=3)return h=t.yieldResult,h?he(t,b.issueCommentDialogsService.submitCommentBox(String(f.componentId),
b.internalIssueId,e,d),3):((k=a)==null||k.preventDefault(),(q=b.commentBox)==null||szb(q),t.return());b.commentSubmitted.emit();b.bannedWordsChecker.reset();b.appEvents.recaptchaSubmitted.next();le(t)})};g6.prototype.showNewContentJudgementDialog=function(){var a=this;return fe(function(b){return he(b,a.issueCommentDialogsService.showNewContentJudgementDialog(a.internalIssueId),0)})};
g6.prototype.isPlusOneCalloutEnabled=function(){return this.activeSession.isInternalSession()&&this.activeSession.getFlag("enableReducePlusOneComments")&&!fo(this.issueDetailsBrain.voted$)};ea.Object.defineProperties(g6.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)}}});
g6.\u0275fac=function(a){return new (a||g6)(A(sJ),A(rH),A(LJ),A(bG),A(lI),A(Ir),A(qJ),A(s_),A(yE),A(hZ),A(CC),A(sE))};
g6.\u0275cmp=p({type:g6,selectors:[["b-post-comment"]],viewQuery:function(a,b){a&1&&fg(gY,5);if(a&2){var c;jg(c=kg())&&(b.commentBox=c.first)}},inputs:{issueId:"issueId"},outputs:{commentSubmitted:"commentSubmitted"},features:[qg([hZ])],decls:2,vars:3,consts:[["commentBox",""],[4,"ngIf"],[1,"a11y-only"],[1,"bv2-edit-issue-add-comment",3,"ngClass"],["id","AddCommentBox",3,"onHotkey","onChange","onFocusEvent","onSubmit","onRestrict","onPlusOneTextEntered","hotkey","supportsPreview","issueId","comment",
"componentId","placeholder","judgementForNewContent","audience","disabled","isPlusOneCalloutEnabled","warn"],["class","banned-words-warning break-word","warning","",4,"ngIf"],["recaptchaContainer","",4,"ngIf"],["additionalToolbarItems","",1,"goog-inline-block"],[3,"onAction","click","format","disabled","color"],[1,"goog-inline-block"],["class","goog-inline-block vertical-centered",4,"ngIf"],[3,"initialValue","change",4,"ngIf"],[3,"issueId","componentId","accessLimitLevel",4,"ngIf"],[3,"issueId"],
[3,"accessLevel"],["warning","",1,"banned-words-warning","break-word"],["target","_blank","aria-label","Learn more about banned words","href","http://go/b-trackers#banned-words-for-tracker",1,"color-bad-text","keep-underline"],["recaptchaContainer",""],[3,"onUpdate"],[3,"change","checked","disabled"],[1,"goog-inline-block","vertical-centered"],["matTooltip","(issuePermissionService.addMeToCcDisabledReason$ | async) || ''",3,"checked","disabled",4,"ngIf"],["matTooltip","(issuePermissionService.addMeToCcDisabledReason$ | async) || ''",
3,"checked","disabled"],[3,"change","initialValue"],[3,"issueId","componentId","accessLimitLevel"]],template:function(a,b){a&1&&(C(0,wzb,2,1,"ng-container",1),T(1,"async"));a&2&&D("ngIf",V(1,1,b.issue$))},dependencies:[jQ,gY,KL,Ev,Gv,yN,MN,QH,RH,jY,y5,TN,Lv],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-button.mat-flat-button{border:1px solid;border-color:#dadce0;border-color:var(--divider)}}[_nghost-%COMP%]     .bv2-comment-toolbar .goog-inline-block b-button .gmat-button.mat-flat-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 h6=function(a){this.issueReferenceResolver=a;this.userToString=sm};h6.prototype.ngOnInit=function(){};h6.prototype.getCommentNumberLink=function(a){return qo(this.issueId,{comment:a})};h6.prototype.scrollCommentIntoView=function(a,b){this.issueReferenceResolver.visit({issueId:this.issueId,elementId:"comment"+b,event:a})};h6.\u0275fac=function(a){return new (a||h6)(A(XH))};
h6.\u0275cmp=p({type:h6,selectors:[["comments-info"]],inputs:{issueId:"issueId",comments:"comments"},decls:1,vars:1,consts:[["personCard",""],["class","comment-info",4,"ngFor","ngForOf"],[1,"comment-info"],[4,"ngIf"],["class","keep-focus-ring hover-link",3,"routerLinkObj","click",4,"ngIf"],[1,"ldap",3,"onedevHovercardTrigger"],[3,"email",4,"ngIf"],[3,"email"],[1,"keep-focus-ring","hover-link",3,"click","routerLinkObj"]],template:function(a,b){a&1&&C(0,Bzb,5,3,"span",1);a&2&&D("ngForOf",b.comments)},
dependencies:[Fv,Gv,wB,$H,gI,qL,AN],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 i6=function(a){Z.call(this);this.ngZone=a};X(i6,Z);i6.\u0275dir=Z.\u0275dir;var UNc=function(a,b){return(new W.Observable(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(qf(a.destroyed$))};i6.\u0275fac=function(a){return new (a||i6)(n(ze))};i6.\u0275prov=Hc({token:i6,factory:i6.\u0275fac,providedIn:"root"});var VNc=["imagesSummaryWidget"],j6=function(a,b,c,d){var e=this;this.activeSession=a;this.resizeService=b;this.router=c;this.route=d;this.imageLinks$=new W.ReplaySubject(1);this.paginate=!1;this.container$=new W.ReplaySubject(1);this.containerResize$=this.container$.pipe(y(function(f){return f.nativeElement}),pf(function(f){return UNc(e.resizeService,f)}));this.enableSnipItCorpEndpoint=this.activeSession.getFlag("enableSnipItCorpEndpoint");this.issueId$=new W.ReplaySubject(1);this.lastRenderedImageIndex$=
new W.BehaviorSubject(0);this.allImages$=this.imageLinks$.pipe(y(function(f){f=f.map(function(h){if(h.comment){var k=sIa(h.href);if(k)return{src:k,comment:h.comment}}}).filter(lj);return Izb(f)}));this.maxImagesInOneRow$=this.containerResize$.pipe(y(function(f){return Math.floor((f.width-16)/216)}),mf({refCount:!0,bufferSize:1}));this.initialNumberOfImages$=this.maxImagesInOneRow$.pipe(y(function(f){return f*2}));this.imagesToRender$=(0,W.combineLatest)([this.initialNumberOfImages$,this.allImages$,
this.lastRenderedImageIndex$]).pipe(y(function(f){var h=l(f);f=h.next().value;var k=h.next().value;h=h.next().value;return e.paginate?k.slice(0,h||f):k.slice(0,f)}),y(function(f){return f.map(function(h){var k;return Object.assign({},h,{srcCorp:(k=sIa(h.src,!0))!=null?k:""})})}),df())};j6.prototype.goToResourcesTab=function(){this.router.navigate(["./resources"],{relativeTo:this.route})};j6.prototype.ngOnInit=function(){this.issueId$.next(this.issueId)};j6.prototype.ngAfterContentInit=function(){this.container$.next(this.container)};
ea.Object.defineProperties(j6.prototype,{imageLinks:{configurable:!0,enumerable:!0,set:function(a){this.imageLinks$.next(a)},get:function(){return fo(this.imageLinks$)}}});j6.\u0275fac=function(a){return new (a||j6)(A(Ir),A(i6),A(pB),A(ai))};
j6.\u0275cmp=p({type:j6,selectors:[["inline-images-summary"]],viewQuery:function(a,b){a&1&&fg(VNc,7);if(a&2){var c;jg(c=kg())&&(b.container=c.first)}},inputs:{issueId:"issueId",imageLinks:"imageLinks",paginate:"paginate"},decls:4,vars:3,consts:[["imagesSummaryWidget",""],["withoutPagination",""],[4,"ngIf"],[1,"container"],["class","image-wrapper",4,"ngFor","ngForOf"],[1,"image-wrapper"],["target","_blank",1,"thumbnail",3,"href"],[3,"showByDefault","src"],[3,"issueId","comments"],["mat-button","",
"class","gmat-button small load-more-screenshots",3,"click",4,"ngIf","ngIfElse"],["mat-button","",1,"gmat-button","small","load-more-screenshots",3,"click"],["mat-button","",1,"gmat-button","small","see-all-screenshots",3,"click"]],template:function(a,b){a&1&&(F(0,"div",null,0),C(2,Hzb,3,3,"ng-container",2),T(3,"async"),G());a&2&&(z(2),D("ngIf",V(3,1,b.allImages$)))},dependencies:function(){return[h6,Fv,Gv,oE,vL,Lv,k6]},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 k6=function(){};k6.prototype.transform=function(a){return a.split(".png")[0]};k6.\u0275fac=function(a){return new (a||k6)};k6.\u0275pipe=gd({name:"removePngExtension",type:k6,pure:!0});var WNc={IMAGES:"SW-images",MENTIONED_ISSUES:"SW-mentioned-bugs",LINKS:"SW-links",SIMILAR_ISSUES:"SW-similar-issues"},VAb=[].concat(r(Object.values(WNc)));var XNc=function(a,b){var c=this;this.issueInteractionsTracking=a;this.analytics=b;this.recordInteractionOnce=Pn(function(d){c.analytics.trackEvent("editIssue","click",d)});this.recordImpressionOnce=Pn(function(){c.analytics.trackEvent("editIssue","view","SW")})},GAb=function(a,b,c){a.recordInteractionOnce(c);ur(a.issueInteractionsTracking,b,c+"-content-interacted");ur(a.issueInteractionsTracking,b,"SW-content-interacted")};var l6=function(a,b){this.activeSession=a;this.trackerHelpers=b;this.linkText=this.rightText=this.leftText="";this.isExternalLink=!1;this.issueId=this.originalHref=this.redirectedHref=""};
l6.prototype.ngOnChanges=function(){var a;a:{var b=(a=this.sourceComment)==null?void 0:a.formattedComment;if(b){if(b.markdownFormat){a=Pzb(b.markdownFormat.content);break a}if(b.literalFormat){a=Pzb(b.literalFormat.content);break a}if(b.plainFormat){a=document.createElement("div");b=l(b.plainFormat.plainSection);for(var c=b.next();!c.done;c=b.next())(c=c.value.content)&&a.appendChild(Pzb(c));break a}}a=void 0}if(a=a&&YNc(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(ZNc.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(ZNc.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="",xo(this.relatedLink)?c=b=this.relatedLink.href:tIa(this.relatedLink)&&(a=this.relatedLink.issueId,b=this.getIssueUrl(this.relatedLink.issueId),c=this.relatedLink.issueId,c=this.activeSession.isInternalSession()?Qta(lQ(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 YNc=function(a,b){if(a.relatedLink){if(tIa(a.relatedLink)){var c=a.relatedLink.issueId;return[].concat(r(b.querySelectorAll("a"))).find(function(e){return e.dataset.bIssueId===c})}if(xo(a.relatedLink)){var d=a.relatedLink;return[].concat(r(b.querySelectorAll("a"))).find(function(e){a:{var f=d.href;if(e.innerText===f)e=!0;else{try{f=(new URL(f)).href}catch(h){e=!1;break a}e=e.href===f||e.href.replace("https://cl.corp.google.com/","https://critique.corp.google.com/")===f?!0:!1}}return e})}}};
l6.prototype.getIssueUrl=function(a){return lQ(this.trackerHelpers,a)};l6.\u0275fac=function(a){return new (a||l6)(A(Ir),A(kQ))};
l6.\u0275cmp=p({type:l6,selectors:[["mentioned-link-with-context"]],inputs:{sourceComment:"sourceComment",relatedLink:"relatedLink"},features:[td],decls:8,vars:4,consts:[["internalLink",""],["hyperLink",""],[1,"wrapper"],["class","muted margin-xs-right left","aria-hidden","true",4,"ngIf"],[4,"ngIf","ngIfElse"],["class","muted margin-xs-left right","aria-hidden","true",4,"ngIf"],["aria-hidden","true",1,"muted","margin-xs-right","left"],[3,"href","originalHref"],[3,"href","issueId",4,"ngIf","ngIfElse"],
[3,"href","issueId"],["target","_blank",1,"keep-focus-ring",3,"href"],["aria-hidden","true",1,"muted","margin-xs-left","right"]],template:function(a,b){a&1&&(F(0,"div",2),R(1," \u201c "),C(2,Jzb,3,3,"span",3)(3,Kzb,3,3,"ng-container",4)(4,Nzb,3,2,"ng-template",null,0,yg)(6,Ozb,2,1,"span",5),R(7," \u201d\n"),G());a&2&&(a=Q(5),z(2),D("ngIf",b.leftText),z(),D("ngIf",b.isExternalLink)("ngIfElse",a),z(3),D("ngIf",b.rightText))},dependencies:[TH,iI,Gv,EJ],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 ZNc=new Set(["BR"]);var m6=function(a,b,c,d,e){var f=this;this.activeSession=a;this.issueFridge=b;this.router=c;this.route=d;this.issueReferenceResolver=e;this.issueReferences$=new W.ReplaySubject(1);this.currentIssueId$=new W.ReplaySubject(1);this.paginate=!1;this.lastRenderedMentionedIssueIndex$=new W.BehaviorSubject(10);this.issuesMap$=this.issueReferences$.pipe(te(lj),pf(function(h){var k=Sm(h.map(function(q){return q.issueId}));return f.issueFridge.watchSet(k).pipe(y(function(q){return new Map(q.map(function(t){return[t==
null?void 0:t.issueId.toString(),t]}))}),y(function(q){return new Map(k.map(function(t){return[t,q.get(t)]}))}))}));this.issueReferencesMap$=this.issueReferences$.pipe(te(lj),y(function(h){var k=new Map;h=l(h);for(var q=h.next();!q.done;q=h.next()){q=q.value;var t=q.issueId.toString();k.has(t)?k.get(t).push(q):k.set(t,[q])}return k}));this.allMentionedIssues$=(0,W.combineLatest)([this.issueReferencesMap$,this.issuesMap$]).pipe(y(function(h){h=l(h);var k=h.next().value;h=h.next().value;return[].concat(r(h)).filter(function(q){return l(q).next().value!==
f.issueId}).map(function(q){var t=l(q);q=t.next().value;t=t.next().value;var w=k.get(q),B=w==null?void 0:w.map(function(E){var I,J,N=(I=E.comment)==null?void 0:(J=I.userPerformingActionUser)==null?void 0:J.emailAddress;return{commentNumber:E.sourceCommentNumber,author:(N==null?void 0:N.split("@")[0])+"@",issueEvent:E.comment}});return{hasViewAccess:!!t,issueId:q,shortIssueUrl:Qta(f.activeSession.getAppBaseUrl(),q),sourceComments:B,title:t==null?void 0:t.snapshot[0].title,priority:t?t.snapshot[0].priority:
null,relatedLinks:w}})}));this.mentionedIssuesToRender$=(0,W.combineLatest)([this.allMentionedIssues$,this.lastRenderedMentionedIssueIndex$]).pipe(y(function(h){var k=l(h);h=k.next().value;k=k.next().value;return f.paginate?h.slice(0,k):h.slice(0,5)}))};m6.prototype.getCommentNumberLink=function(a){return qo(this.issueId,{comment:a})};m6.prototype.scrollCommentIntoView=function(a,b){this.issueReferenceResolver.visit({issueId:this.issueId,elementId:"comment"+b,event:a})};
m6.prototype.goToResourcesTab=function(){this.router.navigate(["./resources"],{relativeTo:this.route})};ea.Object.defineProperties(m6.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}}});m6.\u0275fac=function(a){return new (a||m6)(A(Ir),A(jG),A(pB),A(ai),A(XH))};
m6.\u0275cmp=p({type:m6,selectors:[["b-mentioned-issues"]],inputs:{issueReferences:"issueReferences",currentIssueId:"currentIssueId",paginate:"paginate"},decls:2,vars:3,consts:[["withoutPagination",""],[4,"ngIf"],[4,"ngFor","ngForOf"],[3,"matTooltip","issuePriority"],[1,"issue-title-and-link"],[1,"padded-s-sides","title",3,"matTooltip"],[3,"sourceComment","relatedLink"],[1,"margin-left-auto",3,"issueId","comments"],["mat-button","","class","gmat-button small load-more-issues",3,"click",4,"ngIf","ngIfElse"],
["mat-button","",1,"gmat-button","small","load-more-issues",3,"click"],["mat-button","",1,"gmat-button","small","see-all-issues",3,"click"]],template:function(a,b){a&1&&(C(0,Wzb,3,3,"ng-container",1),T(1,"async"));a&2&&D("ngIf",V(1,1,b.mentionedIssuesToRender$))},dependencies:function(){return[Fv,Gv,mN,oE,LH,OH,l6,h6,Lv,n6]},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 n6=function(){};n6.prototype.transform=function(a){return a.map(function(b){return b.issueEvent}).filter(lj)};n6.\u0275fac=function(a){return new (a||n6)};n6.\u0275pipe=gd({name:"toComments",type:n6,pure:!0});var o6=function(a,b){var c=this;this.router=a;this.route=b;this.allLinks$=new W.ReplaySubject(1);this.issueId$=new W.ReplaySubject(1);this.lastRenderedRelatedLinkIndex$=new W.BehaviorSubject(10);this.paginate=!1;this.trackByHref=function(d,e){return e[0].href};this.allLinkGroups$=this.allLinks$.pipe(y(function(d){return IAa(d,function(e){return e.href})}));this.linkGroupsToRender$=(0,W.combineLatest)([this.allLinkGroups$,this.lastRenderedRelatedLinkIndex$]).pipe(y(function(d){var e=l(d);d=e.next().value;
e=e.next().value;return c.paginate?dAb(d,e):d.length===6?dAb(d,6):dAb(d,5)}))};o6.prototype.ngOnInit=function(){};o6.prototype.goToResourcesTab=function(){this.router.navigate(["./resources"],{relativeTo:this.route})};ea.Object.defineProperties(o6.prototype,{links:{configurable:!0,enumerable:!0,set:function(a){this.allLinks$.next(a)},get:function(){throw Error("rf");}},issueId:{configurable:!0,enumerable:!0,set:function(a){this.issueId$.next(a)},get:function(){return fo(this.issueId$)}}});
o6.\u0275fac=function(a){return new (a||o6)(A(pB),A(ai))};
o6.\u0275cmp=p({type:o6,selectors:[["related-links-widget"]],inputs:{links:"links",issueId:"issueId",paginate:"paginate"},decls:2,vars:3,consts:[["withoutPagination",""],[4,"ngIf"],["class","related-link flex-kids-x align-items-center gap-s margin-xs-bottom",4,"ngFor","ngForOf","ngForTrackBy"],[1,"related-link","flex-kids-x","align-items-center","gap-s","margin-xs-bottom"],[3,"sourceComment","relatedLink"],[1,"margin-left-auto",3,"issueId","comments"],["mat-button","","class","gmat-button small load-more-links",
3,"click",4,"ngIf","ngIfElse"],["mat-button","",1,"gmat-button","small","load-more-links",3,"click"],["mat-button","",1,"gmat-button","small","see-all-links",3,"click"]],template:function(a,b){a&1&&(C(0,bAb,3,3,"ng-container",1),T(1,"async"));a&2&&D("ngIf",V(1,1,b.allLinkGroups$))},dependencies:function(){return[h6,Fv,Gv,oE,l6,Lv,p6]},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 cAb=Tm(function(a){return Math.min.apply(Math,r(a.map(function(b){return b.sourceCommentNumber})))},Um),p6=function(){};p6.prototype.transform=function(a){return a.map(function(b){return b.comment}).filter(lj)};p6.\u0275fac=function(a){return new (a||p6)};p6.\u0275pipe=gd({name:"toComments",type:p6,pure:!0});var q6=function(a,b,c,d,e,f){Z.call(this);var h=this;this.issueFridge=a;this.eventsForIssueFridge=b;this.snackBar=c;this.analytics=d;this.hostElement=e;this.appEvents=f;this.similarIssueIds$=new W.ReplaySubject(1);this.isLoading=!0;this.issueIds$=this.similarIssueIds$.pipe(y(function(k){return k.slice(0,3)}),sf(function(k){h.mostRecentIssueIds=k;setTimeout(function(){h.isLoading=!1})}));this.mostRecentIssueIds=[];this.tableColumns=["title","dupeCount","voteCount","createdTime","menu"];this.tableOptions=
{modes:{createdTime:"date"},enableIssueHovercard:!0,menu:{includeGoToIssueItem:!1}};this.menuItemFactory=function(k){return[{type:"action",label:"Close current issue as duplicate of this row",action:function(){$Nc(h,k)}}]};this.gotErr=function(k){h.snackBar.open({message:nn(k)||"Error with network request",snackbarType:"ERROR"})};this.subscriptions.add(this.appEvents.didShowIssueHovercard.subscribe(function(k){if(h.mostRecentIssueIds.includes(k)){var q;(q=h.analytics)==null||q.trackEvent("similar-issues-idp",
"hovercard")}}))};X(q6,Z);q6.\u0275dir=Z.\u0275dir;q6.prototype.ngOnInit=function(){this.hostElement.nativeElement.addEventListener("click",this.captureAnyClick,!0)};q6.prototype.ngOnDestroy=function(){Z.prototype.ngOnDestroy.call(this);this.hostElement.nativeElement.removeEventListener("click",this.captureAnyClick,!0)};
var $Nc=function(a,b){var c=String(a.issueIdInternal);c&&r8b(a.issueFridge,b,c).then(function(){aOc(a,b);aOc(a,c);a.snackBar.open({message:"Issue closed as duplicate",actionLabel:"Undo"}).afterDismissed().subscribe(function(d){d.dismissedByAction&&bOc(a,b,c)});a.analytics.trackEvent("similar-issues-idp","closeAsDuplicate","fromSummaryWidget")}).catch(a.gotErr)},bOc=function(a,b,c){a.issueFridge.removeDuplicate(b,c).then(function(){aOc(a,b);aOc(a,c);a.snackBar.open({message:"Un-marked issue as duplicate"})}).catch(a.gotErr);
a.analytics.trackEvent("similar-issues-idp","undoCloseAsDuplicate","fromSummaryWidget")},aOc=function(a,b){a.issueFridge.poke(b);a.eventsForIssueFridge.poke(b)};q6.prototype.captureAnyClick=function(){var a;(a=this.analytics)==null||a.trackEvent("similar-issues-idp","any-click")};
ea.Object.defineProperties(q6.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("sf");}}});q6.\u0275fac=function(a){return new (a||q6)(A(jG),A(rF),A(qE),A(bG),A(Rd),A(yE))};
q6.\u0275cmp=p({type:q6,selectors:[["suggested-similar-issues"]],inputs:{issueId:"issueId",similarIssueIds:"similarIssueIds"},features:[zf],decls:3,vars:9,consts:[[3,"issueIds","tableColumns","options","menuItemFactory"],[4,"ngIf"]],template:function(a,b){a&1&&(H(0,"b-issues-table",0),T(1,"async"),C(2,eAb,2,0,"div",1));a&2&&(Kf("hidden",b.isLoading),D("issueIds",V(1,7,b.issueIds$))("tableColumns",b.tableColumns)("options",b.tableOptions)("menuItemFactory",b.menuItemFactory),z(2),D("ngIf",b.isLoading))},
dependencies:[Gv,fT,RQ,Lv],encapsulation:2});var r6=function(){Rw.apply(this,arguments)};X(r6,Rw);r6.\u0275fac=function(){var a;return function(b){return(a||(a=Od(r6)))(b||r6)}}();r6.\u0275dir=fd({type:r6,selectors:[["","expandable-tab-content",""]],features:[zf]});var s6=function(){Rw.apply(this,arguments)};X(s6,Rw);s6.\u0275fac=function(){var a;return function(b){return(a||(a=Od(s6)))(b||s6)}}();s6.\u0275dir=fd({type:s6,selectors:[["","expandable-tab-header",""]],features:[zf]});var t6=function(){Rw.apply(this,arguments)};X(t6,Rw);
t6.\u0275fac=function(){var a;return function(b){return(a||(a=Od(t6)))(b||t6)}}();t6.\u0275dir=fd({type:t6,selectors:[["","expandable-tab-icon",""]],features:[zf]});var u6=function(){};u6.prototype.ngOnInit=function(){};u6.\u0275fac=function(a){return new (a||u6)};
u6.\u0275cmp=p({type:u6,selectors:[["expandable-tab"]],contentQueries:function(a,b,c){a&1&&(gg(c,s6,5,cg),gg(c,r6,5,cg),gg(c,t6,5,cg));if(a&2){var d;jg(d=kg())&&(b.tabHeaderTemplate=d.first);jg(d=kg())&&(b.tabContentTemplate=d.first);jg(d=kg())&&(b.tabIconTemplate=d.first)}},inputs:{key:"key",ariaLabel:"ariaLabel"},decls:0,vars:0,template:function(){},encapsulation:2,changeDetection:0});var cOc=function(a){return{allTabsExpanded:a}},fAb=function(a){return{tab:a}},wAb=function(){return[]},v6=function(){Z.apply(this,arguments);this.internalTabKeys$=new W.ReplaySubject(1);this.ariaLabel="";this.internalExpandedTabs=new HJ;this.visibleExpandedTabs$=(0,W.combineLatest)([this.internalTabKeys$,this.internalExpandedTabs.value$]).pipe(y(function(a){var b=l(a);a=b.next().value;var c=b.next().value;return a.filter(function(d){return c.has(d)})}));this.expandedTabsChanged=new XF;this.contentShownChanged=
new XF;this.tabs$=new W.BehaviorSubject([]);this.allTabsExpanded$=(0,W.combineLatest)([this.tabs$,this.internalExpandedTabs.value$]).pipe(y(function(a){var b=l(a);a=b.next().value;var c=b.next().value;return a.every(function(d){return c.has(d.key)})}));this.trackByKey=function(a,b){return b.key}};X(v6,Z);v6.\u0275dir=Z.\u0275dir;
v6.prototype.ngAfterContentInit=function(){var a=this;this.subscriptions.add(this.internalTabs.changes.pipe(of(void 0),y(function(){return a.internalTabs.toArray()}),y(function(b){return new Map(b.map(function(c){return[c.key,c]}))}),pf(function(b){return(0,W.combineLatest)([(0,W.of)(b),a.internalTabKeys$])}),y(function(b){b=l(b);var c=b.next().value;return b.next().value.map(function(d){return Object.assign({},{key:d},c.get(d))})})).subscribe(this.tabs$));this.subscriptions.add((0,W.combineLatest)([this.internalTabKeys$,
this.internalExpandedTabs.value$]).pipe(y(function(b){var c=l(b);b=c.next().value;c=c.next().value;return zta(new Set(b),new Set(c))}),df(pi)).subscribe(function(b){a.contentShownChanged.emit(b)}))};v6.prototype.ngOnInit=function(){};v6.prototype.showAll=function(){this.internalExpandedTabs.add.apply(this.internalExpandedTabs,r(this.tabs$.value.map(function(a){return a.key})));this.expandedTabsChanged.emit(new Set(this.internalExpandedTabs))};
v6.prototype.hideAll=function(){this.internalExpandedTabs.clear();this.expandedTabsChanged.emit(new Set(this.internalExpandedTabs))};var mAb=function(a){var b;return fe(function(c){if(c.nextAddress==1)return he(c,(0,W.firstValueFrom)(a.allTabsExpanded$),2);(b=c.yieldResult)?a.hideAll():a.showAll();le(c)})};
ea.Object.defineProperties(v6.prototype,{tabKeys:{configurable:!0,enumerable:!0,set:function(a){this.internalTabKeys$.next([].concat(r(a)))},get:function(){var a;return(a=fo(this.internalTabKeys$))!=null?a:[]}},expandedTabs:{configurable:!0,enumerable:!0,set:function(a){this.internalExpandedTabs.reset(a)},get:function(){return[].concat(r(this.internalExpandedTabs))}}});v6.\u0275fac=function(){var a;return function(b){return(a||(a=Od(v6)))(b||v6)}}();
v6.\u0275cmp=p({type:v6,selectors:[["expandable-tabs"]],contentQueries:function(a,b,c){a&1&&gg(c,u6,5);if(a&2){var d;jg(d=kg())&&(b.internalTabs=d)}},inputs:{tabKeys:"tabKeys",ariaLabel:"ariaLabel",expandedTabs:"expandedTabs"},outputs:{expandedTabsChanged:"expandedTabsChanged",contentShownChanged:"contentShownChanged"},features:[zf],decls:11,vars:14,consts:[["headerText",""],["notExpanded",""],["spacer",""],["noTemplate",""],[1,"tabs-row","flex-kids-x","centered-inside"],["role","tablist","aria-multiselectable",
"true",1,"expandable-tabs","flex-kids-x","centered-inside"],["mat-button","","class","expandable-tab keep-focus-ring","role","tab",3,"expanded","click",4,"ngFor","ngForOf","ngForTrackBy"],[4,"ngIf"],[1,"expandable-tabs-contents"],[4,"ngFor","ngForOf","ngForTrackBy"],["mat-button","","role","tab",1,"expandable-tab","keep-focus-ring",3,"click"],[4,"ngIf","ngIfElse"],["svgIcon","done",1,"icon-s"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[4,"ngTemplateOutlet"],["mat-button","",1,"gmat-button",
"small",3,"click"],["role","tabpanel",3,"class","id",4,"ngIf"],["role","tabpanel",3,"id"],[1,"spacer"]],template:function(a,b){a&1&&(F(0,"div",4)(1,"div",5),C(2,lAb,8,17,"button",6),T(3,"async"),G(),C(4,nAb,3,6,"ng-container",7),T(5,"async"),G(),F(6,"div",8),C(7,yAb,3,3,"ng-container",9),T(8,"async"),G(),C(9,DAb,3,2,"ng-template",null,0,yg));a&2&&(z(),Bf("aria-label",b.ariaLabel),z(),D("ngForOf",V(3,6,b.tabs$))("ngForTrackBy",b.trackByKey),z(2),D("ngIf",ug(12,cOc,V(5,8,b.allTabsExpanded$))),z(3),
D("ngForOf",V(8,10,b.tabs$))("ngForTrackBy",b.trackByKey))},dependencies:[Fv,Gv,Kv,zB,oE,Lv],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-button-wrapper{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;gap:4px}[_nghost-%COMP%]     .expandable-tab.mat-button{line-height:unset}.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 HAb=function(){return[]},w6=function(a,b,c,d,e,f,h){Z.call(this);var k=this;this.activeSession=a;this.userPreferencesManager=b;this.issueInteractionsTracking=c;this.issueFridge=d;this.analytics=e;this.eventsForIssueFridge=f;this.similarIssuesApi=h;this.TabKeys=WNc;this.issueId$=new W.ReplaySubject(1);this.alwaysStartCollapsed=!1;this.issue$=this.issueId$.pipe(pf(function(q){return k.issueFridge.watch(q)}),te(lj));this.commentNumberToEventMap$=this.issueId$.pipe(pf(function(q){return k.eventsForIssueFridge.watch(q)}),
y(function(q){var t;return(t=q==null?void 0:q.events)!=null?t:[]}),y(function(q){return new Map(q.filter(function(t){return!!t.commentNumber}).map(function(t){return[t.commentNumber,t]}))}));this.relatedLinks$=(0,W.combineLatest)([this.issue$,this.commentNumberToEventMap$]).pipe(y(function(q){var t=l(q);q=t.next().value;var w=t.next().value;var B;return((B=q.relatedLinks)==null?void 0:B.map(function(E){return Object.assign({},E,{comment:w.get(E.sourceCommentNumber)})}))||[]}));this.imageLinks$=this.relatedLinks$.pipe(y(function(q){return q.filter(pIa)}));
this.distinctImageLinksCount$=this.imageLinks$.pipe(y(function(q){return Rm(q,function(t){return sIa(t.href)})}),y(function(q){return q.length}));this.shouldShowImages$=this.imageLinks$.pipe(y(function(q){return k.activeSession.isInternalSession()&&k.activeSession.getFlag("enableImageSummary")&&dOc(k,q)}));this.issues$=this.relatedLinks$.pipe(y(function(q){return q.filter(tIa)}));this.distinctIssuesCount$=this.issues$.pipe(y(function(q){return q.filter(function(t){return t.issueId!==k.issueId})}),
y(function(q){return Rm(q,function(t){return t.issueId})}),y(function(q){return q.length}));this.shouldShowIssues$=this.distinctIssuesCount$.pipe(y(function(q){return k.activeSession.getFlag("enableRelatedIssuesWidget")&&!!q}));this.otherLinks$=this.relatedLinks$.pipe(y(function(q){return q.filter(uIa)}));this.distinctOtherLinksCount$=this.otherLinks$.pipe(y(function(q){return Rm(q,function(t){return t.href})}),y(function(q){return q.length}));this.shouldShowLinks$=this.otherLinks$.pipe(y(function(q){return k.activeSession.getFlag("enableLinksWidget")&&
k.shouldShowLinks(q)}));this.similarIssueIds$=this.issueId$.pipe(te(lj),pf(function(q){return k.activeSession.isInternalSession()||k.activeSession.getFlag("enableSimilarIssueExternal")?Wmc(k.similarIssuesApi,{issueId:Number(q)}).pipe(y(function(t){return t.similarIssues})):(0,W.of)([])}),sf(function(q){q.forEach(function(t){k.issueFridge.announce(t)})}),y(function(q){return q.map(function(t){return t.issueId})}),mf({bufferSize:1,refCount:!0}));this.shouldShowSimilarIssues$=this.similarIssueIds$.pipe(y(function(q){return q.length>
0}));this.tabKeys$=(0,W.combineLatest)([this.shouldShowSimilarIssues$.pipe(y(function(q){return{show:q,key:"SW-similar-issues"}})),this.shouldShowImages$.pipe(y(function(q){return{show:q,key:"SW-images"}})),this.shouldShowIssues$.pipe(y(function(q){return{show:q,key:"SW-mentioned-bugs"}})),this.shouldShowLinks$.pipe(y(function(q){return{show:q,key:"SW-links"}}))]).pipe(y(function(q){return q.filter(function(t){return t.show}).map(function(t){return t.key})}));this.shouldShowSummaryCard$=this.tabKeys$.pipe(y(function(q){return!!q.length}),
cf(0,W.asapScheduler));this.initiallyExpandedTabs=VAb.map(function(q){return s9b(k.userPreferencesManager,q)?void 0:q}).filter(lj);this.onTabExpanded$=new XF;this.issueSummaryTracking=new XNc(this.issueInteractionsTracking,this.analytics)};X(w6,Z);w6.\u0275dir=Z.\u0275dir;
w6.prototype.ngOnInit=function(){var a=this;this.alwaysStartCollapsed&&(this.initiallyExpandedTabs=[]);this.subscriptions.add(this.onTabExpanded$.pipe(bf(1E3),pf(function(b){var c=b.allTabKeys;var d=b.expandedTabKeys;return r9b(a.userPreferencesManager,Object.fromEntries(c.map(function(e){return[e,!d.has(e)]})))})).subscribe());this.subscriptions.add(this.tabKeys$.subscribe(function(b){var c=a.issueSummaryTracking,d=a.issueId;b=new Set(b);for(var e=l(b),f=e.next();!f.done;f=e.next())ur(c.issueInteractionsTracking,
d,f.value+"-available");b.size>0&&ur(c.issueInteractionsTracking,d,"SW-available")}))};w6.prototype.shouldShowLinks=function(a){return a.length===0||a.every(function(b){return b.sourceCommentNumber===1})?!1:!0};var dOc=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 sH(a.userPreferencesManager).showInlineImages&&b?!1:!0};
ea.Object.defineProperties(w6.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.issueId$.next(a)},get:function(){return fo(this.issueId$)}}});w6.\u0275fac=function(a){return new (a||w6)(A(Ir),A(rH),A(oJ),A(jG),A(bG),A(rF),A(IQ))};
w6.\u0275cmp=p({type:w6,selectors:[["issue-summary-card"]],inputs:{issueId:"issueId",alwaysStartCollapsed:"alwaysStartCollapsed"},features:[zf],decls:4,vars:3,consts:[[1,"a11y-only"],["ariaLabel","issue summary sections",3,"tabKeys","expandedTabs","expandedTabsChanged","contentShownChanged",4,"ngIf"],["ariaLabel","issue summary sections",3,"expandedTabsChanged","contentShownChanged","tabKeys","expandedTabs"],["ariaLabel","Toggle screenshots summary section",3,"key"],["expandable-tab-icon",""],["expandable-tab-header",
""],["expandable-tab-content",""],["ariaLabel","Toggle mentioned issues summary section",3,"key"],["ariaLabel","Toggle links summary section",3,"key"],["ariaLabel","Toggle similar issues summary section",3,"key"],["svgIcon","image",1,"icon-s"],[3,"issueId","imageLinks","click",4,"ngIf"],[3,"click","issueId","imageLinks"],["svgIcon","bug_report_24px",1,"icon-s"],[3,"issueReferences","currentIssueId","click",4,"ngIf"],[3,"click","issueReferences","currentIssueId"],["svgIcon","link",1,"icon-s"],[3,"click",
"links","issueId"],["svgIcon","spark_24px","color","primary",1,"icon-s"],[3,"issueId","similarIssueIds","click",4,"ngIf"],[3,"click","issueId","similarIssueIds"]],template:function(a,b){a&1&&(F(0,"h3",0),R(1,"Issue summary"),G(),C(2,WAb,17,6,"expandable-tabs",1),T(3,"async"));a&2&&(z(2),D("ngIf",V(3,1,b.tabKeys$)))},dependencies:[Gv,zB,u6,r6,s6,t6,v6,j6,m6,o6,q6,Lv],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 x6=function(a){this.matDialog=a};x6.prototype.show=function(a){this.dialog=this.matDialog.open(y6,{width:"60vw",disableClose:!0,panelClass:"no-jitter",data:{statusUpdates:a}});return(0,W.firstValueFrom)(qI(this.dialog))};x6.\u0275fac=function(a){return new (a||x6)(n(wI))};x6.\u0275prov=Hc({token:x6,factory:x6.\u0275fac,providedIn:"root"});var y6=function(a,b,c){Z.call(this);this.data=a;this.dialogService=b;this.dialogRef=c;this.statusUpdates=a.statusUpdates};X(y6,Z);y6.\u0275dir=Z.\u0275dir;
y6.prototype.ngOnInit=function(){var a=this;this.dialogRef.keydownEvents().pipe(qf(this.destroyed$)).subscribe(function(b){if(b.key==="Escape"){var c;(c=a.dialogService.dialog)==null||c.close()}});this.dialogRef.backdropClick().pipe(qf(this.destroyed$)).subscribe(function(){var b;(b=a.dialogService.dialog)==null||b.close()})};y6.\u0275fac=function(a){return new (a||y6)(A(vI),A(x6),A(pI))};
y6.\u0275cmp=p({type:y6,selectors:[["ng-component"]],features:[zf],decls:8,vars:2,consts:[["mat-dialog-title",""],["tabindex","0","mat-dialog-content",""],[1,"history-list"],["class","version",4,"ngFor","ngForOf"],["mat-dialog-actions",""],["mat-button","",3,"mat-dialog-close"],[1,"version"],[1,"bv2-event-user-image-cell"],[1,"bv2-event-user-image",3,"email"],[1,"version-header"],[1,"bv2-event-user-name",3,"model"],["mode","datetime",3,"timestamp"],[1,"muted","float-right","float-clear"],[1,"type-xs"],
[1,"update-email"],[3,"email"]],template:function(a,b){a&1&&(F(0,"h1",0),R(1,"History for Status Update"),G(),F(2,"section",1)(3,"ul",2),C(4,XAb,19,12,"li",3),G()(),F(5,"footer",4)(6,"button",5),R(7," Close "),G()());a&2&&(z(4),D("ngForOf",b.statusUpdates),z(2),D("mat-dialog-close",void 0))},dependencies:[Fv,TM,oE,xI,zI,BI,AI,oL,fN,eN,KJ,dN],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 eOc=["noteContainer"],jBb=function(a){return[a]},fOc={FRESH:0,STALE:1,NONE:2,0:"FRESH",1:"STALE",2:"NONE"},z6=function(a,b,c,d,e,f,h,k,q){Z.call(this);var t=this;this.analytics=a;this.confirmationDialogService=b;this.currentUser=c;this.editStatusUpdateDialogService=d;this.errorHandler=e;this.issueFridge=f;this.issuePermissionService=h;this.statusUpdateService=k;this.statusUpdateHistoryDialogService=q;this.Freshness=fOc;this.UiState=gOc;this.FormattingMode=DB;this.issueId$=new W.ReplaySubject(1);
this.issue$=this.issueId$.pipe(pf(this.issueFridge.watch));this.componentId$=this.issue$.pipe(y(function(w){return w==null?void 0:w.snapshot[0].componentId}));this.accessLevel$=this.issue$.pipe(y(function(w){var B;return w==null?void 0:(B=w.accessLimit)==null?void 0:B.accessLevel}));this.issue$.pipe(y(function(w){var B;return w==null?void 0:(B=w.aggregatedData)==null?void 0:B.teamId}));this.isCollapsed=!1;this.statusUpdate$=this.issue$.pipe(y(function(w){return w==null?void 0:w.statusUpdate}));this.statusUpdateAsNote$=
this.statusUpdate$.pipe(te(lj),y(function(w){return{unlinkifiedComment:w.updateText,formattedComment:w.formattedText}}));this.semanticClass$=this.statusUpdate$.pipe(y(function(w){var B;return(B=mHa(w==null?void 0:w.updateText))!=null?B:""}));this.statusIsEmpty$=this.statusUpdate$.pipe(y(function(w){return((w==null?void 0:w.updateText)||"").trim()===""}));this.freshnessIndicator$=(0,W.combineLatest)([this.statusIsEmpty$,this.statusUpdate$]).pipe(y(function(w){var B=l(w);w=B.next().value;B=B.next().value;
if(w)return 2;var E;w=(B==null?void 0:(E=B.updateTime)==null?void 0:E.seconds)||0;return Date.now()/1E3-w<86400?0:1}));this.uiState$=this.statusIsEmpty$.pipe(y(function(w){return w?1:2}),of(0));this.formattingModeOverride$=new W.BehaviorSubject(void 0);this.formattingMode$=(0,W.combineLatest)([this.statusUpdate$,this.formattingModeOverride$]).pipe(y(function(w){var B=l(w);w=B.next().value;return(B=B.next().value)?B:(w==null?void 0:w.formattingMode)||"PLAIN"}));this.menuItems$=(0,W.combineLatest)([this.issueId$,
this.statusUpdate$,this.issuePermissionService.hasAclToEdit$,this.issuePermissionService.hasAclToAdmin$,this.formattingMode$]).pipe(y(function(w){var B=l(w);var E=B.next().value;var I=B.next().value;w=B.next().value;var J=B.next().value;B=B.next().value;var N=I!=null;I=I&&(I==null?void 0:I.updateText)!=="";var P=[];I&&P.push({type:"submenu",label:"View as",className:"view-as-format",items:[{type:"select",label:"Classic",action:function(){t.formattingModeOverride$.next("PLAIN")},selected:B==="PLAIN"},
{type:"select",label:"Markdown",action:function(){t.formattingModeOverride$.next("MARKDOWN")},selected:B==="MARKDOWN"},{type:"select",label:"Source",action:function(){t.formattingModeOverride$.next("LITERAL")},selected:B==="LITERAL"}]});w&&P.push({type:"action",label:"Edit Status Update",action:function(){t.editStatusUpdate()}});N&&P.push({type:"action",label:"Show editing history",action:function(){hOc(t,E)}});I&&J&&P.push({type:"action",label:"Delete Status Update",action:function(){t.confirmationDialogService.open({title:"Delete Status Update?",
content:wh("\n                    Deleting a Status Update will remove it from the history. It\n                    will be purged after 30 days. This cannot be undone."),confirmButtonText:"Delete",onConfirm:function(){t.doDelete()}})}});P.push(iOc);return P}));this.showEditButton$=this.issuePermissionService.hasAclToEdit$};X(z6,Z);z6.\u0275dir=Z.\u0275dir;
z6.prototype.ngOnInit=function(){var a=this;setTimeout(function(){var b,c;return fe(function(d){if(d.nextAddress==1)return he(d,(0,W.firstValueFrom)(a.uiState$.pipe(te(function(e){return e!==0}))),2);b=d.yieldResult;c=lBb(b);a.analytics.trackEvent("issue","statusUpdateDisplay",c);le(d)})},1E3)};z6.prototype.ngAfterViewInit=function(){var a;((a=this.noteContainer)==null?void 0:a.nativeElement.scrollHeight)>84&&(this.isCollapsed=!0)};
z6.prototype.editStatusUpdate=function(){var a=this,b,c,d,e,f,h,k,q;return fe(function(t){switch(t.nextAddress){case 1:return he(t,(0,W.firstValueFrom)(a.issueId$),2);case 2:return b=t.yieldResult,he(t,(0,W.firstValueFrom)(a.componentId$),3);case 3:return c=t.yieldResult,d={issueId:b,updateText:"",version:-1},f=(e=fo(a.statusUpdate$))!=null?e:d,he(t,(0,W.firstValueFrom)(a.accessLevel$),4);case 4:return h=t.yieldResult,k=h==="INTERNAL"?"INTERNAL":"EXTERNAL",he(t,a.editStatusUpdateDialogService.show(f,
k,c),5);case 5:q=t.yieldResult;if(q==null)return t.return();a.statusUpdateService.update(q).subscribe(function(w){a.didSave(b,w)},function(w){a.errorHandler.errorHandler(null,w)});le(t)}})};var $Ab=function(a){var b,c;return fe(function(d){if(d.nextAddress==1)return he(d,(0,W.firstValueFrom)(a.issueId$),2);b=d.yieldResult;c=fo(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)});le(d)})};
z6.prototype.didSave=function(a,b){TB(this.issueFridge,a,function(c){c.statusUpdate=b});this.issueFridge.poke(a)};var hOc=function(a,b){var c;fe(function(d){if(d.nextAddress==1)return he(d,(0,W.firstValueFrom)(NAc(a.statusUpdateService,b)),2);c=d.yieldResult;a.statusUpdateHistoryDialogService.show(c);le(d)})};
z6.prototype.doDelete=function(){var a=this,b;fe(function(c){if(c.nextAddress==1)return he(c,(0,W.firstValueFrom)(a.issueId$),2);b=c.yieldResult;a.statusUpdateService.delete(b).subscribe(function(){TB(a.issueFridge,b,function(d){d.statusUpdate=void 0});a.issueFridge.poke(b)});le(c)})};ea.Object.defineProperties(z6.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.issueId$.next(a)}}});z6.\u0275fac=function(a){return new (a||z6)(A(bG),A(EI),A(hV),A(iZ),A(uE),A(jG),A(sJ),A(cZ),A(x6))};
z6.\u0275cmp=p({type:z6,selectors:[["status-update"]],viewQuery:function(a,b){a&1&&fg(eOc,5);if(a&2){var c;jg(c=kg())&&(b.noteContainer=c.first)}},inputs:{issueId:"issueId"},features:[zf],decls:2,vars:3,consts:[["userCard",""],["noteContainer",""],[3,"display-none","short-height","class",4,"ngIf"],["svgIcon","group","color","primary",1,"margin-xs-right","shrink-0"],[4,"ngIf"],[1,"flex-kids-x","space-between","align-items-center"],[1,"uppercase","inline-block","margin-s-right"],[1,"empty-message",
"muted","margin-s-right"],["mat-stroked-button","","aria-label","Edit Status Update","color","primary",1,"gmat-button","small"],["mat-stroked-button","","aria-label","Edit Status Update","color","primary",1,"gmat-button","small",3,"click"],[1,"flex-1-hemmed"],[1,"flex-kids-x","space-between"],[1,"left"],[1,"uppercase","inline-block","margin-xs-right"],[1,"edit-info","right"],["matTooltip","Status Update actions",3,"buttonLabel","menuItems",4,"ngIf"],["mat-stroked-button","","aria-label","Edit Status Update",
"color","primary",1,"gmat-button","small","margin-xs-right",3,"click"],["mat-button","","aria-label","Mark Status Update as fresh","color","primary","class","gmat-button small margin-xs-right mark-fresh",3,"click",4,"ngIf"],["mat-button","","aria-label","Mark Status Update as fresh","color","primary",1,"gmat-button","small","margin-xs-right","mark-fresh",3,"click"],["class","fresh-checkmark","matTooltip","Last update made within 24 hours","svgIcon","check_circle_filled_24px",4,"ngIf"],[3,"onedevHovercardTrigger"],
["mode","relativepast",1,"margin-s-right",3,"timestamp"],[3,"email"],["matTooltip","Last update made within 24 hours","svgIcon","check_circle_filled_24px",1,"fresh-checkmark"],["matTooltip","Status Update actions",3,"buttonLabel","menuItems"],[1,"pos-rel"],[3,"issueId","issueAccessLevel","note","formattingMode",4,"ngIf"],["mat-stroked-button","","color","primary","class","gmat-button small show-more",3,"click",4,"ngIf"],[3,"issueId","issueAccessLevel","note","formattingMode"],["mat-stroked-button",
"","color","primary",1,"gmat-button","small","show-more",3,"click"]],template:function(a,b){a&1&&(C(0,kBb,5,13,"div",2),T(1,"async"));a&2&&D("ngIf",V(1,1,b.uiState$))},dependencies:[WS,LL,Gv,zB,TM,$H,gI,qL,oE,LH,OH,Lv,AN],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 gOc={LOADING:0,EMPTY:1,NORMAL:2,0:"LOADING",1:"EMPTY",2:"NORMAL"},iOc={type:"action",label:"Using the Status Update field...",action:function(){pea(window,zc("https://developers.google.com/issue-tracker/concepts/status-update"),"_blank")},icon:"help-outline",className:"border-top"};var A6=function(a){this.internalArray_=m(a)};X(A6,Y);A6.prototype.setModelId=function(a){cj(this,1,a)};A6.prototype.setTemperature=function(a){oo(this,3,Bb(a))};A6.repeatedFields_=[5,6];var B6=function(a){this.internalArray_=m(a)};X(B6,Y);B6.prototype.getOptions=function(){return $i(this,A6,1)};B6.prototype.setOptions=function(a){oj(this,A6,1,a)};B6.prototype.hasOptions=function(){return dk(this,A6,1)};B6.prototype.setInput=function(a){return cj(this,2,a)};var vr=function(a){this.internalArray_=m(a)};X(vr,Y);vr.prototype.getContent=function(){return Kh(this,1)};vr.prototype.setContent=function(a){return cj(this,1,a)};vr.prototype.getScore=function(){return Aj(this,2)};vr.prototype.setScore=function(a){return lk(this,2,a)};var C6=function(a){this.internalArray_=m(a)};X(C6,Y);C6.prototype.setModelId=function(a){cj(this,4,a)};C6.repeatedFields_=[1];var D6=function(a){this.internalArray_=m(a,0,D6.messageId)};X(D6,Y);D6.prototype.getResponse=function(){return $i(this,C6,1)};D6.prototype.getReadonlyResponse=function(){return Co(this,C6,1)};D6.prototype.getMutableResponse=function(){return Yt(this,C6,1)};D6.prototype.setResponse=function(a){return oj(this,C6,1,a)};D6.messageId="b.GoosePredictionGenerateTextWrappedResponse";var E6=function(a){this.executor=a};
E6.prototype.generate=function(a){var b=(new B6).setInput(a.input);if(a.options){var c=new A6;a.options.modelId!==void 0&&c.setModelId(a.options.modelId);a.options.outputCount!==void 0&&ql(c,2,a.options.outputCount);a.options.temperature!==void 0&&c.setTemperature(a.options.temperature);a.options.maxDecoderSteps!==void 0&&ql(c,4,a.options.maxDecoderSteps);a.options.eosId!==void 0&&jc(c,5,a.options.eosId,Hb);b.setOptions(c)}return this.executor.post({url:"/action/goose/prediction/generateText",body:b,
responseConstructor:D6}).then(mBb)};E6.\u0275fac=function(a){return new (a||E6)(n(JB))};E6.\u0275prov=Hc({token:E6,factory:E6.\u0275fac,providedIn:"root"});var F6=function(a){this.internalArray_=m(a,0,F6.messageId)};X(F6,Y);F6.prototype.getResponse=function(){return $i(this,mA,1)};F6.prototype.getReadonlyResponse=function(){return Co(this,mA,1)};F6.prototype.getMutableResponse=function(){return Yt(this,mA,1)};F6.prototype.setResponse=function(a){return oj(this,mA,1,a)};F6.messageId="b.PiperCreateWorkspaceAndChangeWrappedResponse";var G6=function(a){this.internalArray_=m(a,0,G6.messageId)};X(G6,Y);G6.prototype.getResponsesList=function(){return xj(this,K0b,1,yj())};G6.repeatedFields_=[1];G6.messageId="b.PiperReadFilesWrappedResponse";var H6=function(a){this.executor=a},kOc=function(a,b){return jOc(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}})},jOc=function(a,b){b=pBb(b);return a.executor.post({url:"/action/piper/readFiles",body:b,responseConstructor:G6}).then(qBb)},lOc=function(a,b){var c=new I0b;b.citcAlias&&rj(c,3,b.citcAlias);if(b.changeDescription){var d=c.setDescription;var e=b.changeDescription;e=(new lA).setText(e.text);d.call(c,
e)}b=b.files.map(tBb);gk(c,4,b);return a.executor.post({url:"/action/piper/createWorkspaceAndChange",body:c,responseConstructor:F6}).then(rBb)};H6.\u0275fac=function(a){return new (a||H6)(n(JB))};H6.\u0275prov=Hc({token:H6,factory:H6.\u0275fac,providedIn:"root"});var mOc=new Set([426586]),nOc=new Set([1328519]),I6=function(a,b,c,d,e,f){this.eventsForIssueFridge=a;this.issueFridge=b;this.piperApi=c;this.gooseApi=d;this.activeSession=e;this.analytics=f;this.issueDescription=this.issue=null;this.supportedIssueList=[oOc,pOc,qOc,rOc,sOc,tOc,uOc,vOc,wOc,xOc,yOc]},BOc=function(a,b){return(0,W.combineLatest)([zOc(a,b),AOc(a,b)]).pipe(y(function(c){var d=l(c);c=d.next().value;d=d.next().value;a.issue=c;a.issueDescription=d;a:{c=a.issue;d=a.issueDescription;var e=a.activeSession.getFlag("enableGoosePrompting"),
f=a.activeSession.getFlag("enableGoosePromptingSupportedIssues");if(c!=null&&d!=null&&An(c))if(e){d=c.snapshot[0].type==="BUG"||c.snapshot[0].type==="FEATURE_REQUEST";var h,k;e=c.snapshot[0].type==="VULNERABILITY"&&(a.activeSession.getEnvironmentType()==="QA"&&mOc.has((h=c.snapshot[0].componentId)!=null?h:0)||a.activeSession.getEnvironmentType()==="PROD"&&nOc.has((k=c.snapshot[0].componentId)!=null?k:0));d&&a.analytics.trackEvent("bug2Code","display","isBugOrFeatureRequest");e&&a.analytics.trackEvent("bug2Code",
"display","isAllowedVulnComponent");c=d||e}else{if(f)for(h=l(a.supportedIssueList),k=h.next();!k.done;k=h.next()){k=k.value;var q=f=void 0,t=void 0;e=k.creatorEmail&&(d==null?void 0:(t=d.userPerformingActionUser)==null?void 0:t.emailAddress)!==k.creatorEmail?!1:k.reporterEmail&&((q=c.snapshot[0].reporterUser)==null?void 0:q.emailAddress)!==k.reporterEmail?!1:k.matchingDescriptionSubstring&&!(d==null?0:(f=d.unlinkifiedComment)==null?0:f.includes(k.matchingDescriptionSubstring))?!1:!0;if(e){a.analytics.trackEvent("bug2Code",
"display",k.metricTag);c=!0;break a}}c=!1}else c=!1}return c}))},zOc=function(a,b){return a.issueFridge.watch(b,{trustUncertainMemory:!0}).pipe(y(function(c){return c?c:null}))},AOc=function(a,b){return a.eventsForIssueFridge.watch(b,{trustUncertainMemory:!0}).pipe(y(function(c){if(!c)return null;c=[].concat(r(c.events.slice(0,1)));return c.length>0?c[0]:null}))},COc=function(a){return a.filter(function(b){return b.charAt(0)!=="+"}).map(function(b){return b.slice(1)})},DOc=function(a,b,c){return COc(c).every(function(d,
e){return d===a[b+e]})},EOc=function(a,b,c){for(var d=[],e=COc(b).length,f=a.length-e;c<=f;c++)DOc(a,c,b)&&d.push(c);d.length===0&&console.log("No matching locations.");d.length>1&&console.log("Multiple matching locations.");a=d[0];return{startRange:a,endRange:a+e}};
I6.prototype.applyDiff=function(a){var b=a.outputs[0];if(b.length===0)return"";b="@@\n"+b;a=b.split("\n");var c=[],d=0,e=0,f=0;b=l(b.split("@@\n").slice(1));for(e=b.next();!e.done;e=b.next()){var h=e.value;d=EOc(a,h.split("\n"),d);e=d.startRange;d=f=d.endRange;h=h.split("\n").filter(function(k){return k[0]!=="-"}).map(function(k){return k.slice(1)});c.push([e,f,h])}d=e=b=0;c=l(c);for(e=c.next();!e.done;e=c.next())e=l(e.value),f=e.next().value,b=e.next().value,e=e.next().value,f+=d,b+=d,a.splice.apply(a,
[f,b-f].concat(r(e))),b-=f,e=e.length-b,d+=e;return a.join("\n")};I6.\u0275fac=function(a){return new (a||I6)(n(rF),n(jG),n(H6),n(E6),n(Ir),n(bG))};I6.\u0275prov=Hc({token:I6,factory:I6.\u0275fac,providedIn:"root"});
var J6=function(a,b,c,d){this.creatorEmail=a;this.reporterEmail=b;this.matchingDescriptionSubstring=c;this.metricTag=d},oOc=new J6(null,null,"Visit Upkeep to monitor tech debt of your","isUpkeepIssue"),pOc=new J6("cloud-control2-frontend-onboarding-automation@prod.google.com","cloud-control2-frontend-onboarding-automation@prod.google.com",null,"isCloudControl2FrontendOnboardingAutomationIssue"),qOc=new J6("flagbuster-prod@prod.google.com","flagbuster@prod.google.com",null,"isFlagBusterIssue"),rOc=
new J6("corpeng-compliance-checker@prod.google.com","corpeng-compliance-checker@prod.google.com",null,"isCorpEngComplianceCheckerIssue"),sOc=new J6("gce-fleet-deployment-autocleanup-jobs@prod.google.com","gce-fleet-deployment-autocleanup-jobs@google.com",null,"isGCEFleetDeploymentAutoCleanupIssue"),tOc=new J6("identity-metrics@prod.google.com","identity-metrics@prod.google.com",null,"isIdentityMetricsIssue"),uOc=new J6("dirt-federated-docs@prod.google.com","dirt-federated-docs@prod.google.com",null,
"isDirtFederatedDocsIssue"),vOc=new J6("rtc-bugle-mapreduce@prod.google.com","rtc-bugle-mapreduce@prod.google.com",null,"isRtcBugleMapreduceIssue"),wOc=new J6("assistant-server-dev@prod.google.com","assistant-server-dev@prod.google.com",null,"isAssistantServerDevIssue"),xOc=new J6("gce-turnup-smi-runner@prod.google.com","gce-turnup-smi-runner@prod.google.com",null,"isGCETurnupSmiRunnerIssue"),yOc=new J6("cloud-sdk-testing@prod.google.com","cloud-sdk-testing@prod.google.com",null,"isCloudSdkTestingIssue");var FOc=/:(\w+):/,GOc=/(\/\/depot\/)?(google3\/[A-Za-z0-9\.\/_-]+)/,K6=function(a,b,c,d,e,f,h,k){Z.call(this);var q=this;this.dialogRef=a;this.piperApi=b;this.gooseApi=c;this.issueFridge=d;this.eventsForIssueFridge=e;this.domSafe=f;this.analytics=h;this.data=k;this.stages=[];setTimeout(function(){return q.generate()},1E3)};X(K6,Z);K6.\u0275dir=Z.\u0275dir;
K6.prototype.generate=function(){var a=this,b,c,d,e,f,h,k,q,t,w,B,E,I,J,N,P,U,ba,ma;return fe(function(na){switch(na.nextAddress){case 1:if(!ya)var ya=a.data.issueId;ya=(0,W.firstValueFrom)(a.issueFridge.watch(ya,{trustUncertainMemory:!0}).pipe(te(lj),hf()));return he(na,ya,2);case 2:return b=na.yieldResult,he(na,HOc(a),3);case 3:e=(d=(c=na.yieldResult)==null?void 0:c.unlinkifiedComment)!=null?d:"",h=(f=e.match(GOc))?"//depot/"+f[2]:"";case 4:return h?he(na,IOc(a,h),8):he(na,JOc(a),7);case 7:k=na.yieldResult;
h=(q=k.match(GOc))?"//depot/"+q[2]:"";na.jumpTo(4);break;case 8:return t=na.yieldResult,E=(B=(w=b)==null?void 0:w.snapshot[0].title.trim())!=null?B:"",I=e.trim(),J="\u25a0 cat "+h+"\n"+t.content+"\n\u25a0 Bug b/2234234 title\n"+E+"\n\u25a0 Bug b/2234234 description\n"+I+'\n\u25a0 critique --cl_description --cl_number=541707606\nAutomated fix for "'+E+'"\n\u25a1 What is the code diff needed to fix the bug?\n\u25a0 patch --goose '+h+"\n@@\n",he(na,KOc(a,"Analyzing issue using LLM",J),9);case 9:return N=
na.yieldResult,P="@@\n"+N,he(na,LOc(a,P),10);case 10:return he(na,a.applyDiff(t.content,P),11);case 11:return U=na.yieldResult,ba="\u25a0 diff --goose --from=BASE --to=CURRENT "+h+"\n"+P+"\n\u25a1 What are the key changes in the code diff?\n\u25a0 critique --cl_description\n",he(na,KOc(a,"Generating changelist description",ba),12);case 12:return ma=na.yieldResult,a.stages.push({title:"Create changelist",description:ma,state:"in-progress",type:"changelist-create",contents:U,revision:t.revision,path:h}),
ya=Promise.resolve(),he(na,ya,0)}})};
var HOc=function(a){if(!b)var b=a.data.issueId;return(0,W.firstValueFrom)(a.eventsForIssueFridge.watch(b,{trustUncertainMemory:!0}).pipe(y(function(c){if(!c)return null;c=c.events.slice(0,1);return c.length>0?c[0]:null}),hf()))},JOc=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)})},KOc=function(a,b,
c){var d={title:b,state:"in-progress",type:"process"};a.stages.push(d);return a.gooseApi.generate({input:c,options:{modelId:"goose_v2_m",temperature:0,maxDecoderSteps:4E3}}).then(function(e){if(e.outputBlocked)throw d.state="error",d.error="LLM output blocked.",Error("uf");d.state="complete";return e.outputs[0]})},IOc=function(a,b){var c={title:"Retrieving data from Piper",state:"in-progress",type:"process"};a.stages.push(c);return kOc(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;})},LOc=function(a,b){var c={title:"Previewing code changes",state:"complete",type:"diff-preview",blocks:[]};a.stages.push(c);a=b.split(/^@@$/m).map(function(d){return d.trim()}).filter(function(d){return d.length>0});a=l(a);for(b=a.next();!b.done;b=a.next())c.blocks.push({lines:b.value.split("\n")});console.log(c);return Promise.resolve()};
K6.prototype.applyDiff=function(a,b){var c={title:"Applying code changes",state:"in-progress",type:"process"};this.stages.push(c);try{var d=yBb(a,b);c.state="complete";return Promise.resolve(d)}catch(e){return c.state="error",c.error=""+e,Promise.reject(e)}};
K6.prototype.patch=function(a){var b=this;if(a.type==="changelist-create"){a.state="complete";var c={sourceFile:{sourceFileId:{depotPath:a.path,revisionNumber:a.revision+1},fileOperation:a.revision===0?2:7},content:KBb(a.contents)};a={changeDescription:{text:a.description+"\n\nGenerated by #bug2code\n\nBUG="+this.data.issueId+"\nBUG2CODE="+this.data.issueId},citcAlias:"bug2code_fix_"+Date.now(),files:[c]};return lOc(this.piperApi,a).then(function(d){var e=d.changeNumber;d="https://cider.corp.google.com/?createWs="+
d.workspaceName.match(FOc)[1]+"&patchCl="+e;b.domSafe.openInNewTab(d);b.analytics.trackEvent("bug2Code","patchCL");b.dialogRef.close()})}};K6.prototype.blocks=function(a){return a.type==="diff-preview"?a.blocks:[]};K6.prototype.complete=function(){this.stages.push({title:"Complete",state:"complete",type:"process"});return Promise.resolve()};K6.\u0275fac=function(a){return new (a||K6)(A(pI),A(H6),A(E6),A(jG),A(rF),A(FH),A(bG),A(vI))};
K6.\u0275cmp=p({type:K6,selectors:[["b-llm-generation-dialog"]],features:[zf],decls:12,vars:1,consts:[[1,"dialog"],["mat-dialog-title","",1,"heading"],[1,"heading-m"],["svgIcon","spark_24px",1,"icon-m"],["mat-dialog-content","",1,"content"],[1,"stepper"],["class","stage",4,"ngFor","ngForOf"],["mat-dialog-actions","",1,"actions"],["mat-stroked-button","",1,"gmat-button","medium",3,"click"],[1,"stage"],[1,"icon",3,"ngSwitch"],["svgIcon","clear","class","icon-s",4,"ngSwitchCase"],["svgIcon","done","class",
"icon-s",4,"ngSwitchCase"],["svgIcon","spark_24px","class","icon-s",4,"ngSwitchDefault"],[3,"ngSwitch","class",4,"ngIf"],["svgIcon","clear",1,"icon-s"],["svgIcon","done",1,"icon-s"],["svgIcon","spark_24px",1,"icon-s"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[1,"block"],["type","text",3,"keyup","disabled"],["color","primary","mat-flat-button","","cdkFocusInitial","",1,"gmat-button","medium","dialog-primary-action",3,"click","disabled"],["class","change-block codefont",4,"ngFor","ngForOf"],
[1,"change-block","codefont"],[1,"change"],["class","line",3,"remove","add",4,"ngFor","ngForOf"],[1,"line"],[1,"changelist-description","codefont"],["color","primary","mat-flat-button","","cdkFocusInitial","",1,"gmat-button","medium","dialog-primary-action","magic",3,"click","disabled"]],template:function(a,b){a&1&&(F(0,"article",0)(1,"header",1)(2,"h1",2),H(3,"mat-icon",3),F(4,"span"),R(5," Generate LLM suggested change "),G()()(),F(6,"section",4)(7,"div",5),C(8,JBb,9,5,"div",6),G()(),F(9,"footer",
7)(10,"button",8),M("click",function(){b.dialogRef.close()}),R(11," Cancel "),G()()());a&2&&(z(8),D("ngForOf",b.stages.slice().reverse()))},dependencies:[Fv,Gv,Hv,Iv,Jv,zB,oE,zI,BI,AI],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}.stepper[_ngcontent-%COMP%]{display:flex;flex-direction:column-reverse}.stepper[_ngcontent-%COMP%]   header[_ngcontent-%COMP%]{font-family:"Google Sans",Roboto,Arial,sans-serif}.stepper[_ngcontent-%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}.stepper[_ngcontent-%COMP%]   header[_ngcontent-%COMP%]   .icon[_ngcontent-%COMP%]   .icon-s[_ngcontent-%COMP%]{vertical-align:top}.stepper[_ngcontent-%COMP%]   header[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-size:1.3em;line-height:1.9}.stepper[_ngcontent-%COMP%]   section[_ngcontent-%COMP%]{border-left:1px solid var(--grey-400);margin:16px;padding:8px 16px}.stepper[_ngcontent-%COMP%]   section.process[_ngcontent-%COMP%]{padding:4px}.change-block[_ngcontent-%COMP%]{border:1px solid var(--grey-300);border-radius:8px;padding:8px 4px;overflow:auto}.change-block[_ngcontent-%COMP%]:not(:last-child){margin-bottom:12px}.change-block[_ngcontent-%COMP%]   .change[_ngcontent-%COMP%]   .line[_ngcontent-%COMP%]{padding:0 12px;text-wrap:nowrap;white-space:pre}.change-block[_ngcontent-%COMP%]   .change[_ngcontent-%COMP%]   .line.add[_ngcontent-%COMP%]{background:var(--green-100)}.change-block[_ngcontent-%COMP%]   .change[_ngcontent-%COMP%]   .line.remove[_ngcontent-%COMP%]{background:var(--red-100)}.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 L6=function(a,b,c,d){this.llmSuggestionService=a;this.activeSession=b;this.matDialogService=c;this.analytics=d;this.issueId="";this.isInternalSession=this.activeSession.isInternalSession()};L6.prototype.ngOnInit=function(){this.showLlmSuggestion$=BOc(this.llmSuggestionService,this.issueId)};L6.prototype.openDialog=function(){this.analytics.trackEvent("bug2Code","generate",this.issueId);this.matDialogService.open(K6,{panelClass:"no-jitter",maxWidth:"70vw",disableClose:!0,data:{issueId:this.issueId}})};
L6.\u0275fac=function(a){return new (a||L6)(A(I6),A(Ir),A(wI),A(bG))};
L6.\u0275cmp=p({type:L6,selectors:[["llm-suggested-bug-fix"]],inputs:{issueId:"issueId"},decls:4,vars:3,consts:[["showHeader",""],["aiHelp",""],["class","carded margin-s-sides margin-s-bottom bg-main flex-kids-x",4,"ngIf"],[1,"carded","margin-s-sides","margin-s-bottom","bg-main","flex-kids-x"],["svgIcon","spark_24px","color","primary",1,"margin-xs-right","shrink-0"],[1,"flex-kids-y","gap-s","full-width"],[3,"ngTemplateOutlet"],[1,"flex-kids-x","gap-s"],["color","primary","mat-flat-button","","color",
"primary","aria-label","Generate a LLM-suggested CL for this bug.",1,"gmat-button","small","generate",3,"click"],[1,"uppercase","badged","early-access"],[3,"panelTemplate"],["svgIcon","help-outline",1,"icon-s"],["target","_blank","href","http://go/bug2code-feedback","matTooltip","Provide feedback for bug2code.","aria-label","Page for providing feedback for bug2code.",1,"feedback-icon","feedback-button"],["svgIcon","feedback-outline",1,"icon-s"]],template:function(a,b){a&1&&(C(0,LBb,7,1,"div",2),T(1,
"async"),C(2,NBb,9,1,"ng-template",null,0,yg));a&2&&D("ngIf",b.isInternalSession&&V(1,1,b.showLlmSuggestion$))},dependencies:[Gv,Kv,zB,oE,xU,xN,Lv],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:#202124}"]});var M6=function(a,b,c,d,e,f,h,k,q,t,w){Z.call(this);var B=this;this.brain=a;this.preferences=b;this.scrollTiming=c;this.analytics=d;this.element=e;this.editIssueService=f;this.appEvents=h;this.routePerformance=k;this.clearcut=q;this.activeSession=t;this.issuePermissionService=w;this.id$=this.brain.id$;this.issueAndEvents$=(0,W.combineLatest)([this.brain.issueJs$.pipe(te(Boolean)),this.brain.eventsJs$]);this.enableSummarySection=this.activeSession.getFlag("enableSummarySection");this.enableLlmSummarization=
this.activeSession.getFlag("enableLlmSummarization")&&!this.activeSession.getFlag("enableIssueSummarizationNoButton")&&this.activeSession.isInternalSession();this.enableGoosePrompting=this.activeSession.getFlag("enableGoosePrompting")&&this.activeSession.isInternalSession();this.enableGoosePromptingSupportedIssues=this.activeSession.getFlag("enableGoosePromptingSupportedIssues")&&this.activeSession.isInternalSession();this.showRecentEventsFirst=!1;this.comment$=this.id$.pipe(te(lj),pf(function(E){return B.editIssueService.issueCommentDraft(E).comment$}));
this.finishedRendering$=(0,W.combineLatest)([this.brain.eventsJs$.pipe(cf(0)),Lwa("#AddCommentBox textarea",this.element.nativeElement)]).pipe(ef())};X(M6,Z);M6.\u0275dir=Z.\u0275dir;
M6.prototype.ngOnInit=function(){var a=this;this.preferences.showRecentEventsFirst$.pipe(te(lj),qf(this.destroyed$)).subscribe(function(b){a.showRecentEventsFirst=b});this.destroyed$.subscribe(function(){MOc(a)});Lwa("#comment1 .critical-feature",this.element.nativeElement).pipe(qf(this.destroyed$)).subscribe(function(){var b=function(){eqc(a.routePerformance,"issue-details-w-comments")};requestAnimationFrame(b);setTimeout(b)});this.subscriptions.add(this.issueAndEvents$.pipe(hf()).subscribe(function(b){var c=
l(b);b=c.next().value;c=c.next().value;NOc(a,b,c)}));this.subscriptions.add(this.finishedRendering$.pipe(tf(this.comment$)).subscribe(function(b){b=l(b);b.next();b.next().value.hasContent()&&a.appEvents.scrollToCommentBox.next()}))};
var NOc=function(a,b,c){var d=c.map(function(f){return f.unlinkifiedComment}),e=fDa(b,c).length;b=gDa(b,c);d=d.filter(Boolean).length;e=e>=5||d>=10||b>=10?"collab":"other";V7b(a.clearcut,"view_idp_"+e);Hn("dimension10",e);c=c.some(function(f){var h,k,q;return((q=(h=f.commentReactions)==null?void 0:(k=h.get("UPVOTE"))==null?void 0:k.count)!=null?q:0)>0});a.analytics.trackEvent("editIssue","view",c?"hasUpvoteReaction":"noUpvoteReaction")},MOc=function(a){var b=a.scrollTiming;if((b=b.scrollTimingMap.has("flex-1 pos-rel bg-off-main overflow overflow-on-print-media")?
b.scrollTimingMap.get("flex-1 pos-rel bg-off-main overflow overflow-on-print-media"):[])&&!(b.length<2)){for(var c=b[0],d=b[0],e=0,f=1;f<b.length;f++)b[f]-d<2E3||(e+=d-c,c=b[f]),d=b[f],f===b.length-1&&(e+=b[f]-c);a.analytics.trackEvent("editIssue","scroll","commentThread",e);RF(a.clearcut,e,"idp-time-scrolling-comments-recentFirst-"+a.showRecentEventsFirst)}};M6.\u0275fac=function(a){return new (a||M6)(A(qJ),A(rH),A(qV),A(bG),A(Rd),A(LJ),A(yE),A(hT),A(QF),A(Ir),A(sJ))};
M6.\u0275cmp=p({type:M6,selectors:[["ng-component"]],hostBindings:function(a,b){a&1&&M("unload",function(){MOc(b)},!1,Ud)},features:[zf],decls:7,vars:10,consts:[["issueSummaryCard",""],["id","bv2-edit-issue-details-scroll","tabindex","-1",3,"bFocus"],[4,"ngIf"],["class","carded margined-s bg-main",3,"issueId","hidden",4,"ngIf"],["class","carded margined-s bg-main",3,"recent-first",4,"ngIf"],[1,"margin-s-sides","margin-s-top","padded-left",3,"id"],[3,"issueId"],[1,"carded","margin-s-sides","margin-s-bottom",
"bg-main","highlighted-left",3,"id"],[1,"carded","margined-s","bg-main",3,"issueId"],[1,"carded","margined-s","bg-main"],[3,"id",4,"ngIf"],[3,"id"]],template:function(a,b){a&1&&(F(0,"div",1),C(1,QBb,6,5,"ng-container",2),T(2,"async"),C(3,RBb,3,5,"issue-summary-card",3),T(4,"async"),C(5,UBb,5,5,"div",4),T(6,"async"),G());a&2&&(D("bFocus",!0),z(),D("ngIf",V(2,4,b.id$)),z(2),D("ngIf",b.enableSummarySection&&V(4,6,b.id$)),z(2),D("ngIf",V(6,8,b.id$)))},dependencies:[Gv,U5,ZY,S5,Q5,f6,w6,g6,z6,c6,L6,Lv],
styles:["issue-summary-card[_ngcontent-%COMP%]{padding:8px}.summary[_ngcontent-%COMP%]{background-color:#f2f6ff;background-color:var(--blue-bg)}"]});var N6=function(){};N6.\u0275fac=function(a){return new (a||N6)};N6.\u0275mod=dd({type:N6});N6.\u0275inj=Ic({imports:[BB]});var O6=function(){};O6.\u0275fac=function(a){return new (a||O6)};O6.\u0275mod=dd({type:O6});O6.\u0275inj=Ic({imports:[BB,mT,N6,jN,dJ,aM,x3,CN]});var P6=function(){};P6.\u0275fac=function(a){return new (a||P6)};P6.\u0275mod=dd({type:P6});P6.\u0275inj=Ic({imports:[BB,ML]});var Q6=function(){};Q6.\u0275fac=function(a){return new (a||Q6)};Q6.\u0275mod=dd({type:Q6});Q6.\u0275inj=Ic({imports:[mT,O6,KM,BB,UM,NL,PL,ML,aM,x3,AS,kN,P6]});var R6=function(){};R6.\u0275fac=function(a){return new (a||R6)};R6.\u0275mod=dd({type:R6});R6.\u0275inj=Ic({imports:[BB,NP,fJ,jM,ML,PP,sM,My,Ny,HU,aM,kx]});var S6=function(){};S6.\u0275fac=function(a){return new (a||S6)};S6.\u0275mod=dd({type:S6});S6.\u0275inj=Ic({imports:[BB,ML,aM,lM,TV]});var T6=function(a){Z.call(this);this.prefs=a};X(T6,Z);T6.\u0275dir=Z.\u0275dir;T6.prototype.onChange=function(a){this.prefs.save({useCodefont:a.checked}).pipe(qf(this.destroyed$)).subscribe()};T6.\u0275fac=function(a){return new (a||T6)(A(rH))};
T6.\u0275cmp=p({type:T6,selectors:[["b-toggle-code-font"]],features:[zf],ngContentSelectors:["*"],decls:3,vars:3,consts:[["matTooltip","Use a monospace typeface to display all comments",3,"change","checked"]],template:function(a,b){a&1&&(Xf(),F(0,"mat-slide-toggle",0),T(1,"async"),M("change",function(c){return b.onChange(c)}),Yf(2),G());a&2&&D("checked",V(1,1,b.prefs.codeFont$))},dependencies:[HW,IW,LH,OH,Lv],styles:["mat-slide-toggle[_ngcontent-%COMP%] {font-size: 14px; }"],changeDetection:0});var U6=function(){};U6.\u0275fac=function(a){return new (a||U6)};U6.\u0275mod=dd({type:U6});U6.\u0275inj=Ic({imports:[BB,ML,jM,fJ,KW,sM,aM,AS]});var V6=function(){};V6.\u0275fac=function(a){return new (a||V6)};V6.\u0275mod=dd({type:V6});V6.\u0275inj=Ic({providers:[yT],imports:[BB,DN,NN,JY,R6,NL,xP,rS,nN,S6,ML,aM,HU,U6]});var W6=function(){};W6.\u0275fac=function(a){return new (a||W6)};W6.\u0275mod=dd({type:W6});W6.\u0275inj=Ic({imports:[BB,AS,ML,fJ,aM,CN,KU,KM]});var X6=function(){};X6.\u0275fac=function(a){return new (a||X6)};X6.\u0275mod=dd({type:X6});X6.\u0275inj=Ic({imports:[BB,ML,lM,W6,qM]});var Y6=function(){};Y6.\u0275fac=function(a){return new (a||Y6)};Y6.\u0275mod=dd({type:Y6});Y6.\u0275inj=Ic({imports:[BB]});var Z6=function(){};Z6.\u0275fac=function(a){return new (a||Z6)};Z6.\u0275mod=dd({type:Z6});Z6.\u0275inj=Ic({imports:[BB,NL,xP,UM,kN,gW,KM]});var $6=function(){};$6.\u0275fac=function(a){return new (a||$6)};$6.\u0275mod=dd({type:$6});$6.\u0275inj=Ic({imports:[BB,KM]});var a7=function(){};a7.\u0275fac=function(a){return new (a||a7)};a7.\u0275mod=dd({type:a7});a7.\u0275inj=Ic({imports:[mT,O6,KM,BB,UM,NL,Z6,PL,x3,kN,aM,$6,ML,Y6]});var b7=function(){};b7.\u0275fac=function(a){return new (a||b7)};b7.\u0275mod=dd({type:b7});b7.\u0275inj=Ic({imports:[BB,a7,Z6,ML,AS]});var c7=function(){};c7.\u0275fac=function(a){return new (a||c7)};c7.\u0275mod=dd({type:c7});c7.\u0275inj=Ic({imports:[BB,ML,sM]});var d7=function(){};d7.\u0275fac=function(a){return new (a||d7)};d7.\u0275mod=dd({type:d7});d7.\u0275inj=Ic({imports:[KM,BB,b7,Q6,rS,S6,ML,aM,AS,HU,c7,kN,sM,W6]});var e7=function(){};e7.\u0275fac=function(a){return new (a||e7)};e7.\u0275mod=dd({type:e7});e7.\u0275inj=Ic({imports:[BB,BN,aM,NL,E0]});var f7=function(){};f7.\u0275fac=function(a){return new (a||f7)};f7.\u0275mod=dd({type:f7});f7.\u0275inj=Ic({imports:[YS,uY,KM,BB,DN,My,NN,dJ,jM,wY,e7,vP]});var g7=function(){};g7.\u0275fac=function(a){return new (a||g7)};g7.\u0275mod=dd({type:g7});g7.\u0275inj=Ic({imports:[BB,NL,PL,BN]});var h7=function(){};h7.\u0275fac=function(a){return new (a||h7)};h7.\u0275mod=dd({type:h7});h7.\u0275inj=Ic({imports:[g7,BB,NL,PL,ML,BN,hM]});var i7=function(){};i7.\u0275fac=function(a){return new (a||i7)};i7.\u0275mod=dd({type:i7});i7.\u0275inj=Ic({imports:[KM,BB,GJ]});var j7=function(){};j7.\u0275fac=function(a){return new (a||j7)};j7.\u0275mod=dd({type:j7});j7.\u0275inj=Ic({imports:[BB,nN,ML,aM,i7,OL,g7]});var k7=function(){};k7.\u0275fac=function(a){return new (a||k7)};k7.\u0275mod=dd({type:k7});k7.\u0275inj=Ic({imports:[g7,BB,ML,i7]});var l7=function(){};l7.\u0275fac=function(a){return new (a||l7)};l7.\u0275mod=dd({type:l7});l7.\u0275inj=Ic({imports:[BB,oT,AS]});var m7=function(){};m7.\u0275fac=function(a){return new (a||m7)};m7.\u0275mod=dd({type:m7});m7.\u0275inj=Ic({imports:[BB,ML,Tw]});var n7=function(){};n7.\u0275fac=function(a){return new (a||n7)};n7.\u0275mod=dd({type:n7});n7.\u0275inj=Ic({imports:[BB,m7,h7,j7,k7,l7]});var o7=function(){};o7.\u0275fac=function(a){return new (a||o7)};o7.\u0275mod=dd({type:o7});o7.\u0275inj=Ic({imports:[fJ,jM,BB,yx,ML,KM,eY]});var p7=function(){};p7.\u0275fac=function(a){return new (a||p7)};p7.\u0275mod=dd({type:p7});p7.\u0275inj=Ic({imports:[KM,BB]});var q7=function(){};q7.\u0275fac=function(a){return new (a||q7)};q7.\u0275mod=dd({type:q7});q7.\u0275inj=Ic({imports:[BB,UM,ML,fJ,yx,OL,BN,p7,kN]});var r7=function(){};r7.\u0275fac=function(a){return new (a||r7)};r7.\u0275mod=dd({type:r7});r7.\u0275inj=Ic({imports:[mT,KM,BB,UM,o7,NL,PL,ML,aM,BN,q7,p7]});var s7=function(){};s7.\u0275fac=function(a){return new (a||s7)};s7.\u0275mod=dd({type:s7});s7.\u0275inj=Ic({imports:[BB,ML,fJ,KU,CN]});var t7=function(){};t7.\u0275fac=function(a){return new (a||t7)};t7.\u0275mod=dd({type:t7});t7.\u0275inj=Ic({imports:[BB,nE,dB,My,ML,fJ,JM,Ny,X6,$Y,V6,Q6,d7,n7,j7,f7,hM,r7,kN,AS,W6,s7]});var OOc=function(a,b,c,d){var e=this;this.activeSession=a;this.issueFridge=b;this.issueDetailsBrain=c;this.eventsForIssueFridge=d;this.isInternalSession=this.activeSession.isInternalSession();this.issue$=this.issueDetailsBrain.id$.pipe(pf(this.issueFridge.watch),te(lj));this.commentNumberToEventMap$=this.issue$.pipe(y(function(f){return f.issueId}),pf(function(f){return e.eventsForIssueFridge.watch(f)}),y(function(f){var h;return(h=f==null?void 0:f.events)!=null?h:[]}),y(function(f){return new Map(f.filter(function(h){return!!h.commentNumber}).map(function(h){return[h.commentNumber,
h]}))}));this.relatedLinks$=(0,W.combineLatest)([this.issue$,this.commentNumberToEventMap$]).pipe(y(function(f){var h=l(f);f=h.next().value;var k=h.next().value;var q;return((q=f.relatedLinks)==null?void 0:q.map(function(t){return Object.assign({},t,{comment:k.get(t.sourceCommentNumber)})}))||[]}));this.issueReferences$=this.relatedLinks$.pipe(y(function(f){return f.filter(tIa)}));this.imageLinks$=this.relatedLinks$.pipe(y(function(f){return f.filter(pIa)}));this.otherLinks$=this.relatedLinks$.pipe(y(function(f){return f.filter(uIa)}))};
OOc.\u0275fac=function(a){return new (a||OOc)(A(Ir),A(jG),A(qJ),A(rF))};
OOc.\u0275cmp=p({type:OOc,selectors:[["b-issue-resources"]],decls:3,vars:3,consts:[[1,"carded","bg-main"],[4,"ngIf"],["svgIcon","image",1,"icon-s"],[3,"issueId","imageLinks","paginate"],[1,"margin-bottom"],["svgIcon","bug_report_24px",1,"icon-s"],[3,"issueReferences","currentIssueId","paginate"],["svgIcon","link",1,"icon-s"],[3,"links","issueId","paginate"]],template:function(a,b){a&1&&(F(0,"section",0),C(1,bCb,7,9,"ng-container",1),T(2,"async"),G());a&2&&(z(),D("ngIf",V(2,1,b.issue$)))},dependencies:[Gv,
zB,m6,j6,o6,Lv],styles:["[_nghost-%COMP%]{display:block;padding:8px}h4[_ngcontent-%COMP%]{margin:16px 0}mat-icon[_ngcontent-%COMP%]{vertical-align:text-bottom}"]});var u7=function(){};u7.\u0275fac=function(a){return new (a||u7)};u7.\u0275mod=dd({type:u7});u7.\u0275inj=Ic({imports:[BB,j7,h7,k7]});var v7=function(a,b,c){var d=this;this.brain=a;this.codeMentions=b;this.imageUrls=c;this.ROBOT_SLEEPING=this.imageUrls.ROBOT_SLEEPING;this.id$=this.brain.id$.pipe(te(lj));this.codeMentionsState$=this.id$.pipe(pf(function(e){return Upc(d.codeMentions,e)}))};v7.prototype.displayPackageNames=function(a){return this.codeMentions.displayPackageNames(a)};v7.prototype.trackSqueegeeClick=function(){this.codeMentions.trackSqueegeeClick()};v7.\u0275fac=function(a){return new (a||v7)(A(qJ),A($S),A(VP))};
v7.\u0275cmp=p({type:v7,selectors:[["issue-todos"]],decls:3,vars:3,consts:[["hasResults",""],[1,"carded","bg-main"],[4,"ngIf"],["class","empty-state layout-centered-column gap",4,"ngIf","ngIfElse"],[1,"empty-state","layout-centered-column","gap"],["aria-hidden","true","alt","",3,"src"],[1,"type-l"],[1,"muted"],["href","http://go/buganizer-guide/guides/issue-todos.md","target","_blank"],[3,"issueId","packageMentionSet","displayPackageName",4,"ngFor","ngForOf"],[1,"margin-top"],["target","_blank",3,
"click","href"],[3,"issueId","packageMentionSet","displayPackageName"]],template:function(a,b){a&1&&(F(0,"section",1),C(1,hCb,3,3,"ng-container",2),T(2,"async"),G());a&2&&(z(),D("ngIf",V(2,1,b.id$)))},dependencies:[Fv,Gv,WJc,Lv],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 w7=function(a,b,c,d,e){this.cdr=a;this.userApi=b;this.errorHandler=c;this.currentUserBookmarksFridge=d;this.activeSession=e;this.isLoading=!1;this.hotlists=[];this.createHotlistPath=zo.createHotlist.makeHref()};w7.prototype.ngOnInit=function(){this.fetchUserHotlists()};
w7.prototype.fetchUserHotlists=function(){var a=this;this.isLoading=!0;(this.activeSession.getFlag("enableLeanFeF")?(0,W.firstValueFrom)(jF(this.currentUserBookmarksFridge)):this.userApi.getUserHotlists()).then(function(b){a.hotlists=b;a.isLoading=!1;a.cdr.detectChanges()}).catch(function(b){a.errorHandler.errorHandler(null,b)})};w7.\u0275fac=function(a){return new (a||w7)(A(YF,2),A(aF),A(uE),A(hF),A(Ir))};
w7.\u0275cmp=p({type:w7,selectors:[["list-hotlists-page"]],features:[qg([YF])],decls:8,vars:3,consts:[[1,"a11y-only"],[1,"kd-appbar","kd-buttonbar"],["mat-button","",1,"gmat-button","no-visited-no-active",3,"href"],[1,"bv2-view"],[3,"large",4,"ngIf"],[3,"hotlists",4,"ngIf"],[3,"large"],[3,"hotlists"]],template:function(a,b){a&1&&(F(0,"h2",0),R(1,"Browse Hotlists"),G(),F(2,"div",1)(3,"a",2),R(4," Create Hotlist "),G()(),F(5,"div",3),C(6,iCb,1,1,"b-spinner",4)(7,jCb,1,1,"b-hotlist-grid",5),G());a&2&&
(z(3),D("href",b.createHotlistPath,Qe),z(3),D("ngIf",b.isLoading),z(),D("ngIf",!b.isLoading))},dependencies:[Gv,n0,RQ,pE],encapsulation:2});var POc=new Set(["issueId","modifiedTime","createdTime"]),x7=function(a,b,c,d,e,f,h,k,q,t,w,B,E,I,J,N,P,U,ba,ma,na,ya,Pa,ia,qa,ua,Oa){Z.call(this);var Ka=this;this.cdr=a;this.routerEvents=b;this.window=c;this.bLocation=d;this.$log=e;this.issueApi=f;this.userApi=h;this.hotlistApi=k;this.activeSession=q;this.butterBar=t;this.analytics=w;this.appSearchState=B;this.issuePagination=E;this.userPreferencesManager=I;this.urlPreferences=J;this.gridPreferencesFetcher=N;this.paths=P;this.timeout=U;this.errorHandler=
ba;this.statusMessages=ma;this.domSafe=na;this.appEvents=ya;this.hotlistFridge=Pa;this.issueFridge=ia;this.batchIssueRelationshipsService=qa;this.componentFridge=ua;this.currentUserBookmarksFridge=Oa;this.enableIlpModesWorkArea=this.activeSession.getFlag("enableIlpModesWorkArea");this.viewModesEnabled=this.activeSession.isInternalSession()&&this.enableIlpModesWorkArea;var Cb,Qb,Rb,Wa;this.viewModeInternal=(Wa=(Rb=Nwa())!=null?Rb:(Cb=this.window)==null?void 0:(Qb=Cb.sessionStorage)==null?void 0:Qb.getItem("LIST_VIEW_MODE"))!=
null?Wa:"list";this.focusedRowIndex=this.displayColumns=null;this.isInitializing=!0;this.currentUserEmail=this.activeSession.getUserEmail();this.searchResults=null;this.hotlistChoices=[];this.hotlistMap={};this.customFieldMap={};this.gridControls=this.cachedSort=null;this.issueColumnsInternal=[];this.metaColumns=[];this.sortPreferences=[];a=[{keys:["j"],displayAs:"j",description:"Move to the next issue",onPress:function(){var xb;(xb=Ka.resultsGrid)==null||ocb(xb)}},{keys:["k"],displayAs:"k",description:"Move to the previous issue",
onPress:function(){var xb;(xb=Ka.resultsGrid)==null||pcb(xb)}},{keys:["x"],displayAs:"x",description:"Select/Deselect the current issue",onPress:function(){var xb;(xb=Ka.resultsGrid)==null||OFc(xb)}},{keys:["s"],displayAs:"s",description:"Star/Unstar the current issue",onPress:function(){var xb;(xb=Ka.resultsGrid)==null||QFc(xb)}},{keys:[Oo("i")],displayAs:"Shift+i",description:"Mark as read",onPress:function(){var xb;(xb=Ka.resultsGrid)==null||RFc(xb,!0)}},{keys:[Oo("u")],displayAs:"Shift+u",description:"Mark as unread",
onPress:function(){var xb;(xb=Ka.resultsGrid)==null||RFc(xb,!1)}},{keys:[Po("*","a")],displayAs:"* then a",description:"Select all issues on this page",onPress:function(){var xb;(xb=Ka.resultsGrid)==null||xb.selectAll()}},{keys:[Po("*","n")],displayAs:"* then n",description:"Deselect all issues on this page",onPress:function(){var xb;(xb=Ka.resultsGrid)==null||LFc(xb)}},{keys:["a"],displayAs:"a",description:"Change assignee",onPress:function(){var xb;(xb=Ka.gridControls)==null||nY(xb,null,0)}},{keys:["d"],
displayAs:"d",description:"Mark as duplicate",onPress:function(){var xb;(xb=Ka.gridControls)==null||nY(xb,Qm.DUPLICATE,3)}},{keys:["h"],displayAs:"h",description:"Edit hotlists",onPress:function(){var xb;if((xb=Ka.gridControls)!=null&&xb.hasSelectedIssues()){var Qa;(Qa=xb.hotlistPicker)==null||Qa.open()}}},{keys:["r"],displayAs:"r",description:"Add comment",onPress:function(){var xb;(xb=Ka.gridControls)==null||Czc(xb)}},{keys:["u",Oo("r")],displayAs:"u / Shift+r",description:"Refresh search results",
onPress:function(){return Ka.refreshResults()}},{keys:[Po("p","0"),Po("p","1"),Po("p","2"),Po("p","3"),Po("p","4")],displayAs:"p <n>",description:"Mark selected issues as priority n",onPress:function(xb){Ka.resultsGrid&&Ka.sendBulkEditRequest([{actions:[{fieldName:"priority",value:"P"+xb}],issueIds:Ka.resultsGrid.getSelectedIssues().map(function(Qa){return Qa.issueId})}])}},{keys:[lLa("ENTER")],displayAs:"Ctrl+Enter",description:"Open current issue in new tab",onPress:function(){var xb=c.document.activeElement;
if(xb.tagName==="A"){var Qa=Ka.paths.getBaseUrl();if(xb.href&&!xb.href.startsWith(Qa)){Ka.domSafe.openInNewTab(xb.href);return}}var hb;(hb=Ka.resultsGrid)==null||X_(hb,{openInNewTab:!0})}},{keys:["o","ENTER"],displayAs:"o / Enter",description:"Open the current issue",onPress:function(xb){var Qa=c.document.activeElement;if(xb===1&&Qa.tagName==="A")if(Qa.href)xb=Ka.paths.getBaseUrl(),Qa.href.startsWith(xb)?Ka.bLocation.setUrl(Qa.href.slice(xb.length)):Ka.domSafe.openInNewTab(Qa.href);else{var hb;(hb=
Ka.resultsGrid)==null||X_(hb)}else if(xb===2){var Ra;(Ra=Ka.resultsGrid)==null||X_(Ra,{openInNewTab:!0})}else{var Jb;(Jb=Ka.resultsGrid)==null||X_(Jb)}}}];this.activeSession.getFlag("enableIssueSidebar")&&a.push({keys:[Oo("o"),Oo("ENTER")],displayAs:"Shift+o / Shift+Enter",description:"Toggle current issue in sidebar",onPress:function(xb){var Qa=c.document.activeElement;xb===1&&Qa.tagName==="A"&&Qa.href?ko(Ka.domSafe,Qa.href):(xb=Ka.resultsGrid)!=null&&(xb.isIssueSidebarOpen=!xb.isIssueSidebarOpen,
xb.cdr.detectChanges())}});this.BASE_HOTKEYS=a};X(x7,Z);x7.prototype.ngOnInit=function(){var a=this;QOc(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(qf(this.destroyed$)).subscribe(function(){QOc(a)})};
var ROc=function(a){var b=[].concat(r(rAc));a.activeSession.isInternalSession()&&(a=b.indexOf("issueId"),b.splice(a,0,"minSlo"));return b.map(Fp).filter(lj)};
x7.prototype.fetchUserHotlists=function(){var a=this;(this.activeSession.getFlag("enableLeanFeF")?(0,W.firstValueFrom)(jF(this.currentUserBookmarksFridge)):this.userApi.getUserHotlists()).then(function(b){b=l(b);for(var c=b.next();!c.done;c=b.next()){c=c.value;var d=a.hotlistMap[c.hotlistId];pi(d,c)||(d&&Va(a.hotlistChoices,d),a.hotlistChoices.push(c),a.hotlistMap[c.hotlistId]=c,a.cdr.detectChanges())}}).catch(function(b){a.errorHandler.errorHandler(null,b)})};
var QOc=function(a){return SOc(a).then(function(){return a.getIssues()}).then(function(){return a.searchResults?(a.subscribeToIssueChanges(a.searchResults.issues),TOc(a,a.searchResults.startIndex,a.searchResults.endIndex)):Promise.resolve()}).finally(function(){a.cdr.detectChanges()})};
x7.prototype.subscribeToIssueChanges=function(a){var b=this,c;(c=this.issueSubscriptions)==null||c.unsubscribe();this.issueSubscriptions=new W.Subscription;a=l(a);for(c=a.next();!c.done;c=a.next())this.issueSubscriptions.add(this.issueFridge.watch(c.value.id).pipe(te(lj),qf(this.destroyed$)).subscribe(function(d){var e;return fe(function(f){if(f.nextAddress==1)return b.searchResults?he(f,(0,W.firstValueFrom)(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();Xqc(b.searchResults,[{issue:d,component:e}]);b.searchResults=b.searchResults.clone()}b.cdr.detectChanges();le(f)})}))};
var UOc=function(a){return a.window.document.activeElement!=null&&a.window.document.activeElement!==a.window.document.body},SOc=function(a){var b=Wm();UOc(a)&&a.window.document.activeElement.blur();a.timeout.schedule(function(){b.resolve()});return b.promise},TOc=function(a,b,c){var d=Wm();UOc(a)||VOc(a,b,c);a.timeout.schedule(function(){d.resolve()});return d.promise},WOc=function(a,b){if(b.maySkipResults){b=yh(["Too many matching results. Some issues may be omitted.",zh("br"),"Please try to restrict your search further or change the sort column to either CREATED or LAST MODIFIED. "]);
var c={};c=zh("a",(c.href="http://go/buganizer-faq#restrict-search",c),"go/buganizer-faq");c=yh([zh("br"),"See ",c," for more details."]);b=a.activeSession.isInternalSession()?yh([b,c]):b;J6b(a.butterBar,b)}};g=x7.prototype;
g.setSort=function(a,b,c){c=c===void 0?!0:c;var d=Fp(a);if(d){var e=new Ip(d,b==="ASC"?"ASCENDING":"DESCENDING");Xa(this.sortPreferences,function(f){return pi(f.fieldId,e.fieldId)});!c||POc.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):ti(a.fieldId.type),direction:a.direction==="ASCENDING"?"ASC":"DESC"};pi(a,this.cachedSort)||(this.cachedSort=a);return this.cachedSort};g.saveSortColumns=function(a){q0(this.urlPreferences,{sortColumns:a,page:1})};
g.initColumns=function(a,b){var c=this;b=b===void 0?XOc:b;a.then(function(d){c.displayColumns=d;c.metaColumns=b;c.isColumnSaveEnabled=!0;c.issueColumnsInternal=[].concat(r(b),r(t7a(d)));c.cdr.detectChanges()})};g.saveColumns=function(a){this.displayColumns=a.map(function(b){return Fp(b.name)});q0(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=Ao(a),c&&(c.ctrlKey||c.metaKey||c.button===1)?this.domSafe.openInNewTab(a):c&&c.shiftKey?ko(this.domSafe,a):this.bLocation.setUrl(a))};g.goToPage=function(a){this.bLocation.search("p",a)};var zr=function(a,b,c){b!==void 0&&a.goToPage(b+c)};g=x7.prototype;g.refreshResults=function(){frc(this.issuePagination);return QOc(this)};
g.hasResults=function(){return this.searchResults&&this.searchResults.issues.length>0};
g.sendBulkEditRequest=function(a,b){var c=this;if(a.length===1&&a[0].actions.length===1&&a[0].actions[0].fieldName==="readState"){var d=!!a[0].actions[0].value;b=l(a[0].issueIds);for(var e=b.next();!e.done;e=b.next()){e=e.value;var f=void 0;(f=this.searchResults)==null||Yqc(f,e,d)}this.cdr.detectChanges();Ap(this.butterBar,"Saving changes...",0);return lG(this.issueFridge,a[0].issueIds,{markRead:d,userActivityType:"MARK_AS_READ_OR_UNREAD"}).then(function(k){for(var q=l(a[0].issueIds),t=q.next();!t.done;t=
q.next()){t=t.value;var w=void 0,B=void 0;(w=c.searchResults)==null||Yqc(w,t,void 0,(B=k)!=null?B:null)}Ap(c.butterBar,"Successfully marked issues "+(d?"read.":"unread."))}).catch(function(k){for(var q=l(a[0].issueIds),t=q.next();!t.done;t=q.next()){t=t.value;var w=void 0;(w=c.searchResults)==null||Yqc(w,t)}c.errorHandler.errorHandler(null,k)}).finally(function(){c.cdr.detectChanges()})}e=WFa(a).map(function(k){return k.fieldName});this.analytics.trackEvent(this.ANALYTICS_CATEGORY,"bulkEdit",e.join(","));
var h={bulkEditOps:a};Ap(this.butterBar,"Saving changes...",0);return a.length===1&&a[0].actions.length===1&&a[0].actions[0].fieldName==="parentId"?this.batchIssueRelationshipsService.bulkEdit(a[0]).then(function(k){if(c.searchResults){c.searchResults=c.searchResults.clone();for(var q=l(c.searchResults.issues.entries()),t=q.next();!t.done;t=q.next()){var w=l(t.value);t=w.next().value;w=w.next().value;k.finishedIssues[w.issueId]&&(t=c.searchResults.issues[t],RVa(t,k.finishedIssues[w.issueId],null),
c.loadHotlists(t),Object.assign(c.customFieldMap,t.customFieldMap))}c.cdr.detectChanges()}w=a[0];q=k.notFinishedIssueIds;t=String(w.actions[0].value);w=w.actions[0].actionType;if(w!=="ADD"&&w!=="REMOVE")throw Error("hf");q.length?(c.butterBar.showWarning("Failed to update issue(s) "+q.join(", ")+"."),c.analytics.trackEvent(c.ANALYTICS_CATEGORY,"bulkEditError",""+q.length)):Ap(c.butterBar,(w==="ADD"?"Added child issue(s) to parent ["+t+"]":"Removed child issue(s) from parent ["+t+"]")+" on "+String(Object.keys(k.finishedIssues).length)+
" issues.");c.cdr.detectChanges()}).catch(function(k){c.errorHandler.errorHandler(null,k)}):this.issueApi.issueBulkEdit(h,b).then(function(k){if(c.searchResults){c.searchResults=c.searchResults.clone();for(var q=l(c.searchResults.issues.entries()),t=q.next();!t.done;t=q.next()){var w=l(t.value);t=w.next().value;w=w.next().value;k.affectedIssues[w.issueId]&&(w=k.affectedIssues[w.issueId],t=c.searchResults.issues[t],RVa(t,w,k.componentMap[Na(w.snapshot).componentId]),c.loadHotlists(t),Object.assign(c.customFieldMap,
t.customFieldMap))}c.cdr.detectChanges()}k.errors&&k.errors.length?(q="Failed to update issue(s) "+(xi(k.errors,"issueId").join(", ")+"."),c.butterBar.showWarning(q),c.analytics.trackEvent(c.ANALYTICS_CATEGORY,"bulkEditError",""+k.errors.length)):(k=rac(c.statusMessages,h,c.customFieldMap))?Ap(c.butterBar,k):Ap(c.butterBar,"Saved "+XFa(h.bulkEditOps).length+" issue(s).");c.cdr.detectChanges()}).catch(function(k){c.errorHandler.errorHandler(null,k)})};
g.loadHotlists=function(a){var b=this;a=l(a?[a]:this.searchResults?this.searchResults.issues:[]);for(var c=a.next();!c.done;c=a.next()){c=c.value;if(!c.hotlistId)break;c=l(c.hotlistId);for(var d=c.next();!d.done;d=c.next())d=d.value,this.hotlistMap[d]||this.hotlistApi.get(d).then(function(e){b.hotlistFridge.announce(e);b.addHotlist(e)}).catch(function(){})}};g.addHotlist=function(a){this.hotlistMap[a.hotlistId]||(this.hotlistMap[a.hotlistId]=a,this.hotlistChoices.push(a))};
g.createHotlist=function(a){var b=this;var c=a.name;var d=a.successCallback;a=a.errorCallback;this.analytics.trackEvent(this.ANALYTICS_CATEGORY,"createHotlist");Ap(this.butterBar,"Creating hotlist "+c+"...",0);this.hotlistApi.createHotlist(c).then(function(e){b.hotlistFridge.announce(e);Ap(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;Ap(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");GH(this.domSafe,this.getCsvUrl())};
var YOc=function(a,b){a.userPreferencesManager.save({resultsPerPage:b}).pipe(qf(a.destroyed$)).subscribe(function(){a.resultsPerPage=b;q0(a.urlPreferences,{page:1});a.analytics.trackEvent(a.ANALYTICS_CATEGORY,"resultsPerPageSave",b.toString());a.refreshResults();a.cdr.detectChanges()},function(c){Ci(c)})},VOc=function(a,b,c){var d=a.issuePagination.getFocusedIssue();a.timeout.schedule(function(){if(d>=b&&d<=c)a.focusedRowIndex=d-b;else{hrc(a.issuePagination);a.focusedRowIndex=0;var e=document.querySelector(".bv2-view");
e&&(e.scrollTop=0)}a.cdr.detectChanges()})},xCb=function(){setTimeout(function(){var a=document.querySelector(".b-select-all-toggle");a&&a.focus()})};
ea.Object.defineProperties(x7.prototype,{viewMode:{configurable:!0,enumerable:!0,get:function(){return this.viewModeInternal},set:function(a){this.viewModeInternal=a;var b,c;(b=this.window)==null||(c=b.sessionStorage)==null||c.setItem("LIST_VIEW_MODE",a);var d;(d=window)!=null&&d.location&&history&&(b=new URLSearchParams(window.location.search),a==null?b.delete("mode"):b.set("mode",a),a=window.location.pathname,(b=decodeURIComponent(String(b)))?history.pushState(void 0,"",a+"?"+b):history.pushState(void 0,
"",a))}},issueColumns:{configurable:!0,enumerable:!0,get:function(){return this.issueColumnsInternal},set:function(a){pi(this.issueColumnsInternal,a)||(this.analytics.trackEvent(this.ANALYTICS_CATEGORY,"columnModification",aEa(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 XOc=[Y_,Z_,a0];
x7.\u0275fac=function(a){return new (a||x7)(A(YF),A(aG),A(Window),A(oN),A(tE),A(PD),A(aF),A(RE),A(Ir),A(sE),A(bG),A(xH),A(bU),A(rH),A(p0),A(r0),A(pN),A(iD),A(uE),A(MI),A(FH),A(yE),A(bF),A(jG),A(K1),A(CC),A(hF))};x7.\u0275dir=fd({type:x7,features:[zf]});var lCb=function(){return{name:"List",value:"list",tooltip:"Classic view of Buganizer issues"}},mCb=function(){return{name:"Overview",value:"adv",tooltip:"Stats, summaries, and recent activity"}},kCb=function(a,b){return[a,b]},sCb=function(){return{q:"status:open"}},y7=function(a,b,c,d,e,f,h,k,q,t,w,B,E,I,J,N,P,U,ba,ma,na,ya,Pa,ia,qa,ua,Oa,Ka,Cb,Qb,Rb,Wa){x7.call(this,a,b,c,d,f,h,k,q,e,t,w,B,E,I,J,N,P,U,Pa,ba,ma,qa,Oa,Ka,Cb,Qb,Wa);this.hotkeys=na;this.pageTitle=ya;this.routePerformance=ia;this.element=
ua;this.imageUrls=Rb;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 W.Subject};X(y7,x7);y7.\u0275dir=x7.\u0275dir;g=y7.prototype;
g.ngOnInit=function(){var a=this;x7.prototype.ngOnInit.call(this);this.subscriptions.add(LN(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="",yH(this.appSearchState,this.query),this.searchResults=null,this.setPageTitle(),this.isLoading=!1):(this.routePerformance.ignoringNextNav=!0,q0(this.urlPreferences,{query:"assignee:"+this.currentUserEmail+" status:open"},!0)),Promise.resolve(void 0);yH(this.appSearchState,
this.query);b=F9b(this.appSearchState);if(b>0)return Lfc(this.bLocation,zo.viewHotlist.makeHref(b)),q0(this.urlPreferences,{query:null},!0),Promise.resolve(void 0);b=G9b(this.appSearchState);if(b>0)return Lfc(this.bLocation,this.paths.viewSavedSearch(b)),q0(this.urlPreferences,{query:null},!0),Promise.resolve(void 0);this.searchResults=null;this.isLoading=!0;this.setPageTitle();this.subscriptions.add((0,W.concat)((0,W.timer)(0).pipe(ika()),Lwa("b-issues-grid, #no-results",this.element.nativeElement)).subscribe(function(){var c=
function(){eqc(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 ZOc);var b=this.gridPreferencesFetcher.fetch({resultsPerPage:25,page:1,query:"",sortColumns:[],displayColumns:ROc(this)}),c=Promise.race([b.searchPreferences.then(function(f){f=qi(f);f.query=a.query;f.returnUrl=a.bLocation.getUrl();f.trackerIds=a.appSearchState.currentTrackerScope;return crc(a.issuePagination,f)}),(0,W.firstValueFrom)(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 ZOc||WOc(a,f)}).catch(function(f){typeof f==="number"?q0(a.urlPreferences,{page:f}):a.errorHandler.errorHandler(null,f)});b=b.displayColumns;this.initColumns(b);return pp({searchResultsPage:c,displayColumns:b}).then(function(f){var h=f.searchResultsPage;if(h instanceof ZOc)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 Fp(b.name)});t9b(this.userPreferencesManager,u7a(a)).pipe(qf(this.destroyed$)).subscribe()};
g.setPageTitle=function(){this.appSearchState.currentQuery===zH(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===E9b(this.currentUserEmail)?this.pageTitle.setTitle("To be verified"):this.pageTitle.setTitle(this.query)};
g.saveSortColumns=function(a){var b=this,c=this.bLocation.search();a=a.map(function(d){return{column:d.fieldId,order:d.direction}});this.userPreferencesManager.saveSortColumns(a).pipe(qf(this.destroyed$)).subscribe(function(){q0(b.urlPreferences,{page:1,sortColumns:null});xCb();var d=b.bLocation.search();pi(c,d)&&b.refreshResults()})};g.getCsvUrl=function(){return lKa(this.query,this.appSearchState.currentTrackerScope,this.sortPreferences,this.displayColumns,this.showHotlists)};
y7.\u0275fac=function(a){return new (a||y7)(A(YF),A(aG),A(EH),A(oN),A(Ir),A(tE),A(PD),A(aF),A(RE),A(sE),A(bG),A(xH),A(bU),A(rH),A(p0),A(r0),A(pN),A(iD),A(MI),A(FH),A(KN),A(cU),A(uE),A(hT),A(yE),A(Rd),A(bF),A(jG),A(K1),A(CC),A(VP),A(hF))};
y7.\u0275cmp=p({type:y7,selectors:[["list-issues-page"]],features:[qg([YF]),zf],decls:11,vars:8,consts:[["noQuery",""],["noTracker",""],[1,"a11y-only"],[1,"kd-appbar","kd-buttonbar"],[3,"init","onRefresh","onSave","onCreateHotlist","onLoadHotlist","onExportCsv","grid","hotlistChoices"],[1,"bv2-appbar-right"],[3,"pageChange","resultsPerPageChange","searchResults"],[1,"bv2-view"],["class","bv2-view-loading",4,"ngIf"],["id","no-results","class","bv2-view-loading layout-centered-column gap","tabindex",
"-1",3,"bFocus",4,"ngIf"],["class","bv2-grid-container",4,"ngIf"],[3,"value","choices"],[3,"valueChange","value","choices"],[1,"bv2-view-loading"],["id","no-results","tabindex","-1",1,"bv2-view-loading","layout-centered-column","gap",3,"bFocus"],["aria-hidden","true","alt","",1,"empty-state-img",3,"src"],[4,"ngIf","ngIfElse"],["routerLink","/issues",3,"queryParams",4,"ngIf","ngIfElse"],["routerLink","/issues",3,"queryParams"],["href","https://developers.google.com/issue-tracker/concepts/searches",
"target","_blank"],[1,"bv2-grid-container"],[3,"searchResults","focusedRowIndex","columns","enableColumnSaving","sort","enableSidebar"],[1,"padded-s",3,"searchString","prefKey"],[1,"padded-s",3,"query","numEvents"],[3,"init","columnsChange","sortChange","rowClick","onNextPage","onPrevPage","searchResults","focusedRowIndex","columns","enableColumnSaving","sort","enableSidebar"]],template:function(a,b){a&1&&(F(0,"h2",2),R(1,"Issue search results"),G(),F(2,"div",3)(3,"b-grid-controls",4),M("init",function(d){return b.gridControls=
d})("onRefresh",function(){return b.refreshResults()})("onSave",function(d){return b.sendBulkEditRequest(d.bulkEditOps,d.recaptchaToken)})("onCreateHotlist",function(d){return b.createHotlist(d)})("onLoadHotlist",function(d){return b.loadHotlist(d)})("onExportCsv",function(){return b.exportCsv()}),G(),C(4,oCb,1,1),F(5,"div",5)(6,"b-pagination",6),M("pageChange",function(d){return b.goToPage(d.page)})("resultsPerPageChange",function(d){return YOc(b,d.option)}),G()()(),F(7,"div",7),C(8,pCb,4,1,"div",
8)(9,vCb,8,6,"div",9)(10,zCb,3,1,"div",10),G());if(a&2){var c;z(3);D("grid",b.resultsGrid)("hotlistChoices",b.hotlistChoices);z();Of((c=b.searchResults==null?null:b.searchResults.numResults)?4:-1,c);z(2);D("searchResults",b.searchResults);z();Bf("aria-busy",b.isLoading);z();D("ngIf",b.isLoading);z();D("ngIf",!b.isLoading&&!b.hasResults());z();D("ngIf",!b.isLoading&&b.hasResults())}},dependencies:[d0,a1,W_,Gv,rB,RQ,ZY,XL,sT,vN],styles:[".empty-state-img[_ngcontent-%COMP%]{max-width:320px;max-height:320px;padding-bottom:56px}/*# sourceMappingURL=list_issues.css.map */"]});
var ZOc=function(){},z7=function(){};z7.\u0275fac=function(a){return new (a||z7)};z7.\u0275mod=dd({type:z7});z7.\u0275inj=Ic({imports:[m0,b1,Y0,yS,BB,AS,$Y,My,bM,AT,wN]});var A7=function(a,b,c,d){this.cdr=a;this.sloApi=b;this.errorHandler=c;this.activeSession=d;this.isLoading=!1;this.activeSlos=[];this.archivedSlos=[];this.createSloPath=zo.createSlo.makeHref();this.sloEnabled=this.activeSession.isInternalSession();this.areArchivedSlosExpanded=!1};A7.prototype.ngOnInit=function(){this.sloEnabled&&$Oc(this)};
var $Oc=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)})};A7.\u0275fac=function(a){return new (a||A7)(A(YF,2),A($G),A(uE),A(Ir))};
A7.\u0275cmp=p({type:A7,selectors:[["list-slos-page"]],features:[qg([YF])],decls:8,vars:5,consts:[[1,"kd-appbar","kd-buttonbar"],["mat-button","",1,"gmat-button","no-visited-no-active",3,"href"],[1,"bv2-view"],["class","padded-sides",4,"ngIf"],[3,"large",4,"ngIf"],[4,"ngIf"],[1,"padded-sides"],[1,"muted"],[3,"large"],["class","slos-note",4,"ngIf"],[3,"slos",4,"ngIf"],[1,"slos-note"],[3,"slos"],[1,"unstyled-button","clickable-row",2,"width","100%",3,"click"],[1,"margined"],[1,"icon-s","vertical-centered",
3,"svgIcon"],["class","conditional-slo-grid",4,"ngIf"],[1,"conditional-slo-grid"],["class","muted padded",4,"ngIf"],[1,"muted","padded"]],template:function(a,b){a&1&&(F(0,"div",0)(1,"a",1),R(2," Create SLO "),G()(),F(3,"div",2),C(4,ACb,5,0,"div",3)(5,BCb,1,1,"b-spinner",4)(6,ECb,3,2,"ng-container",5)(7,ICb,6,5,"ng-container",5),G());a&2&&(z(),D("href",b.createSloPath,Qe),z(3),D("ngIf",b.sloEnabled),z(),D("ngIf",b.isLoading),z(),D("ngIf",!b.isLoading),z(),D("ngIf",!b.isLoading))},dependencies:[Gv,
zB,pE,F1,RQ],encapsulation:2});var lxa=function(a){this.internalArray_=m(a)};X(lxa,Y);g=lxa.prototype;g.getAuthor=function(){return $i(this,Ni,1)};g.setAuthor=function(a){oj(this,Ni,1,a)};g.hasAuthor=function(){return dk(this,Ni,1)};g.getTimestamp=function(){return $i(this,Ii,2)};g.setTimestamp=function(a){return oj(this,Ii,2,a)};g.hasTimestamp=function(){return dk(this,Ii,2)};g.getAdd=function(){return $i(this,Rk,3)};g.setAdd=function(a){return oj(this,Rk,3,a)};g.getRemove=function(){return $i(this,Rk,4)};
g.setRemove=function(a){return oj(this,Rk,4,a)};g.getAddMask=function(){return $i(this,Ul,5)};g.setAddMask=function(a){return oj(this,Ul,5,a)};g.getRemoveMask=function(){return $i(this,Ul,6)};g.setRemoveMask=function(a){return oj(this,Ul,6,a)};var aPc=function(a){this.internalArray_=m(a)};X(aPc,Y);aPc.repeatedFields_=[1];var B7=function(a){this.internalArray_=m(a,0,B7.messageId)};X(B7,Y);B7.prototype.getIt=function(){return $i(this,aPc,2)};B7.prototype.setIt=function(a){return oj(this,aPc,2,a)};B7.messageId="b.ComponentHistory";var C7=function(a,b){this.executor=b;this.componentHistoriesCache=a.get("component_histories-second-level-cache")||a.create("component_histories-second-level-cache",{capacity:25})};C7.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:B7}).then(mxa))};C7.prototype.getUncached=function(a){this.invalidateCache(a);return this.get(a)};
C7.prototype.invalidateCache=function(a){this.componentHistoriesCache.remove(String(a))};C7.\u0275fac=function(a){return new (a||C7)(n(IE),n(JB))};C7.\u0275prov=Hc({token:C7,factory:C7.\u0275fac,providedIn:"root"});var D7=function(){};D7.prototype.ngOnInit=function(){};D7.\u0275fac=function(a){return new (a||D7)};
D7.\u0275cmp=p({type:D7,selectors:[["slo-inheritance-breadcrumbs"]],inputs:{componentPath:"componentPath",teamPath:"teamPath"},decls:2,vars:2,consts:[[4,"ngIf"],[3,"teamPath"],["componentPathsLinkTo","settings",3,"componentPathInfo"]],template:function(a,b){a&1&&C(0,JCb,4,1,"ng-container",0)(1,KCb,4,1,"ng-container",0);a&2&&(D("ngIf",b.teamPath),z(),D("ngIf",b.componentPath))},dependencies:[Gv,wW,g1],styles:["b-component-breadcrumb[_ngcontent-%COMP%], b-team-breadcrumb[_ngcontent-%COMP%]{display:inline-block}"]});var bPc={BASIC:"basic",CUSTOM_FIELDS:"customFields",FIELD_ORDERING:"fieldOrdering",TEMPLATES:"templates",ACCESS:"access"},E7={},cPc=(E7[0]="basic",E7[1]="customFields",E7[2]="fieldOrdering",E7[3]="templates",E7[4]="access",E7),dPc={},ePc=(dPc[0]="access",dPc[1]="access_permissions",dPc),F7=function(a,b){Z.call(this);var c=this;this.bLocation=a;this.route=b;this.Tab=bPc;this.selectedAccessSubTabIndex=this.selectedTabIndex=0;this.componentReady$=new W.Subject;this.componentReady$.subscribe(function(){c.selectedTabIndex=
0;c.route.fragment.pipe(qf(c.destroyed$)).subscribe(function(d){if(d==="basic")c.selectedTabIndex=0;else if(d==="customFields")c.selectedTabIndex=1;else if(d==="fieldOrdering")c.selectedTabIndex=2;else if(d==="templates")c.selectedTabIndex=3;else if(d==="access"||d==="access"||d==="access_permissions")c.selectedTabIndex=4,d==="access_permissions"&&(c.selectedAccessSubTabIndex=1),REb(c)})})};X(F7,Z);F7.\u0275dir=Z.\u0275dir;
F7.prototype.tabChange=function(a){if(a===4&&this.selectedAccessSubTabIndex>0){var b,c=(b=ePc[a])!=null?b:"access";this.bLocation.hash(c,!0)}else b=(c=cPc[a])!=null?c:null,this.bLocation.hash(b,!0);this.selectedTabIndex=a};var REb=function(a){a.selectedAccessSubTabIndex===1?a.bLocation.hash("access_permissions",!0):a.selectedAccessSubTabIndex===0&&a.bLocation.hash("access",!0)};F7.\u0275fac=function(a){return new (a||F7)(n(oN),n(ai))};F7.\u0275prov=Hc({token:F7,factory:F7.\u0275fac,providedIn:"root"});var PCb=function(a){this.internalArray_=m(a)};X(PCb,Y);var fPc=function(a){this.internalArray_=m(a,0,fPc.messageId)};X(fPc,Y);fPc.repeatedFields_=[1];fPc.messageId="b.BatchGroupMetadataResult";var G7=function(a,b){var c=this;this.groupMetadataResources=a;this.bulkGetter=b.adapt(function(d){return c.groupMetadataResources.bulkGet(d).then(function(e){var f=LCb(e);return yRb(d,function(h){return f[h]||null})})})};G7.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"}})};G7.\u0275fac=function(a){return new (a||G7)(n(H7),n(jD))};
G7.\u0275prov=Hc({token:G7,factory:G7.\u0275fac,providedIn:"root"});var H7=function(a){this.executor=a};H7.prototype.bulkGet=function(a){a=[].concat(r(new Set(a)));a=Gk(a.join(","));return this.executor.get({url:"action/group_metadata/"+a,responseConstructor:fPc}).then(QCb)};H7.\u0275fac=function(a){return new (a||H7)(n(JB))};H7.\u0275prov=Hc({token:H7,factory:H7.\u0275fac,providedIn:"root"});var RCb=[{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 I7=function(a,b,c,d){var e=this;this.activeSession=a;this.confirmationDialogService=b;this.documentationLinks=c;this.groupMetadata=d;this.componentReaders=[];this.enableComponentAutomationCheck=this.enableRostersChecks=!1;this.isPublic=function(){return cq(e.component)};this.hasUnsavedAccessLimitChanges=function(){return e.originalComponent&&e.component?e.originalComponent.accessLimit.accessLevel!==e.component.accessLimit.accessLevel:!1};this.performAccessLimitCheck=function(){return new Promise(function(f){e.hasUnsavedAccessLimitChanges()&&
e.component.accessLimit.accessLevel==="INTERNAL"?e.confirmationDialogService.open({title:"Component Visibility Changed",content:wh("You are about to change the component visibility to Google internal for this component. Make sure your changes are correct -- if this component has any issues, you will not be able to undo this action. Do you want to proceed?"),onConfirm:function(){f(!0)},onDismiss:function(){f(!1)}}):f(!0)})};this.performDeletedAccountsCheck=function(){return new Promise(function(f){e.componentReaders.includes("GROUP:nobody@google.com")?
e.confirmationDialogService.open({title:'"nobody@google.com" is on the access policy',content:wh('"nobody@google.com" was detected, this is usually the result of an account being deleted that was already part of the access policy. It can be found in the following fields: '+[e.componentAccessPolicyUnderEdit.admins.includes("GROUP:nobody@google.com")?'"Component Admins"':null,e.componentAccessPolicyUnderEdit.appenders.includes("GROUP:nobody@google.com")?'"Create Issues"':null,e.issueDefaultAccessPolicyUnderEdit.admins.includes("GROUP:nobody@google.com")?
'"Issue Admins"':null,e.issueDefaultAccessPolicyUnderEdit.editors.includes("GROUP:nobody@google.com")?'"Edit Issues"':null,e.issueDefaultAccessPolicyUnderEdit.appenders.includes("GROUP:nobody@google.com")?'"Comment on Issues"':null,e.issueDefaultAccessPolicyUnderEdit.readers.includes("GROUP:nobody@google.com")?'"View Issues"':null,e.issueDefaultAccessPolicyUnderEdit.restrictedPlusReaders.includes("GROUP:nobody@google.com")?'"View restricted+ content"':null,e.issueDefaultAccessPolicyUnderEdit.restrictedReaders.includes("GROUP:nobody@google.com")?
'"View restricted content"':null].filter(function(h){return!!h}).join(", ")+". Do you want to proceed?"),onConfirm:function(){f(!0)},onDismiss:function(){f(!1)}}):f(!0)})};this.performAdminAccessRemovalCheck=function(){return new Promise(function(f){aDb(e.activeSession.getUserEmail(),e.componentFlattenedAccessPolicy,e.componentAccessPolicyUnderEdit)?e.confirmationDialogService.open({title:"Component Administrators Changed",content:wh("You are about to change the administrator privileges for this component. Make sure your changes are correct -- if you revoke your own privileges, you will not be able to undo this action or perform further edits. Do you want to proceed?"),
onConfirm:function(){f(!0)},onDismiss:function(){f(!1)}}):f(!0)})};this.performRestrictedPlusGroupRemovalCheck=function(){return new Promise(function(f){$Cb(e.issueDefaultFlattenedAccessPolicy,e.issueDefaultAccessPolicyUnderEdit)?e.confirmationDialogService.open({title:"Group Removed from Restricted+ Readers",content:wh("You are about to remove Restricted+ reader permission for a group. You will not be able to undo this action. Do you want to proceed?"),onConfirm:function(){f(!0)},onDismiss:function(){f(!1)}}):
f(!0)})};this.retrieveGroupMetadata=function(f){f=Go(f);return f.group!==void 0&&f.group.emailAddress?e.groupMetadata.get(f.group.emailAddress):Promise.resolve({approximateSize:0,groupEmail:"",sizeCategory:"UNKNOWN",permissionCategory:"UNKNOWN_PERMISSION"})};this.evaluateNewGroups=function(){var f=Sm([].concat(r(yi(e.componentAccessPolicyUnderEdit.admins,e.componentFlattenedAccessPolicy.admins)),r(yi(e.issueDefaultAccessPolicyUnderEdit.admins,e.issueDefaultFlattenedAccessPolicy.admins)),r(yi(e.issueDefaultAccessPolicyUnderEdit.editors,
e.issueDefaultFlattenedAccessPolicy.editors)),r(yi(e.issueDefaultAccessPolicyUnderEdit.appenders,e.issueDefaultFlattenedAccessPolicy.appenders)),r(yi(e.issueDefaultAccessPolicyUnderEdit.readers,e.issueDefaultFlattenedAccessPolicy.readers)),r(yi(e.issueDefaultAccessPolicyUnderEdit.restrictedReaders,e.issueDefaultFlattenedAccessPolicy.restrictedReaders)),r(yi(e.issueDefaultAccessPolicyUnderEdit.restrictedPlusReaders,e.issueDefaultFlattenedAccessPolicy.restrictedPlusReaders))));return Promise.all(f.map(function(h){return e.retrieveGroupMetadata(h)}))};
this.performAddedLargeOrOpenGroupCheck=function(){return e.enableRostersChecks?e.evaluateNewGroups().then(function(f){var h=VCb(f);f=ZCb(f);if(h.size===0&&f.size===0)return Promise.resolve(!0);var k=WCb(h.size,f.size);h=XCb(h);f=YCb(f);var q=yh([h,h===Ar?Ar:zh("br"),f]);h={};q=yh([q,zh("p",{},yh(["Please review the ",zh("a",(h.href=O$b(e.documentationLinks),h.target="_blank",h),"recommended practices")," and be sure you know what you are doing. Are you  sure that you want to do this?"]))]);return new Promise(function(t){e.confirmationDialogService.open({title:k,
content:q,onConfirm:function(){t(!0)},onDismiss:function(){t(!1)},confirmButtonText:"Add Group"})})}):Promise.resolve(!0)};this.performAddedNewInternalAliasesCheck=function(){return new Promise(function(f){if(e.isPublic()&&UCb(e.issueDefaultAccessPolicyUnderEdit,e.issueDefaultFlattenedAccessPolicy)){var h={};h=yh([zh("p",{},"You are about to give a broad category of users permissions on a public component."),zh("p",{},yh(["Please review the ",zh("a",(h.href=N$b(e.documentationLinks),h.target="_blank",
h),"recommended practices")," and be sure you know what you are doing. Are you  sure that you want to do this?"]))]);e.confirmationDialogService.open({title:"Adding an broad category of users to a public component",content:h,onConfirm:function(){f(!0)},onDismiss:function(){f(!1)},confirmButtonText:"Add Group Alias"})}else f(!0)})};this.performChangedImplicitAccessCheck=function(){e.implicitAccess={getValue:function(){return e.componentAccessPolicyUnderEdit?e.componentAccessPolicyUnderEdit.implicitAccess===
"ALLOW":!1},getSavedValue:function(){return e.componentFlattenedAccessPolicy?e.componentFlattenedAccessPolicy.implicitAccess==="ALLOW":!1},setValue:function(k){e.componentAccessPolicyUnderEdit&&(e.componentAccessPolicyUnderEdit=Object.assign({},e.componentAccessPolicyUnderEdit,{implicitAccess:k?"ALLOW":"DENY"}))}};var f={},h=zh("a",(f.href=Do(e.documentationLinks)+"#expanded-access",f),"Learn more.");return new Promise(function(k){e.implicitAccess.getValue()===e.implicitAccess.getSavedValue()?k(!0):
e.implicitAccess.getValue()?e.confirmationDialogService.open({title:"Turn on expanded access for component "+e.component.componentId+"?",content:yh(["When expanded access is on, assignees and verifiers can edit issues in this component, and CC'd users can comment. ",h]),onConfirm:function(){k(!0)},onDismiss:function(){k(!1)}}):e.confirmationDialogService.open({title:"Turn off expanded access for component "+e.component.componentId+"?",content:yh(["Some users may lose the ability to edit or comment on issues in this component. ",
h]),onConfirm:function(){k(!0)},onDismiss:function(){k(!1)}})})};this.getAddedAutomationInPolicyChange=function(){var f=[].concat(r(SCb(e.issueDefaultFlattenedAccessPolicy,e.issueDefaultAccessPolicyUnderEdit)),r(SCb(e.componentFlattenedAccessPolicy,e.componentAccessPolicyUnderEdit))),h=new Set;f=l(f);for(var k=f.next();!k.done;k=f.next()){k=l(k.value.addedPrincipals);for(var q=k.next();!q.done;q=k.next())q=Go(q.value),(Rta(q)?vAa(q.user.emailAddress):q.group!==void 0&&vAa(q.group.emailAddress))&&
h.add(q)}return[].concat(r(h))};this.performAutomationUserAccessCheck=function(){if(!e.enableComponentAutomationCheck)return Promise.resolve(!0);var f=e.getAddedAutomationInPolicyChange();return new Promise(function(h){if(f.length){var k={};k=zh("a",(k.href=L$b(e.documentationLinks),k)," automation account documentation");e.confirmationDialogService.open({title:"Adding automation accounts",content:yh([wh("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"),
zh("wbr"),k,wh("."),zh.apply(null,["ol",{}].concat(r(f.map(function(q){if(Rta(q)){var t;return zh("li",{},wh((t=q.user.emailAddress)!=null?t:""))}if(q.group!==void 0){var w;return zh("li",{},wh((w=q.group.emailAddress)!=null?w:""))}throw Error("vf`"+JSON.stringify(q));})))),zh("br",{}),wh("Are you sure you wish to allow automation to access data in this component?")]),onConfirm:function(){h(!0)},onDismiss:function(){h(!1)}})}else h(!0)})};this.runValidation=function(f){var h,k,q;return fe(function(t){switch(t.nextAddress){case 1:h=
l(f),k=h.next();case 2:if(k.done){t.jumpTo(4);break}q=k.value;return he(t,q(),5);case 5:if(!t.yieldResult)return t.return(!1);k=h.next();t.jumpTo(2);break;case 4:return t.return(!0)}})};this.enableRostersChecks=this.activeSession.getFlag("enableRostersChecks");this.enableComponentAutomationCheck=this.activeSession.getFlag("enableComponentAutomationCheck")},gPc=function(a,b){var c=b.component;var d=b.originalComponent;var e=b.componentReaders;var f=b.componentAccessPolicyUnderEdit;var h=b.componentFlattenedAccessPolicy;
var k=b.issueDefaultAccessPolicyUnderEdit;var q=b.issueDefaultFlattenedAccessPolicy;var t,w;return fe(function(B){if(B.nextAddress==1)return a.component=c,a.originalComponent=d,a.componentReaders=e,a.componentAccessPolicyUnderEdit=f,a.componentFlattenedAccessPolicy=h,a.issueDefaultAccessPolicyUnderEdit=k,a.issueDefaultFlattenedAccessPolicy=q,t=[a.performAccessLimitCheck,a.performDeletedAccountsCheck,a.performAdminAccessRemovalCheck,a.performRestrictedPlusGroupRemovalCheck,a.performAddedLargeOrOpenGroupCheck,
a.performAddedNewInternalAliasesCheck,a.performChangedImplicitAccessCheck,a.performAutomationUserAccessCheck],he(B,a.runValidation(t),2);w=B.yieldResult;return B.return(w)})};I7.\u0275fac=function(a){return new (a||I7)(n(Ir),n(EI),n(oI),n(G7))};I7.\u0275prov=Hc({token:I7,factory:I7.\u0275fac});var J7=function(a){Z.call(this);this.principalTypes=a;this.componentReaders=[];this.templates=[]};X(J7,Z);J7.\u0275dir=Z.\u0275dir;
J7.prototype.ngOnChanges=function(){var a=this.componentAccessPolicy,b=this.issueAccessPolicy,c=new Set([].concat(r(this.componentReaders))),d=new Set([].concat(r(a.admins),r(a.inheritedAdmins)));a=new Set([].concat(r(d),r(a.appenders)));var e=new Set([].concat(r(b.admins))),f=new Set([].concat(r(e),r(b.editors))),h=new Set([].concat(r(f),r(b.appenders))),k=new Set([].concat(r(b.restrictedPlusReaders))),q=new Set([].concat(r(k),r(b.restrictedReaders)));b=new Set([].concat(r(q),r(h),r(b.readers)));
this.templates=[{permission:"Admin Components",principals:[].concat(r(d)).map(Br)},{permission:"Create Issues",principals:[].concat(r(a)).map(Br)},{permission:"Admin Issues",principals:[].concat(r(e)).map(Br)},{permission:"Edit Issues",principals:[].concat(r(f)).map(Br)},{permission:"Comment on Issues",principals:[].concat(r(h)).map(Br)},{permission:"View Issues",principals:[].concat(r(b)).map(Br)},{permission:"View Components",principals:[].concat(r(c)).map(Br)},{permission:"View Restricted",principals:[].concat(r(q)).map(Br)},
{permission:"View Restricted+",principals:[].concat(r(k)).map(Br)}];hPc(this,this.templates)};
var hPc=function(a,b){b=l(b);for(var c=b.next();!c.done;c=b.next()){c=l(c.value.principals);for(var d=c.next(),e={};!d.done;e={principal$jscomp$14:void 0},d=c.next())e.principal$jscomp$14=d.value,e.principal$jscomp$14.principalType==="ALIAS"?e.principal$jscomp$14.detailedUserType="NO_DETAILED_TYPE":QG(a.principalTypes,e.principal$jscomp$14.value,!0).then(function(f){return function(h){f.principal$jscomp$14.detailedUserType=h.detailedUserType}}(e))}};J7.\u0275fac=function(a){return new (a||J7)(A(PG))};
J7.\u0275cmp=p({type:J7,selectors:[["permissions-view"]],inputs:{issueAccessPolicy:"issueAccessPolicy",componentAccessPolicy:"componentAccessPolicy",componentReaders:"componentReaders",accessLevel:"accessLevel"},features:[zf,td],decls:7,vars:1,consts:[[1,"permissions-column-headers"],["scope","col"],[4,"ngFor","ngForOf"],[1,"permission-row"],["scope","row"],[3,"value","detailedUserType","principalType","accessLevel","displayText",4,"ngFor","ngForOf"],[3,"value","detailedUserType","principalType",
"accessLevel","displayText"]],template:function(a,b){a&1&&(F(0,"table")(1,"tr",0)(2,"th",1),R(3,"Permission"),G(),F(4,"th",1),R(5,"Users With Permission"),G()(),C(6,cDb,6,2,"ng-container",2),G());a&2&&(z(6),D("ngForOf",b.templates))},dependencies:[Fv,tP],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 iPc=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"}),K7={},jPc=(K7.issueAdmin=new Set(["issueEditor"]),K7.issueEditor=new Set(["issueAppender"]),K7.issueAppender=new Set(["issueReader"]),K7.issueRestrictedReader=
new Set(["issueReader"]),K7.issueRestrictedPlusReader=new Set(["issueRestrictedReader"]),K7.issueReader=new Set(["componentReader"]),K7.componentAdmin=new Set(["componentAppender"]),K7.componentAppender=new Set(["componentReader"]),K7.componentReader=new Set,K7),mDb=vk(iPc,function(a){return jPc[a]}),Cr=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"}),L7={},kPc=(L7.componentAdmin=new Set(["componentAdmin","issueAdmin"]),L7.issueAdmin=new Set(["issueAdmin","componentAppender"]),L7.issueEditor=new Set(["issueEditor","componentAppender"]),L7.issueContributor=new Set(["issueAppender","componentAppender"]),L7.componentAdminOnly=new Set(["componentAdmin"]),
L7.issueCreator=new Set(["componentAppender"]),L7.issueAdminOnly=new Set(["issueAdmin"]),L7.issueEditorExisting=new Set(["issueEditor"]),L7.issueCommenter=new Set(["issueAppender"]),L7.restrictedPlusViewer=new Set(["issueRestrictedPlusReader"]),L7.restrictedViewer=new Set(["issueRestrictedReader"]),L7.issueViewer=new Set(["issueReader"]),L7),kDb=vk(Cr,function(a){return kPc[a]}),lPc=nDb(),jDb=vk(Cr,function(a){a=[].concat(r(kDb.get(a))).flatMap(function(b){return[].concat(r(lPc.get(b)))});return new Set(a)}),
lDb=vk(Cr,function(a){return new Set(Cr.filter(function(b){return b!==a&&Ata(jDb.get(b),jDb.get(a))}))});var qDb={componentAdmin:[],componentAdminOnly:[],issueAdminOnly:[],inheritedComponentAdmin:[],issueAdmin:[],editor:[],contributor:[],viewer:[],editExistingIssuesOnly:[],createIssuesOnly:[],commentOnly:[],viewRestricted:[],viewRestrictedPlus:[]},mPc={admins:[],editors:[],appenders:[],readers:[],restrictedReaders:[],restrictedPlusReaders:[],inheritedAdmins:[],implicitAccess:null};var M7=function(a,b,c,d,e,f,h){var k=this;this.accessPolicyApi=a;this.errorHandler=b;this.butterBar=c;this.userAccess=d;this.componentActions=e;this.componentValidator=f;this.analytics=h;this.isAdmin=!1;this.rolesMap=qDb;this.originalComponent=this.parentComponent=this.component=null;this.isUpdatingAccessLimit=this.isUpdatingAccessPolicy=this.isSaving=!1;this.implicitAccess={getValue:function(){return k.componentAccessPolicyUnderEdit?k.componentAccessPolicyUnderEdit.implicitAccess==="ALLOW":!1},getSavedValue:function(){return k.componentFlattenedAccessPolicy?
k.componentFlattenedAccessPolicy.implicitAccess==="ALLOW":!1},setValue:function(q){k.componentAccessPolicyUnderEdit&&(k.componentAccessPolicyUnderEdit=Object.assign({},k.componentAccessPolicyUnderEdit,{implicitAccess:q?"ALLOW":"DENY"}))},isUpdated:function(){var q;return k.componentAccessPolicyUnderEdit.implicitAccess!==((q=k.componentFlattenedAccessPolicy)==null?void 0:q.implicitAccess)}};this.componentReaders=[];this.issueDefaultFlattenedAccessPolicy=this.componentFlattenedAccessPolicy=mPc;this.componentAccessPolicyUnderEdit=
Ko();this.issueDefaultAccessPolicyUnderEdit=Ko();this.restrictedPlusReadersValidators={noRestrictedPlusGroups:function(q){a:{var t=k.issueDefaultFlattenedAccessPolicy;if(q&&t){t=t.restrictedPlusReaders;q=l(q);for(var w=q.next();!w.done;w=q.next())if(w=w.value,w.indexOf("GROUP:")===0&&t.indexOf(w)===-1){t=!1;break a}}t=!0}return t}}};M7.prototype.hasUnsavedAccessLimitChanges=function(){var a=this.originalComponent,b=this.component;return a&&b?a.accessLimit.accessLevel!==b.accessLimit.accessLevel:!1};
var nPc=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;Ap(a.butterBar,"Changed access level.")},function(b){a.component.accessLimit.accessLevel=a.originalComponent.accessLimit.accessLevel;
var c="Could not change access level. ";mn(b)&&(c+=nn(b));a.butterBar.showWarning(c)}).finally(function(){a.isUpdatingAccessLimit=!1;a.isSaving=a.isUpdatingAccessPolicy||a.isUpdatingAccessLimit})};M7.prototype.updateComponentAndOriginalComponent=function(a){this.component=qi(a);this.originalComponent=qi(a)};
M7.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)})};M7.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)})};
M7.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=Lo(c);b.componentAccessPolicyUnderEdit=qi(b.componentFlattenedAccessPolicy)}).catch(function(c){b.errorHandler.errorHandler(null,c)}),this.accessPolicyApi.get("ISSUE_DEFAULTS",this.componentId).then(function(c){b.issueDefaultFlattenedAccessPolicy=
Lo(c);b.issueDefaultAccessPolicyUnderEdit=qi(b.issueDefaultFlattenedAccessPolicy)}).catch(function(c){b.errorHandler.errorHandler(null,c)}),this.loadComponent(),this.loadUserAccess(this.componentId)]).then(function(){})};
var oPc=function(a){a.rolesMap=rDb({componentAccessPolicy:a.componentAccessPolicyUnderEdit,issueAccessPolicy:a.issueDefaultAccessPolicyUnderEdit})},pPc=function(a,b){var c=a.issueDefaultAccessPolicyUnderEdit,d=a.issueDefaultFlattenedAccessPolicy;return d&&tDb(d,c)?a.accessPolicyApi.update("ISSUE_DEFAULTS",a.componentId,b):Promise.resolve(void 0)},qPc=function(a){var b=sDb(a.componentAccessPolicyUnderEdit,a.componentFlattenedAccessPolicy);var c=a.issueDefaultAccessPolicyUnderEdit;a=a.issueDefaultFlattenedAccessPolicy;
c=!(!a||!tDb(a,c));return b||c},rPc=function(a,b){return sDb(a.componentAccessPolicyUnderEdit,a.componentFlattenedAccessPolicy)?a.accessPolicyApi.get("COMPONENT",a.componentId).then(function(c){var d=Lo(c);if(sDb(d,a.componentAccessPolicyUnderEdit)){if(sDb(d,a.componentFlattenedAccessPolicy))return Promise.reject(new K6b("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)};M7.prototype.loadUserAccess=function(a){var b=this;return oD(this.userAccess,"admin","components/"+String(a)).then(function(c){b.isAdmin=c;return b.isAdmin?Promise.resolve(!0):oD(b.userAccess,"writer","components/"+String(a))}).catch(function(c){b.errorHandler.errorHandler(null,c);return Promise.resolve(!1)})};
M7.prototype.doSaveAccessPolicy=function(){var a=this;try{var b=Mo(this.componentAccessPolicyUnderEdit);var c=Mo(this.issueDefaultAccessPolicyUnderEdit)}catch(d){return c="An unknown problem occurred",d instanceof Error&&(c=d.message),this.butterBar.showWarning(c),Promise.resolve()}if(qPc(this))return this.isSaving=this.isUpdatingAccessPolicy=!0,Ap(this.butterBar,"Saving access settings...",0),pPc(this,c).then(function(d){d&&(b.readers=[].concat(r(d.admins||[]),r(d.editors||[]),r(d.appenders||[]),
r(d.readers||[]),r(d.restrictedPlusReaders||[]),r(d.restrictedReaders||[])));return rPc(a,b).catch(function(e){var f;return fe(function(h){if(h.nextAddress==1)return f=Mo(a.issueDefaultFlattenedAccessPolicy),he(h,pPc(a,f),2);throw e;})})}).then(function(){return nPc(a)}).then(function(){return a.initialize()}).then(function(){var d=a.rolesMap;oPc(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=uDb({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=uDb(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")}Ap(a.butterBar,"Access settings saved",
0)}).catch(function(d){a.butterBar.showWarning(nn(d),0)}).finally(function(){return fe(function(d){if(d.nextAddress==1)return he(d,a.loadUserAccess(a.componentId),2);a.isUpdatingAccessPolicy=!1;a.isSaving=a.isUpdatingAccessPolicy||a.isUpdatingAccessLimit;le(d)})});oPc(this);return nPc(this)};
var sPc=function(a,b){b=oDb(b);a.issueDefaultAccessPolicyUnderEdit=Object.assign({},a.issueDefaultAccessPolicyUnderEdit,b.issuesPermissions);a.componentAccessPolicyUnderEdit=Object.assign({},a.componentAccessPolicyUnderEdit,b.componentPermissions)},GDb=function(a,b){a.component&&a.originalComponent&&a.componentFlattenedAccessPolicy&&a.componentAccessPolicyUnderEdit&&a.issueDefaultFlattenedAccessPolicy&&a.issueDefaultAccessPolicyUnderEdit?(sPc(a,b),gPc(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();Ap(a.butterBar,"Update failed: Invalid changes to component permissions",0);return Promise.resolve()})):Promise.resolve()};
ea.Object.defineProperties(M7.prototype,{componentAccessPolicyUnderEdit:{configurable:!0,enumerable:!0,set:function(a){pi(a,this.componentAccessPolicyUnderEditInternal)||(this.componentAccessPolicyUnderEditInternal=a,this.componentReaders=pDb({componentAccessPolicy:this.componentAccessPolicyUnderEdit,issueAccessPolicy:this.issueDefaultAccessPolicyUnderEdit}))},get:function(){return this.componentAccessPolicyUnderEditInternal}},issueDefaultAccessPolicyUnderEdit:{configurable:!0,enumerable:!0,set:function(a){pi(a,
this.issueDefaultAccessPolicyUnderEditInternal)||(this.issueDefaultAccessPolicyUnderEditInternal=a,this.componentReaders=pDb({componentAccessPolicy:this.componentAccessPolicyUnderEdit,issueAccessPolicy:this.issueDefaultAccessPolicyUnderEdit}))},get:function(){return this.issueDefaultAccessPolicyUnderEditInternal}}});M7.\u0275fac=function(a){return new (a||M7)(n(qC),n(uE),n(sE),n(mD),n(UU),n(I7),n(bG))};M7.\u0275prov=Hc({token:M7,factory:M7.\u0275fac});var N7=function(a,b,c){this.activeSession=a;this.documentationLinks=b;this.rolesEditor=c;this.AccessLevelStrings=E3b};N7.prototype.getRecentIssuesLink=function(){return ro(this.rolesEditor.component.componentId,{includeArchived:this.rolesEditor.component?this.rolesEditor.component.archived:!1})};N7.prototype.isParentPartner=function(){return!(!this.rolesEditor.parentComponent||!E4a(this.rolesEditor.parentComponent))};
N7.prototype.isParentPublic=function(){return!(!this.rolesEditor.parentComponent||!cq(this.rolesEditor.parentComponent))};N7.\u0275fac=function(a){return new (a||N7)(A(Ir),A(oI),A(M7))};
N7.\u0275cmp=p({type:N7,selectors:[["access-limit-settings"]],decls:6,vars:3,consts:[["class","component-banner",4,"ngIf"],[1,"component-banner","implicit-access-banner"],["aria-label","Learn more about access control","target","_blank",1,"keep-underline","keep-focus-ring",3,"href"],[1,"component-banner"],[1,"component-visibility-settings"],[1,"component-visibility-header"],[1,"access-level-panel"],[1,"access-level-field"],["type","radio","id","access-level-internal","name","accessLevelInternal",
"value","INTERNAL",3,"disabled","ngModel","ngModelChange",4,"ngIf"],["for","access-level-internal"],["type","radio","id","access-level-external-partner","name","accessLevelExternal","value","EXTERNAL_PARTNER",3,"disabled","ngModel","ngModelChange",4,"ngIf"],["for","access-level-external-partner"],[1,"access-level-field","bv2-edit-resource-readonly"],["type","radio","id","access-level-public","name","accessLevelPublic","value","EXTERNAL_PUBLIC",3,"disabled","ngModel","ngModelChange",4,"ngIf"],["for",
"access-level-public"],["class","access-level-warning",4,"ngIf"],["type","radio","id","access-level-internal","name","accessLevelInternal","value","INTERNAL",3,"ngModelChange","disabled","ngModel"],["type","radio","id","access-level-external-partner","name","accessLevelExternal","value","EXTERNAL_PARTNER",3,"ngModelChange","disabled","ngModel"],["type","radio","id","access-level-public","name","accessLevelPublic","value","EXTERNAL_PUBLIC",3,"ngModelChange","disabled","ngModel"],[1,"access-level-warning"],
["aria-label","Learn more about access level","target","_blank",1,"keep-underline","keep-focus-ring",3,"href"]],template:function(a,b){a&1&&(C(0,zDb,18,7,"div",0),F(1,"div",1)(2,"p"),R(3," Access to issues is granted per component using the settings below. All settings provide access to view the component. "),F(4,"a",2),R(5,"Learn more"),G()()());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=
bq(b.rolesEditor.parentComponent)||bq(b.rolesEditor.component);break a}}else{a=!1;break a}a=void 0}D("ngIf",a);z(4);Zf("href","",Do(b.documentationLinks),"#recommended-role-based-permissions-configurations",Qe)}},dependencies:[Gv,mh,By,qy,yy],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 O7=function(a,b){this.documentationLinks=a;this.rolesEditor=b};O7.prototype.isAccessEditDisabled=function(){return this.rolesEditor.isSaving||!this.rolesEditor.isAdmin};O7.prototype.setImplicitAccess=function(a){this.rolesEditor.implicitAccess.setValue(a)};O7.\u0275fac=function(a){return new (a||O7)(A(oI),A(M7))};
O7.\u0275cmp=p({type:O7,selectors:[["expanded-access-settings"]],decls:10,vars:6,consts:[[1,"expanded-access-settings"],[1,"permission-toggle-checkbox"],["ariaLabelledby","expanded-access-help permission-toggle-help",3,"change","checked","disabled"],[1,"permission-toggle-text"],["id","expanded-access-help",1,"edit-field-help"],["id","permission-toggle-help",1,"permission-toggle-help","edit-field-help"],["target","_blank","aria-label","Learn more about expanded access","aria-describedby","expanded-access-help",
1,"keep-underline","keep-focus-ring",3,"href"]],template:function(a,b){a&1&&(F(0,"div",0)(1,"span",1)(2,"mat-checkbox",2),M("change",function(c){return b.setImplicitAccess(c.checked)}),G()(),F(3,"div",3)(4,"strong",4),R(5,"Expanded access"),G(),F(6,"div",5),R(7," When checked, assignees, verifiers, and collaborators can edit issues for this component, and CC'd users can add comments. "),F(8,"a",6),R(9,"Learn more"),G()()()());a&2&&(Kf("bv2-edit-resource-readonly",b.isAccessEditDisabled()),z(2),D("checked",
b.rolesEditor.implicitAccess.getValue())("disabled",b.isAccessEditDisabled()),z(6),Zf("href","",Do(b.documentationLinks),"#expanded-access",Qe))},dependencies:[QH,RH],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 ADb=function(){return{}},CDb=function(a,b){return{displayText:a,values:b}},BDb=function(a){return[a]},DDb=function(){return[]},P7=function(){this.rolesTableData=[];this.canEdit=!1;this.rolesMapUpdated=new XF;this.formIsValid=new XF;this.aclFormValidity=new Map};P7.prototype.getIconName=function(a,b){return a.grantedPermissions[b]?"done":"issue-status-wont-fix"};P7.prototype.updateRolesMap=function(a,b){this.rolesMapUpdated.emit({role:a,assignees:b})};P7.\u0275fac=function(a){return new (a||P7)};
P7.\u0275cmp=p({type:P7,selectors:[["roles-view-table"]],inputs:{rolesTableData:"rolesTableData",displayedTableColumns:"displayedTableColumns",canEdit:"canEdit",accessLevel:"accessLevel"},outputs:{rolesMapUpdated:"rolesMapUpdated",formIsValid:"formIsValid"},decls:31,vars:1,consts:[["scope","col"],[4,"ngFor","ngForOf"],[1,"edit-field"],[1,"role-title"],[3,"htmlFor"],["mat-icon-button","",3,"matTooltip"],["svgIcon","help-outline"],[3,"usersChange","isValid","idForInputBox","users","ariaLabel","accessLevel",
"customValidators","includeAliases","includeViewAliases","containerChips"],["size","large",3,"name"]],template:function(a,b){a&1&&(F(0,"table")(1,"thead")(2,"tr")(3,"th",0),R(4,"Role Assignments"),G(),F(5,"th",0)(6,"h6"),R(7,"Admin Components"),G()(),F(8,"th",0)(9,"h6"),R(10,"Create Issues"),G()(),F(11,"th",0)(12,"h6"),R(13,"Admin Issues"),G()(),F(14,"th",0)(15,"h6"),R(16,"Edit Issues"),G()(),F(17,"th",0)(18,"h6"),R(19,"Comment on Issues"),G()(),F(20,"th",0)(21,"h6"),R(22,"View Issues"),G()(),F(23,
"th",0)(24,"h6"),R(25,"View Restricted"),G()(),F(26,"th",0)(27,"h6"),R(28,"View Restricted+"),G()()()(),F(29,"tbody"),C(30,EDb,26,29,"ng-container",1),G()());a&2&&(z(30),D("ngForOf",b.rolesTableData))},dependencies:[Fv,zB,ON,hN,oE,LH,OH],styles:["table[_ngcontent-%COMP%]{width:100%;font-size:.8125rem;font-family:Roboto,Arial,sans-serif}table[_ngcontent-%COMP%], thead[_ngcontent-%COMP%], tbody[_ngcontent-%COMP%]{display:flex;flex-direction:column}tr[_ngcontent-%COMP%]{display:flex}th[_ngcontent-%COMP%]:first-child{visibility:hidden;flex:0 0 40%}th[_ngcontent-%COMP%]:not(:first-child){width:20em;height:20px;text-align:center}th[_ngcontent-%COMP%]:not(:first-child)   h6[_ngcontent-%COMP%]{display:inline;font-size:.8125rem}td[_ngcontent-%COMP%]:first-child{min-width:250px;flex:0 0 40%}td[_ngcontent-%COMP%]:not(:first-child){display:flex;justify-content:center;width:20em;padding-top:16px}b-multi-user-input[_ngcontent-%COMP%]{display:flex;flex-direction:column}[_nghost-%COMP%]     td .edit-field{margin:14px 0 0}[_nghost-%COMP%]     td .edit-field .bv2-multi-user-input{width:auto;max-width:100%}[_nghost-%COMP%]     td .edit-field .bv2-multi-user-input input.bv2-multi-user-embedded-input{max-width:100%}[_nghost-%COMP%]     td .edit-field .bv2-multi-user-input .bv2-multi-user-errors{padding:9px}[_nghost-%COMP%]     td .edit-field .bv2-multi-user-input .bv2-user-chip{max-width:100%}[_nghost-%COMP%]     td .edit-field .bv2-multi-user-input .bv2-user-chip .mat-mdc-tooltip-trigger{display:flex}.role-title[_ngcontent-%COMP%]{display:flex;margin:5px 2px}.role-title[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{display:flex}[_nghost-%COMP%]     .mat-icon-button{margin:0 5px;width:inherit;height:inherit}[_nghost-%COMP%]     .mat-icon-button mat-icon{display:flex;height:16px;width:16px}[_nghost-%COMP%]     b-icon{width:2em;margin:30px 0px}/*# sourceMappingURL=roles_view_table.css.map */"]});var Q7=function(){this.rolesMap=qDb;this.isSaving=!1;this.saveRolesMap=new XF;this.rolesUnderEdit=qDb;this.formIsValid=!0;this.displayedTableColumns="role componentAdmin createIssues issueAdmin issueEditor issueCommenter issueReader restrictedReader restrictedPlusReader".split(" ");this.standardRolesTableData=[];this.advancedRolesTableData=[]},tPc=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},uPc=function(a){return a.advancedRolesTableData.some(function(b){return b.users.length>0})},vPc=function(a){a.rolesUnderEdit=Object.assign({},a.rolesMap)};g=Q7.prototype;g.ngOnInit=function(){vPc(this);tPc(this)};
g.ngOnChanges=function(a){a.rolesMap&&vPc(this);tPc(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()&&(!pi(this.rolesMap,this.rolesUnderEdit)||this.rolesEditor.implicitAccess.isUpdated()||this.hasUnsavedAccessLimitChanges())&&this.formIsValid};Q7.\u0275fac=function(a){return new (a||Q7)};
Q7.\u0275cmp=p({type:Q7,selectors:[["roles-view"]],inputs:{rolesMap:"rolesMap",isSaving:"isSaving",component:"component",rolesEditor:"rolesEditor"},outputs:{saveRolesMap:"saveRolesMap"},features:[td],decls:12,vars:11,consts:[[3,"rolesMapUpdated","formIsValid","rolesTableData","displayedTableColumns","canEdit","accessLevel"],["togglePosition","before",1,"mat-elevation-z0",3,"expanded"],["mat-raised-button","","aria-label","Update","color","primary",3,"click","disabled"],["mat-raised-button","","aria-label",
"Revert Changes",3,"click","disabled"]],template:function(a,b){a&1&&(H(0,"access-limit-settings"),F(1,"roles-view-table",0),M("rolesMapUpdated",function(c){return b.updateRolesMap(c)})("formIsValid",function(c){return b.formIsValid=c}),G(),F(2,"mat-expansion-panel",1)(3,"mat-expansion-panel-header")(4,"mat-panel-title"),R(5," Advanced Roles "),G()(),F(6,"roles-view-table",0),M("rolesMapUpdated",function(c){return b.updateRolesMap(c)})("formIsValid",function(c){return b.formIsValid=c}),G()(),H(7,"expanded-access-settings"),
F(8,"button",2),M("click",function(){b.canSave()&&b.saveRolesMap.emit(b.rolesUnderEdit)}),R(9,"Update"),G(),F(10,"button",3),M("click",function(){vPc(b);tPc(b)}),R(11," Revert Changes\n"),G());a&2&&(z(),D("rolesTableData",b.standardRolesTableData)("displayedTableColumns",b.displayedTableColumns)("canEdit",b.canEdit())("accessLevel",b.getComponentAccessLevel()),z(),D("expanded",uPc(b)),z(4),D("rolesTableData",b.advancedRolesTableData)("displayedTableColumns",b.displayedTableColumns)("canEdit",b.canEdit())("accessLevel",
b.getComponentAccessLevel()),z(2),D("disabled",!b.canSave()),z(2),D("disabled",!!pi(b.rolesMap,b.rolesUnderEdit)))},dependencies:[K4,L4,M4,oE,P7,N7,O7],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 R7=function(a,b){Z.call(this);this.rolesEditor=a;this.route=b;this.tabIndex=0;this.onTabChange=new XF;this.selectedTabIndex=this.tabIndex};X(R7,Z);R7.\u0275dir=Z.\u0275dir;R7.prototype.ngOnChanges=function(a){a.tabIndex&&(this.selectedTabIndex=a.tabIndex.currentValue)};R7.prototype.ngOnInit=function(){var a=this;this.selectedTabIndex=this.tabIndex;this.route.paramMap.pipe(y(function(b){return b.get("componentId")}),te(lj),pf(function(b){return a.rolesEditor.initialize(Number(b))}),qf(this.destroyed$)).subscribe(function(){oPc(a.rolesEditor)})};
R7.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)};R7.prototype.isSaving=function(){return this.rolesEditor.isSaving};R7.\u0275fac=function(a){return new (a||R7)(A(M7),A(ai))};
R7.\u0275cmp=p({type:R7,selectors:[["role-based-permissions"]],viewQuery:function(a,b){a&1&&fg(BM,5,Rd);if(a&2){var c;jg(c=kg())&&(b.tabs=c)}},inputs:{tabIndex:"tabIndex"},outputs:{onTabChange:"onTabChange"},features:[qg([M7,I7]),zf,td],decls:2,vars:2,consts:[["class","bv2-view-loading",4,"ngIf"],[4,"ngIf"],[1,"bv2-view-loading"],[1,"padded"],[3,"selectedIndexChange","selectedIndex"],["label","Edit Roles","id","access_roles"],[3,"saveRolesMap","rolesMap","isSaving","component","rolesEditor"],["label",
"View Permissions","id","access_permissions"],[3,"componentReaders","componentAccessPolicy","issueAccessPolicy","accessLevel"]],template:function(a,b){a&1&&C(0,FDb,2,0,"div",0)(1,HDb,7,9,"div",1);a&2&&(D("ngIf",!(b.rolesEditor.component==null?0:b.rolesEditor.component.componentId)),z(),D("ngIf",b.rolesEditor.component==null?null:b.rolesEditor.component.componentId))},dependencies:[Gv,HM,BM,CM,RQ,J7,Q7],styles:["/*# sourceMappingURL=role_based_permissions.css.map */"]});var wPc=["archiveDialog"],xPc=["archiveButton"],yPc=["metadataForm"],S7=function(a,b,c,d,e,f,h,k,q,t,w,B,E,I,J,N,P,U,ba,ma,na,ya,Pa,ia,qa){Z.call(this);var ua=this;this.cdr=a;this.routeParams=b;this.bLocation=c;this.templatesApi=d;this.paths=e;this.appHistory=f;this.butterBar=h;this.pageTitle=k;this.activeSession=q;this.documentationLinks=t;this.matDialogService=w;this.analytics=B;this.checkBeforeExit=E;this.userAccess=I;this.componentActions=J;this.errorHandler=N;this.componentUpdates=P;this.componentUpdatesApi=
U;this.confirmationDialogService=ba;this.appEvents=ma;this.teamsService=na;this.sloApi=ya;this.sloService=Pa;this.trackerHelpers=ia;this.tabsService=qa;this.componentId$=new W.ReplaySubject(1);this.componentListRoute=lGa;this.showSloInheritancePath=!1;this.component$=new W.BehaviorSubject(null);this.componentTrackerId$=this.component$.pipe(y(function(Oa){return Oa==null?void 0:Oa.trackerId}));this.showTrackerRedirect$=this.componentTrackerId$.pipe(y(function(Oa){var Ka;return ua.shouldShowTrackerRedirect((Ka=
ua.activeSession.getTracker())==null?void 0:Ka.trackerId,Oa)}));this.parentComponent$=new W.BehaviorSubject(null);this.componentTeam$=new W.BehaviorSubject(null);this.team$=this.componentTeam$.pipe(pf(function(Oa){return(Oa=Oa==null?void 0:Oa.id)&&Oa!=="0"?hH(ua.teamsService,Oa):(0,W.of)(null)}));this.parentComponentTeam$=this.parentComponent$.pipe(pf(function(Oa){var Ka;return(Oa=Oa==null?void 0:(Ka=Oa.team)==null?void 0:Ka.id)&&Oa!=="0"?hH(ua.teamsService,Oa):(0,W.of)(null)}));this.inheritedSloMetadata$=
(0,W.combineLatest)([this.component$,this.parentComponent$,this.team$]).pipe(y(function(Oa){var Ka=l(Oa);Oa=Ka.next().value;var Cb=Ka.next().value;Ka=Ka.next().value;if((Oa==null?0:Oa.team)&&!Oa.team.inherit&&Oa.team.id!=="0"){var Qb,Rb=(Qb=Ka==null?void 0:Ka.slo)!=null?Qb:null;if(Rb)return{containerType:"TEAM",content:Rb}}else if(Qb=(Rb=Cb==null?void 0:Cb.slo)!=null?Rb:null)return{containerType:"COMPONENT",content:Qb};return null}));this.inheritedSlo$=this.inheritedSloMetadata$.pipe(df(),pf(function(Oa){var Ka=
"0";Oa&&(Oa.containerType==="TEAM"?Ka=Oa.content.sloId:Oa.containerType==="COMPONENT"&&(Ka=Oa.content.id));return Ka==="0"?(0,W.of)({id:"0"}):ua.sloService.get(Ka).then(function(Cb){return{id:Ka,slo:Cb}})}));this.sloPolicySource$=this.inheritedSloMetadata$.pipe(df(),pf(function(Oa){if(!Oa)return(0,W.of)({name:"None",type:"none"});Oa=bFb(Oa);var Ka=Oa.sourceTeamId,Cb=Oa.sourceComponentId;return Ka&&Ka!=="0"?ua.teamsService.getTeam(Ka).pipe(y(function(Qb){var Rb;return{name:(Rb=Qb==null?void 0:Qb.name)!=
null?Rb:Ka,type:"team",link:{path:"/teams/"+Ka+"/edit",fragment:"slo"}}})):Cb?ua.componentActions.get(Number(Cb)).then(function(Qb){var Rb;return{name:(Rb=Qb.name)!=null?Rb:Cb,type:"component",link:{path:"/components/"+Cb+"/edit"}}}):(0,W.of)(null)}));this.policySourcePath$=(0,W.combineLatest)([this.component$,this.team$,this.parentComponentTeam$,this.inheritedSloMetadata$]).pipe(y(function(Oa){var Ka=l(Oa);Oa=Ka.next().value;var Cb=Ka.next().value;var Qb=Ka.next().value;Ka=Ka.next().value;if(!Oa||
!Oa.componentPathInfo||!Ka)return null;var Rb=bFb(Ka);Ka=Rb.sourceComponentId;Cb=dFb(Cb,Rb.sourceTeamId,Oa.team,Qb);return Ka===null?{componentPath:null,teamPath:Cb}:{componentPath:cFb(Oa,Ka),teamPath:Cb}}));this.enableSloLockingCheck=this.activeSession.getFlag("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=this.activeSession.getFlag("enableSloLockingUi");this.enableTeamLeadSloEditingUi=this.activeSession.getFlag("enableTeamLeadSloEditingUi");this.sloLocked$=this.componentId$.pipe(te(Boolean),
pf(function(Oa){return ua.sloApi.executor.get({url:"action/components/"+Oa+"/slo_edit_policy",responseConstructor:b9b}).pipe(y(VEa))}));this.getSloManagementLink=mGa};X(S7,Z);S7.\u0275dir=Z.\u0275dir;S7.prototype.shouldShowTrackerRedirect=function(a,b){return!!a&&a!==b};
S7.prototype.ngOnInit=function(){var a=this;this.componentId=vi(this.routeParams.componentId);this.componentId$.next(String(this.componentId));this.sessionIsExternal=this.activeSession.isExternalSession();this.sessionIsInternal=this.activeSession.isInternalSession();this.subscriptions.add(FQ(this.checkBeforeExit,function(){return a.hasUnsavedChanges()},!1));this.loadUserAccess(this.componentId);this.enableSloLockingCheck&&zPc(this);this.componentHistoryUiEnabled=this.activeSession.isInternalSession();
APc(this);this.subscriptions.add(this.appEvents.customFieldsModified.subscribe(function(b){a.effectiveCustomFields=BPc(b)}));this.hasInitialized=!0;this.tabsService.componentReady$.next()};var APc=function(a){a=[CPc(a,a.componentId),a.loadComponent(a.componentId),a.loadTemplates(a.componentId)];return Promise.all(a).then(function(){})};S7.prototype.isAdmin=function(){return this.isAdminInternal};var Er=function(a){return a.enableSloLockingCheck?a.isComponentSloEditor:a.isAdmin()};g=S7.prototype;
g.isSaving=function(){return this.isUpdating||this.isArchiving};g.isArchived=function(){return this.component?this.component.archived:!1};g.isPublic=function(){return cq(this.component)};g.isExternal=function(){return bq(this.component)};g.isParentPublic=function(){return!(!this.parentComponent||!cq(this.parentComponent))};g.isParentPartner=function(){return!(!this.parentComponent||!E4a(this.parentComponent))};
var rEb=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};S7.prototype.hasUnsavedMetadataChanges=function(){return!(pi(this.component,this.originalComponent)&&pi(this.parentComponent,this.originalParentComponent))};S7.prototype.hasUnsavedChanges=function(){return this.hasUnsavedMetadataChanges()};
var DPc=function(a){var b=Wm();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:wh("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},EPc=function(a){var b=Wm();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:yh([wh('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.'),zh("br",{}),zh("br",{}),wh('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.'),
zh("br",{}),zh("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};S7.prototype.saveMetadata=function(){var a=this;return FPc(this)?EPc(this).then(function(b){return b?DPc(a):Promise.resolve(!1)}).then(function(b){b&&a.doSaveMetadata().then(function(){return APc(a)})}):Promise.resolve()};
S7.prototype.doSaveMetadata=function(){var a=this;this.isUpdating=!0;Ap(this.butterBar,"Saving changes ...",0);return GPc(this).then(function(){a.parentComponent&&(a.component.parentComponentId=a.parentComponent.componentId)}).then(function(){return HPc(a)}).then(function(){return IPc(a)}).then(function(){return JPc(a)}).then(function(){Ap(a.butterBar,"Save complete.")}).catch(function(b){a.errorHandler.errorHandler(null,b)}).finally(function(){a.componentUpdatesApi.invalidateCache(a.componentId);
a.isUpdating=!1})};
var GPc=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)},HPc=function(a){return a.component.slo&&!pi(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)},IPc=function(a){return a.component.team&&!pi(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)},JPc=function(a){return KPc(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)},KPc=function(a){var b=qi(a.component);b.team=a.originalComponent.team;b.slo=a.originalComponent.slo;b.parentComponentId=a.originalComponent.parentComponentId;return!pi(a.originalComponent,b)},FPc=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};S7.prototype.getComponentAccessLevel=function(){if(this.component&&this.component.accessLimit)return this.component.accessLimit.accessLevel};var CPc=function(a,b){return a.componentActions.getChildren(b).then(function(c){a.childComponents=c}).catch(function(c){a.errorHandler.errorHandler(null,c)})};
S7.prototype.revertMetadataChanges=function(){this.updateComponentAndOriginalComponent(this.originalComponent);this.error="";this.parentComponent=qi(this.originalParentComponent);this.parentComponent$.next(this.parentComponent);this.commentEditsEnabled=this.component.commentEditState=="ENABLED"};
var KEb=function(a){a.componentActions.getUncached(a.componentId).then(function(b){a.effectiveCustomFields=BPc(b.componentPathInfo.allCustomField)})},BPc=function(a){return a?a.filter(function(b){return b.enabledOnIssues}):[]};
S7.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=BPc(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()})};S7.prototype.loadUserAccess=function(a){var b=this,c=Hk("COMPONENT",a);oD(this.userAccess,"admin",c).then(function(d){b.isAdminInternal=d;return b.isAdminInternal?!0:oD(b.userAccess,"writer",c)}).then(function(d){b.isEditorInternal=d}).catch(function(d){b.errorHandler.errorHandler(null,d)})};
var zPc=function(a){oD(a.userAccess,"writer",Hk("COMPONENT_SLO",a.componentId)).then(function(b){a.isComponentSloEditor=b})},TDb=function(a){var b,c=mr(a.trackerHelpers,(b=a.parentComponent)==null?void 0:b.componentPathInfo);return kp(a.activeSession)&&(!c||!c.componentPathId||c.componentPathId.length===0)},Fr=function(a){return a.isSaving()||!a.isEditorInternal};g=S7.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=qi(c);return c}).catch(function(c){b.errorHandler.errorHandler(null,c)})};g.getRecentIssuesLink=function(){var a=this.isArchived();return ro(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(zo.createComponent.makeHref(this.component.componentId))};g.trackClick=function(a){this.analytics.trackEvent("editComponent","click",a)};
var IDb=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,Ap(a.butterBar,"Looking up subcomponents...",0),a.componentActions.getDescendants(a.component.componentId).then(function(b){a.butterBar.dismiss();a.descendants=b;qI(a.matDialogService.open(a.confirmArchiveDialog,{restoreFocus:!1})).pipe(qf(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.")};
S7.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 Gm(a);case "UNSPECIFIED_RETENTION":return"Retention period unspecified";default:Dc(b,"unexpected value "+b+"!")}};
S7.prototype.archive=function(){var a=this;this.isArchiving=!0;Ap(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);Ap(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;Ap(a.butterBar,"Could not "+a.archiveAction.toLowerCase()+" component: "+(mn(b)?nn(b):b));a.isArchiving=!1})};
S7.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)})};
S7.prototype.setCommentEditState=function(a){this.commentEditsEnabled=a;this.component.commentEditState=this.commentEditsEnabled?"ENABLED":"DISABLED"};
var LPc=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=x0a(d.addMask.paths),h=x0a(d.removeMask.paths),k={author:d.author||null,timestamp:d.timestamp||null,diffs:[]},q=d.add;d=d.remove;for(var t=l(new Set([].concat(r(f),r(h)))),w=t.next();!w.done;w=t.next()){var B=w.value;if(w=buc.get(B))if(B==="name"){var E=Pp(h,B,d.name);B=Pp(f,B,q.name);k.diffs.push(Qp(w,E,B))}else if(B==="description")E=
Pp(h,B,d.description),B=Pp(f,B,q.description),k.diffs.push(Qp(w,E,B));else if(B==="parentComponentId")E=Pp(h,B,String(d.parentComponentId)),B=Pp(f,B,String(q.parentComponentId)),k.diffs.push(Qp(w,E,B));else if(B==="isArchived")E=Pp(h,B,String(d.archived)),B=Pp(f,B,String(q.archived)),k.diffs.push(Qp(w,E,B));else if(B==="commentEditState"){var I=cuc.get(d.commentEditState);E=cuc.get(q.commentEditState);I&&E&&(I=Pp(h,B,I),B=Pp(f,B,E),k.diffs.push(Qp(w,I,B)))}else B==="defaultTemplateId"?(E=Pp(h,B,String(d.defaultTemplateId)),
B=Pp(f,B,String(q.defaultTemplateId)),k.diffs.push(Qp(w,E,B))):B==="slo"?e.sessionIsInternal&&(E=Pp(h,B,D0a(d.slo)),B=Pp(f,B,D0a(q.slo)),k.diffs.push(Qp(w,E,B))):B==="team"?e.sessionIsInternal&&(E=Pp(h,B,E0a(d.team)),B=Pp(f,B,E0a(q.team)),k.diffs.push(Qp(w,E,B))):B==="retentionSettings"?(E=Pp(h,B,B0a(d.retentionSettings)),B=Pp(f,B,B0a(q.retentionSettings)),k.diffs.push(Qp(w,E,B))):e.$log.error("Unsupported diff field "+B)}return k}).filter(function(d){return d.diffs.length})}).catch(function(c){a.errorHandler.errorHandler(null,
c)}):Promise.reject(Error())};S7.prototype.showUpdateHistoryModal=function(){var a=this;LPc(this,this.componentId).then(function(){a.matDialogService.open(E3,{width:"600px",data:{updateDiffs:a.updateDiffs}});a.analytics.trackEvent("updateHistoryModal","open");a.analytics.trackEvent("component","viewHistory")})};S7.prototype.onSloChange=function(a){this.component.slo.id=a?a.sloId:"0";a&&MPc(this)};
var nEb=function(a){var b=!!a.parentComponent,c=a.component.team.id!=="0";return Er(a)&&(c||b)},tEb=function(a){var b=!a.component.team||a.component.team.id==="0",c=!a.parentComponent;return Er(a)&&(!a.component.slo.inherit||c&&b)},XDb=function(a){var b,c,d,e;fe(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?he(f,(0,W.firstValueFrom)(a.team$.pipe(y(function(h){a.component.slo.id=
h.slo.sloId;MPc(a)}))),0):(d=NPc(a),e=d.id,a.component.slo.id=e,MPc(a),f.jumpTo(0))})},sEb=function(a){var b=a.parentComponent||a.isParentComponentRequired;return a.component.team.id!=="0"||b?!0:!1},NPc=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}},EEb=function(a,b){Ap(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;Ap(a.butterBar,((f=a.component.effortSpec)==null?void 0:f.name)+" saved")}else Ap(a.butterBar,"Estimated Effort saved")}).catch(function(c){a.errorHandler.errorHandler(null,c)}))};
S7.prototype.updateComponentAndOriginalComponent=function(a){this.component=qi(a);this.component$.next(this.component);this.originalComponent=qi(a);var b;this.componentTeam$.next((b=this.component.team)!=null?b:null);MPc(this)};S7.prototype.back=function(){M1(this.appHistory)};var MPc=function(a){var b;((b=a.component)==null?0:b.slo)?a.isEnableSloChecked=a.component.slo.id!=="0":a.isEnableSloChecked=!1};
S7.\u0275fac=function(a){return new (a||S7)(A(YF,2),A(iJ),A(oN),A(HC),A(pN),A(L1),A(sE),A(cU),A(Ir),A(oI),A(wI),A(bG),A(EQ),A(mD),A(UU),A(uE),A(bW),A(C7),A(EI),A(yE),A(gH),A(ZG),A($G),A(kQ),A(F7))};
S7.\u0275cmp=p({type:S7,selectors:[["manage-component-page"]],viewQuery:function(a,b){a&1&&(fg(wPc,5),fg(xPc,5),fg(yPc,5));if(a&2){var c;jg(c=kg())&&(b.confirmArchiveDialog=c.first);jg(c=kg())&&(b.archiveButton=c.first);jg(c=kg())&&(b.metadataForm=c.first)}},features:[qg([YF]),zf],decls:4,vars:4,consts:[["showTrackerRedirect",""],["archiveDialog",""],["archiveButton",""],["basic",""],["customFields",""],["fieldOrdering",""],["templatesList",""],["access",""],["metadataForm",""],["noInheritedSlo",
""],["noPolicySource",""],["unlocked",""],[4,"ngIf","ngIfElse"],[1,"kd-appbar"],[1,"kd-buttonbar"],[1,"bv2-appbar-left"],["format","icon","size","large","tooltip","Go back","ariaLabel","Go back",3,"onAction"],["name","arrow-backward","size","large"],[4,"ngIf"],["cdkScrollable","",1,"bv2-view"],["class","bv2-view-loading",4,"ngIf"],["mat-button","",1,"gmat-button",3,"routerLinkObj"],["format","flat",3,"disabled","onAction",4,"ngIf"],["format","flat",3,"tooltip","disabled","onAction",4,"ngIf"],["format",
"flat",3,"onAction","disabled"],["format","flat",3,"onAction","tooltip","disabled"],[1,"bv2-view-loading"],[1,"edit-resource-header"],["class","resource-archived",4,"ngIf"],[1,"keep-focus-ring","margin-s-right",3,"click","routerLinkObj"],[3,"accessLevel"],[3,"trackerId"],[1,"component-hierarchy-container"],["componentPathsLinkTo","settings",3,"componentPathInfo","isArchived","label"],[1,"float-clear"],["gmat-tabs","",1,"bv2-tab-bar",3,"selectedIndexChange","selectedIndex"],["label","Basic Information",
3,"id"],[4,"ngTemplateOutlet"],[3,"id","label"],["label","Field Ordering",3,"id"],["label","Templates",3,"id"],["label","Access Control",3,"id"],[1,"resource-archived"],[1,"edit-resource-panel"],["name","metadataForm"],[3,"error"],["aria-label","Name",1,"edit-field"],["for","component-name",1,"required"],[1,"edit-field-header"],["type","text","name","name","required","","id","component-name",3,"ngModelChange","ngModel","disabled"],["aria-label","Description",1,"edit-field"],["tabindex","0",1,"field-label-with-help",
"keep-focus-ring"],["aria-describedby","component-description-bubble","for","component-description",1,"help-label"],[1,"help-container"],["id","component-description-bubble",1,"help-bubble","jfk-bubble"],[1,"jfk-bubble-arrow","jfk-bubble-arrowleft"],[1,"jfk-bubble-arrowimplbefore"],[1,"jfk-bubble-arrowimplafter"],["name","description","aria-describedby","component-description-bubble","id","component-description",3,"ngModelChange","ngModel","disabled"],["class","edit-field","tabindex","0","aria-label",
"Parent component",4,"ngIf"],["role","region","aria-label","Editable Comments",1,"edit-field","permission-toggle"],[1,"permission-toggle-checkbox"],["ariaLabelledby","editable-comments-label permission-toggle-help",3,"change","checked","disabled"],["id","editable-comments-label",1,"edit-field-help"],["id","permission-toggle-help",1,"permission-toggle-help","edit-field-help"],["target","_blank","aria-label","Learn more about editable comments","class","keep-underline keep-focus-ring",3,"href",4,"ngIf"],
["class","edit-field","role","region","aria-label","Retention Settings",3,"bv2-edit-resource-readonly",4,"ngIf"],["class","edit-field","role","region","tabindex","0","aria-label","Team Configuration",3,"bv2-edit-resource-readonly",4,"ngIf"],["class","edit-field","role","region","tabindex","0","aria-label","SLO Configuration",3,"bv2-edit-resource-readonly",4,"ngIf"],["aria-label","Component alias",1,"edit-field","bv2-edit-resource-readonly"],["aria-describedby","edit-alias-help-bubble",1,"help-label"],
["id","edit-alias-help-bubble",1,"help-bubble","jfk-bubble"],["aria-label","Learn more about component alias","target","_blank",1,"keep-underline","keep-focus-ring",3,"href"],[3,"href"],["class","spam-protection-enable","name","spam-protection-enable","labelPosition","before",3,"checked","disabled","change",4,"ngIf"],[1,"edit-button-row"],["class","edit-button-group",4,"ngIf"],[1,"edit-button-group"],["format","hairline","title","View history for 'Basic Information'",3,"onAction",4,"ngIf"],[1,"edit-field",
"bv2-edit-resource-readonly"],[3,"children","onVisit",4,"ngIf"],["tabindex","0","aria-label","Parent component",1,"edit-field"],["aria-describedby","edit-parent-help-bubble","for","component-parent-id",1,"help-label"],["id","edit-parent-help-bubble",1,"help-bubble","jfk-bubble"],["id","component-parent-id",3,"selectedComponentChange","selectedComponent","placeholder","isRequired"],["target","_blank","aria-label","Learn more about editable comments",1,"keep-underline","keep-focus-ring",3,"href"],["role",
"region","aria-label","Retention Settings",1,"edit-field"],["for","retention-settings",1,"required"],[1,"edit-field-help"],["target","_blank","aria-label","Learn more about choosing a period of time to retain the data stored in this component.",1,"keep-underline","keep-focus-ring",3,"href"],["id","retention-settings"],[3,"modelChange","validChange","issueRetentionDisabled","isExternal","componentPathInfo","componentId","initialModel"],["role","region","tabindex","0","aria-label","Team Configuration",
1,"edit-field"],["for","team-picker"],["id","team-picker",4,"ngIf"],["id","team-picker"],[3,"modelChange","isAdmin","isTopLevel","parentModel","useInternalLink","anchorTarget","model"],["role","region","tabindex","0","aria-label","SLO Configuration",1,"edit-field"],["aria-describedby","edit-slo-help-bubble",1,"help-label"],["id","edit-slo-help-bubble",1,"help-bubble","jfk-bubble"],[1,"metadata","muted"],["class","slo-policy-link",4,"ngIf"],["class","slo-policy-source-link",4,"ngIf"],["class","slo-admins-link",
4,"ngIf"],[1,"lock-state"],["class","edit-field less-margin",4,"ngIf"],[1,"slo-policy-link"],[3,"routerLinkObj",4,"ngIf","ngIfElse"],[3,"routerLinkObj"],[1,"slo-policy-source-link"],["class","keep-focus-ring slo-inheritance-link",3,"routerLinkObj",4,"ngIf","ngIfElse"],["mat-stroked-button","","type","button","aria-label","Display the full SLO inheritance path below",1,"gmat-button","slo-inheritance-path","small",3,"click"],[1,"keep-focus-ring","slo-inheritance-link",3,"routerLinkObj"],["class","slo-breadcrumbs",
4,"ngIf"],[1,"slo-breadcrumbs"],[3,"componentPath","teamPath"],[1,"slo-admins-link"],["target","_blank",1,"keep-focus-ring",3,"routerLinkObj"],["svgIcon","lock-outline"],["svgIcon","lock-open"],[1,"edit-field","less-margin"],["gmat-checkbox","",1,"slo-override",3,"change","checked","disabled"],["class","edit-field component-slo-justification-text",4,"ngIf"],["name","slo-enable","labelPosition","before",1,"slo-enable",3,"ngModelChange","change","ngModel","disabled"],[1,"edit-field","component-slo-id-select"],
["for","component-slo-id"],["id","component-slo-id","aria-describedby","edit-slo-help-bubble","tabindex","-1",1,"bv2-slo-picker","bv2-picker",3,"onSloSelect","bv2Disabled","boundId","bv2Placeholder"],["mat-icon-button","","class","gmat-button small","aria-label","Go to SLO management page","matTooltip","Go to SLO management page.",3,"routerLinkObj","target",4,"ngIf"],[1,"edit-field","component-slo-justification-text"],["for","component-slo-justification","id","component-settings-slo-justification-label",
1,"required"],["svgIcon","help-outline","tabindex","0","aria-hidden","false","matTooltip","Justification is required to override the org SLO.","aria-label","Justification is required to override the org SLO.",1,"slo-info","icon-s","valign-middle"],["name","comment","aria-labelledby","component-settings-slo-justification-label","required","",3,"ngModelChange","ngModel","disabled"],["mat-icon-button","","aria-label","Go to SLO management page","matTooltip","Go to SLO management page.",1,"gmat-button",
"small",3,"routerLinkObj","target"],["svgIcon","pop-out",1,"icon-s"],["name","spam-protection-enable","labelPosition","before",1,"spam-protection-enable",3,"change","checked","disabled"],["format","fill",3,"onAction","disabled"],["format","hairline",3,"onAction","disabled"],["format","hairline","title","View history for 'Basic Information'",3,"onAction"],[3,"onVisit","children"],["class","heading-m padded-x margin-top","aria-label","Standard Fields",4,"ngIf"],[3,"effortSpec","parentEffortSpec","disabled",
"updateComponent",4,"ngIf"],["class","heading-m padded-x margin-top","aria-label","Custom Fields",4,"ngIf"],[3,"editMode","isSaving","component","parentComponent"],["aria-label","Standard Fields",1,"heading-m","padded-x","margin-top"],[3,"updateComponent","effortSpec","parentEffortSpec","disabled"],["aria-label","Custom Fields",1,"heading-m","padded-x","margin-top"],[1,"component-banner","implicit-access-banner"],["aria-label","Learn more about field ordering","class","keep-underline keep-focus-ring",
"target","_blank",3,"href",4,"ngIf"],[3,"onReload","fields","componentId","fieldOrdering","isAdmin"],["aria-label","Learn more about field ordering","target","_blank",1,"keep-underline","keep-focus-ring",3,"href"],[3,"componentId","supportCustomFields",4,"ngIf"],[3,"componentId","supportCustomFields"],["class","component-field",4,"ngFor","ngForOf"],[1,"component-field"],[3,"onTabChange","tabIndex"],["mat-dialog-title",""],[1,"b-archive-component-list"],["mat-flat-button","","mat-dialog-close","",
"aria-label","Click to archive the component","color","primary",3,"click"],["mat-button","","mat-dialog-close","","aria-label","Click to close the dialog without archiving the component",3,"click"],["aria-label","Learn more about archiving components","target","_blank",1,"keep-underline","keep-focus-ring",3,"href"],["aria-label","Learn more about buganizer retention","target","_blank",1,"keep-underline","keep-focus-ring",3,"href"],["aria-label","Learn more on how to recursively unarchive subcomponents",
"target","_blank",1,"keep-underline","keep-focus-ring",3,"href"],[4,"ngFor","ngForOf"],[1,"bv2-limited-issue-view"],[3,"component"]],template:function(a,b){a&1&&(C(0,$Eb,12,3,"ng-container",12),T(1,"async"),C(2,aFb,2,1,"ng-template",null,0,yg));a&2&&(a=Q(3),D("ngIf",!V(1,2,b.showTrackerRedirect$))("ngIfElse",a))},dependencies:[jQ,Fv,Gv,Kv,zB,wB,yN,wW,fW,W2,MJc,f3,FY,j0,l3,zy,mh,qy,ry,Iy,yy,wy,hN,IH,Sx,Rx,Ux,QH,RH,xI,zI,BI,AI,fx,HW,IW,HM,BM,CM,LH,OH,s1,R7,D7,q1,RQ,bV,nQ,C5,Lv,Nv],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-button[_ngcontent-%COMP%]:focus, .mat-button[_ngcontent-%COMP%]:focus-visible, .mat-button[_ngcontent-%COMP%]:focus-within, .mat-flat-button.mat-primary[_ngcontent-%COMP%]:focus, .mat-flat-button.mat-primary[_ngcontent-%COMP%]:focus-visible, .mat-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-button.mat-button:not([disabled]):focus .mat-button-focus-overlay,   .gmat-button.mat-button:not([disabled]):focus-visible .mat-button-focus-overlay,   .gmat-button.mat-button:not([disabled]):focus-within .mat-button-focus-overlay,   .gmat-button.mat-stroked-button:not([disabled]):focus .mat-button-focus-overlay,   .gmat-button.mat-stroked-button:not([disabled]):focus-visible .mat-button-focus-overlay,   .gmat-button.mat-stroked-button:not([disabled]):focus-within .mat-button-focus-overlay{opacity:.06}\n/*# sourceMappingURL=manage_component.css.map */"]});var HFb=function(a){return{value:a}},IFb=function(a){return[a]},JFb=function(){return[]},OPc={BASIC:"basic",SLO:"slo",MAPPINGS:"componentMapping"},T7=function(a,b,c,d,e,f,h,k,q,t,w,B,E,I){Z.call(this);var J=this;this.activeSession=a;this.accessPolicyApi=b;this.appHistory=c;this.butterBar=d;this.checkBeforeExit=e;this.componentActions=f;this.errorHandler=h;this.location=k;this.pageTitle=q;this.routeParams=t;this.teamsService=w;this.userAccess=B;this.sloApi=E;this.sloService=I;this.originalSloLock=
!1;this.canEditSloLock=!0;this.sloJustification$=new W.BehaviorSubject("");this.error="";this.justificationRequiredText="Justification is required to override the org SLO.";this.selectedTabIndex=0;this.teamId=this.routeParams.teamId;this.team$=new W.ReplaySubject(1);this.teamSlo$=this.team$.pipe(y(function(P){return P.slo}));this.isSloLeadValid=!1;this.sloLeadEmail$=new W.BehaviorSubject("");this.sloLead$=new W.BehaviorSubject("");this.sloLeadUserValidators={sloLeadNotUser:function(P){if(P){P=l(P);
for(var U=P.next();!U.done;U=P.next())if(U.value.indexOf("USER:")!==0)return!1}return!0}};this.sloLeadGooglerValidators={sloLeadNotGoogler:function(P){if(P){P=l(P);for(var U=P.next();!U.done;U=P.next())if(U.value.indexOf("UNRESTRICTED_GOOGLER:")!==0)return!1}return!0}};this.teamAdmins$=(0,W.from)(this.accessPolicyApi.get("TEAM",this.teamId)).pipe(y(function(P){return P.admins.filter(Rta).map(Eo)}));this.teamLeads$=this.team$.pipe(y(function(P){return P.members.filter(function(U){return U.isLead}).map(function(U){var ba,
ma;return"USER:"+((ma=(ba=U.user)==null?void 0:ba.emailAddress)!=null?ma:"")})}));this.adminsAndLeads$=(0,W.combineLatest)([this.teamAdmins$,this.teamLeads$]).pipe(y(function(P){var U=l(P);P=U.next().value;U=U.next().value;var ba=new Set(P);U=U.filter(function(ma){return!ba.has(ma)});return[].concat(r(P),r(U))}));this.associatedComponents$=(0,W.from)(this.componentActions.search("directteamid:"+this.teamId));this.teamPath$=this.team$.pipe(y(function(P){var U=P.pathNames;return P.pathIds.map(function(ba,
ma){return{id:ba,name:U[ma]}})}));this.isRootTeam$=this.teamPath$.pipe(y(function(P){return P.length<=1?!0:!1}));this.parentTeam$=(0,W.combineLatest)([this.isRootTeam$,this.teamPath$]).pipe(pf(function(P){var U=l(P);P=U.next().value;U=U.next().value;return P?(0,W.of)(null):J.teamsService.getTeam(U[U.length-2].id)}));this.parentTeam=null;this.inheritedSlo$=this.parentTeam$.pipe(pf(function(P){var U=P==null?void 0:P.slo.sloId;return U&&U!=="0"?J.sloService.get(U).then(function(ba){return{id:U,link:mGa(U),
slo:ba}}):(0,W.of)({id:"0"})}));this.sloPolicySource$=(0,W.combineLatest)([this.parentTeam$,this.teamPath$]).pipe(y(function(P){var U=l(P);P=U.next().value;U=U.next().value;var ba=P==null?void 0:P.slo.sourceTeamId;P=U.find(function(ma){return ma.id===ba});return ba&&P?{name:P.name,link:{path:"/teams/"+ba+"/edit",fragment:"slo"}}:null}));this.Tab=OPc;this.enableSloLockingUi=this.activeSession.getFlag("enableSloLockingUi");this.isSloInheritEnabled$=new W.BehaviorSubject(!0);this.sloId$=new W.BehaviorSubject("0");
this.enableSloCheckedInternal=!1;this.sloLocked$=new W.BehaviorSubject(!1);this.hasSloReadAccess$=this.sloId$.pipe(pf(function(P){return oD(J.userAccess,"reader","slos/"+P)}),of(!1));this.sloPickerLink$=(0,W.combineLatest)([this.sloId$,this.hasSloReadAccess$]).pipe(y(function(P){var U=l(P);P=U.next().value;U=U.next().value;return P&&Number(P)>0&&U?mGa(P):null}));this.hasUnsavedChanges$=(0,W.combineLatest)([this.team$,this.sloId$,this.isSloInheritEnabled$,this.sloLocked$,this.sloJustification$,this.sloLeadEmail$]).pipe(y(function(P){var U=
l(P);var ba=U.next().value;P=U.next().value;var ma=U.next().value;var na=U.next().value;var ya=U.next().value;U=U.next().value;var Pa=ba.slo,ia,qa;ba=(qa=(ia=ba.sloLead)==null?void 0:ia.emailAddress)!=null?qa:"";return Pa.inherit!==ma||Pa.sloId!==P||na!==J.originalSloLock||Pa.comment!==ya||ba!==U}));this.hasEditAccess=!1;this.team$.pipe(qf(this.destroyed$)).subscribe(function(P){J.pageTitle.setTitle("Team: "+P.name)});a=this.activeSession.getFlag("enableSloLockingCheck")?"teams/"+this.teamId+"/slo":
"teams/"+this.teamId;oD(this.userAccess,"writer",a).then(function(P){J.hasEditAccess=P});this.childTeams$=this.teamsService.getChildTeams([this.teamId]).pipe(y(function(P){return P.values().next().value}));this.sloLock$=this.sloApi.executor.get({url:"action/teams/"+this.teamId+"/slo_edit_policy",responseConstructor:WG}).pipe(y(TEa));var N=eo(this.hasUnsavedChanges$.pipe(qf(this.destroyed$)),!1);this.subscriptions.add(FQ(this.checkBeforeExit,function(){return N.getValue()},!1))};X(T7,Z);
T7.\u0275dir=Z.\u0275dir;
T7.prototype.ngOnInit=function(){var a=this,b,c;return fe(function(d){switch(d.nextAddress){case 1:return b=a.location.hash(),b==="basic"?a.selectedTabIndex=0:b==="slo"?a.selectedTabIndex=1:b==="componentMapping"&&(a.selectedTabIndex=2),ge(d,2),he(d,(0,W.firstValueFrom)(a.teamsService.get(a.teamId)),4);case 4:c=d.yieldResult;Ft(d,3);break;case 2:return ke(d),a.butterBar.showWarning("Unable to fetch team ID '"+a.teamId+"'"),d.return();case 3:return a.team$.next(c),BFb(a),he(d,(0,W.firstValueFrom)(a.parentTeam$),
5);case 5:a.parentTeam=d.yieldResult||null,le(d)}})};T7.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)};T7.prototype.onSloChange=function(a){a&&(this.sloId=a.sloId)};
var AFb=function(a,b){var c,d,e,f,h,k;return fe(function(q){switch(q.nextAddress){case 1:if(!a.validate())return q.return();Ap(a.butterBar,"Saving changes...",0);ge(q,2);if(((c=b.sloLead)==null?void 0:c.emailAddress)===a.sloLeadEmail){q.jumpTo(4);break}return he(q,(0,W.firstValueFrom)(a.teamsService.updateTeam(Object.assign({},b,{sloLead:{emailAddress:a.sloLeadEmail}}))),5);case 5:d=q.yieldResult,a.team$.next(d);case 4:if(a.sloLocked===a.originalSloLock){q.jumpTo(6);break}var t=W.firstValueFrom;var w=
a.sloApi;var B=a.teamId,E=a.sloLocked,I=new UG;E=dj(I,2,E?1:2).setTeamId(Number(B));w=w.executor.post({url:"action/teams/"+B+"/slo_edit_policy",responseConstructor:YG,body:E}).pipe(y(TEa));return he(q,t.call(W,w),7);case 7:e=q.yieldResult,a.originalSloLock=e;case 6:f=b.slo;if(f.inherit===a.isSloInheritEnabled&&f.sloId===a.sloId&&a.originalSloLock===a.sloLocked&&f.comment===a.sloJustification){q.jumpTo(8);break}t=W.firstValueFrom;E={sloId:a.sloId,inherit:a.isSloInheritEnabled,comment:a.isSloInheritEnabled?
"":a.sloJustification$.getValue(),sourceTeamId:"0"};w=a.teamsService;B=a.teamId;E=(new fH).setIt(axa(E));w=w.executor.post({url:"/action/teams/"+B+"/update_slo",body:E,responseConstructor:bH}).pipe(y(co));return he(q,t.call(W,w),9);case 9:h=q.yieldResult,a.team$.next(h);case 8:Ap(a.butterBar,"Save complete.");Ft(q,0);break;case 2:k=ke(q),wE(a.errorHandler,k),le(q)}})};
T7.prototype.validate=function(){if(!this.isSloInheritEnabled&&this.sloJustification$.getValue()==="")return this.error="Justification is required",!1;if(!this.isSloLeadValid)return this.error="Please provide a valid SLO lead",!1;this.error="";return!0};
var PPc=function(a){(0,W.firstValueFrom)(a.team$).then(function(b){var c;b=(c=b.sloLead)==null?void 0:c.emailAddress;a.sloLead=b?"USER:"+b:""})},QPc=function(a){(0,W.firstValueFrom)(a.teamSlo$).then(function(b){a.sloId=b.sloId;a.isSloInheritEnabled=b.inherit;a.sloJustification$.next(b.comment)})},RPc=function(a){(0,W.firstValueFrom)(a.sloLock$).then(function(b){a.originalSloLock=b;a.sloLocked=b})},BFb=function(a){a.error="";PPc(a);QPc(a);a.enableSloLockingUi&&RPc(a)};T7.prototype.back=function(){M1(this.appHistory)};
ea.Object.defineProperties(T7.prototype,{sloJustification:{configurable:!0,enumerable:!0,get:function(){return this.sloJustification$.getValue()}},sloLeadEmail:{configurable:!0,enumerable:!0,get:function(){return this.sloLeadEmail$.getValue()}},sloLead:{configurable:!0,enumerable:!0,set:function(a){a!==this.sloLead$.getValue()&&(this.sloLead$.next(a),this.sloLeadEmail$.next(a?a.split(":")[1]:""))},get:function(){return this.sloLead$.getValue()}},isSloInheritEnabled:{configurable:!0,enumerable:!0,
set:function(a){a!==this.isSloInheritEnabled$.getValue()&&this.isSloInheritEnabled$.next(a)},get:function(){return this.isSloInheritEnabled$.getValue()}},sloId:{configurable:!0,enumerable:!0,set:function(a){a!==this.sloId$.getValue()&&(this.sloId$.next(a),this.enableSloChecked=a!=="0")},get:function(){return this.sloId$.getValue()}},enableSloChecked:{configurable:!0,enumerable:!0,set:function(a){a!==this.enableSloCheckedInternal&&(this.enableSloCheckedInternal=a,a||(this.sloId="0"))},get:function(){return this.enableSloCheckedInternal}},
sloLocked:{configurable:!0,enumerable:!0,set:function(a){a!==this.sloLocked$.getValue()&&this.sloLocked$.next(a)},get:function(){return this.sloLocked$.getValue()}}});T7.\u0275fac=function(a){return new (a||T7)(A(Ir),A(qC),A(L1),A(sE),A(EQ),A(UU),A(uE),A(oN),A(cU),A(iJ),A(gH),A(mD),A(ZG),A($G))};
T7.\u0275cmp=p({type:T7,selectors:[["manage-team-page"]],viewQuery:function(a,b){a&1&&fg(BM,5,Rd);if(a&2){var c;jg(c=kg())&&(b.tabs=c)}},features:[zf],decls:8,vars:3,consts:[["emptyDescription",""],["noPolicySource",""],["childTeamsLinks",""],["noInheritedSlo",""],["unlocked",""],["associatedComponentLinks",""],[1,"kd-appbar"],[1,"kd-buttonbar"],[1,"bv2-appbar-left"],["type","button","mat-icon-button","","aria-label","Go back","color","primary","ngClass","large","matTooltip","Go back",1,"gmat-button",
3,"click"],["svgIcon","arrow-backward",1,"icon-m"],["cdkScrollable","",1,"bv2-view"],[4,"ngIf"],[1,"edit-resource-header"],["target","_blank",3,"href"],["svgIcon","pop-out",1,"icon-s"],["class","team-hierarchy-container",4,"ngIf"],["gmat-tabs","","mat-align-tabs","start",3,"selectedIndexChange","selectedIndex"],["label","Basic Information",3,"id"],[1,"edit-resource-panel"],[1,"edit-field"],[1,"field-label"],[1,"edit-field-header"],[1,"description"],[4,"ngIf","ngIfElse"],[1,"field-label-with-help"],
[1,"help-label"],[1,"help-container"],[1,"help-bubble","jfk-bubble"],[1,"jfk-bubble-arrow","jfk-bubble-arrowleft"],[1,"jfk-bubble-arrowimplbefore"],[1,"jfk-bubble-arrowimplafter"],["label","Team SLO",3,"id"],["id","edit-slo-help-bubble",1,"help-bubble","jfk-bubble"],[1,"metadata","muted"],["class","slo-policy-link",4,"ngIf"],[1,"slo-policy-source-link"],["class","slo-inheritance-link",3,"routerLinkObj",4,"ngIf","ngIfElse"],[1,"lock-state"],[3,"error"],["class","edit-field",4,"ngIf"],["idForInputBox",
"team-slo-lead","ariaLabel","Team SLO lead email",3,"usersChange","isValid","users","customValidators","detailedUserValidators","maxUserAllowed"],["class","edit-button-row",4,"ngIf"],["label","Component mapping",3,"id"],[1,"team-hierarchy-container"],[3,"teamPath"],[3,"users"],[4,"ngFor","ngForOf"],[3,"routerLink"],[1,"slo-policy-link"],[3,"routerLinkObj",4,"ngIf","ngIfElse"],[3,"routerLinkObj"],[1,"slo-inheritance-link",3,"routerLinkObj"],["svgIcon","lock-outline"],["svgIcon","lock-open"],["class",
"edit-field less-margin",4,"ngIf"],[1,"edit-field","less-margin"],["gmat-checkbox","",1,"override-slo",3,"change","disabled","checked"],["class","edit-field slo-justification",4,"ngIf"],["name","slo-enable","labelPosition","before",1,"slo-enable",3,"ngModelChange","change","ngModel","disabled"],[1,"team-slo-id-select",3,"onSloSelect","boundId","bv2Disabled","bv2Placeholder"],["mat-icon-button","","class","gmat-button small slo-link","matTooltip","Go to SLO management page",3,"routerLinkObj","target",
4,"ngIf"],[1,"edit-field","slo-justification"],["id","team-slo-justification-label",1,"required"],["svgIcon","help-outline",1,"icon-s","valign-middle",3,"matTooltip"],["aria-labelledby","team-slo-justification-label","required","",1,"slo-justification-text",3,"ngModelChange","ngModel","disabled"],["mat-icon-button","","matTooltip","Go to SLO management page",1,"gmat-button","small","slo-link",3,"routerLinkObj","target"],["gmat-checkbox","",1,"slo-lock",3,"change","checked","disabled"],[1,"edit-button-row"],
[1,"edit-button-group"],["gmat-button","","mat-flat-button","","color","primary",3,"click","disabled"],["gmat-button","","mat-stroked-button","","color","primary",3,"click","disabled"]],template:function(a,b){a&1&&(F(0,"div",6)(1,"div",7)(2,"div",8)(3,"button",9),M("click",function(){return b.back()}),H(4,"mat-icon",10),G()()()(),F(5,"div",11),C(6,KFb,99,48,"ng-container",12),T(7,"async"),G());a&2&&(z(6),D("ngIf",V(7,1,b.team$)))},dependencies:[Ev,Fv,Gv,zB,rB,wB,j0,mh,qy,Iy,yy,oE,pE,QH,RH,HM,BM,CM,
LH,OH,fx,HW,IW,ON,q1,g1,Lv],styles:[".description[_ngcontent-%COMP%]{white-space:pre-wrap}button[_ngcontent-%COMP%]{height:32px;line-height:32px}button.mat-icon-button.large[_ngcontent-%COMP%]{height:36px;line-height:36px;width:36px}.team-hierarchy-container[_ngcontent-%COMP%]{margin-top:-5px;padding-bottom:32px;padding-left:20px}.metadata[_ngcontent-%COMP%]{margin:10px 0}.metadata[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{color:#5f6368;color:var(--icon);width:16px;height:16px}.lock-state[_ngcontent-%COMP%]{display:flex;align-items:center}.team-slo-id-select[_ngcontent-%COMP%]{display:inline-block;width:450px}label[_ngcontent-%COMP%]{display:inline-block;line-height:2.2em}label[_ngcontent-%COMP%]   .edit-field-header[_ngcontent-%COMP%]{font-weight:bold}textarea.slo-justification-text[_ngcontent-%COMP%]{height:3em}div.edit-field.less-margin[_ngcontent-%COMP%]{margin:8px 0}ul[_ngcontent-%COMP%]{padding:0}ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{line-height:1.2}.indented[_ngcontent-%COMP%], .slo-justification[_ngcontent-%COMP%], .team-slo-id-select[_ngcontent-%COMP%]{margin-left:24px}.team-slo-id-select[_ngcontent-%COMP%], mat-slide-toggle.slo-enable[_ngcontent-%COMP%]{display:inline-block}/*# sourceMappingURL=manage_team.css.map */"]});var U7=function(){};U7.prototype.transform=function(a){var b=a.comeBackTimestamp;return"Upcoming out of office starting "+SPc.format(new Date(a.futureOooTimestamp.seconds*1E3))+" - back on "+SPc.format(new Date(b.seconds*1E3))};U7.\u0275fac=function(a){return new (a||U7)};U7.\u0275pipe=gd({name:"futureAvailability",type:U7,pure:!0});var SPc=new UC(OV.WEEKDAY_MONTH_DAY_MEDIUM);var TPc=new Map([["TAGGED_IN_COMMENT","Mentioned me"],["REQUIRES_APPROVAL","Added as approver"],["THREAD_MENTIONS_ME","Mentioned me"],["NEEDS_ATTENTION","In attention set"],["READY_TO_SUBMIT","Ready to submit"],["NEAR_SLO","Near SLO"],["COMMENT_MENTIONS_ME","Mentioned me"],["BLOCKERS_CLOSED","Blockers closed"],["NEWLY_BLOCKING","Newly blocking"],["NEEDS_REPORTER_INPUT","Needs reporter input"],["REPLIED_TO_MENTION","Replied to me"],["NEWLY_ASSIGNED_TO_ME","Newly assigned"],["GERRIT_CHANGE_NEEDS_ATTENTION",
"In attention set"],["GERRIT_CHANGE_READY_TO_SUBMIT","Ready to submit"],["MENTIONED_NEEDS_RESPONSE","Needs response"]]),rGb=new Map([["TAGGED_IN_COMMENT","Someone mentioned me in a comment"],["REQUIRES_APPROVAL","You were added as an approver"],["THREAD_MENTIONS_ME","You were mentioned on this CL recently"],["NEEDS_ATTENTION","This CL is in your \u201cNeeds attention\u201d list in Critique"],["READY_TO_SUBMIT","This CL is ready to submit"],["NEAR_SLO","20% of SLO time is remaining for this issue"],
["COMMENT_MENTIONS_ME","You were mentioned on this issue"],["BLOCKERS_CLOSED","The last blocking issue was closed recently"],["NEWLY_BLOCKING","This issue started blocking another issue recently"],["NEEDS_REPORTER_INPUT","Issue was assigned back to reporter (you) recently"],["REPLIED_TO_MENTION","Someone replied to your mention recently"],["NEWLY_ASSIGNED_TO_ME","This issue was recently assigned to you"],["GERRIT_CHANGE_NEEDS_ATTENTION","Your turn to take action on the change"],["GERRIT_CHANGE_READY_TO_SUBMIT",
"Your turn to take action on the change"],["MENTIONED_NEEDS_RESPONSE","You were mentioned on this issue and your response is requested"]]),UPc=new Map([["TAGGED_IN_COMMENT","Reply to comment"],["REQUIRES_APPROVAL","Review"],["THREAD_MENTIONS_ME","Reply to comment"],["NEEDS_ATTENTION","Review CL"],["READY_TO_SUBMIT","Submit CL"],["NEAR_SLO","View issue"],["COMMENT_MENTIONS_ME","Reply to comment"],["BLOCKERS_CLOSED","View issue"],["NEWLY_BLOCKING","View blocker issue"],["NEEDS_REPORTER_INPUT","Reply to comment"],
["REPLIED_TO_MENTION","Reply to comment"],["NEWLY_ASSIGNED_TO_ME","Start work"],["GERRIT_CHANGE_NEEDS_ATTENTION","Review change"],["GERRIT_CHANGE_READY_TO_SUBMIT","Submit change"],["MENTIONED_NEEDS_RESPONSE","Reply to comment"]]);var V7=function(a,b){this.tasksApi=a;this.analytics=b;this.mentionedDriveComment$=(0,W.of)();this.contentReady$=new W.ReplaySubject(1)};V7.prototype.ngOnInit=function(){var a=this;this.fileId&&this.commentId&&(this.analytics.trackEvent("mentionsCard","view","hovercard"),this.mentionedDriveComment$=T8b(this.tasksApi,this.fileId,this.commentId).pipe(sf(function(){a.contentReady$.next()})))};V7.\u0275fac=function(a){return new (a||V7)(A(LG),A(bG))};
V7.\u0275cmp=p({type:V7,selectors:[["mentioned-drive-comments-card"]],inputs:{fileId:"fileId",commentId:"commentId",lastMentionLink:"lastMentionLink"},decls:2,vars:3,consts:[[1,"carded","bg-main"],[1,"flex-kids-x","align-items-center","space-between","margin-s-bottom"],[1,"bv2-event-user-name",3,"model"],["target","_blank",1,"hover-link",3,"href"],["mode","datetime",3,"timestamp"],["target","_blank",1,"hover-link",3,"click","href"]],template:function(a,b){a&1&&(C(0,VFb,11,4,"div",0),T(1,"async"));
if(a&2){var c;Of((c=V(1,1,b.mentionedDriveComment$))?0:-1,c)}},dependencies:[TM,eN,Lv],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 cGb=function(a,b){return b.commentNumber},$Fb=function(a){return{"margin-s-bottom padded-s-bottom border-bottom":a}},XFb=function(a){return{"has-reacted-icon":a}},W7=function(a,b){this.issueCommentsBatchApi=a;this.analytics=b;this.commentNumbers=[];this.mentionedComments$=(0,W.of)();this.contentReady$=new W.ReplaySubject(1);this.thumbsDownClicked=this.thumbsUpClicked=this.hasReacted=!1};
W7.prototype.ngOnInit=function(){var a=this;this.analytics.trackEvent("mentionsCard","view","hovercard");this.mentionedComments$=this.issueCommentsBatchApi.batchGet(this.issueId,this.commentNumbers).pipe(sf(function(){a.contentReady$.next()}))};W7.prototype.getCommentNumberLink=function(a,b){return qo(a,{comment:b})};W7.prototype.trackThumbsUp=function(){this.thumbsUpClicked=this.hasReacted=!0;this.analytics.trackEvent("needsResponse","accept",VPc(this))};
W7.prototype.trackThumbsDown=function(){this.thumbsDownClicked=this.hasReacted=!0;this.analytics.trackEvent("needsResponse","reject",VPc(this))};var VPc=function(a){return JSON.stringify({id:a.issueId,commentNumber:a.commentNumbers})};W7.\u0275fac=function(a){return new (a||W7)(A(wF),A(bG))};
W7.\u0275cmp=p({type:W7,selectors:[["mentioned-issue-comments-card"]],inputs:{issueId:"issueId",commentNumbers:"commentNumbers",needsResponse:"needsResponse"},decls:2,vars:3,consts:[[4,"ngIf"],[1,"carded","bg-main"],[3,"ngClass"],[1,"flex-kids-x","align-items-center","space-between"],[1,"flex-kids-x","align-items-center","gap-xs"],[1,"bv2-event-user-name",3,"model"],["class","hover-link",3,"routerLinkObj","click",4,"ngIf"],["mode","datetime",3,"timestamp"],[1,"hover-link",3,"click","routerLinkObj"],
[3,"issueId","note","formattingMode"],["class","flex-kids-x gap-xs justify-flex-end align-items-center",4,"ngIf"],[1,"flex-kids-x","gap-xs","justify-flex-end","align-items-center"],[1,"type-s","feedback-info"],["mat-icon-button","","aria-label","rate thumbs up",1,"gmat-button","keep-focus-ring","needs-response-feedback",3,"click","disabled"],["svgIcon","thumb_up_24px",1,"icon-s",3,"ngClass"],["mat-icon-button","","aria-label","rate thumbs down",1,"gmat-button","keep-focus-ring","needs-response-feedback",
3,"click","disabled"],["svgIcon","thumb_down_24px",1,"icon-s",3,"ngClass"]],template:function(a,b){a&1&&(C(0,dGb,6,0,"ng-container",0),T(1,"async"));a&2&&D("ngIf",V(1,1,b.mentionedComments$))},dependencies:[Ev,Gv,zB,wB,eN,TM,LL,Lv],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 X7=function(a,b){this.context={};b.createEmbeddedView(a,this.context)};ea.Object.defineProperties(X7.prototype,{xapLet:{configurable:!0,enumerable:!0,set:function(a){var b=new Set(eGb(a));if(this.context!==void 0)for(var c=l(eGb(this.context).filter(function(e){return!b.has(e)})),d=c.next();!d.done;d=c.next())delete this.context[d.value];c=l(b);for(d=c.next();!d.done;d=c.next())d=d.value,this.context[d]=a[d];this.context.$implicit=a;this.context.xapLet=a}}});
X7.\u0275fac=function(a){return new (a||X7)(A(cg),A(dg))};X7.\u0275dir=fd({type:X7,selectors:[["","xapLet",""]],inputs:{xapLet:"xapLet"},standalone:!0});var jGb=function(a,b){return b.type},gGb=function(a){return{signal:a}},tGb=function(){return[]},WPc=function(a){this.activeSession=a;this.signals=[];this.SIGNAL_TO_DISPLAY_TEXT=TPc;this.SIGNAL_TO_ACTION_TEXT=UPc;this.getSignalUrgency=Gr;this.getHighestPrioritySignal=SFb;this.enableMentionedCommentsHovercard=this.activeSession.getFlag("enableMentionedCommentsHovercard")},mGb=function(a,b){return a.filter(function(c){return c!==b}).map(function(c){return TPc.get(c.type)}).join("; ")},pGb=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},qGb=function(a){return a.type==="TAGGED_IN_COMMENT"&&a.driveFileId!=null&&a.driveCommentId!=null};WPc.\u0275fac=function(a){return new (a||WPc)(A(Ir))};
WPc.\u0275cmp=p({type:WPc,selectors:[["needs-attention-signals-cell"]],inputs:{issueId:"issueId",signals:"signals"},decls:4,vars:1,consts:[["signalChip",""],["mentionedCommentsHovercard","onedevHovercard"],["tooltip","matTooltip"],["cardBody",""],[1,"flex-kids-x","gap-xs"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"flex-kids-x","gap-xs","align-items-center"],[1,"overflow","type-m",3,"matTooltip"],[3,"class","keep-focus-ring","onedevHovercardActive","onedevHovercardTrigger","matTooltip",
"mouseenter","mouseleave",4,"xapLet"],[3,"onedevIsHovercardReady","issueId","commentNumbers","needsResponse"],[3,"onedevIsHovercardReady","fileId","commentId","lastMentionLink"],[3,"mouseenter","mouseleave","onedevHovercardActive","onedevHovercardTrigger","matTooltip"],[3,"onedevIsHovercardReady","issueId","commentNumbers","needsResponse",4,"onedevHovercardLazyBody"],[3,"onedevIsHovercardReady","fileId","commentId","lastMentionLink",4,"onedevHovercardLazyBody"]],template:function(a,b){a&1&&C(0,kGb,
3,0,"div",4)(1,oGb,1,1)(2,yGb,5,3,"ng-template",null,0,yg);a&2&&Of(b.signals.length<3?0:1)},dependencies:[Kv,LH,OH,$H,aI,gI,bI,W7,V7,X7],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 Y7=function(){this.DEFINITIONS=Ylc;this.sourceFilterKeys=[];this.selectedSources=[];this.change=new XF};Y7.\u0275fac=function(a){return new (a||Y7)};
Y7.\u0275cmp=p({type:Y7,selectors:[["source-filter-chips"]],inputs:{sourceFilterKeys:"sourceFilterKeys",selectedSources:"selectedSources"},outputs:{change:"change"},decls:2,vars:1,consts:[["multiple","","aria-label","Source selection",3,"change"],[4,"ngFor","ngForOf"],["appearance","hairline-filter",3,"value","selected",4,"ngIf"],["appearance","hairline-filter",3,"value","selected"],[3,"matTooltip"]],template:function(a,b){a&1&&(F(0,"mat-chip-listbox",0),M("change",function(c){b.selectedSources=c.value;
b.change.emit(c.value)}),C(1,AGb,2,1,"ng-container",1),G());a&2&&(z(),D("ngForOf",b.sourceFilterKeys))},dependencies:[Fv,Gv,kR,tR,rR,LH,OH],encapsulation:2});var XPc=["menuTrigger"],YPc={label:"Last 1 day",numberOfDays:1},ZPc={label:"Last 7 days",numberOfDays:7},$Pc={label:"Last 30 days",numberOfDays:30},aQc={label:"Last 90 days",numberOfDays:90},bQc=[YPc,ZPc,$Pc,aQc],cQc={1:YPc,7:ZPc,30:$Pc,90:aQc},Z7=function(){this.timeBoundaries=bQc;this.change=new XF};Z7.prototype.getLabel=function(a){if(a==null)return"";var b,c;return(c=(b=cQc[a])==null?void 0:b.label)!=null?c:""};Z7.prototype.openMenu=function(){this.menuTrigger.openMenu()};
Z7.\u0275fac=function(a){return new (a||Z7)};
Z7.\u0275cmp=p({type:Z7,selectors:[["time-boundary-filter"]],viewQuery:function(a,b){a&1&&fg(XPc,5);if(a&2){var c;jg(c=kg())&&(b.menuTrigger=c.first)}},inputs:{selectedTimeBoundary:"selectedTimeBoundary"},outputs:{change:"change"},decls:8,vars:4,consts:[["menuTrigger","matMenuTrigger"],["timeBoundaryMenu","matMenu"],["aria-label","Time boundary selection",3,"selectable"],["appearance","hairline-filter","aria-label","Select time boundary","selected","","color","primary","role","button",1,"time-boundary-chip",
3,"keyup.enter","keyup.space","matMenuTriggerFor"],["matChipTrailingIcon","","svgIcon","arrow-dropdown"],["xPosition","before"],["mat-menu-item","",3,"disabled","click",4,"ngFor","ngForOf"],["mat-menu-item","",3,"click","disabled"]],template:function(a,b){if(a&1){var c=u();F(0,"mat-chip-listbox",2)(1,"mat-chip-option",3,0);M("keyup.enter",function(){v(c);return x(b.openMenu())})("keyup.space",function(){v(c);return x(b.openMenu())});R(3);H(4,"mat-icon",4);G()();F(5,"mat-menu",5,1);C(7,BGb,2,2,"button",
6);G()}a&2&&(a=Q(6),D("selectable",!1),z(),D("matMenuTriggerFor",a),z(2),S(" ",b.getLabel(b.selectedTimeBoundary)," "),z(4),D("ngForOf",b.timeBoundaries))},dependencies:[Fv,zB,kR,tR,rR,pR,QL,TL,RL,UL],encapsulation:2});var dQc=[5433823,5418819,5421028,5122552,5422257];var $7=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 Xu},eQc=function(a){return dQc.some(function(b){var c;return(c=a.hotlistIds)==null?void 0:c.includes(b)})};$7.\u0275fac=function(a){return new (a||$7)};
$7.\u0275cmp=p({type:$7,selectors:[["onedev-dma-chip"]],inputs:{hotlistIds:"hotlistIds"},outputs:{onChipClicked:"onChipClicked"},decls:1,vars:1,consts:[[4,"ngIf"],[1,"chip",3,"matTooltip"],[1,"content"],["href","http://go/dma","target","_blank",3,"click"]],template:function(a,b){a&1&&C(0,CGb,5,1,"ng-container",0);a&2&&D("ngIf",eQc(b))},dependencies:[Gv,oS],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 a8=function(a,b,c,d,e,f,h,k,q,t){Z.call(this);var w=this;this.errorHandler=a;this.tasksService=b;this.missionControlPrefs=c;this.domSafe=d;this.router=e;this.appEvents=f;this.analytics=h;this.clipboard=k;this.activeSession=q;this.needsAttentionTaskFridge=t;this.OPTIONAL_SOURCE_FILTERS=["GERRIT"];this.ALL_NEEDS_ATTENTION_SOURCE_FILTERS=[].concat(r(Wlc),r(this.OPTIONAL_SOURCE_FILTERS));this.enableNewVisibilityChips=this.activeSession.getFlag("enableNewVisibilityChips");this.enableViewDismissedTasks=
this.activeSession.getFlag("enableViewDismissedTasks");this.enableStaleTasks=this.activeSession.getFlag("enableStaleTasks");this.refreshTable=new W.Subject;this.SIGNAL_TO_DISPLAY_TEXT=TPc;this.SIGNAL_TO_ACTION_TEXT=UPc;this.TaskResourceType=X3b;this.sources$=this.missionControlPrefs.needsAttentionSources$;this.timeBoundary$=this.missionControlPrefs.prefs$.pipe(y(function(B){var E;return(E=B==null?void 0:B.needsAttentionDaysOld)!=null?E:30}));this.signalStatusFilter$=new W.BehaviorSubject(0);this.allNeedsAttention$=
new W.BehaviorSubject([]);this.liteTasks$=(0,W.combineLatest)([this.timeBoundary$,this.sources$,this.signalStatusFilter$]).pipe(qf(this.destroyed$),df(function(B,E){return B[0]===E[0]&&pi(B[1],E[1])&&B[2]===E[2]}),pf(function(B){var E=l(B);B=E.next().value;var I=E.next().value;E=E.next().value;I=I.map(function(J){return dp(J)});return w.needsAttentionTaskFridge.watchMany({maxTaskAgeDays:B,sources:I,signalFilter:E})}),y(function(B){var E;return QFb(B,(E=w.signalStatusFilter$.getValue())!=null?E:0)}));
this.loading$=this.needsAttentionTaskFridge.thinking$;this.tabData=[{signalStatusFilter:0,label:"Active",description:"Shows tasks with at least 1 active signal"},{signalStatusFilter:1,label:"Dismissed",description:"Shows tasks with at least 1 dismissed signal"}];this.displayedColumns="selection type description timestamp signal action copy dismiss".split(" ");this.selection=new gx(!0,[]);this.DEFAULT_NUM_ROWS_DISPLAYED=this.numDisplayedRows=10;this.getSignalUrgency=Gr;this.getHighestPrioritySignal=
SFb;(0,W.combineLatest)([this.liteTasks$,this.sources$,this.timeBoundary$,this.signalStatusFilter$]).pipe(qf(this.destroyed$),y(function(B){var E=l(B);B=E.next().value;E.next();E.next();E.next();B.sort(function(I,J){return Fm(J.lastAlertTimestamp)-Fm(I.lastAlertTimestamp)});return B})).subscribe(function(B){w.allNeedsAttention$.next(B)});(0,W.combineLatest)([this.timeBoundary$,this.sources$]).pipe(qf(this.destroyed$),df(function(B,E){return B[0]===E[0]&&pi(B[1],E[1])}),pf(function(B){var E=l(B);B=
E.next().value;E=E.next().value.map(function(I){return dp(I)});return w.needsAttentionTaskFridge.watchMany({maxTaskAgeDays:B,sources:E,signalFilter:0})})).subscribe(function(B){setTimeout(function(){var E=B.results.filter(function(I){var J;return I.task&&((J=I.signals)==null?void 0:J.filter(function(N){return N.signalStatus===0}))});w.appEvents.missionControlTaskCount.next(E.length)})});this.needsAttentionTaskFridge.error$.pipe(qf(this.destroyed$)).subscribe(function(B){w.errorHandler.errorHandler(null,
B)})};X(a8,Z);a8.\u0275dir=Z.\u0275dir;a8.prototype.ngOnInit=function(){var a=this;this.refreshTable.pipe(qf(this.destroyed$)).subscribe(function(){var b,c,d;a.needsAttentionTaskFridge.pokeMany({maxTaskAgeDays:(b=fo(a.timeBoundary$))!=null?b:0,sources:((c=fo(a.sources$))!=null?c:[]).map(function(e){return dp(e)}),signalFilter:(d=a.signalStatusFilter$.getValue())!=null?d:0})})};
var JGb=function(a,b){a.selection.selected.length===b.length?a.selection.clear():(b=b.map(function(c){return c.id}),a.selection.select.apply(a.selection,r(b)))},kHb=function(a,b){var c=a.signalStatusFilter$.getValue()===0;Q8b(a.tasksService,[b.id],c).subscribe(function(){},function(e){return void a.errorHandler.errorHandler(null,e)});var d=a.allNeedsAttention$.getValue();a.allNeedsAttention$.next(d.filter(function(e){return e.id!==b.id}));c&&a.appEvents.missionControlTaskCount.next(d.length-1)};
a8.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=gp(b.id),b=zo.viewIssue.makeHref(b),Dk(a)?this.domSafe.openInNewTab(b):(a==null?0:a.shiftKey)?ko(this.domSafe,b):qr(this.router,b);else{var e;this.domSafe.openInNewTab((e=b.lastMentionLink)!=null?
e:b.link)}}};
a8.prototype.sendClickAnalytics=function(a,b){this.analytics.trackEvent("missionControl","navigate","needsAttention-"+a.type+"-"+a.signals.map(function(e){return e.type}).join(","));var c=l(xHb(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);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))};a8.prototype.setNumDisplayedRows=function(a){this.numDisplayedRows=a.length>this.numDisplayedRows?a.length:10};
var lHb=function(a){return fo(a.signalStatusFilter$)===0?"Dismiss a work item to hide it from the table":"Un-dismiss a work item to move it back to the Active tab"},PGb=function(a){var b=fo(a.signalStatusFilter$)===0,c=a.selection.selected;Q8b(a.tasksService,c,b).subscribe(function(){},function(e){return void a.errorHandler.errorHandler(null,e)});var d=new Set(c);c=a.allNeedsAttention$.getValue();a.allNeedsAttention$.next(c.filter(function(e){return!d.has(e.id)}));b&&a.appEvents.missionControlTaskCount.next(c.filter(function(e){return!d.has(e.id)}).length);
a.selection.clear()};a8.prototype.copyIdOrLink=function(a){a.type==="ISSUE"?(a=gp(a.id))&&this.clipboard.copy(a):this.clipboard.copy(a.link)};a8.prototype.sendDmaAnalytics=function(){this.analytics.trackEvent("missionControl","click","dmaChip")};a8.prototype.extractLastDigits=function(a){var b;return(b=gp(a))!=null?b:""};
a8.prototype.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)};a8.\u0275fac=function(a){return new (a||a8)(A(uE),A(LG),A(bQ),A(FH),A(pB),A(yE),A(bG),A(MH),A(Ir),A(NG))};
a8.\u0275cmp=p({type:a8,selectors:[["b-needs-attention-table"]],inputs:{refreshTable:"refreshTable"},features:[zf],decls:12,vars:11,consts:[["loadingSpinner",""],["noTitle",""],["gmat-tabs","","matAlignTabs","start","matStretchTabs","false","preserveContent","",3,"selectedIndex","selectedIndexChange",4,"ngIf"],[1,"flex-kids-x","align-items-center","padded-xs-y","border-bottom"],[1,"heading-s"],[4,"ngIf"],[4,"ngIf","ngIfElse"],["gmat-tabs","","matAlignTabs","start","matStretchTabs","false","preserveContent",
"",3,"selectedIndexChange","selectedIndex"],[4,"ngFor","ngForOf"],["mat-tab-label",""],["matTooltipShowDelay","500",1,"tab-label",3,"matTooltip"],[1,"padded-s-x",3,"change","sourceFilterKeys","selectedSources"],[1,"border-left","padded-s-left",3,"change","selectedTimeBoundary"],["class","muted border-bottom padded-s-y",4,"ngIf"],[1,"muted","border-bottom","padded-s-y"],["mat-table","","aria-label","Table of alerts",1,"full-width",3,"dataSource"],["matColumnDef","selection"],["mat-header-cell","",
4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","type"],["matColumnDef","description"],["matColumnDef","timestamp"],["matColumnDef","signal"],["matColumnDef","action"],["matColumnDef","copy"],["mat-header-cell","","class","border-bottom",4,"matHeaderCellDef"],["matColumnDef","dismiss"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","","class","clickable",3,"click",4,"matRowDef","matRowDefColumns"],["class","mat-row padded-y",4,"matNoDataRow"],["mat-button","","class","gmat-button margin-s-top",
3,"click",4,"ngIf"],["mat-header-cell",""],["aria-label","Select all alerts",3,"change","checked","indeterminate"],["mat-cell",""],["aria-label","Select alert",3,"click","change","checked"],["role","img","matTooltipPosition","left","matTooltipShowDelay","250",3,"matTooltip","svgIcon"],["mat-button","","class","gmat-button bulk-dismiss",3,"click",4,"ngIf"],["mat-button","",1,"gmat-button","bulk-dismiss",3,"click"],["class","alert-description",4,"ngIf","ngIfElse"],[1,"alert-description"],[3,"issueId"],
[3,"accessLevel","compactMode"],["class","staleness","matTooltip","Your response time is longer than the usual on similar items",3,"click",4,"ngIf"],["class","going-ooo",3,"matTooltip",4,"ngIf"],["class","review-estimate","matTooltip","Estimated review time (visible only to you)",4,"ngIf"],["class","margin-xs-right",3,"issuePriority",4,"ngIf"],["tabindex","0","role","link",1,"subtle-link","break-word",3,"auxclick","href"],[3,"onChipClicked","hotlistIds"],["matTooltip","Your response time is longer than the usual on similar items",
1,"staleness",3,"click"],[1,"going-ooo",3,"matTooltip"],["svgIcon","event_upcoming_24px"],["matTooltip","Estimated review time (visible only to you)",1,"review-estimate"],[1,"margin-xs-right",3,"issuePriority"],[1,"italic"],["mode","relativepastshort",3,"timestamp","paddingLeftPx",4,"ngIf"],["mode","relativepastshort",3,"timestamp","paddingLeftPx"],[3,"issueId","signals"],["mat-button","",1,"gmat-button","primary","action-button"],["mat-header-cell","",1,"border-bottom"],["mat-icon-button","",1,"copy-btn",
"xs",3,"click","matTooltip"],["svgIcon","copy","color","primary",1,"copy-icon"],["mat-icon-button","",1,"dismiss-btn","xs",3,"click","ariaLabel","matTooltip"],["svgIcon","issue-status-wont-fix","color","primary",1,"dismiss-icon"],["mat-header-row",""],["mat-row","",1,"clickable",3,"click"],[1,"mat-row","padded-y"],["colspan","7",1,"mat-cell","type-l","text-center","padded-top"],["mat-button","",1,"gmat-button","margin-s-top",3,"click"],["class","icon","svgIcon","arrow-down",4,"ngIf"],["class","icon",
"svgIcon","arrow-up",4,"ngIf"],["svgIcon","arrow-down",1,"icon"],["svgIcon","arrow-up",1,"icon"],[1,"text-center","border-bottom","padded-s-y"],[3,"ariaLabel"]],template:function(a,b){a&1&&(C(0,FGb,2,2,"mat-tab-group",2),F(1,"div",3)(2,"span",4),R(3,"Sources"),G(),C(4,GGb,2,2,"ng-container",5),T(5,"async"),C(6,HGb,2,1,"ng-container",5),T(7,"async"),G(),C(8,vHb,3,3,"ng-container",6),T(9,"async"),C(10,wHb,2,1,"ng-template",null,0,yg));a&2&&(a=Q(11),D("ngIf",b.enableViewDismissedTasks),z(4),D("ngIf",
V(5,5,b.sources$)),z(2),D("ngIf",V(7,7,b.timeBoundary$)),z(2),D("ngIf",!V(9,9,b.loading$))("ngIfElse",a))},dependencies:[Fv,Gv,zB,TM,lR,jS,WR,cS,ZR,VR,eS,$R,bS,fS,hS,iS,HM,AM,BM,CM,QH,RH,LH,OH,oE,pE,Y7,Z7,RQ,mN,yN,$7,TN,WPc,Lv,Rv,U7],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-focus-indicator[_ngcontent-%COMP%]{cursor:pointer;display:table-cell;padding:0 1.5px;width:0}tr.mat-mdc-row[_ngcontent-%COMP%]:focus-within   .mat-column-focus-indicator[_ngcontent-%COMP%]{outline:none;background-color:#4285f4;background-color:var(--primary-c500)}[_nghost-%COMP%]{display:block}[_nghost-%COMP%]     mat-spinner.large{top:unset}.mat-column-selection[_ngcontent-%COMP%]{text-align:center}.mat-column-type[_ngcontent-%COMP%]{text-align:center}.mat-column-type[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{vertical-align:middle}.product-icon.critique-logo[_ngcontent-%COMP%]{max-width:20px}.product-icon.drive-doc[_ngcontent-%COMP%]{color:var(--blue-700)}.product-icon.drive-sheet[_ngcontent-%COMP%]{color:var(--green-600)}.product-icon.drive-slide[_ngcontent-%COMP%]{color:var(--yellow-600)}.product-icon.gerrit-logo[_ngcontent-%COMP%]{max-width:20px}th.mat-column-signal[_ngcontent-%COMP%]{padding-left:8px}th.mat-column-action[_ngcontent-%COMP%]{padding-left:12px}th.mat-column-description[_ngcontent-%COMP%]{overflow:visible}.mat-column-copy[_ngcontent-%COMP%]   .copy-icon[_ngcontent-%COMP%]{opacity:0;margin-bottom:1px}.mat-column-dismiss[_ngcontent-%COMP%]   .dismiss-icon[_ngcontent-%COMP%]{opacity:0;margin-bottom:1px}.copy-btn.cdk-keyboard-focused[_ngcontent-%COMP%]   .copy-icon[_ngcontent-%COMP%], .copy-btn.cdk-keyboard-focused[_ngcontent-%COMP%]   .dismiss-icon[_ngcontent-%COMP%], .dismiss-btn.cdk-keyboard-focused[_ngcontent-%COMP%]   .copy-icon[_ngcontent-%COMP%], .dismiss-btn.cdk-keyboard-focused[_ngcontent-%COMP%]   .dismiss-icon[_ngcontent-%COMP%], .mat-mdc-row[_ngcontent-%COMP%]:focus-visible   .copy-icon[_ngcontent-%COMP%], .mat-mdc-row[_ngcontent-%COMP%]:focus-visible   .dismiss-icon[_ngcontent-%COMP%], .mat-mdc-row[_ngcontent-%COMP%]:hover   .copy-icon[_ngcontent-%COMP%], .mat-mdc-row[_ngcontent-%COMP%]:hover   .dismiss-icon[_ngcontent-%COMP%]{opacity:1;color:#1a73e8;color:var(--primary);background-color:unset}[_nghost-%COMP%]     .copy-btn:focus-within:not(.cdk-keyboard-focused) .mat-button-focus-overlay{opacity:0}a.action-button[_ngcontent-%COMP%]{color:#1a73e8;color:var(--link)}a.action-button[_ngcontent-%COMP%]:active, a.action-button[_ngcontent-%COMP%]:focus, a.action-button[_ngcontent-%COMP%]:hover{color:#1a73e8;color:var(--link)}.bulk-dismiss[_ngcontent-%COMP%]{height:24px;line-height:24px;margin-left:-32px}.review-estimate[_ngcontent-%COMP%]{background-color:#edfbf1;background-color:var(--green-bg);height:18px;line-height:18px;padding:0 8px}.going-ooo[_ngcontent-%COMP%]{background-color:#fff8e4;background-color:var(--yellow-bg);color:#8f6b00;color:var(--yellow-text);-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;height:18px;padding:0 4px}.going-ooo[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{height:16px;width:16px}.staleness[_ngcontent-%COMP%]{border-color:#bd4800;border-color:var(--orange-text);color:#bd4800;color:var(--orange-text);height:18px;line-height:18px;padding:1px 4px;border:1px solid}.going-ooo[_ngcontent-%COMP%], .review-estimate[_ngcontent-%COMP%], .staleness[_ngcontent-%COMP%]{border-radius:4px;display:-webkit-inline-box;display:-webkit-inline-flex;display:-moz-inline-box;display:-ms-inline-flexbox;display:inline-flex;margin-right:4px;vertical-align:middle}"]});var b8=function(a,b,c){Z.call(this);var d=this;this.prefsService=a;this.appEvents=b;this.analytics=c;this.numNeedsAttentionTasks$=this.appEvents.missionControlTaskCount;this.refreshData=new W.Subject;this.numNeedsAttentionTasks$.pipe(te(lj),ef(),qf(this.destroyed$)).subscribe(function(h){d.analytics.trackEvent("missionControl","display","num-needs-attention-"+h,h)});var e;a=(e=this.prefsService.prefs.needsAttentionSources)!=null?e:[];e=this.prefsService.prefs.isNeedsAttentionSourcesConfigured;e=a.length!==
0||e?a:[].concat(r(Wlc));var f;a=(f=this.prefsService.prefs.needsAttentionDaysOld)!=null?f:30;this.analytics.trackEvent("missionControl","view","needsAttention-sources-"+e.join(",")+"-"+a)};X(b8,Z);b8.\u0275dir=Z.\u0275dir;b8.prototype.isCollapsed=function(){return this.prefsService.isCollapsed("needs-attention-wrapper")};b8.prototype.toggleCollapsed=function(){this.prefsService.toggleCollapsed("needs-attention-wrapper")};b8.\u0275fac=function(a){return new (a||b8)(A(bQ),A(yE),A(bG))};
b8.\u0275cmp=p({type:b8,selectors:[["needs-attention-wrapper"]],inputs:{refreshData:"refreshData"},features:[zf],decls:10,vars:6,consts:[[1,"carded","bg-main"],[1,"flex-kids-x","align-items-center"],[1,"heading-s"],["svgIcon","info","tabindex","0","role","button","aria-hidden","false","aria-label","Work items which require actions from you","matTooltip","Work items which require actions from you",1,"info","margin-s-left"],["mat-icon-button","","aria-label","Toggle expansion state",1,"gmat-button",
"small","collapse-btn","margin-s-left",3,"click"],["svgIcon","arrow-up",1,"icon-m"],["class","alert-count-badge b-chip",4,"ngIf"],["class","main-content",4,"ngIf"],[1,"alert-count-badge","b-chip"],[1,"alert-count"],[1,"main-content"],[3,"refreshTable"]],template:function(a,b){a&1&&(F(0,"div",0)(1,"header",1)(2,"h3",2),R(3," Needs attention "),G(),H(4,"mat-icon",3),F(5,"button",4),M("click",function(){return b.toggleCollapsed()}),H(6,"mat-icon",5),G(),C(7,yHb,3,1,"div",6),T(8,"async"),G(),C(9,zHb,
2,1,"div",7),G());a&2&&(Kf("collapsed",b.isCollapsed()),z(7),D("ngIf",V(8,4,b.numNeedsAttentionTasks$)),z(2),D("ngIf",!b.isCollapsed()))},dependencies:[Gv,zB,oE,a8,LH,OH,Lv],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 oIb=function(){return[]},pIb=function(){return["moreRows"]},c8=function(a,b,c,d,e,f,h,k,q){Z.call(this);var t=this;this.prefsService=a;this.issueFridge=b;this.router=c;this.domSafe=d;this.analytics=e;this.errorHandler=f;this.activeSession=h;this.clipboard=k;this.myTasksFridge=q;this.OPTIONAL_SOURCE_FILTERS=["GERRIT"];this.ALL_MY_TASK_FILTERS=[].concat(r(Xlc),r(this.OPTIONAL_SOURCE_FILTERS));this.TaskResourceType=X3b;this.taskResourceTypeToIcon=pDa;this.extractLastDigits=gp;this.tableColumns=[].concat(r(vmc));
this.tableOptions=Object.assign({},ymc,{rowLimit:10});this.refreshData=new W.Subject;this.sources$=this.prefsService.myTasksSources$;this.timeBoundary$=this.prefsService.prefs$.pipe(y(function(E){var I;return(I=E==null?void 0:E.myTasksDaysOld)!=null?I:7}));var w;this.INITIAL_TAB_INDEX=(w=nmc(this.prefsService,"mc-my-tasks"))!=null?w:0;this.enableNewVisibilityChips=this.activeSession.getFlag("enableNewVisibilityChips");this.tabData=[{label:"Owned",description:"Tasks you own or are the author of",liteTasks:new W.BehaviorSubject([]),
loading:!0},{label:"Collaborating",description:"Tasks you're working on or contributing to (but don't own)",liteTasks:new W.BehaviorSubject([]),loading:!0},{label:"Following",description:"Tasks you're tracking or have recent activities on",liteTasks:new W.BehaviorSubject([]),loading:!0},AHb(this.issueFridge)].filter(lj);this.myTasks$=(0,W.combineLatest)([this.timeBoundary$,this.sources$]).pipe(qf(this.destroyed$),df(function(E,I){return E[0]===I[0]&&pi(E[1],I[1])}),pf(function(E){var I=l(E);E=I.next().value;
I=I.next().value;var J=new Set(I.map(function(N){return dp(N)}));return t.myTasksFridge.watchMany({maxTaskAgeDays:E,sources:Array.from(J),issueFilter:BHb(I)})}));this.displayColumns="type title modified role created copy".split(" ");this.DEFAULT_NUM_ROWS_DISPLAYED=this.numDisplayedRows=10;this.myTasks$.subscribe(function(E){var I=E.results;E=I.filter(function(ba){return ba.resourceRelationships.filter(function(ma){return ma.category==="OWNER"}).length>0}).sort(xIb);var J=I.filter(function(ba){return ba.resourceRelationships.filter(function(ma){return ma.category===
"COLLABORATOR"}).length>0}).sort(xIb);I=I.filter(function(ba){return ba.resourceRelationships.filter(function(ma){return ma.category==="FOLLOWING"}).length>0}).sort(xIb);var N;(N=t.tabData[0].liteTasks)==null||N.next(E);var P;(P=t.tabData[1].liteTasks)==null||P.next(J);var U;(U=t.tabData[2].liteTasks)==null||U.next(I);t.tabData[0].loading=!1;t.tabData[1].loading=!1;t.tabData[2].loading=!1});var B;this.analytics.trackEvent("missionControl","display","my-tasks-"+((B=this.tabData[this.INITIAL_TAB_INDEX])==
null?void 0:B.label));this.myTasksFridge.error$.pipe(qf(this.destroyed$)).subscribe(function(E){t.errorHandler.errorHandler(null,E)})};X(c8,Z);c8.\u0275dir=Z.\u0275dir;g=c8.prototype;g.ngOnInit=function(){var a=this;this.refreshData.pipe(qf(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 dp(e)}));a.myTasksFridge.watchMany({maxTaskAgeDays:c,sources:Array.from(d),issueFilter:BHb(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){jVa(this.prefsService,"mc-my-tasks",a);this.numDisplayedRows=10;var b;this.analytics.trackEvent("missionControl","view",(b=this.tabData[a])==null?void 0:b.label)};
g.navigateToResource=function(a,b){if(!(a.defaultPrevented||a.type==="mouseup"&&a instanceof MouseEvent&&a.button!==1)){this.sendClickAnalytics(b);var c;a&&((c=a.target)==null?void 0:c.tagName)==="A"||(b.taskResourceType==="ISSUE"?(b=gp(b.taskId),b=zo.viewIssue.makeHref(b),Dk(a)?this.domSafe.openInNewTab(b):a&&a.shiftKey?ko(this.domSafe,b):qr(this.router,b)):this.domSafe.openInNewTab(b.externalLink))}};
g.copyIdOrLink=function(a){a.taskResourceType==="ISSUE"?(a=gp(a.taskId),this.clipboard.copy(a)):this.clipboard.copy(a.externalLink)};g.sendClickAnalytics=function(a){var b,c=((b=a.resourceRelationships[0].roleName)!=null?b:"").split(" ").map(function(d,e){return e===0?d.toLowerCase():d.charAt(0).toUpperCase()+d.substring(1).toLowerCase()}).join("");this.analytics.trackEvent("missionControl","navigate","myTasks-"+a.taskResourceType+"-"+c)};
g.sendDmaAnalytics=function(){this.analytics.trackEvent("missionControl","click","dmaChip")};g.getIds=function(a){return a.map(function(b){return b.issueId})};var SHb=function(a){return a==="P0"||a==="P1"};c8.\u0275fac=function(a){return new (a||c8)(A(bQ),A(jG),A(pB),A(FH),A(bG),A(uE),A(Ir),A(MH),A(MG))};
c8.\u0275cmp=p({type:c8,selectors:[["my-tasks"]],inputs:{refreshData:"refreshData"},features:[zf],decls:12,vars:3,consts:[["loadingSpinner",""],["dashDash",""],["noTitle",""],[1,"carded","bg-main"],[1,"flex-kids-x","align-items-center"],[1,"heading-s"],["svgIcon","info","tabindex","0","role","button","aria-hidden","false","aria-label","My tasks helps you quickly find your active tasks and docs organized by your relation to them","matTooltip","My tasks helps you quickly find your active tasks and docs organized by your relation to them",
1,"info","margin-s-left"],["mat-icon-button","","aria-label","Toggle collapsed state for this card",1,"gmat-button","small","collapse-btn","margin-s-left",3,"click"],["svgIcon","arrow-up",1,"icon-m"],["class","main-content margin-s-top",4,"ngIf"],[1,"main-content","margin-s-top"],["gmat-tabs","","matAlignTabs","start","matStretchTabs","false","preserveContent","",3,"selectedIndexChange","selectedIndex"],[4,"ngFor","ngForOf"],["mat-tab-label",""],[1,"tab-filters","flex-kids-x","align-items-center",
"padded-xs-y","border-bottom"],[4,"ngIf","ngIfElse"],["matTooltipShowDelay","500",1,"tab-label",3,"matTooltip"],[4,"ngIf"],[1,"padded-s-x",3,"change","sourceFilterKeys","selectedSources"],[1,"border-left","padded-s-left",3,"change","selectedTimeBoundary"],[3,"issueIds","tableColumns","options"],[1,"muted","border-bottom","padded-s-y"],["mat-table","",3,"dataSource"],["matColumnDef","type"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","title"],["matColumnDef",
"modified"],["matColumnDef","role"],["matColumnDef","created"],["matColumnDef","copy"],["mat-header-cell","","class","copy-btn-header border-bottom",4,"matHeaderCellDef"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","","class","clickable",3,"click",4,"matRowDef","matRowDefColumns"],["matColumnDef","moreRows"],["mat-footer-cell","","colspan","2",4,"matFooterCellDef"],["mat-footer-row","",3,"hidden",4,"matFooterRowDef"],["class","mat-row padded-y",4,"matNoDataRow"],["mat-header-cell",""],["mat-cell",
""],["matTooltipPosition","left","matTooltipShowDelay","250",3,"matTooltip","svgIcon"],[3,"accessLevel","compactMode"],["class","margin-xs-right",3,"issuePriority",4,"ngIf"],[1,"subtle-link","break-word",3,"auxclick","href"],[3,"hotlistIds","onChipClicked",4,"ngIf"],[3,"issueId","compactMode"],[3,"accessLevel","compactMode",4,"ngIf"],[1,"margin-xs-right",3,"issuePriority"],[3,"onChipClicked","hotlistIds"],[1,"italic"],["mode","relativepastshort",3,"timestamp","paddingLeftPx",4,"ngIf"],["mode","relativepastshort",
3,"timestamp","paddingLeftPx"],["mat-header-cell","",1,"copy-btn-header","border-bottom"],["mat-icon-button","",1,"copy-btn","xs",3,"click","matTooltip"],["svgIcon","copy","color","primary",1,"copy-icon"],["mat-header-row",""],["mat-row","",1,"clickable",3,"click"],["mat-footer-cell","","colspan","2"],["mat-button","","class","gmat-button margin-s-top",3,"click",4,"ngIf"],["mat-button","",1,"gmat-button","margin-s-top",3,"click"],["class","icon","svgIcon","arrow-down",4,"ngIf"],["class","icon","svgIcon",
"arrow-up",4,"ngIf"],["svgIcon","arrow-down",1,"icon"],["svgIcon","arrow-up",1,"icon"],["mat-footer-row","",3,"hidden"],[1,"mat-row","padded-y"],["class","mat-cell type-l text-center padded-top","colspan","5",4,"ngIf"],["colspan","5",1,"mat-cell","type-l","text-center","padded-top"],[1,"text-center","border-bottom","padded-s-y"],[3,"ariaLabel"]],template:function(a,b){if(a&1){var c=u();F(0,"div",3)(1,"header",4)(2,"h3",5);R(3," My tasks ");G();H(4,"mat-icon",6);F(5,"button",7);M("click",function(){v(c);
return x(b.toggleCollapsed())});H(6,"mat-icon",8);G()();C(7,uIb,3,2,"div",9);G();C(8,vIb,2,1,"ng-template",null,0,yg)(10,wIb,1,0,"ng-template",null,1,yg)}a&2&&(Kf("collapsed",b.isCollapsed()),z(7),D("ngIf",!b.isCollapsed()))},dependencies:[Fv,Gv,zB,mN,RQ,Y7,Z7,TM,yN,$7,TN,fT,oE,HM,AM,BM,CM,lR,jS,WR,cS,ZR,VR,eS,YR,dS,$R,bS,aS,fS,hS,gS,iS,LH,OH,Lv],styles:[".mat-mdc-header-cell[_ngcontent-%COMP%]{font-weight:500}tr.mat-mdc-header-row[_ngcontent-%COMP%], tr.mat-mdc-row[_ngcontent-%COMP%]{height:32px}td.mat-mdc-cell[_ngcontent-%COMP%], td.mat-mdc-footer-cell[_ngcontent-%COMP%], th.mat-mdc-header-cell[_ngcontent-%COMP%]{font-size:.8125rem;padding:0 4px}td.mat-mdc-cell[_ngcontent-%COMP%], td.mat-mdc-footer-cell[_ngcontent-%COMP%]{color:#202124;color:var(--row-default-text)}th.mat-mdc-header-cell[_ngcontent-%COMP%]{color:#202124;color:var(--text-high-contrast)}td.mat-column-menu[_ngcontent-%COMP%], td.mat-column-save[_ngcontent-%COMP%]{width:32px;height:32px}.mat-mdc-cell[_ngcontent-%COMP%]:first-of-type, .mat-mdc-footer-cell[_ngcontent-%COMP%]:first-of-type, .mat-mdc-header-cell[_ngcontent-%COMP%]:first-of-type{padding-left:0}.mat-mdc-cell[_ngcontent-%COMP%]:last-of-type, .mat-mdc-footer-cell[_ngcontent-%COMP%]:last-of-type, .mat-mdc-header-cell[_ngcontent-%COMP%]:last-of-type{padding-right:0}.mat-mdc-row[_ngcontent-%COMP%]:last-of-type   .mat-mdc-cell[_ngcontent-%COMP%]{border-bottom:1px solid;border-bottom-color:#dadce0;border-bottom-color:var(--divider)}tr.mat-mdc-row.clickable[_ngcontent-%COMP%]{cursor:pointer}tr.mat-mdc-row.clickable[_ngcontent-%COMP%]:hover{background-color:rgba(0,0,0,.04);background-color:var(--hover-bg)}[_nghost-%COMP%]{display:block}.collapse-btn[_ngcontent-%COMP%]{-webkit-transition:-webkit-transform .1s ease-in-out;transition:-webkit-transform .1s ease-in-out;transition:transform .1s ease-in-out;transition:transform .1s ease-in-out,-webkit-transform .1s ease-in-out}.collapsed[_ngcontent-%COMP%]   .collapse-btn[_ngcontent-%COMP%]{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.carded[_ngcontent-%COMP%]{-webkit-transition:none .1s ease-in-out;transition:none .1s ease-in-out;-webkit-transition-property:padding;transition-property:padding}.carded.collapsed[_ngcontent-%COMP%]{padding-top:8px;padding-bottom:8px}.time-boundary-listbox[_ngcontent-%COMP%]   mat-chip-option[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{cursor:pointer}table[_ngcontent-%COMP%]{width:100%;table-layout:fixed}mat-header-row[_ngcontent-%COMP%], mat-row[_ngcontent-%COMP%]{min-height:2rem}mat-header-cell[_ngcontent-%COMP%]{font-weight:500}.mat-mdc-cell[_ngcontent-%COMP%], .mat-mdc-header-cell[_ngcontent-%COMP%]{padding:0 .75rem}.mat-column-type[_ngcontent-%COMP%]{width:4%;min-width:45px;text-align:center}.mat-column-type[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{vertical-align:middle}.mat-column-created[_ngcontent-%COMP%], .mat-column-modified[_ngcontent-%COMP%]{min-width:180px;width:12%}.mat-column-role[_ngcontent-%COMP%]{min-width:100px;width:10%}.copy-btn-header[_ngcontent-%COMP%]{min-width:32px;width:3%}.mat-column-moreRows[_ngcontent-%COMP%]{border:none}.product-icon.critique-logo[_ngcontent-%COMP%]{max-width:20px}.product-icon.drive-doc[_ngcontent-%COMP%]{color:var(--blue-700)}.product-icon.drive-sheet[_ngcontent-%COMP%]{color:var(--green-600)}.product-icon.drive-slide[_ngcontent-%COMP%]{color:var(--yellow-600)}.product-icon.gerrit-logo[_ngcontent-%COMP%]{max-width:20px}.info[_ngcontent-%COMP%]{color:#5f6368;color:var(--icon);height:20px;width:20px}.tab-label[_ngcontent-%COMP%]{cursor:pointer}.mat-column-copy[_ngcontent-%COMP%]   .copy-icon[_ngcontent-%COMP%]{color:#fff;color:var(--background);margin-bottom:1px}.copy-btn.cdk-keyboard-focused[_ngcontent-%COMP%]   .copy-icon[_ngcontent-%COMP%], .mat-mdc-row[_ngcontent-%COMP%]:focus-visible   .copy-icon[_ngcontent-%COMP%], .mat-mdc-row[_ngcontent-%COMP%]:hover   .copy-icon[_ngcontent-%COMP%]{color:#1a73e8;color:var(--primary);background-color:unset}[_nghost-%COMP%]     .copy-btn:focus-within:not(.cdk-keyboard-focused) .mat-button-focus-overlay{opacity:0}\n/*# sourceMappingURL=my_tasks.css.map */"]});var d8=function(a,b,c,d,e,f){Z.call(this);var h=this;this.hostElement=a;this.analytics=b;this.userFeedback=c;this.prefsService=d;this.hatsService=e;this.appSearchState=f;this.HOTKEYS=Sq;this.refreshMissionControlData=new W.Subject;this.captureAnyClick=function(k){k=Mwa(k);for(var q=l(Object.entries(fQc)),t=q.next();!t.done;t=q.next()){var w=l(t.value);t=w.next().value;w=w.next().value;if(k.includes(t)){h.analytics.trackEvent("missionControl","click",w);break}}}};X(d8,Z);d8.\u0275dir=Z.\u0275dir;
d8.prototype.ngOnInit=function(){var a=this;setTimeout(function(){a.appSearchState.clear()});this.hostElement.nativeElement.addEventListener("click",this.captureAnyClick,!0);var b=l(gQc(this)),c=b.next().value;b=b.next().value;this.analytics.trackEvent("missionControl","sections-on-load",c,b);$oc(this.hatsService,"u5xoTzKbb0g6pPHSLo10WcCoiLmK").pipe(qf(this.destroyed$)).subscribe()};
d8.prototype.ngOnDestroy=function(){Z.prototype.ngOnDestroy.call(this);this.hostElement.nativeElement.removeEventListener("click",this.captureAnyClick,!0)};var gQc=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]};d8.prototype.refresh=function(){this.refreshMissionControlData.next()};
d8.\u0275fac=function(a){return new (a||d8)(A(Rd),A(bG),A(lV),A(bQ),A(MS),A(xH))};
d8.\u0275cmp=p({type:d8,selectors:[["ng-component"]],features:[zf],decls:14,vars:4,consts:[[1,"a11y-only"],[1,"padded-s","flex-kids-y","gap-s","pos-fill","bg-off-main","overflow","overflow-on-print-media",3,"onHotkey","hotkey"],[1,"flex-kids-x","align-items-center","justify-flex-end","info-row"],["href","http://go/b-home","target","_blank",1,"margin-right","learn-more-link"],["mat-stroked-button","",1,"gmat-button","small",3,"click"],[1,"a"],[3,"refreshData"],[1,"t"],[1,"w"]],template:function(a,
b){a&1&&(F(0,"h2",0),R(1,"Mission Control"),G(),F(2,"div",1),M("onHotkey",function(){return b.refresh()}),F(3,"div",2)(4,"a",3),R(5,"Learn about 'Home'"),G(),F(6,"button",4),M("click",function(){Ysc(b.userFeedback)}),R(7,"Give feedback"),G()(),F(8,"section",5),H(9,"needs-attention-wrapper",6),G(),F(10,"section",7),H(11,"my-tasks",6),G(),F(12,"section",8),H(13,"work-areas-wrapper-card",6),G()());a&2&&(z(2),D("hotkey",b.HOTKEYS.REFRESH_ISSUE_LIST),z(7),D("refreshData",b.refreshMissionControlData),z(2),
D("refreshData",b.refreshMissionControlData),z(2),D("refreshData",b.refreshMissionControlData))},dependencies:[oE,zT,b8,c8,MN],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 fQc={"NEEDS-ATTENTION-WRAPPER":"needs-attention","MY-TASKS":"my-tasks","MY-TASKS-V1":"my-tasks","WORK-AREAS-WRAPPER-CARD":"work-areas"};var hQc=function(a,b){this.name=a;this.resourceType=b;this.options=[]};hQc.prototype.shouldDisplay=function(){return!0};hQc.prototype.hasOptions=function(){return!1};hQc.prototype.getDefaultOptionId=function(){return null};var e8=function(a,b){this.name=a;this.resourceType=b;this.options=[]};e8.prototype.shouldDisplay=function(){return this.options.length>0};e8.prototype.hasOptions=function(){return this.options.length>0};
e8.prototype.getDefaultOptionId=function(){return this.hasOptions()?this.options[0].id:null};
var iQc=function(a,b){this.id=a;this.name=b},lQc=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 W.Subscription;this.missionControlMainOption=new hQc("Home","MISSION_CONTROL");this.assignedToMeMainOption=new hQc("Assigned to me","ASSIGNED_TO_ME");this.hotlistMainOption=new e8("Hotlist","HOTLIST");this.savedSearchMainOption=new e8("Saved search","SAVED_SEARCH");
this.bookmarkGroupMainOption=new e8("Bookmark group","BOOKMARK_GROUP");this.mainOptions=[this.assignedToMeMainOption,this.hotlistMainOption,this.savedSearchMainOption,this.bookmarkGroupMainOption];jQc(this)&&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];kQc(this);this.subscriptions.add(this.appEvents.sidebarUpdated.subscribe(function(){kQc(h);h.cdr.detectChanges()}));this.subscriptions.add(this.userPreferencesManager.preferences$.subscribe(function(k){k.homepagePreferences&&(k=k.homepagePreferences,k.resourceType?h.selectedMainOption=h.resourceMainOptions[k.resourceType]||h.mainOptions[0]:jQc(h)?h.selectedMainOption=h.missionControlMainOption:h.selectedMainOption=h.assignedToMeMainOption,h.selectedOptionId=
k.resourceId||null,kQc(h))}))};lQc.prototype.destroy=function(){this.subscriptions.unsubscribe()};
var BIb=function(a){Ap(a.butterBar,"Saving preferences...",0);var b={resourceType:a.selectedMainOption.resourceType};a.selectedMainOption.hasOptions()&&a.selectedOptionId&&(b.resourceId=a.selectedOptionId);q9b(a.userPreferencesManager,b).subscribe(function(){Ap(a.butterBar,"Preferences saved.",4E3)})},kQc=function(a){function b(c){return new iQc(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 iQc(String(a.selectedOptionId),a.selectedMainOption.name+" "+a.selectedOptionId)))},jQc=function(a){return a.activeSession.isInternalSession()&&a.activeSession.getFlag("enableHomepageVariantA")};var mQc=Cxa[3],f8=function(a,b,c,d,e,f,h,k,q){Z.call(this);this.cdr=a;this.userPreferencesManager=b;this.butterBar=c;this.activeSession=d;this.documentationLinks=e;this.analytics=f;this.sidebar=k;this.appEvents=q;this.IS_INTERNAL_USER=this.activeSession.isInternalSession();this.dateFormats=[{value:"MMM d, yyyy",label:"Dec 31, 2015"},{value:"EE MMM dd, yyyy",label:"Thu Dec 31, 2015"},{value:"yyyy-MM-dd",label:"2015-12-31"},{value:"MM/dd/yyyy",label:"12/31/2015"},{value:"dd-MM-yyyy",label:"31-12-2015"},
{value:"dd.MM.yyyy",label:"31.12.2015"}];this.timeFormats=[{value:"hh:mma",label:"01:00PM"},{value:"h:mma",label:"1:00PM"},{value:"HH:mm",label:"13:00"},{value:"HH:mm:ss",label:"13:00:01"}];this.timeZones=[];this.appName=d.getAppName();this.timeZones.push.apply(this.timeZones,r(h.supportedTimeZones.map(function(t){return{value:t.id,label:t.name}})));this.sloEnabled=d.isInternalSession();this.showBugScreensaverSetting=d.isInternalSession();this.showShowInlineImagesSetting=d.isInternalSession()&&this.activeSession.getFlag("enableImageSummary")};
X(f8,Z);f8.\u0275dir=Z.\u0275dir;f8.prototype.ngOnInit=function(){var a=this;this.destroyed$.subscribe(function(){var b;(b=a.preferredHomepage)==null||b.destroy()});this.preferredHomepage=new lQc(this.butterBar,this.sidebar,this.userPreferencesManager,this.cdr,this.appEvents,this.activeSession);this.userPreferencesManager.preferences$.pipe(qf(this.destroyed$)).subscribe(function(b){a.userPreferences=b;a.cdr.detectChanges()})};
f8.prototype.save=function(a,b,c){var d=this;Ap(this.butterBar,"Saving preferences...",0);this.userPreferencesManager.save(this.userPreferences).subscribe(function(){Ap(d.butterBar,"Preferences saved.",4E3)});this.analytics.trackEvent("preferences",a,b,c)};var nQc=function(a){var b;return((b=a.userPreferences.textDisplayPreferences)==null?void 0:b.commentDisplayOverride)===mQc};f8.prototype.getShowInlineImages=function(){var a;return(a=this.userPreferences.showInlineImages)!=null?a:!1};
ea.Object.defineProperties(f8.prototype,{hideBadgeInNav:{configurable:!0,enumerable:!0,get:function(){var a,b;return!!((a=this.userPreferences)==null?0:(b=a.missionControlPreferences)==null?0:b.hideBadgeInNav)}}});f8.\u0275fac=function(a){return new (a||f8)(A(YF,2),A(rH),A(sE),A(Ir),A(oI),A(bG),A(JI),A(jU),A(yE))};
f8.\u0275cmp=p({type:f8,selectors:[["b-general-settings"]],features:[qg([YF]),zf],decls:70,vars:16,consts:[[1,"flex-kids-x","gap-l","margin-bottom"],[1,"settings-main-left","margin-right"],[1,"heading-s"],[1,"muted","type-s"],["target","_blank",3,"href"],["appearance","outline"],["matTooltip","Current selection for preferred homepage"],["id","bv2-homepage-pref-selection",3,"ngModelChange","selectionChange","ngModel"],[4,"ngFor","ngForOf"],["appearance","outline",4,"ngIf"],[4,"ngIf"],[1,"margin-y"],
["id","bv2-datetime-pref-date-formatting","appearance","outline"],["matTooltip","Date/time formatting - Use this format for calendar dates."],[3,"ngModelChange","selectionChange","ngModel"],[3,"value",4,"ngFor","ngForOf"],["id","bv2-datetime-pref-time-formatting","appearance","outline"],["matTooltip","Date/time formatting - Use this format for times."],["id","bv2-datetime-pref-timezone","appearance","outline"],["matTooltip","Date/time formatting - Format dates and times with respect to this time zone."],
["id","bv2-enable-all-hotkeys",3,"change","checked"],[1,"margin-bottom"],["id","bv2-force-plain-text",3,"change","checked"],["id","bv2-force-code-font"],["class","margin-bottom",4,"ngIf"],["class","bv2-settings-preferred-homepage-main-option-select-item",3,"value",4,"ngIf"],[1,"bv2-settings-preferred-homepage-main-option-select-item",3,"value"],["id","bv2-homepage-pref-suboption-selection",1,"homepage-option-select",3,"ngModelChange","selectionChange","ngModel"],["class","bv2-settings-preferred-homepage-option-select-item",
3,"value",4,"ngFor","ngForOf"],[1,"bv2-settings-preferred-homepage-option-select-item",3,"value"],["id","hide-nav-badge",3,"change","checked"],[3,"value"],["id","bv2-show-inline-images",3,"change","checked"],["id","bv2-bug-screensaver",3,"change","checked"]],template:function(a,b){a&1&&(F(0,"div")(1,"div",0)(2,"div",1)(3,"p",2),R(4,"Preferred homepage"),G(),F(5,"p",3),R(6," Select your preferred homepage when first opening the app. "),F(7,"a",4),R(8," Learn more "),G()()(),F(9,"div")(10,"div")(11,
"mat-form-field",5)(12,"mat-label",6),R(13," Current selection "),G(),F(14,"mat-select",7),pg("ngModelChange",function(c){og(b.preferredHomepage.selectedMainOption,c)||(b.preferredHomepage.selectedMainOption=c);return c}),M("selectionChange",function(){var c=b.preferredHomepage;c.selectedOptionId=c.selectedMainOption.getDefaultOptionId();BIb(c);c.cdr.detectChanges()}),C(15,zIb,2,1,"ng-container",8),G()(),C(16,CIb,3,2,"mat-form-field",9),G(),C(17,DIb,3,1,"div",10),G()(),H(18,"hr",11),F(19,"div",0)(20,
"div",1)(21,"p",2),R(22,"Date/time formatting settings"),G(),F(23,"p",3),R(24," Select how you want dates and times to be formatted. "),F(25,"a",4),R(26," Learn more "),G()()(),F(27,"div")(28,"div")(29,"mat-form-field",12)(30,"mat-label",13),R(31," Dates "),G(),F(32,"mat-select",14),pg("ngModelChange",function(c){og(b.userPreferences.dateTimePreferences.calendarFormat,c)||(b.userPreferences.dateTimePreferences.calendarFormat=c);return c}),M("selectionChange",function(){return b.save("saveDateTimePreferences")}),
C(33,EIb,2,2,"mat-option",15),G()()(),F(34,"div")(35,"mat-form-field",16)(36,"mat-label",17),R(37," Times "),G(),F(38,"mat-select",14),pg("ngModelChange",function(c){og(b.userPreferences.dateTimePreferences.timeFormat,c)||(b.userPreferences.dateTimePreferences.timeFormat=c);return c}),M("selectionChange",function(){return b.save("saveDateTimePreferences")}),C(39,FIb,2,2,"mat-option",15),G()()(),F(40,"div")(41,"mat-form-field",18)(42,"mat-label",19),R(43," Time Zones "),G(),F(44,"mat-select",14),pg("ngModelChange",
function(c){og(b.userPreferences.dateTimePreferences.timeZone,c)||(b.userPreferences.dateTimePreferences.timeZone=c);return c}),M("selectionChange",function(){return b.save("saveDateTimePreferences")}),C(45,GIb,2,2,"mat-option",15),G()()()()(),H(46,"hr",11),F(47,"div",0)(48,"div",1)(49,"p",2),R(50,"Keyboard settings"),G()(),F(51,"div")(52,"div")(53,"mat-slide-toggle",20),M("change",function(c){b.userPreferences.keyboardPreferences.enableAllHotkeys=c.checked;return b.save("saveKeyboardPreferences")}),
R(54," Enable all hotkeys "),G()()()(),H(55,"hr",11),F(56,"div",0)(57,"div",1)(58,"p",2),R(59,"Display settings"),G()(),F(60,"div")(61,"div",21)(62,"mat-slide-toggle",22),M("change",function(c){b.userPreferences.textDisplayPreferences&&(b.userPreferences.textDisplayPreferences.commentDisplayOverride=c.checked?mQc:void 0,b.save("saveTextDisplayPreferences.commentDisplayOverride"))}),R(63," Force comments to display as plain text "),G()(),F(64,"div",21)(65,"b-toggle-code-font",23),R(66," Force comments to display with code font "),
G()(),C(67,HIb,3,1,"div",24),G()(),H(68,"hr",11),C(69,IIb,9,1,"ng-container",10),G());a&2&&(z(7),D("href",b.documentationLinks.baseDocumentationUrl+"/guides/set-a-homepage",Qe),z(7),ng("ngModel",b.preferredHomepage.selectedMainOption),z(),D("ngForOf",b.preferredHomepage.mainOptions),z(),D("ngIf",b.preferredHomepage.selectedMainOption.hasOptions()),z(),D("ngIf",b.IS_INTERNAL_USER),z(8),D("href",b.documentationLinks.baseDocumentationUrl+"/guides/set-date-time-formatting",Qe),z(7),ng("ngModel",b.userPreferences.dateTimePreferences.calendarFormat),
z(),D("ngForOf",b.dateFormats),z(5),ng("ngModel",b.userPreferences.dateTimePreferences.timeFormat),z(),D("ngForOf",b.timeFormats),z(5),ng("ngModel",b.userPreferences.dateTimePreferences.timeZone),z(),D("ngForOf",b.timeZones),z(8),D("checked",b.userPreferences.keyboardPreferences.enableAllHotkeys),z(9),D("checked",nQc(b)),z(5),D("ngIf",b.showShowInlineImagesSetting),z(2),D("ngIf",b.showBugScreensaverSetting))},dependencies:[Fv,Gv,qy,yy,mM,Wy,Qy,nM,Kx,kM,HW,IW,LH,OH,T6],styles:["[_nghost-%COMP%]     mat-tab-body{height:calc(100vh - 150px)}mat-form-field[_ngcontent-%COMP%]{font-size:.9375rem}mat-slide-toggle[_ngcontent-%COMP%]{font-size:.875rem}div.settings-main-left[_ngcontent-%COMP%]{width:200px;min-width:200px}[_nghost-%COMP%]     .gmat-tabs .mat-mdc-tab-list .mat-mdc-tab-label.cdk-focused.cdk-mouse-focused:not(.mat-mdc-tab-disabled), [_nghost-%COMP%]     .gmat-tabs .mat-mdc-tab-list .mat-mdc-tab-link.cdk-focused.cdk-mouse-focused:not(.mat-mdc-tab-disabled){background-color:rgba(0,0,0,.12);background-color:var(--focus-bg)}/*# sourceMappingURL=settings.css.map */"]});var g8=function(a,b,c,d){Z.call(this);var e=this;this.userPreferencesManager=a;this.butterBar=b;this.documentationLinks=c;this.analytics=d;this.priorities=["ALL","IMPORTANT","CLOSURE_ONLY","MINIMAL"];this.userPreferencesManager.preferences$.pipe(qf(this.destroyed$)).subscribe(function(f){e.userPreferences=f})};X(g8,Z);g8.\u0275dir=Z.\u0275dir;
g8.prototype.save=function(a,b,c){var d=this;Ap(this.butterBar,"Saving preferences...",0);this.userPreferencesManager.save(this.userPreferences).subscribe(function(){Ap(d.butterBar,"Preferences saved.",4E3)});this.analytics.trackEvent("preferences",a,b,c)};g8.\u0275fac=function(a){return new (a||g8)(A(rH),A(sE),A(oI),A(bG))};
g8.\u0275cmp=p({type:g8,selectors:[["b-notification-settings"]],features:[zf],decls:48,vars:14,consts:[[1,"flex-kids-x","gap-l"],[1,"settings-main-left","margin-right"],[1,"heading-s"],[1,"muted","type-ss"],["target","_blank",3,"href"],["appearance","outline","id","bv2-notification-pref-assigned"],["matTooltip","Notification level - issues for which you are the assignee"],[3,"ngModelChange","selectionChange","ngModel"],[3,"value",4,"ngFor","ngForOf"],["appearance","outline","id","bv2-notification-pref-reported"],
["matTooltip","Notification level - issues for which you are the reporter"],["appearance","outline","id","bv2-notification-pref-verified"],["matTooltip","Notification level - issues for which you are the verifier"],["appearance","outline","id","bv2-notification-pref-collaborator"],["matTooltip","Notification level - issues for which you are the collaborator"],["appearance","outline","id","bv2-notification-pref-ccd"],["matTooltip","Notification level - issues on which you are CC'd"],["appearance",
"outline","id","bv2-notification-pref-starred"],["matTooltip","Notification level - issues that you have starred"],["id","bv2-exclude-changes-by-me",3,"change","checked"],[3,"value"]],template:function(a,b){a&1&&(F(0,"div",0)(1,"div",1)(2,"p",2),R(3,"Notification settings"),G(),F(4,"p",3),R(5," Select the level of email you want to receive for each issue role. "),F(6,"a",4),R(7," Learn more "),G()()(),F(8,"div")(9,"div")(10,"mat-form-field",5)(11,"mat-label",6),R(12," Assignee "),G(),F(13,"mat-select",
7),pg("ngModelChange",function(c){og(b.userPreferences.notificationPreferences.assignedPriority,c)||(b.userPreferences.notificationPreferences.assignedPriority=c);return c}),M("selectionChange",function(){return b.save("saveNotificationPreferences")}),C(14,JIb,3,4,"mat-option",8),G()()(),F(15,"div")(16,"mat-form-field",9)(17,"mat-label",10),R(18," Reporter "),G(),F(19,"mat-select",7),pg("ngModelChange",function(c){og(b.userPreferences.notificationPreferences.reportedPriority,c)||(b.userPreferences.notificationPreferences.reportedPriority=
c);return c}),M("selectionChange",function(){return b.save("saveNotificationPreferences")}),C(20,KIb,3,4,"mat-option",8),G()()(),F(21,"div")(22,"mat-form-field",11)(23,"mat-label",12),R(24," Verifier "),G(),F(25,"mat-select",7),pg("ngModelChange",function(c){og(b.userPreferences.notificationPreferences.verifiedPriority,c)||(b.userPreferences.notificationPreferences.verifiedPriority=c);return c}),M("selectionChange",function(){return b.save("saveNotificationPreferences")}),C(26,LIb,3,4,"mat-option",
8),G()()(),F(27,"div")(28,"mat-form-field",13)(29,"mat-label",14),R(30," Collaborator "),G(),F(31,"mat-select",7),pg("ngModelChange",function(c){og(b.userPreferences.notificationPreferences.collaboratorPriority,c)||(b.userPreferences.notificationPreferences.collaboratorPriority=c);return c}),M("selectionChange",function(){return b.save("saveNotificationPreferences")}),C(32,MIb,3,4,"mat-option",8),G()()(),F(33,"div")(34,"mat-form-field",15)(35,"mat-label",16),R(36," CC'd "),G(),F(37,"mat-select",7),
pg("ngModelChange",function(c){og(b.userPreferences.notificationPreferences.ccdPriority,c)||(b.userPreferences.notificationPreferences.ccdPriority=c);return c}),M("selectionChange",function(){return b.save("saveNotificationPreferences")}),C(38,NIb,3,4,"mat-option",8),G()()(),F(39,"div")(40,"mat-form-field",17)(41,"mat-label",18),R(42," Starred "),G(),F(43,"mat-select",7),pg("ngModelChange",function(c){og(b.userPreferences.notificationPreferences.starredPriority,c)||(b.userPreferences.notificationPreferences.starredPriority=
c);return c}),M("selectionChange",function(){return b.save("saveNotificationPreferences")}),C(44,OIb,3,4,"mat-option",8),G()()(),F(45,"div")(46,"mat-slide-toggle",19),M("change",function(c){b.userPreferences.notificationPreferences.excludeChangesByMe=c.checked;return b.save("saveNotificationPreferences")}),R(47," Exclude edits made by you "),G()()()());a&2&&(z(6),D("href",b.documentationLinks.baseDocumentationUrl+"/concepts/settings#email",Qe),z(7),ng("ngModel",b.userPreferences.notificationPreferences.assignedPriority),
z(),D("ngForOf",b.priorities),z(5),ng("ngModel",b.userPreferences.notificationPreferences.reportedPriority),z(),D("ngForOf",b.priorities),z(5),ng("ngModel",b.userPreferences.notificationPreferences.verifiedPriority),z(),D("ngForOf",b.priorities),z(5),ng("ngModel",b.userPreferences.notificationPreferences.collaboratorPriority),z(),D("ngForOf",b.priorities),z(5),ng("ngModel",b.userPreferences.notificationPreferences.ccdPriority),z(),D("ngForOf",b.priorities),z(5),ng("ngModel",b.userPreferences.notificationPreferences.starredPriority),
z(),D("ngForOf",b.priorities),z(2),D("checked",b.userPreferences.notificationPreferences.excludeChangesByMe))},dependencies:[Fv,qy,yy,mM,Wy,Qy,nM,Kx,kM,HW,IW,LH,OH,uJ],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 oQc=function(a){this.internalArray_=m(a,0,oQc.messageId)};X(oQc,Y);oQc.messageId="f.mt";var pQc=function(a){this.internalArray_=m(a,0,pQc.messageId)};X(pQc,Y);pQc.repeatedFields_=[1];pQc.messageId="b.ListSloReportSubscriptionsResponse";var h8=function(a){this.internalArray_=m(a,0,h8.messageId)};X(h8,Y);h8.prototype.getSubscription=function(){return $i(this,Yn,1)};h8.prototype.setSubscription=function(a){return oj(this,Yn,1,a)};h8.messageId="b.SloReportSubscriptionRequest";var i8=function(a){this.internalArray_=m(a,0,i8.messageId)};X(i8,Y);i8.prototype.getSubscription=function(){return $i(this,Yn,1)};i8.prototype.setSubscription=function(a){return oj(this,Yn,1,a)};i8.messageId="b.SloReportSubscriptionResponse";var j8=function(a){this.executor=a};g=j8.prototype;g.get=function(a){return this.executor.get({url:"action/slo_report_subscriptions/"+a,responseConstructor:i8}).pipe(y(function(b){if(b=b.getSubscription())return WEa(b);throw Error("wf");}))};g.list=function(){return this.executor.get({url:"action/slo_report_subscriptions",responseConstructor:pQc}).pipe(y(function(a){return xj(a,Yn,1,yj()).map(WEa)}))};
g.create=function(a){if(a.id!==0)throw Error("xf");return this.executor.post({url:"action/slo_report_subscriptions",body:(new h8).setSubscription(YEa(a)),responseConstructor:i8}).pipe(y(function(b){if(b=b.getSubscription())return WEa(b);throw Error("yf");}))};
g.update=function(a){if(a.id===0)throw Error("zf");return this.executor.post({url:"action/slo_report_subscriptions/"+a.id,body:(new h8).setSubscription(YEa(a)),responseConstructor:i8}).pipe(y(function(b){if(b=b.getSubscription())return WEa(b);throw Error("yf");}))};g.delete=function(a){return this.executor.delete({url:"action/slo_report_subscriptions/"+a,responseConstructor:oQc}).pipe(y(function(){}))};j8.\u0275fac=function(a){return new (a||j8)(n(IB))};
j8.\u0275prov=Hc({token:j8,factory:j8.\u0275fac,providedIn:"root"});var qQc=function(a){this.timeZones=a;this.label="Time zone";this.timezoneId="";this.fullWidth=this.disabled=!1;this.timezoneIdChange=new XF;this.timeZoneOptions$=eac(this.timeZones).pipe(y(function(b){return b.sort(QIb)}))};qQc.\u0275fac=function(a){return new (a||qQc)(A(II))};
qQc.\u0275cmp=p({type:qQc,selectors:[["b-timezone-picker"]],inputs:{label:"label",timezoneId:"timezoneId",disabled:"disabled",fullWidth:"fullWidth"},outputs:{timezoneIdChange:"timezoneIdChange"},decls:6,vars:8,consts:[["appearance","outline",1,"form-field-wide-select"],[3,"ngModelChange","disabled","ngModel"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(a,b){a&1&&(F(0,"mat-form-field",0)(1,"mat-label"),R(2),G(),F(3,"mat-select",1),M("ngModelChange",function(c){b.timezoneId!==c&&
(b.timezoneId=c,b.timezoneIdChange.emit(b.timezoneId))}),C(4,PIb,2,2,"mat-option",2),T(5,"async"),G()());a&2&&(Kf("full-width",b.fullWidth),z(2),S(" ",b.label," "),z(),D("disabled",b.disabled)("ngModel",b.timezoneId),z(),D("ngForOf",V(5,6,b.timeZoneOptions$)))},dependencies:[mM,Wy,Qy,nM,Kx,kM,Fv,qy,yy,Lv],styles:["[_nghost-%COMP%]     .mat-form-field-infix { width: fit-content; }","mat-form-field[_ngcontent-%COMP%] { font-size: 16px; }"]});var rQc=["sloSubscriptionDialog"],k8=function(a,b,c,d,e,f,h,k,q,t,w){Z.call(this);var B=this;this.dateFormatter=a;this.api=b;this.currentUser=c;this.dialog=d;this.timeZones=e;this.confirmationDialogService=f;this.principalTypes=h;this.analytics=k;this.butterBar=q;this.activeSession=t;this.constants=w;this.subscriptions$=new W.BehaviorSubject([]);this.isBasicMode$=this.subscriptions$.pipe(y(function(E){return E.length===0||E.length===1&&E[0].lead.emailAddress===B.currentUser.email}));this.userSubscription$=
this.subscriptions$.pipe(y(function(E){E=l(E);for(var I=E.next();!I.done;I=E.next())if(I=I.value,I.lead.emailAddress===B.currentUser.email)return B.inputDaysRemaining=I.daysRemaining,I;return{id:0,lead:B.currentUser.user,frequency:"weekly",ordinal:1,timeZone:{id:"America/Los_Angeles"},timeOfDay:sQc[9].timeOfDay,daysRemaining:0,types:["BUG","CUSTOMER_ISSUE","VULNERABILITY","PRIVACY_ISSUE"],sloIds:[]}}));this.isThinking$=new W.BehaviorSubject(!1);this.inputHasFocus=!1;this.frequencyOptions=tQc;this.repeatOnOptions=
new Map([["daily",[]],["weekly",lJb],["monthly",uQc]]);this.DAILY="daily";this.repeatAtOptions$=(0,W.combineLatest)(sQc.map(function(E){return(0,W.of)(B.dateFormatter.format("HH:mma",void 0,E.date)).pipe(y(function(I){return{timeOfDay:E.timeOfDay,display:I}}))}));this.ceoSelected=this.dialogInvalidEmailFormat=!1;this.emailToUser=tm;this.columns=["scope","frequency","actions"];this.frequencyDisplayMap=new Map(tQc.map(function(E){return[E.frequency,E.display]}));this.timeZoneDisplayMap$=eac(this.timeZones).pipe(ef(),
y(function(E){return new Map(E.map(function(I){return[I.id,I.displayName]}))}),mf({bufferSize:1,refCount:!0}));this.hourOfDayDisplayMap$=this.repeatAtOptions$.pipe(ef(),y(function(E){return new Map(E.map(function(I){return[I.timeOfDay.hours,I.display]}))}),mf({bufferSize:1,refCount:!0}));this.enableSloReportFiltering=this.activeSession.getFlag("enableFilteringForSloReportSubscription");this.typeChoices=[{value:"BUG",displayText:this.constants.issueTypesDisplayNames.get("BUG")},{value:"CUSTOMER_ISSUE",
displayText:this.constants.issueTypesDisplayNames.get("CUSTOMER_ISSUE")},{value:"PRIVACY_ISSUE",displayText:this.constants.issueTypesDisplayNames.get("PRIVACY_ISSUE")},{value:"VULNERABILITY",displayText:this.constants.issueTypesDisplayNames.get("VULNERABILITY")},{value:"PROCESS",displayText:this.constants.issueTypesDisplayNames.get("PROCESS")},{value:"INTERNAL_CLEANUP",displayText:this.constants.issueTypesDisplayNames.get("INTERNAL_CLEANUP")},{value:"FEATURE_REQUEST",displayText:this.constants.issueTypesDisplayNames.get("FEATURE_REQUEST")},
{value:"MILESTONE",displayText:this.constants.issueTypesDisplayNames.get("MILESTONE")},{value:"FEATURE",displayText:this.constants.issueTypesDisplayNames.get("FEATURE")},{value:"PROJECT",displayText:this.constants.issueTypesDisplayNames.get("PROJECT")},{value:"EPIC",displayText:this.constants.issueTypesDisplayNames.get("EPIC")},{value:"STORY",displayText:this.constants.issueTypesDisplayNames.get("STORY")},{value:"TASK",displayText:this.constants.issueTypesDisplayNames.get("TASK")}];this.compareTimeOfDay=
function(E,I){return E.hours===I.hours&&E.minutes===I.minutes&&E.seconds===I.seconds&&E.nanos===I.nanos}};X(k8,Z);k8.\u0275dir=Z.\u0275dir;k8.prototype.ngOnInit=function(){l8(this)};
var eJb=function(a){a.userSubscription$.pipe(ef(),pf(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(){l8(a)})},l8=function(a){a.isThinking$.next(!0);a.api.list().pipe(ef()).subscribe(function(b){a.isThinking$.next(!1);for(var c=l(b),d=c.next();!d.done;d=c.next())d=d.value,d.types.length===0&&(d.types=a.typeChoices.map(function(e){return e.value}));
a.subscriptions$.next(b)})},Hr=function(a,b){a.isThinking$.next(!0);a.enableSloReportFiltering||(b.daysRemaining=0,b.types=["BUG","CUSTOMER_ISSUE","VULNERABILITY","PRIVACY_ISSUE"],b.sloIds=[]);b.types.length===a.typeChoices.length&&(b.types=[]);a.api.update(b).subscribe(function(){a.analytics.trackEvent("sloReports","editSubscription");l8(a);a.newSloId=void 0},function(c){c.status===404&&(a.butterBar.showWarning("Subscription does not exist"),l8(a))})},vQc=function(a,b){a.isThinking$.next(!0);a.api.delete(b.id).subscribe(function(){a.analytics.trackEvent("sloReports",
"deleteSubscription");l8(a)})},pJb=function(a,b){a.confirmationDialogService.open({title:"Delete a subscription",content:wh("You will no longer receive reports from '"+b.lead.emailAddress+"'."),confirmButtonText:"Delete",isDestructive:!0,onConfirm:function(){vQc(a,b)}})};k8.prototype.setFrequency=function(a,b){b.frequency=a;HJb(a,b);Hr(this,b)};var HJb=function(a,b){a!=="daily"?b.ordinal=a==="weekly"?lJb[0].ordinal:uQc[0].ordinal:delete b.ordinal};
k8.prototype.setTimeZone=function(a,b){Hr(this,Object.assign({},b,{timeZone:Object.assign({},b.timeZone,{id:a})}))};k8.prototype.setDaysRemaining=function(a){if(this.inputDaysRemaining!==a.daysRemaining){var b;Hr(this,Object.assign({},a,{daysRemaining:(b=this.inputDaysRemaining)!=null?b:0}))}};k8.prototype.setIssueType=function(a,b){Hr(this,Object.assign({},b,{types:a}))};
var aJb=function(a,b){a.newSloId&&!b.sloIds.includes(a.newSloId)&&Hr(a,Object.assign({},b,{sloIds:[].concat(r(b.sloIds),[a.newSloId])}))},ZIb=function(a,b,c){if(b.sloIds.includes(c)){var d=b.sloIds.filter(function(e){return e!==c});Hr(a,Object.assign({},b,{sloIds:d}))}},EJb=function(a,b){a.newSloId&&!b.sloIds.includes(a.newSloId)&&(b.sloIds.push(a.newSloId),a.newSloId=void 0)},CJb=function(a,b){if(a.sloIds.includes(b)){var c=a.sloIds.filter(function(d){return d!==b});a.sloIds=c}};
k8.prototype.openDialog=function(a){this.sloSubscriptionDialog&&(a||(a={id:0,frequency:"weekly",ordinal:1,timeZone:{id:"America/Los_Angeles"},timeOfDay:sQc[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:qi(a),panelClass:"slo-report-subscription-dialog",width:"500px"}))};
var IJb=function(a,b){return fe(function(c){if(c.nextAddress==1)return a.dialogRef&&b.lead!==void 0?he(c,wQc(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");l8(a)}):Hr(a,b);a.dialogRef.close();le(c)})},wQc=function(a,
b){var c;return fe(function(d){if(d.nextAddress==1)return Km(b)?he(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))})};k8.\u0275fac=function(a){return new (a||k8)(A(RM),A(j8),A(hV),A(wI),A(II),A(EI),A(PG),A(bG),A(sE),A(Ir),A(JI))};
k8.\u0275cmp=p({type:k8,selectors:[["b-slo-reports-settings"]],viewQuery:function(a,b){a&1&&fg(rQc,7);if(a&2){var c;jg(c=kg())&&(b.sloSubscriptionDialog=c.first)}},features:[zf],decls:22,vars:14,consts:[["sloSubscriptionDialog",""],["subscriptionMenu","matMenu"],[4,"ngIf"],[1,"flex-kids-x","gap-l"],[1,"settings-main-left","margin-right"],[1,"heading-s"],["id","advanced-settings-note",1,"muted","type-s"],"href http://go/issue-slo-reports target _blank aria-describedby advanced-settings-note".split(" "),
[1,"full-width"],[1,"margin-bottom"],["mat-flat-button","","color","primary",3,"click","disabled"],["id","frequency-settings-note",1,"muted","type-s"],"href http://go/issue-slo-reports target _blank aria-describedby frequency-settings-note".split(" "),[1,"margin-y"],["id","isSubscribedCheckbox",1,"margin-s-right",3,"change","disabled","checked"],["appearance","outline",1,"full-width"],["matInput","","readonly","",3,"focus","blur","ngModel"],[3,"ngModelChange","ngModel"],[3,"value",4,"ngFor","ngForOf"],
[3,"timezoneIdChange","timezoneId","fullWidth"],["class","muted type-s",4,"ngIf"],[3,"value"],[3,"ngModelChange","ngModel","compareWith"],["appearance","outline"],["matInput","","type","number",3,"ngModelChange","blur","keydown.enter","ngModel"],["multiple","",3,"ngModelChange","ngModel"],["appearance","outline","subscriptSizing","dynamic"],["matInput","","type","number",3,"ngModelChange","keydown.enter","blur","ngModel"],[1,"flex-kids-x","space-between","margin-xs-y"],[1,"subtle-link",3,"href"],
["mat-icon-button","","aria-label","Remove SLO ID",1,"xs",3,"click","matTooltip"],["svgIcon","clear"],[1,"muted","type-s"],["mat-table","","aria-label","SLO reports subscriptions",1,"bordered","full-width",3,"dataSource"],["matColumnDef","scope"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","frequency"],["matColumnDef","actions"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","","tabindex","0",4,"matRowDef","matRowDefColumns"],["mat-header-cell",
""],["mat-cell",""],["mat-icon-button","","aria-label","Show actions for this subscription",1,"gmat-button",3,"matMenuTriggerFor"],["svgIcon","more-settings-vertical"],["mat-menu-item","","aria-label","View and edit subscription attributes",3,"click"],["mat-menu-item","",3,"click"],["mat-header-row",""],["mat-row","","tabindex","0"],["matDialogTitle",""],[1,"type-l","margin-bottom"],["appearance","outline","floatLabel","always",1,"full-width"],["matInput","","required","","placeholder","Search users...",
3,"ngModelChange","ngModel","bContactAutocomplete"],["id","new-subscription-note",1,"italic"],"href http://go/issue-slo-reports target _blank aria-describedby new-subscription-note".split(" "),"mat-button  color primary matDialogClose ".split(" "),["matInput","","type","number",3,"ngModelChange","ngModel"],["appearance","outline","subscriptSizing","dynamic",1,"full-width"]],template:function(a,b){if(a&1){var c=u();C(0,gJb,12,3,"ng-container",2);T(1,"async");F(2,"div",3)(3,"div",4)(4,"p",5);R(5,"Advanced settings");
G();F(6,"p",6);R(7," Add subscriptions to receive other user's reports. ");F(8,"a",7);R(9,"Learn more");G()()();F(10,"div",8)(11,"div",9)(12,"button",10);T(13,"async");M("click",function(){v(c);return x(b.openDialog())});R(14," Create subscription ");G()();C(15,hJb,2,0,"ng-container",2);T(16,"async");C(17,tJb,13,3,"ng-container",2);T(18,"async");T(19,"async");G()();C(20,JJb,34,16,"ng-template",null,0,yg)}a&2&&(D("ngIf",V(1,4,b.isBasicMode$)),z(12),D("disabled",V(13,6,b.isThinking$)),z(3),D("ngIf",
V(16,8,b.isThinking$)),z(2),D("ngIf",!V(18,10,b.isBasicMode$)&&!V(19,12,b.isThinking$)))},dependencies:[Fv,Gv,zB,mh,Ay,qy,Iy,yy,oE,xI,zI,BI,AI,mM,Wy,Qy,Py,Oy,nM,Kx,kM,SV,cz,HW,IW,lR,jS,WR,cS,ZR,VR,eS,$R,bS,fS,hS,QL,TL,RL,UL,LH,OH,qQc,RQ,rP,Lv],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 tQc=[{frequency:"daily",display:"Daily"},{frequency:"weekly",display:"Weekly"},{frequency:"monthly",display:"Monthly"}],lJb=[{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"}],uQc=[].concat(r(Array.from({length:31}).fill(0).keys())).map(function(a){return{ordinal:a+1,display:mJb(a+1)}}),sQc=[].concat(r(Array.from({length:24}).fill(0).keys())).map(function(a){var b=
new Date;b.setHours(a%24);b.setMinutes(0);return{date:b,timeOfDay:{hours:b.getHours(),minutes:0,seconds:0,nanos:0}}});var m8=function(a,b,c){this.activeSession=a;this.location=b;this.routeParams=c;this.enableSloReportEmail=this.activeSession.isInternalSession()&&this.activeSession.getFlag("enableSloReportEmail");this.selectedTabIndex=0};m8.prototype.ngAfterViewInit=function(){this.selectedTabIndex=xQc(this,this.routeParams.settingsTab)};m8.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(zo.settingsTab.makeHref(d)):this.location.setUrl(zo.settings.makeHref())};
var xQc=function(a,b){a=a.tabs.toArray().findIndex(function(c){return c.nativeElement.id===b});return a<0?0:a};m8.\u0275fac=function(a){return new (a||m8)(A(Ir),A(oN),A(iJ))};
m8.\u0275cmp=p({type:m8,selectors:[["b-settings"]],viewQuery:function(a,b){a&1&&fg(BM,5,Rd);if(a&2){var c;jg(c=kg())&&(b.tabs=c)}},decls:10,vars:2,consts:[[1,"margined","heading-m"],["gmat-tabs","",3,"selectedIndexChange","selectedIndex"],["label","General"],[1,"padded"],["label","Notifications","id","notifications"],["label","SLO Reports","id","slo-reports",4,"ngIf"],["label","SLO Reports","id","slo-reports"]],template:function(a,b){a&1&&(F(0,"p",0),R(1,"Settings"),G(),F(2,"mat-tab-group",1),M("selectedIndexChange",
function(c){return b.tabChange(c)}),F(3,"mat-tab",2)(4,"div",3),H(5,"b-general-settings"),G()(),F(6,"mat-tab",4)(7,"div",3),H(8,"b-notification-settings"),G()(),C(9,KJb,3,0,"mat-tab",5),G());a&2&&(z(2),D("selectedIndex",b.selectedTabIndex),z(7),D("ngIf",b.enableSloReportEmail))},dependencies:[Gv,HM,BM,CM,f8,g8,k8],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 n8=function(a,b,c,d,e,f,h,k,q){Z.call(this);this.cdr=a;this.routeParams=b;this.bLocation=c;this.pageTitle=d;this.userApi=e;this.bookmarkGroupsApi=f;this.paths=h;this.appEvents=q;this.isStarred=!1;this.bookmarkGroup=null;this.userEmail=k.getUserEmail()};X(n8,Z);n8.\u0275dir=Z.\u0275dir;g=n8.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 zo.viewHotlist.makeHref(a.hotlistId);default:throw Error("Af`"+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("Af`"+a.resourceType);}};n8.\u0275fac=function(a){return new (a||n8)(A(YF,2),A(iJ),A(oN),A(cU),A(aF),A(cC),A(pN),A(Ir),A(yE))};
n8.\u0275cmp=p({type:n8,selectors:[["view-bookmark-group-page"]],features:[qg([YF]),zf],decls:5,vars:3,consts:[[1,"a11y-only"],[1,"kd-appbar","kd-buttonbar"],[1,"bv2-view"],[4,"ngIf"],[1,"bv2-view-bookmark-group-title"],[1,"bv2-view-bookmark-group-header"],[3,"starMessage","unStarMessage","starred","starClicked",4,"ngIf"],[3,"starMessage","unStarMessage","starred","disabled",4,"ngIf"],[1,"bv2-view-bookmark-group-title-text"],["aria-label","Bookmark group settings","matTooltip","Bookmark group settings",
1,"bv2-edit-icon","bv2-view-resource-edit-button",3,"click"],[1,"bv2-view-bookmark-group-description"],[1,"bv2-view-bookmark-group-hotlists"],[4,"ngFor","ngForOf"],[3,"starClicked","starMessage","unStarMessage","starred"],[3,"starMessage","unStarMessage","starred","disabled"],[3,"href"]],template:function(a,b){a&1&&(F(0,"h2",0),R(1),G(),H(2,"div",1),F(3,"div",2),C(4,OJb,12,5,"div",3),G());a&2&&(z(),S("View Bookmark Group ",b.bookmarkGroup==null?null:b.bookmarkGroup.name,""),z(2),Bf("aria-busy",!b.bookmarkGroup),
z(),D("ngIf",b.bookmarkGroup))},dependencies:[Fv,Gv,uT,LH,OH],encapsulation:2});var o8=function(){};o8.\u0275fac=function(a){return new (a||o8)};o8.\u0275mod=dd({type:o8});o8.\u0275inj=Ic({imports:[BB,HU,aM]});var QJb=function(){return{name:"List",value:"list",tooltip:"Classic view of Buganizer issues"}},RJb=function(){return{name:"Overview",value:"adv",tooltip:"Stats, summaries, and recent activity"}},PJb=function(a,b){return[a,b]},p8=function(a,b,c,d,e,f,h,k,q,t,w,B,E,I,J,N,P,U,ba,ma,na,ya,Pa,ia,qa,ua,Oa,Ka,Cb,Qb,Rb,Wa,xb,Qa){x7.call(this,b,c,d,e,h,k,q,t,f,w,B,E,J,N,P,U,ba,ma,qa,na,ya,Ka,Cb,Qb,Rb,Wa,Qa);this.ngZone=a;this.hotlists=I;this.hotkeys=Pa;this.pageTitle=ia;this.userAccess=Oa;this.mcPrefs=xb;
this.ANALYTICS_CATEGORY="hotlistIssues";this.canAppend=this.isAdmin=this.isStarred=!1;this.hotlist=null;this.isLoading=!0;this.repositioning=this.showHotlists=!1;this.hotlistId=ua.hotlistId};X(p8,x7);p8.\u0275dir=x7.\u0275dir;
p8.prototype.ngOnInit=function(){var a=this;x7.prototype.ngOnInit.call(this);this.subscriptions.add(LN(this.hotkeys,{title:"Hotlist",hotkeys:[].concat(r(this.BASE_HOTKEYS),[{keys:[Oo("j")],displayAs:"Shift+j",description:"Move the current issue down (when sorting by POS)",onPress:function(){yQc(a,1)}},{keys:[Oo("k")],displayAs:"Shift+k",description:"Move the current issue up (when sorting by POS)",onPress:function(){yQc(a,-1)}}])}));this.subscriptions.add(this.appEvents.hotlistChanged.subscribe(function(b){b&&
Number(b.hotlistId)===Number(a.hotlistId)&&b.origin!=="view-hotlist"&&zQc(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)};
p8.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)}};
p8.prototype.loadUserAccess=function(a){var b=this;oD(this.userAccess,"admin","hotlists/"+a).then(function(c){b.isAdmin=c},function(c){b.errorHandler.errorHandler(null,c)});oD(this.userAccess,"appender","hotlists/"+a).then(function(c){b.canAppend=c},function(c){b.errorHandler.errorHandler(null,c)})};
p8.prototype.getIssues=function(){var a=this;this.searchResults=null;this.isLoading=!0;yH(this.appSearchState,"hotlistid:"+this.hotlistId);var b=this.hotlist?Promise.resolve(this.hotlist):zQc(this);return this.doSearch(b).finally(function(){a.isLoading=!1;a.cdr.detectChanges()})};
var zQc=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};
p8.prototype.doSearch=function(a){var b=this,c=rAc.map(Fp).filter(lj),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=qi(f);f.query=d;f.returnUrl=b.bLocation.getUrl();f.hotlistId=b.hotlistId;f.trackerIds=b.appSearchState.currentTrackerScope;return crc(b.issuePagination,f)});a.then(function(f){WOc(b,
f)}).catch(function(f){typeof f==="number"?q0(b.urlPreferences,{page:f}):b.errorHandler.errorHandler(null,f)});return pp({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,AQc(b)?BQc:CQc);b.loadHotlists();b.cdr.detectChanges()}).catch(function(){})};
var AQc=function(a){return a.sortPreferences.length===0||a.sortPreferences.length===1&&a.sortPreferences[0].fieldId.type==="POSITION"};p8.prototype.getCsvUrl=function(){var a=this.appSearchState.currentTrackerScope,b=this.displayColumns,c=this.showHotlists,d="action/hotlists/"+this.hotlistId+"/issues/csv",e=gKa(this.sortPreferences);(b=jKa(b))&&(b="position,"+b);return kKa(d,"trackerIds",a,"s",e,"c",b,"h",c)};
p8.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 yQc=function(a,b){if(a.searchResults&&!a.repositioning&&AQc(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||ocb(f)}else if(b===-1){var h;(h=a.resultsGrid)==null||pcb(h)}a.repositionIssue(e,c,!0)}}};g=p8.prototype;
g.save=function(){var a=this;if(this.hotlist){var b=this.hotlist,c=this.urlPreferences.getDisplayColumns();if(c){var d=aEa(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}});Ap(this.butterBar,"Saving changes to hotlist...");DQc(this,b).then(function(e){Ap(a.butterBar,'Saved changes to hotlist "'+
e.name+'".');q0(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");q0(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?qm(this.hotlist.adminUsers).includes(this.currentUserEmail):!1};g.setSort=function(a,b){var c=this.getSort();a==="position"||c&&c.field==="position"?x7.prototype.setSort.call(this,a,b,!1):x7.prototype.setSort.call(this,a,b)};
var DQc=function(a,b){return a.hotlistApi.updateMetadata(b.hotlistId,b).then(function(c){a.hotlist=c;EQc(a,c.hotlistId);return c},function(c){a.errorHandler.errorHandler(null,c);return Promise.reject(c)})},EQc=function(a,b){a.appEvents.hotlistChanged.next({hotlistId:b,origin:"view-hotlist"})};
p8.prototype.toggleStar=function(){var a=this;this.isStarred=!this.isStarred;var b=bk(this.hotlistId),c=function(){EQc(a,b)};this.isStarred?this.userApi.addUserBookmark({resourceType:"HOTLIST",resourceId:b}).then(c):this.userApi.removeUserBookmark({resourceType:"HOTLIST",resourceId:b}).then(c)};p8.prototype.openEditHotlist=function(){this.bLocation.setUrl(zo.editHotlist.makeHref(this.hotlistId))};p8.prototype.addToMissionControl=function(a){a!=null&&(this.mcPrefs.addHotlist(a),this.bLocation.setUrl(this.paths.home()))};
p8.prototype.showAddToMcButton=function(a){var b=this.activeSession.isInternalSession();a=a<=500;var c=!this.mcPrefs.hasHotlist(this.hotlistId);return b&&a&&c};var CQc=[Y_,Z_,a0,TFc],BQc=[Y_,SFc,Z_,a0,TFc];p8.\u0275fac=function(a){return new (a||p8)(A(ze),A(YF),A(aG),A(EH),A(oN),A(Ir),A(tE),A(PD),A(aF),A(RE),A(sE),A(bG),A(xH),A(Z0),A(bU),A(rH),A(p0),A(r0),A(pN),A(iD),A(MI),A(FH),A(KN),A(cU),A(uE),A(iJ),A(mD),A(yE),A(bF),A(jG),A(K1),A(CC),A(bQ),A(hF))};
p8.\u0275cmp=p({type:p8,selectors:[["view-hotlist-page"]],features:[qg([YF]),zf],decls:10,vars:12,consts:[[1,"kd-appbar","kd-buttonbar"],[1,"bv2-edit-controls",3,"init","onRefresh","onSave","onCreateHotlist","onLoadHotlist","onExportCsv","grid","hotlistChoices","showHotlistButtons","currentHotlistId","isHotlistAdmin"],[1,"bv2-appbar-right"],[3,"pageChange","resultsPerPageChange","searchResults"],[1,"bv2-view","bv2-view-hotlist-grid"],["class","bv2-view-hotlist-title",4,"ngIf"],["class","bv2-view-loading",
4,"ngIf"],["class","bv2-view-loading","tabindex","-1",3,"bFocus",4,"ngIf"],["class","bv2-grid-container",4,"ngIf"],[3,"value","choices"],["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-button","reverse-margin-left"],[3,"valueChange","value","choices"],["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-button","reverse-margin-left",3,"click"],[1,"bv2-view-hotlist-title"],[3,"starMessage","unStarMessage","starred","starClicked","keydown.space","keydown.enter",4,"ngIf"],[3,"starMessage","unStarMessage","starred","disabled",4,"ngIf"],[1,"bv2-view-hotlist-title-text"],["tabindex","-1",3,"bFocus",4,"ngIf"],[4,"ngIf"],["class","bv2-view-hotlist-save-form",4,"ngIf"],[3,"starClicked","keydown.space","keydown.enter","starMessage","unStarMessage","starred"],[3,"starMessage","unStarMessage",
"starred","disabled"],["tabindex","-1",3,"bFocus"],["role","heading","aria-level","3"],[3,"matTooltip"],["class","hotlist-archived",4,"ngIf"],[1,"button-container"],["aria-label","Hotlist settings","matTooltip","Hotlist settings",1,"bv2-edit-button","bv2-view-resource-edit-button",3,"click"],["matTooltip","Display preferences have changed",4,"ngIf"],[1,"hotlist-archived"],["matTooltip","Display preferences have changed"],[1,"bv2-view-hotlist-save-form"],["type","button","mat-flat-button","","matTooltip",
"Save changes to display preferences",1,"gmat-button","medium",3,"click"],["type","button","mat-stroked-button","","matTooltip","Discard changes to display preferences",1,"gmat-button","medium",3,"click"],[1,"bv2-view-loading"],["tabindex","-1",1,"bv2-view-loading",3,"bFocus"],[1,"bv2-grid-container"],[1,"padded-s",3,"reference","numRecentActivityEvents"],[3,"searchResults","focusedRowIndex","columns","enableColumnSaving","sort","enableSidebar"],[3,"init","focusedRowIndexChange","columnsChange","sortChange",
"rowClick","onRowDragDrop","onNextPage","onPrevPage","searchResults","focusedRowIndex","columns","enableColumnSaving","sort","enableSidebar"]],template:function(a,b){a&1&&(F(0,"div",0)(1,"b-grid-controls",1),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()}),
G(),C(2,UJb,2,1),F(3,"div",2)(4,"b-pagination",3),M("pageChange",function(d){return b.goToPage(d.page)})("resultsPerPageChange",function(d){return YOc(b,d.option)}),G()()(),F(5,"div",4),C(6,dKb,9,7,"div",5)(7,eKb,4,1,"div",6)(8,fKb,2,2,"div",7)(9,iKb,3,1,"div",8),G());if(a&2){var c;z();D("grid",b.resultsGrid)("hotlistChoices",b.hotlistChoices)("showHotlistButtons",b.canAppend)("currentHotlistId",b.hotlistId)("isHotlistAdmin",b.isAdmin);z();Of((c=b.searchResults==null?null:b.searchResults.numResults)?
2:-1,c);z(2);D("searchResults",b.searchResults);z();Bf("aria-busy",b.isLoading);z();D("ngIf",!b.isInitializing);z();D("ngIf",b.isLoading);z();D("ngIf",!b.isLoading&&!b.hasResults());z();D("ngIf",!b.isLoading&&b.hasResults())}},dependencies:[d0,a1,uT,W_,LH,OH,Gv,RQ,ZY,oE,XL,rT],encapsulation:2});var q8=function(){};q8.\u0275fac=function(a){return new (a||q8)};q8.\u0275mod=dd({type:q8});q8.\u0275inj=Ic({imports:[m0,b1,HU,Y0,aM,BB,AS,$Y,ML,My,bM,AT,wN]});var kKb=function(){return{name:"List",value:"list",tooltip:"Classic view of Buganizer issues"}},lKb=function(){return{name:"Overview",value:"adv",tooltip:"Stats, summaries, and recent activity"}},jKb=function(a,b){return[a,b]},r8=function(a,b,c,d,e,f,h,k,q,t,w,B,E,I,J,N,P,U,ba,ma,na,ya,Pa,ia,qa,ua,Oa,Ka,Cb,Qb,Rb,Wa,xb){x7.call(this,a,b,c,d,f,h,k,t,e,w,B,E,I,J,N,P,U,ba,ia,ma,na,Oa,Ka,Cb,Qb,Rb,xb);this.savedSearchApi=q;this.hotkeys=ya;this.pageTitle=Pa;this.userAccess=ua;this.mcPrefs=Wa;this.ANALYTICS_CATEGORY=
"savedSearchIssues";this.isAdmin=!1;this.savedSearch=null;this.isLoading=!0;this.showHotlists=!1;this.savedSearchId=qa.savedSearchId};X(r8,x7);r8.\u0275dir=x7.\u0275dir;g=r8.prototype;
g.ngOnInit=function(){var a=this;x7.prototype.ngOnInit.call(this);this.subscriptions.add(LN(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(I9b(this.appSearchState,function(b){a.savedSearch?q0(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;oD(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;yH(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:ROc(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;yH(b.appSearchState,d.query);b.exitLink=b.paths.listIssues({q:d.query});b.cdr.detectChanges();d=qi(d);d.returnUrl=b.bLocation.getUrl();d.trackerIds=
b.appSearchState.currentTrackerScope;return crc(b.issuePagination,d)});c.then(function(d){WOc(b,d)}).catch(function(d){typeof d==="number"?q0(b.urlPreferences,{page:d}):d&&b.errorHandler.errorHandler(null,d)});this.initColumns(a.displayColumns);return pp({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 lKa(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;Ap(this.butterBar,"Saving changes to search...");this.savedSearchApi.update(this.savedSearch.searchId,this.savedSearch).then(function(c){Ap(a.butterBar,'Saved changes to search "'+
c.name+'".');a.savedSearch=c;q0(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");q0(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&&(cQ(this.mcPrefs,fp(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};r8.\u0275fac=function(a){return new (a||r8)(A(YF),A(aG),A(EH),A(oN),A(Ir),A(tE),A(PD),A(aF),A(fF),A(RE),A(sE),A(bG),A(xH),A(bU),A(rH),A(p0),A(r0),A(pN),A(iD),A(MI),A(FH),A(KN),A(cU),A(uE),A(iJ),A(mD),A(yE),A(bF),A(jG),A(K1),A(CC),A(bQ),A(hF))};
r8.\u0275cmp=p({type:r8,selectors:[["view-saved-search-page"]],features:[qg([YF]),zf],decls:10,vars:8,consts:[[1,"kd-appbar","kd-buttonbar"],[1,"bv2-edit-controls",3,"init","onRefresh","onSave","onCreateHotlist","onLoadHotlist","onExportCsv","grid","hotlistChoices"],[1,"bv2-appbar-right"],[3,"pageChange","resultsPerPageChange","searchResults"],[1,"bv2-view","bv2-view-savedsearch-grid"],[1,"bv2-view-savedsearch-title"],["class","bv2-view-savedsearch-title-text",4,"ngIf"],["class","bv2-view-savedsearch-save-form",
4,"ngIf"],[4,"ngIf"],[3,"value","choices"],["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-button","reverse-margin-left"],[3,"valueChange","value","choices"],["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-button","reverse-margin-left",3,"click"],[1,"bv2-view-savedsearch-title-text"],["role","heading","aria-level","3",4,"ngIf"],["role","heading","aria-level","3"],[3,"matTooltip"],["aria-label","Saved search settings","matTooltip","Saved search settings",1,"bv2-edit-icon","bv2-view-resource-edit-button",3,"click"],["matTooltip","Display preferences or search query have changed",4,"ngIf"],["matTooltip","Display preferences or search query have changed"],[1,"bv2-view-savedsearch-save-form"],
["type","button","mat-flat-button","","class","gmat-button medium","matTooltip","Save changes to display preferences and search query",3,"click",4,"ngIf"],["type","button","mat-stroked-button","","matTooltip","Discard changes to display preferences and search query",1,"gmat-button","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,"gmat-button","medium",3,"click"],["class","bv2-view-loading",4,"ngIf"],["class","bv2-view-loading","tabindex","-1",3,"bFocus",4,"ngIf"],["class","bv2-grid-container",4,"ngIf"],[1,"bv2-view-loading"],["tabindex","-1",1,"bv2-view-loading",3,"bFocus"],[1,"bv2-grid-container"],[1,"padded-s",3,"reference","numRecentActivityEvents"],[3,"searchResults","focusedRowIndex","columns","enableColumnSaving","sort","enableSidebar"],[3,"init","focusedRowIndexChange","columnsChange","sortChange","rowClick","onNextPage",
"onPrevPage","searchResults","focusedRowIndex","columns","enableColumnSaving","sort","enableSidebar"]],template:function(a,b){a&1&&(F(0,"div",0)(1,"b-grid-controls",1),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()}),G(),C(2,
oKb,2,1),F(3,"div",2)(4,"b-pagination",3),M("pageChange",function(d){return b.goToPage(d.page)})("resultsPerPageChange",function(d){return YOc(b,d.option)}),G()()(),F(5,"div",4)(6,"div",5),C(7,tKb,4,3,"div",6)(8,vKb,7,2,"div",7),G(),C(9,CKb,4,3,"div",8),G());if(a&2){var c;z();D("grid",b.resultsGrid)("hotlistChoices",b.hotlistChoices);z();Of((c=b.searchResults==null?null:b.searchResults.numResults)?2:-1,c);z(2);D("searchResults",b.searchResults);z();Bf("aria-busy",b.isLoading);z(2);D("ngIf",!b.isInitializing);
z();D("ngIf",b.hasParamChanges());z();D("ngIf",b.savedSearch)}},dependencies:[d0,a1,W_,Gv,LH,OH,RQ,ZY,oE,XL,rT],encapsulation:2});var s8=function(){};s8.\u0275fac=function(a){return new (a||s8)};s8.\u0275mod=dd({type:s8});s8.\u0275inj=Ic({imports:[m0,b1,Y0,BB,aM,AS,$Y,ML,My,bM,AT,wN]});var FQc={path:zo.viewIssue.routeDeclarationPath,component:I5,children:[{path:"",pathMatch:"full",component:M6},{path:"dependencies",component:lT},{path:"dupes",component:K5},{path:"blocking",component:Z4},{path:"resources",component:OOc}].concat(r(EKb("enableCodeMentionsUi",{path:"todos",component:v7})))},GQc=[{path:"",component:S3,canActivateGuards:[b4]},{title:Jp("Issues"),path:zo.listIssues.routeDeclarationPath,component:y7},{title:Jp("New issue"),path:zo.createIssue.routeDeclarationPath,component:O4,
canActivateGuards:[u4]}].concat(r(DKb(function(){var a;if(a=qn("enableChromeWizard")){var b;a=((b=Pl().tracker)==null?void 0:b.trackerId)==="157"}return a},{title:Jp("New issue"),path:zo.createIssueChromeWizard.routeDeclarationPath,component:t4})),[FQc,{title:Jp("Browse All Components"),path:zo.listComponentsGlobal.routeDeclarationPath,component:q3},{title:Jp("Browse Components"),path:zo.listComponents.routeDeclarationPath,component:v4},{title:Jp("Create component"),path:zo.createComponent.routeDeclarationPath,
component:x4},{title:Jp("Component"),path:zo.editComponent.routeDeclarationPath,component:S7},{path:"components/:componentId/manage",redirectTo:zo.editComponent.routeDeclarationPath},{path:"components/:componentId",redirectTo:zo.editComponent.routeDeclarationPath},{title:Jp("Team"),path:zo.editTeam.routeDeclarationPath,component:T7},{path:"teams/:teamId",redirectTo:zo.editTeam.routeDeclarationPath},{title:Jp("Create Bookmark Group"),path:zo.createBookmarkGroup.routeDeclarationPath,component:w4},{title:Jp("Bookmark Group"),
path:zo.viewBookmarkGroup.routeDeclarationPath,component:n8},{title:Jp("Bookmark Group"),path:zo.editBookmarkGroup.routeDeclarationPath,component:U4},{title:Jp("Create Hotlist"),path:zo.createHotlist.routeDeclarationPath,component:y4},{title:Jp("Hotlist"),path:zo.viewHotlist.routeDeclarationPath,component:p8},{title:Jp("Edit Hotlist"),path:zo.editHotlist.routeDeclarationPath,component:i0},{title:Jp("Create SLO"),path:zo.createSlo.routeDeclarationPath,component:Q4},{title:Jp("SLO"),path:zo.viewSlo.routeDeclarationPath,
component:Y4},{title:Jp("SLO"),path:zo.editSlo.routeDeclarationPath,component:Y4},{title:Jp("Saved search"),path:zo.editSavedSearch.routeDeclarationPath,component:V4},{title:Jp("All of my hotlists"),path:zo.listHotlists.routeDeclarationPath,component:w7},{title:Jp("Manage SLOs"),path:zo.listSlos.routeDeclarationPath,component:A7},{title:Jp("Saved search"),path:zo.viewSavedSearch.routeDeclarationPath,component:r8},{title:Jp("Dashboard"),path:zo.viewDashboard.routeDeclarationPath,component:S4},{title:Jp("Settings"),
path:zo.settingsTab.routeDeclarationPath,component:m8},{title:Jp("Settings"),path:zo.settings.routeDeclarationPath,component:m8},{title:Jp("Triage"),path:zo.viewTriagePhase.routeDeclarationPath,component:KT},{title:Jp("Triage"),path:zo.viewTriage.routeDeclarationPath,component:BH},{title:Jp("Triage"),path:zo.overviewTriage.routeDeclarationPath,component:AH}],r(EKb("enableHomepageVariantA",{title:Jp("Home"),path:zo.home.routeDeclarationPath,component:d8,canActivateGuards:[Y3,Z3]})),[{path:"**",component:S3,
canActivateGuards:[b4]}]);var t8=function(){};t8.\u0275fac=function(a){return new (a||t8)};t8.\u0275mod=dd({type:t8});t8.\u0275inj=Ic({imports:[BB,KM]});var u8=function(){};u8.\u0275fac=function(a){return new (a||u8)};u8.\u0275mod=dd({type:u8});u8.\u0275inj=Ic({imports:[BB,NL,xP,lN]});var v8=function(){};v8.\u0275fac=function(a){return new (a||v8)};v8.\u0275mod=dd({type:v8});v8.\u0275inj=Ic({imports:[BB,AS,ML,KM,yS,t8,u8,$L]});var w8=function(){};w8.\u0275fac=function(a){return new (a||w8)};w8.\u0275mod=dd({type:w8});w8.\u0275inj=Ic({imports:[BB,nN,ML]});var x8=function(){};x8.\u0275fac=function(a){return new (a||x8)};x8.\u0275mod=dd({type:x8});x8.\u0275inj=Ic({imports:[BB,KM,NL,xP,w8]});var y8=function(){};y8.\u0275fac=function(a){return new (a||y8)};y8.\u0275mod=dd({type:y8});y8.\u0275inj=Ic({imports:[BB,NN,ML,fJ]});var z8=function(){};z8.\u0275fac=function(a){return new (a||z8)};z8.\u0275mod=dd({type:z8});z8.\u0275inj=Ic({imports:[wP,BB,u5,NN,B0,ML,NP,ZL,aM,p1,X0,U6,y8]});var A8=function(){};A8.\u0275fac=function(a){return new (a||A8)};A8.\u0275mod=dd({type:A8});A8.\u0275inj=Ic({imports:[BB,NN,ML,aM]});var B8=function(){};B8.\u0275fac=function(a){return new (a||B8)};B8.\u0275mod=dd({type:B8});B8.\u0275inj=Ic({imports:[e7,BB,aM,jM,KW,ML,AS,DN,X0,vP]});var C8=function(){};C8.\u0275fac=function(a){return new (a||C8)};C8.\u0275mod=dd({type:C8});C8.\u0275inj=Ic({imports:[BB,wS,NL,tS]});var D8=function(){};D8.\u0275fac=function(a){return new (a||D8)};D8.\u0275mod=dd({type:D8});D8.\u0275inj=Ic({imports:[x8,wS,BB,D0,gW,NN,NL,rS,S6,w8,ML,NP,aM,HU,tS,C8,A8,z8,B8]});var E8=function(){};E8.\u0275fac=function(a){return new (a||E8)};E8.\u0275mod=dd({type:E8});E8.\u0275inj=Ic({imports:[BB,ML]});var F8=function(){};F8.\u0275fac=function(a){return new (a||F8)};F8.\u0275mod=dd({type:F8});F8.\u0275inj=Ic({imports:[BB,UM,ML,aM]});var G8=function(){};G8.\u0275fac=function(a){return new (a||G8)};G8.\u0275mod=dd({type:G8});G8.\u0275inj=Ic({imports:[W1,nE,dB,BB,yS,jx,KM,DN,My,v8,D8,S0,ML,fJ,IT,JM,aM,Ny,H5,X0,hM,E8,F8]});var H8=function(){};H8.\u0275fac=function(a){return new (a||H8)};H8.\u0275mod=dd({type:H8});H8.\u0275inj=Ic({imports:[BB,s3]});var I8=function(){};I8.\u0275fac=function(a){return new (a||I8)};I8.\u0275mod=dd({type:I8});I8.\u0275inj=Ic({imports:[BB,dB,nE,My,Ny,ML,JM,hM,wP,G8,t7,qT,a5,L5,H8,u7]});var HQc=GQc.map(function(a){var b=a.redirectTo?void 0:[V3,X3].concat(r(a.canActivateGuards||[]));return{title:a.title,path:a.path,redirectTo:a.redirectTo,component:a.component,canDeactivate:[EQ],canActivate:b,children:a.children,isRootRoute:!0}});HQc.push({path:"**",canActivate:["dontActivate"],component:S3,isRootRoute:!0});
var IQc=Pl().appBaseHref,JQc,J8={initialNavigation:"disabled"},KQc={provide:t3b,useFactory:function(){return"guarded"},deps:[[pB,new ru,new su]]},LQc={provide:gB,useValue:J8?J8:{}},MQc=(J8==null?0:J8.useHash)?{provide:Wv,useClass:Yv}:{provide:Wv,useClass:Xv},NQc={provide:m3b,useFactory:function(){var a=Yc(XVb),b=Yc(ze),c=Yc(gB),d=Yc(kB),e=Yc(pA);c.scrollOffset&&a.setOffset(c.scrollOffset);return new uB(e,d,a,b,c)}},OQc=(J8==null?0:J8.preloadingStrategy)?oi(0,[{provide:s3b,useExisting:tB},{provide:i3b,
useExisting:J8.preloadingStrategy}]).\u0275providers:[],PQc;
(J8==null?0:J8.initialNavigation)?PQc=[J8.initialNavigation==="disabled"?oi(3,[{provide:EUb,multi:!0,useFactory:function(){var a=Yc(pB);return function(){Z2b(a)}}},{provide:r3b,useValue:2}]).\u0275providers:[],J8.initialNavigation==="enabledBlocking"?oi(2,[{provide:r3b,useValue:0},{provide:EUb,multi:!0,deps:[Ae],useFactory:function(a){var b=a.get(TVb,Promise.resolve());return function(){return b.then(function(){return new Promise(function(c){var d=a.get(pB),e=a.get(q3b);qta(d,function(){c(!0)});a.get(kB).afterPreactivation=
function(){c(!0);return e.closed?(0,W.of)(void 0):e};d.initialNavigation()})})}}}]).\u0275providers:[]]:PQc=[];var QQc=PQc,RQc=(J8==null?0:J8.bindToComponentInputs)?oi(8,[zA,{provide:i1b,useExisting:zA}]).\u0275providers:[],SQc;if(J8==null?0:J8.enableViewTransitions){var TQc=[{provide:H2b,useValue:pta},{provide:nta,useValue:Object.assign({},{skipNextTransition:!1},void 0)}];SQc=oi(9,TQc).\u0275providers}else SQc=[];
JQc={ngModule:vB,providers:[u3b,[],{provide:lta,multi:!0,useValue:[]},KQc,LQc,MQc,NQc,OQc,QQc,RQc,SQc,[{provide:v3b,useFactory:function(){var a=Yc(Ae);return function(b){var c=a.get(uv);if(b===c.components[0]){b=a.get(pB);var d=a.get(q3b);a.get(r3b)===1&&b.initialNavigation();var e;(e=a.get(s3b,null,8))==null||j3b(e);var f;(f=a.get(m3b,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:SUb,multi:!0,useExisting:v3b}]]};var K8=function(a,b){a.config=HQc.map(esa);a.navigated=!1;a.initialNavigation();y9b(b)};K8.\u0275fac=function(a){return new (a||K8)(n(pB),n(vH))};K8.\u0275mod=dd({type:K8});K8.\u0275inj=Ic({providers:[{provide:"dontActivate",useValue:function(){return!1}},{provide:lB,useClass:U3},{provide:WVb,useValue:IQc},X3,V3],imports:[JQc,T3,I8,vB]});var UQc=new md("Environment");var VQc=new md("Worktracker API Key");var WQc=new md("G3C API Keys");var L8=function(){};L8.\u0275fac=function(a){return new (a||L8)};L8.\u0275mod=dd({type:L8});L8.\u0275inj=Ic({providers:[{provide:UQc,useFactory:FKb},{provide:WQc,useValue:{prodApiKey:"AIzaSyB9Ljnt9FDyfTnTH2yeDn6lGM40PQm6Gsk",stagingApiKey:"AIzaSyCYqhU0fWA9T487wYfx1ogB9z2mNJ9AQco",autopushApiKey:"AIzaSyBEveljwBki0sKCHdprNdJJPZrqTnIwIcM"}},{provide:VQc,useValue:"AIzaSyAVSCxcE30nYSaySrZXBXCTumqIjorZA2c"}]});var XQc=function(a){this.lookupId_=a;this.displayName_="";this.forceDisplayNameOverride_=!1};g=XQc.prototype;g.getId=function(){return this.lookupId_};g.setDisplayName=function(a){this.displayName_=a;return this};g.getDisplayName=function(){return this.displayName_};g.getForceDisplayNameOverride=function(){return this.forceDisplayNameOverride_};
g.equals=function(a){return a?this===a?!0:this.getId().equals(a.getId())&&this.getDisplayName()===a.getDisplayName()&&this.getForceDisplayNameOverride()===a.getForceDisplayNameOverride():!1};var YQc=function(a){this.internalArray_=m(a)};X(YQc,Y);YQc.prototype.setDisabled=function(a,b){oc(this,2,Gb,a,b,nl)};YQc.repeatedFields_=[1,2];var M8=function(a){this.internalArray_=m(a)};X(M8,Y);g=M8.prototype;g.getEnableClearcut=function(){return Hj(this,1,!1)};g.setEnableClearcut=function(a){return pl(this,1,a)};g.getClientId=function(){return fj(this,2,0)};g.setClientId=function(a){return sl(this,2,a)};g.getSocialApplication=function(){return fj(this,3,0)};g.getSocialApplicationOrUndefined=function(){return tt(this,3)};g.getComponentFlow=function(){return fj(this,4,0)};g.setComponentFlow=function(a){return sl(this,4,a)};
g.getInterfaceType=function(){return fj(this,5,0)};g.setInterfaceType=function(a){return sl(this,5,a)};var N8=function(a){this.internalArray_=m(a)};X(N8,Y);N8.prototype.getEnableAutocompleteLegalese=function(){return Hj(this,11,!1)};var ZQc=[0,kz,-12];var O8=function(a){this.internalArray_=m(a)};X(O8,Y);O8.prototype.getApplication=function(){return fj(this,1,0)};O8.prototype.setApplication=function(a){return sl(this,1,a)};O8.prototype.getApplicationOrUndefined=function(){return tt(this,1)};O8.prototype.getIsEnabled=function(){return Hj(this,2,!1)};var $Qc=function(a){this.internalArray_=m(a)};X($Qc,Y);g=$Qc.prototype;g.getClearcut=function(){return $i(this,M8,1)};g.setClearcut=function(a){oj(this,M8,1,a)};g.hasClearcut=function(){return dk(this,M8,1)};g.getExperiments=function(){return $i(this,O8,2)};g.setExperiments=function(a){return oj(this,O8,2,a)};g.hasExperiments=function(){return dk(this,O8,2)};g.getFeatures=function(){return $i(this,YQc,11)};g.getEnableAutocompleteLegalese=function(){return Hj(this,13,!0)};var aRc=cra($Qc);var bRc;var cRc=function(){this.actionListeners=new Map};cRc.prototype.subscribe=function(a,b){this.actionListeners.has(a)?this.actionListeners.get(a).push(b):this.actionListeners.set(a,[b])};cRc.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)}};
cRc.prototype.notify=function(a){var b=kd.apply(1,arguments);if(this.actionListeners.has(a)){var c=this.actionListeners.get(a);c=l(c);for(var d=c.next();!d.done;d=c.next()){d=d.value;try{d.apply(null,b)}catch(e){}}}};var dRc=function(){this.actionEventDispatcher=new cRc};var eRc=function(){var a=Tb(bRc||(bRc=aRc("[[true,49,740,4],[7,true],null,null,null,null,null,null,null,null,null,null,false,false]")));this.injectorService=new dRc;a.hasClearcut()||a.setClearcut(new M8);a.hasExperiments()||a.setExperiments(new O8);this.internal=a};var bNb=function(a){var b=hs.decoratorTypeOrder,c=hs.getCompatibleTypes,d=hs,e=hs.extractor;this.coreTypeOrder=hs.coreTypeOrder;this.decoratorTypeOrder=b;this.getCompatibleTypes=c;this.container=d;this.extractor=e;this.configurationKey=a===void 0?"\ud83c\udf68":a};
bNb.prototype.create=function(a){for(var b=this,c=l(this.coreTypeOrder.filter(function(h){var k=b.configurationKey;return b.container.configurations.hasCoreType(h,k===void 0?"\ud83c\udf68":k)})),d=c.next();!d.done;d=c.next()){d=d.value;var e=this.container.getCoreFactory(d),f=void 0;if((f=e)==null?0:f.shouldCreate(a))return c=void 0,this.extractor(this.decorate((c=e)==null?void 0:c.create(a),d,a))}throw Error("Bf");};
bNb.prototype.decorate=function(a,b,c){var d=this,e,f=(e=this.getCompatibleTypes(b))!=null?e:new Set;return this.decoratorTypeOrder.filter(function(h){var k=d.configurationKey;return d.container.configurations.hasDecoratorType(h,k===void 0?"\ud83c\udf68":k)&&f.has(h)}).map(function(h){return d.container.getDecoratorFactory(h)}).filter(function(h){return h==null?void 0:h.shouldCreate(c)}).reduce(function(h,k){return k.create(c,h)},a)};var P8=function(){this.core=new Set;this.decorators=new Set};P8.prototype.addCoreType=function(a){this.core.add(a)};P8.prototype.addDecoratorType=function(a){this.decorators.add(a)};P8.prototype.hasCoreType=function(a){return this.core.has(a)};P8.prototype.hasDecoratorType=function(a){return this.decorators.has(a)};var fRc=function(){this.configurations=new Map};g=fRc.prototype;g.addCoreType=function(a,b){this.configurations.has(b)||this.configurations.set(b,new P8);this.configurations.get(b).addCoreType(a)};
g.addDecoratorType=function(a,b){this.configurations.has(b)||this.configurations.set(b,new P8);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 gRc=function(){this.core=new Map;this.decorator=new Map};g=gRc.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 Q8=function(a){var b=this;var c=a.coreTypeOrder;var d=a.decoratorTypeOrder;var e=a.extractor;a=a.getCompatibleTypes;this.configurations=new fRc;this.factories=new gRc;this.coreTypeOrder=c;this.decoratorTypeOrder=d;this.extractor=e;this.getCompatibleTypes=a;hRc.set(this,function(){b.configurations.clear();b.factories.clear()})};
Q8.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)};Q8.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)};Q8.prototype.getCoreFactory=function(a){return this.factories.getCoreFactory(a)};
Q8.prototype.getDecoratorFactory=function(a){return this.factories.getDecoratorFactory(a)};var hRc=new Map;var $Kb=new Q8({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 LKb=function(a){var b=a.imageUrls,c=a.backupUrl,d=a.size,e=a.preloadSize,f=a.pixelRatio;Array.isArray(b);a=cs;var h='<div class="'+ds("peoplekitComponentsAvatarImplAvatarContainer")+'" style="width: '+ds(aP(d))+"px; height: "+ds(aP(d))+'px"><div peoplekit-id="'+ds("YLEF4c")+'" class="'+ds("peoplekitComponentsAvatarImplAvatar")+'" style="width: '+ds(aP(d))+"px; height: "+ds(aP(d))+'px">';Array.isArray(b);b.length===1?(Array.isArray(b),b=cs('<div class="'+ds("peoplekitComponentsAvatarImplContainer")+
'">'+R8(b[0],c,d,e,f)+"</div>")):b.length===2?(Array.isArray(b),b=cs('<div class="'+ds("peoplekitComponentsAvatarImplContainer")+'"><div class="'+ds("peoplekitComponentsAvatarImplColumn")+'">'+R8(b[0],c,d,e,f)+"</div>"+S8()+'<div class="'+ds("peoplekitComponentsAvatarImplColumn")+'">'+R8(b[1],c,d,e,f)+"</div></div>")):b.length===3?(Array.isArray(b),b=cs('<div class="'+ds("peoplekitComponentsAvatarImplContainer")+'"><div class="'+ds("peoplekitComponentsAvatarImplColumn")+'">'+R8(b[0],c,d,e,f)+"</div>"+
S8()+'<div class="'+ds("peoplekitComponentsAvatarImplColumn")+'"><div class="'+ds("peoplekitComponentsAvatarImplRow")+'">'+R8(b[1],c,Math.round(d*.5),e,f)+"</div>"+S8()+'<div class="'+ds("peoplekitComponentsAvatarImplRow")+'">'+R8(b[2],c,Math.round(d*.5),e,f)+"</div></div></div>")):(Array.isArray(b),b=cs('<div class="'+ds("peoplekitComponentsAvatarImplContainer")+'"><div class="'+ds("peoplekitComponentsAvatarImplColumn")+'"><div class="'+ds("peoplekitComponentsAvatarImplRow")+'">'+R8(b[0],c,Math.round(d*
.5),e,f)+"</div>"+S8()+'<div class="'+ds("peoplekitComponentsAvatarImplRow")+'">'+R8(b[2],c,Math.round(d*.5),e,f)+"</div></div>"+S8()+'<div class="'+ds("peoplekitComponentsAvatarImplColumn")+'"><div class="'+ds("peoplekitComponentsAvatarImplRow")+'">'+R8(b[1],c,Math.round(d*.5),e,f)+"</div>"+S8()+'<div class="'+ds("peoplekitComponentsAvatarImplRow")+'">'+R8(b[3],c,Math.round(d*.5),e,f)+"</div></div></div>"));b=cs(b);return a(h+b+'</div><div peoplekit-id="'+ds("Btuy5e")+'" class="'+ds("peoplekitComponentsAvatarImplAvatarBadge")+
'">'+cs('<img class="'+ds("peoplekitComponentsAvatarImplBadgeIconImage")+'" peoplekit-id="'+ds("m6fZne")+'" draggable="false" alt="">')+"</div></div>")},R8=function(a,b,c,d,e){var f='<div peoplekit-id="'+ds("IHgMKc")+'" class="'+ds("peoplekitComponentsAvatarImplImageRoot")+'">',h=skc(kdc(a,c,c,e));h=fkc(h);a=skc(kdc(a,d,d,e));a=fkc(a);b=skc(kdc(b,c,c,e));b=fkc(b);h='<img peoplekit-id="'+ds("HiaYvf")+'" class="'+ds("peoplekitComponentsAvatarImplImage")+'" style="width: '+ds(aP(c))+"px; height: "+ds(aP(c))+
'px;" data-preload-src="'+ds(a)+'" data-src="'+ds(h)+'" data-backup-src="'+ds(b)+'" draggable="false" alt="">';c=cs('<svg xmlns="http://www.w3.org/2000/svg" height="'+ds(c)+'px" viewBox="0 0 24 24" width="'+ds(c)+'px" class="'+ds("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 cs(f+(h+c+"</div>"))},S8=function(){return cs('<div class="'+ds("peoplekitComponentsAvatarImplDivider")+'"></div>')};var iRc=new Map([[0,"light_theme"],[1,"dark_theme"]]);var jRc=!ls&&!vba(),kRc=function(a,b){if(/-[a-z]/.test(b))return null;if(jRc&&a.dataset){if(wba()&&!(b in a.dataset))return null;a=a.dataset[b];return a===void 0?null:a}return a.getAttribute("data-"+OSb(b))};var lRc=new Map([[1,"badge_active"],[2,"badge_inactive"],[3,"badge_idle"],[4,"badge_do_not_disturb"],[5,"badge_video"]]),mRc=new Map([[1,"Active."],[2,"Inactive."],[3,"Idle."],[4,"Do Not Disturb."],[5,"In Video Call."]]),NKb=function(a,b){this.appearance=b;this.root=a;nRc(this)};g=NKb.prototype;
g.setBadge=function(a){var b=Jr(this.root,"Btuy5e");if(a.badgeType===0)b.classList.remove("visible");else{var c=lRc.get(a.badgeType)||"";if(c){var d=this.appearance.getTheme();c="https://www.gstatic.com/people/peoplekit/icons/"+(iRc.get(d)||"light_theme")+"/"+c+".svg"}else c="";a=mRc.get(a.badgeType)||"";d=Jr(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 nRc=function(a){a=l(Array.from(a.root.querySelectorAll('[peoplekit-id="IHgMKc"]')));for(var b=a.next(),c={};!b.done;c={img$jscomp$10:void 0,src$jscomp$65:void 0,imageRoot:void 0,backupSrc:void 0},b=a.next())c.imageRoot=b.value,c.img$jscomp$10=Jr(c.imageRoot,"HiaYvf"),b=kRc(c.img$jscomp$10,"preloadSrc"),c.src$jscomp$65=kRc(c.img$jscomp$10,"src"),c.backupSrc=kRc(c.img$jscomp$10,"backupSrc"),JKb(c.src$jscomp$65)?c.img$jscomp$10.src=c.src$jscomp$65:JKb(b)?(c.img$jscomp$10.src=b,Cq(function(d){return function(){d.img$jscomp$10.src=
d.src$jscomp$65}}(c),0)):(c.imageRoot.classList.add("isLoading"),c.img$jscomp$10.onload=function(d){return function(){d.imageRoot.classList.remove("isLoading")}}(c),c.img$jscomp$10.onerror=function(d){return function(){d.img$jscomp$10.getAttribute("src")===d.backupSrc?(d.img$jscomp$10.onerror=null,d.imageRoot.classList.remove("isLoading"),d.imageRoot.classList.add("isNotLoaded")):d.img$jscomp$10.src=d.backupSrc}}(c),c.img$jscomp$10.src=c.src$jscomp$65)};var KKb=function(){this.style=this.theme=this.density=0};g=KKb.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 aLb=$r.getInstance();var WKb=function(a){a=a.memberCount;return(new QM("{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)},VKb=function(a){a=a.memberNames;Array.isArray(a);return a.join(", ")};var bLb=$r.getInstance();var dLb=function(a,b,c){var d=this;this.root=a;this.selection=b;this.selectionsState=c;this.isDisabledInternal=!1;this.deleteButton=Jr(this.root,"bxvLg");this.eventHandler=Mr(this);this.eventHandler.listen(this.deleteButton,"click",function(){d.onDeleteButtonClick()})};g=dLb.prototype;g.onDeleteButtonClick=function(){this.selectionsState.deselect(this.selection,8)};g.toggleSelection=function(){};g.activate=function(){this.root.classList.add("isActive");this.root.setAttribute("aria-selected","true")};
g.deactivate=function(){this.root.classList.remove("isActive");this.root.setAttribute("aria-selected","false")};g.isActive=function(){return this.root.classList.contains("isActive")};g.spotlight=function(){this.root.classList.add("isSpotlit")};g.unspotlight=function(){this.root.classList.remove("isSpotlit")};g.disable=function(){this.root.classList.add("isDisabled");this.isDisabledInternal=!0};g.enable=function(){this.root.classList.remove("isDisabled");this.isDisabledInternal=!1};g.isDisabled=function(){return this.isDisabledInternal};
g.drag=function(){this.root.classList.add("isDragged")};g.dispose=function(){this.eventHandler.removeAll()};g.getRoot=function(){return this.root};g.getSelection=function(){return this.selection};g.onKeyDown=function(){};g.onContextMenu=function(){return function(){}};g.getAllIds=function(){return[this.selection.id()]};g.updateWaldo=function(){};g.updateHubAvailabilityDot=function(){};g.getSupportedIntelligenceFeatures=function(){return[]};g.initializeIntelligence=function(){};var oRc=function(a,b,c,d,e,f,h,k,q){d=d?ds(d):e?ds("isWarning"):"";return cs('<div role="option" class="'+ds("peoplekitComponentsChipChip")+" "+d+" "+(f?ds("isDeletionDisabled"):"")+'" id="'+ds(a)+'" peoplekit-id="'+ds("XPtOyb")+'" data-hovercard-id="'+ds(c)+'" data-name="'+ds(b)+'"'+(f?"":' aria-describedby="'+ds(a)+'-db"')+'><div class="'+ds("peoplekitComponentsChipChipRow")+" "+ds("peoplekitComponentsChipChipContainer")+'"><div class="'+ds("peoplekitComponentsChipLeft")+'">'+es(h)+'</div><div class="'+
ds("peoplekitComponentsChipCenter")+'">'+es(k)+'</div><div class="'+ds("peoplekitComponentsChipRight")+'">'+es(q)+'</div></div><div peoplekit-id="'+ds("QL45qe")+'"></div></div>')},pRc=function(a){return cs('<div class="'+ds("peoplekitComponentsChipAvatar")+'"><div class="'+ds("peoplekitComponentsChipAvatarContainer")+'" peoplekit-id="'+ds("d6MZcd")+'"></div>'+(ZO(a)?es(a):"")+"</div>")},qRc=function(a){return cs('<div class="'+ds("peoplekitComponentsChipLabelContainer")+'"><div class="'+ds("peoplekitComponentsChipLabel")+
" "+ds("peoplekitComponentsChipLabelRow")+'"><div class="'+ds("peoplekitComponentsChipDisplayLabel")+'" translate="no">'+es(fs(a))+'</div><div class="'+ds("peoplekitComponentsChipDisambiguationLabel")+'" peoplekit-id="'+ds("hyPgpe")+'" translate="no"></div></div></div>')},rRc=function(a){a='<div id="'+ds(a)+'-db" peoplekit-id="'+ds("bxvLg")+'" class="'+ds("peoplekitComponentsChipDeleteButton")+'" aria-hidden="true" aria-label="'+ds("Press delete to remove this chip")+'">';var b=cs('<svg xmlns="https://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" class="'+
(ds("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 cs(a+b+"</div>")};var cLb=function(a){var b=a.id,c=a.label,d=a.stateClass,e=cs,f=a.name,h=a.hovercardId,k=a.isWarning;a=a.isDeletionDisabled;var q=cs,t;d?t=cs(pRc(cs('<div class="'+ds("peoplekitComponentsChipAvatarExclamationOverlay")+" "+(d?ds(d):"")+'"><div class="'+ds("peoplekitComponentsChipExclamationIcon")+" "+(d?ds(d):"")+'">'+cs('<svg viewBox="0 0 24 24"><path d="M0 0h24v24H0z" fill="none"/><path d="M11 14V5h2v9Zm0 5v-2h2v2Z"/></svg>')+"</div></div>"))):t=pRc();return e(oRc(b,f,h,d,k,a,q(""+t),cs(""+qRc(c)),
cs(""+rRc(b))))};var hLb=function(a,b,c){var d=this;this.root=a;this.selection=b;this.selectionsState=c;this.isDisabledInternal=!1;this.deleteButton=Jr(this.root,"bxvLg");this.eventHandler=Mr(this);this.eventHandler.listen(this.deleteButton,"click",function(){return d.onDeleteButtonClick()})};g=hLb.prototype;g.onDeleteButtonClick=function(){this.selectionsState.deselect(this.selection,8)};g.toggleSelection=function(){};
g.activate=function(){this.root.classList.add("isActive");this.root.setAttribute("aria-selected","true")};g.deactivate=function(){this.root.classList.remove("isActive");this.root.setAttribute("aria-selected","false")};g.isActive=function(){return this.root.classList.contains("isActive")};g.spotlight=function(){this.root.classList.add("isSpotlit")};g.unspotlight=function(){this.root.classList.remove("isSpotlit")};g.disable=function(){this.root.classList.add("isDisabled");this.isDisabledInternal=!0};
g.enable=function(){this.root.classList.remove("isDisabled");this.isDisabledInternal=!1};g.isDisabled=function(){return this.isDisabledInternal};g.drag=function(){this.root.classList.add("isDragged")};g.dispose=function(){this.eventHandler.removeAll()};g.getRoot=function(){return this.root};g.getSelection=function(){return this.selection};g.onKeyDown=function(){};g.onContextMenu=function(){return function(){}};g.getAllIds=function(){return[this.selection.id()]};g.updateWaldo=function(){};
g.updateHubAvailabilityDot=function(){};g.getSupportedIntelligenceFeatures=function(){return[]};g.initializeIntelligence=function(){};var gLb=function(a){var b=a.id,c=a.label,d=a.avatarSize;return cs(oRc(b,a.name,a.hovercardId,"",!1,a.isDeletionDisabled,cs('<div class="'+ds("peoplekitComponentsChipPlaceholderAvatarPlaceholder")+" "+ds("peoplekitComponentsChipPlaceholderShimmer")+'" style="width: '+ds(aP(d))+"px; height: "+ds(aP(d))+'px;"></div>'),cs(""+(c?qRc(c):'<div class="'+ds("peoplekitComponentsChipPlaceholderLabelPlaceholder")+" "+ds("peoplekitComponentsChipPlaceholderShimmer")+'"></div>')),cs(""+rRc(b))))};var T8=function(a){this.delegate=a};g=T8.prototype;g.toggleSelection=function(){this.delegate.toggleSelection()};g.activate=function(){this.delegate.activate()};g.deactivate=function(){this.delegate.deactivate()};g.isActive=function(){return this.delegate.isActive()};g.spotlight=function(){this.delegate.spotlight()};g.unspotlight=function(){this.delegate.unspotlight()};g.disable=function(){this.delegate.disable()};g.enable=function(){this.delegate.enable()};g.isDisabled=function(){return this.delegate.isDisabled()};
g.drag=function(){this.delegate.drag()};g.dispose=function(){this.delegate.dispose()};g.getRoot=function(){return this.delegate.getRoot()};g.getSelection=function(){return this.delegate.getSelection()};g.onKeyDown=function(a){this.delegate.onKeyDown(a)};g.onContextMenu=function(a,b){return this.delegate.onContextMenu(a,b)};g.getAllIds=function(){return this.delegate.getAllIds()};g.updateWaldo=function(a,b){this.delegate.updateWaldo(a,b)};
g.updateHubAvailabilityDot=function(a,b){this.delegate.updateHubAvailabilityDot(a,b)};g.getSupportedIntelligenceFeatures=function(){return this.delegate.getSupportedIntelligenceFeatures()};g.initializeIntelligence=function(){this.delegate.initializeIntelligence()};var sRc=Object.freeze(new Qr(NaN,NaN)),tRc=Object.freeze(new fP(NaN,NaN,NaN,NaN)),Tr=function(a,b){this.root=a;this.options=b;this.lastPosition=sRc;this.lastBounds=tRc;this.anchorUpdateTimer=new jA(15);this.eventHandler=Mr(this);this.attach()};Tr.prototype.attach=function(){var a=this;this.eventHandler.listen(this.anchorUpdateTimer,"tick",function(){return uRc(a)})};Tr.prototype.isShown=function(){return this.root.style.display!="none"};Tr.prototype.dispose=function(){this.hide();this.eventHandler.removeAll()};
Tr.prototype.show=function(a){this.anchor=a;this.lastPosition=sRc;this.lastBounds=tRc;jP(this.root,!0);uRc(this);this.anchorUpdateTimer.start()};
var uRc=function(a){var b;if(b=a.anchor){if(!(b=!a.lastPosition.equals(iP(a.anchor)))){b=a.lastBounds;var c=Or(a.root);b=!(b==c||b&&c&&b.left==c.left&&b.width==c.width&&b.top==c.top&&b.height==c.height)}b&&(c=a.anchor,b=Or(c),b=(c=Pr(c))?b.intersection(kLb(c)):!1)}if(b){c=a.anchor;b=a.root;var d=a.options,e=d.anchorCorner||9,f=d.popupCorner||8;d=d.moveAboveAnchorIfOffscreen===void 0?!0:d.moveAboveAnchorIfOffscreen;Sr(b,"","");b.style.height=hP("",!0);var h=pLb(c,e,b,f,d);c=pLb(c,e^1,b,f^1,d);h.height>=
c.height||!d?sLb(b,h):sLb(b,c);a.lastPosition=iP(a.anchor);a.lastBounds=Or(a.root)}};Tr.prototype.hide=function(){this.root.style.cssText="";jP(this.root,!1);this.anchorUpdateTimer.stop();this.lastPosition=sRc;this.lastBounds=tRc};var Ur=function(a,b,c){this.tooltip=a;this.showDelayMs=b;this.hideDelayMs=c;this.displayed=!1;this.eventHandler=Mr(this)};Ur.prototype.showTooltip=function(){vRc(this);if(!this.isDisplayed()&&this.anchor){this.displayed=!0;var a;(a=this.showCallback)==null||a.call(this);U8(this)}};Ur.prototype.hideTooltip=function(){U8(this);if(this.isDisplayed()&&this.anchor){this.displayed=!1;var a;(a=this.hideCallback)==null||a.call(this);vRc(this)}else U8(this)};Ur.prototype.isDisplayed=function(){return this.displayed};
Ur.prototype.getAnchorElement=function(){return this.anchor};
var wRc=function(a,b){a.hideCallback=b.hideTooltipCallback;a.showCallback=b.showTooltipCallback},ARc=function(a,b){if(a.anchor)throw Error("Cf");a.anchor=b;xRc(a);yRc(a);zRc(a)},BRc=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)},CRc=function(a){vRc(a);U8(a);a.showTimeout=setTimeout(function(){a.showTooltip()},a.showDelayMs)},DRc=function(a){vRc(a);U8(a);a.hideTimeout=
setTimeout(function(){a.hideTooltip()},a.hideDelayMs)},xRc=function(a){if(!a.anchor)throw Error("Df");a.eventHandler.listen(a.anchor,"mouseover",function(){a.isDisplayed()?a.showTooltip():CRc(a)});a.eventHandler.listen(a.anchor,"touchstart",function(){CRc(a)});a.eventHandler.listen(a.anchor,"focusin",function(b){a.tooltip.contains(b.relatedTarget)||CRc(a)});a.eventHandler.listen(a.anchor,"touchend",function(){U8(a)});a.eventHandler.listen(a.anchor,"touchcancel",function(){U8(a)});a.eventHandler.listen(a.anchor,
"mouseout",function(){DRc(a)});a.eventHandler.listen(a.anchor,"focusout",function(){a.hideTooltip()})},yRc=function(a){a.eventHandler.listen(a.tooltip,"mouseover",function(){CRc(a)});a.eventHandler.listen(a.tooltip,"mouseout",function(){DRc(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()})},zRc=function(a){a.eventHandler.listen(window,"touchmove",function(){DRc(a)});a.eventHandler.listen(window,
"focus",function(b){b.target!==a.anchor&&DRc(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()})},U8=function(a){clearTimeout(a.showTimeout);a.showTimeout=void 0},vRc=function(a){clearTimeout(a.hideTimeout);a.hideTimeout=void 0};var vLb=function(a,b){this.tooltip=a;this.tooltipEventTracker=b;this.popupService=tLb(this.tooltip,{anchorCorner:3,popupCorner:2})},gMb=function(a,b){ARc(a.tooltipEventTracker,b);wRc(a.tooltipEventTracker,{showTooltipCallback:function(){a.showTooltipCallback()},hideTooltipCallback:function(){a.hideTooltipCallback()}})};g=vLb.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 uLb=function(a){var b=a.label,c=a.ariaLabel,d=a.classes,e=a.attributes;return cs('<div id="'+ds(a.id)+'" peoplekit-id="'+ds("suEOdc")+'" class="'+ds("peoplekitComponentsTooltipImplTooltip")+(d?" "+ds(d):"")+'" style="display: none;" aria-hidden="true"'+(c?' aria-label="'+ds(c)+'"':"")+(ZO(e)?okc(YO(e,Zjc)?e.getContent():zkc(e)):"")+">"+es(b)+"</div>")};var Vr=function(a,b,c){this.delegate=a;var d=a.getRoot();/-[a-z]/.test("hovercardId")||(jRc&&d.dataset?(/-[a-z]/.test("hovercardId")?0:jRc&&d.dataset?"hovercardId"in d.dataset:d.hasAttribute?d.hasAttribute("data-"+OSb("hovercardId")):d.getAttribute("data-"+OSb("hovercardId")))&&delete d.dataset.hovercardId:d.removeAttribute("data-"+OSb("hovercardId")));d="tt-"+a.getSelection().id().toString();this.tooltip=wLb(a.getRoot(),d,{label:b,ariaLabel:c});gMb(this.tooltip,a.getRoot())};X(Vr,T8);
Vr.prototype.dispose=function(){BRc(this.tooltip.tooltipEventTracker);T8.prototype.dispose.call(this)};Vr.prototype.spotlight=function(){T8.prototype.spotlight.call(this);this.tooltip.showTooltip()};Vr.prototype.unspotlight=function(){T8.prototype.unspotlight.call(this);this.tooltip.hideTooltip()};Vr.prototype.drag=function(){T8.prototype.drag.call(this);this.tooltip.hideTooltip()};var NLb=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=NLb.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 ERc=function(a,b,c,d){this.loggingToken=d;(new XQc(a)).setDisplayName(b).forceDisplayNameOverride_=c};ERc.prototype.getLoggingToken=function(){return this.loggingToken};var FRc=function(){};FRc.prototype.getDisplayNameMatches=function(){return[]};FRc.prototype.getDisplayValueMatches=function(){return[]};FRc.prototype.getGivenNameMatches=function(){return[]};var GRc=new FRc;var zLb=function(a,b,c){this.resultType_=a;this.targets_=b;this.memberCount_=c};g=zLb.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.getMatchInfo=function(){return GRc};g.getExtendedData=function(){return null};var HRc=new Map([[1,1],[2,1],[3,1],[4,1],[5,2],[6,1],[7,1],[8,1],[9,3],[10,5],[11,6],[12,4],[13,4],[14,4],[15,4],[16,4],[17,1],[18,7],[19,7]]);var Qs=function(){this.url_="";this.sourceType_=this.type_=0;this.glyph_=""};g=Qs.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 IRc=(new Qs).setType(1).setUrl("https://lh3.googleusercontent.com/a/default-user"),JRc=new Qs;var V8=function(a){this.id_=a;this.value_=this.id_.getOriginalValue();this.description_=this.canonicalValue_="";this.name_=null;this.photo_=Ns(this.id_)?JRc:IRc;this.tags_=[];this.sourceIds_=xOb.includes(this.id_.getType())?[this.id_]:[];this.id_.getType()===8&&this.sourceIds_.push(uOb(this.id_.getOriginalValue()));this.isMe_=this.id_.getType()===17;this.dataSource_=0;this.resultType_=HRc.get(this.id_.getType())||0;this.personLoggingId_=this.fieldLoggingId_="";this.orgState_=0;this.extendedData_=
this.reachabilityInfo_=this.originatingField_=this.emailSecurityInfo_=null};g=V8.prototype;g.getId=function(){return this.id_};g.getTargetType=function(){return this.id_.getType()};g.getValue=function(){return this.value_};g.setValue=function(a){this.value_=Wr(a);return this};g.getDisplayValue=function(){switch(this.getTargetType()){case 8:var a=this.getOriginatingField();return Wr(a&&a.getValue());case 1:case 2:case 6:case 7:return this.getValue();default:return""}};
g.getCanonicalValue=function(){return this.canonicalValue_||this.value_};g.setCanonicalValue=function(a){this.canonicalValue_=Wr(a);return this};g.getName=function(){return this.name_};g.setName=function(a){this.name_=a;return this};g.getDescription=function(){return this.description_};g.setDescription=function(a){this.description_=Wr(a);return this};g.getPhoto=function(){return this.photo_};g.setPhoto=function(a){a&&a.getUrl()&&a.getType()!==1?this.photo_=a:this.photo_=Ns(this.id_)?JRc:IRc};
g.getTagList=function(){return this.tags_};var COb=function(a,b){a.tags_=b||[]};g=V8.prototype;g.getSourceIdList=function(){return this.sourceIds_};g.getProfileId=function(){return this.getSourceIdList().filter(function(a){return a.getType()===3}).map(function(a){return a.getOriginalValue()}).find(Boolean)||""};g.getContactId=function(){return this.getSourceIdList().filter(function(a){return a.getType()===4}).map(function(a){return a.getOriginalValue()}).find(Boolean)||""};g.getLoggingToken=function(){return new ht};
g.getIsMe=function(){return this.isMe_};var AOb=function(a,b){a.isMe_=b;return a};g=V8.prototype;g.getDataSource=function(){return this.dataSource_};g.setDataSource=function(a){this.dataSource_=a;return this};g.getResultType=function(){return this.resultType_};g.getFieldLoggingId=function(){return this.fieldLoggingId_};g.setFieldLoggingId=function(a){this.fieldLoggingId_=Wr(a)};g.getPersonLoggingId=function(){return this.personLoggingId_};g.setPersonLoggingId=function(a){this.personLoggingId_=Wr(a)};
g.getOrgState=function(){return this.orgState_};g.getOriginatingField=function(){return this.originatingField_};var sPb=function(a,b){a.originatingField_=b;return a};V8.prototype.getEmailSecurityInfo=function(){return this.emailSecurityInfo_};var EOb=function(a,b){a.emailSecurityInfo_=b};V8.prototype.getReachabilityInfo=function(){return this.reachabilityInfo_};var GOb=function(a,b){a.reachabilityInfo_=b};V8.prototype.getExtendedData=function(){return this.extendedData_};var Ps=function(a){return new V8(a)};var KRc=function(a){this.internalId=a;this.displayNameOverride="";this.forceDisplayNameOverride=!1;a=Ps(this.internalId).setDataSource(3);this.internalResult=new Rq(ALb(0,[a]));this.internalSelectionToken=new ERc(this.internalId,this.displayNameOverride,this.forceDisplayNameOverride,null)};g=KRc.prototype;g.id=function(){return this.internalId};g.selectionToken=function(){return this.internalSelectionToken};g.targets=function(){return this.internalResult.getTargetList()};g.result=function(){return this.internalResult};
g.getForceDisplayNameOverride=function(){return this.forceDisplayNameOverride};g.getDisplayNameWithOverrideApplied=function(){return this.displayNameOverride};g.isPlaceholder=function(){return!0};var FLb=function(a,b){this.root=a;this.options=b};g=FLb.prototype;g.activate=function(){this.root.classList.add("isActive")};g.deactivate=function(){this.root.classList.remove("isActive")};g.spotlight=function(){};g.unspotlight=function(){};g.getRoot=function(){return this.root};g.getSelection=function(){return new KRc(wOb(this.options.id))};g.toggleSelection=function(){};g.onKeyDown=function(){};g.onContextMenu=function(){return function(){}};var ELb=function(a){var b=a.keyboardShortcut,c=a.densityClass,d=a.ariaLabel,e=a.id,f=a.iconUrl;a=a.label;Array.isArray(b);c='<div role="menuitem" id="'+ds(e)+'" peoplekit-id="'+ds("UhZROb")+'" class="'+ds("peoplekitComponentsContextmenuitemImplMenuItem")+" "+ds(c)+'"'+(d?' aria-label="'+ds(d)+'"':"")+'><div class="'+ds("peoplekitComponentsContextmenuitemImplRow")+'">'+(ZO(f)?'<img class="'+ds("peoplekitComponentsContextmenuitemImplIcon")+" "+ds("peoplekitComponentsContextmenuitemImplLeft")+'" src="'+
ds(ukc(f))+'" draggable="false" alt=""/>':"")+'<div class="'+ds("peoplekitComponentsContextmenuitemImplLabel")+" "+ds("peoplekitComponentsContextmenuitemImplCenter")+'">'+es(a)+"</div>";b.length>0&&(c+='<div class="'+ds("peoplekitComponentsContextmenuitemImplKeyboardShortcut")+" "+ds("peoplekitComponentsContextmenuitemImplRight")+'"><span dir="ltr">',c+=es(b.join("+"))+"</span></div>");return cs(c+"</div></div>")};var fOb=new Map([["pcw-select",3],["pcw-deselect",3],["pcw-click",3],["pcw-input",15]]);var BLb=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 as=function(a,b){this.ariaParent=a;this.delegate=b};g=as.prototype;g.update=function(){var a=this.getSpotlitItem();a?(a=a.getRoot(),JN(this.ariaParent,a)):JN(this.ariaParent,null)};g.prev=function(a){a=this.delegate.prev(a);this.update();return a};g.next=function(a){a=this.delegate.next(a);this.update();return a};g.size=function(){return this.delegate.size()};g.goToItem=function(a,b){a=this.delegate.goToItem(a,b);this.update();return a};
g.goToIndex=function(a,b){a=this.delegate.goToIndex(a,b);this.update();return a};g.getSpotlitItem=function(){return this.delegate.getSpotlitItem()};g.getActiveItems=function(){return this.delegate.getActiveItems()};g.getItem=function(a){return this.delegate.getItem(a)};g.getIndexOf=function(a){return this.delegate.getIndexOf(a)};g.clear=function(){this.delegate.clear();this.update()};g.reset=function(){this.delegate.reset();this.update()};g.setSecondaryEventTargets=function(a){this.delegate.setSecondaryEventTargets(a)};
g.onKeyDown=function(a){this.delegate.onKeyDown(a)};g.onContextMenu=function(a,b){var c=this;this.delegate.onContextMenu(a,function(){c.update();b()})};g.remove=function(a,b){this.delegate.remove(a,b);this.update()};g.insert=function(a,b,c){this.delegate.insert(a,b,c);this.update()};var HLb=function(a){this.isActive=!1;this.multiActivateAnchorIndex=this.spotlightIndex=-1;this.secondaryEventTargets=[];this.list=[].concat(r(a));this.activeItems=new Set([]);this.hideContextMenu=function(){}};g=HLb.prototype;
g.remove=function(a,b){var c=-1;a=l(a);for(var d=a.next();!d.done;d=a.next())d=d.value,c=this.list.indexOf(d),this.list.splice(c,1),this.activeItems.delete(d),b||(c<this.spotlightIndex?--this.spotlightIndex:c===this.spotlightIndex&&this.reset());c>=0&&b&&(this.isActive=!1,this.goToIndex(c,0))};
g.insert=function(a,b,c){this.list.splice.apply(this.list,[a,0].concat(r(b)));c?(LRc(this),MRc(this,a,a+b.length-1),this.spotlightIndex=a,this.list[this.spotlightIndex].spotlight()):a>=0&&a<=this.spotlightIndex&&(this.spotlightIndex+=b.length)};g.size=function(){return this.list.length};g.prev=function(a){var b=this.spotlightIndex===0&&a===1;!this.list.length||b?a=!1:(this.isActive?(b=this.spotlightIndex-1,b=b>=0?b:this.list.length+b):b=this.list.length-1,a=this.goToIndex(b,a));return a};
g.next=function(a){var b=this.spotlightIndex===this.list.length-1&&a===1;if(!this.list.length||b)a=!1;else{var c;this.isActive?c=(this.spotlightIndex+1)%this.list.length:c=0;a=this.goToIndex(c,a)}return a};g.goToItem=function(a,b){a=this.list.indexOf(a);return this.goToIndex(a,b)};
g.goToIndex=function(a,b){this.hideContextMenu();if(!this.list.length||a===void 0||a<0)return!1;var c=this.isActive?this.spotlightIndex:-1;this.spotlightIndex=Math.max(Math.min(this.list.length-1,a),0);this.isActive&&this.list[c].unspotlight();this.isActive||(this.multiActivateAnchorIndex=a);this.isActive=!0;switch(b){case 0:LRc(this);NRc(this);break;case 3:NRc(this);break;case 1:a=JLb(this.spotlightIndex,c,this.multiActivateAnchorIndex);b=JLb(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);MRc(this,this.multiActivateAnchorIndex,this.spotlightIndex)}this.list[this.spotlightIndex].spotlight();return!0};g.getSpotlitItem=function(){return this.isActive?this.list[this.spotlightIndex]:void 0};g.getActiveItems=function(){var a=this;return this.list.filter(function(b){return a.activeItems.has(b)})};
g.getItem=function(a){for(var b=l(this.list),c=b.next();!c.done;c=b.next()){c=c.value;var d=c.getRoot();if(d===a||d.contains(a))return c}};g.getIndexOf=function(a){return this.list.indexOf(a)};g.clear=function(){this.reset();this.list.length=0};g.reset=function(){this.hideContextMenu();LRc(this);var a=this.getSpotlitItem();a&&a.unspotlight();this.spotlightIndex=-1;this.isActive=!1};g.setSecondaryEventTargets=function(a){this.secondaryEventTargets=a};
g.onKeyDown=function(a){var b=[this.getSpotlitItem()].concat(r(this.secondaryEventTargets));b=l(b);for(var c=b.next();!c.done;c=b.next()){var d=void 0;(d=c.value)==null||d.onKeyDown(a);if(a.hasStoppedPropagationInternal)break}};g.onContextMenu=function(a,b){this.hideContextMenu();var c=a.event;if(c=c.target===c.currentTarget?this.getSpotlitItem():this.getItem(c.target))this.hideContextMenu=c.onContextMenu(a,b)};
var NRc=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},LRc=function(a){for(var b=l(a.activeItems),c=b.next();!c.done;c=b.next())c=c.value,c.deactivate(),c.unspotlight();a.activeItems.clear()},MRc=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 W8=function(a){this.event=a;this.hasStoppedPropagationInternal=!1};W8.prototype.stopPropagation=function(){this.event.stopPropagation();this.hasStoppedPropagationInternal=!0};W8.prototype.preventDefault=function(){this.event.preventDefault()};var KLb=function(a,b){this.input=this.navigatable=null;this.navigatePastBeginCallback=a.navigatePastBegin||function(){};this.navigatePastEndCallback=a.navigatePastEnd||function(){};this.options=Object.assign({},{shouldReactToHomeEnd:!0},b);this.eventHandler=Mr(this)};g=KLb.prototype;
g.attach=function(a,b){var c=this;this.detach();this.navigatable=b;this.input=a;this.eventHandler.listen(this.input,"keydown",function(d){return c.onKeyDown(new W8(d))});this.eventHandler.listen(this.input,"contextmenu",function(d){return c.onContextMenu(new W8(d))});this.eventHandler.listen(this.input,"blur",function(){return c.onBlur()})};g.detach=function(){this.eventHandler.removeAll();this.navigatable=this.input=null};
g.onKeyDown=function(a){if(this.navigatable&&(this.navigatable.onKeyDown(a),!a.hasStoppedPropagationInternal))switch(a.event.keyCode){case 40:this.navigatable.next(0)||this.navigatePastEndCallback();a.stopPropagation();a.preventDefault();break;case 38:this.navigatable.prev(0)||this.navigatePastBeginCallback();a.stopPropagation();a.preventDefault();break;case 36:if(!this.options.shouldReactToHomeEnd)break;this.navigatable.goToIndex(0,0);a.stopPropagation();a.preventDefault();break;case 35:this.options.shouldReactToHomeEnd&&
(this.navigatable.goToIndex(this.navigatable.size()-1,0),a.stopPropagation(),a.preventDefault())}};g.onClick=function(a,b){if(!this.navigatable)return!1;this.navigatable.goToItem(a,0);b.stopPropagation();return!0};g.onContextMenu=function(a){if(this.navigatable)this.navigatable.onContextMenu(a,function(){})};g.reset=function(){this.navigatable&&this.navigatable.reset()};g.onBlur=function(){this.reset()};var ORc=new Iz;ORc.altKey=!0;ORc.keyCode=39;(new Iz).keyCode=13;var PRc=function(){Gz.call(this)};X(PRc,Gz);PRc.prototype.init=function(){};new PRc;var bs=function(a,b,c,d,e){this.root=a;this.anchor=b;this.container=d;this.appearanceConfig=e;this.popup=tLb(this.root,{});this.navigatable=ILb(c);this.navigationEventHandler=LLb({getPrevKeyCode:function(){return 38},getNextKeyCode:function(){return 40}},{});this.itemSelectedCallbacks=new Set;this.beforeShowCallbacks=new Set;this.afterHideCallbacks=new Set;this.contextMenuItemOptions=new Map;this.eventHandler=Mr(this);this.eventHandler.listen(this.root,"mouseover",function(f){f.stopPropagation()});
this.eventHandler.listen(this.root,"mouseout",function(f){f.stopPropagation()});this.eventHandler.listen(this.root,"mouseenter",function(f){f.stopPropagation()});this.hide()};
bs.prototype.append=function(a){var b=this;this.contextMenuItemOptions.set(a.id,a);var c=GLb(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(Yr(e))}d.stopPropagation();QRc(b,a);b.hide()});this.navigatable.insert(this.navigatable.size(),[c],!1)};
bs.prototype.show=function(){for(var a=l(this.beforeShowCallbacks.values()),b=a.next();!b.done;b=a.next())b=b.value,b();this.popup.show(this.anchor);this.navigationEventHandler.attach(this.root,this.navigatable);this.navigatable.next(0)};bs.prototype.hide=function(){this.popup.hide();this.navigatable.reset();this.navigationEventHandler.detach();for(var a=l(this.afterHideCallbacks.values()),b=a.next();!b.done;b=a.next())b=b.value,b()};
bs.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(Yr(c));b=b.getSelection().id().getValue();b=this.contextMenuItemOptions.get(b);QRc(this,b);this.hide();a.stopPropagation();a.preventDefault()}}};
var RRc=function(a,b){a.itemSelectedCallbacks.add(b)},SRc=function(a,b){a.afterHideCallbacks.add(b)},QRc=function(a,b){a=l(a.itemSelectedCallbacks.values());for(var c=a.next();!c.done;c=a.next())c=c.value,c(b)};bs.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 MLb=function(){return cs('<div peoplekit-id="'+ds("xl07Ob")+'" class="'+ds("peoplekitComponentsContextmenuImplMenu")+'" role="menu"></div>')};var QLb=function(a){var b=this;this.root=a;this.internalIsDisabled=!1;this.eventHandler=Mr(this);this.eventHandler.listen(this.root,"click",function(c){var d;(d=b.onClick)==null||d.call(b,c)})};g=QLb.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 PLb=function(a){a=a.label;return cs('<button class="'+ds("peoplekitComponentsButtonLabelLabelButton")+'">'+es(a)+"</button>")};var cMb=function(a,b,c){var d=this;this.root=a;this.actionListeners=[];this.eventHandler=Mr(this);this.actionButtons=new Map;this.actionButtons.set(0,b);this.actionButtons.set(1,c);b.onClick=function(){return d.onButtonClick(0)};c.onClick=function(){d.onButtonClick(1)};this.dialog=Jr(this.root,"Sx9Kwc");this.startFocusableElement=Jr(this.root,"tYwGbe");this.endFocusableElement=Jr(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=cMb.prototype;g.subscribeToAction=function(a){this.actionListeners.push(a)};
g.dispatchAction=function(a){var b=this.actionButtons.get(a);if(b&&!b.isDisabled()){for(var c=l(this.actionListeners),d=c.next();!d.done;d=c.next())d=d.value,d(a);a=b.getRoot();a.dispatchEvent(Yr(a))}};g.getRoot=function(){return this.root};g.onDialogClick=function(a){a.stopPropagation()};g.onDialogKeyDown=function(a){a.keyCode===27&&(this.dispatchAction(0),a.stopPropagation())};g.onStartFocusableElementFocus=function(){this.focusLastFocusableElement()};g.onEndFocusableElementFocus=function(){this.focusFirstFocusableElement()};
g.focusFirstFocusableElement=function(){var a=HKb(this.dialog);a.length&&a[0].focus()};g.focusLastFocusableElement=function(){var a=HKb(this.dialog);a.length&&a[a.length-1].focus()};g.onScrimClick=function(){this.dispatchAction(0)};g.onButtonClick=function(a){this.dispatchAction(a)};
g.dispose=function(){this.eventHandler.removeAll();this.root.parentNode&&this.root.parentNode.removeChild(this.root);this.actionListeners.length=0;for(var a=l(this.actionButtons.values()),b=a.next();!b.done;b=a.next())b.value.dispose();this.actionButtons.clear()};var WLb=function(a){var b=a.content,c=a.header;a=a.confirmAction;return cs('<div peoplekit-id="'+ds("GGAcbc")+'" class="'+ds("peoplekitComponentsDialogImplScrim")+'" role="dialog" aria-modal="true"><div peoplekit-id="'+ds("tYwGbe")+'" tabindex="0" role="application"></div><div peoplekit-id="'+ds("Sx9Kwc")+'" class="'+ds("peoplekitComponentsDialogImplDialog")+'" tabindex="-1" role="dialog">'+(ZO(c)?es(c):"")+'<div class="'+ds("peoplekitComponentsDialogImplContent")+'">'+es(b)+'</div><div class="'+
ds("peoplekitComponentsDialogImplActions")+'">'+cs(TRc("IbE0S"))+(a?cs('<div class="'+ds("peoplekitComponentsDialogImplActionDivider")+'"></div>')+cs(TRc("McfNlf")):"")+'</div></div><div peoplekit-id="'+ds("dYgZK")+'" tabindex="0" role="application"></div></div>')},TRc=function(a){return cs('<div peoplekit-id="'+ds(a)+'"></div>')},ZLb=function(a){a=a.header;return cs('<div class="'+ds("peoplekitComponentsDialogImplTextHeader")+'">'+es(a)+"</div>")};var XLb=function(a,b){var c=this;this.root=a;this.closeButton=b;this.actionListeners=[];this.eventHandler=Mr(this);this.dialog=Jr(this.root,"Sx9Kwc");this.startFocusableElement=Jr(this.root,"tYwGbe");this.endFocusableElement=Jr(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=XLb.prototype;g.subscribeToAction=function(a){this.actionListeners.push(a)};g.dispatchAction=function(a){if(!this.closeButton.isDisabled()&&a===2)for(var b=l(this.actionListeners),c=b.next();!c.done;c=b.next())c=c.value,c(a)};g.getRoot=function(){return this.root};
g.dispose=function(){this.root.parentNode&&this.root.parentNode.removeChild(this.root);this.eventHandler.removeAll();this.actionListeners.length=0;this.closeButton.dispose()};g.onDialogClick=function(a){a.stopPropagation()};g.onDialogKeyDown=function(a){a.keyCode===27&&(this.dispatchAction(2),a.stopPropagation())};g.onStartFocusableElementFocus=function(){this.focusLastFocusableElement()};g.onEndFocusableElementFocus=function(){this.focusFirstFocusableElement()};
g.focusFirstFocusableElement=function(){var a=HKb(this.dialog);a.length&&a[0].focus()};g.focusLastFocusableElement=function(){var a=HKb(this.dialog);a.length&&a[a.length-1].focus()};g.onScrimClick=function(){this.dispatchAction(2)};var SLb=new Map([[0,"peoplekitStyleLegacy"],[1,"peopleKitStyleGm3"]]);var ULb=new Map([[0,"peoplekitThemeLight"],[1,"peoplekitThemeDark"]]);var gs=function(a){this.dialog=a};gs.prototype.subscribeToAction=function(a){this.dialog.subscribeToAction(a)};gs.prototype.dispatchAction=function(a){this.dialog.dispatchAction(a)};gs.prototype.getRoot=function(){return this.dialog.getRoot()};gs.prototype.dispose=function(){this.dialog.dispose()};var X8=function(a){this.delegate=a};g=X8.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 is=function(a,b,c,d,e){this.delegate=a;var f=this;this.appearanceConfig=b;this.clientConfig=c;this.result=d;this.ariaParent=e;this.groupMembers=this.result.getMemberList();this.dispatcher=this.clientConfig.injectorService.actionEventDispatcher;this.contextMenuContainer=Jr(a.getRoot(),"QL45qe");this.eventHandler=Mr(this);this.eventHandler.listen(document,"click",function(h){f.contextMenuContainer.contains(h.target)||URc(f)});this.eventHandler.listen(document,"keydown",function(h){if(f.contextMenu)f.contextMenu.onKeyDown(new W8(h))})};
X(is,X8);is.prototype.onKeyDown=function(a){if(this.contextMenu)this.contextMenu.onKeyDown(a);else X8.prototype.onKeyDown.call(this,a)};
is.prototype.onContextMenu=function(a,b){var c=this;a.stopPropagation();a.preventDefault();this.activate();this.contextMenu&&URc(this);this.contextMenu=OLb(this.contextMenuContainer,this.getRoot(),this.ariaParent,this.appearanceConfig);a=this.appearanceConfig.getTheme();this.contextMenu.append(CLb(a));RRc(this.contextMenu,function(d){switch(d.id){case "ENOWEf":c.groupMembers.length<2?VRc(c):WRc(c);break;default:throw Error("Jf`"+d.id);}URc(c)});SRc(this.contextMenu,function(){URc(c);b()});this.contextMenu.show();
return function(){URc(c)}};is.prototype.dispose=function(){this.eventHandler.removeAll();X8.prototype.dispose.call(this)};
var VRc=function(a){XRc(a);a.dispatcher.notify(8);a.hideConfirmationDialog=dMb(IKb(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));XRc(a)})},XRc=function(a){var b;(b=a.hideConfirmationDialog)==null||b.dispose();a.hideConfirmationDialog=void 0;a.dispatcher.notify(9,a.getRoot())},WRc=function(a){YRc(a);a.dispatcher.notify(8);
a.hideGroupErrorDialog=aMb(a.getRoot().ownerDocument.body,a.appearanceConfig);a.hideGroupErrorDialog.subscribeToAction(function(){YRc(a)})},YRc=function(a){var b;(b=a.hideGroupErrorDialog)==null||b.dispose();a.hideGroupErrorDialog=void 0;a.dispatcher.notify(9,a.getRoot())},URc=function(a){var b;(b=a.contextMenu)==null||b.dispose();a.contextMenu=void 0;a.dispatcher.notify(7,a.getRoot())};var hs=new Q8({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 Zs=function(a){this.internalArray_=m(a)};X(Zs,Y);Zs.prototype.getHideType=function(){return et(this,1)};Zs.prototype.getHideType_legacyNullable=function(){return et(this,1)};Zs.repeatedFields_=[3];var ZOb=new lz(417869137,Zs);var js=function(){};js.prototype.filterResult=function(a){var b,c;return((b=a.getExtendedData())==null?void 0:(c=b.getExtension(ZOb))==null?void 0:c.getHideType())===1?a:null};js.prototype.reset=function(){};var ZRc=function(a){return"To unhide this suggestion, press "+a.shortcutKey+" + Enter.  "};var hMb=function(a,b,c,d,e,f){var h=this;this.root=a;this.enabledIcon=b;this.disabledIcon=c;this.tooltip=d;this.disableDomNavigation=e;this.internalIsDisabled=!1;this.eventHandler=Mr(this);this.onClick=f;this.eventHandler.listen(this.root,"click",function(k){var q;(q=h.onClick)==null||q.call(h,k)});this.disableDomNavigation?this.root.tabIndex=-1:(this.eventHandler.listen(this.root,"focus",function(){h.activate()}),this.eventHandler.listen(this.root,"blur",function(){h.deactivate()}))};g=hMb.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&&BRc(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 $Rc=0;var fMb=function(a){var b=a.icon,c=a.ariaLabel,d="";c=(a=a.tooltipLabel?"tt-c"+$Rc++:"")?' data-tooltip-id="'+ds(a)+'" aria-labelledby="'+ds(a)+'"':c?' aria-label="'+ds(c)+'"':"";d+='<button class="'+ds("peoplekitComponentsButtonIconIconButton")+'"'+c+">"+cs('<span><img src="'+ds(ukc(b))+'" draggable="false" aria-hidden="true" alt="" class="'+ds("peoplekitComponentsButtonIconAdaptableIcon")+'"/></span>')+"</button>";return cs(d)};var jMb=function(a,b,c){this.delegate=a;var d=this;this.secondaryActionConfig=c;for(var e=Jr(a.getRoot(),"QChpEe");e.firstChild;)e.removeChild(e.firstChild);this.secondaryActionButton=iMb(e,Object.assign({},{density:b.getDensity()},c));this.buttonRoot=this.secondaryActionButton.getRoot();this.buttonRoot.style.display="none";this.buttonRoot.id=a.getRoot().id+"-2ab";c.disableDomNavigation&&HN(this.buttonRoot,"menuitem");Xr({element:this.buttonRoot,veid:163534,actions:["impression","pcw-click"],componentId:"peoplekitweb"});
this.secondaryActionButton.onClick=function(f){var h;(h=c.onClick)==null||h.call(c,f);d.buttonRoot.dispatchEvent(Yr(d.buttonRoot))};this.eventHandler=Mr(this);this.eventHandler.listen(a.getRoot(),"mouseover",this.displaySecondaryActionButton);this.eventHandler.listen(a.getRoot(),"mouseleave",this.hideSecondaryActionButton)};X(jMb,X8);g=jMb.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(),IN(this.buttonRoot,"hidden","true"),a.stopPropagation(),a.preventDefault()):(this.secondaryActionButton.activate(),IN(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();X8.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 aSc={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"},bSc=ZRc({shortcutKey:"Ctrl"}),cSc=ZRc({shortcutKey:"\u2318"}),lMb=function(a,b,c,d){var e=b.getTheme()===0?aSc.LIGHT_THEME:aSc.DARK_THEME,f=Bba()?cSc:bSc;X8.call(this,kMb(a,b,{icon:e,tooltipLabel:"Unhide suggestion",ariaLabel:f,onClick:function(k){h.onButtonClick(k)},disableDomNavigation:!0},d));var h=
this;this.appearanceConfig=b;this.clientConfig=c;this.dispatcher=this.clientConfig.injectorService.actionEventDispatcher};X(lMb,X8);lMb.prototype.onButtonClick=function(a){dSc(this);a.stopPropagation()};
var dSc=function(a){a.unhideConfirmationDialog&&eSc(a);a.dispatcher.notify(8);a.unhideConfirmationDialog=dMb(IKb(a.getRoot()),a.getSelection(),a.appearanceConfig,1);a.unhideConfirmationDialog.subscribeToAction(function(b){b===1&&a.dispatcher.notify(4,a.getAllIds());eSc(a)})},eSc=function(a){var b;(b=a.unhideConfirmationDialog)==null||b.dispose();a.unhideConfirmationDialog=void 0;a.dispatcher.notify(9,a.getRoot())};var fSc=function(){this.label="";this.type=0};g=fSc.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 gSc=function(){this.decorationConfigRequest=function(){};this.resultCustomizationCallback=function(){return{}}};g=gSc.prototype;g.getAllowResultDeselection=function(){return!1};g.getWarnForExternalSelections=function(){return!1};g.getResultDecorationConfigRequestCallback=function(){return this.decorationConfigRequest};g.getResultCustomizationCallback=function(){return this.resultCustomizationCallback};g.setResultCustomizationCallback=function(a){this.resultCustomizationCallback=a};var hSc=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 fSc;this.result=new gSc;this.appearance=new KKb};g=hSc.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 iSc=function(a){this.environmentConfig=a;this.autocomplete=new hSc(a);this.autocomplete.setClearSelectionsOnSearch(!0)};g=iSc.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 tMb=function(a){this.root=a;this.length=0};g=tMb.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(){u_b(this.root);this.length=0};g.getRoot=function(){return this.root};var rMb=function(a){return cs('<ul id="'+ds(a.id)+'" peoplekit-id="'+ds("rymPhb")+'" role="listbox" aria-multiselectable="true" class="'+ds("peoplekitComponentsListImplList")+'"></ul>')};var sMb=$r.getInstance();var jSc=function(a){this.delegate=a};g=jSc.prototype;g.prev=function(a){a=this.delegate.prev(a);kSc(this);return a};g.next=function(a){a=this.delegate.next(a);kSc(this);return a};g.size=function(){return this.delegate.size()};g.goToItem=function(a,b){a=this.delegate.goToItem(a,b);kSc(this);return a};g.goToIndex=function(a,b){a=this.delegate.goToIndex(a,b);kSc(this);return a};g.getSpotlitItem=function(){return this.delegate.getSpotlitItem()};g.getActiveItems=function(){return this.delegate.getActiveItems()};
g.getItem=function(a){return this.delegate.getItem(a)};g.getIndexOf=function(a){return this.delegate.getIndexOf(a)};g.clear=function(){this.delegate.clear()};g.reset=function(){this.delegate.reset()};g.setSecondaryEventTargets=function(a){this.delegate.setSecondaryEventTargets(a)};g.onKeyDown=function(a){this.delegate.onKeyDown(a)};g.onContextMenu=function(a,b){this.delegate.onContextMenu(a,b)};g.remove=function(a,b){this.delegate.remove(a,b)};g.insert=function(a,b,c){this.delegate.insert(a,b,c)};
var kSc=function(a){(a=a.delegate.getSpotlitItem())&&xMb(a.getRoot())};var lSc=[0,kz,jz];var mSc=[0,kz,-5];var nSc=[0,kz];var oSc=[0,kz];var pSc=[0,kz,jZb];var qs=function(a){this.internalArray_=m(a)};X(qs,Y);qs.prototype.getRequestType=function(){return fj(this,1,0)};qs.prototype.setRequestType=function(a){return sl(this,1,a)};var qSc=[0,oZb,99,pSc,[0],[0],mSc,oSc,lSc,ZQc,nSc,[0]];var rSc=function(){var a=new qs,b=new N8;this.experimentFlags_=oj(a,N8,107,b)};rSc.prototype.getExperimentFlags=function(){return this.experimentFlags_};rSc.prototype.getExperimentIds=function(){return[]};var NNb=function(a,b){this.cache=b;this.overriddenExperiments=$i(a,N8,3)||new N8};NNb.prototype.getExperiments=function(){var a,b=((a=this.cache.getExperimentFlags())==null?void 0:$i(a,N8,107))||new N8;a=this.overriddenExperiments;Yk(a,3)&&(a=Hj(a,3,!1),pl(b,3,a));return b};NNb.prototype.getExperimentIds=function(){return this.cache.getExperimentIds()};var sSc=function(a){this.internalArray_=m(a)};X(sSc,Y);g=sSc.prototype;g.getCacheStaleSec=function(){return gj(this,4,14400)};g.getCacheExpiredSec=function(){return gj(this,5,1209600)};g.getRpcTimeoutSec=function(){return gj(this,7,60)};g.getApiKey=function(){return Kh(this,8,"")};g.setApiKey=function(a){return rj(this,8,a)};g.getEnableClearcut=function(){return Hj(this,13,!0)};g.setEnableClearcut=function(a){return pl(this,13,a)};var LNb=cra(sSc);var KNb;var tSc=function(){};tSc.prototype.getExperimentFlags=function(){return new qs};tSc.prototype.getExperimentIds=function(){return[]};var Cs=function(){};Cs.prototype.prefetch=function(){};Cs.prototype.loadExperiments=function(){return new tSc};var Y8=function(a){this.internalArray_=m(a)};X(Y8,Y);Y8.prototype.getVersion=function(){return ej(this,1)};Y8.prototype.setVersion=function(a){return yl(this,1,a)};Y8.prototype.getVersionOrUndefined=function(){return nt(this,1)};var Z8=function(a){this.internalArray_=m(a)};X(Z8,Y);g=Z8.prototype;g.getApplication=function(){return fj(this,1,0)};g.setApplication=function(a){return sl(this,1,a)};g.getApplicationOrUndefined=function(){return tt(this,1)};g.getVersion=function(){return ej(this,2)};g.setVersion=function(a){return yl(this,2,a)};g.getVersionOrUndefined=function(){return nt(this,2)};var uSc=function(a){this.internalArray_=m(a)};X(uSc,Y);g=uSc.prototype;g.getRequestType=function(){return fj(this,1,0)};g.setRequestType=function(a){return sl(this,1,a)};g.getProfileId=function(){return Kh(this,2)};g.getProfileId_legacyNullable=function(){return sj(this,2)};g.setProfileId=function(a){return rj(this,2,a)};g.hasProfileId=function(){return $k(this,2)};g.getCaller=function(){return $i(this,Y8,3)};g.setCaller=function(a){return oj(this,Y8,3,a)};
g.getInstanceId=function(){return Kh(this,4)};g.setInstanceId=function(a){return rj(this,4,a)};g.clearInstanceId=function(){oo(this,4)};g.hasInstanceId=function(){return $k(this,4)};g.getInstanceIdOrUndefined=function(){return hu(this,4)};g.getClient=function(){return $i(this,Z8,5)};g.setClient=function(a){return oj(this,Z8,5,a)};g.hasClient=function(){return dk(this,Z8,5)};var ns=function(a){this.internalArray_=m(a)};X(ns,Y);ns.prototype.getErrorType=function(){return fj(this,2,1)};ns.prototype.setErrorType=function(a){return sl(this,2,a)};ns.prototype.getErrorMessage=function(){return Kh(this,3)};ns.prototype.setErrorMessage=function(a){rj(this,3,a)};var ps=function(a){this.internalArray_=m(a)};X(ps,Y);g=ps.prototype;g.getExperimentFlags=function(){return $i(this,qs,1)};g.setExperimentFlags=function(a){return oj(this,qs,1,a)};g.hasExperimentFlags=function(){return dk(this,qs,1)};g.getError=function(){return $i(this,ns,2)};g.setError=function(a){oj(this,ns,2,a)};g.hasError=function(){return dk(this,ns,2)};g.getSource=function(){return fj(this,3,0)};g.setSource=function(a){return sl(this,3,a)};g.hasSource=function(){return al(this,3)};
g.getSourceOrUndefined=function(){return tt(this,3)};g.getInstanceId=function(){return Kh(this,4)};g.setInstanceId=function(a){return rj(this,4,a)};g.clearInstanceId=function(){oo(this,4)};g.hasInstanceId=function(){return $k(this,4)};g.getInstanceIdOrUndefined=function(){return hu(this,4)};g.getExperimentIdsList=function(a){return Ek(this,5,yj(a))};g.setExperimentIdsList=function(a){return jc(this,5,a,Hb)};g.getExperimentIds=function(){return eu(this,5)};
g.setExperimentIds=function(a){iu(this,5,a)};ps.repeatedFields_=[5];var vSc=function(a,b){this.client_=a;this.runtime_=b;AMb();this.apiKey_=a.getApiKey();this.apiRoot_=Kh(this.client_,10)||vMa("peoplestackwebexperiments-pa",this.runtime_.getPeopleApiEnv())};vSc.prototype.getClient=function(){return this.client_};vSc.prototype.getApiKey=function(){return this.apiKey_};var $8=function(a){this.internalArray_=m(a)};X($8,Y);g=$8.prototype;g.getExperimentFlags=function(){return $i(this,qs,1)};g.setExperimentFlags=function(a){return oj(this,qs,1,a)};g.hasExperimentFlags=function(){return dk(this,qs,1)};g.getObfuscatedGaiaId=function(){return sj(this,2)};g.getObfuscatedGaiaId_legacyNullable=function(){return sj(this,2)};g.setObfuscatedGaiaId=function(a){rj(this,2,a)};g.getExperimentIdsList=function(a){return Ek(this,3,yj(a))};
g.setExperimentIdsList=function(a){return jc(this,3,a,Hb)};g.getExperimentIds=function(){return eu(this,3)};g.setExperimentIds=function(a){iu(this,3,a)};var wSc=Mh($8);$8.repeatedFields_=[3];var xSc=[0,qSc,nZb,kZb];var ySc=function(a){var b=void 0;b=b===void 0?Date.now:b;this.clientConfig_=a;this.now_=b},zSc=function(a,b,c){a=a.now_()-c*1E3;return b>a};ySc.prototype.getCacheState=function(a){var b=gj(this.clientConfig_.getClient(),3,1800);if(zSc(this,a,b))return 1;b=this.clientConfig_.getClient().getCacheStaleSec();if(zSc(this,a,b))return 2;b=this.clientConfig_.getClient().getCacheExpiredSec();return zSc(this,a,b)?3:4};var ASc=function(a){this.internalArray_=m(a)};X(ASc,Y);g=ASc.prototype;g.getExperiments=function(){return $i(this,$8,2)};g.setExperiments=function(a){return oj(this,$8,2,a)};g.hasExperiments=function(){return dk(this,$8,2)};g.getInstanceId=function(){return Kh(this,4)};g.setInstanceId=function(a){return rj(this,4,a)};g.clearInstanceId=function(){oo(this,4)};g.hasInstanceId=function(){return $k(this,4)};g.getInstanceIdOrUndefined=function(){return hu(this,4)};
var BSc=[0,nZb,xSc,jZb,nZb],CSc=bra(ASc,BSc),DSc=function(a){return function(b){var c=new hZb;Oqa(b.internalArray_,c,Fh(a));return hca(iZb(c))}}(BSc);var os=function(a,b){b=Error.call(this,b===void 0?"":b);this.message=b.message;"stack"in b&&(this.stack=b.stack);this.type=a};X(os,Error);var ESc=new os(6);var FSc=function(){};var a9=function(){};Mt(a9,FSc);a9.prototype.getCount=function(){for(var a=0,b=l(this),c=b.next();!c.done;c=b.next())a++;return a};a9.prototype[Symbol.iterator]=function(){return Q6b(this.__iterator__(!0)).toEs6()};a9.prototype.clear=function(){var a=Array.from(this);a=l(a);for(var b=a.next();!b.done;b=a.next())this.remove(b.value)};var GSc=function(a){this.storage_=a;this.cachedIsStorageAvailable_=null};Mt(GSc,a9);g=GSc.prototype;g.set=function(a,b){b9(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){b9(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){b9(this);this.storage_.removeItem(a)};
g.getCount=function(){b9(this);return this.storage_.length};g.__iterator__=function(a){b9(this);var b=0,c=this.storage_,d=new AE;d.next=function(){if(b>=c.length)return P6b;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(){b9(this);this.storage_.clear()};g.key=function(a){b9(this);return this.storage_.key(a)};
var b9=function(a){if(a.storage_==null)throw Error("Kf");var b;((b=a.cachedIsStorageAvailable_)!=null?b:a.cachedIsStorageAvailable_=LMb(a.storage_))||Ba(Error("Kf"))},LMb=function(a){if(!a)return!1;try{return a.setItem("__sak","1"),a.removeItem("__sak"),!0}catch(b){return b instanceof DOMException&&(b.name==="QuotaExceededError"||b.code===22||b.code===1014||b.name==="NS_ERROR_DOM_QUOTA_REACHED")&&a&&a.length!==0}};var HMb=function(){var a=null;try{a=Aa.localStorage||null}catch(b){}GSc.call(this,a)};Mt(HMb,GSc);var ms=function(a,b){this.mechanism_=a;this.prefix_=b+"::"};Mt(ms,a9);ms.prototype.set=function(a,b){this.mechanism_.set(this.prefix_+a,b)};ms.prototype.get=function(a){return this.mechanism_.get(this.prefix_+a)};ms.prototype.remove=function(a){this.mechanism_.remove(this.prefix_+a)};
ms.prototype.__iterator__=function(a){var b=this.mechanism_[Symbol.iterator](),c=this,d=new AE;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 EMb=["PeopleStackExperiments"],ss=function(a,b){b=b===void 0?new HMb:b;this.clientConfig_=a;this.transformer_=new ySc(this.clientConfig_);this.localStorage_=b;this.storage_=new ms(this.localStorage_,"pse/591286274")};ss.prototype.set=function(a,b){var c=DMb(a,b.getObfuscatedGaiaId_legacyNullable());if(!c)throw ESc;var d=new ASc;b=rj(d,1,c).setExperiments(b);d=Date.now();a=yl(b,3,d).setInstanceId(a.getInstanceId());this.storage_.set(c,zda(DSc(a)));return c};
ss.prototype.get=function(a){a=DMb(a);if(!a)return null;a=this.storage_.get(a);if(!a)return null;a=HSc(a);if(a&&this.transformer_.getCacheState(ej(a,3))!==4){var b=this.transformer_,c;var d={keyPath:Kh(a,1),experiments:(c=a.getExperiments())!=null?c:new $8,lastUpdated:new Date(ej(a,3)),state:b.getCacheState(ej(a,3)),instanceId:a.getInstanceId()}}else d=null;return d};var HSc=function(a){if(!a)return null;try{return CSc(a)}catch(b){return null}};
ss.prototype.delete=function(a){this.storage_.remove(a);return!0};ss.prototype.clean=function(){var a=[].concat(r(this.storage_));a=l(a);for(var b=a.next();!b.done;b=a.next())b=b.value,ISc(this,b)!==4&&ISc(this,b)!==0||this.delete(b);a=l(FMb(this.localStorage_));for(b=a.next();!b.done;b=a.next())b.value.clear()};var ISc=function(a,b){return b&&(b=HSc(a.storage_.get(b)),b==null?0:il(b,3))?a.transformer_.getCacheState(ej(b,3)):0};var ts=function(a){var b=void 0;b=b===void 0?new Map:b;this.clientConfig_=a;this.transformer_=new ySc(this.clientConfig_);this.cache_=b};ts.prototype.set=function(a,b){var c=DMb(a,b.getObfuscatedGaiaId_legacyNullable());if(!c)throw ESc;a={keyPath:c,experiments:b,lastUpdated:new Date,state:1,instanceId:a.getInstanceId()};this.cache_.set(c,a);return c};
ts.prototype.get=function(a){a=DMb(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};ts.prototype.delete=function(a){this.cache_.delete(a);return!0};ts.prototype.clean=function(){var a=this;this.cache_.forEach(function(b,c){a.transformer_.getCacheState(b.lastUpdated.getTime())===4&&a.cache_.delete(c)})};var JSc=function(){};g=JSc.prototype;g.start=function(){};g.stop=function(){};g.count=function(){};g.latency=function(){};g.error=function(){};g.status=function(){};g.logError=function(){};var KSc=function(a){this.internalArray_=m(a)};X(KSc,Y);g=KSc.prototype;g.getCaller=function(){return $i(this,Y8,1)};g.setCaller=function(a){return oj(this,Y8,1,a)};g.getClient=function(){return $i(this,Z8,2)};g.setClient=function(a){return oj(this,Z8,2,a)};g.hasClient=function(){return dk(this,Z8,2)};var LSc=function(a){this.internalArray_=m(a)};X(LSc,Y);g=LSc.prototype;g.getRequestType=function(){return fj(this,1,0)};g.setRequestType=function(a){return sl(this,1,a)};g.setProperties=function(a){return oj(this,KSc,3,a)};g.getInstanceId=function(){return Kh(this,4)};g.setInstanceId=function(a){return rj(this,4,a)};g.clearInstanceId=function(){oo(this,4)};g.hasInstanceId=function(){return $k(this,4)};g.getInstanceIdOrUndefined=function(){return hu(this,4)};var MSc=new nZ("/peoplestackwebexperiments.PeopleStackExperimentsService/GetExperimentFlags",LSc,$8,function(a){return a.serialize()},wSc);var NSc=function(a){this.client_=new FBc({format:"jspb"});this.hostname_=a==void 0?a:a.replace(/\/+$/,"")};NSc.prototype.getExperimentFlags=function(a,b){return vZ(this.client_,this.hostname_+"/$rpc/peoplestackwebexperiments.PeopleStackExperimentsService/GetExperimentFlags",a,b||{},MSc)};var OSc=function(a,b){this.clientRequest_=a;this.rpcClient_=b;this.metric_=new JSc};OSc.prototype.getMetric=function(){return this.metric_};OSc.prototype.send=function(a){var b=this,c;return fe(function(d){var e=(new KSc).setCaller(b.clientRequest_.getCaller()).setClient(b.clientRequest_.getClient());c=(new LSc).setRequestType(b.clientRequest_.getRequestType()).setInstanceId(b.clientRequest_.getInstanceIdOrUndefined()).setProperties(e);return d.return(b.rpcClient_.getExperimentFlags(c,a))})};
OSc.prototype.close=function(){};OSc.prototype.processResponse=function(a){return a};var PSc=function(){var a=this;this.promise=new Promise(function(b,c){a.resolve=b;a.reject=c})};var QSc=function(a,b){this.config_=a;this.request_=b;this.resolver_=new PSc;this.rpcPromise_=null;this.state_=0};g=QSc.prototype;g.resultPromise=function(){return this.resolver_.promise};g.isPending=function(){return this.state_===1};g.cancel=function(){switch(this.state_){case 1:this.rpcPromise_.cancel();break;case 0:this.state_=2,this.rpcPromise_=R_b(new iA),this.resolver_.reject(1)}};
g.send=function(){var a=this;if(this.state_!==0)return this.resultPromise();var b=uMa(this.config_.apiKey);this.config_.customAuthHeaders&&(b=Object.assign({},b,this.config_.customAuthHeaders));this.state_=1;b=this.request_.send(b);this.rpcPromise_=a0b(U_b([b,j0b(this.config_.timeoutSec*1E3,"TIMEOUT")]),function(){a.state_=2}).then(function(c){return a.onResponse_(c)},function(c){return a.onError_(c)});return this.resultPromise()};
g.onResponse_=function(a){if(a&&a!=="TIMEOUT"){try{var b=this.request_.processResponse(a)}catch(c){this.onError_(c,2);return}this.resolver_.resolve(b);this.request_.close(0)}else this.onError_(a)};
g.onError_=function(a,b){b=b===void 0?0:b;if(a==="TIMEOUT")var c=4;else a instanceof iA?c=1:a&&typeof a==="object"?(c=a.code||2,c===2&&(c=So("result.error.code",a)||a.status,c=Number(c),c=mic.has(c)?mic.get(c):c>=200&&c<300?0:c>=400&&c<500?9:c>=500&&c<600?13:2,c!==2||b||(b=(a.message||"").startsWith("Rpc failed due to xhr error.")?3:0))):c=2;!this.config_.authErrorHandler||c!==16&&c!==7||this.config_.authErrorHandler();this.resolver_.reject(c);this.request_.close(c,b)};var RSc=Symbol("Lf"),SSc=function(){};SSc.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[RSc]=d)}return c})};var TSc=function(a){this.request_=a;this.metric_=this.request_.getMetric();this.metric_.start("total");this.metric_.start("blocked");this.contentLength_=0};TSc.prototype.getMetric=function(){return this.metric_};TSc.prototype.send=function(a){this.metric_.stop("blocked");this.metric_.count();this.metric_.start("network");return this.request_.send(a)};
TSc.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[RSc]||0}};TSc.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 USc=function(a){this.config_=a;this.pendingRpcs_=new Set},WSc=function(a,b){b=new TSc(b);b=new QSc(a.config_,b);a.pendingRpcs_.add(b);VSc(a,b);return b.resultPromise()},VSc=function(a,b){fe(function(c){if(c.nextAddress==1)return ge(c,2,3),he(c,b.send(),3);if(c.nextAddress!=2)return ie(c),a.pendingRpcs_.delete(b),je(c,0);ke(c);return c.jumpTo(3)})};var JMb=function(a){this.clientConfig_=a;this.inflightRequests_=new Map;a={apiKey:this.clientConfig_.getApiKey(),timeoutSec:this.clientConfig_.getClient().getRpcTimeoutSec()};this.dispatcher_=new USc(a);this.rpcClient_=new NSc(this.clientConfig_.apiRoot_)},YSc=function(a,b){var c,d,e,f;return fe(function(h){switch(h.nextAddress){case 1:var k=XSc(b);if(c=a.inflightRequests_.get(k)||null)return h.return(c);d=new OSc(b,a.rpcClient_);ge(h,2,3);e=WSc(a.dispatcher_,d);k=XSc(b);a.inflightRequests_.set(k,
e);return he(h,e,5);case 5:return f=h.yieldResult,h.return(f);case 3:ie(h);k=XSc(b);a.inflightRequests_.delete(k);je(h,0);break;case 2:throw ke(h),Error("Mf");}})},XSc=function(a){a=CMb(a);if(!a)throw ESc;return a};var ZSc=function(a){this.internalArray_=m(a)};X(ZSc,Y);g=ZSc.prototype;g.getInstanceId=function(){return Kh(this,1)};g.setInstanceId=function(a){return rj(this,1,a)};g.clearInstanceId=function(){oo(this,1)};g.hasInstanceId=function(){return $k(this,1)};g.getInstanceIdOrUndefined=function(){return hu(this,1)};g.getRequestId=function(){return Kh(this,2)};g.getRequestType=function(){return fj(this,4,0)};g.setRequestType=function(a){return sl(this,4,a)};g.getSourceType=function(){return fj(this,6,0)};
g.setSourceType=function(a){return sl(this,6,a)};g.getClient=function(){return fj(this,7,0)};g.setClient=function(a){return sl(this,7,a)};g.hasClient=function(){return al(this,7)};g.getErrorType=function(){return fj(this,8,0)};g.setErrorType=function(a){return sl(this,8,a)};var KMb=function(a){var b=a.getClient();a=a.runtime_.getPeopleApiEnv();this.logContext_=pt(new qt,"PeopleExperiments").setEnvironment(a).setLogSource(1250).setVersion("1.0.1").setBaselineCl(639987384).setEnableClearcut(b.getEnableClearcut())};g=KMb.prototype;g.getLogContext=function(){return this.logContext_};g.createCountMetric=function(){throw Error("rf");};g.createStatusMetric=function(){throw Error("rf");};g.createErrorMetric=function(){throw Error("rf");};
g.createLatencyMetric=function(a,b){a=b.source();b=Math.round(b.duration()*1E3);yl(a,3,b);return a};var $Sc=function(a,b){this.metrics_=a;this.state_=new uO(b);this.label_="total";this.source=b};$Sc.prototype.start=function(){this.metrics_.start(this.state_,this.label_)};$Sc.prototype.stop=function(){this.metrics_.stop(this.state_,this.label_);this.metrics_.latency(this.state_)};var MMb=function(a,b){this.worker_=a;this.metrics_=Fs(b)},aTc=function(a,b){var c=new ZSc,d=AMb();c=rj(c,2,d).setRequestType(a.getRequestType());return sl(c,5,b).setClient(a.getClient().getApplicationOrUndefined())};
MMb.prototype.updateExperimentsCache=function(a,b){b=b===void 0?2:b;var c=this,d,e,f,h;return fe(function(k){if(k.nextAddress==1)return d=aTc(a,b),e=new $Sc(c.metrics_,d),e.start(),he(k,c.worker_.updateExperimentsCache(a,b),2);f=k.yieldResult;d.setSourceType(f.getSourceOrUndefined());d.setInstanceId(f.getInstanceIdOrUndefined());(h=f.getError())&&d.setErrorType(h.getErrorType());e.stop();return k.return(f)})};
MMb.prototype.getCachedExperiments=function(a,b){b=b===void 0?0:b;var c=aTc(a,b),d=new $Sc(this.metrics_,c);d.start();a=this.worker_.getCachedExperiments(a,b);c.setSourceType(a.getSourceOrUndefined());c.setInstanceId(a.getInstanceIdOrUndefined());(b=a.getError())&&c.setErrorType(b.getErrorType());d.stop();return a};var bTc=function(a){this.timer=a;this.count=0},OMb=function(a,b){this.clientConfig_=a;this.worker_=b;this.refreshers_=new Map;this.refreshRateMs_=gj(this.clientConfig_.getClient(),11,14400)*1E3;this.eventHandler_=new Lr(this)};OMb.prototype.updateExperimentsCache=function(a,b){try{return cTc(this,a),this.worker_.updateExperimentsCache(a,b)}catch(c){return Promise.resolve(rs(c))}};OMb.prototype.getCachedExperiments=function(a,b){try{return cTc(this,a),this.worker_.getCachedExperiments(a,b)}catch(c){return rs(c)}};
var cTc=function(a,b){var c=CMb(b);if(!c)throw new os(6);if(a.refreshers_.has(c))a.refreshers_.get(c).count=0;else{var d=new jA(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=gj(a.clientConfig_.getClient(),12,18);e.count>=f&&(e.timer.stop(),a.refreshers_.delete(c))}});d.start();a.refreshers_.set(c,new bTc(d))}a.refreshers_.get(c)};var dTc=function(){},NMb=function(a,b){this.cache_=a;this.loader_=b};
NMb.prototype.updateExperimentsCache=function(a,b){var c=this,d,e,f,h;return fe(function(k){if(k.nextAddress==1){e=d=null;try{d=eTc(c,a)}catch(B){e=B}if(d&&d.state!==3)return k.return(c.getCachedExperiments(a,b));ge(k,3);return he(k,fTc(c,a),5)}if(k.nextAddress!=3){f=k.yieldResult;var q=k.return,t=f,w=e;w=w===void 0?null:w;t=(new ps).setExperimentFlags(t.getExperimentFlags()).setExperimentIdsList(t.getExperimentIdsList()).setSource(1).setInstanceId(a.getInstanceIdOrUndefined());w&&t.setError(GMb(w));
return q.call(k,t)}h=ke(k);return k.return(rs(h))})};NMb.prototype.getCachedExperiments=function(a){try{var b=eTc(this,a);if(b){var c=(new ps).setExperimentFlags(b.experiments.getExperimentFlags()).setExperimentIdsList(b.experiments.getExperimentIdsList()).setInstanceId(b.instanceId).setSource(2);b.state!==1&&fTc(this,a).catch(dTc);return c}fTc(this,a).catch(dTc);return rs()}catch(d){return rs(d)}};
var eTc=function(a,b){try{var c=a.cache_.get(b);return c&&c.experiments.hasExperimentFlags()?c:null}catch(d){if(d instanceof os)throw d;throw new os(3);}},fTc=function(a,b){var c,d;return fe(function(e){if(e.nextAddress==1)return ge(e,2),b.hasInstanceId()||b.setInstanceId(AMb()),he(e,YSc(a.loader_,b),4);if(e.nextAddress!=2)return c=e.yieldResult,a.cache_.set(b,c),e.return(c);d=ke(e);if(d instanceof os)throw d;throw new os(2);})};var IMb;var gTc=function(a){this.clientConfig_=a;this.worker_=PMb(this.clientConfig_)};gTc.prototype.getCachedExperiments=function(a){return this.worker_.getCachedExperiments(a,0)};var Ds=function(){this.peopleApiEnv_=4};Ds.prototype.getPeopleApiEnv=function(){return this.peopleApiEnv_};Ds.prototype.setPeopleApiEnv=function(a){this.peopleApiEnv_=a;return this};var hTc=function(a,b){this.client_=a;this.request_=b;this.response_=null};hTc.prototype.getExperimentFlags=function(){this.response_||(this.response_=this.client_.getCachedExperiments(this.request_));return this.response_.getExperimentFlags()};hTc.prototype.getExperimentIds=function(){this.response_||(this.response_=this.client_.getCachedExperiments(this.request_));return this.response_.getExperimentIdsList(Pi)};var MNb=function(a,b){this.clientConfig_=a;this.requestType_=b};MNb.prototype.prefetch=function(a){var b=new vSc(this.clientConfig_,new Ds);a=iTc(this,a,"");PMb(b).updateExperimentsCache(a,2)};MNb.prototype.loadExperiments=function(a,b,c){var d=new vSc(this.clientConfig_,b),e=iTc(this,a,c);PMb(d).updateExperimentsCache(e,2);b=new gTc(new vSc(this.clientConfig_,b));a=iTc(this,a,c);return new hTc(b,a)};var iTc=function(a,b,c){var d=new Y8;b=(new Z8).setApplication(b);return(new uSc).setProfileId(c).setRequestType(a.requestType_).setCaller(d).setClient(b)};var SMb=new NNb(new O8,new rSc);var TMb=$r.getInstance();var UMb=$r.getInstance();var jTc=new UC(OV.WEEKDAY_MONTH_DAY_MEDIUM),kTc=new UC(7);new UC(OV.WEEKDAY_MONTH_DAY_MEDIUM);var lTc=new Map([[0,2],[1,1],[2,3],[3,4],[4,2],[5,5]]);var mTc=function(a){var b=a.iconUrl,c=a.altText,d=a.persistentText;a=a.styleClass;return cs('<div class="'+ds("peoplekitComponentsTagTag")+" "+(a?ds(a):"")+'" peoplekit-id="'+ds("mQXP")+'">'+(ZO(b)?'<img class="'+ds("peoplekitComponentsTagIcon")+'" src="'+ds(ukc(b))+'" alt="'+ds(c)+'"><div'+(d?"":' class="'+ds("peoplekitComponentsTagUnrollingAltText")+'"')+'><div class="'+ds("peoplekitComponentsTagText")+'">'+es(c)+"</div></div>":'<div class="'+ds("peoplekitComponentsTagText")+'">'+es(c)+"</div>")+
"</div>")};var WMb=function(a,b,c,d,e,f){var h=this;this.root=a;this.avatar=e;this.features=f;this.isIntelligenceInitialized=this.isOutOfOffice=!1;nTc(this,{tags:d});pMb(a,b.getPrimaryTarget());c.getResultDecorationConfigRequestCallback()(b,function(k){nTc(h,k)})};g=WMb.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("Of");};g.onKeyDown=function(){};g.onContextMenu=function(){return function(){}};
g.updateWaldo=function(a){if(this.getSupportedIntelligenceFeatures().includes(1)){var b=Jr(this.root,"Z306Oe");if(this.isOutOfOffice=a.getCurrentStatus()===4){if(a.getCurrentStatus()!==4)throw Error("Nf");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 "+kTc.format(c):"Out of office - back on "+jTc.format(c);dA(b,String(c));this.root.classList.add("isOutOfOffice")}else dA(b,
""),this.root.classList.remove("isOutOfOffice")}};g.updateHubAvailabilityDot=function(a){this.getSupportedIntelligenceFeatures().includes(2)&&this.avatar.setBadge({badgeType:lTc.get(a.getType()||0)||2})};g.getSupportedIntelligenceFeatures=function(){return this.features};g.addTag=function(a){var b=Jr(this.root,"x00ATb");a:switch(a.style||0){case 1:var c="isWarning";break a;default:c=""}a=ap(mTc,Object.assign({},a,{styleClass:c}));b.appendChild(a)};
g.setMetaIcon=function(a){var b=Array.from(this.root.querySelectorAll('[peoplekit-id="SC3Htd"]'))[0];b&&(b.src=a.iconUrl,b.alt=a.altText)};var nTc=function(a,b){for(var c=l(b.tags||[]),d=c.next();!d.done;d=c.next())a.addTag(d.value);b.metaIcon&&a.setMetaIcon(b.metaIcon)};WMb.prototype.initializeIntelligence=function(){this.isIntelligenceInitialized||(this.getSupportedIntelligenceFeatures().includes(2)&&this.avatar.setBadge({badgeType:2}),this.isIntelligenceInitialized=!0)};WMb.prototype.dispose=function(){};var oTc=function(a,b,c,d,e){this.delegate=XMb(a,b,c,d,e,[2]);this.root=a;this.root.setAttribute("aria-selected","true");this.id=b.getPrimaryTarget().getId();this.selection=new KRc(Vs)};X(oTc,X8);oTc.prototype.getAllIds=function(){return[this.id]};oTc.prototype.getSelection=function(){return this.selection};var pTc=function(a,b,c,d,e,f,h,k){d=d===void 0?"":d;e=e===void 0?!1:e;return cs('<div role="option" class="'+ds("peoplekitComponentsResultlistitemResultListItem")+" "+ds(d)+'" id="'+ds(a)+'" peoplekit-id="'+ds(a)+'" aria-disabled="'+ds(e)+'" aria-selected="false"><div class="'+ds("peoplekitComponentsResultlistitemResultListItemRow")+'"><div class="'+ds("peoplekitComponentsResultlistitemLeft")+'" data-hovercard-id="'+ds(b)+'" data-name="'+ds(fs(c))+'">'+es(f)+'</div><div class="'+ds("peoplekitComponentsResultlistitemCenter")+
'">'+es(h)+'</div><div class="'+ds("peoplekitComponentsResultlistitemRight")+'" peoplekit-id="'+ds("QChpEe")+'">'+es(k)+'</div></div><div peoplekit-id="'+ds("Z306Oe")+'" class="'+ds("peoplekitComponentsResultlistitemOutOfOffice")+'"></div><div peoplekit-id="'+ds("QL45qe")+'"></div></div>')},qTc=function(a,b,c,d){return cs('<div class="'+ds("peoplekitComponentsResultlistitemLabelContainer")+'"><div class="'+ds("peoplekitComponentsResultlistitemLabel")+" "+ds("peoplekitComponentsResultlistitemLabelRow")+
'"><div class="'+ds("peoplekitComponentsResultlistitemLabelText")+'" data-hovercard-id="'+ds(b)+'" data-name="'+ds(fs(a))+'" translate="no">'+es(fs(a))+'</div><div peoplekit-id="'+ds("x00ATb")+'" class="'+ds("peoplekitComponentsResultlistitemTags")+'"></div></div>'+(c?'<div class="'+ds("peoplekitComponentsResultlistitemSublabel")+" "+ds("peoplekitComponentsResultlistitemLabelRow")+'"><div class="'+ds("peoplekitComponentsResultlistitemSublabelText")+'" data-hovercard-id="'+ds(b)+'" data-name="'+ds(fs(a))+
'"'+(d?"":' translate="no"')+">"+es(fs(c))+"</div></div>":"")+"</div>")},rTc=function(a){return cs('<div class="'+ds("peoplekitComponentsResultlistitemAvatar")+'"><div class="'+ds("peoplekitComponentsResultlistitemAvatarContainer")+'" peoplekit-id="'+ds("d6MZcd")+'"></div>'+(ZO(a)?es(a):"")+"</div>")},sTc=function(){var a=cs,b=cs,c='<div class="'+ds("peoplekitComponentsResultlistitemAvatarSelectionOverlay")+'"><div class="'+ds("peoplekitComponentsResultlistitemWhiteCheck")+'">';var d=cs('<svg viewBox="0 0 24 24" class="'+
(ds("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(rTc(b(c+d+"</div></div>")))},tTc=function(){return cs('<img class="'+ds("peoplekitComponentsResultlistitemMetaIcon")+'" peoplekit-id="'+ds("SC3Htd")+'" alt="" src=""/>')};var uTc=function(a){var b=a.hovercardId,c=a.label,d=a.sublabel,e=a.disableReason,f=a.allowSublabelTranslation;return cs(pTc(a.id,b,c,"isDisabled "+a.densityClass,!0,cs(""+rTc()),cs(""+qTc(c,b,d,f)),cs('<div class="'+ds("peoplekitComponentsResultlistitemDisabledDisableReasonContainer")+'">'+es(e)+"</div>")))},vTc=function(){var a=cs,b='<div class="'+ds("peoplekitComponentsResultlistitemDisabledIconIndicator")+'" aria-label="'+ds(". Already selected")+'">';var c=cs('<svg xmlns="http://www.w3.org/2000/svg" height="18px" viewBox="0 0 24 24" width="18px" class="'+
(ds("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 wTc=function(a){this.delegate=a;var b=this;this.eventHandler=Mr(this);this.eventHandler.listen(this.getRoot(),"click",function(c){b.onClick(c)})};X(wTc,X8);wTc.prototype.onClick=function(){this.toggleSelection()};var ZMb=function(a,b){this.internalResult=a;this.displayNameOverride=b;this.forceDisplayNameOverride=!1;a=this.internalResult.getTargetList()[0];if(!a)throw new RangeError("Pf");this.target=a;a=this.target.getLoggingToken();b=this.target.getId();this.internalSelectionToken=new ERc(b,this.displayNameOverride,this.forceDisplayNameOverride,a)};g=ZMb.prototype;g.id=function(){return this.target.getId()};g.selectionToken=function(){return this.internalSelectionToken};g.targets=function(){return[this.target]};
g.result=function(){return this.internalResult};g.getForceDisplayNameOverride=function(){return this.forceDisplayNameOverride};g.getDisplayNameWithOverrideApplied=function(){return this.forceDisplayNameOverride?this.displayNameOverride:this.displayNameOverride||this.internalResult.getDisplayName()};g.isPlaceholder=function(){return!1};var xTc=function(a,b,c,d,e,f){this.delegate=XMb(a,b,d,e,f,[]);this.root=a;this.result=b;this.selectionsState=c;this.id=b.getPrimaryTarget().getId();this.selection=new KRc(Vs)};X(xTc,X8);xTc.prototype.getAllIds=function(){return[this.id]};xTc.prototype.toggleSelection=function(){for(var a=l(this.result.getMemberList()),b=a.next();!b.done;b=a.next())b=$Mb(b.value),this.selectionsState.select(b);this.root.dispatchEvent(YKb("pcw-select",this.root))};xTc.prototype.getSelection=function(){return this.selection};var yTc=function(a){var b=a.hovercardId,c=a.label,d=a.sublabel,e=a.allowSublabelTranslation;return cs(pTc(a.id,b,c,a.densityClass,void 0,cs(""+rTc()),cs(""+qTc(c,b,d,e)),cs(""+tTc())))};var CTc=function(a,b){this.delegate=a;var c=this;this.selectionsState=b;this.id=a.getAllIds()[0];b.get(this.id)&&zTc(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){zTc(c,d)};ATc(this.selectionsState,this.onDeselectionCallback);BTc(this.selectionsState,this.onSelectionCallback)};X(CTc,X8);
CTc.prototype.toggleSelection=function(){if(this.selectionsState.get(this.id)){var a=this.getRoot();a=YKb("pcw-deselect",a)}else a=this.getRoot(),a=YKb("pcw-select",a);this.getRoot().dispatchEvent(a);this.selectionsState.toggle(this.getSelection(),1)};var zTc=function(a,b){b.id().equals(a.id)&&(a.getRoot().classList.add("isSelected"),a.getRoot().setAttribute("aria-selected","true"))};CTc.prototype.dispose=function(){this.selectionsState.deselectionCallbacks.remove(this.onDeselectionCallback);this.selectionsState.selectionCallbacks.remove(this.onSelectionCallback)};var DTc=function(a,b,c,d,e,f,h){this.delegate=XMb(a,b,d,e,f,[2]);this.selectionsState=c;this.clientConfig=h;this.id=b.getPrimaryTarget().getId();this.selection=this.selectionsState.get(this.id)||$Mb(b,b.getDisplayName())};X(DTc,X8);DTc.prototype.onContextMenu=function(a,b){Hj(this.clientConfig.internal,7,!1)&&a.preventDefault();return X8.prototype.onContextMenu.call(this,a,b)};DTc.prototype.getAllIds=function(){return[this.id]};DTc.prototype.getSelection=function(){return this.selection};var ETc=function(a){var b=a.hovercardId,c=a.label,d=a.sublabel,e=a.allowSublabelTranslation;return cs(pTc(a.id,b,c,a.densityClass,void 0,cs(""+sTc()),cs(""+qTc(c,b,d,e)),cs(""+tTc())))};var FTc=function(a,b,c,d,e,f,h){this.delegate=XMb(a,b,d,e,f,[]);this.selectionsState=c;this.clientConfig=h;this.id=b.getPrimaryTarget().getId();this.selection=this.selectionsState.get(this.id)||$Mb(b)};X(FTc,X8);FTc.prototype.onContextMenu=function(a,b){Hj(this.clientConfig.internal,7,!1)&&a.preventDefault();return X8.prototype.onContextMenu.call(this,a,b)};FTc.prototype.getAllIds=function(){return[this.id]};FTc.prototype.getSelection=function(){return this.selection};var GTc=function(a){var b=a.hovercardId,c=a.label,d=a.sublabel,e=a.allowSublabelTranslation;return cs(pTc(a.id,b,c,a.densityClass,void 0,cs(""+sTc()),cs(""+qTc(c,b,d,e)),cs(""+tTc())))};hs.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=RMb(a);var k=ap(ETc,a);Xr({element:k,veid:25285,actions:["impression","pcw-select","pcw-deselect"],pairs:[aNb(b.getPrimaryTarget().getLoggingToken())],componentId:"peoplekitweb"});var q=Jr(k,"d6MZcd"),t=yMb(e.getDensity()),w;d=(w=d.backupAvatarUrl)!=null?w:"";e=Kr(q,a.photos,t,t,e,d);b=new DTc(k,b,f,c,a.tags,e,h);return new wTc(new CTc(b,
f))},shouldCreate:function(){return!0}},configurationKey:void 0});
hs.addCoreFactory({type:1,factory:{create:function(a){var b=YMb(a),c=a.result,d=a.resultConfig,e=a.appearanceConfig,f=a.resultCustomizationConfig,h=c.getPrimaryTarget().getId();a=Ns(h)||FO(h)?VMb(a):RMb(a);h=Object;var k=h.assign;a:switch(b){case 1:b=vTc();break a;case 2:b=f.showSelectedIndicatorForDisabled?vTc():cs("");break a;default:b='<div class="'+ds("peoplekitComponentsResultlistitemDisabledTextIndicator")+'">',b=cs(b+"DISABLED</div>")}b=ap(uTc,k.call(h,{},a,{disableReason:b}));h=Jr(b,"d6MZcd");
k=yMb(e.getDensity());var q;f=(q=f.backupAvatarUrl)!=null?q:"";e=Kr(h,a.photos,k,k,e,f);return new oTc(b,c,d,a.tags,e)},shouldCreate:function(a){return YMb(a)!==0}},configurationKey:void 0});
hs.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=VMb(a);var k=ap(GTc,a);Xr({element:k,veid:25285,actions:["impression","pcw-select","pcw-deselect"],pairs:[aNb(b.getPrimaryTarget().getLoggingToken())],componentId:"peoplekitweb"});var q=Jr(k,"d6MZcd"),t=yMb(d.getDensity()),w;e=(w=e.backupAvatarUrl)!=null?w:"";d=Kr(q,a.photos,t,t,d,e);b=new FTc(k,b,h,c,a.tags,d,f);return new wTc(new CTc(b,
h))},shouldCreate:function(a){return Ns(a.result.getPrimaryTarget().getId())}},configurationKey:void 0});
hs.addCoreFactory({type:3,factory:{create:function(a){var b=a.result,c=a.resultConfig,d=a.resultCustomizationConfig,e=a.appearanceConfig,f=a.selectionsState;a=VMb(a);var h=ap(yTc,a);Xr({element:h,veid:25285,actions:["impression","pcw-select","pcw-deselect"],pairs:[aNb(b.getPrimaryTarget().getLoggingToken())],componentId:"peoplekitweb"});var k=Jr(h,"d6MZcd"),q=yMb(e.getDensity()),t;d=(t=d.backupAvatarUrl)!=null?t:"";e=Kr(k,a.photos,q,q,e,d);return new wTc(new xTc(h,b,f,c,a.tags,e))},shouldCreate:function(a){return FO(a.result.getPrimaryTarget().getId())}},
configurationKey:void 0});var lNb=function(a,b,c,d,e,f,h,k){this.list=a;this.resultConfig=b;this.appearanceConfig=c;this.clientConfig=d;this.selectionsState=e;this.interactions=h;this.ariaParent=k;this.results=[];this.intelligentCollection=f.create();this.navigatable=new jSc(new HLb(this.results))};g=lNb.prototype;g.register=function(a){this.results.push(a);this.navigatable.insert(this.navigatable.size(),[a],!1);this.intelligentCollection.append([a])};
g.append=function(a,b){a=l(a);for(var c=a.next();!c.done;c=a.next())c=cNb(c.value,b,this.selectionsState,this.resultConfig,this.appearanceConfig,this.clientConfig,kP(this.list.getRoot()),this.interactions,this.ariaParent),this.list.append(c.getRoot()),this.register(c)};g.clear=function(){this.list.clear();this.navigatable.clear();this.intelligentCollection.clear();for(var a=l(this.results),b=a.next();!b.done;b=a.next())b.value.dispose();this.results.length=0};g.reset=function(){this.navigatable.reset()};
g.getNavigatable=function(){return this.navigatable};g.getResultListItems=function(){return this.results};var c9=function(a){this.delegate=a};g=c9.prototype;g.getHeader=function(){return this.delegate.getHeader()};g.getActionItems=function(){return this.delegate.getActionItems()};g.dispose=function(){this.delegate.dispose()};g.getRoot=function(){return this.delegate.getRoot()};g.activate=function(){this.delegate.activate()};g.deactivate=function(){this.delegate.deactivate()};g.spotlight=function(){this.delegate.spotlight()};g.unspotlight=function(){this.delegate.unspotlight()};g.getSelection=function(){return this.delegate.getSelection()};
g.toggleSelection=function(){this.delegate.toggleSelection()};g.onKeyDown=function(a){this.delegate.onKeyDown(a)};g.onContextMenu=function(a,b){return this.delegate.onContextMenu(a,b)};var HTc=function(a){var b=a.id,c=a.groupName;a=a.classes;return cs('<div class="'+ds("peoplekitComponentsGroupingHeaderCollapsibleChevronContainer")+" "+(a?" "+ds(a):"")+'" peoplekit-id="'+ds("wgPSWd")+'" id="'+ds(b)+'" aria-expanded="false" role="menuitem" aria-label="'+ds("To expand "+c+" group, press enter")+'"><svg class="'+ds("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>')},
ITc=function(a){return"To "+a.action+" "+a.groupName+" group, press enter"};var vs=function(a,b,c){this.delegate=a;var d=this;this.isCollapsed=b;this.interactionListener=c;this.eventHandler=Mr(this);this.chevron=ap(HTc,{id:Nr($r.getInstance()),groupName:this.getHeader(),classes:"TdcT2c"});this.groupingHeaderActionItems=a.getActionItems().slice();this.groupingHeaderActionItems.push({focus:function(){d.chevron.classList.add("isSpotlit")},unfocus:function(){d.chevron.classList.remove("isSpotlit")},onKeyDown:function(e){e.event.keyCode===13&&(d.toggleView(),e.stopPropagation())}});
this.eventHandler.listen(this.getRoot(),"click",this.toggleView);Jr(this.getRoot(),"QChpEe").appendChild(this.chevron);b||(this.chevron.classList.toggle("rotate"),IN(this.chevron,"expanded",!0),dgc(this.chevron,ITc({groupName:this.getHeader(),action:"collapse"})))};X(vs,c9);vs.prototype.getActionItems=function(){return this.groupingHeaderActionItems};vs.prototype.dispose=function(){this.eventHandler.removeAll();c9.prototype.dispose.call(this)};
vs.prototype.toggleView=function(){this.isCollapsed=!this.isCollapsed;this.chevron.classList.toggle("rotate");this.interactionListener(this.isCollapsed);var a=this.isCollapsed?"expand":"collapse";IN(this.chevron,"expanded",!this.isCollapsed);dgc(this.chevron,ITc({groupName:this.getHeader(),action:a}))};var JTc=function(a){var b=a.learnMoreLinkUrl,c=a.learnMoreLinkText;return cs("<div>"+es(a.description)+'  <a href="'+ds(skc(b))+'" target="_blank" class="'+ds("peoplekitComponentsGroupingHeaderInfoLearnMoreLink")+'" peoplekit-id="'+ds("lh87ke")+'">'+es(c)+"</a></div>")},KTc=function(a){var b=a.id,c=a.ariaLabel;a=a.classes;return cs('<div class="'+ds("peoplekitComponentsGroupingHeaderInfoInfoIconContainer")+" "+(a?" "+ds(a):"")+'" peoplekit-id="'+ds("CLghmc")+'" id="'+ds(b)+'" aria-label="'+ds(c)+
'"><svg class="'+ds("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 MTc=function(a,b,c,d){this.delegate=a;var e=this;this.infoGroupConfig=b;this.appearanceConfig=c;this.infoGroupingHeaderVeIds=d;this.infoIcon=ap(KTc,{id:Nr($r.getInstance()),ariaLabel:"For more information about "+this.getHeader()+", press enter.",classes:"TdcT2c"});Jr(this.getRoot(),"xiK4Cd").appendChild(this.infoIcon);this.infoGroupingHeaderVeIds.infoIconVeId!==void 0&&Xr({element:this.infoIcon,veid:this.infoGroupingHeaderVeIds.infoIconVeId,actions:["impression","pcw-click"],componentId:"peoplekitweb"});
this.eventHandler=Mr(this);this.eventHandler.listen(this.infoIcon,"click",function(){LTc(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&&(LTc(e),f.stopPropagation(),f.preventDefault())}})};X(MTc,c9);
var LTc=function(a){a.infoIcon.dispatchEvent(Yr(a.infoIcon));var b=ZLb({header:a.infoGroupConfig.infoDialogHeader}),c=JTc({description:a.infoGroupConfig.learnMoreMessage,learnMoreLinkUrl:a.infoGroupConfig.learnMoreUrl,learnMoreLinkText:a.infoGroupConfig.learnMoreLinkText}),d=a.getRoot().ownerDocument.activeElement,e=IKb(a.getRoot()),f=YLb(e,c,a.appearanceConfig,b),h=Jr(f.getRoot(),"lh87ke");a.infoGroupingHeaderVeIds.learnMoreLinkVeId!==void 0&&Xr({element:h,veid:a.infoGroupingHeaderVeIds.learnMoreLinkVeId,
actions:["impression","pcw-click"],componentId:"peoplekitweb"});a.eventHandler.listen(h,"click",function(){h.dispatchEvent(Yr(h))});f.subscribeToAction(function(k){k===2&&(f.dispose(),d&&d.focus())})};MTc.prototype.getActionItems=function(){return this.groupingHeaderActionItems};MTc.prototype.dispose=function(){this.eventHandler.removeAll();c9.prototype.dispose.call(this)};var eNb=function(a,b){this.root=a;this.header=b};g=eNb.prototype;g.getHeader=function(){return this.header};g.getActionItems=function(){return[]};g.dispose=function(){};g.getRoot=function(){return this.root};g.activate=function(){};g.deactivate=function(){};g.spotlight=function(){};g.unspotlight=function(){};g.getSelection=function(){throw Error("Of");};g.toggleSelection=function(){};g.onKeyDown=function(){};g.onContextMenu=function(){return function(){}};var dNb=function(a){var b=cs;var c=a.id;a=a.header;c=cs('<div class="'+ds("peoplekitComponentsGroupingHeaderGroupingHeader")+'" id="'+ds(c)+'" peoplekit-id="'+ds("XLuqBd")+'" role="menu"><div class="'+ds("peoplekitComponentsGroupingHeaderGroupingHeaderRow")+'"><div class="'+ds("peoplekitComponentsGroupingHeaderHeader")+'">'+es(a)+'</div><div class="'+ds("peoplekitComponentsGroupingHeaderAction")+'"><div class="'+ds("peoplekitComponentsGroupingHeaderActionRow")+'"><div class="'+ds("peoplekitComponentsGroupingHeaderLeft")+
'" peoplekit-id="'+ds("xiK4Cd")+'"></div><div class="'+ds("peoplekitComponentsGroupingHeaderRight")+'" peoplekit-id="'+ds("QChpEe")+'"></div></div></div></div></div>');return b(c)};var NTc=function(a){this.delegate=a};X(NTc,c9);NTc.prototype.spotlight=function(){var a=this.getActionItems();a.length&&(this.activeActionItemIndex=0,a[this.activeActionItemIndex].focus())};NTc.prototype.unspotlight=function(){this.activeActionItemIndex!==void 0&&(this.getActionItems()[this.activeActionItemIndex].unfocus(),this.activeActionItemIndex=void 0)};
NTc.prototype.onKeyDown=function(a){if(this.activeActionItemIndex!==void 0){var b=this.getActionItems(),c=b[this.activeActionItemIndex];c.onKeyDown(a);if(!a.hasStoppedPropagationInternal)switch(a.event.keyCode){case 9:c.unfocus(),this.activeActionItemIndex=(this.activeActionItemIndex+1)%b.length,b[this.activeActionItemIndex].focus(),a.stopPropagation(),a.preventDefault()}}};var d9=function(a){this.delegate=a};g=d9.prototype;g.append=function(a){this.delegate.append(a)};g.isInteractive=function(){return this.delegate.isInteractive()};g.getGroupName=function(){return this.delegate.getGroupName()};g.getHeader=function(){return this.delegate.getHeader()};g.getItems=function(){return this.delegate.getItems()};g.getRoot=function(){return this.delegate.getRoot()};g.dispose=function(){this.delegate.dispose()};var ys=function(a,b){this.delegate=a;var c=this;this.listContainer=Jr(this.getRoot(),"tjneg");a=a.getHeader();if(!a)throw Error("Qf");this.collapsibleHeader=gNb(a,b.isInitiallyCollapsed,function(d){c.interactionListener(d)});Jr(this.collapsibleHeader.getRoot(),"wgPSWd").setAttribute("aria-controls",this.listContainer.id);b.isInitiallyCollapsed&&this.listContainer.classList.add("collapsed")};X(ys,d9);ys.prototype.isInteractive=function(){return!0};ys.prototype.getHeader=function(){return this.collapsibleHeader};
ys.prototype.dispose=function(){this.collapsibleHeader.dispose();d9.prototype.dispose.call(this)};ys.prototype.interactionListener=function(a){a?(this.listContainer.classList.add("collapsed"),this.listContainer.style.height=""):(this.listContainer.classList.remove("collapsed"),this.listContainer.style.height=this.listContainer.scrollHeight+"px")};var xs=function(a,b,c){this.delegate=a;a=a.getHeader();if(!a)throw Error("Rf");var d={};b.infoType===1&&(d={infoIconVeId:185198,learnMoreLinkVeId:185199});this.infoHeader=new MTc(a,b,c,d)};X(xs,d9);xs.prototype.isInteractive=function(){return!0};xs.prototype.getHeader=function(){return this.infoHeader};xs.prototype.dispose=function(){this.infoHeader.dispose();d9.prototype.dispose.call(this)};var ws=function(a,b){this.delegate=a;this.groupName=b;this.header=fNb(b);Jr(a.getRoot(),"Bm3u4d").appendChild(this.header.getRoot())};X(ws,d9);ws.prototype.getGroupName=function(){return this.groupName};ws.prototype.getHeader=function(){return this.header};ws.prototype.dispose=function(){this.header.dispose();d9.prototype.dispose.call(this)};var OTc=function(a){this.root=a;this.items=[];this.list=uMb(Jr(a,"tjneg"))};g=OTc.prototype;g.append=function(a){this.items.push(a);this.list.append(a.getRoot())};g.isInteractive=function(){return!1};g.getGroupName=function(){return""};g.getHeader=function(){};g.getItems=function(){return this.items};g.getRoot=function(){return this.root};g.dispose=function(){for(var a=l(this.items),b=a.next();!b.done;b=a.next())b.value.dispose();this.list.clear();this.items=[]};var PTc=function(a,b,c){this.delegate=a;var d=this;this.resultListGroupConfig=b;this.navigatable=c;this.listContainer=Jr(this.getRoot(),"tjneg");var e,f;this.isCollapsed=(f=(e=this.resultListGroupConfig.collapsibleGroupConfig)==null?void 0:e.isInitiallyCollapsed)!=null?f:!1;(this.header=a.getHeader())&&this.header.getActionItems().length&&(this.header=new NTc(this.header),this.navigatable.insert(this.navigatable.size(),[this.header],!1));this.mutationObserver=new MutationObserver(function(h){d.onMutation(h)});
this.mutationObserver.observe(this.listContainer,{attributes:!0})};X(PTc,d9);g=PTc.prototype;g.append=function(a){this.isCollapsed||this.navigatable.insert(this.navigatable.size(),[a],!1);d9.prototype.append.call(this,a)};g.getHeader=function(){return this.header};g.dispose=function(){this.mutationObserver.disconnect();d9.prototype.dispose.call(this)};g.getItems=function(){return this.isCollapsed?[]:d9.prototype.getItems.call(this)};
g.onMutation=function(a){if(this.header){a=l(a);for(var b=a.next();!b.done;b=a.next())b=b.value,b.type==="attributes"&&b.attributeName==="class"&&(b.target.classList.contains("collapsed")?(this.navigatable.remove(this.getItems(),!1),this.isCollapsed=!0):(this.isCollapsed=!1,b=this.navigatable.getIndexOf(this.header),this.navigatable.insert(b+1,this.getItems(),!1),xMb(this.getRoot())))}};var QTc=function(a){var b=a.listId;return cs('<div id="'+ds(a.id)+'" peoplekit-id="'+ds("E9WxSb")+'" role="group"><div peoplekit-id="'+ds("Bm3u4d")+'"></div><div id="'+ds(b)+'" role="region" class="'+ds("peoplekitComponentsResultListGroupListContainer")+'" peoplekit-id="'+ds("tjneg")+'"></div></div>')};var qNb=function(a,b,c,d,e,f,h,k,q){this.list=a;this.resultConfig=b;this.appearanceConfig=c;this.clientConfig=d;this.selectionsState=e;this.interactions=f;this.grouping=h;this.ariaParent=q;this.groups=new Map;this.navigatable=new jSc(new HLb([]));this.intelligentComponentCollection=k.create();this.list.getRoot().removeAttribute("role")};g=qNb.prototype;
g.append=function(a,b){a=l(a);for(var c=a.next();!c.done;c=a.next()){var d=c.value;c=this.grouping.getGroupId(d);var e=this.groups.get(c);d=cNb(d,b,this.selectionsState,this.resultConfig,this.appearanceConfig,this.clientConfig,kP(this.list.getRoot()),this.interactions,this.ariaParent);if(c&&!e){e=this.grouping;var f=c,h=this.navigatable,k=this.appearanceConfig,q=[hNb,iNb,jNb],t=Nr($r.getInstance()),w=Nr($r.getInstance());w=ap(QTc,{id:t,listId:w});t=e.getResultListGroupConfig(f);w=new OTc(w);q=l(q);
for(var B=q.next();!B.done;B=q.next())B=B.value,w=B(w,e,f,k);e=new PTc(w,t,h);this.groups.set(c,e);this.list.append(e.getRoot())}e.append(d);this.intelligentComponentCollection.append([d])}};g.clear=function(){this.list.clear();this.navigatable.clear();this.intelligentComponentCollection.clear();for(var a=l(this.groups.values()),b=a.next();!b.done;b=a.next())b.value.dispose();this.groups.clear()};g.reset=function(a){this.navigatable.reset();this.grouping.reset(a)};g.getNavigatable=function(){return this.navigatable};
g.getResultListItems=function(){for(var a=[],b=l(this.groups.values()),c=b.next();!c.done;c=b.next())a.push.apply(a,r(c.value.getItems()));return a};var nNb=function(a,b,c){this.delegate=a;this.list=b;this.grouping=c;this.renderedGroups=new Set};g=nNb.prototype;g.append=function(a,b){a=l(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=this.grouping.getGroupId(c);if(d&&!this.renderedGroups.has(d)){var e=this.grouping.getGroupName(d);if(e&&(e=fNb(e),this.list.append(e.getRoot()),e.getActionItems().length)){var f=this.getNavigatable();f.insert(f.size(),[e],!1)}this.renderedGroups.add(d)}this.delegate.append([c],b)}};
g.clear=function(){this.renderedGroups.clear();this.delegate.clear()};g.reset=function(a){this.grouping.reset(a);this.renderedGroups.clear();this.delegate.reset(a)};g.getNavigatable=function(){return this.delegate.getNavigatable()};g.getResultListItems=function(){return this.delegate.getResultListItems()};var oNb=function(a,b){this.delegate=a;this.interactions=b};g=oNb.prototype;g.append=function(a,b){a=l(a);for(var c=a.next();!c.done;c=a.next())c=c.value,this.delegate.append([c],b),this.interactions.display(c)};g.clear=function(){this.delegate.clear()};g.reset=function(a){this.delegate.reset(a)};g.getNavigatable=function(){return this.delegate.getNavigatable()};g.getResultListItems=function(){return this.delegate.getResultListItems()};var kNb=function(a){a=a.header;return cs('<div peoplekit-id="'+ds("aittld")+'">'+(a.length>0?'<div class="'+ds("peoplekitUiResultlistHeader")+'">'+es(a)+"</div>":"")+'<div peoplekit-id="'+ds("tjneg")+'"></div></div>')};var RTc=function(){return"Google makes suggestions based on your interactions."};var STc=function(a){this.labels=a;this.isSuggest=!1;this.hiddenSuggestionsLabel=cs("Hidden suggestions").toString()};STc.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(ZOb))==null?void 0:c.getHideType_legacyNullable())===1?"HIDDEN":"SEARCH"}b=a}return b};
STc.prototype.getGroupName=function(a){switch(a){case "CUSTOM":return this.labels.custom;case "SUGGEST":return this.labels.suggest;case "SEARCH":return this.labels.search;case "HIDDEN":return this.hiddenSuggestionsLabel;default:return""}};
STc.prototype.getResultListGroupConfig=function(a){return a==="HIDDEN"?{collapsibleGroupConfig:{isInitiallyCollapsed:!0}}:a==="SUGGEST"||a==="SEARCH"?{infoGroupConfig:{infoType:1,infoDialogHeader:"How suggestions work",learnMoreMessage:RTc(),learnMoreUrl:sNb(),learnMoreLinkText:"Learn more about suggestions."}}:{}};STc.prototype.reset=function(a){this.isSuggest=!a.trim()};var tNb=[STc];var Gs=function(){this.isSuggest=!1};Gs.prototype.getGroupId=function(a){return a.getResultType()===7?"CUSTOM":this.isSuggest?"SUGGEST":"SEARCH"};Gs.prototype.getGroupName=function(a){switch(a){case "SUGGEST":return"Suggestions";case "SEARCH":return"Search Results";default:return""}};
Gs.prototype.getResultListGroupConfig=function(a){switch(a){case "SUGGEST":case "SEARCH":return{infoGroupConfig:{infoType:1,infoDialogHeader:"How suggestions work",learnMoreMessage:RTc(),learnMoreUrl:sNb(),learnMoreLinkText:"Learn more about suggestions."}};default:return{}}};Gs.prototype.reset=function(a){this.isSuggest=!a.trim()};var Hs=function(a){this.label=a};Hs.prototype.getGroupId=function(a){return a.getTargetList().some(function(b){return b.getDataSource()!==2})?"non_directory":"directory"};Hs.prototype.getGroupName=function(a){switch(a){case "directory":return this.label;case "non_directory":return"";default:return a}};Hs.prototype.getResultListGroupConfig=function(){throw Error("Sf");};Hs.prototype.reset=function(){};var Is=function(a){this.label=a};Is.prototype.getGroupId=function(a){return a.getResultType()!==7?"suggestions":"non_suggestions"};Is.prototype.getGroupName=function(a){switch(a){case "suggestions":return this.label;case "non_suggestions":return"";default:return a}};Is.prototype.getResultListGroupConfig=function(){throw Error("Sf");};Is.prototype.reset=function(){};var TTc=function(a){this.delegate=a};g=TTc.prototype;g.search=function(a,b,c,d){this.delegate.search(a,b,c,d)};g.attach=function(){this.delegate.attach()};g.detach=function(){this.delegate.detach()};g.isShown=function(){return this.delegate.isShown()};g.onKeyDown=function(a){this.delegate.onKeyDown(a)};g.dispose=function(){this.delegate.dispose()};g.getNavigatable=function(){return this.delegate.getNavigatable()};g.getRoot=function(){return this.delegate.getRoot()};var Js=function(a,b,c,d,e,f){this.delegate=a;var h=this;this.peopleStore=b;this.clientConfig=d;this.autocompleteConfig=e;this.navigationInput=f;this.navigatable=this.getNavigatable();this.previouslyActiveElement=null;this.hideListener=function(k){return UTc(h,k)};this.unhideListener=function(k){return VTc(h,k)};this.onContextMenuDisposedListener=function(k){if(h.navigationInput!==document.activeElement){var q;(q=h.navigatable.getItem(k))==null||q.deactivate();h.navigatable.reset()}};this.saveActiveElement=
function(){h.previouslyActiveElement=document.activeElement};this.onDialogDisposedListener=function(k){h.navigationInput===h.previouslyActiveElement&&(k=h.navigatable.getItem(k))&&h.navigatable.goToItem(k,0);var q;(q=h.previouslyActiveElement)==null||q.focus();h.previouslyActiveElement=null};this.hide=c.getHide();this.dispatcher=this.clientConfig.injectorService.actionEventDispatcher;this.dispatcher.subscribe(1,this.hideListener);this.dispatcher.subscribe(4,this.unhideListener);this.dispatcher.subscribe(7,
this.onContextMenuDisposedListener);this.dispatcher.subscribe(8,this.saveActiveElement);this.dispatcher.subscribe(9,this.onDialogDisposedListener)};X(Js,TTc);Js.prototype.search=function(a,b,c,d){this.currentSearchState={query:a,anchor:b,showSuggestions:c,listener:d};TTc.prototype.search.call(this,a,b,c,d)};
Js.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);TTc.prototype.dispose.call(this)};
var UTc=function(a,b){return fe(function(c){switch(c.nextAddress){case 1:return ge(c,2),he(c,a.hide.hideResults(b),4);case 4:return he(c,a.refreshResults(),5);case 5:Ft(c,0);break;case 2:ke(c),WTc(a),le(c)}})},VTc=function(a,b){return fe(function(c){switch(c.nextAddress){case 1:return ge(c,2),he(c,a.hide.unhideResults(b),4);case 4:return he(c,a.refreshResults(),5);case 5:Ft(c,0);break;case 2:ke(c),XTc(a),le(c)}})};
Js.prototype.refreshResults=function(){var a=this;return fe(function(b){if(b.nextAddress==1)return a.getRoot().classList.add("isLoading"),a.peopleStore.flushCache(2),he(b,a.peopleStore.warmUpCache(),2);a.currentSearchState?TTc.prototype.search.call(a,a.currentSearchState.query,a.currentSearchState.anchor,a.currentSearchState.showSuggestions,a.currentSearchState.listener):a.getRoot().classList.remove("isLoading");le(b)})};
var WTc=function(a){a.hideErrorDialog=$Lb(a.getRoot(),a.autocompleteConfig);a.hideErrorDialog.subscribeToAction(function(){var b;(b=a.hideErrorDialog)==null||b.dispose()})},XTc=function(a){a.unhideErrorDialog=bMb(a.getRoot(),a.autocompleteConfig);a.unhideErrorDialog.subscribeToAction(function(){var b;(b=a.unhideErrorDialog)==null||b.dispose()})};var YTc=function(a,b){as.call(this,a,b)};X(YTc,as);YTc.prototype.onKeyDown=function(a){if(a.event.keyCode===9){var b=this.getSpotlitItem();if(b){b=b.getRoot();var c=this.ariaParent;var d=cgc(c,"activedescendant");c=Uz(c).getElementById(d);(d=b.querySelector('[id="'+(b.id+'-2ab"]')))?JN(this.ariaParent,c===d?b:d):vNb(b)&&(b=Array.from(b.querySelectorAll('[class~="TdcT2c"]')),c=c?b.indexOf(c):-1,c!==-1&&JN(this.ariaParent,b[(c+1)%b.length]))}}as.prototype.onKeyDown.call(this,a)};
YTc.prototype.next=function(a){a=as.prototype.next.call(this,a);var b=this.getSpotlitItem();b&&(b=b.getRoot(),vNb(b)&&ZTc(this,b));return a};YTc.prototype.prev=function(a){a=as.prototype.prev.call(this,a);var b=this.getSpotlitItem();b&&(b=b.getRoot(),vNb(b)&&ZTc(this,b));return a};var ZTc=function(a,b){(b=b.querySelector('[class~="TdcT2c"]'))&&JN(a.ariaParent,b)};var aOb=function(a,b,c,d,e,f,h,k){this.root=a;this.navigationInput=b;this.resultList=c;this.session=d;this.health=e;this.config=f;this.noResultsMessage=h;this.clientConfig=k;this.attached=!1;this.resultsLoadingCompleteListeners=[];this.navigatable=new YTc(this.navigationInput,this.resultList.getNavigatable());this.navigatable.setSecondaryEventTargets([this]);this.navigationEventHandler=LLb({getPrevKeyCode:function(){return 38},getNextKeyCode:function(){return 40}},{shouldReactToHomeEnd:!1});this.eventHandler=
Mr(this);ks(this.root,0)};g=aOb.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");ks(this.root,1);if(a){var f=$Tc(this.health);f.start();this.session.search(a,function(k){e.update(k,d,f,!0)})}else if(c){var h=$Tc(this.health);h.start();this.session.suggest(function(k){e.update(k,d,h,!1)})}};
g.attach=function(){var a=this;this.attached||(this.attached=!0,this.navigationEventHandler.attach(this.navigationInput,this.navigatable),this.eventHandler.listen(this.root,"mousedown",function(b){b.preventDefault();b.stopPropagation()}),Hj(this.clientConfig.internal,9,!1)&&this.eventHandler.listen(this.root,"contextmenu",function(b){var c=a.navigatable.getItem(b.target);c&&(a.navigatable.getSpotlitItem()!==c&&a.navigatable.goToItem(c,0),a.navigatable.onContextMenu(new W8(b),function(){}))}))};
g.detach=function(){this.attached=!1;this.navigatable.reset();this.navigationEventHandler.detach();this.eventHandler.removeAll();this.session.cancel();ks(this.root,0)};g.isShown=function(){return!0};g.dispose=function(){this.detach();this.root.parentNode&&this.root.parentNode.removeChild(this.root)};
g.update=function(a,b,c,d){var e=a.getResults();a=a.getMetadata();this.root.classList.remove("isLoading");var f=a.getQuery();this.resultList.append(e,{query:f});e=this.resultList.getResultListItems();this.attach();var h=!1;e.length>0||this.navigatable.size()?(h=!0,this.root.classList.remove("noResults")):a.getIsLastCallback()&&(h=this.noResultsMessage.update({query:f}),this.root.classList.add("noResults"));b({count:e.length,hasContent:h});Hj(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(ks(this.root,a.getCode()===0?2:3,a.getCode()),b={query:f,resultCount:e.length},d=l(this.resultsLoadingCompleteListeners),a=d.next();!a.done;a=d.next())a=a.value,a(b);else ks(this.root,4);c.stop()};
g.onKeyDown=function(a){var b=a.event.keyCode===9&&!a.event.shiftKey;if(a.event.keyCode===13||b&&this.config.getUseTabForResultSelection()){if(b=this.navigatable.getActiveItems(),b.length){b=l(b);for(var c=b.next();!c.done;c=b.next())c.value.toggleSelection();a.preventDefault();a.stopPropagation()}}else a.event.keyCode!==40||this.navigatable.getSpotlitItem()||(b=this.resultList.getResultListItems(),b.length&&(this.navigatable.goToItem(b[0],0),a.preventDefault(),a.stopPropagation()))};
g.getNavigatable=function(){return this.navigatable};g.getRoot=function(){return this.root};var VNb=function(){var a=cs,b='<div class="'+ds("peoplekitComponentsAutocompleteInlineContainer")+'" peoplekit-id="'+ds("yDHfq")+'"><div class="'+ds("peoplekitComponentsAutocompleteInlineListContainer")+'">';var c=cs('<div peoplekit-id="'+ds("tjneg")+'"></div>');c=cs('<div tabindex="-1" class="'+ds("peoplekitComponentsScrollboxScrollbar")+'" peoplekit-id="'+ds("I8ejUe")+'">'+es(c)+"</div>");b=b+c+'</div><div class="'+ds("peoplekitComponentsAutocompleteInlineCircularProgress")+'">';c='<div class="'+
ds("peoplekitComponentsCircularprogressCircularProgress")+(" "+ds("isActive"))+'" data-loadingmessage="'+ds("Loading...")+'" data-active="true"'+(ZO()?okc(YO(void 0,Zjc)?(void 0).getContent():zkc()):"")+'><div class="'+ds("peoplekitComponentsCircularprogressMessageContainer")+'" aria-live="polite" jsname="'+ds("vyyg5")+'">'+es("Loading...")+'</div><div class="'+ds("peoplekitComponentsCircularprogressCircularProgressContainer")+'"><div class="'+ds("peoplekitComponentsCircularprogressCircularProgressLayer")+
" "+ds("peoplekitComponentsCircularprogressColorOne")+" "+ds("exportColorOne")+'"><div class="'+ds("peoplekitComponentsCircularprogressCircleClipper")+" "+ds("peoplekitComponentsCircularprogressLeft")+'"><div class="'+ds("peoplekitComponentsCircularprogressCircle")+" "+ds("exportCircle")+'"></div></div><div class="'+ds("peoplekitComponentsCircularprogressGapPatch")+'"><div class="'+ds("peoplekitComponentsCircularprogressCircle")+" "+ds("exportCircle")+'"></div></div><div class="'+ds("peoplekitComponentsCircularprogressCircleClipper")+
" "+ds("peoplekitComponentsCircularprogressRight")+'"><div class="'+ds("peoplekitComponentsCircularprogressCircle")+" "+ds("exportCircle")+'"></div></div></div><div class="'+ds("peoplekitComponentsCircularprogressCircularProgressLayer")+" "+ds("peoplekitComponentsCircularprogressColorTwo")+" "+ds("exportColorTwo")+'"><div class="'+ds("peoplekitComponentsCircularprogressCircleClipper")+" "+ds("peoplekitComponentsCircularprogressLeft")+'"><div class="'+ds("peoplekitComponentsCircularprogressCircle")+
" "+ds("exportCircle")+'"></div></div><div class="'+ds("peoplekitComponentsCircularprogressGapPatch")+'"><div class="'+ds("peoplekitComponentsCircularprogressCircle")+" "+ds("exportCircle")+'"></div></div><div class="'+ds("peoplekitComponentsCircularprogressCircleClipper")+" "+ds("peoplekitComponentsCircularprogressRight")+'"><div class="'+ds("peoplekitComponentsCircularprogressCircle")+" "+ds("exportCircle")+'"></div></div></div><div class="'+ds("peoplekitComponentsCircularprogressCircularProgressLayer")+
" "+ds("peoplekitComponentsCircularprogressColorThree")+" "+ds("exportColorThree")+'"><div class="'+ds("peoplekitComponentsCircularprogressCircleClipper")+" "+ds("peoplekitComponentsCircularprogressLeft")+'"><div class="'+ds("peoplekitComponentsCircularprogressCircle")+" "+ds("exportCircle")+'"></div></div><div class="'+ds("peoplekitComponentsCircularprogressGapPatch")+'"><div class="'+ds("peoplekitComponentsCircularprogressCircle")+" "+ds("exportCircle")+'"></div></div><div class="'+ds("peoplekitComponentsCircularprogressCircleClipper")+
" "+ds("peoplekitComponentsCircularprogressRight")+'"><div class="'+ds("peoplekitComponentsCircularprogressCircle")+" "+ds("exportCircle")+'"></div></div></div><div class="'+ds("peoplekitComponentsCircularprogressCircularProgressLayer")+" "+ds("peoplekitComponentsCircularprogressColorFour")+" "+ds("exportColorFour")+'"><div class="'+ds("peoplekitComponentsCircularprogressCircleClipper")+" "+ds("peoplekitComponentsCircularprogressLeft")+'"><div class="'+ds("peoplekitComponentsCircularprogressCircle")+
" "+ds("exportCircle")+'"></div></div><div class="'+ds("peoplekitComponentsCircularprogressGapPatch")+'"><div class="'+ds("peoplekitComponentsCircularprogressCircle")+" "+ds("exportCircle")+'"></div></div><div class="'+ds("peoplekitComponentsCircularprogressCircleClipper")+" "+ds("peoplekitComponentsCircularprogressRight")+'"><div class="'+ds("peoplekitComponentsCircularprogressCircle")+" "+ds("exportCircle")+'"></div></div></div></div></div>';c=cs(c);return a(b+c+"</div></div>")},WNb=function(){return cs('<div class="'+
ds("peoplekitComponentsAutocompleteInlineNoResultsContainer")+'"></div>')};var YNb=function(a){a=a||{};var b=a.primaryMessage,c=a.contextMessage,d=a.learnMoreUrl,e=a.urlText;a=a.jsname;a='<div class="'+ds("peoplekitComponentsNoResultsMessageNoResultsMessage")+'"'+(a?' jsname="'+ds(a)+'"':"")+'><p class="'+ds("peoplekitComponentsNoResultsMessageHeader")+'">';a=b?a+es(b):a+"No results";a+="</p>";if(c||d)a+='<p class="'+ds("peoplekitComponentsNoResultsMessageExplanation")+'">'+(c?es(c)+(d?" ":""):""),d&&(a+='<a jsname="'+ds("viORvd")+'" class="'+ds("peoplekitComponentsNoResultsMessageLearnMoreLink")+
'" target="_blank" href="'+ds(skc(d))+'">',a=e?a+es(e):a+"Learn more",a+="</a>"),a+="</p>";return cs(a+"</div>")};var XNb=function(a,b){this.parent=a;this.config=b};XNb.prototype.update=function(a){this.root&&this.root.remove();a=this.config.display(a);if(!a)return!1;this.root=ap(YNb,a);this.parent.appendChild(this.root);return!0};var $Nb=function(){};$Nb.prototype.update=function(){return!1};var ZNb=function(){};ZNb.prototype.update=function(){return!0};var bOb=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=tLb(this.root,{moveAboveAnchorIfOffscreen:this.config.getMoveAutocompleteAboveAnchorIfOffscreen()});this.inlineAutocomplete.getNavigatable().setSecondaryEventTargets([this.inlineAutocomplete,this]);this.eventHandler=Mr(this);this.onSelectionCallback=function(){f.onSelect()};this.onSelectionAttemptedCallback=function(){f.hide()};this.attach()};
g=bOb.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;BTc(this.selectionsState,this.onSelectionCallback);this.selectionsState.selectionAttemptedCallbacks.add(this.onSelectionAttemptedCallback,2);this.eventHandler.listen(this.root,"mouseover",function(b){Date.now()-a.lastShowTime<100&&(b.preventDefault(),b.stopPropagation())})};g.onSelect=function(){this.hide()};
g.onKeyDown=function(a){this.isShown()&&a.event.keyCode===27&&(this.hide(),a.preventDefault(),a.stopPropagation())};g.detach=function(){this.hide()};g.isShown=function(){return this.popup.isShown()};g.dispose=function(){this.detach();this.selectionsState.selectionCallbacks.remove(this.onSelectionCallback);this.selectionsState.selectionAttemptedCallbacks.remove(this.onSelectionAttemptedCallback);this.eventHandler.removeAll();this.inlineAutocomplete.dispose();this.root.parentNode&&this.root.parentNode.removeChild(this.root)};
g.getNavigatable=function(){return this.inlineAutocomplete.getNavigatable()};g.getRoot=function(){return this.root};g.update=function(a){a.hasContent&&this.show()};
g.show=function(){this.navigationInput.setAttribute("aria-expanded","true");this.lastShowTime=Date.now();var a=this.navigationInput.clientWidth;a:{var b=this.config.getDensity();switch(b){case 0:b=300;break a;case 1:b=300;break a;case 2:b=240;break a;default:throw Error("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=hP(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 UNb=function(){return cs('<div class="'+ds("peoplekitComponentsAutocompletePopupContainer")+'" peoplekit-id="'+ds("noeiCf")+'" style="display: none;"></div>')};var aUc=function(){this.batches=new Map};aUc.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 wNb=function(a,b){this.service=a;this.resolveComponents=b};
wNb.prototype.update=function(a){var b=this;a=l([].concat(r(a.batches.values())));for(var c=a.next();!c.done;c=a.next()){var d=c.value;if(d.features.length){c=this.service.for(d.ids);d=l(d.features);for(var e=d.next();!e.done;e=d.next())switch(e.value){case 1:c=c.withWaldo(function(f){bUc(b,f.values,function(h,k,q){q.updateWaldo(k,h)})});break;case 2:c=c.withHubAvailabilityDot(function(f){bUc(b,f.values,function(h,k,q){q.updateHubAvailabilityDot(k,h)})})}c.execute()}}};
var bUc=function(a,b,c){b=l(b);for(var d=b.next();!d.done;d=b.next()){d=d.value;for(var e=d.getLookupId(),f=l(a.resolveComponents(e)),h=f.next();!h.done;h=f.next())c(e,d,h.value)}};var cUc=new Set([1,3,20]),dUc=function(a){var b=this;this.idToComponent=new Map;this.updater=xNb(a,function(c){return b.resolveComponents(c)})};g=dUc.prototype;
g.append=function(a){var b=a.filter(function(f){return f.getAllIds().some(function(h){return cUc.has(h.getType())})});a=[];b=l(b);for(var c=b.next();!c.done;c=b.next()){c=c.value;c.initializeIntelligence();for(var d=l(c.getAllIds()),e=d.next();!e.done;e=d.next())e=e.value,a.push(e),e=String(e),this.idToComponent.has(e)||this.idToComponent.set(e,[]),this.idToComponent.get(e).push(c)}this.refresh(a)};
g.remove=function(a){a=l(a);for(var b=a.next(),c={};!b.done;c={component$jscomp$132:void 0},b=a.next()){c.component$jscomp$132=b.value;b=l(c.component$jscomp$132.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$132}}(c)))}}};g.resolveComponents=function(a){return this.idToComponent.get(String(a))||[]};
g.refresh=function(a){var b=new aUc;a=l(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=this.resolveComponents(c);d=l(d);for(var e=d.next();!e.done;e=d.next())b.add(c,e.value.getSupportedIntelligenceFeatures())}this.updater.update(b)};g.clear=function(){this.idToComponent.clear()};var eUc=function(){};eUc.prototype.append=function(){};eUc.prototype.remove=function(){};eUc.prototype.refresh=function(){};eUc.prototype.clear=function(){};var TNb=function(a){this.peopleIntelligence=a};TNb.prototype.create=function(){return this.peopleIntelligence?new dUc(this.peopleIntelligence):new eUc};var fUc=Object.freeze(new Map([[5,1]]));var gUc=function(){this.entryPoint_=0};gUc.prototype.getPeoplekitEntryPoint=function(){return this.entryPoint_};gUc.prototype.setPeoplekitEntryPoint=function(a){this.entryPoint_=a;return this};gUc.prototype.serialize=function(){return[this.entryPoint_].toString()};var hUc=Object.freeze(new gUc);var iUc=function(){this.originator_=0};iUc.prototype.setOriginator=function(a){this.originator_=a;return this};iUc.prototype.getOriginator=function(){return this.originator_};var PNb=function(a,b,c){var d=this;this.reporter=a.getReporter((new gUc).setPeoplekitEntryPoint(c));BTc(b,function(e,f,h){d.select(e,h)},0);ATc(b,function(e,f,h){d.deselect(e,h)},0);jUc(b,function(e,f,h,k){d.replace(e,k)})};g=PNb.prototype;g.display=function(a){this.reporter.reportDisplay(yNb(a.getTargetList()))};g.select=function(a,b){if(!a.isPlaceholder())switch(b){case 1:case 12:case 5:this.reporter.reportSelect(zs([a]),(new iUc).setOriginator(fUc.get(b)||0));break;case 6:this.reporter.reportExternalSelect(zs([a]))}};
g.deselect=function(a,b){if(!a.isPlaceholder())switch(b){case 7:case 8:case 1:this.reporter.reportDeselect(zs([a]))}};g.dismiss=function(a){this.reporter.reportDismiss(zs(a))};g.save=function(a){this.reporter.reportSave(zs(a))};g.send=function(a){this.reporter.reportSend(zs(a))};g.replace=function(a,b){switch(b){case 5:case 6:this.select(a,b)}};var kUc=function(){this.isBatchingInternal=!1;this.timerId=this.lastBatchTime=0};kUc.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=Cq(function(){b.isBatchingInternal=!1;a()},d>100?0:100)}};kUc.prototype.cancel=function(){Dq(this.timerId);this.isBatchingInternal=!1};var gOb=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 kUc;BTc(this.selectionsState,function(){lUc(h,!1)});ATc(this.selectionsState,function(){lUc(h,!0)})};g=gOb.prototype;
g.search=function(a,b){this.config.getClearSelectionsOnSearch()&&this.selectionsState.clear();var c=!1;this.autocomplete.search(a,b,this.config.getShowSuggestions(),function(d){d.count>0&&!c&&(c=!0)})};g.select=function(a){this.selectionsState.select(a)};g.deselect=function(a){this.selectionsState.deselect(a)};g.isShown=function(){return this.autocomplete.isShown()};
g.report=function(a){var b=b===void 0?[]:b;b=b.length?b:this.selectionsState.asArray();var c=this.interactions;switch(a){case 1:c.reporter.reportProceed(zs(b));break;case 2:c.dismiss(b);break;case 3:c.save(b);break;case 4:c.send(b);break;case 5:c.reporter.reportSecondaryAction(zs(b))}};g.cancel=function(){this.autocomplete.detach()};
g.dispose=function(){this.tracker.stop();this.selectionChangedListeners.length=0;this.selectionsState.clear();this.root.parentNode&&this.root.parentNode.removeChild(this.root);this.autocomplete.dispose()};
var mFc=function(a,b){a.selectionChangedListeners.push({listener:b,listenToDeselections:!1})},lUc=function(a,b){a.selectionChangedAutoBatcher.call(function(){for(var c=a.selectionsState.asArray(),d=l(a.selectionChangedListeners),e=d.next();!e.done;e=d.next()){var f=e.value;e=f.listener;f=f.listenToDeselections;b&&!f||e(c,b)}})};var ONb=function(a){a=a||{};a=a.classes;return cs('<div peoplekit-id="'+ds("nVhUhf")+'"'+(a?' class="'+ds(a)+'"':"")+"></div>")};var mUc=function(a){this.internalArray_=m(a)};X(mUc,Y);g=mUc.prototype;g.getClientId=function(){return fj(this,1,0)};g.setClientId=function(a){return sl(this,1,a)};g.getEntryPoint=function(){return fj(this,5,0)};g.setEntryPoint=function(a){return sl(this,5,a)};g.getSocialClient=function(){return $i(this,iO,2)};g.setSocialClient=function(a){return oj(this,iO,2,a)};g.setVersionName=function(a){return rj(this,3,a)};g.getBaselineCl=function(){return ej(this,4)};
g.setBaselineCl=function(a){return yl(this,4,a)};g.hasBaselineCl=function(){return il(this,4)};g.getBaselineClOrUndefined=function(){return nt(this,4)};g.getComponentFlow=function(){return fj(this,7,0)};g.setComponentFlow=function(a){return sl(this,7,a)};var nUc=function(a){this.internalArray_=m(a)};X(nUc,Y);var oUc=function(a){this.internalArray_=m(a)};X(oUc,Y);g=oUc.prototype;g.getLabel=function(){return fj(this,1,0)};g.setLabel=function(a){return sl(this,1,a)};g.hasLabel=function(){return al(this,1)};g.getValue=function(){return ej(this,2,1)};g.getValue_asLegacyNumberOrString=function(){return ej(this,2,1)};g.setValue=function(a){return yl(this,2,a)};g.hasValue=function(){return il(this,2)};var e9=function(a){this.internalArray_=m(a)};X(e9,Y);e9.prototype.getLabel=function(){return Kh(this,1)};e9.prototype.setLabel=function(a){return rj(this,1,a)};e9.prototype.hasLabel=function(){return $k(this,1)};e9.prototype.getCause=function(){return Kh(this,2)};var pUc=function(a){this.internalArray_=m(a)};X(pUc,Y);g=pUc.prototype;g.getLabel=function(){return fj(this,1,0)};g.setLabel=function(a){return sl(this,1,a)};g.hasLabel=function(){return al(this,1)};g.setLatencyUsec=function(a){yl(this,2,a)};g.getCacheStatus=function(){return fj(this,3,0)};g.setCacheStatus=function(a){return sl(this,3,a)};var f9=function(a){this.internalArray_=m(a)};X(f9,Y);f9.prototype.getInterfaceType=function(){return fj(this,1,0)};f9.prototype.setInterfaceType=function(a){return sl(this,1,a)};var qUc=function(a){this.internalArray_=m(a)};X(qUc,Y);g=qUc.prototype;g.getCount=function(){return $i(this,oUc,3)};g.setCount=function(a){oj(this,oUc,3,a)};g.getLatency=function(){return $i(this,pUc,4)};g.setLatency=function(a){return oj(this,pUc,4,a)};g.getError=function(){return $i(this,e9,5)};g.setError=function(a){oj(this,e9,5,a)};g.hasError=function(){return dk(this,e9,5)};var rUc=function(a){this.internalArray_=m(a)};X(rUc,Y);rUc.prototype.setElementIndex=function(a){ql(this,2,a)};rUc.repeatedFields_=[3];var g9=function(a){this.internalArray_=m(a)};X(g9,Y);g9.prototype.getClientInterface=function(){return $i(this,mUc,3)};g9.prototype.setClientInterface=function(a){return oj(this,mUc,3,a)};g9.prototype.getMetadata=function(){return $i(this,nUc,4)};g9.prototype.setMetadata=function(a){oj(this,nUc,4,a)};var QNb=function(a,b){this.entryPoint=b;this.logContext=cQb(pt(new qt,"PeopleKit").setLogSource(624).setApplication(a.getSocialApplicationOrUndefined()).setEnvironment(0).setVersion("1.0").setBaselineCl(639987384).setEnableClearcut(a.getEnableClearcut()),SMb.getExperimentIds());this.clientId=a.getClientId();this.componentFlow=a.getComponentFlow()};g=QNb.prototype;g.getLogContext=function(){return this.logContext};g.createCountMetric=function(){throw Error("rf");};
g.createStatusMetric=function(){throw Error("rf");};g.createLatencyMetric=function(a,b){b=b.source();a=(new g9).setClientInterface((new mUc).setClientId(this.clientId).setSocialClient(a.getSocialClient()).setVersionName(this.getLogContext().getVersionOrUndefined()).setBaselineCl(this.getLogContext().getBaselineClOrUndefined()).setComponentFlow(this.componentFlow).setEntryPoint(this.entryPoint));return oj(a,qUc,2,b)};g.createErrorMetric=function(){throw Error("rf");};var sUc=function(a,b){this.count=0;this.metrics=a;this.label="total";a=new qUc;a=sl(a,1,4);var c=new f9;b=sl(c,2,2).setInterfaceType(b);this.dataEntry=oj(a,f9,2,b).setLatency((new pUc).setLabel(8));this.state=new uO(this.dataEntry)};sUc.prototype.start=function(){this.count=0;this.metrics.start(this.state,this.label)};
sUc.prototype.stop=function(a){a=a===void 0?function(){}:a;this.metrics.stop(this.state,this.label);var b=vO(this.state,this.label),c;(c=this.dataEntry.getLatency())==null||c.setLatencyUsec(b);a(b);var d;(d=$i(this.dataEntry,f9,2))!=null&&ql(d,3,this.count);this.metrics.latency(this.state);++this.count};var SNb=function(a,b){this.metrics=a;this.userInterfaceType=b};var RNb=function(a){this.trackers=a},$Tc=function(a){a=a.trackers;return new sUc(a.metrics,a.userInterfaceType)};var h9=function(){this.itemsByPriority=[]};h9.prototype.add=function(a,b){this.itemsByPriority[b]||(this.itemsByPriority[b]=new Set);this.itemsByPriority[b].add(a)};h9.prototype.remove=function(a){for(var b=l(this.itemsByPriority),c=b.next();!c.done;c=b.next())(c=c.value)&&c.delete(a)};h9.prototype.asArray=function(){return this.itemsByPriority.flatMap(function(a){return[].concat(r(a))})};var Es=function(){this.selectionCallbacks=new h9;this.deselectionCallbacks=new h9;this.selectionReplacedCallbacks=new h9;this.selectionAttemptedCallbacks=new h9;this.selectionsState=[]};
Es.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 As(a,b,c,this.selectionAttemptedCallbacks.asArray()),!1;b>=0?(this.selectionsState.splice(b,0,a),As(a,b,c,this.selectionCallbacks.asArray())):(this.selectionsState.push(a),As(a,this.selectionsState.length-1,c,this.selectionCallbacks.asArray()));return!0};
Es.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),As(a,d,b,this.deselectionCallbacks.asArray()))};Es.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 BTc=function(a,b,c){a.selectionCallbacks.add(b,c===void 0?2:c)},ATc=function(a,b,c){a.deselectionCallbacks.add(b,c===void 0?2:c)},jUc=function(a,b){a.selectionReplacedCallbacks.add(b,0)};g=Es.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;zNb(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 As(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 tUc={CLICK:{string:"click",xid:"cOuCgd"},GENERIC_CLICK:{string:"generic_click",xid:"szJgjc"},IMPRESSION:{string:"impression",xid:"xr6bB"},HOVER:{string:"hover",xid:"ZmdkE"},KEYPRESS:{string:"keypress",xid:"Kr2w4b"},KEYBOARD_ENTER:{string:"keyboard_enter",xid:"SYhH9d"},VIS:{string:"vis",xid:"HkgBsf"}},ANb=ENb(tUc),uUc=new Map,vUc=l(Object.keys(tUc)),wUc=vUc.next();!wUc.done;wUc=vUc.next()){var xUc=wUc.value;uUc.set(tUc[xUc].xid,tUc[xUc].string)}
var CNb=ENb({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 i9=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},j9=function(a,b){return b?a.tracks_.has(a.maybeXidEventLabel_(b)):a.tracks_.size!=0};g=i9.prototype;g.getIndex=function(){return this.index_};g.setComponentID=function(a){this.componentID_=a};g.getComponentID=function(){return this.componentID_};
g.isMutable=function(){return this.mutable_};g.setAttribute=function(a){this.attribute_=a;return this};g.getAttribute=function(){return this.attribute_};var yUc=function(a,b){for(var c=0;c<a.metadataHandlers_.length;++c)a.metadataHandlers_[c](b)};i9.prototype.maybeXidEventLabel_=function(a){return this.xidTagComponents_?BNb(a):a};i9.prototype.maybeXidPartLabel_=function(a){return this.xidTagComponents_?DNb(a):a};var zUc=function(a){i9.call(this,a)};X(zUc,i9);var AUc=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};AUc.prototype.getTag=function(){return this.veTag_};AUc.prototype.getElement=function(){return this.el_};var CUc=function(a){var b=BUc++;a.traversalOrder_=b};AUc.prototype.setParent=function(a){this.parent_=a};AUc.prototype.getParent=function(){return this.parent_};
var DUc=function(a){if(a.impressionEventID){var b=new zz;b.setVeIndex(a.traversalOrder_);EZb(b,a.getTag().visualElementID);oj(b,yz,13,a.impressionEventID);a=HZb(b);return"0"+Qba(a,4)}};var cOb=function(a){this.internalArray_=m(a)};X(cOb,Y);g=cOb.prototype;g.getClientId=function(){return fj(this,1,0)};g.setClientId=function(a){return sl(this,1,a)};g.getEntryPoint=function(){return fj(this,2,0)};g.setEntryPoint=function(a){return sl(this,2,a)};g.getApplication=function(){return fj(this,3,0)};g.setApplication=function(a){return sl(this,3,a)};g.getApplicationOrUndefined=function(){return tt(this,3)};g.setVersionName=function(a){return rj(this,4,a)};
g.getBaselineCl=function(){return ej(this,5)};g.setBaselineCl=function(a){return yl(this,5,a)};g.hasBaselineCl=function(){return il(this,5)};g.getBaselineClOrUndefined=function(){return nt(this,5)};g.getMetadata=function(){return $i(this,nUc,6)};g.setMetadata=function(a){oj(this,nUc,6,a)};g.setSharekitEntryPoint=function(a){sl(this,7,a)};g.getSharekitEntryPointOrUndefined=function(){return tt(this,7)};var dOb=function(a){this.context_=a};dOb.prototype.createNewTag=function(a){return new zUc(a)};dOb.prototype.addEventMetadata=function(a){G7b(a,this.context_.serialize())};var EUc=function(){this.client_info=this.global_metadata=this.ve_metadata=void 0;this.testCodes=[]};var FUc=function(){};FUc.prototype.impressionEvent=function(){return[]};FUc.prototype.interactionEvent=function(){return[]};FUc.prototype.visibilityEvent=function(){return[]};var IUc=function(){if(!GUc){var a=GUc=new AZb,b=Date.now()*1E3;yl(a,1,b);oo(GUc,2,Dca());oo(GUc,3,Dca())}a=(new yz).setBase(GUc);b=++HUc;return yl(a,2,b)},HUc=0,GUc=void 0;var k9=function(a){this.internalArray_=m(a,1)};X(k9,Y);var l9=function(a){this.internalArray_=m(a)};X(l9,Y);var JUc=function(a){this.internalArray_=m(a,7)};X(JUc,Y);g=JUc.prototype;g.getTarget=function(){return $i(this,Az,1)};g.setTarget=function(a){return oj(this,Az,1,a)};g.getType=function(){return fj(this,2,0)};g.setType=function(a){return sl(this,2,a)};g.hasType=function(){return al(this,2)};var KUc=function(a){var b=Date.now();b=Number.isFinite(b)?b*1E3:void 0;yl(a,4,b)};var m9=function(a){this.internalArray_=m(a)};X(m9,Y);m9.repeatedFields_=[1];var n9=function(a){this.internalArray_=m(a,17)};X(n9,Y);g=n9.prototype;g.setVed=function(a){return rj(this,11,a)};g.setUiType=function(a){return ql(this,1,a)};g.setVeIndex=function(a){ql(this,2,a)};g.getResultIndex=function(){return gj(this,7,-1)};g.setResultIndex=function(a){ql(this,7,a)};g.setElementIndex=function(a){ql(this,8,a)};var LUc=function(a,b){gk(a,14,b)};n9.repeatedFields_=[14];var o9=function(a){this.internalArray_=m(a)};X(o9,Y);o9.prototype.setEventId=function(a){oj(this,yz,1,a)};o9.prototype.setParentEventId=function(a){oj(this,yz,3,a)};o9.repeatedFields_=[2];var MUc=function(a){this.userAction=a};var NUc=function(){};NUc.prototype.createNewTag=function(a){return new i9(a)};NUc.prototype.addEventMetadata=function(){};var p9=function(a){this.internalArray_=m(a)};X(p9,Y);var OUc=function(a,b){gk(a,1,b)};p9.prototype.addPath=function(a,b){return Mq(this,1,Bz,a,b)};p9.prototype.setPath=function(a,b){return Xt(this,1,Bz,a,b)};p9.repeatedFields_=[1];var PUc=new lz(100,p9);var q9=function(a){this.internalArray_=m(a)};X(q9,Y);var r9=function(a){this.internalArray_=m(a)};X(r9,Y);r9.prototype.getTimestamp=function(){return $i(this,q9,1)};r9.prototype.setTimestamp=function(a){return oj(this,q9,1,a)};r9.prototype.hasTimestamp=function(){return dk(this,q9,1)};var QUc=new lz(126,r9);var RUc=new lz(618,r9);var SUc=function(a){this.internalArray_=m(a)};X(SUc,Y);var TUc=new lz(273,SUc);var Ks=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};X(Ks,FUc);Ks.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=UUc(this,c,b);b=this.enableBatching_?VUc(this,d,b):WUc(this,d,b);return a.concat(b)};
Ks.prototype.interactionEvent=function(a,b){var c=new HF,d=new o9,e=IUc();d.setEventId(e);e=new n9;a.serverVed_?e.setVed(a.serverVed_):e.setUiType(a.getTag().visualElementID).setVeIndex(a.traversalOrder_);LUc(ql(e,3,b.userAction),this.getAncestry_(a));a.getTag();this.setTimestamp(e);b=new l9;oj(b,yz,1,a.impressionEventID);d.setParentEventId(a.impressionEventID);oj(d,n9,4,e);oj(d,l9,9,b);IF(c,d.serialize());return[c]};
Ks.prototype.visibilityEvent=function(a,b){for(var c=[],d=new Map,e=0;e<a.length;++e){var f=a[e],h=f.getElement(),k=f.rootImpressionEventID,q=d.get(k);q=q?q:[];var t=new p9;this.enableAncestryLoggingForGrafts_&&OUc(t,this.getAncestry_(f));if(f.neverShown||j9(f.getTag(),"vis"))if(h=this.isVisible_(h,b),f.hidden&&h){h=new JUc;h.setType(1);var w=XUc(f);h.setTarget(w);KUc(h);this.enableAncestryLoggingForGrafts_&&Ys(h,PUc,t);q.push(h);f.hidden=!1;f.neverShown=!1}else f.hidden||h||(h=new JUc,h.setType(2),
w=XUc(f),h.setTarget(w),KUc(h),this.enableAncestryLoggingForGrafts_&&Ys(h,PUc,t),q.push(h),f.hidden=!0);d.set(k,q)}a=l(d.keys());for(b=a.next();!b.done;b=a.next())b=b.value,f=d.get(b),f.length&&(e=new m9,gk(e,1,f),f=new o9,k=IUc(),q=new l9,oj(q,yz,1,b),f.setEventId(k),f.setParentEventId(b),oj(f,m9,7,e),oj(f,l9,9,q),b=new HF,IF(b,f.serialize()),c.push(b));return c};
Ks.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=Ykc(b,new fP(a.left,a.top,a.width,a.height)))&&b.width>=10&&b.height>=10?!0:!1};
var UUc=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 o9;e.testCodes$jscomp$1=[];e.impressionEventID=IUc();e.clientVeProto$jscomp$7.setEventId(e.impressionEventID);var h=new l9;oj(h,yz,1,e.impressionEventID);oj(e.clientVeProto$jscomp$7,l9,9,h);if(h=Mbc(window.location.href,"ved"))h=(new n9).setVed(h),oj(e.clientVeProto$jscomp$7,n9,4,h);b[f].forEach(function(k){return function(q,
t){t.impressionEventID=k.impressionEventID;t.rootImpressionEventID=k.impressionEventID;var w=this.getVisualElementLiteProto_(t);q.length&&KZb(w,q);q=t.getElement();this.isVisible_(q,c)?(t.neverShown=!1,t.hidden=!1):w.setVisible(1);this.enableAttentionLogging_&&j9(t.getTag(),"hover")&&t.traversalOrder_!==void 0&&(q.setAttribute("data-hveid",Number(t.traversalOrder_)),xj(k.clientVeProto$jscomp$7,Bz,2,yj()).length===0&&DUc(t)&&(q.setAttribute("decode-data-ved","1"),q.setAttribute("data-ved",DUc(t)+"")));
this.setTimestamp(w);Mq(k.clientVeProto$jscomp$7,2,Bz,w);k.testCodes$jscomp$1=k.testCodes$jscomp$1.concat(t.getTag().testCodes_)}}(e),a);h=new HF;IF(h,e.clientVeProto$jscomp$7.serialize());jc(h,20,e.testCodes$jscomp$1,Hb);d.push(h)}return d},VUc=function(a,b,c){for(var d=[],e=new Map,f=b.length-1;f>=0;f--){var h=b[f],k=h.keys().next().value.rootImpressionEventID,q=e.get(k)||[];q.push(h);e.set(k,q)}e.forEach(function(t,w){var B=0,E=[],I=new o9,J=[],N=IUc();I.setEventId(N);I.setParentEventId(w);var P=
new l9;oj(P,yz,1,w);oj(I,l9,9,P);for(P=0;P<t.length;P++)for(var U=t[P],ba=U.keys(),ma=ba.next().value,na=U.get(ma),ya={},Pa=0;Pa<na.length;ya={startingOffset:void 0,cloneTreeRootIndex:void 0},++Pa){var ia=ma;ya.cloneTreeRootIndex=0;ya.startingOffset=na[Pa];var qa=U.size;Pa!=na.length-1&&(qa=na[Pa+1]);for(var ua=ya.startingOffset;ua<qa;++ua){var Oa=ba.next().value;ua==ya.startingOffset&&(ia=Oa,ya.cloneTreeRootIndex=B);Oa.impressionEventID=N;Oa.rootImpressionEventID=w;Oa.traversalOrder_=B;var Ka=U.get(Oa),
Cb=this.getVisualElementLiteProto_(Oa);Ka.length&&KZb(Cb,Ka.map(function(Qb){return function(Rb){return Rb-Qb.startingOffset+Qb.cloneTreeRootIndex}}(ya)));Ka=Oa.getElement();this.isVisible_(Ka,c)?(Oa.neverShown=!1,Oa.hidden=!1):Cb.setVisible(1);this.setTimestamp(Cb);Mq(I,2,Bz,Cb);J=J.concat(Oa.getTag().testCodes_);B++}ya=new JUc;ya.setType(3);qa=XUc(ma);ya.setTarget(qa);qa=new Az;ua=new zz;Oa=new p9;ua.setVeIndex(ia.traversalOrder_);EZb(ua,ia.getTag().visualElementID);Gj(qa,2,IZb,ua);oj(ya,Az,3,qa);
this.enableAncestryLoggingForGrafts_&&(OUc(Oa,this.getAncestry_(ia)),Ys(ya,PUc,Oa));E.push(ya)}E.length&&(t=new m9,gk(t,1,E),oj(I,m9,7,t));E=new HF;IF(E,I.serialize());jc(E,20,J,Hb);d.push(E)},a);return d},WUc=function(a,b,c){for(var d=[],e=b.length-1;e>=0;e--)for(var f=b[e],h=f.keys(),k=h.next().value,q=f.get(k),t={},w=0;w<q.length;t={startingOffset$jscomp$1:void 0},++w){t.startingOffset$jscomp$1=q[w];var B=f.size;w!=q.length-1&&(B=q[w+1]);var E=new o9,I=[],J=IUc(),N=new l9;oj(N,yz,1,k.impressionEventID);
E.setEventId(J);E.setParentEventId(k.impressionEventID);sl(E,5,3);oj(E,l9,9,N);N=new n9;k.serverVed_?N.setVed(k.serverVed_):N.setUiType(k.getTag().visualElementID).setVeIndex(k.traversalOrder_);LUc(N,a.getAncestry_(k));oj(E,n9,4,N);for(N=t.startingOffset$jscomp$1;N<B;++N){var P=h.next().value;P.impressionEventID=J;P.rootImpressionEventID=k.rootImpressionEventID;P.traversalOrder_!=void 0&&(P.traversalOrder_-=t.startingOffset$jscomp$1);var U=f.get(P),ba=a.getVisualElementLiteProto_(P);U.length&&KZb(ba,
U.map(function(ma){return function(na){return na-ma.startingOffset$jscomp$1}}(t)));U=P.getElement();a.isVisible_(U,c)?(P.neverShown=!1,P.hidden=!1):ba.setVisible(1);a.enableAttentionLogging_&&j9(P.getTag(),"hover")&&P.traversalOrder_!==void 0&&(U.setAttribute("data-hveid",Number(P.traversalOrder_)),xj(E,Bz,2,yj()).length===0&&DUc(P)&&(U.setAttribute("decode-data-ved","1"),U.setAttribute("data-ved",DUc(P)+"")));a.setTimestamp(ba);Mq(E,2,Bz,ba);I=I.concat(P.getTag().testCodes_)}t=new HF;IF(t,E.serialize());
jc(t,20,I,Hb);d.push(t)}return d};Ks.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};
Ks.prototype.getVisualElementLiteProto_=function(a){var b=(new Bz).setUiType(a.getTag().visualElementID);Number.isFinite(a.getTag().getIndex())&&b.setElementIndex(a.getTag().getIndex());yUc(a.getTag(),b);this.enableAttentionLogging_&&j9(a.getTag(),"hover")&&(a=new SUc,pl(a,1,!0),Ys(b,TUc,a));return b};
var XUc=function(a){var b=new Az;if(a.serverVed_)b.setVed(a.serverVed_);else{var c=new zz;Gj(b,3,JZb,a.impressionEventID);c.setVeIndex(a.traversalOrder_);EZb(c,a.getTag().visualElementID);Gj(b,2,IZb,c)}return b};
Ks.prototype.setTimestamp=function(a){var b=Date.now();b=Number.isFinite(b)?b.toString():void 0;if(a instanceof n9&&(!$i(a,k9,15)||!$i(a,k9,15).getExtension(QUc))){var c=new r9,d=new q9,e=$i(a,k9,15);e||(e=new k9);xl(d,1,b);c.setTimestamp(d);Ys(e,QUc,c);oj(a,k9,15,e)}a instanceof Bz&&(c=new r9,d=new q9,xl(d,1,b),c.setTimestamp(d),Ys(a,RUc,c))};var YUc=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 ZUc=function(){},$Uc=[[],[]],aVc=0,bVc=new Set,cVc=null,dVc=0,eVc=0,fVc=0,gVc=0,hVc=0,iVc=function(a){this.mutate_=this.measure_=void 0;this.runInCurrentFrameIfPossible_=!1;this.window_=window;this.context_=a;this.state_ctor_=ZUc};g=iVc.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 jVc({measure:this.measure_,mutate:this.mutate_,stateCtor:this.state_ctor_,window:this.window_,runInCurrentFrameIfPossible:this.runInCurrentFrameIfPossible_},this.context_)};
var jVc=function(a,b){var c=hVc++,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=aVc,!a.runInCurrentFrameIfPossible||gVc==0||a.measure&&gVc!=1||(h=(h+1)%2),$Uc[h].push(f));return kVc(a.window)}},lVc=function(a,b){var c={};
gVc=1;for(var d=0;d<a.length;++d){var e=a[d];e.args[e.args.length-1]&&(e.args[e.args.length-1].now=b);if(e.measureFn){e.phase=1;try{e.measureFn.apply(e.context,e.args)}catch(f){c[d]=!0,Ba(f)}}}gVc=2;for(d=0;d<a.length;++d)if(e=a[d],e.args[e.args.length-1]&&(e.args[e.args.length-1].now=b),!c[d]&&e.mutateFn){e.phase=2;try{e.mutateFn.apply(e.context,e.args)}catch(f){Ba(f)}}dVc>0&&b>1&&(a=b-dVc,a<500&&(YUc++,a>100&&eVc++,fVc<a&&(fVc=a)));dVc=bVc.size&&b>1?b:0},kVc=function(a){if(!bVc.has(a)){bVc.size||
(cVc=new PSc);bVc.add(a);var b=cVc.resolve;a.requestAnimationFrame(function(c){bVc.clear();var d=$Uc[aVc];aVc=(aVc+1)%2;try{lVc(d,c)}finally{gVc=0,d.length=0}b()})}return cVc.promise};var mVc=function(a,b){this.visualElementProvider=a;this.traverseShadowDom=b===void 0?!1:b},oVc=function(a,b){return nVc(a,b).filter(function(c){return s9(this.visualElementProvider,c)!=null},a)},pVc=function(a,b){var c=a.visualElementProvider;a=[];for(var d=void 0,e={},f=0;f<b.length;e={parent$jscomp$186:void 0},++f){var h=s9(c,b[f]);h.traversalOrder_==void 0&&h.serverVed_==void 0&&(e.parent$jscomp$186=void 0,HNb(b[f],function(k){return function(q){q=s9(c,q);return q!=null?(k.parent$jscomp$186=q,
!0):!1}}(e),!1),e.parent$jscomp$186?d&&d.has(e.parent$jscomp$186)||(d=new Map,a.unshift(d),d.set(e.parent$jscomp$186,[]),BUc=1):(d=new Map,a.unshift(d),BUc=0),CUc(h),h.setParent(e.parent$jscomp$186),d.set(h,[]),e.parent$jscomp$186&&d.get(e.parent$jscomp$186).push(h.traversalOrder_))}return a},qVc=function(a,b){var c=a.visualElementProvider;return b.map(function(d){return s9(c,d)})},nVc=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},BUc=0;var rVc=function(a,b){this.tagPopulator_=a;this.expectXidTagComponents_=b||!1;this.componentID_=void 0},s9=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())&&(d=c&&c.getTag().isMutable())&&(d=b.getAttribute("jslog"),d=!(!d||Hp(d)||d!=c.getTag().getAttribute()));if(d)return c;d=b.getAttribute("jslog");if(!d)return null;d=sVc(a,d);if(!d||(d.getComponentID()||a.componentID_)&&
d.getComponentID()!=a.componentID_)return null;a=new AUc(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=GZb(c);e=$i(f,yz,13)}catch(h){e=null}}e&&(a.impressionEventID=e,a.rootImpressionEventID=e)}return b.LSWHIf=a},sVc=function(a,b){if(Hp(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(!Hp(f)){var h=PSb(f);if(h.length<2)return null;f=h[0].trim();h=h[1].trim();if(Hp(f)||Hp(h))return null;switch(f){case a.maybeXidPartLabel_("track"):f=h.split(",");for(h=0;h<f.length;++h){var k=d,q=f[h].trim();if(a.expectXidTagComponents_){if(!k.xidTagComponents_)throw Error("Vf");if(!uUc.has(q))throw Error("Wf`"+q);k.tracks_.add(q)}else k.tracks_.add(k.maybeXidEventLabel_(q))}break;case a.maybeXidPartLabel_("index"):d.index_=
Number(h);break;case a.maybeXidPartLabel_("tc"):f=h.split(",");f=f.map(Number);f=f.filter(Number.isInteger);d.testCodes_=f;break;case "cid":d.setComponentID(h);break;case a.maybeXidPartLabel_("mutable"):h=="true"?d.mutable_=!0:h=="rci"&&(d.mutable_=!0,d.retain_cached_impression_=!0)}}}return d.setAttribute(b)};rVc.prototype.maybeXidPartLabel_=function(a){return this.expectXidTagComponents_?DNb(a):a};rVc.prototype.setComponentID=function(a){this.componentID_=a};rVc.prototype.getComponentID=function(){return this.componentID_};var tVc=function(a,b){Hz.call(this,"visibilitychange");this.hidden=a;this.visibilityState=b};X(tVc,Hz);var uVc=function(a){Xo.call(this);this.domHelper_=a||$o();if(this.eventType_=this.getBrowserEventType_())this.eventKey_=Yo(this.domHelper_.document_,this.eventType_,Kt(this.handleChange_,this))};Mt(uVc,Xo);g=uVc.prototype;g.getBrowserEventType_=Vo(function(){var a=!!this.getHiddenPropertyName_(),b=this.getHiddenPropertyName_()!="hidden";if(a){var c;b?c=(((Pt?"Webkit":Ot?"Moz":ls?"ms":null)||"")+"visibilitychange").toLowerCase():c="visibilitychange";a=c}else a=null;return a});
g.getHiddenPropertyName_=Vo(function(){return Xkc("hidden",this.domHelper_.document_)});g.getVisibilityStatePropertyName_=Vo(function(){return Xkc("visibilityState",this.domHelper_.document_)});g.handleChange_=function(){var a=this.getHiddenPropertyName_()?this.domHelper_.document_[this.getVisibilityStatePropertyName_()]:null;a=new tVc(!!this.domHelper_.document_[this.getHiddenPropertyName_()],a);this.dispatchEvent(a)};g.disposeInternal=function(){Oz(this.eventKey_);uVc.superClass_.disposeInternal.call(this)};var t9=function(a,b,c,d,e,f,h){var k=d===void 0?{}:d;var q=k.backgroundJobDeferrer===void 0?void 0:k.backgroundJobDeferrer;d=k.expectXidTagComponents===void 0?!1:k.expectXidTagComponents;k=k.traverseShadowDom===void 0?!1:k.traverseShadowDom;Lr.call(this);var t=this;this.eventBuilder=a;this.transport=c;this.root_=this.domHelper_=this.invariantData_=this.appInfo_=void 0;this.listeners_=[];this.impressionListeners_=[];this.expectXidTagComponents_=d;this.metadataHandler_=b||new NUc;this.visualElementProvider_=
new rVc(this.metadataHandler_,this.expectXidTagComponents_);this.eventToActionMap_={click:3};this.eventToTracksLabelMap_={click:this.maybeXidEventLabel_("generic_click")};this.pageVisibilityMonitor_=new uVc;this.logImpressionsTask_=(new iVc(this)).measure(q?function(){return q().then(t.handleImpressions_.bind(t))}:this.handleImpressions_).runInCurrentFrameIfPossible().build();this.logImpressionsThrottle_=new MCc(this.logImpressionsTask_,500,this);this.traverser_=h||new mVc(this.visualElementProvider_,
k);this.eventBuilder instanceof FUc&&(this.eventHandler_=this.eventBuilder);this.zwiebackId_=e;this.windowProvider_=f};X(t9,Lr);t9.prototype.setComponentID=function(a){this.visualElementProvider_.setComponentID(a)};t9.prototype.logImpressions=function(){this.domHelper_&&this.logImpressionsThrottle_.fire()};
var wVc=function(a,b,c,d){var e=vVc(d),f=a.getIndex(c);var h=new rUc;h=sl(h,4,b);var k=c.getTag().visualElementID;h=ql(h,1,k);e=jc(h,3,e,Hb);f!=null&&e.setElementIndex(f);f=new EUc;f.ve_metadata=a.getMetadata(c,d);f.global_metadata=a.invariantData_;f.client_info=a.appInfo_;c=G7b(new HF,e.serialize());c=jc(c,20,f.testCodes,Hb);a.transport&&NF(a.transport,c);if(b!=null)for(b=new MUc(b),c=0;c<a.listeners_.length;c++)a.listeners_[c](b)};t9.prototype.log=function(a){this.transport&&NF(this.transport,a)};
var xVc=function(a){for(var b=0;b<a.impressionListeners_.length;b++)a.impressionListeners_[b]()};t9.prototype.getIndex=function(a){return a.getTag().getIndex()};var vVc=function(a){return a.map(function(b){return b.getTag().visualElementID})};t9.prototype.getMetadata=function(a,b){var c=new Bz;yUc(a.getTag(),c);for(a=0;a<b.length;++a)yUc(b[a].getTag(),c);return c};
var yVc=function(a,b,c){var d,e=a.visualElementProvider_,f=a.eventToTracksLabelMap_[b];HNb(c,function(h){if(!cA(h))return!1;h=s9(e,h);var k;if(k=h!=null)if(k=h.getTag(),a.expectXidTagComponents_){if(!k.xidTagComponents_)throw Error("Vf");if(!uUc.has(f))throw Error("Wf`"+f);k=k.tracks_.has(f)}else k=j9(k,f);return k?(d=h,!0):!1},!0);return d};g=t9.prototype;
g.getAncestry_=function(a){var b=[],c=this.visualElementProvider_;HNb(a,function(d){if(!cA(d))return!1;d=s9(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=oVc(this.traverser_,this.root_);if(this.eventHandler_){var c=this.windowProvider_?this.domHelper_.getViewportSize(this.windowProvider_()):this.domHelper_.getViewportSize();c=new fP(0,0,
c.width,c.height);var d=pVc(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]),rj(d[e],28,this.zwiebackId_),this.transport&&NF(this.transport,d[e])}b=qVc(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_&&rj(b[c],28,this.zwiebackId_),this.transport&&NF(this.transport,b[c]);xVc(this)}else{c=[];d=this.windowProvider_?
this.domHelper_.getViewportSize(this.windowProvider_()):this.domHelper_.getViewportSize();d=new fP(0,0,d.width,d.height);for(e=0;e<b.length;e++){var f=b[e];this.isVisible_(f,d)&&(f=s9(this.visualElementProvider_,f))&&j9(f.getTag(),"impression")&&c.push(f)}for(b=0;b<c.length;b++)d=c[b],d.loggedImpression_||(e=this.getAncestry_(d.getElement()),wVc(this,void 0,d,e),xVc(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=Ykc(b,new fP(a.left,a.top,a.width,a.height)))&&b.width>=10&&b.height>=10?!0:!1};g.maybeXidEventLabel_=function(a){return this.expectXidTagComponents_?BNb(a):a};g.tearDown=function(){if(this.domHelper_){var a=this.domHelper_.document_;this.unlisten(a,"scroll",this.logImpressions,!0);this.unlisten(a,"resize",this.logImpressions,!0)}};var Ls=function(a,b,c,d,e,f,h,k,q,t,w,B,E){e=e===void 0?!1:e;q=q===void 0?!1:q;k||(b=new Wo(b,c),d&&(b.destinationUrl=d),f&&(b.backgroundJobDeferrer=f),k=b.build());t9.call(this,a,h||null,k,{expectXidTagComponents:e,backgroundJobDeferrer:f,traverseShadowDom:q},t,w,B);this.clearcut_=k;this.clearcut_.setClientSideLogOnlyForDevelopment(!1);a=this.clearcut_;a.useSendBeaconForFinalFlush=a.isSendBeaconSupported;this.clearcut_.useGetRequestForFinalFlush=!0;E&&this.clearcut_.setProductID(E)};X(Ls,t9);
Ls.prototype.setClearcutClientInfo=function(a){this.clearcut_.setClearcutClientInfo(a)};Ls.prototype.setBuildLabel=function(a){this.clearcut_.setBuildLabel(a)};Ls.prototype.setClientSideLogOnlyForDevelopment=function(a){this.clearcut_.setClientSideLogOnlyForDevelopment(a)};var zVc=function(a){this.tracker=a};var AVc=function(a,b){this.root=a;this.handler=b;this.eventHandler=new Lr(this)};
AVc.prototype.observe=function(a){var b=this;this.observer||(this.observer=new MutationObserver(function(c){b.onMutation(c)}),this.observer.observe(this.root,{childList:!0,subtree:!0}),this.eventHandler.listen(this.root,a,function(c){var d=b.handler.tracker,e=c.type,f=d.eventToActionMap_[e];if(f&&(e=yVc(d,e,c.target)))if(d.eventHandler_)for(f=d.eventHandler_.interactionEvent(e,new MUc(f)),e=0;e<f.length;++e)d.metadataHandler_.addEventMetadata(f[e]),d.zwiebackId_&&rj(f[e],28,d.zwiebackId_),d.transport&&
NF(d.transport,f[e]);else{var h=d.getAncestry_(e.getElement());wVc(d,f,e,h)}c.stopPropagation()}))};AVc.prototype.dispose=function(){var a;(a=this.observer)==null||a.disconnect();this.eventHandler.removeAll()};AVc.prototype.onMutation=function(a){a=l(a);for(var b=a.next();!b.done;b=a.next())if(b=b.value,b.type==="childList"){b=l(b.addedNodes);for(var c=b.next();!c.done;c=b.next())c=c.value,c instanceof Element&&(c.querySelectorAll("[jsLog]").length||c.getAttribute("jsLog"))&&this.handler.tracker.logImpressions()}};var eOb=function(a,b){this.root=a;this.tracker=b;this.observer=new AVc(this.root,new zVc(this.tracker))};
eOb.prototype.start=function(a){var b=this.tracker,c=this.root;b.domHelper_=new Tz;b.root_=c||b.domHelper_.document_.body;c=b.domHelper_.document_;c.readyState!=="interactive"&&c.readyState!=="complete"||b.logImpressions();b.listenOnce(c,"load",b.logImpressions,!1);b.listenOnce(c,"DOMContentLoaded",b.logImpressions,!1);b.listen(b.pageVisibilityMonitor_,"visibilitychange",b.logImpressions,!1);b.listen(c,"scroll",b.logImpressions,!0);b.listen(c,"resize",b.logImpressions,!0);b=l(a);for(c=b.next();!c.done;c=
b.next()){var d=l(c.value);c=d.next().value;d=d.next().value;var e=this.tracker;e.eventToActionMap_[c]=d;e.eventToTracksLabelMap_[c]=e.maybeXidEventLabel_(c)}this.observer.observe([].concat(r(a.keys())))};eOb.prototype.stop=function(){this.observer.dispose();this.tracker.dispose()};var yt=function(a){this.internalArray_=m(a)};X(yt,Y);var u9=function(a,b){return pl(a,1,b)};yt.prototype.getProvenance=function(){return fj(this,2,0)};yt.prototype.setProvenance=function(a){return sl(this,2,a)};yt.prototype.getCode=function(){return fj(this,3,0)};yt.prototype.setCode=function(a){return sl(this,3,a)};var v9=function(a){this.internalArray_=m(a)};X(v9,Y);v9.prototype.getSource=function(){return $i(this,yt,1)};v9.prototype.setSource=function(a){return oj(this,yt,1,a)};v9.prototype.hasSource=function(){return dk(this,yt,1)};var w9=function(a,b){return sl(a,2,b)},x9=function(a,b){return sl(a,3,b)};var BVc=function(){this.filter_=null;this.originator_=this.queryScope_=0;this.useOriginalDisplayValue_=!1};g=BVc.prototype;g.getFilter=function(){return this.filter_};g.setFilter=function(a){this.filter_=a;return this};g.getQueryScope=function(){return this.queryScope_};g.setQueryScope=function(a){this.queryScope_=a;return this};g.getOriginator=function(){return this.originator_};g.setOriginator=function(a){this.originator_=a;return this};
g.clone=function(){var a=(new BVc).setFilter(this.getFilter()).setOriginator(this.getOriginator()).setQueryScope(this.getQueryScope());a.useOriginalDisplayValue_=this.useOriginalDisplayValue_;return a};var CVc=function(){this.isLastCallback_=this.isFirstCallback_=!1;this.notFoundIdList_=[];this.code_=2;this.cacheState_=new v9};g=CVc.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 DVc=function(a,b){this.results_=a;this.metadata_=b};DVc.prototype.getResults=function(){return this.results_};DVc.prototype.getMetadata=function(){return this.metadata_};var y9=function(a){this.internalArray_=m(a)};X(y9,Y);g=y9.prototype;g.getQuery=function(){return Kh(this,1,"")};g.setQuery=function(a){return rj(this,1,a)};g.clearQuery=function(){oo(this,1)};g.hasQuery=function(){return $k(this,1)};g.getIsFirstCallback=function(){return Hj(this,2,!1)};g.setIsFirstCallback=function(a){return pl(this,2,a)};g.getIsLastCallback=function(){return Hj(this,3,!1)};g.setIsLastCallback=function(a){return pl(this,3,a)};g.setCallbackNumber=function(a){return ql(this,4,a)};
g.getNextPageToken=function(){return Kh(this,5,"")};g.getCode=function(){return fj(this,6,2)};g.setCode=function(a){return sl(this,6,a)};g.getCacheState=function(){return $i(this,v9,7)};g.setCacheState=function(a){return oj(this,v9,7,a)};g.hasCacheState=function(){return dk(this,v9,7)};var z9=function(a,b){this.results_=a;this.metadata_=b};z9.prototype.getResults=function(){return this.results_};z9.prototype.getMetadata=function(){return this.metadata_};var EVc={create:function(a,b,c,d,e){e=e===void 0?new Bs:e;return JNb(a,b,c,d,new eRc,{sessionOptions:e})},createWith:function(a,b,c,d,e){e=e===void 0?{}:e;return JNb(a,b,c,d,new eRc,e)},createConfig:function(a){var b;a===void 0?b=new eic(HO.apiEnv,new fic(HO.userProfileId)):b=a;return new iSc(b)}};var lt=function(a){this.internalArray_=m(a)};X(lt,Y);g=lt.prototype;g.getTimestamp=function(){return ej(this,1)};g.getTimestamp_asLegacyNumberOrString=function(){return ej(this,1)};g.setTimestamp=function(a){return yl(this,1,a)};g.hasTimestamp=function(){return il(this,1)};g.getAffinityVersion=function(){return gj(this,2)};g.setAffinityVersion=function(a){ql(this,2,a)};g.getAffinityVersionOrUndefined=function(){return gu(this,2)};g.getNextPageToken=function(){return Kh(this,4)};
var A9=function(a){return pl(a,5,!0)};lt.prototype.getCode=function(){return fj(this,6,0)};lt.prototype.setCode=function(a){return sl(this,6,a)};var FVc=function(){this.bits_=[]};g=FVc.prototype;g.and=function(a){for(var b=new FVc,c=l(this),d=c.next();!d.done;d=c.next())d=d.value,a.bits_[d]&&(b.bits_[d]=!0);return b};g.or=function(a){for(var b=new FVc,c=l(this),d=c.next();!d.done;d=c.next())b.bits_[d.value]=!0;a=l(a);for(c=a.next();!c.done;c=a.next())b.bits_[c.value]=!0;return b};g.get=function(a){return!!this.bits_[a]};g.set=function(a){this.bits_[a]=!0};g.setAll=function(a){var b=a;for(a+=NaN;b<a;b++)this.bits_[b]=!0};
g.clear=function(a){this.bits_[a]=!1};FVc.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 kOb=RegExp("[\\s,;\u055d\u060c\u1363\u1802\u1808\u2e41\u3001\uff0c\u061b\u1364\uff1b\uff64\u104a]+","g"),mOb=/^[<"']|[>"']$/g,jOb=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"),GVc=/[^a-z0-9]+/gi,lOb=String.prototype.normalize?function(a){return a.normalize("NFKC")}:function(a){return a};var HVc=function(a,b){this.key=a;this.terms=nOb(b)};var B9=function(a,b,c){b=b===void 0?"":b;c=c===void 0?new FVc:c;this.items_=a;this.prefix_=b;this.matchIndices_=c;this.childNodes_={};this.isExpanded_=b==="\u2026"};B9.prototype.cloneNode=function(a){for(var b=[],c=l(this.items_),d=c.next();!d.done&&(d=d.value,!a.loadOrSkip(d.key)||(b.push(d),!a.isDone()));d=c.next());return new B9(b)};
B9.prototype.getMatches=function(a){for(var b=[],c=l(this.prefix_?this.matchIndices_:pOb(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};
B9.prototype.search=function(a){var b=this;return a.length?a.map(function(c){for(var d=b,e=0;e<c.length;e++){var f=c.charAt(e),h=d;if(!h.isExpanded_){for(var k=l(h.prefix_?h.matchIndices_:pOb(h.items_.length)),q=k.next();!q.done;q=k.next()){var t=h;q=q.value;for(var w=t.prefix_+"\ufdc7",B=l(t.items_[q].terms),E=B.next();!E.done;E=B.next())E=E.value,E.length<=t.prefix_.length||E<t.prefix_||E>w||(E=E.charAt(t.prefix_.length),t.childNodes_[E]||(t.childNodes_[E]=new B9(t.items_,t.prefix_+E)),t.childNodes_[E].matchIndices_.set(q))}h.isExpanded_=
!0}d=d.childNodes_[f]||C9;if(d===C9)break}return d}).reduce(function(c,d){return c.and(d)}):this};var IVc=function(a){a.isExpanded_=!1;for(var b=l(Object.keys(a.childNodes_)),c=b.next();!c.done;c=b.next())c=a.childNodes_[c.value],c.isExpanded_&&IVc(c)};B9.prototype.and=function(a){a=this.matchIndices_.and(a.matchIndices_);return new B9(this.items_,"\u2026",a)};B9.prototype.or=function(a){a=this.matchIndices_.or(a.matchIndices_);return new B9(this.items_,"\u2026",a)};var C9=new B9([]);
C9.isExpanded_=!0;var JVc=function(a,b,c){this.expiry_=a;this.value_=b;this.stale_=c};JVc.prototype.getExpiry=function(){return this.expiry_};JVc.prototype.getValue=function(){return this.value_};JVc.prototype.isExpired=function(){return this.expiry_<Date.now()};JVc.prototype.isStale=function(){return this.stale_<Date.now()};var KVc=function(a){this.shouldEvictItem_=a;this.items_=new Map};g=KVc.prototype;g.size=function(){return this.items_.size};g.clear=function(){this.items_.clear()};g.has=function(a){return this.items_.has(a)};g.get=function(a){var b=this.items_.get(a);this.items_.has(a)&&(this.items_.delete(a),this.items_.set(a,b));return b};
g.set=function(a,b){this.items_.has(a)&&this.items_.delete(a);this.items_.set(a,b);b=l(this.items_.entries().next().value);a=b.next().value;b=b.next().value;this.shouldEvictItem_(a,b)&&this.items_.delete(a);return this};g.delete=function(a){return this.items_.delete(a)};g.compact=function(){for(var a=0,b=l(this.items_),c=b.next();!c.done;c=b.next()){var d=l(c.value);c=d.next().value;d=d.next().value;this.shouldEvictItem_(c,d)&&(this.items_.delete(c),a++)}return a};
var LVc=function(){var a=new KVc(function(){return a.size()>1E3});return a};var MVc=function(a,b){var c=this;this.capacity_=a;this.itemFactory_=b;this.delegate_=new KVc(function(d,e){return e.isExpired()||c.delegate_.size()>c.capacity_})};g=MVc.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 D9=function(a,b){return new MVc(a,function(c){var d=Date.now()+b;return new JVc(d,c,d)})};var E9=function(a){this.internalArray_=m(a)};X(E9,Y);g=E9.prototype;g.getSuggestMaxResults=function(){return gj(this,1,10)};g.getSearchMaxResults=function(){return gj(this,2,10)};g.getCacheSize=function(){return gj(this,3,500)};g.setCacheSize=function(a){ql(this,3,a)};g.hasCacheSize=function(){return Zk(this,3)};g.getCacheStaleSec=function(){return Aj(this,4,86400)};g.getCacheExpiredSec=function(){return Aj(this,5,1209600)};g.getRpcTimeoutSec=function(){return Aj(this,12,60)};
g.getSuggestFormat=function(){return fj(this,15,1)};g.getSearchFormat=function(){return fj(this,16,1)};E9.repeatedFields_=[24,25];var rOb=new Set([10,11]);var NVc=function(a){this.interleaveGroups_=Hj(a,33,!1)},OVc=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=sOb(d,e,f,!0);break a;default:d=tOb(d,e,f)}}return d}).map(function(d){return String(d.id)})};var PVc=function(a,b,c,d,e){this.adapter_=a;this.targetFactory_=b;this.trieFactory_=c;this.storage_=d;this.ranker_=new NVc(e);this.indexes_=D9(gj(e,8,250),Aj(e,9,3600)*1E3);this.maxResults_=e.getSearchMaxResults()};g=PVc.prototype;g.getCacheType=function(){return 3};g.flush=function(){this.indexes_.clear()};
g.fetch=function(a){var b=this,c,d;return fe(function(e){switch(e.nextAddress){case 1:c=u9(new yt,!0).setProvenance(7).setCode(0);if(b.canSkipFetch_(a))return e.return(u9(c,!1));ge(e,2);return he(e,b.adapter_.search(a.getPrefix(),b.maxResults_),4);case 4:d=e.yieldResult;Ft(e,3);break;case 2:return ke(e),e.return(c.setCode(13));case 3:try{return b.index(a,d,new lt),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=OVc(this.ranker_,b,1),d=l(b),e=d.next();!e.done;e=d.next())this.targetFactory_.processItem(e.value);d=a.queryScope()===3;this.storage_.storeItems(1,b,d);b=QVc(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 RVc=function(a,b,c){this.adapter_=a;this.targetFactory_=b;this.indexer_=c};RVc.prototype.getStageType=function(){return 2};RVc.prototype.index_=function(a,b){for(var c=l(a),d=c.next();!d.done;d=c.next())this.targetFactory_.processItem(d.value);this.indexer_.storeItems(a,b)};
RVc.prototype.lookup=function(a){var b=this,c,d,e,f,h,k,q,t,w;return fe(function(B){switch(B.nextAddress){case 1:return c=new Map,d=u9(new yt,!0).setProvenance(7).setCode(0),e=a.queryScope()===3,f=SVc(a),ge(B,2),he(B,b.adapter_.lookup(f),4);case 4:h=B.yieldResult;Ft(B,3);break;case 2:return ke(B),d.setCode(13),a.notify(c,[],d),B.return();case 3:b.index_(h,e);k=l(f);for(q=k.next();!q.done;q=k.next())t=q.value,(w=b.indexer_.load(t,a.getFormat(),a.getOptions().useOriginalDisplayValue_))&&c.set(t,w);
a.notify(c,[],d);le(B)}})};var TVc=function(a,b){this.metrics_=a;this.state_=new uO(b);this.source=b;this.label_="total"};TVc.prototype.call=function(){this.metrics_.count(this.state_);this.metrics_.start(this.state_,this.label_)};TVc.prototype.result=function(a){this.metrics_.stop(this.state_,this.label_);this.metrics_.status(this.state_,a)};var UVc=function(a,b){this.metrics_=a;this.state_=new uO(b);this.source=b};UVc.prototype.increment=function(a){this.metrics_.count(this.state_,a===void 0?1:a)};var VVc=function(a,b){this.metrics_=a;this.state_=new uO(b);this.source=b};VVc.prototype.report=function(){this.metrics_.error(this.state_)};var ot=function(a){this.internalArray_=m(a)};X(ot,Y);ot.prototype.getSessionState=function(){return $i(this,E_,1)};ot.prototype.setSessionState=function(a){return oj(this,E_,1,a)};ot.prototype.hasSessionState=function(){return dk(this,E_,1)};var at=function(a){this.internalArray_=m(a)};X(at,Y);at.prototype.hasNoChanges=function(){return Yk(this,12)};var $s=function(a){this.internalArray_=m(a)};X($s,Y);$s.prototype.getEventType=function(){return fj(this,1,0)};$s.prototype.setEventType=function(a){return sl(this,1,a)};var bt=function(a,b){return sl(a,2,b)},dPb=function(a,b){return sl(a,3,b)};g=$s.prototype;g.getErrorType=function(){return fj(this,6,0)};g.setErrorType=function(a){return sl(this,6,a)};g.getIdType=function(){return fj(this,8,0)};g.setIdType=function(a){sl(this,8,a)};g.getResultIndex=function(){return gj(this,9,0)};
g.setResultIndex=function(a){ql(this,9,a)};g.getToken=function(){return Kh(this,10,"")};g.setToken=function(a){return rj(this,10,a)};g.getCacheState=function(){return $i(this,v9,11)};g.setCacheState=function(a){return oj(this,v9,11,a)};g.hasCacheState=function(){return dk(this,v9,11)};g.getQueryLength=function(){return gj(this,14)};g.setQueryLength=function(a){return ql(this,14,a)};g.hasQueryLength=function(){return Zk(this,14)};g.getItemCount=function(){return gj(this,15)};
g.setItemCount=function(a){return ql(this,15,a)};g.hasItemCount=function(){return Zk(this,15)};g.getLookupInfo=function(){return $i(this,at,16)};g.setLookupInfo=function(a){return oj(this,at,16,a)};g.hasLookupInfo=function(){return dk(this,at,16)};g.getQueryScope=function(){return fj(this,17,0)};g.setQueryScope=function(a){return sl(this,17,a)};g.hasQueryScope=function(){return al(this,17)};var WVc=function(a,b){this.delegate_=a;this.trackers_=b;this.name=a.name};WVc.prototype.search=function(a){var b=this,c,d;return fe(function(e){switch(e.nextAddress){case 1:return c=b.trackers_.latency(66),c.start(),ge(e,2,3),he(e,b.delegate_.search(a),5);case 5:return e.return(e.yieldResult);case 3:ie(e);c.stop();je(e,0);break;case 2:throw d=ke(e),b.trackers_.error(36,11).report(),d;}})};
WVc.prototype.lookup=function(a){var b=this,c,d;return fe(function(e){switch(e.nextAddress){case 1:return c=b.trackers_.latency(67),c.start(),ge(e,2,3),he(e,b.delegate_.lookup(a),5);case 5:return e.return(e.yieldResult);case 3:ie(e);c.stop();je(e,0);break;case 2:throw d=ke(e),b.trackers_.error(37,11).report(),d;}})};var XVc=function(a,b){this.delegate_=a;this.trackers_=b;this.name=a.name};XVc.prototype.getPosition=function(){try{return this.delegate_.getPosition()}catch(a){throw this.trackers_.error(38,11).report(),a;}};
XVc.prototype.warmUpCache=function(){var a=this,b,c;return fe(function(d){switch(d.nextAddress){case 1:return b=a.trackers_.latency(65),b.start(),ge(d,2,3),he(d,a.delegate_.warmUpCache(),5);case 5:return d.return(d.yieldResult);case 3:ie(d);b.stop();je(d,0);break;case 2:throw c=ke(d),a.trackers_.error(35,11).report(),c;}})};XVc.prototype.needsWarmUp=function(){try{return this.delegate_.needsWarmUp()}catch(a){throw this.trackers_.error(38,11).report(),a;}};var YVc=function(a,b,c,d,e){this.adapter_=a;this.targetFactory_=b;this.trieFactory_=c;this.storage_=d;this.ranker_=new NVc(e);this.index_=C9};g=YVc.prototype;g.getCacheType=function(){switch(this.adapter_.getPosition()){case 1:return 2;case 2:return 3;default:return 0}};g.flush=function(){this.index_=C9};
g.fetch=function(a){var b=this,c,d;return fe(function(e){switch(e.nextAddress){case 1:c=u9(new yt,!0).setProvenance(7).setCode(0);if(b.index_!=C9&&!b.adapter_.needsWarmUp())return e.return(u9(c,!1));ge(e,2);return he(e,b.adapter_.warmUpCache(),4);case 4:d=e.yieldResult;Ft(e,3);break;case 2:return ke(e),e.return(c.setCode(13));case 3:try{return b.index(a,d,new lt),e.return(c)}catch(f){return e.return(c.setCode(13))}}})};
g.index=function(a,b){a=OVc(this.ranker_,b,1);for(var c=l(b),d=c.next();!d.done;d=c.next())this.targetFactory_.processItem(d.value);this.storage_.storeItems(1,b);this.index_=QVc(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 ZVc=function(a,b,c){this.indexLatency_=a;this.searchLatency_=b;this.errorType_=c};ZVc.prototype.getErrorType=function(){return this.errorType_};var F9=function(a,b,c){this.delegate_=a;this.trackers_=b;this.indexingLabel_=c.indexLatency_;this.searchLabel_=c.searchLatency_;this.errorLabel_=c.getErrorType()};g=F9.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 $Vc=function(a,b){this.provider_=a;this.itemFactory_=b};$Vc.prototype.search=function(a,b){var c=this,d;return fe(function(e){if(e.nextAddress==1)return b<1?e.return([]):he(e,c.provider_.search((new eFc).setQuery(a).setMaxResults(b)),2);d=e.yieldResult;return e.return(aWc(d))})};$Vc.prototype.lookup=function(a){var b=this,c;return fe(function(d){if(d.nextAddress==1)return a.length?he(d,b.provider_.lookup(a),2):d.return([]);c=d.yieldResult;return d.return(aWc(c))})};$Vc.prototype.getName=function(){return this.provider_.name};var bWc=function(a,b){this.provider_=a;this.itemFactory_=b};bWc.prototype.getPosition=function(){return this.provider_.getPosition()};bWc.prototype.needsWarmUp=function(){return this.provider_.needsWarmUp()};bWc.prototype.warmUpCache=function(){var a=this,b;return fe(function(c){if(c.nextAddress==1)return he(c,a.provider_.warmUpCache(),2);b=c.yieldResult;return c.return(aWc(b))})};bWc.prototype.getName=function(){return this.provider_.name};var cWc=new ZVc(68,69,38);var dWc=function(){},eWc=function(a){var b=[];a=l(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;for(var d=void 0,e=[],f=l(c.getTargetList()),h=f.next();!h.done;h=f.next())h=yOb(c,h.value,7),e.push(String(h.id)),h.coalescedKeys=e,d||(d=h),b.push(h);d&&Ns(d.id)&&(e=void 0,d.totalMemberCount=(e=c.getTotalMemberCountOrUndefined())!=null?e:void 0,d.memberKeys=c.getMemberList().map(function(k){var q=l(k.getTargetList());for(q=q.next();!q.done;q=q.next())return k=yOb(k,q.value,8),b.push(k),String(k.id)}))}return b},
aWc=function(a){a=a.getResultList();return eWc(a)};var fWc=function(){};fWc.prototype.processItem=function(){};var gWc=new fWc;var hWc=function(a,b){this.isOrgStateEnabled_=a.runtimeConfig_.isOrgStateEnabled_;this.delegate_=b};hWc.prototype.processItem=function(a){this.delegate_.processItem(a);a=a.target;this.isOrgStateEnabled_||(a.orgState_=0)};var iWc=function(a,b){this.encryptionSupport_=a;this.certificateStatus_=b};iWc.prototype.getEncryptionSupport=function(){return this.encryptionSupport_};var FOb=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 iWc(a===4?c?4:3:c?2:1,a)};var HOb=function(a,b){this.reachabilityStatus=a;this.clientData=b};HOb.prototype.getClientData=function(){return this.clientData};var jWc=function(){this.iconUrl_=this.altText_=""},DOb=function(a){var b=new jWc;b.altText_=a||"";return b};jWc.prototype.getIconUrl=function(){return this.iconUrl_};jWc.prototype.setIconUrl=function(a){this.iconUrl_=a||"";return this};var kWc=function(a){this.delegate_=a};kWc.prototype.processItem=function(a){a.target=IOb(a);this.delegate_.processItem(a);a.resultData&&delete a.resultData;a.targetData&&delete a.targetData};var lWc=function(){};
lWc.prototype.configure=function(a){var b=a.clientConfig,c=a.trackers,d=a.storage,e=a.indexer,f=a.trieFactory,h=a.prefixCaches;a=a.lookupStages;var k=b.runtimeConfig_.customDataConfig_;if(k){var q=b.getClient(),t=new dWc;var w=w===void 0?gWc:w;b=new hWc(b,new kWc(w));w=[];for(var B=l(k.staticDataProviders_.reverse()),E=B.next();!E.done;E=B.next()){E=E.value;var I=c,J=E;J=new XVc(J,I);J=new YVc(new bWc(J,t),b,f,d,q);I=new F9(J,I,cWc);switch(E.getPosition()){case 1:w.push(I);break;case 2:h.push(I);
break;default:throw Error("Xf");}}w.length&&h.splice.apply(h,[0,0].concat(r(w)));k=l(k.dynamicDataProviders_);for(w=k.next();!w.done;w=k.next())w=w.value,B=c,E=w,E=new WVc(E,B),E=new PVc(new $Vc(E,t),b,f,d,q),B=new F9(E,B,cWc),h.push(B),w=new WVc(w,c),a.push(new RVc(new $Vc(w,t),b,e))}};var G9=function(a){this.internalArray_=m(a)};X(G9,Y);g=G9.prototype;g.getEnableClearcut=function(){return Hj(this,1,!1)};g.setEnableClearcut=function(a){return pl(this,1,a)};g.getSocialApplication=function(){return fj(this,2,0)};g.getSocialApplicationOrUndefined=function(){return tt(this,2)};g.setEventSources=function(a){Xt(this,5,st,a)};G9.repeatedFields_=[5,6];var H9=function(a){this.internalArray_=m(a)};X(H9,Y);H9.prototype.getApplication=function(){return fj(this,1,0)};H9.prototype.setApplication=function(a){return sl(this,1,a)};H9.prototype.getApplicationOrUndefined=function(){return tt(this,1)};H9.prototype.getIsEnabled=function(){return Hj(this,2,!1)};var I9=function(a){this.internalArray_=m(a)};X(I9,Y);I9.prototype.getApiKey=function(){return Kh(this,1,"")};I9.prototype.setApiKey=function(a){return rj(this,1,a)};var J9=function(a){this.internalArray_=m(a)};X(J9,Y);g=J9.prototype;g.getClientId=function(){return Kh(this,1,"CLIENT_UNSPECIFIED")};g.setClientId=function(a){return rj(this,1,a)};g.getAffinityType=function(){return Kh(this,4,"AFFINITY_TYPE_UNKNOWN")};g.setAffinityType=function(a){return rj(this,4,a)};g.getContainerType=function(){return rSb(this,7)};g.setPhoneCanonicalizationInference=function(a){return sl(this,19,a)};g.getPhoneCanonicalizationInferenceOrUndefined=function(){return tt(this,19)};
J9.repeatedFields_=[7,8,18];var mWc=function(a){this.internalArray_=m(a)};X(mWc,Y);g=mWc.prototype;g.getClient=function(){return $i(this,E9,1)};g.setClient=function(a){return oj(this,E9,1,a)};g.hasClient=function(){return dk(this,E9,1)};g.getGapi=function(){return $i(this,I9,2)};g.getPeopleApi=function(){return $i(this,J9,3)};g.getClearcut=function(){return $i(this,G9,4)};g.setClearcut=function(a){oj(this,G9,4,a)};g.hasClearcut=function(){return dk(this,G9,4)};g.getExperiments=function(){return $i(this,H9,5)};
g.setExperiments=function(a){return oj(this,H9,5,a)};g.hasExperiments=function(){return dk(this,H9,5)};var nWc=cra(mWc);var oWc;var K9=function(a,b){this.delegate_=a;this.runtimeConfig_=b||new kFc;a=this.getPeopleApi();nl(a,7,yj()).length||zl(a,7,[2,8,1,7,10,11]);Ij(a,8,yj()).length||Lj(a,8,["person.name","person.photo","person.email","person.phone","person.metadata"]);b=l(Ij(a,8,yj()));for(var c=b.next();!c.done;c=b.next())switch(c=c.value,c){case "person.name":case "person.email":case "person.phone":nc(a,8,Ob,c+".metadata.verified")}};
K9.prototype.getClient=function(){this.delegate_.hasClient()||this.delegate_.setClient(new E9);return this.delegate_.getClient()};K9.prototype.getGapi=function(){if(!dk(this.delegate_,I9,2)){var a=this.delegate_,b=new I9;oj(a,I9,2,b)}return this.delegate_.getGapi()};K9.prototype.getPeopleApi=function(){if(!dk(this.delegate_,J9,3)){var a=this.delegate_,b=new J9;oj(a,J9,3,b)}return this.delegate_.getPeopleApi()};
K9.prototype.getClearcut=function(){this.delegate_.hasClearcut()||this.delegate_.setClearcut(new G9);return this.delegate_.getClearcut()};var pWc=function(a){a.delegate_.hasExperiments()||a.delegate_.setExperiments(new H9);return a.delegate_.getExperiments()};K9.prototype.getAuthErrorHandler=function(){return this.runtimeConfig_.getAuthErrorHandler()};var qWc=function(a){a=a.getClient();return gj(a,6,500)?Math.min(Math.round(gj(a,6,500)/4),500):500};var rWc;var rt=null;var L9=function(a){this.internalArray_=m(a)};X(L9,Y);L9.prototype.setPhoneCanonicalizationInference=function(a){return sl(this,1,a)};L9.prototype.getPhoneCanonicalizationInferenceOrUndefined=function(){return tt(this,1)};var M9=function(a){this.internalArray_=m(a)};X(M9,Y);M9.prototype.setDevice=function(a){return sl(this,1,a)};var sWc=function(a){this.internalArray_=m(a)};X(sWc,Y);var tWc=function(){var a=new sWc;return sl(a,1,1)},uWc=function(a,b){return rj(a,2,b)};var vWc=function(a){this.internalArray_=m(a)};X(vWc,Y);g=vWc.prototype;g.getAffinityType=function(){return et(this,1)};g.setAffinityType=function(a){return sl(this,1,a)};g.getQuery=function(){return sj(this,2)};g.setQuery=function(a){return rj(this,2,a)};g.clearQuery=function(){oo(this,2)};g.hasQuery=function(){return $k(this,2)};g.setClientInformation=function(a){oj(this,M9,3,a)};g.setMaxResults=function(a){return ql(this,4,a)};g.setFormattingOptions=function(a){oj(this,L9,5,a)};
g.setDelegation=function(a){oj(this,sWc,6,a)};var wWc=function(a){this.internalArray_=m(a)};X(wWc,Y);g=wWc.prototype;g.getAffinityVersion=function(){return bu(this,1)};g.setAffinityVersion=function(a){ql(this,1,a)};g.getAffinityVersionOrUndefined=function(){return gu(this,1)};g.getAffinityType=function(){return sj(this,4)};g.setAffinityType=function(a){return rj(this,4,a)};wWc.repeatedFields_=[3];var aPb=function(a){this.internalArray_=m(a)};X(aPb,Y);var N9=function(a){this.internalArray_=m(a)};X(N9,Y);g=N9.prototype;g.getLoggingId=function(){return Qq(this,1)};g.setLoggingId=function(a){oo(this,1,pb(a,!1,!0,!1))};g.getValue=function(){return Pq(this,2)};g.getValue_legacyNullable=function(){return Pq(this,2)};g.setValue=function(a){return oo(this,2,Bb(a))};g.hasValue=function(){return Pq(this,2)!=null};var xWc=function(a){this.internalArray_=m(a)};X(xWc,Y);g=xWc.prototype;g.getValue=function(){return sj(this,1)};g.getValue_legacyNullable=function(){return sj(this,1)};g.setValue=function(a){return rj(this,1,a)};g.hasValue=function(){return $k(this,1)};g.getGivenName=function(){return sj(this,2)};g.setGivenName=function(a){return rj(this,2,a)};g.hasGivenName=function(){return $k(this,2)};g.getFamilyName=function(){return sj(this,3)};g.setFamilyName=function(a){return rj(this,3,a)};
g.hasFamilyName=function(){return $k(this,3)};g.getSourceType=function(){return et(this,4)};g.setSourceType=function(a){return sl(this,4,a)};var yWc=function(a){this.internalArray_=m(a)};X(yWc,Y);g=yWc.prototype;g.getUrl=function(){return sj(this,1)};g.setUrl=function(a){return rj(this,1,a)};g.hasUrl=function(){return $k(this,1)};g.getType=function(){return et(this,2)};g.setType=function(a){return sl(this,2,a)};g.hasType=function(){return al(this,2)};g.getGlyph=function(){return sj(this,3)};g.setGlyph=function(a){return rj(this,3,a)};var O9=function(a){this.internalArray_=m(a)};X(O9,Y);g=O9.prototype;g.getPhoto=function(){return $i(this,yWc,1)};g.setPhoto=function(a){oj(this,yWc,1,a)};g.hasPhoto=function(){return dk(this,yWc,1)};g.getName=function(){return $i(this,xWc,2)};g.setName=function(a){return oj(this,xWc,2,a)};g.hasName=function(){return dk(this,xWc,2)};g.getAffinity=function(){return $i(this,N9,3)};g.hasAffinity=function(){return dk(this,N9,3)};g.getPrimary=function(){return Xs(this,4)};var P9=function(a){this.internalArray_=m(a)};X(P9,Y);P9.prototype.getStatus=function(){return et(this,2)};P9.prototype.setStatus=function(a){return sl(this,2,a)};P9.prototype.hasStatus=function(){return al(this,2)};var zWc=function(a){this.internalArray_=m(a)};X(zWc,Y);var mPb=function(a){this.internalArray_=m(a)};X(mPb,Y);mPb.prototype.getState=function(){return et(this,2)};mPb.prototype.setState=function(a){return sl(this,2,a)};var Q9=function(a){this.internalArray_=m(a)};X(Q9,Y);Q9.prototype.getApplication=function(){return fj(this,1,0)};Q9.prototype.setApplication=function(a){return sl(this,1,a)};Q9.prototype.getApplicationOrUndefined=function(){return tt(this,1)};Q9.repeatedFields_=[2];var R9=function(a){this.internalArray_=m(a)};X(R9,Y);R9.prototype.getValue=function(){return sj(this,1)};R9.prototype.getValue_legacyNullable=function(){return sj(this,1)};R9.prototype.setValue=function(a){return rj(this,1,a)};R9.prototype.hasValue=function(){return $k(this,1)};R9.repeatedFields_=[2];var MOb=function(a){this.internalArray_=m(a)};X(MOb,Y);g=MOb.prototype;g.getProfileId=function(){return sj(this,1)};g.getProfileId_legacyNullable=function(){return sj(this,1)};g.setProfileId=function(a){return rj(this,1,a)};g.hasProfileId=function(){return $k(this,1)};g.getEmail=function(){return Un(this,2,Us)};g.getEmail_legacyNullable=function(){return Un(this,2,Us)};g.setEmail=function(a){return Wi(this,2,Us,a)};g.hasEmail=function(){return Un(this,2,Us)!=null};
g.getPhone=function(){return Un(this,3,Us)};g.getPhone_legacyNullable=function(){return Un(this,3,Us)};g.setPhone=function(a){return Wi(this,3,Us,a)};g.hasPhone=function(){return Un(this,3,Us)!=null};g.getClientData=function(){return sj(this,4)};g.hasClientData=function(){return $k(this,4)};var Us=[2,3];var S9=function(a){this.internalArray_=m(a)};X(S9,Y);S9.prototype.getDisplayValue=function(){return sj(this,1)};S9.prototype.getCanonicalValue=function(){return sj(this,2)};S9.prototype.setCanonicalValue=function(a){return rj(this,2,a)};S9.prototype.getOriginalValue=function(){return sj(this,3)};var AWc=function(a){this.internalArray_=m(a)};X(AWc,Y);g=AWc.prototype;g.getStatus=function(){return et(this,1)};g.setStatus=function(a){return sl(this,1,a)};g.hasStatus=function(){return al(this,1)};g.getClientData=function(){return sj(this,2)};g.hasClientData=function(){return $k(this,2)};var POb=function(a){this.internalArray_=m(a)};X(POb,Y);g=POb.prototype;g.getIdCase=function(){return Ri(this,T9)};g.getProfileId=function(){return Un(this,1,T9)};g.getProfileId_legacyNullable=function(){return Un(this,1,T9)};g.setProfileId=function(a){return Wi(this,1,T9,a)};g.hasProfileId=function(){return Un(this,1,T9)!=null};g.getContactId=function(){return Un(this,2,T9)};g.setContactId=function(a){Wi(this,2,T9,a)};var T9=[1,2];var BWc=function(a){this.internalArray_=m(a)};X(BWc,Y);g=BWc.prototype;g.getValueCase=function(){return Ri(this,Ss)};g.getDisplayInfo=function(){return $i(this,O9,1)};g.hasDisplayInfo=function(){return dk(this,O9,1)};g.getEmail=function(){return Bj(this,R9,2,Ss)};g.setEmail=function(a){return Gj(this,2,Ss,a)};g.hasEmail=function(){return Qj(this,R9,2,Ss)};g.getPhone=function(){return Bj(this,S9,3,Ss)};g.setPhone=function(a){return Gj(this,3,Ss,a)};g.hasPhone=function(){return Qj(this,S9,3,Ss)};
g.getIsSelf=function(){return Xs(this,6)};g.getTypeLabel=function(){return sj(this,10)};BWc.repeatedFields_=[5];var Ss=[2,3,4];var CWc=function(a){this.internalArray_=m(a)};X(CWc,Y);g=CWc.prototype;g.getDisplayInfo=function(){return $i(this,O9,1)};g.hasDisplayInfo=function(){return dk(this,O9,1)};g.getMembersList=function(){return xj(this,BWc,2,yj())};g.setMembersList=function(a){return gk(this,2,a)};g.getLabelId=function(){return sj(this,3)};CWc.repeatedFields_=[2];var Ws=function(a){this.internalArray_=m(a,5)};X(Ws,Y);Ws.prototype.getIsPlaceholder=function(){return Hj(this,2)};Ws.prototype.setIsPlaceholder=function(a){pl(this,2,a)};Ws.prototype.getContactId=function(){return ej(this,4)};Ws.prototype.setContactId=function(a){yl(this,4,a)};var U9=function(a){this.internalArray_=m(a)};X(U9,Y);U9.prototype.getAffinity=function(){return $i(this,N9,2)};U9.prototype.hasAffinity=function(){return dk(this,N9,2)};U9.repeatedFields_=[1];var uPb=function(a){this.internalArray_=m(a)};X(uPb,Y);uPb.prototype.getIdCase=function(){return Ri(this,vPb)};var vPb=[1,2];var V9=function(a){this.internalArray_=m(a)};X(V9,Y);g=V9.prototype;g.getDisplayInfo=function(){return $i(this,O9,1)};g.hasDisplayInfo=function(){return dk(this,O9,1)};g.getMembersList=function(){return xj(this,U9,2,yj())};g.setMembersList=function(a){return gk(this,2,a)};g.getGroupId=function(){return sj(this,4)};g.setGroupId=function(a){rj(this,4,a)};g.hasGroupId=function(){return $k(this,4)};V9.repeatedFields_=[2,10,13,6,11,14];var W9=function(a){this.internalArray_=m(a)};X(W9,Y);W9.prototype.getDataCase=function(){return Ri(this,DWc)};W9.prototype.getGroup=function(){return Bj(this,V9,2,DWc)};W9.prototype.setGroup=function(a){Gj(this,2,DWc,a)};var DWc=[1,2,3];var X9=function(a){this.internalArray_=m(a)};X(X9,Y);X9.prototype.getResultsList=function(){return xj(this,W9,1,yj())};var EWc=Mh(X9);X9.repeatedFields_=[1];var FWc=new nZ("/peoplestack.PeopleStackAutocompleteService/Autocomplete",vWc,X9,function(a){return a.serialize()},EWc);var GWc=function(a){this.internalArray_=m(a)};X(GWc,Y);g=GWc.prototype;g.getAffinityType=function(){return et(this,1)};g.setAffinityType=function(a){return sl(this,1,a)};g.setClientInformation=function(a){oj(this,M9,2,a)};g.getName=function(){return sj(this,3)};g.setName=function(a){return rj(this,3,a)};g.hasName=function(){return $k(this,3)};g.getNameOrUndefined=function(){return hu(this,3)};GWc.repeatedFields_=[7];var HWc=function(a){this.internalArray_=m(a)};X(HWc,Y);HWc.prototype.getGroup=function(){return $i(this,V9,1)};HWc.prototype.setGroup=function(a){oj(this,V9,1,a)};var IWc=new nZ("/peoplestack.PeopleStackAutocompleteService/CreateGroup",GWc,HWc,function(a){return a.serialize()},Mh(HWc));var ct=function(a){this.internalArray_=m(a)};X(ct,Y);g=ct.prototype;g.getIdCase=function(){return Ri(this,dt)};g.getEmail=function(){return Un(this,1,dt)};g.getEmail_legacyNullable=function(){return Un(this,1,dt)};g.setEmail=function(a){return Wi(this,1,dt,a)};g.hasEmail=function(){return Un(this,1,dt)!=null};g.getPhone=function(){return Un(this,2,dt)};g.getPhone_legacyNullable=function(){return Un(this,2,dt)};g.setPhone=function(a){return Wi(this,2,dt,a)};
g.hasPhone=function(){return Un(this,2,dt)!=null};g.getProfileId=function(){return Un(this,3,dt)};g.getProfileId_legacyNullable=function(){return Un(this,3,dt)};g.setProfileId=function(a){return Wi(this,3,dt,a)};g.hasProfileId=function(){return Un(this,3,dt)!=null};var dt=[1,2,3,4];var Y9=function(a){this.internalArray_=m(a)};X(Y9,Y);Y9.prototype.getAffinityType=function(){return et(this,1)};Y9.prototype.setAffinityType=function(a){return sl(this,1,a)};Y9.prototype.setClientInformation=function(a){oj(this,M9,2,a)};var JWc=function(a,b){gk(a,3,b)};Y9.prototype.setIds=function(a){return Xt(this,3,ct,a)};Y9.prototype.setFormattingOptions=function(a){oj(this,L9,4,a)};Y9.prototype.setDelegation=function(a){oj(this,sWc,5,a)};Y9.repeatedFields_=[3];var KWc=function(a){this.internalArray_=m(a)};X(KWc,Y);KWc.prototype.getId=function(){return $i(this,ct,1)};KWc.prototype.setId=function(a){return oj(this,ct,1,a)};var LWc=[2,3];var MWc=function(a){this.internalArray_=m(a)};X(MWc,Y);var NWc=Mh(MWc);MWc.repeatedFields_=[1];var OWc=new nZ("/peoplestack.PeopleStackAutocompleteService/Lookup",Y9,MWc,function(a){return a.serialize()},NWc);var Z9=function(a){this.internalArray_=m(a)};X(Z9,Y);Z9.prototype.getAffinityType=function(){return et(this,1)};Z9.prototype.setAffinityType=function(a){return sl(this,1,a)};Z9.prototype.setClientInformation=function(a){oj(this,M9,2,a)};Z9.prototype.setDelegation=function(a){oj(this,sWc,3,a)};var PWc=function(a){this.internalArray_=m(a)};X(PWc,Y);var QWc=new nZ("/peoplestack.PeopleStackAutocompleteService/Warmup",Z9,PWc,function(a){return a.serialize()},Mh(PWc));var RWc=function(a){var b={unaryInterceptors:[new SSc]};b=b||{};b.format="jspb";this.client_=new FBc(b);this.hostname_=a==void 0?a:a.replace(/\/+$/,"")};RWc.prototype.autocomplete=function(a,b){return vZ(this.client_,this.hostname_+"/$rpc/peoplestack.PeopleStackAutocompleteService/Autocomplete",a,b||{},FWc)};RWc.prototype.lookup=function(a,b){return vZ(this.client_,this.hostname_+"/$rpc/peoplestack.PeopleStackAutocompleteService/Lookup",a,b||{},OWc)};
RWc.prototype.createGroup=function(a,b){return vZ(this.client_,this.hostname_+"/$rpc/peoplestack.PeopleStackAutocompleteService/CreateGroup",a,b||{},IWc)};var YOb=new lz(417869898,Ws);var bPb=new lz(417866180,aPb);var SWc=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},VOb=function(a){if(!a)return 0;a=Array.from(a).map(SWc);a.sort();for(var b=1,c=0,d=a.length;c<d;c++)b=(b<<5)-b+a[c];return b};var JOb=new Map([["CONTACT_GROUP",9],["FAMILY",11],["MEDIA_COLLECTION",10],["CHAT",12],["GROUP_DM",12],["ROOM",13],["DYNAMITE_ROOM",13],["DYNAMITE_NAMED_ROOM",13],["DYNAMITE_UNNAMED_ROOM",14],["DYNAMITE_CLASSIC_NAMED_ROOM",15],["DYNAMITE_CLASSIC_UNNAMED_ROOM",16]]);var TWc=function(a){this.leanResponseProcessorConfig_=a},UWc=function(a,b,c,d){d=d===void 0?!1:d;for(var e=[],f=$Ob(b),h=[],k=l(xj(b,BWc,1,yj())),q=k.next();!q.done;q=k.next()){q=q.value;var t=OOb(q);if(t.equals(Vs)){if(!a.leanResponseProcessorConfig_.allowEmptyTargets&&!d)continue;var w=WOb(q);if(!w)continue;t=wOb(w)}h.push(String(t));var B=w=void 0;t={id:t,containerIds:QOb(q),coalescedKeys:h,isMe:!!q.getIsSelf(),dataSource:ROb(b,q),provenance:c,isPrimary:UOb((w=q.getDisplayInfo())!=null?w:null),
itemAffinity:TOb(b),fieldAffinity:SOb((B=q.getDisplayInfo())!=null?B:null),contactMethod:q,person:b};f&&(t.resultExtendedData=f);if(q=cPb(q))t.targetExtendedData=q;e.push(t)}e.length&&e.every(function(E){return!E.isPrimary})&&(e[0].isPrimary=!0);return e},VWc=function(a,b,c){var d=Os(KOb(sj(b,5)),b.getGroupId()||""),e=b.getMembersList().map(function(q){return UWc(a,q,8,!0)}),f=e.filter(function(q){return q&&q.length}).map(function(q){return String(q[0].id)}),h,k;d=[{id:d,containerIds:[d],memberKeys:f,
totalMemberCount:(h=gu(b,3))!=null?h:void 0,provenance:c,isPrimary:!0,itemAffinity:SOb((k=b.getDisplayInfo())!=null?k:null),fieldAffinity:-Infinity,group:b}];b=l(e);for(c=b.next();!c.done;c=b.next())d.push.apply(d,r(c.value));return d},WWc=function(a,b){var c=bic(a.getLabelId()||""),d=a.getMembersList().map(function(h){if(h.hasEmail()&&h.getEmail().getValue()){var k,q;var t={id:Rs(h.getEmail().getValue()),containerIds:QOb(h),contactMethod:h,provenance:8,isMe:!1,dataSource:1,isPrimary:UOb((k=h.getDisplayInfo())!=
null?k:null),itemAffinity:-Infinity,fieldAffinity:SOb((q=h.getDisplayInfo())!=null?q:null)};if(h=cPb(h))t.targetExtendedData=h}else t=null;return t}).filter(Boolean),e=d.map(function(h){return String(h.id)}),f;return[{id:c,containerIds:[c],memberKeys:e,totalMemberCount:d.length,provenance:b,dataSource:1,isPrimary:!0,itemAffinity:SOb((f=a.getDisplayInfo())!=null?f:null),fieldAffinity:-Infinity,isMe:!1,contactLabel:a}].concat(r(d))},XWc=function(a,b,c){switch(b.getDataCase()){case 1:return UWc(a,Bj(b,
U9,1,DWc),c);case 2:return VWc(a,b.getGroup(),c);case 3:return WWc(Bj(b,CWc,3,DWc),c);default:return[]}},YWc=function(a,b,c){return b.getResultsList().flatMap(function(d){return XWc(a,d,c)})};var fPb=new Map([[0,1],[1,2],[2,3],[3,4]]);var ZWc=function(a){this.internalArray_=m(a)};X(ZWc,Y);g=ZWc.prototype;g.getLabel=function(){return et(this,1)};g.setLabel=function(a){return sl(this,1,a)};g.hasLabel=function(){return al(this,1)};g.getItemCount=function(){return bu(this,2)};g.setItemCount=function(a){return ql(this,2,a)};g.hasItemCount=function(){return Zk(this,2)};g.getLookupInfo=function(){return $i(this,at,3)};g.setLookupInfo=function(a){return oj(this,at,3,a)};g.hasLookupInfo=function(){return dk(this,at,3)};
g.getQueryLength=function(){return bu(this,4)};g.setQueryLength=function(a){return ql(this,4,a)};g.hasQueryLength=function(){return Zk(this,4)};g.getQueryScope=function(){return fj(this,5,0)};g.setQueryScope=function(a){return sl(this,5,a)};g.hasQueryScope=function(){return al(this,5)};var $Wc=function(a){this.internalArray_=m(a)};X($Wc,Y);g=$Wc.prototype;g.getLabel=function(){return et(this,1)};g.setLabel=function(a){return sl(this,1,a)};g.hasLabel=function(){return al(this,1)};g.getStatus=function(){return et(this,2)};g.setStatus=function(a){return sl(this,2,a)};g.hasStatus=function(){return al(this,2)};g.setLatencyUsec=function(a){yl(this,3,a)};g.getResultIndex=function(){return bu(this,4)};g.setResultIndex=function(a){ql(this,4,a)};
g.getDataSource=function(){return et(this,7)};g.setDataSource=function(a){return sl(this,7,a)};g.hasDataSource=function(){return al(this,7)};g.getItemCount=function(){return bu(this,8)};g.setItemCount=function(a){return ql(this,8,a)};g.hasItemCount=function(){return Zk(this,8)};g.getLookupInfo=function(){return $i(this,at,10)};g.setLookupInfo=function(a){return oj(this,at,10,a)};g.hasLookupInfo=function(){return dk(this,at,10)};g.setStatusCode=function(a){sl(this,11,a)};
g.getQueryLength=function(){return bu(this,13)};g.setQueryLength=function(a){return ql(this,13,a)};g.hasQueryLength=function(){return Zk(this,13)};g.getQueryScope=function(){return fj(this,14,0)};g.setQueryScope=function(a){return sl(this,14,a)};g.hasQueryScope=function(){return al(this,14)};var aXc=function(a){this.internalArray_=m(a)};X(aXc,Y);var bXc=function(a){this.internalArray_=m(a)};X(bXc,Y);g=bXc.prototype;g.getDataSource=function(){return et(this,3)};g.setDataSource=function(a){return sl(this,3,a)};g.hasDataSource=function(){return al(this,3)};g.getType=function(){return et(this,4)};g.setType=function(a){return sl(this,4,a)};g.hasType=function(){return al(this,4)};g.getValue=function(){return ej(this,2,1)};g.getValue_asLegacyNumberOrString=function(){return ej(this,2,1)};g.setValue=function(a){return yl(this,2,a)};
g.hasValue=function(){return il(this,2)};g.getLabel=function(){return sj(this,1)};g.setLabel=function(a){return rj(this,1,a)};g.hasLabel=function(){return $k(this,1)};var $9=function(a){this.internalArray_=m(a)};X($9,Y);g=$9.prototype;g.setStatusCode=function(a){sl(this,5,a)};g.getLabel=function(){return sj(this,1)};g.setLabel=function(a){return rj(this,1,a)};g.hasLabel=function(){return $k(this,1)};g.getCause=function(){return sj(this,2)};g.getType=function(){return et(this,3)};g.setType=function(a){return sl(this,3,a)};g.hasType=function(){return al(this,3)};var a$=function(a){this.internalArray_=m(a)};X(a$,Y);g=a$.prototype;g.getType=function(){return et(this,3)};g.setType=function(a){return sl(this,3,a)};g.hasType=function(){return al(this,3)};g.setLatencyUsec=function(a){yl(this,2,a)};g.getLabel=function(){return sj(this,1)};g.setLabel=function(a){return rj(this,1,a)};g.hasLabel=function(){return $k(this,1)};var b$=function(a){this.internalArray_=m(a)};X(b$,Y);b$.prototype.getLabel=function(){return et(this,1)};b$.prototype.setLabel=function(a){return sl(this,1,a)};b$.prototype.hasLabel=function(){return al(this,1)};var cXc=function(a){this.internalArray_=m(a)};X(cXc,Y);g=cXc.prototype;g.getLabel=function(){return et(this,1)};g.setLabel=function(a){return sl(this,1,a)};g.hasLabel=function(){return al(this,1)};g.getStatus=function(){return et(this,2)};g.setStatus=function(a){return sl(this,2,a)};g.hasStatus=function(){return al(this,2)};g.setLatencyUsec=function(a){yl(this,3,a)};g.getErrorCode=function(){return $t(this,4)};g.hasErrorCode=function(){return il(this,4)};g.setStatusCode=function(a){sl(this,7,a)};
g.setBlockedUsec=function(a){return yl(this,8,a)};var ZPb=function(a){this.internalArray_=m(a)};X(ZPb,Y);g=ZPb.prototype;g.getClientInterface=function(){return $i(this,jO,1)};g.setClientInterface=function(a){return oj(this,jO,1,a)};g.getEventType=function(){return et(this,3)};g.getEventType_legacyNullable=function(){return et(this,3)};g.setEventType=function(a){return sl(this,3,a)};g.getCacheStatus=function(){return $i(this,aXc,12)};g.setCacheStatus=function(a){return oj(this,aXc,12,a)};g.getCount=function(){return $i(this,bXc,4)};
g.setCount=function(a){oj(this,bXc,4,a)};g.getLatency=function(){return $i(this,a$,5)};g.setLatency=function(a){return oj(this,a$,5,a)};g.getError=function(){return $i(this,$9,6)};g.setError=function(a){oj(this,$9,6,a)};g.hasError=function(){return dk(this,$9,6)};g.setRpcRequest=function(a){return oj(this,b$,7,a)};g.setRpcResponse=function(a){return oj(this,cXc,8,a)};g.setApiCall=function(a){return oj(this,ZWc,9,a)};g.setApiResult=function(a){return oj(this,$Wc,10,a)};var c$=function(a,b,c,d,e){this.leanResponseProcessor_=a;this.grpcClient_=b;e?a=ePb(e):(a=new $s,dPb(a.setEventType(4),4));this.sourceInfo_=a;this.provenance_=e?2:1;this.trackers_=d;this.query_=e;this.affinity_=fj(c.getPeopleApi(),5,0);this.searchMaxResults_=c.getClient().getSearchMaxResults();this.cacheSize_=c.getClient().getCacheSize();this.phoneCanonicalizationInference_=c.getPeopleApi().getPhoneCanonicalizationInferenceOrUndefined();var f;this.delegatorId_=(f=c.runtimeConfig_.getDelegatorId())!=
null?f:""};c$.prototype.getMetric=function(){return dXc(this.trackers_,this.sourceInfo_)};
c$.prototype.send=function(a){var b=new vWc;b.setAffinityType(this.affinity_).setQuery(this.query_).setClientInformation((new M9).setDevice(1));this.query_.length?b.setMaxResults(this.searchMaxResults_):b.setMaxResults(this.cacheSize_);this.phoneCanonicalizationInference_!=null&&b.setFormattingOptions((new L9).setPhoneCanonicalizationInference(this.phoneCanonicalizationInference_));this.delegatorId_&&b.setDelegation(uWc(tWc(),this.delegatorId_));return this.grpcClient_.autocomplete(b,a)};
c$.prototype.processResponse=function(a){var b=YWc(this.leanResponseProcessor_,a,this.provenance_),c=new lt;dk(a,wWc,2)&&c.setAffinityVersion($i(a,wWc,2).getAffinityVersion());return{data:b,metadata:c}};c$.prototype.close=function(){};var eXc=function(a,b,c,d,e,f){this.leanResponseProcessor_=a;this.grpcClient_=b;a=new $s;dPb(a.setEventType(4),7).setIdType(e);this.sourceInfo_=a;this.provenance_=3;this.keys_=f;this.type_=e;this.trackers_=d;this.affinity_=fj(c.getPeopleApi(),5,0);this.phoneCanonicalizationInference_=c.getPeopleApi().getPhoneCanonicalizationInferenceOrUndefined();var h;this.delegatorId_=(h=c.runtimeConfig_.getDelegatorId())!=null?h:""};eXc.prototype.getMetric=function(){return dXc(this.trackers_,this.sourceInfo_)};
eXc.prototype.send=function(a){var b=this,c=new Y9;c.setAffinityType(this.affinity_).setClientInformation((new M9).setDevice(1));JWc(c,this.keys_.map(function(d){return lPb(b.type_,d)}).filter(function(d){return!!d}));this.phoneCanonicalizationInference_!=null&&c.setFormattingOptions((new L9).setPhoneCanonicalizationInference(this.phoneCanonicalizationInference_));this.delegatorId_&&c.setDelegation(uWc(tWc(),this.delegatorId_));return this.grpcClient_.lookup(c,a)};
eXc.prototype.processResponse=function(a){var b=this.leanResponseProcessor_,c=this.provenance_,d=new Map;a=l(xj(a,KWc,1,yj()));for(var e=a.next();!e.done;e=a.next())if(e=e.value,Qj(e,W9,2,LWc)){var f=XWc(b,Bj(e,W9,2,LWc),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(Un(e.getId(),4,dt),f)}}return{data:d,metadata:new lt}};
eXc.prototype.close=function(){};var fXc=function(a){this.internalArray_=m(a)};X(fXc,Y);var gXc=new lz(342338249,fXc);var hXc=function(){};hXc.prototype.write=function(a,b){var c=new fXc;b=oj(c,X9,1,b);Ys(a,gXc,b)};hXc.prototype.read=function(a){return(a=a.getExtension(gXc))?$i(a,X9,1):null};var iXc=function(a,b,c){this.grpcClient_=a;this.sourceInfo_=ePb("");this.trackers_=c;this.affinity_=fj(b.getPeopleApi(),5,0);var d;this.delegatorId_=(d=b.runtimeConfig_.getDelegatorId())!=null?d:""};iXc.prototype.getMetric=function(){return dXc(this.trackers_,this.sourceInfo_)};
iXc.prototype.send=function(a){var b=new Z9;b.setAffinityType(this.affinity_).setClientInformation((new M9).setDevice(1));this.delegatorId_&&b.setDelegation(uWc(tWc(),this.delegatorId_));var c=this.grpcClient_;return vZ(c.client_,c.hostname_+"/$rpc/peoplestack.PeopleStackAutocompleteService/Warmup",b,a||{},QWc)};iXc.prototype.processResponse=function(){return{data:[],metadata:new lt}};iXc.prototype.close=function(){};var jXc=new bBc;var d$=function(a,b,c){this.delegate_=a;this.runtimeConfig_=b;this.offlineResponse_=c};d$.prototype.send=function(a){var b=this;return fe(function(c){return b.runtimeConfig_.isOffline_()?c.return(jXc):c.return(b.delegate_.send(a))})};d$.prototype.getMetric=function(){return this.delegate_.getMetric()};d$.prototype.processResponse=function(a){return a===jXc?this.offlineResponse_:this.delegate_.processResponse(a)};d$.prototype.close=function(a){this.delegate_.close(a)};
var kXc={data:[],metadata:A9(new lt).setCode(14)},lXc={data:new Map,metadata:A9(new lt).setCode(14)};A9(new lt).setCode(14);A9(new lt).setCode(14);A9(new lt).setCode(14);A9(new lt).setCode(14);var mXc=function(a){this.internalArray_=m(a)};X(mXc,Y);g=mXc.prototype;g.getTimestamp=function(){return ej(this,1)};g.getTimestamp_asLegacyNumberOrString=function(){return ej(this,1)};g.setTimestamp=function(a){return yl(this,1,a)};g.hasTimestamp=function(){return il(this,1)};g.getOwner=function(){return Kh(this,2)};g.setOwner=function(a){return rj(this,2,a)};var nXc=new lz(342656659,mXc);var e$=function(a,b,c,d,e){this.delegate_=a;this.offlineStorage_=b;this.offlineDataTransformer_=c;this.owner_=d;this.storageTaskDelayMillis_=e;this.offlineMetadata_=null};e$.prototype.store_=function(a,b){var c=new gFc;Ys(c,nXc,(new mXc).setTimestamp(b).setOwner(String(this.owner_)));this.offlineDataTransformer_.write(c,a);this.offlineStorage_.store(c)};
var oXc=function(a){var b,c;return fe(function(d){if(d.nextAddress==1)return ge(d,2),he(d,a.offlineStorage_.fetch(),4);if(d.nextAddress!=2){b=d.yieldResult;if(!b)return d.return(null);a.offlineMetadata_=b.getExtension(nXc);c=a.offlineMetadata_?GO(a.offlineMetadata_.getOwner()):Vs;return a.owner_.equals(c)?d.return(a.offlineDataTransformer_.read(b)):d.return(null)}ke(d);return d.return(null)})};
e$.prototype.send=function(a){var b=this,c,d,e,f,h;return fe(function(k){switch(k.nextAddress){case 1:return ge(k,2),he(k,b.delegate_.send(a),4);case 4:c=k.yieldResult;d=Date.now();if(c!==jXc){k.jumpTo(5);break}return he(k,oXc(b),6);case 6:return e=k.yieldResult,k.return(e||jXc);case 5:return setTimeout(function(){b.store_(c,d)},b.storageTaskDelayMillis_),k.return(c);case 2:return f=ke(k),he(k,oXc(b),7);case 7:return(h=k.yieldResult)?k.return(h):k.return(Promise.reject(f))}})};
e$.prototype.getMetric=function(){return this.delegate_.getMetric()};e$.prototype.processResponse=function(a){a=this.delegate_.processResponse(a);if(!a||!this.offlineMetadata_||!this.offlineMetadata_.hasTimestamp())return a;a.metadata.setTimestamp(this.offlineMetadata_.getTimestamp_asLegacyNumberOrString());return a};e$.prototype.close=function(a){this.delegate_.close(a)};var pXc=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 USc(b);b=vMa("peoplestack-pa",a.runtimeConfig_.getPeopleApiEnv());this.grpcPeopleStackClient_=new RWc(b);this.offlineDataTransformer_=
new hXc;a=Hj(a.getClient(),22,!1);this.leanResponseProcessor_=new TWc({allowEmptyTargets:a})};pXc.prototype.loadRankedItems=function(){var a=new c$(this.leanResponseProcessor_,this.grpcPeopleStackClient_,this.config_,this.trackers_,"");a=new d$(a,this.config_.runtimeConfig_,kXc);var b=this.config_,c=this.offlineDataTransformer_,d=b.runtimeConfig_.offlineStorage_;if(d){var e=b.runtimeConfig_.getUserEmail();e&&(e=Rs(e),b=gj(b.getPeopleApi(),14,5E3),a=new e$(a,d,c,e,b))}return WSc(this.dispatcher_,a)};
pXc.prototype.warmUpServer=function(){var a=new iXc(this.grpcPeopleStackClient_,this.config_,this.trackers_);a=new d$(a,this.config_.runtimeConfig_,kXc);return WSc(this.dispatcher_,a)};pXc.prototype.loadAutocompleteItems=function(a){var b=this.leanResponseProcessor_;var c=this.grpcPeopleStackClient_,d=this.config_,e=this.trackers_;a=a.getPrefix();b=new c$(b,c,d,e,a);b=new d$(b,this.config_.runtimeConfig_,kXc);return WSc(this.dispatcher_,b)};
pXc.prototype.loadLookupItems=function(a,b){a=new eXc(this.leanResponseProcessor_,this.grpcPeopleStackClient_,this.config_,this.trackers_,a,b);a=new d$(a,this.config_.runtimeConfig_,lXc);return WSc(this.dispatcher_,a)};var nPb=new Map([[1,1],[2,2]]);var qPb=new Map([[3,3],[1,2],[2,1]]),qXc=new Map([[2,1],[4,2],[3,3],[1,4]]),rXc=function(a){this.delegate_=a};
rXc.prototype.processItem=function(a){if(a.person||a.contactMethod){switch(a.contactMethod.getValueCase()){case 2:var b=a.contactMethod.getEmail();var c=ft(b.getValue()),d=a.id.normalizedValue_;c=Ps(a.id).setValue(c).setCanonicalValue(d);if(xj(b,P9,2,yj()).length||dk(b,zWc,3)){d=1;var e=0;if(xj(b,P9,2,yj()).length){var f=xj(b,P9,2,yj())[0];e=$t(f,1)||e;d=qXc.get(f.getStatus())||d}f=dk(b,zWc,3)&&!!Xs($i(b,zWc,3),1);d=FOb(d,e,f)}else d=null;d&&(c.emailSecurityInfo_=d);dk(b,Q9,4)&&(b=oPb($i(b,Q9,4)),
c.orgState_=b);Xs(a.contactMethod,7)&&(c.resultType_=2);b=c;break;case 3:c=a.contactMethod.getPhone();b=ft(c.getCanonicalValue());c=ft(c.getOriginalValue())||ft(c.getDisplayValue())||b;b=Ps(a.id).setValue(c).setCanonicalValue(b);break;case 4:b=Bj(a.contactMethod,MOb,4,Ss);b=tPb(a,b);break;default:b=Ps(a.id||Vs)}b.setDataSource(a.dataSource||0);a.containerIds&&(b.sourceIds_=a.containerIds||[]);AOb(b,!!a.isMe);a.person&&a.person.hasAffinity()&&b.setPersonLoggingId(pPb(Zqa(Qq(a.person.getAffinity(),
1))||""));a.contactMethod.hasDisplayInfo()&&rPb(b,a.contactMethod.getDisplayInfo());$k(a.contactMethod,10)&&COb(b,[DOb(a.contactMethod.getTypeLabel())]);if(dk(a.contactMethod,AWc,13)){d=$i(a.contactMethod,AWc,13);switch(d.getStatus()){case 1:c=1;break;default:c=0}d=d.hasClientData()?d.getClientData():void 0;b.reachabilityInfo_=new HOb(c,d)}a.targetExtendedData&&(b.extendedData_=a.targetExtendedData);a.target=b}else a.group?wPb(a,a.group.getDisplayInfo()):a.contactLabel&&wPb(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 sXc=function(a,b){this.metrics_=a;this.state_=new uO(b)};g=sXc.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();sl(d,13,b)}c&&(b=this.state_.source(),ql(b,12,c));this.metrics_.status(this.state_,a)};g.logError=function(a,b){this.metrics_.logError(a,b)};var tXc=function(a){this.getSessionState=a};tXc.prototype.attach=function(a){var b=(new ot).setSessionState(this.getSessionState().clone());oj(a,ot,18,b);return a};var uXc=function(){};uXc.prototype.attach=function(a){return a};var vXc=new uXc;var f$=function(a,b){b=b===void 0?vXc:b;this.metrics_=a;this.sessioninfo_=b};f$.prototype.error=function(a,b){var c=this.metrics_,d=this.sessioninfo_,e=d.attach,f=new $s;a=f.setEventType(3).setErrorType(a);sl(a,7,b);return new VVc(c,e.call(d,f))};f$.prototype.latency=function(a){var b=this.metrics_,c=this.sessioninfo_,d=c.attach,e=new $s,f=e.setEventType(2);sl(f,5,a);return new $Sc(b,d.call(c,e))};
f$.prototype.count=function(a){var b=this.metrics_,c=this.sessioninfo_,d=c.attach,e=new $s,f=e.setEventType(1);sl(f,4,a);return new UVc(b,d.call(c,e))};f$.prototype.api=function(a){return new TVc(this.metrics_,this.sessioninfo_.attach(a))};var dXc=function(a,b){return new sXc(a.metrics_,a.sessioninfo_.attach(b))},wXc=function(a,b){return new f$(a.metrics_,b)};var xXc=function(a,b){this.ranker_=new NVc(a.getClient());this.loader_=new pXc(a,b);b=gWc;b=b===void 0?gWc:b;this.targetFactory_=new hWc(a,new rXc(b))};var yXc=function(){this.cacheConfigurators_=[];this.grpcClient_=null};var xPb=function(a){this.delegate_=a};X(xPb,F_);var zXc=function(a){this.keys_=new Set(a)};zXc.prototype.loadOrSkip=function(a){return this.keys_.delete(a)?a:null};zXc.prototype.isDone=function(){return!this.keys_.size};var AXc=function(a){this.keys_=a;this.foundKeys_=new Set;this.delegate_=new zXc(a)};AXc.prototype.loadOrSkip=function(a){return this.delegate_.loadOrSkip(a)?(this.foundKeys_.add(a),!0):!1};AXc.prototype.isDone=function(){return this.delegate_.isDone()};var BXc=function(a){return a.keys_.filter(function(b){return!a.foundKeys_.has(b)})};var CXc=new yt,DXc=function(a,b,c){this.itemResolver_=a;this.trieFactory_=b;this.indexes_=D9(gj(c,31,5),Aj(c,32,3600)*1E3)};g=DXc.prototype;g.getCacheType=function(){return 2};g.flush=function(){this.indexes_.clear()};
g.fetch=function(a){var b=this,c,d,e,f;return fe(function(h){if(h.nextAddress==1){c=a.getBoostKey();if(!c.cacheKey||b.indexes_.get(c.cacheKey))return h.return(CXc);d=c.ids.map(function(k){if(aic.includes(GO(k).getType()))return k;var q=g$(b.itemResolver_,k);return q?String(q.id):k});e=new AXc(d);return he(h,EXc(b.trieFactory_,e,a.getFormat(),c.primingTimeoutMillis),2)}f=h.yieldResult;b.indexes_.set(c.cacheKey,f);return h.return(CXc)})};
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)||C9).search(a.getTerms()).getMatches(a.getCollector()).map(yPb)};g.index=function(){};g.getName=function(){};var FXc=new ZVc(60,61,34);var GXc=function(){};GXc.prototype.configure=function(a){var b=a.storage,c=a.trackers,d=a.trieFactory,e=a.prefixCaches;a=a.clientConfig.getClient();Hj(a,30,!1)&&(b=new DXc(b,d,a),c=new F9(b,c,FXc),e.unshift(c))};var HXc=function(){return Date.now()},IXc=function(a,b,c){this.staleMillis_=a*1E3;this.expiredMillis_=b*1E3;this.nowFn_=c;this.timestamp_=0};g=IXc.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 APb=new Map([[1,1],[2,2],[3,3],[8,6],[6,7],[7,5],[4,4],[9,9]]),zPb=new Map([[1,7],[2,5]]);var JXc=function(a,b){this.delegate_=a;this.extendedData_=b};X(JXc,F_);JXc.prototype.getExtendedData=function(){return this.extendedData_};var KXc=function(a,b,c){this.group_=a;this.members_=b;this.totalMemberCount_=FO(this.group_.getId())?this.members_.length:c;this.resultType_=HRc.get(this.group_.getTargetType())||0};g=KXc.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.getMatchInfo=function(){return GRc};g.getExtendedData=function(){return null};var CPb=function(a,b){this.delegate_=a;this.loggingToken_=b};X(CPb,ZEc);CPb.prototype.getLoggingToken=function(){return this.loggingToken_};var LXc=function(a){this.itemResolver_=a};LXc.prototype.create=function(a,b){var c=this,d=GO(a);a=g$(this.itemResolver_,a);if(!a)return null;if(Ns(d))return d=(a.memberKeys||[]).map(function(h){return c.create(h,b)}).filter(Boolean),this.createGroup(a,d,b);var e,f=b===2&&((e=a.coalescedKeys)==null?void 0:e.length)>1?a.coalescedKeys.map(function(h){return g$(c.itemResolver_,h)}).filter(Boolean):[a];return MXc(f,d,b)};
var MXc=function(a,b,c){var d=[],e=0,f=null,h=null;a=l(a);for(var k=a.next();!k.done;k=a.next()){k=k.value;var q=k.target,t=q.getId().equals(b);if(!e||t)e=q.getResultType();q=DPb(q,k.provenance,c);t?(h=void 0,f=(h=k.totalMemberCount)!=null?h:null,d.unshift(q),h=k.resultExtendedData):d.push(q)}b=ALb(e,d,f);return h?new JXc(b,h):b};
LXc.prototype.createGroup=function(a,b,c){c=DPb(a.target,a.provenance,c);var d,e=(d=a.totalMemberCount)!=null?d:null;b=new Rq(new KXc(c,b!=null?b:[],e!=null?e:null));return(a=a.resultExtendedData)?new JXc(b,a):b};var EPb=[1,2,3,4,5,6,9,7,8],NXc=function(a,b){this.targetFactory_=a;this.resultFactory_=new LXc(this);a=b.getCacheStaleSec();var c=b.getCacheExpiredSec();var d=d===void 0?HXc:d;this.expiry_=new IXc(a,c,d);this.affinityVersion_=0;this.ttlStorage_=new Map;this.lruStorage_=D9(gj(b,6,500),gj(b,7,43200)*1E3);d=Set;b=nl(b,25,yj());this.idTypes_=new d(b)};NXc.prototype.load=function(a,b){var c;return(c=this.resultFactory_.create(a,b))!=null?c:null};
var g$=function(a,b){return a.ttlStorage_.get(b)||a.lruStorage_.get(b)||null};g=NXc.prototype;g.getExpiry=function(){return this.expiry_};g.getAffinityVersion=function(){return this.affinityVersion_};g.markAsFresh=function(a){this.affinityVersion_=a.getAffinityVersion();a.hasTimestamp()?this.expiry_.setTimestamp(a.getTimestamp_asLegacyNumberOrString()):this.expiry_.markAsFresh();this.lruStorage_.compact()};g.markAsStale=function(){this.expiry_.markAsStale()};
g.flush=function(){this.ttlStorage_.clear();this.lruStorage_.clear();this.affinityVersion_=0;this.expiry_.timestamp_=0};g.storeItems=function(a,b,c,d){c=c===void 0?!1:c;if(d=d===void 0?"":d){var e=b.findIndex(function(h){return String(h.id)===d});if(e>0){var f=b[e];b.splice(e,1);b.unshift(f)}}c&&b.reverse();b=l(b);for(e=b.next();!e.done;e=b.next())this.store_(a,e.value,c,d)};
g.store_=function(a,b,c,d){if(!this.idTypes_.size||!aic.includes(b.id.getType())||this.idTypes_.has(b.id.getType())){var e=!1,f=String(b.id),h=(b.containerIds||[]).map(String),k=OXc(this,a,f);PXc(this,a,f,b,c)&&(k(f,b),e=!0);h=l(h);for(var q=h.next();!q.done;q=h.next())q=q.value,PXc(this,a,q,b,c)&&(k(q,b),e=!0);b.isMe&&(h=String(cic),PXc(this,a,h,b,c)&&(k(h,b),e=!0));d&&f!==d&&PXc(this,a,d,b,c)&&(k(d,b),e=!0);e&&!b.target&&this.targetFactory_.processItem(b)}};
var PXc=function(a,b,c,d,e){var f=g$(a,c);if(!f)return!0;b===1&&a.lruStorage_.has(c)&&(b=a.lruStorage_.get(c),a.ttlStorage_.set(c,b),a.lruStorage_.delete(c));return d.provenance===8&&f.provenance!==8?!1:e&&(f.id.equals(d.id)||String(f.id)!==c)?!0:f.id.equals(d.id)?GPb(d)&&!GPb(f)||QXc(a,f)<QXc(a,d)||FPb(d)<FPb(f)||d.id.getType()===18&&f.id.getType()===18?!0:!1:String(d.id)===c},QXc=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},OXc=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 HPb=function(a,b){this.delegate_=a;this.displayValue_=b};X(HPb,ZEc);HPb.prototype.getDisplayValue=function(){return this.displayValue_};var JPb=function(){};JPb.prototype.createFromLookupId=function(a){if(a.getType()!==1||!EO(a.getOriginalValue()))return null;a=Ps(a).setValue(a.getOriginalValue()).setDataSource(3);return ALb(a.getResultType(),[a],null)};var RXc=function(){};RXc.prototype.createFromLookupId=function(){return null};var KPb=new RXc;var SXc=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=LPb(e.getClient())};g=SXc.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 SVc=function(a){return Array.from(a.remainingIds.values())};SXc.prototype.hasError=function(){return this.hasErrorCode};
SXc.prototype.notify=function(a,b,c){if(a.size||b.length||this.isDone()||MPb(c.getCode())){var d=new Map,e=this.getResultFilter();a=l(a);for(var f=a.next();!f.done;f=a.next()){var h=l(f.value);f=h.next().value;h=h.next().value;this.notNotifiedIds.delete(String(f));if(h=e?e.filterResult(h):h)d.set(f,h),this.remainingIds.delete(String(f))}a=[];b=l(b);for(f=b.next();!f.done;f=b.next())f=f.value,this.notNotifiedIds.delete(String(f)),this.remainingIds.delete(String(f)),(h=this.placeholderFactory.createFromLookupId(f))&&
e&&(h=e.filterResult(h)),h?d.set(f,h):a.push(f);d=IPb(d,this.options);MPb(c.getCode())&&(this.hasErrorCode=!0);e=(new CVc).setCallbackNumber(this.callbackNumber).setIsFirstCallback(this.callbackNumber===0).setIsLastCallback(this.isDone()).setCode(c.getCode());e.notFoundIdList_=a;d=new DVc(d,e);this.callbackNumber++;this.listener(d,c)}};var TXc=function(a,b,c){this.stages=a;this.indexer=b;this.clientConfig=c};TXc.prototype.flush=function(){this.indexer.flush()};
TXc.prototype.lookup=function(a,b,c,d){var e=this,f,h,k,q,t,w;return fe(function(B){switch(B.nextAddress){case 1:(f=d.getFilter())==null||f.reset(""),h=new SXc(a,b,c,d,e.clientConfig),k=new Set,h.queryScope()!==1&&h.queryScope()!==2||k.add(2),h.queryScope()===3&&k.add(1),q=l(e.stages),t=q.next();case 2:if(t.done){B.jumpTo(4);break}w=t.value;if(h.isDone()||h.isCancelled()){B.jumpTo(4);break}if(k.has(w.getStageType())){B.jumpTo(3);break}return he(B,w.lookup(h),3);case 3:t=q.next();B.jumpTo(2);break;
case 4:if(!h.isDone()){if(h.queryScope()===0&&!h.hasError()){var E=e.indexer,I=Array.from(h.notNotifiedIds.values());I=l(I);for(var J=I.next();!J.done;J=I.next())J=String(J.value),E.notFoundIds.set(J,J)}h.notify(new Map,SVc(h),u9((new yt).setProvenance(10),!1).setCode(0))}e.indexer.compact();return B.return()}})};var UXc=function(a,b){this.storage=a;a=b.getClient();this.notFoundIds=D9(gj(a,10,500),Aj(a,11,600)*1E3)};g=UXc.prototype;g.compact=function(){this.notFoundIds.compact()};g.flush=function(){this.notFoundIds.clear()};g.store=function(a,b,c,d){if(!Hj(c,5))for(A9(c),b=l(b),c=b.next();!c.done;c=b.next()){var e=l(c.value);c=e.next().value;e=e.next().value;c=String(Os(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=R9a(a).filterResult(b));return b};var VXc={ids:[],cacheKey:"",primingTimeoutMillis:0};var WXc=function(){};WXc.prototype.loadOrSkip=function(){return null};WXc.prototype.resultCount=function(){return 0};WXc.prototype.isDone=function(){return!0};var XXc=new WXc;var YXc=function(){this.prefix_="";this.terms_=[];this.format_=0;this.collector_=XXc;this.boostKey_=VXc;this.listener_=function(){}};g=YXc.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 ZXc=new YXc;var $Xc=function(){this.fetchDone_=Promise.resolve((new yt).setCode(0))};g=$Xc.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 aYc=new $Xc;var bYc=function(a){a=Array.from(new Set(a));this.primary_=a.find(function(b){return b.getCacheType()===1})||aYc;this.prefetched_=a.filter(function(b){return b.getCacheType()===2||b.getCacheType()===1});this.lazyLoaded_=a.filter(function(b){return b.getCacheType()===3})};
bYc.prototype.prefetch=function(a){var b=this,c,d,e,f,h;return fe(function(k){if(k.nextAddress==1)return he(k,b.primary_.fetch(a),2);if(k.nextAddress!=3){c=k.yieldResult;if(c.getCode()!==0)return k.return(c);d=l(b.lazyLoaded_);for(e=d.next();!e.done;e=d.next())f=e.value,f.flush();h=b.prefetched_.filter(function(q){return q!==b.primary_}).map(function(q){q.flush();return q.fetch(a)});return h.length?he(k,Promise.all(h),3):k.jumpTo(3)}return k.return(c)})};
bYc.prototype.warmUpSession=function(a){var b=this;if(a.queryScope()===1)return Promise.resolve([(new yt).setProvenance(2).setCode(1)]);var c=this.prefetched_.filter(function(d){return d!==b.primary_});a.queryScope()!==2&&c.push.apply(c,r(this.lazyLoaded_));return Promise.all(c.map(function(d){return d.fetch(a)}))};
var cYc=function(a){var b=[a.primary_].concat(r(a.prefetched_.filter(function(d){return d!==a.primary_})),r(a.lazyLoaded_)).reverse();b=l(b);for(var c=b.next();!c.done;c=b.next())c.value.flush()},dYc=function(a,b){var c=[];a=l(a.prefetched_);for(var d=a.next();!d.done;d=a.next()){d=d.value;if(b.isDone()||b.isCancelled())break;b.shouldSkipCache(d.getName())||c.push.apply(c,r(d.search(b)))}return c},fYc=function(a,b,c){var d,e,f,h,k;return fe(function(q){if(q.nextAddress==1){if(b.queryScope()===2)return q.return();
d=a.lazyLoaded_.filter(function(t){return!b.shouldSkipCache(t.getName())});e=d[d.length-1];f=l(d);h=f.next()}if(q.nextAddress!=3){if(h.done)return q.jumpTo(0);k=h.value;return b.isDone()||b.isCancelled()?q.return():he(q,eYc(k,b,c,e===k),3)}h=f.next();return q.jumpTo(2)})},eYc=function(a,b,c,d){var e,f;return fe(function(h){if(h.nextAddress==1)return b.queryScope()===1?(e=u9((new yt).setProvenance(6).setCode(0),!1),h.jumpTo(2)):he(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);le(h)})};var gYc=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=gYc.prototype;g.getLastUpdatedTimestamp=function(){return this.storage_.getExpiry().getTimestamp()};g.getAffinityVersion=function(){return this.storage_.getAffinityVersion()};
g.warmUpCache=function(){hYc(this,ZXc);return this.cacheWarming_&&this.storage_.getExpiry().isExpired()?this.cacheWarming_:Promise.resolve(x9(w9((new v9).setSource(u9(new yt,!1).setProvenance(1).setCode(0)),h$(this)),h$(this)))};g.flushCache=function(a){switch(a){case 2:return iYc(this),Promise.resolve(new v9);case 1:return this.storage_.markAsStale(),Promise.resolve(new v9);default:return this.warmUpCache()}};
g.warmUpSession=function(a){var b=this,c,d,e,f,h;return fe(function(k){switch(k.nextAddress){case 1:c=w9(new v9,h$(b));hYc(b,a);if(!b.cacheWarming_){k.jumpTo(2);break}return he(k,b.cacheWarming_,2);case 2:return ge(k,4,5),b.sessionWarming_||(b.sessionWarming_=b.prefixSearch_.warmUpSession(a)),he(k,b.sessionWarming_,7);case 7:return d=k.yieldResult,e=d.find(function(q){return q.getProvenance()===2})||(new yt).setProvenance(2).setCode(0),k.return(x9(c.setSource(e),h$(b)));case 5:ie(k);b.sessionWarming_=
null;je(k,0);break;case 4:return f=ke(k),h=f instanceof yt?f:(new yt).setProvenance(2).setCode(13),k.return(Promise.reject(x9(c.setSource(h),h$(b))))}})};
g.search=function(a){var b=this,c,d,e,f,h;return fe(function(k){switch(k.nextAddress){case 1:jYc(b);ge(k,2);d=h$(b);hYc(b,a);if(!a.isSuggestQuery()){k.jumpTo(4);break}if(!b.cacheWarming_){k.jumpTo(5);break}e=b.storage_.getExpiry().isExpired();if(!e){k.jumpTo(5);break}return he(k,b.cacheWarming_,7);case 7:c=k.yieldResult;case 5:if(!b.sessionWarming_){k.jumpTo(4);break}return he(k,b.sessionWarming_,4);case 4:return c||(c=x9(w9((new v9).setSource(u9(new yt,!1).setProvenance(1).setCode(0)),d),h$(b)),
hYc(b,a)),he(k,kYc(b,a,c),10);case 10:Ft(k,0);break;case 2:f=ke(k);if(a.isCancelled())return k.return();f instanceof v9?c=f:(h=f instanceof yt?f:(new yt).setCode(13),x9(c.setSource(h),h$(b)));a.getListener()(new z9([],(new y9).setQuery(a.getPrefix()).setIsLastCallback(!0).setCacheState(c).setCode(c.getSource().getCode())));le(k)}})};
var kYc=function(a,b,c){var d,e,f,h;return fe(function(k){if(k.nextAddress==1){if(b.isCancelled())return k.return();d=dYc(a.prefixSearch_,b);e=(new y9).setIsLastCallback(b.isSuggestQuery()).setQuery(b.getPrefix()).setCode(c.getSource().getCode()).setCacheState(c);b.getListener()(new z9(d,e));if(e.getIsLastCallback())return k.return();f=!1;return he(k,fYc(a.prefixSearch_,b,function(q,t,w){t=(new y9).setIsLastCallback(w).setQuery(b.getPrefix()).setCode(t.getCode()).setCacheState(x9(w9((new v9).setSource(t),
tt(c,2)),h$(a)));b.getListener()(new z9(q,t));t.getIsLastCallback()&&(f=!0)}),2)}f||b.isCancelled()||(h=(new y9).setIsLastCallback(!0).setQuery(b.getPrefix()).setCode(0).setCacheState(x9(w9((new v9).setSource((new yt).setProvenance(10).setCode(0)),tt(c,2)),h$(a))),b.getListener()(new z9([],h)));le(k)})};
gYc.prototype.lookup=function(a,b,c){var d=this;jYc(this);hYc(this,ZXc);var e=w9(new v9,h$(this));this.lookupCache_.lookup(a,fj(this.clientInfo_,17,1),function(f,h){e.setSource(h);x9(e,h$(d));f.getMetadata().setCacheState(e);b(f)},c)};
var hYc=function(a,b){if(a.storage_.getExpiry().isStale()&&(a.storage_.getExpiry().isExpired()&&a.storage_.getExpiry().getTimestamp()&&iYc(a),!a.cacheWarming_)){var c=h$(a);a.cacheWarming_=new Promise(function(d,e){var f,h,k,q;return fe(function(t){switch(t.nextAddress){case 1:return f=w9(new v9,c),ge(t,2,3),he(t,a.prefixSearch_.prefetch(b),5);case 5:h=t.yieldResult,x9(f,h$(a)).setSource(h),d(f);case 3:ie(t);a.cacheWarming_=null;je(t,0);break;case 2:k=ke(t),q=k instanceof yt?k:(new yt).setCode(13),
x9(f,h$(a)).setSource(q),e(f),t.jumpTo(3)}})})}},h$=function(a){return a.storage_.getExpiry().getStatus()},iYc=function(a){cYc(a.prefixSearch_);a.lookupCache_.flush();a.storage_.flush()},jYc=function(a){var b=h$(a)===1?1:2;a.trackers_.count(b).increment()};var lYc=function(a){this.itemResolver_=a},mYc=function(a,b,c){c=c===void 0?[]:c;var d=b.target,e=d.getName();e&&(c.push(e.getDisplayName()),c.push(e.getGivenName()),c.push(e.getFamilyName()));if(e=d.getDisplayValue())switch(d.getTargetType()){case 2:case 7:var f=c.push,h=f.apply,k=e.split(GVc).filter(Boolean),q=k.length-1;if(q>0){var t=k.join(".");k.push(k.join("-"));for(k.push(t);q>0;q--)k[q-1]+=k[q]}k.push(e);k.push(e.replace(kOb,""));e[0]==="+"&&k.push("+"+k[0]);h.call(f,c,r(k));break;default:c.push(e)}if(!c.length&&
b.memberKeys&&b.memberKeys.length&&d.getTargetType()!==10)for(b=l(b.memberKeys),d=b.next();!d.done;d=b.next())(d=g$(a.itemResolver_,d.value))&&mYc(a,d,c);return c};var nYc=new BVc,oYc=function(a,b,c){this.itemResolver_=a;this.lookupCache_=b;this.trackers_=c;this.indexer_=new lYc(a);this.trieRoots_=new Map},EXc=function(a,b,c,d){var e=(a.trieRoots_.get(c)||C9).cloneNode(b);if(b.isDone())return a.trackers_.count(120).increment(),Promise.resolve(e);var f=a.trackers_.latency(95);f.start();var h=new Promise(function(k){var q=BXc(b).map(GO);a.lookupCache_.lookup(q,c,function(t){var w=Array.from(t.getResults().keys(),String);w=pYc(a,w);Array.prototype.push.apply(e.items_,
w);IVc(e);t.getMetadata().getIsLastCallback()&&(f.stop(),k(e))},nYc)});return OPb(h,e,d)},QVc=function(a,b){a=pYc(a,b);return new B9(a)},pYc=function(a,b){var c=[];b=l(b);for(var d=b.next();!d.done;d=b.next()){d=d.value;var e=g$(a.itemResolver_,d);e&&(e=mYc(a.indexer_,e),c.push(new HVc(d,e)))}return c};var qYc=function(){this.queryId_=0};qYc.prototype.getQueryId=function(){return this.queryId_};var rYc=function(a){this.delegate=a};g=rYc.prototype;g.getLastUpdatedTimestamp=function(){return this.delegate.getLastUpdatedTimestamp()};g.getAffinityVersion=function(){return this.delegate.getAffinityVersion()};g.warmUpCache=function(){return this.delegate.warmUpCache()};g.flushCache=function(a){return this.delegate.flushCache(a)};g.warmUpSession=function(a){var b=this;return fe(function(c){return c.return(b.delegate.warmUpSession(a))})};g.search=function(a){var b=this;return fe(function(c){return c.return(b.delegate.search(a))})};
g.lookup=function(a,b,c){this.delegate.lookup(a,b,c)};var sYc=function(){this.delegate=bFc};sYc.prototype.filterResult=function(a){return this.delegate.filterResult(a)};sYc.prototype.reset=function(a){this.delegate.reset(a)};var tYc=function(a,b){a.delegate=b!=null?b:bFc};var uYc=function(a){this.delegate=a};g=uYc.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 vYc=function(a,b){this.delegate_=a;this.limit_=b;this.count_=0};vYc.prototype.loadOrSkip=function(a){a=this.delegate_.loadOrSkip(a);if(!a)return null;this.count_++;return a};vYc.prototype.resultCount=function(){return this.count_};vYc.prototype.isDone=function(){return this.count_>=this.limit_||this.delegate_.isDone()};var wYc=function(a,b,c,d){this.delegate=a;var e=this;this.isLastSlot=d;d=a.getCollector();c.limit>0&&(d=new vYc(d,c.limit));this.collector=d;this.listener=function(h){var k=h.getMetadata();k.getIsLastCallback()&&k.setIsLastCallback(e.isLastSlot);e.delegate.getListener()(h)};d=[];c.filter&&(d.push(c.filter),c.filter.reset(a.getPrefix()));b&&d.push(b);this.resultFilter=d.length?T9a.apply(null,r(d)):null;var f;this.scope=(f=c.scope)!=null?f:a.queryScope()};X(wYc,uYc);g=wYc.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 xYc=function(a,b,c,d){this.delegate=a;this.slots=b;this.filterInterceptor=c;this.originalFilter=d};X(xYc,rYc);
xYc.prototype.search=function(a){var b=this,c,d,e,f,h,k;return fe(function(q){switch(q.nextAddress){case 1:c=new Set,a.isSuggestQuery()?c.add(2):c.add(1),a.isEmailAddress()||c.add(3),d=b.slots.filter(function(t){return!c.has(t.visibility)}),e=d.map(function(t,w){return new wYc(a,b.originalFilter,t,w===d.length-1)}),f=l(e),h=f.next();case 2:if(h.done){q.jumpTo(4);break}k=h.value;if(a.isCancelled()||a.isDone()){q.jumpTo(4);break}tYc(b.filterInterceptor,k.getResultFilter());return he(q,b.delegate.search(k),
3);case 3:h=f.next();q.jumpTo(2);break;case 4:return q.return()}})};var yYc=function(a,b,c){this.delegate=a;var d=this;this.query_=b;this.terms_=nOb([b]);this.id_=Rs(b);this.listener_=function(e){var f=e.getResults().map(function(h){if(d.id_.equals(h.getPrimaryTarget().getId())&&h.getDisplayName()!==c){var k=(new BOb).setDisplayName(c),q=h.getPrimaryTarget();h=N9a(h,new $Ec(q,k))}return h});e=new z9(f,e.getMetadata());a.getListener()(e)}};X(yYc,uYc);yYc.prototype.getPrefix=function(){return this.query_};yYc.prototype.getTerms=function(){return this.terms_};
yYc.prototype.getListener=function(){return this.listener_};var zYc=function(a,b,c){this.cache_=a;this.queryFactory_=b;this.querySession_=new qYc;this.clientInfo_=c};g=zYc.prototype;g.warmUpSession=function(a){a=AYc(this.queryFactory_,"",this.querySession_,a,function(){});return this.cache_.warmUpSession(a)};g.suggest=function(a,b){a=AYc(this.queryFactory_,"",this.querySession_,b,a);this.cache_.search(a)};
g.search=function(a,b,c){a=AYc(this.queryFactory_,a,this.querySession_,c,b);Hj(this.clientInfo_,28,!1)&&(b=a.getPrefix(),b.includes("<")&&(c=Thc(b),c.isValid()||(c=Thc(b+">")),a=c.isValid()&&c.getName()?new yYc(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("rf");};g.getSessionState=function(){throw Error("rf");};g.getHide=function(){throw Error("rf");};var BYc=function(a,b,c){var d=this;this.cache_=a;this.queryFactory_=b;this.clientInfo_=c;this.getSessionCache_=Hj(c,34,!1)?function(e){var f=d.cache_,h=e.slots_;if(h.length){var k=e.getFilter(),q=new sYc;e.setFilter(q);e=new xYc(f,h,q,k)}else e=f;return e}:function(){return d.cache_}};BYc.prototype.warmUpCache=function(){return this.cache_.warmUpCache()};BYc.prototype.flushCache=function(a){this.cache_.flushCache(a)};BYc.prototype.lookup=function(a,b,c){this.cache_.lookup(a,b,c)};
BYc.prototype.beginSession=function(a){a=this.getSessionCache_(a);return new zYc(a,this.queryFactory_,this.clientInfo_)};var CYc=function(){};g=CYc.prototype;g.getCacheType=function(){return 3};g.flush=function(){};g.fetch=function(){return fe(function(a){return a.return(u9(new yt,!1).setProvenance(12).setCode(0))})};g.index=function(){};g.search=function(a){return a.isEmailAddress()?(a=a.getCollector().loadOrSkip(String(Rs(a.getPrefix()))))?[a]:[]:[]};g.getName=function(){};var DYc=function(){};DYc.prototype.configure=function(a){var b=a.prefixCaches;Hj(a.clientConfig.getClient(),21,!1)&&b.push(new CYc)};var EYc=function(a,b,c,d,e,f,h,k){this.delegate_=a;this.prefix_=b;this.terms_=c;this.collector_=d;this.boostKey_=e;this.filter_=h;this.listener_=PPb(this,f);this.isEmailAddress_=null;this.selectedCustomProviderNames_=k?new Set(k):null};g=EYc.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_=EO(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 FYc=function(a,b,c){this.format_=a;this.querySession_=b;this.queryScope_=c;this.id_=++this.querySession_.queryId_};FYc.prototype.getFormat=function(){return this.format_};FYc.prototype.isCancelled=function(){return this.querySession_.getQueryId()!==this.id_};FYc.prototype.queryScope=function(){return this.queryScope_};var i$=function(){this.foundKeys_=new Set};X(i$,aFc);i$.prototype.shouldRemove=function(a){return this.foundKeys_.has(String(a.getId()))};i$.prototype.has=function(a){return this.foundKeys_.has(a)};i$.prototype.add=function(a){this.foundKeys_.add(a)};i$.prototype.reset=function(){this.foundKeys_.clear()};var GYc=function(a){this.delegate_=a;this.filter_=new i$};GYc.prototype.loadOrSkip=function(a){if(this.filter_.has(a))return null;a=this.delegate_.loadOrSkip(a);if(!a)return null;a=this.filter_.filterResult(a);if(!a)return null;for(var b=l(a.getTargetList()),c=b.next();!c.done;c=b.next())this.filter_.add(String(c.value.getId()));return a};GYc.prototype.resultCount=function(){return this.delegate_.resultCount()};GYc.prototype.isDone=function(){return this.delegate_.isDone()};var HYc=function(a,b,c){this.delegate_=a;this.filter_=b;this.filter_.reset(c)};HYc.prototype.loadOrSkip=function(a){a=this.delegate_.loadOrSkip(a);return a?(a=this.filter_.filterResult(a))&&a.getTargetList().length?a:null:null};HYc.prototype.resultCount=function(){return this.delegate_.resultCount()};HYc.prototype.isDone=function(){return this.delegate_.isDone()};var IYc=function(a,b){this.storage_=a;this.format_=b};IYc.prototype.loadOrSkip=function(a){return this.storage_.load(a,this.format_)||null};IYc.prototype.resultCount=function(){return 0};IYc.prototype.isDone=function(){return!1};var JYc=[198,230,306,307,338,339],KYc=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)"+so(b),"g")})},QPb=function(a,b){var c=[];if(!b||!a.matchers_.length)return c;var d=Ms(lOb(b)).replace(mOb,"").toUpperCase().toLowerCase(),e=d.indexOf("@"),f=e<0?-1:d.indexOf(".",e);a=l(a.matchers_);for(var h=a.next();!h.done;h=a.next()){h=
h.value;h.lastIndex=0;for(var k=h.exec(d);k;k=h.exec(d)){k=k.index;if((e>0||e===0&&f>e)&&k>e)break;c.push([k,h.lastIndex])}}c.sort(function(q,t){return q[0]-t[0]});for(e=c.length-1;e>0;e--)f=c[e-1],a=c[e],f[1]>=a[0]&&(f[1]=a[1],c.splice(e,1));if(c.length&&d.length!==b.length){d=[];e=[];for(f=0;f<b.length;f++)a=b.codePointAt(f),a>65535||a>=768&&a<=879?(d.push(f),f++):JYc.includes(a)&&e.push(f);b=l(c);for(f=b.next();!f.done;f=b.next()){f=f.value;a=l(d);for(h=a.next();!h.done;h=a.next())h=h.value,h<
f[0]&&f[0]++,h<f[1]&&f[1]++;a=l(e);for(h=a.next();!h.done;h=a.next())h=h.value,h<f[0]&&f[0]--,h<f[1]&&f[1]--}}return c};var kt=function(a,b){this.start_=a;this.end_=b};kt.prototype.getStart=function(){return this.start_};kt.prototype.getEnd=function(){return this.end_};var RPb=function(a,b,c){this.displayNameMatches_=a;this.displayValueMatches_=b;this.givenNameMatches_=c};RPb.prototype.getDisplayNameMatches=function(){return this.displayNameMatches_};RPb.prototype.getDisplayValueMatches=function(){return this.displayValueMatches_};RPb.prototype.getGivenNameMatches=function(){return this.givenNameMatches_};var LYc=function(a,b){this.delegate_=a;this.matcher_=b;this.memberList_=a.getMemberList().map(function(c){return new LYc(c,b)});this.matchInfo_=null};X(LYc,F_);LYc.prototype.getMemberList=function(){return this.memberList_};LYc.prototype.getMatchInfo=function(){if(!this.matchInfo_){var a,b=((a=this.getDelegate().getPrimaryTarget().getName())==null?void 0:a.getGivenName())||"";this.matchInfo_=SPb(this.matcher_,this.getDelegate().getDisplayName(),this.getDelegate().getDisplayValue(),b)}return this.matchInfo_};var MYc=function(a,b){this.delegate_=a;this.matcher_=new KYc(b)};MYc.prototype.loadOrSkip=function(a){return(a=this.delegate_.loadOrSkip(a))?new LYc(a,this.matcher_):null};MYc.prototype.resultCount=function(){return this.delegate_.resultCount()};MYc.prototype.isDone=function(){return this.delegate_.isDone()};var NYc=function(a){var b=new JPb;this.delegate=a;this.placeholderFactory=b};NYc.prototype.loadOrSkip=function(a){var b;return(b=this.delegate.loadOrSkip(a))!=null?b:this.placeholderFactory.createFromLookupId(GO(a))};NYc.prototype.resultCount=function(){return this.delegate.resultCount()};NYc.prototype.isDone=function(){return this.delegate.isDone()};var OYc=/\s+/g,PYc=function(a,b){this.clientInfo_=a;this.storage_=b},AYc=function(a,b,c,d,e){var f=nOb([b]);b=(b||"").replace(OYc," ").trim();var h=!f.length;var k=a.clientInfo_;k=h?d.getSuggestFormat()||k.getSuggestFormat():d.getSearchFormat()||k.getSearchFormat();var q=a.clientInfo_;h=h?d.getSuggestMaxResults()||q.getSuggestMaxResults():d.getSearchMaxResults()||q.getSearchMaxResults();var t=d.boostIds_;q=d.primingTimeoutMillis_;if(t.length){t=t.map(String);var w=VOb(t)+":"+t.length;q={ids:t,cacheKey:w,
primingTimeoutMillis:q}}else q=VXc;t=d.getFilter();w=b;var B=new IYc(a.storage_,k);Hj(a.clientInfo_,21,!1)&&EO(w)&&(B=new NYc(B));t&&(B=new HYc(B,t,w));B=new GYc(B);B=new vYc(B,h);a=f.length?new MYc(B,f):B;h=d.getQueryScope();c=new FYc(k,c,h);return new EYc(c,b,f,a,q,e,t,d.selectedCustomProviderNames_)};var QYc=function(a){this.fetcher=a};QYc.prototype.getStageType=function(){return 2};QYc.prototype.lookup=function(a){var b=this,c,d,e,f,h,k,q,t,w;return fe(function(B){switch(B.nextAddress){case 1:c=UPb(SVc(a)),d=l(c),e=d.next();case 2:if(e.done){B.jumpTo(4);break}f=e.value;h=l(f);k=h.next().value;q=h.next().value;t=k;w=q;if(!t){B.jumpTo(3);break}return he(B,b.fetcher.fetch(w,t,a.getFormat(),function(E,I){a.notify(E,[],I)},a.getOptions()),3);case 3:e=d.next();B.jumpTo(2);break;case 4:return B.return()}})};var RYc=function(a,b){this.delegate=a;this.maxLookupChunkSize=qWc(b)};RYc.prototype.fetch=function(a,b,c,d,e){var f=this,h,k,q;return fe(function(t){switch(t.nextAddress){case 1:var w=f.maxLookupChunkSize;if(a.length)if(a.length<=w)w=[a];else{for(var B=[],E=0;E<a.length;E+=w){var I=a.slice(E,E+w);I.length&&B.push(I)}w=B}else w=[];h=l(w);k=h.next();case 2:if(k.done){t.jumpTo(4);break}q=k.value;return he(t,f.delegate.fetch(q,b,c,d,e),3);case 3:k=h.next();t.jumpTo(2);break;case 4:return t.return()}})};var SYc=function(a){this.qos=a};SYc.prototype.getIndex=function(){return String(this.qos)};var TYc=new SYc(1),UYc=new SYc(2);var VYc=function(a,b,c){this.trackers=a;this.loader=b;this.indexer=c};
VYc.prototype.fetch=function(a,b,c,d,e){var f=this,h,k,q,t,w,B,E,I,J,N,P;return fe(function(U){switch(U.nextAddress){case 1:return h=b===3?4:3,k=u9((new yt).setProvenance(h),!0).setCode(0),ge(U,2),he(U,f.loader.loadLookupItems(b,a.map(function(ba){return ba.getOriginalValue()}),UYc),4);case 4:q=U.yieldResult;q.metadata.getCode()&&k.setCode(q.metadata.getCode());t=e.getQueryScope()===3;try{f.indexer.store(b,q.data,q.metadata,t)}catch(ba){f.trackers.error(21,10).report(),k.setCode(13)}Ft(U,3);break;
case 2:w=ke(U),B=Number(w),k.setCode(isFinite(B)&&B?B:13);case 3:E=new Map;I=l(a);for(J=I.next();!J.done;J=I.next())N=J.value,(P=f.indexer.load(N,c,e.useOriginalDisplayValue_))&&E.set(N,P);d(E,k);return U.return()}})};var WYc=function(a){this.indexer=a};WYc.prototype.getStageType=function(){return 1};WYc.prototype.lookup=function(a){var b=this,c,d,e,f,h,k;return fe(function(q){c=new Map;d=[];e=l(SVc(a));for(f=e.next();!f.done;f=e.next())if(h=f.value,k=b.indexer.load(h,a.getFormat(),a.getOptions().useOriginalDisplayValue_))c.set(h,k);else{var t=b.indexer;(dic(h)?t.notFoundIds.get(String(h)):1)&&d.push(h)}a.notify(c,d,u9((new yt).setProvenance(6),!1).setCode(0));return q.return()})};var XYc=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"),YYc=function(a,b,c,d,e){this.loader_=a;this.ranker_=b;this.trieFactory_=c;this.storage_=d;this.indexes_=D9(gj(e,8,250),Aj(e,9,3600)*1E3);this.notFound_=D9(gj(e,10,500),Aj(e,11,600)*1E3)};g=YYc.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 fe(function(f){switch(f.nextAddress){case 1:c=u9(new yt,!0).setProvenance(2).setCode(0);if(a.isSuggestQuery())return b.loader_.warmUpServer(TYc).catch(function(){}),f.return(c);if(b.canSkipFetch_(a))return f.return(u9(c,!1));ge(f,2);return he(f,b.loader_.loadAutocompleteItems(a,UYc),4);case 4:d=f.yieldResult;Ft(f,3);break;case 2:return e=ke(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(!Hj(c,5))if(A9(c),b.length){c=OVc(this.ranker_,b,1);var d=a.queryScope()===3;this.storage_.storeItems(1,b,d);b=QVc(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(XYc))break;if(this.notFound_.has(c))return!0}return!1};g.getName=function(){};var ZYc=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=ZYc.prototype;g.getCacheType=function(){return 1};g.flush=function(){this.indexes_.clear()};
g.fetch=function(a){var b=this,c,d,e,f;return fe(function(h){switch(h.nextAddress){case 1:return c=u9(new yt,!0).setProvenance(1).setCode(0),d=b.storage_.getExpiry().isExpired()?UYc:TYc,ge(h,2),he(h,b.loader_.loadRankedItems(d),4);case 4:e=h.yieldResult;Ft(h,3);break;case 2:return f=ke(h),h.return(c.setCode(isFinite(f)?f:13));case 3:try{b.index(a,e.data,e.metadata)}catch(k){c.setCode(13)}return h.return(c)}})};
g.search=function(a){return a.isSuggestQuery()||a.getTerms().length?(this.indexes_.get(a.getFormat())||C9).search(a.getTerms()).getMatches(a.getCollector()):[]};g.index=function(a,b,c){if(!Hj(c,5)){A9(c);a=this.coalescedSortOrder_!==1?OVc(this.ranker_,b,this.coalescedSortOrder_):null;var d=OVc(this.ranker_,b,1);this.storage_.flush();this.storage_.storeItems(1,b);this.storage_.markAsFresh(c);b=QVc(this.trieFactory_,d);c=a?QVc(this.trieFactory_,a):b;this.indexes_.set(1,b);this.indexes_.set(2,c)}};
g.getName=function(){};var $Yc=new ZVc(27,32,33),aZc=new ZVc(24,23,20);var bZc=function(){};bZc.prototype.configure=function(a){var b=a.trackers,c=a.storage,d=a.indexer,e=a.loader,f=a.trieFactory,h=a.prefixCaches,k=a.lookupStages,q=a.loaderFactory.ranker_,t=a.clientConfig.getClient();if(t.getCacheSize()>0){var w=fj(t,19,1);w=new ZYc(e,q,f,c,w);w=new F9(w,b,aZc);h.push(w);k.push(new WYc(d))}t.getSearchMaxResults()>0&&(c=new YYc(e,q,f,c,t),b=new F9(c,b,$Yc),h.push(b));h=new VYc(a.trackers,a.loader,a.indexer);h=new RYc(h,a.clientConfig);k.push(new QYc(h))};var cZc=function(a){this.delegate=a};g=cZc.prototype;g.warmUpSession=function(a){return this.delegate.warmUpSession(a)};g.suggest=function(a,b){this.delegate.suggest(a,b)};g.search=function(a,b,c){this.delegate.search(a,b,c)};g.cancel=function(){this.delegate.cancel()};g.getLastUpdatedTimestamp=function(){return this.delegate.getLastUpdatedTimestamp()};g.getAffinityVersion=function(){return this.delegate.getAffinityVersion()};g.getReporter=function(a){return this.delegate.getReporter(a)};
g.getSessionState=function(){return this.delegate.getSessionState()};g.getHide=function(){return this.delegate.getHide()};var j$=function(a){this.delegate=a};j$.prototype.warmUpCache=function(){return this.delegate.warmUpCache()};j$.prototype.flushCache=function(a){this.delegate.flushCache(a)};j$.prototype.lookup=function(a,b,c){this.delegate.lookup(a,b,c)};j$.prototype.beginSession=function(a){return this.delegate.beginSession(a)};var dZc=function(a,b,c){this.idType_=a;this.id_=b;this.options_=c};dZc.prototype.getId=function(){return this.id_};dZc.prototype.getIndex=function(){return this.getId()+":"+this.idType_+":"+this.options_.getIndex()};var eZc=function(a,b,c){this.idType_=a;this.ids_=b;this.options_=c};g=eZc.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 dZc(a.getIdType(),b,a.getOptions())})};g.setIds=function(a){this.ids_=a;return this};g.setIdType=function(a){this.idType_=a};g.setOptions=function(a){this.options_=a};g.clone=function(){var a=this.getIdType(),b=this.getIds(),c=this.getOptions();return new eZc(a,b,c)};var fZc=function(a,b){this.ids_=new Set(b.getIds());this.parameters_=b.clone();this.loader_=a;this.resolver_=new PSc;this.isSent_=!1};fZc.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)}};fZc.prototype.promise=function(){return this.resolver_.promise};
fZc.prototype.merge=function(a,b){var c;(c=this.isSent_)||(c=this.parameters_,c=!(a.getIdType()===c.getIdType()&&a.getOptions()===c.getOptions()));if(c||a.getIds().length+this.ids_.size>b)return!1;a=l(a.getIds());for(b=a.next();!b.done;b=a.next())this.ids_.add(b.value);return!0};var gZc=function(a,b,c){this.delegate_=a;this.batchedRequest_=null;this.tracker_=b;this.maxRequestSize_=qWc(c);this.lastRequestCreationTime_=0};
gZc.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 fZc(this.delegate_,a);a=Date.now();var d=a-this.lastRequestCreationTime_;this.lastRequestCreationTime_=a;Cq(function(){c===b.batchedRequest_&&(c.send(),b.batchedRequest_=null)},d>30?0:30)}return this.batchedRequest_.promise()};var hZc=function(a,b){this.delegate_=a;this.inflightRequests_=LVc();this.tracker_=b};
hZc.prototype.load=function(a){for(var b=this,c=new Set,d=[],e=l(a.getKeys()),f=e.next();!f.done;f=e.next()){f=f.value;var h=f.getIndex();this.inflightRequests_.has(h)?c.add(this.inflightRequests_.get(h)):d.push(f.getId())}d.length===a.getKeys().length?this.tracker_.count(93).increment():d.length?this.tracker_.count(92).increment():this.tracker_.count(91).increment();if(d.length){var k=a.clone().setIds(d);var q=new fZc(this.delegate_,k);q.send();c.add(q);a=l(k.getKeys());for(d=a.next();!d.done;d=
a.next())this.inflightRequests_.set(d.value.getIndex(),q);q.promise().catch(function(){}).finally(function(){for(var t=l(k.getKeys()),w=t.next();!w.done;w=t.next())b.inflightRequests_.delete(w.value.getIndex())})}c=Array.from(c);return Promise.all(c.map(function(t){return t.promise()})).then(function(t){return q?q.promise().then(function(w){return VPb(t,w.metadata)}):VPb(t)})};var iZc=function(a){this.peopleLoader_=a};iZc.prototype.load=function(a){return this.peopleLoader_.loadLookupItems(a.getIdType(),a.getIds(),a.getOptions())};var jZc=function(a,b,c){this.peopleLoader_=a;this.gatedLoaders_=new Map;this.tracker_=b;this.clientConfig_=c};jZc.prototype.load=function(a){if(!this.gatedLoaders_.has(a.getIdType())){var b=new iZc(this.peopleLoader_);b=new gZc(b,this.tracker_,this.clientConfig_);b=new hZc(b,this.tracker_);this.gatedLoaders_.set(a.getIdType(),b)}return this.gatedLoaders_.get(a.getIdType()).load(a)};var kZc=function(a,b,c){this.delegate_=a;this.trackers_=b;this.searchRequests_=new Map;this.lookupLoader_=new jZc(this.delegate_,this.trackers_,c)},lZc=function(a,b,c,d){var e,f;return fe(function(h){if(h.nextAddress==1){e=b+":"+c;if(a.searchRequests_.has(e))return a.trackers_.count(b).increment(),h.return(a.searchRequests_.get(e));f=d();a.searchRequests_.set(e,f);h.catchAddress_=0;h.finallyAddress_=2;return he(h,f,4)}if(h.nextAddress!=2)return h.return(h.yieldResult);ie(h);a.searchRequests_.delete(e);
return je(h,0)})};kZc.prototype.loadRankedItems=function(a){var b=this;return lZc(this,81,"",function(){return b.delegate_.loadRankedItems(a)})};kZc.prototype.warmUpServer=function(a){var b=this;return lZc(this,82,"",function(){return b.delegate_.warmUpServer(a)})};kZc.prototype.loadAutocompleteItems=function(a,b){var c=this;return lZc(this,82,a.getPrefix(),function(){return c.delegate_.loadAutocompleteItems(a,b)})};
kZc.prototype.loadLookupItems=function(a,b,c){return this.lookupLoader_.load(new eZc(a,b,c))};var mZc=function(){return Date.now()},nZc=function(a,b,c){this.delegate_=a;this.nowFn_=c;this.cacheFlushRateMillis_=Aj(b.getClient(),14,300)*1E3;this.serverWarmupRateMillis_=Aj(b.getClient(),13,60)*1E3;this.lastServerWarmup_=this.lastCacheFlush_=0};nZc.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)};
nZc.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)};nZc.prototype.loadAutocompleteItems=function(a,b){return this.delegate_.loadAutocompleteItems(a,b)};nZc.prototype.loadLookupItems=function(a,b,c){return this.delegate_.loadLookupItems(a,b,c)};var oZc=function(a,b,c){this.delegate_=a;this.listener_=b;this.options_=c;this.delegate_.warmUpSession(c)};g=oZc.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?hUc:a;return this.delegate_.getReporter(a)};g.getHide=function(){return this.delegate_.getHide()};var pZc=function(a,b){this.delegate_=a;this.members_=b;this.totalMemberCount_=FO(a.getPrimaryTarget().getId())?b.length:a.getTotalMemberCount()};X(pZc,F_);pZc.prototype.getMemberList=function(){return this.members_};pZc.prototype.getTotalMemberCount=function(){return this.totalMemberCount_};var qZc=function(a,b){this.filter_=a;this.filterEmptyExplodingGroups_=b};qZc.prototype.filterResult=function(a){var b=this;if(!FO(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 Rq(new pZc(a,c))};qZc.prototype.reset=function(a){this.filter_.reset(a)};
var WPb=function(a,b){this.filter_=T9a(a,new qZc(a,b))};WPb.prototype.filterResult=function(a){return this.filter_.filterResult(a)};WPb.prototype.reset=function(a){this.filter_.reset(a)};var rZc=function(a){this.delegate_=a};rZc.prototype.warmUpCache=function(){return this.delegate_.warmUpCache().then(function(){return Promise.resolve()},function(a){var b=2;a instanceof v9&&(a=a.getSource())&&(b=a.getCode());return Promise.reject(b)})};rZc.prototype.flushCache=function(a){this.delegate_.flushCache(a)};rZc.prototype.lookup=function(a,b,c){c=c===void 0?new BVc:c;c.setFilter(XPb(c.getFilter(),!0));this.delegate_.lookup(a,b,c);return this};
rZc.prototype.beginSession=function(a,b){b=b===void 0?new Bs:b;b=b.clone();b.setFilter(XPb(b.getFilter(),b.filterEmptyExplodingGroups_));var c=this.delegate_.beginSession(b);return new oZc(c,a,b)};var sZc=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]]),tZc=new Map([[2,13],[3,6]]),uZc=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 aQb=new Map([[1,1],[2,3],[3,5]]),vZc=new Map([[1,2],[2,4],[3,5],[4,8],[6,15],[7,19],[12,21],[10,20]]),wZc=new Map([[1,2],[2,9],[3,6],[4,6],[6,15],[7,19],[12,21],[10,20]]),xZc=function(a,b){this.logContext_=dQb(a,b)};g=xZc.prototype;g.getLogContext=function(){return this.logContext_};
g.createCountMetric=function(a,b,c){var d=b.source(),e=$Pb(d);switch(d.getEventType()){case 1:d=e.setCount;b=fj(b.source(),4,0);var f=new bXc;f.setType(b);f.setValue(c);d.call(e,f);e.setEventType(1);break;case 4:case 5:c=e.setRpcRequest;b=fj(b.source(),3,0);d=new b$;d.setLabel(b);c.call(e,d);e.setEventType(4);break;case 6:case 7:c=e.setApiCall;b=b.source();d=fj(b,2,0);f=new ZWc;b.hasItemCount()&&f.setItemCount(b.getItemCount());b.hasQueryLength()&&f.setQueryLength(b.getQueryLength());b.hasLookupInfo()&&
f.setLookupInfo(b.getLookupInfo());b.hasQueryScope()&&f.setQueryScope(b.getQueryScope());f.setLabel(d);c.call(e,f);e.setEventType(6);break;default:return null}e.setClientInterface(a);return e};
g.createStatusMetric=function(a,b,c){var d=b.source(),e=$Pb(d);switch(d.getEventType()){case 4:case 5:d=e.setRpcResponse;var f=b.source(),h=fj(f,3,0);var k=fj(f,13,0)||0;k=tZc.get(k)||sZc.get(c)||0;var q=vO(b,"blocked"),t=vO(b,"network"),w=vO(b,"processed");b=new cXc;b.setLabel(h);b.setStatus(k);b.setBlockedUsec(q);b.setLatencyUsec(t);yl(b,9,w);b.setStatusCode(c);gj(f,12,0)&&(c=gj(f,12,0),yl(b,6,c));d.call(e,b);e.setEventType(5);break;case 6:case 7:d=e.setApiResult;h=b.source();k=fj(h,2,0);f=new $Wc;
f.setLabel(k);f.setStatusCode(c);h.hasItemCount()&&f.setItemCount(h.getItemCount());h.hasQueryLength()&&f.setQueryLength(h.getQueryLength());h.hasLookupInfo()&&f.setLookupInfo(h.getLookupInfo());h.hasQueryScope()&&f.setQueryScope(h.getQueryScope());c===0&&(b=vO(b,"total"),f.setLatencyUsec(b));c=uZc.get(c)||0;f.setStatus(c);c=h.getResultIndex();f.setResultIndex(c);if(b=h.getCacheState())c=bQb(et(b,2)),sl(f,5,c),c=bQb(et(b,3)),sl(f,6,c),c=f.setDataSource,h=b.getSource(),b=!Hj(h,1),h=h.getProvenance(),
b=(b?wZc.get(h):vZc.get(h))||0,c.call(f,b);d.call(e,f);e.setEventType(7);break;default:return null}e.setClientInterface(a);return e};
g.createLatencyMetric=function(a,b){var c=b.source();if(c.getEventType()!==2)return null;var d=$Pb(c);d.setClientInterface(a);a=d.setLatency;var e=fj(b.source(),5,0);if(e===37||e===38||e===40){e=fj(b.source(),5,0);var f=vO(b,"LATENCY_A");b=vO(b,"LATENCY_B");b=f!=null&&b!=null?f-b:NaN;f=new a$;f.setType(e);isFinite(b)&&f.setLatencyUsec(b);e=f}else b=vO(b,"total"),f=new a$,f.setType(e),f.setLatencyUsec(b),e=f;a.call(d,e);d.setEventType(c.getEventType());return d};
g.createErrorMetric=function(a,b){var c=b.source();if(c.getEventType()!==3)return null;var d=$Pb(c);d.setClientInterface(a);a=d.setError;var e=b.source();b=e.getErrorType();e=fj(e,7,0);var f=new $9;f.setType(b);sl(f,4,e);a.call(d,f);d.setEventType(c.getEventType());return d};var yZc=function(a,b){this.delegate_=a;this.trackers_=b};g=yZc.prototype;g.reportDisplay=function(a){this.delegate_.reportDisplay(a)};g.reportSelect=function(a,b){b=b===void 0?new iUc: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();zZc(this)};
g.reportSave=function(a){this.delegate_.reportSave(a);zZc(this)};g.reportSecondaryAction=function(a){this.delegate_.reportSecondaryAction(a);zZc(this)};g.reportSend=function(a){this.delegate_.reportSend(a);zZc(this)};var zZc=function(a){a=a.trackers_;var b=a.api,c=new $s;bt(c.setEventType(6),3);b.call(a,c).call()};var ut=function(a,b){this.delegate_=this.delegate=a;this.trackers_=b};X(ut,cZc);
ut.prototype.suggest=function(a,b){var c=this;try{var d=!1,e=!1,f=this.trackers_.api(kPb(b.getQueryScope()));f.call();this.delegate_.suggest(function(h){var k=h.getMetadata(),q=k.getCacheState();f.source.setCacheState(q);f.source.setItemCount(h.getResults().length);f.result(q.getSource().getCode());k.getIsFirstCallback()&&(d&&k.getCode()===0&&c.trackers_.error(22,19).report(),d=!0);k.getIsLastCallback()&&(e&&k.getCode()===0&&c.trackers_.error(22,20).report(),e=!0);k=c.trackers_.latency(90);k.start();
try{a(h)}catch(t){throw c.trackers_.error(22,11).report(),t;}finally{k.stop()}},b)}catch(h){throw this.trackers_.error(22,1).report(),h;}};
ut.prototype.search=function(a,b,c){var d=this;try{var e=!1,f=!1,h=this.trackers_.api(jPb(a,c.getQueryScope()));h.call();this.delegate_.search(a,function(k){var q=k.getMetadata(),t=q.getCacheState();h.source.setCacheState(t);h.source.setItemCount(k.getResults().length);h.result(t.getSource().getCode());q.getIsFirstCallback()&&(e&&q.getCode()===0&&d.trackers_.error(23,19).report(),e=!0);q.getIsLastCallback()&&(f&&q.getCode()===0&&d.trackers_.error(23,20).report(),f=!0);q=d.trackers_.latency(91);q.start();
try{b(k)}catch(w){throw d.trackers_.error(23,11).report(),w;}finally{q.stop()}},c)}catch(k){throw this.trackers_.error(23,1).report(),k;}};ut.prototype.getReporter=function(a){a=this.delegate_.getReporter(a);return new yZc(a,this.trackers_)};var k$=function(a,b){this.delegate_=this.delegate=a;a=this.trackers_=b;b=a.api;var c=new $s;bt(c.setEventType(6),1);b.call(a,c).call()};X(k$,j$);
k$.prototype.warmUpCache=function(){var a=this,b=this.trackers_.api(hPb());b.call();return this.delegate_.warmUpCache().then(function(c){b.source.setCacheState(c);b.result(c.getSource().getCode());return c},function(c){c instanceof v9?(b.source.setCacheState(c),b.result(c.getSource().getCode())):(a.trackers_.error(17,1).report(),c=(new v9).setSource((new yt).setCode(2)));return Promise.reject(c)})};
k$.prototype.flushCache=function(a){var b=this.trackers_,c=b.api;switch(a){case 2:var d=12;break;case 1:d=4;break;default:d=10}var e=new $s;bt(e.setEventType(6),d);b=c.call(b,e);b.call();try{this.delegate_.flushCache(a),b.result(0)}catch(f){throw this.trackers_.error(17,1).report(),f;}};
k$.prototype.lookup=function(a,b,c){var d=this;try{var e=!1,f=!1,h=this.trackers_.api(gPb(a,c.getQueryScope()));h.call();this.delegate_.lookup(a,function(k){var q=k.getMetadata(),t=q.getCacheState();h.source.setCacheState(t);h.source.setItemCount(k.getResults().size);for(var w=0,B=0,E=0,I=l(k.getResults().keys()),J=I.next();!J.done;J=I.next())J=J.value,Yhc.includes(J.getType())?w++:Zhc.includes(J.getType())?B++:$hc.includes(J.getType())&&E++;var N=0;I=J=0;for(var P=l(q.notFoundIdList_),U=P.next();!U.done;U=
P.next())U=U.value,Yhc.includes(U.getType())?N++:Zhc.includes(U.getType())?J++:$hc.includes(U.getType())&&I++;P=h.source.getLookupInfo();w=ql(P,2,w);B=ql(w,1,B);E=ql(B,3,E);E=ql(E,5,N);E=ql(E,4,J);ql(E,6,I);h.result(t.getSource().getCode());q.getIsFirstCallback()&&(e&&q.getCode()===0&&d.trackers_.error(8,19).report(),e=!0);q.getIsLastCallback()&&(f&&q.getCode()===0&&d.trackers_.error(8,20).report(),f=!0);q=d.trackers_.latency(89);q.start();try{b(k)}catch(ba){throw d.trackers_.error(8,11).report(),
ba;}finally{q.stop()}},c)}catch(k){throw this.trackers_.error(8,1).report(),k;}};k$.prototype.beginSession=function(a){this.trackers_.api(iPb()).call();var b=this.delegate_.beginSession(a);return eQb(b,wXc(this.trackers_,new tXc(function(){return b.getSessionState()})))};var AZc=function(a,b){this.clearcut_=a;this.logEventFactory_=b};AZc.prototype.report=function(a){var b=IO(this.clearcut_);a=this.logEventFactory_.eventsFactory_.create(b,a);a=l(a);for(b=a.next();!b.done;b=a.next())JO(this.clearcut_,b.value)};var BZc=function(a){this.clearcut_=a};BZc.prototype.report=function(a){this.clearcut_.report(a)};var CZc=function(a){this.writer_=a};var DZc=function(){};
DZc.prototype.create=function(a,b,c){var d=YPb(b),e=new Ehc;oj(e,mt,3,d);c!==7&&b.hasQuery()&&(d=b.getQuery(),c===2&&e.setQuery(d),e.setQueryLength(d.length));var f=new Fhc;d=AMa(Aj(b,9,0)-Aj(b,8,0));ql(f,2,d);d=new CO;oj(d,Ehc,1,e);oj(d,Fhc,6,f);e=new Dhc;if(f=ej(b,6,0)){yl(e,3,f*1E3);var h=(Date.now()-f)*1E3;yl(e,2,h)}pl(e,1,!!f);oj(d,Dhc,3,e);d.setAffinityVersion(b.getAffinityVersionOrUndefined());b=new Ghc;b.setEventType(c);b.setMetadata(d);b.setClientInterface(a.clone());return b};var EZc=function(){};EZc.prototype.extractPersonEventSource=function(a){return et(fQb(a),4)};EZc.prototype.extractFieldEventSource=function(a){return et(fQb(a),3)};var FZc=function(){};FZc.prototype.extractPersonEventSource=function(a){var b=a.getSources()||new st;return(a.getQuery()||"").length?et(b,2):et(b,4)};FZc.prototype.extractFieldEventSource=function(a){var b=a.getSources()||new st;return(a.getQuery()||"").length?et(b,1):et(b,3)};var GZc=function(){};GZc.prototype.extractPersonEventSource=function(a){return et(gQb(a),4)};GZc.prototype.extractFieldEventSource=function(a){return et(gQb(a),3)};var iQb=new Set([8]);var HZc=function(a,b,c){this.defaultTokenGroups_=a;this.additionTokenGroups_=b;this.replacementTokenGroups_=c};var IZc=new Map([[1,11],[2,12],[0,0]]),JZc=function(){};JZc.prototype.write=function(a,b,c){var d=new wO;ql(d,1,c);c=new xO;c.setPosition(d);c.setExistingSelectionsCount(b.getExistingSelectionsCount());oj(a,xO,8,c);b=IZc.get(b.getContext());zl(a,3,[b])};var KZc=new Map([[1,5],[2,4],[3,6],[7,13]]),LZc=function(){};LZc.prototype.write=function(a,b,c,d){var e=new wO;ql(e,1,c);a.setPosition(e);c=KZc.get(b.getProvenance())||0;fj(b,4,0)===1?c=14:d?c=3:fj(b,4,0)===2?c=10:fj(b,4,0)===3&&(c=15);zl(a,3,[c])};var MZc=new Set([9,1,2]),NZc=function(){};NZc.prototype.write=function(a,b,c,d,e){if(e===3||c===8||c===10||c===9||c===2&&MZc.has(d))c=new yO,et(b,7)!==1&&et(b,7)!==7||c.setEmail(hu(b,3)),et(b,7)!==2&&et(b,7)!==5||c.setPhone(hu(b,3)),b.hasProfileId()&&c.setObfuscatedGaiaId(b.getProfileId()),b.hasGroupId()&&c.setGroupId(b.getGroupId()),oj(a,yO,4,c),c=new zO,c.setName(b.getNameOrUndefined()),b=a.getMetadata()||new AO,oj(b,zO,2,c),a.setMetadata(b)};var OZc=function(a){var b=new NZc;this.metadataStateWriter_=a;this.contactInfoWriter_=b},PZc=function(a){var b;return((b=$i(a,jt,1))==null?0:b.getIsPlaceholder())?!0:!1};var wt=function(a){this.internalArray_=m(a)};X(wt,Y);g=wt.prototype;g.getEventType=function(){return fj(this,1,0)};g.getEventType_legacyNullable=function(){return et(this,1)};g.setEventType=function(a){return sl(this,1,a)};g.getSessionState=function(){return $i(this,E_,2)};g.setSessionState=function(a){return oj(this,E_,2,a)};g.hasSessionState=function(){return dk(this,E_,2)};g.setEventSources=function(a){oj(this,st,4,a)};wt.repeatedFields_=[3];var QZc=function(){this.defaultEntityFactory_=new CZc(new OZc(new LZc));this.contextualEntityFactory_=new CZc(new OZc(new JZc));this.extensionFactory_=new DZc;this.defaultEventSourceExtractor_=new FZc;this.additionEventSourceExtractor_=new EZc;this.replacementEventSourceExtractor_=new GZc};
QZc.prototype.create=function(a,b){var c=b.getSessionState()||new E_,d=b.getEventType_legacyNullable();b=xj(b,ht,3,yj(Pi));var e=kQb(b,mQb);var f=e.get(0);b=e.get(1);e=e.get(2);f=f?[].concat(r(kQb(f,lQb).values())):[];b=b?[].concat(r(kQb(b,lQb).values())):[];e=e?[].concat(r(kQb(e,lQb).values())):[];e=new HZc(f,b,e);b=[];f=l(e.defaultTokenGroups_);for(var h=f.next();!h.done;h=f.next())b.push.apply(b,r(RZc(this,a,d,h.value,c,this.defaultEventSourceExtractor_,this.defaultEntityFactory_)));f=l(e.additionTokenGroups_);
for(h=f.next();!h.done;h=f.next())b.push.apply(b,r(RZc(this,a,d,h.value,c,this.additionEventSourceExtractor_,this.contextualEntityFactory_)));e=l(e.replacementTokenGroups_);for(f=e.next();!f.done;f=e.next())b.push.apply(b,r(RZc(this,a,d,f.value,c,this.replacementEventSourceExtractor_,this.contextualEntityFactory_)));return b};
var RZc=function(a,b,c,d,e,f,h){var k=[];e=d[0].getSessionState()||e;var q=hQb(d).map(function(t){var w=new BO,B=h.writer_,E=w.getMetadata()||new AO;w.setMetadata(E);var I=us(t)||new it,J=$i(t,jt,1)||new jt;B.metadataStateWriter_.write(E,I,gj(I,2,0)||0,PZc(t));B.contactInfoWriter_.write(w,J,c,I.getProvenance()||0,fj(I,4,0)||0);w.setLoggingId(hu(J,1));t=$i(w,yO,4)||new yO;oj(w,yO,4,t);t.setType(tt(J,8));return w});q.length&&k.push(SZc(a,b,c,f.extractPersonEventSource(e),q,e));d=jQb(d).map(function(t){var w=
new BO,B=h.writer_,E=w.getMetadata()||new AO;w.setMetadata(E);var I=us(t)||new it,J=$i(t,jt,1)||new jt;B.metadataStateWriter_.write(E,I,(Hj(J,9,!0)?gj(I,2,0):gj(I,1,0))||0,PZc(t));B.contactInfoWriter_.write(w,J,c,I.getProvenance()||0,fj(I,4,0)||0);t=$i(w,yO,4)||new yO;oj(w,yO,4,t);$i(w,yO,4).setType(tt(J,7));w.setLoggingId(hu(J,2));return w});d.length&&k.push(SZc(a,b,c,f.extractFieldEventSource(e),d,e));return k},SZc=function(a,b,c,d,e,f){a=a.extensionFactory_.create(b,f,c);a.getClientInterface().setEventSource(d);
a.getClientInterface().setEventSourceId(d);gk(a,2,e);return a};var TZc=function(a,b){this.logContext_=cQb(pt(new qt,"PeopleStore.BigBug").setLogSource(fj(a.getClearcut(),3,41)).setApplication(a.getClearcut().getSocialApplication()).setEnvironment(a.runtimeConfig_.getPeopleApiEnv()).setVersion("1004").setBaselineCl(639987384).setEnableClearcut(a.getClearcut().getEnableClearcut()),[].concat(r(a.runtimeConfig_.getExperiments().getExperimentIdsList()),r(rt?rt.getExperimentIds():[]))).setPeoplekitEntryPoint(b.getPeoplekitEntryPoint()).setClientAgent(2);this.eventsFactory_=
new QZc};TZc.prototype.getLogContext=function(){return this.logContext_};var UZc=function(a){this.clientConfig_=a;this.reportingCache_=new Map};UZc.prototype.create=function(a){var b=a.serialize();this.reportingCache_.has(a.serialize())||(a=new TZc(this.clientConfig_,a),a=new BZc(new AZc(kic(a),a)),this.reportingCache_.set(b,a));return this.reportingCache_.get(b)};var VZc=function(a,b,c){this.reporting_=a;this.sharedSessionState_=b;this.peopleStore_=c};g=VZc.prototype;g.reportDisplay=function(a){l$(this,xt(a,1))};g.reportSelect=function(a,b){b=b===void 0?new iUc:b;if(b.getOriginator()!==0)for(var c=l(a),d=c.next();!d.done;d=c.next()){d=d.value;if(!dk(d,it,2)){var e=d,f=new it;oj(e,it,2,f)}d=us(d);sl(d,4,b.getOriginator())}b=this.sharedSessionState_;c=ej(this.sharedSessionState_,4,0)+1;yl(b,4,c);l$(this,xt(a,2,this.sharedSessionState_))};
g.reportExternalSelect=function(a){for(var b=l(a),c=b.next();!c.done;c=b.next()){c=c.value;if(!dk(c,it,2)){var d=c,e=new it;oj(d,it,2,e)}c=us(c);sl(c,4,2)}b=this.sharedSessionState_;c=ej(this.sharedSessionState_,4,0)+1;yl(b,4,c);l$(this,xt(a,15,this.sharedSessionState_))};g.reportDeselect=function(a){l$(this,xt(a,17,this.sharedSessionState_))};g.reportProceed=function(a){l$(this,xt(a,10,this.sharedSessionState_))};
g.reportDismiss=function(){var a=this.sharedSessionState_,b=new wt;a=a.clone();b.setSessionState(a);b.setEventType(7);b.setEventSources(a.getSources());l$(this,[b])};g.reportSave=function(a){l$(this,xt(a,9,this.sharedSessionState_))};g.reportSecondaryAction=function(a){l$(this,xt(a,19,this.sharedSessionState_))};g.reportSend=function(a){l$(this,xt(a,8,this.sharedSessionState_,!0))};var l$=function(a,b){b=l(b);for(var c=b.next();!c.done;c=b.next())a.reporting_.report(c.value)};var m$=function(a,b,c,d){this.delegate_=this.delegate=a;this.sharedSessionState_=c;yl(this.sharedSessionState_,5,Math.floor(Math.random()*9007199254740991));this.reportingFactory_=b;this.peopleStore_=d};X(m$,cZc);m$.prototype.suggest=function(a,b){var c=this;XEc(this.sharedSessionState_,ej(this.sharedSessionState_,3,0)+1);var d=this.sharedSessionState_.clone();d.setQuery("");YEc(d);var e=0;this.delegate_.suggest(function(f){e=WZc(c,f.getResults(),oQb(f),d,e);a(f)},b)};
m$.prototype.search=function(a,b,c){var d=this;XEc(this.sharedSessionState_,ej(this.sharedSessionState_,3,0)+1);var e=this.sharedSessionState_.clone();e.setQuery(a);YEc(e);var f=0;this.delegate_.search(a,function(h){f=WZc(d,h.getResults(),oQb(h),e,f);b(h)},c)};m$.prototype.getReporter=function(a){return new VZc(this.reportingFactory_.create(a),this.sharedSessionState_,this.peopleStore_)};m$.prototype.getSessionState=function(){return this.sharedSessionState_};
var WZc=function(a,b,c,d,e){var f=Ahc();oo(d,9,Bb(f));f=a.delegate_.getLastUpdatedTimestamp();yl(d,6,f);d.setAffinityVersion(a.delegate_.getAffinityVersion());a=l(b);for(f=a.next();!f.done;f=a.next()){b=0;f=l(f.value.getTargetList());for(var h=f.next();!h.done;h=f.next()){h=h.value.getLoggingToken();var k=us(h)||new it;k.getProvenance()!==7&&k.setProvenance(c.getProvenance());ql(k,2,e);ql(k,1,b);oj(h,it,2,k);h.setSessionState(d);b++}e++}return e};var XZc=function(a,b,c){this.delegate_=this.delegate=a;this.reportingFactory_=b;this.instanceId_=AMb();this.clearcutConfig_=c};X(XZc,j$);
XZc.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 yt;h=c.getOriginator();e=l(e);for(var k=e.next();!k.done;k=e.next()){k=l(k.value.getTargetList());for(var q=k.next();!q.done;q=k.next()){q=q.value.getLoggingToken();var t=us(q)||new it;t.getProvenance()!==7&&t.setProvenance(f.getProvenance());sl(t,4,h);oj(q,it,2,t)}}b(d)},c)};
XZc.prototype.beginSession=function(a){var b=new E_,c=YZc(this,a);oj(b,st,10,c);c=ZZc(this,a);oj(b,vt,12,c);b.setInstanceId(this.instanceId_);a=this.delegate_.beginSession(a);return new m$(a,this.reportingFactory_,b,this)};
var YZc=function(a,b){a=xj(a.clearcutConfig_,st,5,yj());return a.find(function(c){return c.getEntryPoint()===b.getEntryPoint()})||a.find(function(c){return c.getEntryPoint()===0})||new st},ZZc=function(a,b){a=xj(a.clearcutConfig_,vt,6,yj());return a.find(function(c){return c.getEntryPoint()===b.getEntryPoint()})||a.find(function(c){return c.getEntryPoint()===0})||new vt};var $Zc={create:function(a){var b=Tb(oWc||(oWc=nWc('[[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 K9(b,a);a.runtimeConfig_.getExperiments().getProfileId()?pWc(a).getIsEnabled()?(b=Tb(rWc||(rWc=LNb('[null,null,null,null,null,null,null,"AIzaSyABqJ85_R2irnKzMtGBL0iHuyFBi6Efk1w"]'))),
b=new MNb(b,1)):b=new Cs:b=new Cs;var c=a.runtimeConfig_.getExperiments().getProfileId_legacyNullable(),d=a.runtimeConfig_;rt=b.loadExperiments(pWc(a).getApplication(),(new Ds).setPeopleApiEnv(d.getPeopleApiEnv()),c);b=new yXc;b.cacheConfigurators_.push(new lWc);c=b;c=c===void 0?new yXc:c;b=a.getClearcut();b=new xZc(b,a.runtimeConfig_);b=Fs(b);b=new f$(b);d=new xXc(a,b);var e=c;c=d.targetFactory_;var f=a.getClient();c=new NXc(c,f);var h=h===void 0?mZc:h;h=new nZc(d.loader_,a,h);f=new kZc(h,b,a);var k=
[new bZc,new GXc].concat(r(e.cacheConfigurators_),[new DYc]);e=[];var q=[],t=new UXc(c,a);h=new TXc(q,t,a);d={clientConfig:a,trackers:b,storage:c,indexer:t,loader:f,loaderFactory:d,trieFactory:new oYc(c,h,b),prefixCaches:e,lookupStages:q};f=l(k);for(k=f.next();!k.done;k=f.next())k.value.configure(d);d=new bYc(e);h=new gYc(a,b,d,h,c);d=a.getClient();c=new PYc(d,c);d=a.getClient();h=new BYc(h,c,d);c=new UZc(a);a=a.getClearcut();h=new XZc(h,c,a);h=new k$(h,b);return new rZc(h)}};var a_c=function(){};a_c.prototype.send=function(a,b){BHa(a);return this.makeRequest(a).then(function(c){return b?LHa(b,c):c})};var n$=function(a,b,c,d,e){this.gapiUrl=a;this.gapiKey=b;this.customGapiPromise=null;this.gapiConfigUpdates=c||{};this.gapiAuthParams=d||{};this.defaultApiId=e};X(n$,a_c);n$.prototype.getGapi=function(){var a=this;return(this.customGapiPromise||XHa()).then(function(b){b=b||window.gapi;a.setGapiConfig(b);return dIa(b,{apiKey:a.gapiKey,clientId:a.gapiAuthParams.clientId,scope:a.gapiAuthParams.scope,hostedDomain:a.gapiAuthParams.hostedDomain,fetchBasicProfile:a.gapiAuthParams.fetchBasicProfile}).then(function(){return b})})};
n$.prototype.makeRequest=function(a){var b=this;return this.getGapi().then(function(c){return fe(function(d){if(d.nextAddress==1)return b.gapiAuthParams.minAuthTokenTimeRemaining===void 0?d.jumpTo(2):he(d,cIa(c,b.gapiAuthParams.minAuthTokenTimeRemaining),2);b.setGapiConfig(c);return d.return(b.parseResponse(c.client.request({root:b.gapiUrl,path:a.path,method:a.httpMethod,body:a.body,params:a.queryParams,headers:a.headers,authType:a.authType,apiId:a.apiId||b.defaultApiId})))})})};
n$.prototype.parseResponse=function(a){return new Promise(function(b,c){a.then(function(d){b(d.result===!1&&d.body!=null?{data:d.body}:d.result)},function(d){c(d.result===!1&&d.body!=null?{data:d.body}:d.result)})})};n$.prototype.setGapiConfig=function(a){for(var b in this.gapiConfigUpdates)this.gapiConfigUpdates.hasOwnProperty(b)&&aIa(a,b,this.gapiConfigUpdates[b])};n$.$inject=["gapiUrl","gapiKey","gapiConfigUpdates","gapiAuthParams","defaultApiId"];var o$=function(){};o$.\u0275fac=function(a){return new (a||o$)};o$.\u0275mod=dd({type:o$});
o$.\u0275inj=Ic({providers:[{provide:bcc,useFactory:function(){var a=new n$("https://people-pa.googleapis.com","AIzaSyClMyMjdjUv-Z9gej4bgUQoU3CSbak7a9s",{withCredentials:!0,"googleapis.config/auth/useFirstPartyAuth":!0,"googleapis.config/auth/useFirstPartyAuthV2":!0}),b=jMa();a.customGapiPromise=b;return new Gcc(a)}}],imports:[{ngModule:L0,providers:[G_,{provide:cFc,useFactory:function(){return{authRealm:1,peopleApiEnv:4,peopleStoreClient:$Zc,autocompleteFactory:EVc}}}]}]});var rQb={os:1223084,version:1223033},qQb={os:201569,version:201543};var xQb={unconfirmed:5437934},wQb={unconfirmed:void 0};var p$={},b_c=(p$.NETWORK_DOWNLOADING=[{type:"INPUT",question:"What specific URL can reproduce the problem?",answerPrefix:"Example URL: "}],p$.AUDIO_VIDEO=[{type:"SELECT",question:"Does this feature work correctly in other browsers?",answerPrefix:"Does this work in other browsers?\n",options:["Not sure - I don't know","Yes - This is just a Chromium problem",{text:"No - I can reproduce the problem in another browser",child:{type:"INPUT",question:"Which other browsers (including versions) also have the problem?"}}]},
{type:"TEXT",question:"Please open chrome://gpu in a new Chrome tab and paste the report here.",answerPrefix:"Contents of chrome://gpu: \n"}],p$.CONTENT=[{type:"INPUT",question:"What specific URL has a problem?",answerPrefix:"Example URL: "},{type:"SELECT",question:"Does the problem occur on multiple sites?",options:["Not sure - I don't know","Yes - Please describe below","No - Just that one URL"]},{type:"SELECT",question:"Is it a problem with a plugin?",options:["Not sure - I don't know",{text:"Yes - Those darn plugins",
child:{type:"INPUT",question:"Which plugin?"}},"No - It's the browser itself"]},{type:"SELECT",question:"Does this feature work correctly in other browsers?",answerPrefix:"Does this work in other browsers? ",options:["Not sure - I don't know","Yes - This is just a Chromium problem",{text:"No - I can reproduce the problem in another browser",child:{type:"INPUT",question:"Which other browsers (including versions) also have the problem?"}}]}],p$.APPS=[{type:"INPUT",question:yh([wh("What is the link to that software in "),
pQb("the Chrome Webstore","https://chrome.google.com/webstore"),wh("?")]),answerPrefix:"Webstore page: "}],p$.EXTENSIONS_THEMES=[{type:"SELECT",question:"What kind of software had the problem?",options:["Chrome Extension - Adds new browser functionality",{text:"Chrome Theme - Makes Chrome look awesome",child:{type:"INPUT",question:"Do you know the latest version where it worked?"}}]},{type:"INPUT",question:yh([wh("What is the link to that software in "),pQb("the Chrome Webstore","https://chrome.google.com/webstore"),
wh("?")]),answerPrefix:"WebStore page: "}],p$.WEBSTORE=[{type:"INPUT",question:"What is the URL of the Chrome WebStore page that had the problem?",answerPrefix:"Webstore page: "}],p$.CRASHES=[{type:"INPUT",question:"Do you have a Report ID from chrome://crashes?",answerPrefix:"Crashed report ID: "},{type:"SELECT",question:"How severe is the crash?",options:["Just one tab","Just one plugin","The whole browser"],answerPrefix:"How much crashed? "},{type:"SELECT",question:"Is it a problem with a plugin?",
options:["Not sure - I don't know",{text:"Yes - Those darn plugins",child:{type:"INPUT",question:"Which plugin?"}},"No - It's the browser itself"]}],p$.OTHER=[{type:"SELECT",question:"Please select a label to classify your issue:",options:["Not sure - I don't know","Type-Feature - Request for new or improved features","Type-Bug-Regression - Used to work, now broken","Type-Bug - Software not working correctly","Cr-UI-I18N - Issue in translating UI to other languages"]}],p$.API=[{type:"SELECT",question:"Which component does this fall under?",
options:"Not sure - I don't know;Blink>Animation;Blink>BackgroundSync;Blink>Bindings;Blink>Bluetooth;Blink>Canvas;Blink>Compositing;Blink>CSS;Blink>DataTransfer;Blink>DOM;Blink>Editing;Blink>FileAPI;Blink>Focus;Blink>Fonts;Blink>Forms;Blink>Fullscreen;Blink>GamepadAPI;Blink>GetUserMedia;Blink>HitTesting;Blink>HTML;Blink>Image;Blink>INPUT;Blink>Internals;Blink>Javascript;Blink>Layout;Blink>Loader;Blink>Location;Blink>Media;Blink>MediaStream;Blink>MemoryAllocator;Blink>Messaging;Blink>Network;Blink>Paint;Blink>Payments;Blink>PerformanceAPIs;Blink>PermissionsAPI;Blink>PresentationAPI;Blink>PushAPI;Blink>SavePage;Blink>Scheduling;Blink>Scroll;Blink>SecurityFeature;Blink>ServiceWorker;Blink>Speech;Blink>Storage;Blink>SVG;Blink>TEXTAutosize;Blink>TEXTEncoding;Blink>TEXTSELECTion;Blink>USB;Blink>Vibration;Blink>ViewSource;Blink>WebAudio;Blink>WebComponents;Blink>WebCrypto;Blink>WebFonts;Blink>WebGL;Blink>WebGPU;Blink>WebMIDI;Blink>WebRTC;Blink>WebShare;Blink>WebVR;Blink>WindowDialog;Blink>Workers;Blink>XML".split(";")},
{type:"SELECT",question:"Does this feature work correctly in other browsers?",answerPrefix:"Does this work in other browsers? ",options:["Not sure - I don't know","Yes - This is just a Chrome problem",{text:"No - I can reproduce the problem in another browser",child:{type:"TEXT",question:"Details of interop issue"}}]}],p$.SECURITY=[{type:"INPUT",question:"For crashes, what type of crash [tab, browser, etc.]:",answerPrefix:"Type of crash: "},{type:"TEXT",question:yh([wh("For crashes, what was the crash state? [See "),
pQb("Reporting Crash Bugs","https://www.chromium.org/Home/chromium-security/reporting-security-bugs/#reporting-crash-bugs"),wh(", include the stack trace *with symbols*, registers, exception record]:")]),answerPrefix:"Crash state: "},{type:"INPUT",question:"Externally reported security bugs may appear in Chrome release notes. If this bug is included, how would you like to be credited?",answerPrefix:"Reporter credit: "}],p$);var q$=function(){};q$.\u0275fac=function(a){return new (a||q$)};q$.\u0275mod=dd({type:q$});q$.\u0275inj=Ic({imports:[zx,Tv,zx]});var r$=function(){};r$.\u0275fac=function(a){return new (a||r$)};r$.\u0275mod=dd({type:r$});r$.\u0275inj=Ic({imports:[q$]});var s$=function(){};s$.\u0275fac=function(a){return new (a||s$)};s$.\u0275mod=dd({type:s$});s$.\u0275inj=Ic({providers:[VKc,Fx],imports:[zx,Tv,Tw,k4,AB,Lx,s4,q4,zx]});var t$=function(){};t$.\u0275fac=function(a){return new (a||t$)};t$.\u0275mod=dd({type:t$});t$.\u0275inj=Ic({providers:[{provide:GKc,useValue:b_c},{provide:IKc,useFactory:sQb},{provide:HKc,useFactory:vQb},{provide:JKc,useFactory:yQb}],imports:[sY,BB,D1,My,ML,r$,jM,TV,GS,qM,s$,wY]});var u$=function(){};u$.\u0275fac=function(a){return new (a||u$)};u$.\u0275mod=dd({type:u$});u$.\u0275inj=Ic({imports:[BB,ML,aM,sM,My,Ny,k0]});var v$=function(){};v$.\u0275fac=function(a){return new (a||v$)};v$.\u0275mod=dd({type:v$});v$.\u0275inj=Ic({imports:[YS,BB,k0,$Y,My,jN,aM,jM,t1,fV]});var w$=function(){};w$.\u0275fac=function(a){return new (a||w$)};w$.\u0275mod=dd({type:w$});w$.\u0275inj=Ic({imports:[BB,ML,aM,sM,My,Ny,k0]});var x$=function(){};x$.\u0275fac=function(a){return new (a||x$)};x$.\u0275mod=dd({type:x$});x$.\u0275inj=Ic({imports:[BB,ML,aM,qS]});var y$=function(){};y$.\u0275fac=function(a){return new (a||y$)};y$.\u0275mod=dd({type:y$});y$.\u0275inj=Ic({imports:[BB,ML,aM,AS,x$,ZL]});var z$=function(){};z$.\u0275fac=function(a){return new (a||z$)};z$.\u0275mod=dd({type:z$});z$.\u0275inj=Ic({imports:[BB,AS,nN,xP,wP,oT,aM,NL,ML]});var A$=function(){};A$.\u0275fac=function(a){return new (a||A$)};A$.\u0275mod=dd({type:A$});A$.\u0275inj=Ic({imports:[Tv,My,bz,I0,Ny]});var B$=function(){};B$.\u0275fac=function(a){return new (a||B$)};B$.\u0275mod=dd({type:B$});B$.\u0275inj=Ic({imports:[YS,uY,KM,sP,XV,J0,lM,$Y,My,JY,vY,jN,HY,gX,dJ,jM,qM,fJ,N4,ZL,KW,aM,J0,GJ,Ny,A$,fV,BB,kx,wY,KY,y$,z$]});var C$=function(){};C$.\u0275fac=function(a){return new (a||C$)};C$.\u0275mod=dd({type:C$});C$.\u0275inj=Ic({imports:[YS,BB,k0,$Y,My,jN,aM,E1]});var D$=function(){};D$.\u0275fac=function(a){return new (a||D$)};D$.\u0275mod=dd({type:D$});D$.\u0275inj=Ic({imports:[BB,aM,ML,JM,k0,JY,vY,LU,sM,My,Ny,ZL,uP]});var E$=function(){};E$.\u0275fac=function(a){return new (a||E$)};E$.\u0275mod=dd({type:E$});E$.\u0275inj=Ic({imports:[fJ,jM,BB,yx,ML,KM,eY,wY]});var F$=function(){};F$.\u0275fac=function(a){return new (a||F$)};F$.\u0275mod=dd({type:F$});F$.\u0275inj=Ic({imports:[BB,aM,ML,JM,k0,sM,fJ,My,Ny,ZL,uP]});var G$=function(){};G$.\u0275fac=function(a){return new (a||G$)};G$.\u0275mod=dd({type:G$});G$.\u0275inj=Ic({imports:[YS,BB,k0,My,jN,JM,aM,uP,jM,E1,AS]});var H$=function(){};H$.\u0275fac=function(a){return new (a||H$)};H$.\u0275mod=dd({type:H$});H$.\u0275inj=Ic({imports:[BB,o0,AS,ML]});var I$=function(){};I$.\u0275fac=function(a){return new (a||I$)};I$.\u0275mod=dd({type:I$});I$.\u0275inj=Ic({imports:[BB,ML,G1,AS]});var J$=function(){};J$.\u0275fac=function(a){return new (a||J$)};J$.\u0275mod=dd({type:J$});J$.\u0275inj=Ic({imports:[BB,xW,h1]});var K$=function(){};K$.\u0275fac=function(a){return new (a||K$)};K$.\u0275mod=dd({type:K$});K$.\u0275inj=Ic({imports:[BB,DN,My,JM,kN,uP,jN,N4,ML,jM,aM,fJ,AS]});var L$=function(){};L$.\u0275fac=function(a){return new (a||L$)};L$.\u0275mod=dd({type:L$});L$.\u0275inj=Ic({imports:[YS,BB,DN,xW,jW,X2,e3,g3,LY,k0,n3,My,jN,dJ,jM,fJ,qM,KW,JM,aM,uP,t1,K$,kx,J$,r1,AS,fV,vS,F8]});var M$=function(){};M$.\u0275fac=function(a){return new (a||M$)};M$.\u0275mod=dd({type:M$});M$.\u0275inj=Ic({imports:[BB,k0,My,ML,jM,JM,aM,KW,uP,kx,r1,h1]});var N$=function(){};N$.\u0275fac=function(a){return new (a||N$)};N$.\u0275mod=dd({type:N$});N$.\u0275inj=Ic({imports:[BB,UM,kN]});var O$=function(){};O$.\u0275fac=function(a){return new (a||O$)};O$.\u0275mod=dd({type:O$});O$.\u0275inj=Ic({imports:[BB,kN,UM,KM]});var P$=function(){};P$.\u0275fac=function(a){return new (a||P$)};P$.\u0275mod=dd({type:P$});P$.\u0275inj=Ic({imports:[BB,aM,NL,O$,N$]});var Q$=function(){};Q$.\u0275fac=function(a){return new (a||Q$)};Q$.\u0275mod=dd({type:Q$});Q$.\u0275inj=Ic({imports:[BB,DS,aM]});var R$=function(){};R$.\u0275fac=function(a){return new (a||R$)};R$.\u0275mod=dd({type:R$});R$.\u0275inj=Ic({imports:[BB,DS,ZL]});var S$=function(){};S$.\u0275fac=function(a){return new (a||S$)};S$.\u0275mod=dd({type:S$});S$.\u0275inj=Ic({imports:[Tv,SJ,pS]});var T$=function(){};T$.\u0275fac=function(a){return new (a||T$)};T$.\u0275mod=dd({type:T$});T$.\u0275inj=Ic({imports:[BB,UM,FS,JM,jM,aM,ML,Q$,R$,AS,nN,DN,S$,vP,P$]});var U$=function(){};U$.\u0275fac=function(a){return new (a||U$)};U$.\u0275mod=dd({type:U$});U$.\u0275inj=Ic({imports:[BB,ML,T$,aM]});var V$=function(){};V$.\u0275fac=function(a){return new (a||V$)};V$.\u0275mod=dd({type:V$});V$.\u0275inj=Ic({imports:[BB,nN,AS,Q$,R$,UM,DN,S$,vP,oT,ML,JM,FS,aM]});var W$=function(){};W$.\u0275fac=function(a){return new (a||W$)};W$.\u0275mod=dd({type:W$});W$.\u0275inj=Ic({imports:[BB,My,ML,aM,Ny,AT,U$,V$,NN]});var X$=function(){};X$.\u0275fac=function(a){return new (a||X$)};X$.\u0275mod=dd({type:X$});X$.\u0275inj=Ic({imports:[qM,BB,My]});var Y$=function(){};Y$.\u0275fac=function(a){return new (a||Y$)};Y$.\u0275mod=dd({type:Y$});Y$.\u0275inj=Ic({imports:[u2,yS,BB,My,jM,ML,fJ,qM,TV,KW,FS,ZL,JM,aM,MW,GJ,U6,X$,AS,sP,AB]});var Z$=function(){};Z$.\u0275fac=function(a){return new (a||Z$)};Z$.\u0275mod=dd({type:Z$});Z$.\u0275inj=Ic({imports:[BB,sM,ML]});var c_c={disableCheatSheet:!0};c_c=c_c===void 0?{}:c_c;
var d_c=[BB,sV,cN,dB,nE,RV,HY,QV,VT,jN,MU,MW,XT,t1,HU,OU,rS,YS,v0,kX,RT,K2,D3,x3,QW,gX,iX,uW,wP,C$,G$,I$,H$,T4,z7,q8,s8,v$,L$,M$,o8,o0,G1,LY,p3,s3,V0,OW,m0,zY,F3,L2,j3,M2,t3,i3,h3,d1,f1,FZ,b1,xY,TU,yS,KM,eY,E$,OS,QT,m1,LU,YW,p1,I1,W0,X0,r3,s2,AS,yV,mT,tS,q2,g3,Z$,n3,W1,kN,DN,UM,Y$,u2,lN,OL,w0,z0,E1,r1,x0,k0,O2,u$,w$,d3,w1,GW,xW,AW,jW,y0,Y0,mX,ZN,K0,vY,C1,O0,P0,e3,UV,YV,uP,l0,uY,X2,D$,fU,F$,B$,$V,G8,R1,L8,W$,MT,$A,{ngModule:XK,providers:[VK,{provide:pcc,useFactory:function(a){return new Gcc(new Ccc("https://appswaldo-pa.clients6.google.com",
a.waldoApiKey,a.globalApiKey,Object.assign({},Icc,a.gapiConfig),{scope:"https://www.googleapis.com/auth/calendar.readonly"}))},deps:[Hcc]},{provide:Hcc,useFactory:function(){return{waldoApiKey:"AIzaSyDvxpDVHooCQawPUQkmQxwrtt-Xdp3Q3so",globalApiKey:"AIzaSyBuUpn1wi2-0JpM3S-tq2csYx0z2_m_pqc",gapiConfig:{withCredentials:!0}}}}]},{ngModule:GN,providers:[FN,{provide:$fc,useValue:c_c}]},o$];qn("enableChromeWizard")&&d_c.push(t$);
var e_c=[kKc,c7b,eIc,fIc,gIc,Tqc,d8b,{provide:vec,useValue:{animationDuration:"0ms",stretchTabs:!1}},{provide:Fnc,useValue:{productName:"Buganizer",cooldownMilliseconds:864E5,enableUsageTracking:!0}},{provide:Q9b,useValue:{disableTooltipInteractivity:!0}},{provide:Voc,useValue:"AIzaSyCBj23e6C2MNif_tvceM-CPTXcVDK3sarY"},{provide:Yoc,useValue:"92912"},lKc,wKc,xKc,yKc],Bv=function(){};Bv.prototype.ngDoBootstrap=function(){Ci("bootstrapping AppModule")};Bv.\u0275fac=function(a){return new (a||Bv)};
Bv.\u0275mod=dd({type:Bv,bootstrap:[rV,B3]});Bv.\u0275inj=Ic({providers:[].concat(r(e_c)),imports:[d_c,K8]});Lz(document,"DOMContentLoaded",function(){nVb()});
__._ModuleManager_initialize=function(){};
__._ModuleManager_initialize('c/dSirkf/n90YA/ZGAB2e/sLGWFe/M79aPc/nJ4XF',[]);
}catch(e){__._DumpException(e)}
}).call(this,this.default_b);
// Google Inc.
